docs: move release notes near ending sections

Move 更新记录/Release Notes to the end-of-doc area and place them immediately before 补充说明/Notes in both Chinese and English README files.
This commit is contained in:
Daniel
2026-03-09 15:24:18 +00:00
parent d04a93ec74
commit bb688a171c
2 changed files with 30 additions and 30 deletions

View File

@@ -13,21 +13,6 @@ A lightweight web interface for [Claude Code](https://docs.anthropic.com/en/docs
<img src="https://github.com/user-attachments/assets/09cec007-a949-44cf-9f2a-88c1eda60082" alt="Screenshot 3" width="30%" />
</p>
## Release Notes
- **v1.2.2**
- Aligned context compression with Claude Code native behavior: `/compact` is now actually sent to CLI instead of doing a local pseudo-reset.
- Added automatic overflow recovery: when `Request too large (max 20MB)` occurs, CC-Web runs `/compact` and replays the failed prompt automatically.
- Added retry guard: if context is still too large after compacting, CC-Web stops auto-retry and asks for a narrower prompt range.
- **v1.2.1**
- Fixed missing `AskUserQuestion` options in Web UI by preserving structured tool input in backend and rendering question/option cards on frontend.
- Added option-to-input shortcut: click an option to append it into the input box for quick confirmation.
- **v1.2**
- Fixed layout overflow caused by long code blocks in messages. The page no longer stretches horizontally; code blocks scroll within the block.
- Improved mobile input behavior: Enter inserts newline by default, and sending is done via the send button.
- **v1.1**
- Added compatibility improvements for Claude Code CLI on Windows.
## Features
- **Lightweight runtime**: low backend overhead, browser-based control panel.
@@ -249,6 +234,21 @@ node server.js
- Recommended: [Tailscale](https://tailscale.com/) for secure private networking.
- Alternative: [Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/) (requires domain setup).
## Release Notes
- **v1.2.2**
- Aligned context compression with Claude Code native behavior: `/compact` is now actually sent to CLI instead of doing a local pseudo-reset.
- Added automatic overflow recovery: when `Request too large (max 20MB)` occurs, CC-Web runs `/compact` and replays the failed prompt automatically.
- Added retry guard: if context is still too large after compacting, CC-Web stops auto-retry and asks for a narrower prompt range.
- **v1.2.1**
- Fixed missing `AskUserQuestion` options in Web UI by preserving structured tool input in backend and rendering question/option cards on frontend.
- Added option-to-input shortcut: click an option to append it into the input box for quick confirmation.
- **v1.2**
- Fixed layout overflow caused by long code blocks in messages. The page no longer stretches horizontally; code blocks scroll within the block.
- Improved mobile input behavior: Enter inserts newline by default, and sending is done via the send button.
- **v1.1**
- Added compatibility improvements for Claude Code CLI on Windows.
## Notes
- This project currently targets Claude Code only.

View File

@@ -22,21 +22,6 @@ https://github.com/ZgDaniel/cc-web 给我装!
</p>
## 更新记录
- **v1.2.2**
- 对齐 Claude Code 原生上下文压缩策略:`/compact` 改为真实下发到 CLI 执行,不再使用本地会话伪重置。
- 补齐超限自动恢复链路:当出现 `Request too large (max 20MB)` 时,自动执行 `/compact` 并在压缩后自动重放上一条失败请求继续运行。
- 增加自动续跑保护:若压缩后仍超限,停止自动重试并提示用户手动缩小输入范围,避免死循环。
- **v1.2.1**
- 修复 `AskUserQuestion` 交互选项在 Web 端不显示的问题:后端保留完整结构化参数并前端按问题/选项渲染。
- 新增交互选项快捷填充:点击选项即可把对应答案插入输入框,便于快速确认并发送。
- **v1.2**
- 修复消息中包含代码块时可能触发的页面横向溢出问题:窗口不再被长代码撑宽,代码块可在块内横向滚动。
- 优化移动端输入体验:手机浏览器回车键默认换行,不再直接发送消息;消息发送改为手动点击发送按钮。
- **v1.1**
- 增加 Windows 环境下 Claude Code CLI 的兼容支持,完善本地部署与启动体验。
## 功能特性
- **超轻量** — 后端性能占用少前端通过web访问不易被杀后台
@@ -257,6 +242,21 @@ node server.js
- 或使用 [Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/)(需域名)
## 更新记录
- **v1.2.2**
- 对齐 Claude Code 原生上下文压缩策略:`/compact` 改为真实下发到 CLI 执行,不再使用本地会话伪重置。
- 补齐超限自动恢复链路:当出现 `Request too large (max 20MB)` 时,自动执行 `/compact` 并在压缩后自动重放上一条失败请求继续运行。
- 增加自动续跑保护:若压缩后仍超限,停止自动重试并提示用户手动缩小输入范围,避免死循环。
- **v1.2.1**
- 修复 `AskUserQuestion` 交互选项在 Web 端不显示的问题:后端保留完整结构化参数并前端按问题/选项渲染。
- 新增交互选项快捷填充:点击选项即可把对应答案插入输入框,便于快速确认并发送。
- **v1.2**
- 修复消息中包含代码块时可能触发的页面横向溢出问题:窗口不再被长代码撑宽,代码块可在块内横向滚动。
- 优化移动端输入体验:手机浏览器回车键默认换行,不再直接发送消息;消息发送改为手动点击发送按钮。
- **v1.1**
- 增加 Windows 环境下 Claude Code CLI 的兼容支持,完善本地部署与启动体验。
## 补充说明
- 暂时只支持 Claude Code后续再 vibe codex