59 Commits

Author SHA1 Message Date
cc-dan
a9daf5ce4d feat: HTML/SVG preview in code blocks; fix scroll jump on history render
- Add Preview/Source toggle button for html/svg code blocks (iframe sandbox)
- Fix viewport jumping when prepending history batches (scrollTop compensation)
- Update CHANGELOG for v1.2.6
2026-03-11 03:00:11 +00:00
cc-dan
96dbb81914 release v1.2.6: AskUserQuestion preview panel, 401 atomic write fix, mobile scrollbar 2026-03-11 00:43:18 +00:00
cc-dan
b64d5ec029 feat: v1.2.5 — UI improvements and session management fixes
- Fix session delete to scan all claude project dirs (not just first match)
- Batch async rendering for message history with stale render guard
- Add custom draggable scrollbar for chat area
- Fix AskUserQuestion card rendered at bottom instead of top
- Fix bubble split (msg-text + msg-tools) to prevent tool UI overwrite
- Add delete confirmation dialog with warm theme styling
- Support multiline display in user messages
- Apply model config to settings.json immediately on save
2026-03-10 15:19:47 +00:00
cc-dan
c2adab4340 feat: model config system with settings.json integration
- Add local/custom mode switching for API configuration
- Custom mode patches ~/.claude/settings.json env section before spawn
- Strip ANTHROPIC_* from child process env for clean config isolation
- Add spawn-time model name validation against MODEL_MAP
- Move template config fields to modal dialog for cleaner UI
- Show warning when custom templates may overwrite local API config
2026-03-10 13:15:27 +00:00
cc-dan
24ec5a6089 fix: show empty-state add button when no model templates exist
When switching to custom mode with no templates, show a '+ 新建模板'
button instead of an empty dropdown, allowing users to create the
first template without any UI dead-end.
2026-03-10 10:20:18 +00:00
cc-dan
c59855ee3b feat: add model config panel and fix /compact duplicate message
- Add model config UI in settings panel (local/custom mode)
- local mode: read model names from ~/.claude.json env fields
- custom mode: named templates with API key, base URL, model names
- Fix /compact duplicate message via reason field in pendingCompactRetries
- Add CLAUDE.md with architecture notes
2026-03-10 10:13:37 +00:00
Daniel
b24a3c74b2 v1.2.1: 修复交互选项渲染并增强答复输入体验
修复 AskUserQuestion 选项在 Web 端无法展示的问题,补齐前后端结构化数据处理,并支持点击选项一键填充输入框,提升交互效率。
2026-03-09 12:36:04 +00:00
Daniel
e3337c8d1b v1.2.0: 优化移动端输入与代码块显示体验
修复代码块长内容导致的页面横向溢出,并将移动端回车默认行为调整为换行,避免误触发送,提升手机端可用性。
2026-03-09 10:05:26 +00:00
Daniel
2c1c64ff30 feat: CC-Web v1.0 — Claude Code Web Chat UI
功能特性:
- WebSocket 流式对话、工具调用折叠、Markdown 渲染
- 多会话管理与续接、模型/权限模式切换
- 后台任务持久化(detached 进程 + PID 恢复)
- 多渠道通知(PushPlus/Telegram/Server酱/飞书/QQ)
- 密码管理(自动生成初始密码、首次改密、Web UI 改密)
- 移动端适配、PWA 通知、斜杠指令

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 10:45:21 +00:00