You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/gettokens-domain-engineering/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ This skill unifies the technical rules for building, styling, and debugging GetT
133
133
- Data ownership starts in the CLIProxyAPI fork. Add an in-memory runtime tracker and a read-only management endpoint first; then expose it through `internal/wailsapp`, root `main.App`, generated `frontend/wailsjs`, and finally the React feature.
134
134
- Keep the UI read-only. Do not add request cancel, replay, forced WebSocket recovery, or full payload display unless a later requirement explicitly scopes the action and safety model.
135
135
- Default list rows should stay low-noise. Show only the operator-facing identity pair requested for the feed: `sessionID / projectName` and `account / http|ws`. Keep status, model, timing, request ids, execution ids, and redacted diagnostics in detail panes.
136
-
-`projectName` is a display label that may be enriched by Wails/frontend from trusted local metadata. Add it as an optional DTO field end-to-end (`internal/wailsapp` -> root `main.App` -> generated `frontend/wailsjs` -> feature model) and fall back to an explicit unknown-project label when absent.
136
+
-`projectName` is a display label owned by the CLIProxyAPI live tracker. The sidecar may enrich it from trusted local Codex session metadata (`CODEX_HOME || ~/.codex` session JSONL) before returning the live snapshot; GetTokens should only pass the optional DTO field through Wails/root bindings/frontend model and fall back to an explicit unknown-project label when absent. Do not add Wails/frontend compatibility lookup for old sidecars unless a later requirement explicitly reintroduces compatibility.
137
137
- Account resource surfaces inside live-session details should reuse accounts-domain components such as `QuotaBars` and `BillingBalance`. Add a small adapter from live request `quota` / `billing` DTOs into account display shapes instead of copying quota or balance JSX into live sessions.
138
138
- Never display raw request/response payloads, credentials, bearer tokens, cookies, or unredacted error bodies. Diagnostic copy must be redacted and bounded.
139
139
- When correlating WebSocket and HTTP usage, preserve request ids through context. Usage hooks should update an existing WebSocket request when the request id is known, not create a duplicate HTTP-only session.
1. Given sidecar live tracker 内的 live session 没有 `projectName`,但 `sessionID`、`executionSessionID`、`downstreamSessionID`、`codexWindowID` 或 Codex conversation id 能匹配本地 Codex JSONL;When 打开 live sessions 页面;Then 列表显示 sidecar 反查到的项目名。
23
+
2. Given sidecar 已经提供 `projectName`;When GetTokens 请求 live snapshot;Then Wails/root/frontend 保留 sidecar 原值并透传,不执行二次本地扫描覆盖。
24
+
3. Given 选中某个 live session;When 查看详情 Timeline;Then 页面展示请求级字段和关键事件摘要,而不是只展示 `lane.kind + label` 的事件行。
0 commit comments