feat: create-agent / update-agent v2.2.0 — 结构化 L0/L1/L2 API 输入

- create-agent: API 改为结构化 PersonaInput/PrinciplesInput JSON 输入
- create-agent: 用户确认预览从原始 markdown 改为表格形式
- create-agent: 支持最简创建(仅 name),自动补全所有默认值
- update-agent: 新增结构化 GET/PUT persona/principles 端点说明
This commit is contained in:
2026-02-28 10:12:53 +08:00
parent b8ba404577
commit 386c1c2e43
4 changed files with 90 additions and 62 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## [2.2.0] - 2026-02-27
- 新增结构化 persona/principles API 端点GET/PUT说明
- 推荐使用结构化 API 替代原始文件写入
## [2.1.0] - 2026-02-26
- 移除 fetch_api 依赖,改为通过 Bash/curl 调用 HTTP APIAPI 地址由 system prompt 注入;新增 PUT /api/agents/:id/files/* 端点说明