11 Commits

Author SHA1 Message Date
qzl d2d292a99e fix(agent): 修复 skill action 卡片调用约定、memory 强类型校验和死代码清理
- 所有 calendar action .md: skill/action 替换为 module/method + mode 字段
- handler_memory: 新增 Pydantic extra=forbid 模型替代手工 dict 校验
- memory/SKILL.md: 补充 UserMemoryContent/WorkProfileContent 全字段文档
- 移除 handler_calendar 死代码 _batch_status 和 runner 旧别名 AgentScopeReActRunner
- PRD §5.2-5.6 和 sse-events 协议对齐实际 module/method 实现
2026-04-24 14:10:57 +08:00
qzl d060962a5f feat(agent): redesign project_cli with module/method/input protocol
- Replace command/subcommand/args with module/method/input envelope
- Calendar handler uses discriminated union (mode) for read operations
- Strict Pydantic models with extra='forbid' for all calendar methods
- Worker max_iters=7, router prompt simplified (removed project_cli_defaults)
- Skill index cards + per-action files for progressive disclosure
- Frontend/AG-UI aligned to module/method dispatch
- Protocol docs updated to module/method/input contract

WIP: action cards need envelope fix, 2 tests need update, memory
handler needs Pydantic models.
2026-04-24 13:24:13 +08:00
qzl ab526af2c4 chore(task): archive 04-20-refactor-tool-cli-skill-ui-schema 2026-04-23 16:09:11 +08:00
qzl 043b2ba0b7 chore: record journal 2026-04-23 16:05:14 +08:00
qzl bb36bdbb9b Merge branch 'worktree/refactor-tool-cli-skill-ui-schema' into dev 2026-04-23 16:04:13 +08:00
qzl dcb0eb4c65 chore: sync worktree changes - update protocols, trellis workspace, and config 2026-04-23 16:04:04 +08:00
qzl 19e273a9e6 refactor: clean CLI taxonomy — canonical subcommands, merged memory.update, no aliases
- calendar: split write → create/read/update/delete/share
- contacts: rename lookup → read
- memory: merge write+forget → update (unified action field in operations)
- Remove all alias/normalization logic from adapter and handlers
- Update tool_postprocessor ui_hints builders to canonical keys
- Remove frontend legacy TOOL_CALL_START/ARGS/END events and ToolCallItem
- Update SKILL.md files and protocol docs
- Update tests and settings screens
2026-04-23 12:12:41 +08:00
qzl 4d55df45ab refactor: unify skills+cli runtime and streamline ag-ui flow 2026-04-22 17:09:37 +08:00
qzl eeed737949 chore: bootstrap trellis workspace and sync deployment settings 2026-04-20 17:15:50 +08:00
qzl 0842e04c39 chore(task): archive 04-20-bootstrap-fullstack-guidelines 2026-04-20 17:15:02 +08:00
qzl b906a7abe6 chore(task): archive 00-bootstrap-guidelines 2026-04-20 16:24:19 +08:00