@zltquant/zlt-mcp 0.7.0 → 0.7.1-beta.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 +9 -1
- package/package.json +1 -1
- package/zlt-mcp-proxy.bundle.cjs +923 -409
package/README.md
CHANGED
|
@@ -56,7 +56,15 @@ CLI 启动前的 npm 或父 shell 失败不在证据范围内。记录不包含
|
|
|
56
56
|
}
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
支持设备登录的网关部署上线后,用户可通过本包的 auth login --widget --json 开始登录。
|
|
60
|
+
Agent 将返回的 widget.arguments 传给宿主 show_widget(不支持则展示链接和设备码),
|
|
61
|
+
再运行 auth wait --session <返回的session> --json。widget 描述本身不会渲染界面;
|
|
62
|
+
用户在网关页核对设备码并确认授权,CLI 保存凭据,只输出脱敏状态。
|
|
63
|
+
普通终端使用 auth login 前台等待。auth status 查看本地配置;auth logout 只删除
|
|
64
|
+
CLI 自己写入的默认凭据,不撤销共享 Key。已有凭据保持不变。
|
|
65
|
+
独立 CLI 只从凭据文件获取认证,不使用继承的 ZLTQUANT_API_KEY 或 ZLTQUANT_API_BASE;
|
|
66
|
+
ZLTQUANT_HOME 和 ZLTQUANT_CREDENTIALS 仍可指定凭据路径。原生 MCP 宿主注入不受此限制。
|
|
67
|
+
首次使用的网关尚未支持设备登录时,请从 https://api.zltquant.com/login 获取 Key,并由用户自己创建
|
|
60
68
|
`%USERPROFILE%\.zltquant\credentials.json`(只填 `apiKey`)。
|
|
61
69
|
|
|
62
70
|
其他客户端无法使用 npx 时,也可以固定安装后用 node 启动 MCP 服务:
|