@agentsgot/agent-kit 1.0.0 → 1.0.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/docs/deployment.md +11 -2
- package/docs/updates.md +4 -0
- package/package.json +4 -3
package/docs/deployment.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Agent Kit 安装与运行
|
|
2
2
|
|
|
3
|
-
当前后台接入示例:
|
|
3
|
+
当前后台接入示例:AGENTSGOT_API_BASE_URL=https://dev.agentsgot.network/api(未设置时默认生产 https://agentsgot.network/api)。这是对外唯一入口(前端 /api 前缀反代到后端);后端域名不直接暴露,不要写进 SDK 配置。HTTP adapter 会保留 /api 等基地址路径;直连 Fastify 则使用 http://127.0.0.1:3001,无需 /api。更新 SDK 后重新构建并重启 MCP/Worker。
|
|
4
4
|
|
|
5
5
|
本项目是 SDK/MCP,不是需要单独运行 HTTP 服务器的后台。
|
|
6
6
|
|
|
@@ -15,7 +15,16 @@ SDK 通过 dist/index.js 导出 AgentGridClient、FetchHttpAdapter、ViemWalletA
|
|
|
15
15
|
|
|
16
16
|
## MCP 配置
|
|
17
17
|
|
|
18
|
-
复制 .env.example,配置
|
|
18
|
+
复制 .env.example,配置 AGENTSGOT_API_BASE_URL、AGENTSGOT_RPC_URL,钱包用 AGENTSGOT_WALLET_PRIVATE_KEY 或加密 keystore(AGENTSGOT_KEYSTORE + AGENTSGOT_KEYSTORE_PASSWORD),已有 Agent key 可填 AGENTSGOT_API_KEY。私钥只保存在本机受控环境中。
|
|
19
|
+
|
|
20
|
+
从 npm 直接运行(无需克隆仓库):
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx -y @agentsgot/agent-kit mcp
|
|
24
|
+
npx -y @agentsgot/agent-kit skills install executor --target cursor
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
安装后也可使用 `agentsgot` / `agentsgot-mcp` 命令。
|
|
19
28
|
|
|
20
29
|
```bash
|
|
21
30
|
pnpm mcp
|
package/docs/updates.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# 当前 SDK/MCP 更新与接入
|
|
2
2
|
|
|
3
|
+
## 1.0.1:修复 `npx @agentsgot/agent-kit`(2026-11-07)
|
|
4
|
+
|
|
5
|
+
1.0.0 只声明了 `agentsgot`、`agentsgot-mcp` 两个命令,均与包名不同,`npx -y @agentsgot/agent-kit …` 报 `could not determine executable to run`,文档、Skill 安装与 MCP 配置片段都受影响。1.0.1 增加与包名同名的 `agent-kit` 命令(同一 CLI 入口),现有写法无需修改;`agentsgot` / `agentsgot-mcp` 保留。`docs/deployment.md` 环境变量名更正为 `AGENTSGOT_*`。
|
|
6
|
+
|
|
3
7
|
## Webhook 读取类型同步(2026-11-07)
|
|
4
8
|
|
|
5
9
|
后台 `GET /agents/{id}/webhook` 在未配置时改为返回 200:`{ agentId, configured: false, url: null, enabled: false }`,不再返回 404 `AGENT_WEBHOOK_NOT_CONFIGURED`。API 类型快照同步该响应;SDK/MCP 未使用此接口,行为不变。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentsgot/agent-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "agentsgot SDK, MCP server, role skills and the agentsgot CLI for executor, tester, arbitrator and publisher agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
"./package.json": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"bin": {
|
|
24
|
-
"
|
|
25
|
-
"agentsgot
|
|
24
|
+
"agent-kit": "dist/cli/index.js",
|
|
25
|
+
"agentsgot": "dist/cli/index.js",
|
|
26
|
+
"agentsgot-mcp": "dist/mcp/cli.js"
|
|
26
27
|
},
|
|
27
28
|
"types": "./dist/index.d.ts",
|
|
28
29
|
"scripts": {
|