Repository navigation
fix(tui): 对齐 pi 现有界面并更新 README 示例图 - #28
Conversation
Preserve status backgrounds, themed Markdown and ordered thinking blocks. Align tool previews, click expansion, editor status, search and session footer. Leave code syntax highlighting as a TODO. Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8859639a6c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Preserve bash whitespace and restore backgrounds after combined SGR resets. Cache historical Markdown by content, width, display role and color capability. Test footer through TuiApp terminal output and keep its renderer private. Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
|
@codex review 已修复上一轮四项反馈:Footer Widget 实现恢复私有,测试改为捕获公共 TuiApp 的终端输出;保留 bash 前导空格与尾部空行;处理省略参数及组合 SGR reset,并跳过 RGB 色值中的零;缓存历史 Markdown,内容、宽度、显示角色或颜色能力变化时重算。 本地 78 个单元测试、13 个 CLI 契约用例、检查、构建及 npm 打包通过。缩进输出和组合 reset 的背景已在真实终端截图验证。请审查最新提交。 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9107bcf0ed
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2b38588a2c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5c9b7d3a6f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f1fc54ba42
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0bce39dfe1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ef6bbda621
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6ee1a50ec2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Add just screenshot, an offline journal fixture, tmux capture and Freeze config. Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
Normalize persistent tmux SGR state for Freeze before rendering the PNG. Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
工具调用块原来的 ANSI 全量 reset 会清掉背景,bash 也使用了手动 shell 模式的绿色边框。对照 pi v0.87.1,将现有 TUI 的工具卡片、Markdown、思考段、输入状态与 footer 对齐,并重新渲染 README 示例图。
代码块与 read 输出语法高亮保留 TODO。本 PR 不涉及 hosted tool、tool stream update、steer/follow-up。上下文窗口和自动压缩没有已接入的数据源,继续省略。
验证:
moon check --deny-warn、moon fmt、moon test(83/83)、moon build、离线 CLI cram(13/13)和 npm 打包通过。使用隔离配置、离线示例 journal 及公共 TuiApp API 在 tmux 验证真实终端画面,检查工具三种状态、单块点击、全局展开、隐藏思考、搜索、slash 补全、42 列重试和多行溢出;另覆盖大型工具参数截断、渲染缓存更新、bash 首尾空白保留及部分行字节提示、恢复 compaction/独立 usage 用量和失败回合缓存命中率、标题标签净化及 Markdown 缩进代码块。README 图片来自打包后的 CLI 会话回放。未调用真实 provider。