@kanyun-ai-infra/agenthub 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/index.cjs +1368 -1178
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6653 -6277
- package/dist/index.d.ts +6653 -6277
- package/dist/index.js +1368 -1178
- package/dist/index.js.map +1 -1
- package/package.json +15 -8
- package/skills/agenthub-sdk/SKILL.md +597 -0
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
# @kanyun-ai-infra/agenthub
|
|
1
|
+
# @kanyun-ai-infra/agenthub — AgentHub Client SDK
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
AgentHub 的**客户端 SDK(Client SDK)**:业务系统通过 Control Plane API 程序化地创建/发布 Agent 并调用已部署的 Agent。
|
|
4
|
+
定位区分:Agent 的**文件定义**与 Git 交付走 `agenthub` CLI;本包不承载文件定义。
|
|
4
5
|
|
|
5
6
|
它直接调用 agenthub Control Plane,适合后端服务、CI 和工具以编程方式驱动
|
|
6
7
|
`project → agent → version → session` 生命周期。
|
|
@@ -190,7 +191,7 @@ App 里点的"对";`purge(projectId, { subjectKind, subjectId })` 按主体清
|
|
|
190
191
|
| 你想找 | 链接 |
|
|
191
192
|
| --- | --- |
|
|
192
193
|
| 资源方法速查(projects / agents / stages / environments / sessions / files / profiles) | <https://agenthub.zhenguanyu.com/docs/api-and-sdk#sdk-methods> |
|
|
193
|
-
| 记忆接口(写入 / 读回 / 确认 / 清空 / 策略)逐端点字段、outcome 与 REST 对照 | <https://agenthub.zhenguanyu.com/v1/docs/api
|
|
194
|
+
| 记忆接口(写入 / 读回 / 确认 / 清空 / 策略)逐端点字段、outcome 与 REST 对照 | <https://agenthub.zhenguanyu.com/v1/docs/agent-memory#api> |
|
|
194
195
|
| "发布 → 部署 → 晋级 → 灰度 → 回滚"完整六幕示例 | <https://agenthub.zhenguanyu.com/docs/api-and-sdk#release-loop> |
|
|
195
196
|
| Client 配置全部选项、获取 token | <https://agenthub.zhenguanyu.com/docs/api-and-sdk#sdk-client-config> |
|
|
196
197
|
| Runtime template 解析顺序 | <https://agenthub.zhenguanyu.com/docs/api-and-sdk#runtime-template> |
|