gx-code-agent 0.1.0 → 0.1.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
CHANGED
|
@@ -12,8 +12,8 @@ GX 高代码平台的伴生 CLI。M0 阶段提供 `gx init`:一次性完成 MC
|
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
14
|
# 主 CLI
|
|
15
|
-
npm i -g gx-code-agent@0.1.
|
|
16
|
-
npx --yes gx-code-agent@0.1.
|
|
15
|
+
npm i -g gx-code-agent@0.1.1
|
|
16
|
+
npx --yes gx-code-agent@0.1.1 --help
|
|
17
17
|
|
|
18
18
|
# 独立本地 MCP 启动器
|
|
19
19
|
npx --yes gx-mcp-local
|
|
@@ -235,7 +235,7 @@ CI 变量:
|
|
|
235
235
|
|
|
236
236
|
| 变量 | 说明 |
|
|
237
237
|
|---|---|
|
|
238
|
-
| `GX_AGENT_VERSION` | 固定 CLI 版本,默认 `0.1.
|
|
238
|
+
| `GX_AGENT_VERSION` | 固定 CLI 版本,默认 `0.1.1` |
|
|
239
239
|
| `NPM_REGISTRY` | npm registry;默认 `https://registry.npmjs.org/` |
|
|
240
240
|
| `GX_API_TOKEN` / `GX_PLAN_ID` | MCP 鉴权与方案范围 |
|
|
241
241
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gx-code-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "GX 高代码平台伴生 CLI:注册 MCP、注入平台规范、校验生成物、本地 stdio MCP",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"gx": "bin/gx.js",
|
|
8
|
+
"gx-code-agent": "bin/gx.js",
|
|
8
9
|
"gx-mcp-local": "bin/gx-stdio-mcp.js"
|
|
9
10
|
},
|
|
10
11
|
"files": [
|
package/src/adapters/cli/args.js
CHANGED
|
@@ -17,7 +17,7 @@ export class McpHttpClient {
|
|
|
17
17
|
this.url = options.url;
|
|
18
18
|
this.token = options.token;
|
|
19
19
|
this.clientName = options.clientName ?? "gx-code-agent";
|
|
20
|
-
this.clientVersion = options.clientVersion ?? "0.1.
|
|
20
|
+
this.clientVersion = options.clientVersion ?? "0.1.1";
|
|
21
21
|
this.protocolVersion = options.protocolVersion ?? "2025-06-18";
|
|
22
22
|
this.timeoutMs = Number.isFinite(options.timeoutMs) && options.timeoutMs > 0 ? options.timeoutMs : 30000;
|
|
23
23
|
this.sessionId = null;
|