zcbot/web
caoqianming 9a7620f704 core(files API): user-rooted /v1/files*,去掉 task_id 前置
文件操作语义上只关心"路径 + user 边界",task_id 是多余拐杖;
同时 §7.1 心智模型把 task 和 dir 定义为正交副视图,API 不该混。

- 4 路由 /v1/tasks/{id}/files* → /v1/files*(列/下载/上传/删)
- 边界从 task_dir 改 user_root (workspace/users/<uid>/)
- dotfile 一律过滤(.memory/ 等系统区不暴露)
- dev SPA:登录即拉 user_root,选 task 自动跳到其 working_dir,
  crumbs root 标"我的",新增 upload 按钮

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 07:59:19 +08:00
..
static core(files API): user-rooted /v1/files*,去掉 task_id 前置 2026-05-18 07:59:19 +08:00
__init__.py core(§7 Phase G G1): Web UI 脚手架 + cli.py web 子命令 2026-05-14 13:37:54 +08:00
app.py core(files API): user-rooted /v1/files*,去掉 task_id 前置 2026-05-18 07:59:19 +08:00
auth.py core(§7 D + D'): /v1 JSON API + PLATFORM_KEY→JWT auth + dev SPA 2026-05-15 16:14:25 +08:00
broker.py core(§7 Phase G G4): chat 发送 + SSE 流式回复 2026-05-15 09:19:25 +08:00
sinks.py core(§7 Phase G G4): chat 发送 + SSE 流式回复 2026-05-15 09:19:25 +08:00