mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-07-23 04:23:46 +08:00
feat(skills): 新增 configuring-compute 技能 (#37)
## 中文 新增官方内置技能 `configuring-compute`:让平台内智能体能帮用户配置算力供应商与 API Key。 - 完整流程:查看配置 → 创建/更新 provider → 写入密钥(只写端点)→ verify-key 验证 → 启用/同步模型 → POST /api/compute/reload 刷新 - 安全模型写入技能文本:密钥只写不读,禁止读取 secrets.json 或尝试读回已有 key - 加入 builtin-skills.json 清单;manifest version 1.2.6 → 1.2.7 依赖 desirecore 主仓库的配套 PR(掩码脱敏 + reload 端点)。 ## English Add the official builtin skill `configuring-compute`: enables in-platform agents to configure compute providers and API keys for the user. - Full flow: inspect config → create/update provider → write key (write-only endpoint) → verify-key → enable/sync models → POST /api/compute/reload - Security model embedded in the skill text: keys are write-only; reading secrets.json or existing keys is forbidden - Added to builtin-skills.json manifest; manifest version 1.2.6 → 1.2.7 Depends on the companion PR in the desirecore main repo (key masking + reload endpoint).
This commit is contained in:
7
skills/configuring-compute/CHANGELOG.md
Normal file
7
skills/configuring-compute/CHANGELOG.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
## [1.0.0] - 2026-07-07
|
||||
|
||||
- 首个版本:通过 Agent Service HTTP API 配置算力供应商与 API Key
|
||||
- 密钥只写不读安全模型(secrets 端点只写、config 响应掩码、明文查看仅限用户 UI)
|
||||
- 完整流程:查看配置 → 创建/更新 provider → 写入密钥 → 验证 → 启用/同步模型 → reload 刷新
|
||||
Reference in New Issue
Block a user