12 Commits
Author SHA1 Message Date
luckyyzh 7a9859e60d feat: separate frontend and backend services 2026-08-10 09:45:22 +08:00
luckyyzh cb9ec7a869 feat(web): auto-follow streaming output and add scroll-to-bottom button
- ChatWindow: follow the streaming bubble on every chunk (scrollIntoView block:end),
  driven by followStreamRef (true by default, only genuine scroll gestures flip it)
- Remove the agentRunning spacer that pushed content above the viewport at the bottom
- Move the scroll-to-bottom button into the input row (ChatInput scrollToBottomButton slot),
  always visible, dimmed at the bottom; click jumps to the live stream or the end
- useAgentSession: drop window pointerdown as scroll-intent marker (send-click was
  misread as a scroll-away, disabling follow before the stream started); expose
  atBottom/followStreamRef/scrollToBottom
- i18n: add chat.scrollToBottom (en/zh-CN)
2026-08-05 04:46:58 +08:00
luckyyzh 836042b97c feat: add codex fast mode and harden subagent launch 2026-08-05 03:24:17 +08:00
luckyyzh 2908bcb6d0 feat(vision): cache key include prompt, parallel multi-image, compressed hook prompt, PNG compression, retry logic 2026-08-03 19:09:18 +08:00
luckyyzh ac0f0cdc0c feat: vision 后端不再预设默认值,初始置空需用户自选
- vision.ts:移除默认 ollama/qwen3-vl:8b,未配置后端或模型时明确报错并给配置入口
- VisionConfig.tsx + i18n:面板无默认选中,新增未配置提示
- README/vision.md:同步移除默认表述,标注 OLLAMA_VISION_MODEL 必填
2026-08-03 13:52:08 +08:00
luckyyzh ccb038988e feat: 识图提速(模型常驻/精简模板/磁盘缓存)+ WebUI 上传压缩 + 缓存清理脚本
- vision.ts: keep_alive:-1 常驻显存(治冷加载 7.7GB);转录缓存持久化
  data/agent/vision-cache.json(重启后历史图秒回);hook 转录用精简模板
- ChatInput/image-attachments: 上传 JPEG 长边>1600px 自动压缩 q0.85
- scripts/cleanup-cache.mjs: npm/opengrep 缓存、过期会话、旧图瘦身清理
- README 双语同步
2026-08-03 06:33:43 +08:00
luckyyzh e79485bf4c feat: add vision and extension management to WebUI 2026-08-03 05:06:34 +08:00
luckyyzh 690020f823 feat: show cache hit rate in web session info 2026-08-03 02:21:03 +08:00
luckyyzh 5378d48095 feat: webUI MCP 可视化配置面板 + README 更新 2026-08-02 22:27:50 +08:00
luckyyzh a70798e874 feat: webUI 文本文件编辑/保存 + 相关改动
- FileViewer 新增文本编辑模式(textarea + 保存/取消 + Ctrl+S)
- 后端 /api/files POST 新增 type=write 原子写入
- i18n 补充编辑相关文案(en/zh-CN)
- searxng-search: 加强 web_search 自动搜索条件
- worktree/next.config: 路径比较与 allowedDevOrigins 优化
2026-08-01 02:58:01 +08:00
5c9c6631f5 Prepare self-contained open-source release (#1)
* feat: prepare self-contained open-source release

* fix: canonicalize missing managed paths

---------

Co-authored-by: luckyyzh <luckyyzh@users.noreply.github.com>
2026-07-31 03:39:54 +08:00
luckyyzh 7392ab9dd7 feat: integrate Pi backend and Pi Web 2026-07-30 19:37:53 +08:00