7 Commits

Author SHA1 Message Date
scorpio
5bc07f2ba5 fix: 修复路径遍历安全漏洞和editFile替换逻辑问题 2026-03-10 09:30:15 +08:00
sdaduanbilei
8cb4e041c8 fix 2026-03-09 17:38:43 +08:00
scorpio
d6df056687 feat: Part 模型 + 文件版本追踪 + 写手团队工作流 v2
- 数据层:messages 表增加 part_type 字段,新建 file_versions 表支持版本追踪
- 后端:saveWorkspace 版本追踪、saveAgentOutput 源头分离、generateBriefMessage 成员简报
- 后端:applyDocumentEdit 增量编辑、buildWorkflowStep phase-aware 工作流引擎
- API:文件版本查询/回退接口
- 前端:part_type 驱动渲染,产物面板版本历史
- 新增写手团队(主编/搜索员/策划编辑/合规审查员)配置
- store 模块、scheduler 模块、web-search skill

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 18:44:34 +08:00
scorpio
122ab6ef3e 0306 2026-03-06 10:07:16 +08:00
scorpio
416bea4ce3 chore: add .gitignore, update plan.md
- Exclude binary, rooms/, agent memory, web/dist from git
- plan.md reflects current completed state

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 22:17:50 +08:00
scorpio
972c822338 feat: complete remaining features
- SkillsPage: skill list, detail view, create new skill
- App.tsx: add Skills nav (4 tabs total)
- RoomSidebar: agent dropdown multi-select for members
- ChatView: workspace file preview modal, load message history on room open
- room.go: message history persistence to history/YYYY-MM-DD.md, auto memory update after task
- api/server.go: add createSkill, getWorkspaceFile, getMessages endpoints
- Clean up unused Vite default files
- Update plan.md with completed items and remaining tasks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 22:08:56 +08:00
scorpio
de773586c7 feat: implement full agent-team platform
Go backend:
- LLM client with DeepSeek/Kimi/Ollama/OpenAI support (OpenAI-compat)
- Agent loader: AGENT.md frontmatter, SOUL.md, memory read/write
- Skill system following agentskills.io standard
- Room orchestration: master assign→execute→review loop with streaming
- Hub: GitHub repo clone and team package install
- Echo HTTP server with WebSocket and full REST API

React frontend:
- Discord-style 3-panel layout with Tailwind v4
- Zustand store with WebSocket streaming message handling
- Chat view: streaming messages, role styles, right panel, drawer buttons
- Agent MD editor with Monaco Editor (AGENT.md + SOUL.md)
- Market page for GitHub team install/publish

Docs:
- plan.md with full progress tracking and next steps

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 21:57:46 +08:00