mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-07-23 05:43:48 +08:00
fix(skills): update-agent 示例字段名修正 + get 返回示例对齐真实输出 (#53)
## 摘要 / Summary ### 中文 market#52 的修正:update-agent 附录示例使用了错误的字段名(`communicationStyle`/`must`),照示例调用会被 ManageAgent 的 Ajv 校验(additionalProperties: false)直接拒绝;`personality` 示例应为字符串数组。同时把 `get` 的返回示例对齐真实输出格式(`## persona.md` / `## principles.md` 段落含分层 markdown 原文,对应 desirecore#1230),并在附录固定列出结构化字段名清单。update-agent 3.1.1,manifest 1.2.11。 ### English Correction to market#52: the update-agent appendix examples used wrong field names (`communicationStyle`/`must`) that ManageAgent's Ajv validation (additionalProperties: false) would reject outright; `personality` must be a string array. The `get` response example is aligned with the actual output format (`## persona.md` / `## principles.md` sections, per desirecore#1230), and the appendix now lists the fixed structured field names. update-agent 3.1.1, manifest 1.2.11.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## [3.1.1] - 2026-07-18
|
||||
|
||||
- 修正示例字段名:`communicationStyle` → `communication_style`、`must` → `must_do`;`personality` 示例改为字符串数组
|
||||
- `get` 返回示例对齐真实输出格式(`## persona.md` / `## principles.md` 段落含分层 markdown 原文,客户端 ≥ 10.0.90)
|
||||
- 附录补充结构化字段名固定清单(persona L1.role/personality/communication_style;principles L1.must_do/must_not/priority)
|
||||
|
||||
## [3.1.0] - 2026-07-18
|
||||
|
||||
- 结构化字段(name/description/llm/persona/principles)改经进程内内置工具 **ManageAgent** 的 `update` 动作更新(白名单 + schema 校验 + 合并语义),移除对 `agent.json` / `persona.md` / `principles.md` 的直接 Write 指引
|
||||
|
||||
Reference in New Issue
Block a user