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>
This commit is contained in:
Daniel
2026-03-08 10:45:21 +00:00
commit 2c1c64ff30
10 changed files with 4039 additions and 0 deletions

11
.env.example Normal file
View File

@@ -0,0 +1,11 @@
# Web 登录密码(可选,不设则首次启动自动生成随机密码)
# CC_WEB_PASSWORD=your-password-here
# 服务监听端口(默认 8002
PORT=8002
# Claude CLI 路径(默认在 PATH 中查找 claude
CLAUDE_PATH=claude
# PushPlus Token可选首次启动会自动迁移到 config/notify.json
PUSHPLUS_TOKEN=