一键导入
gettokens-session-management-plugin-contract
GetTokens 会话管理插件契约:修改会话分析/复盘/导出类插件结果字段、Wails DTO、dev bridge、前端映射和验收时使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
GetTokens 会话管理插件契约:修改会话分析/复盘/导出类插件结果字段、Wails DTO、dev bridge、前端映射和验收时使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
GetTokens 领域工程:账号池、quota、UI 体系、调试与 CLIProxyAPI fork。
GetTokens 流程治理:Wails 开发回路、spaces、文档记忆写回与 AGENTS 同步。
GetTokens Codex 账号列表:Codex Channel Routing、账号请求顺序、两模式路由、路由探测、模型映射、OAuth 透传语义、openai-compatible 映射保存与浏览器预览。
GetTokens CLIProxyAPI 上游版本 intake / reference-port 工作流:看新 tag、规划合并、拆子 space、在 gettokens/sidecar 内重实现、验证、重建 sidecar、dev App 验收与双仓提交。
Use when dxyer iOS verification, smoke testing, or debugging needs real API traffic evidence through Proxyman CLI: clear sessions, discover proxy host, export HAR/proxymansession logs, inspect request headers, verify DXY-TOD-SESSION user switching, or distinguish API data mismatch from UI/function failure.
GetTokens 性能治理:用于排查或预防内存占用、WebView/Wails 卡顿、React 渲染放大、大账号池请求放大、sidecar Go 热路径、日志/SQLite/本地文件膨胀、性能回归、perf budget 或 profiling 验收;当用户说性能、内存、卡顿、占用、峰值、泄漏、慢、回归、治理、budget、pprof、profiling,或改动触及账号池、quota、live sessions、session-management、usage attribution、sidecar management API、Wails bridge、日志热路径时使用。
| name | gettokens-session-management-plugin-contract |
| description | GetTokens 会话管理插件契约:修改会话分析/复盘/导出类插件结果字段、Wails DTO、dev bridge、前端映射和验收时使用。 |
Use this skill when changing session-management plugin inputs, outputs, runtime bindings, dev bridge data, or result UI.
internal/wailsapp/, including DTO structs and focused tests.cmd/gettokens/app_types.go and mappers in cmd/gettokens/app_mappers.go.frontend/wailsjs/go/models.ts.frontend/dev/sessionManagementDevData.js so localhost preview returns the same fields as Wails runtime.frontend/src/features/session-management/model.ts.SessionManagementView.tsx without blocking existing list/detail workflows.model.test.mjs assertions for runtime mapping, UI structure, and dev bridge contract.docs-linhay/spaces/<space-key>/README.md, plan, and memory.AnalyzeCodexSessions when analysis logic changes.go test ./... after Wails-facing DTO or mapper changes.node --test src/features/session-management/model.test.mjs.npm run test:unit, npm run typecheck, and npm run build before closure.Updating only Wails runtime is not enough. Localhost browser preview uses frontend/dev/sessionManagementDevData.js; if it does not return the new fields, the UI may pass runtime tests while the dev preview silently drops data.