mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-07-23 03:23:41 +08:00
## 摘要 / Summary ### 中文 主仓库 desirecore#1225 新增 `ManageAgent` 内置工具后,智能体 CRUD 四技能从"调本机 HTTP API/curl"改写为调用该工具(实例鉴权上线后 Agent 直接访问本机 API 会 401): - **create-agent 2.5.0**:`POST /api/agents` → `ManageAgent(action='create', ...)`;补充保留标识(core/desirecore)拒创、config 仅允许 llm 白名单的错误处理 - **delete-agent 2.5.0**:`DELETE /api/agents/:id` → `action='delete'`(工具层强制用户确认);错误处理改为工具拒绝语义(核心智能体/自删/活跃状态);补团队级联说明 - **discover-agent 2.6.0**:`GET /api/agents(/:id)` → `action='list'/'get'` - **update-agent 3.1.0**:结构化字段(name/description/llm/persona/principles)改经 `action='update'`(白名单+schema 校验+字段级合并语义),自由格式文件仍 Read/Write 四技能声明 `market.required_client_version: 10.0.90`,老客户端在市场端被门控禁装。中英双语正文同步改写,i18n source_hash 已重算(validate-i18n.py 通过);manifest 1.2.10。 ### English After desirecore#1225 shipped the `ManageAgent` builtin tool, the four agent-CRUD skills are rewritten from local-HTTP-API/curl instructions to tool calls (direct local API access now returns 401 under instance auth). Each skill declares `market.required_client_version: 10.0.90` so older clients are gated from installing. Both locales are rewritten in sync and i18n source hashes recomputed (validate-i18n.py passes); manifest bumped to 1.2.10. 主仓库回填:合并后将在 desirecore 主仓库执行 `npm run sync-market` 生成新的 defaults/market.zip 并单独提 PR。
1.0 KiB
1.0 KiB
Changelog
[2.5.0] - 2026-07-18
- 创建方式从 HTTP API(
POST /api/agents)改为ManageAgent内置工具(实例鉴权上线后 Agent 不再直接访问本机 API) - 补充保留标识(core/desirecore)拒创、config 仅允许 llm 白名单的错误处理说明
- 声明
required_client_version: 10.0.90
[2.4.0] - 2026-02-28
- 修复响应格式文档,与实际 API 返回对齐(
{ success, agentId, agent }) - AgentFS 背景知识提取到共享文件
_agentfs-background.md,消除重复 - 受保护路径统一引用
_protected-paths.yaml - 补充"修改"分支的交互流程说明
[2.2.0] - 2026-02-27
- API 改为结构化 L0/L1/L2 输入(PersonaInput / PrinciplesInput),所有字段可选
- 用户确认预览从原始 markdown 改为表格形式展示
- 支持最简创建(仅 name),自动补全所有默认值
[2.1.0] - 2026-02-26
- 移除 fetch_api 依赖,改为通过 Bash/curl 调用 HTTP API;API 地址由 system prompt 注入;以用户阅读体验优先的 blockquote 格式呈现内容