Skip to content

Commit 5a7900b

Browse files
committed
docs(memory): record codex tui compatibility fix
1 parent a3ca92c commit 5a7900b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs-linhay/memory/2026-05-24.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- 2026-05-24 quota 展示切换:`QuotaBars` 的 percent/token 切换入口从右侧数值按钮改为整块 quota 区域可点击/可键盘切换;仅在窗口存在 `usedTokens`/`limitTokens` 时启用 `role="button"``aria-pressed``Enter`/`Space` 切换。
88
- CLIProxyAPI 上游同步:`docs-linhay/references/CLIProxyAPI#gettokens/sidecar` 已合并 `upstream/main@50d19e20``v7.1.20-1`),生成并推送 merge commit `1c5db246``AxApp/CLIProxyAPI#gettokens/sidecar`。冲突保留 `internal/registry/model_definitions_test.go` 的 GetTokens fork 回归测试,并把 Antigravity credits 测试的 loadCodeAssist host 断言更新为上游 prod host。
99
- CLIProxyAPI 验证:子仓库 `go test ./internal/registry``go test ./internal/runtime/executor``go test ./...``git diff --check` 均通过;已执行 `./scripts/ensure-sidecar.sh darwin arm64` 重建本地 sidecar,meta 为 `commit=1c5db246``dirty=clean`
10+
- Codex TUI `Failed to read thread goal` 本机修复:根因是 GetTokens 托管 PATH 当前启用 `codex-cli 0.130.0`,该二进制仍按旧 schema 查询 `~/.codex/state_5.sqlite.thread_goals`;而参考源码中的 state migration `0034_drop_thread_goals.sql` 已删除旧表,并把 goals 迁到 `~/.codex/goals_1.sqlite`。已用 SQLite `.backup` 备份 `state_5.sqlite` / `goals_1.sqlite`,再在 `state_5.sqlite` 补回旧版 TUI 兼容表 `thread_goals`;用户确认 TUI 报错消失。备份文件:`~/.codex/state_5.sqlite.before-thread-goals-compat-20260524.bak``~/.codex/goals_1.sqlite.before-thread-goals-compat-20260524.bak`
1011
- 账号池分组与排序模式规划:`#frame=accounts` 后续需要从固定 provider 分组升级为可切换分组模式,并新增排序模式。默认按套餐分组、按业务优先级排序;P0 分组维度为套餐、来源、状态,P0 排序维度为业务优先级、名称、状态、剩余额度;P1 再规划供应商/资源状态分组与重置时间/最近使用排序。分组和排序只改变列表组织方式,不改变筛选、选择、路由、轮动、禁用或导出语义;详细规划写入 `docs-linhay/spaces/account-pool/plans/20260524-account-grouping-mode-plan-v01.md`,入口 README 已同步。
1112
- 账号池分组与排序实现:`#frame=accounts` 主列表已新增分组/排序工具栏入口,默认 `group=plan``sort=priority`;支持套餐/来源/状态/供应商/资源分组,以及业务优先级/名称/状态/剩余额度/重置时间排序。顶层 hash canonicalizer 已保留 `group` / `sort`,避免切换后被还原成 `#frame=accounts`。验证:`npm --prefix frontend run typecheck``npm --prefix frontend run test:unit` 通过;浏览器验证 `#frame=accounts&group=source&sort=quota` 可恢复“分组 · 来源 / 排序 · 剩余额度”,截图归档到 `docs-linhay/spaces/account-pool/screenshots/20260524/accounts/20260524-accounts-group-sort-toolbar-after-v01.png`
1213
- Codex MCP 配置字段补齐:按 `docs-linhay/references/codex/codex-rs/config/src/mcp_types.rs``mcp_edit.rs` 校准后,`MCP Servers` 编辑器补齐 `environment_id``oauth.client_id` 与可直接新增的 `startup_timeout_sec` / `tool_timeout_sec` 等字段;后端解析和保存 `[mcp_servers.<id>.oauth] client_id`,并保持 nested tools、未知字段和非目标配置不被重写。验证:`go test .``go test ./internal/wailsapp -run 'Codex|Mcp|Skill'``go test ./internal/wailsapp -run 'TestGetCodexMcpServersParsesSectionServers|TestSaveCodexMcpServerPatchesTargetSectionOnly'``npm run test:unit -- src/features/codex-extensions/model.test.mjs``npm run typecheck` 通过;Chrome 本地页面确认 `startup_timeout_sec = 20` 可产生变更预览,截图归档到 `docs-linhay/spaces/20260511-cc-switch-codex-skills-mcp/screenshots/20260524/codex-extensions/20260524-codex-extensions-mcp-config-fields-after-v01.png`

0 commit comments

Comments
 (0)