Repository navigation
Conversation
…-codex-ui # Conflicts: # web/dist/app.js
…dex/codex-settings-parity # Conflicts: # tests/web/openpi-web.e2e.ts # tests/web/web-host.test.ts # web/adapter/pi-adapter.ts # web/dist/app.js # web/dist/styles.css # web/host/web-host.ts
Collaborator
Author
|
Replaced by #868, which targets main with one focused feature commit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
长回合的旧轨迹以消息卡片为主,难以查看模型响应、Code Mode 内部调用和对应结果。原生单次用量与子调用耗时已有部分数据,但没有充分展示。
Closes #785。#711 已由拆分后的 PR 合入 main,并作为汇总 PR 关闭。本 PR 已同步
main(78dc5743),与 main 的差异仅保留独立的轨迹功能及其文档。仓库禁止强制推送,因此通过普通合并保留原分支历史,合并结果使用仅迁移原先两个独立提交后验证通过的代码树。Value
采用 DeepSeek Harness 的紧凑列表、三轨总览与右侧详情,让用户按记录定位输入、结果、失败和已有测量。缺失数据明确显示“未记录”,成功的工具结果与模型失败分别保留。
Approach
d743267388641bc76f17c45ce8b4c231aed1d32c,保留 MIT 许可与来源说明,适配现有主题、翻译和窄屏布局。codemodeChildren()和分支感知的useSessionHistory();补充可选的单次 provider 用量和模型身份投影。Code Mode 子调用显示原生状态、耗时及结果正文是否缺失。实现说明:中文设计记录。
Validation
原始实现验收(2026-10-14):
bun run check:通过,包括构建、格式、lint 和类型检查;同步生成web/dist。PI_CODING_AGENT_DIR运行bun run test:Node 2519 通过、9 跳过;Vitest 95 文件、1460 用例通过。本机个人 TUI 配置导致的首次失败在隔离配置后消失。浏览器使用隔离测试 Host 与固定数据;没有新的真实模型性能 Benchmark,首段输出等待、provider HTTP attempt 和网关重试观测仍待后续工作。
迁移至 main 后复验(2026-10-16):
bun run check:通过,基于最新 main 与轨迹源码重新生成web/dist。VITEST_MAX_WORKERS=2 bun run test:Node 2,650 项通过、9 项跳过;UI 99 个文件、1,527 项通过。bun run provenance:唯一 OpenPI 来源匹配独立迁移 worktree,最终 checkout 为8ad2f9a8。git range-diff:迁移候选的两个提交与原始两个提交的源码改动一致,只有生成的前端文件根据新基线重建。8ad2f9a8与验证候选0aa531e6的 Git tree 完全相同(69796bd6ade05ce9c9818a2e9c02e3fafb7cbba8);上述完整测试与浏览器验收来自该同一代码树,最终提交单独复核了运行时来源。Impact