@zltquant/zlt-mcp 0.7.5 → 0.7.7-dev.19544

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
@@ -1,9 +1,34 @@
1
1
  # @zltquant/zlt-mcp
2
2
 
3
3
  智量通(ZLT Quant)量化研究 MCP server 与 universal CLI:策略创建、本地回测、行情数据下载。
4
- 仅支持 Windows x64。本地回测运行时(智能管家 + 投研模块)不随包发布,由
5
- `zlt-runtime-install` 工具按需引导安装。SDK、MCP 与 CLI 默认从
6
- `%USERPROFILE%\.zltquant\credentials.json` 读取用户凭据;不要把 API Key 放进命令、参数文件或对话。
4
+ 支持 Windows x64 和 macOS。本地回测运行时不随包发布:Windows 由
5
+ `zlt-runtime-install` 工具按需引导安装;macOS 需先准备 ClientLite,
6
+ 并将 `ZLT_CLIENT_ROOT` 设置为该安装目录的绝对路径。macOS ARM64 已完成本地回测验证,Intel Mac 验收尚未完成。
7
+ SDK、MCP 与 CLI 默认从用户主目录下的 `.zltquant/credentials.json` 读取用户凭据;不要把 API Key 放进命令、参数文件或对话。
8
+
9
+ ## Windows x64 ClientLite 开发版安装
10
+
11
+ 本包固定到 ClientLite 开发通道:`@zltquant/clientlite-win32-x64@1.0.0-dev.19544`。
12
+ Python SDK 从 Python 包源下载,固定版本和 SHA-256,安装在独立环境中;zltquant 版本为 `0.1.9`。
13
+ 此流程仅适用于 Windows x64 开发版。ZLT 专有组件限个人、非商业研究使用;安装前请阅读这些包内的产品许可与第三方声明。
14
+
15
+ 在 PowerShell 中使用本版 CLI 预览安装内容。预览不下载或安装:
16
+
17
+ ```powershell
18
+ npx -y @zltquant/zlt-mcp@0.7.7-dev.19544 runtime install
19
+ ```
20
+
21
+ 核对返回的版本、下载量和安装目录后,明确确认安装:
22
+
23
+ ```powershell
24
+ npx -y @zltquant/zlt-mcp@0.7.7-dev.19544 runtime install --confirm
25
+ ```
26
+
27
+ 确认命令返回安装任务 ID 和下一步等待命令。用返回的任务 ID 调用
28
+ `npx -y @zltquant/zlt-mcp@0.7.7-dev.19544 call mcp-wait --args-json '{"kind":"install","id":"<返回的任务 ID>"}'`
29
+ 直至任务完成;随后运行 `npx -y @zltquant/zlt-mcp@0.7.7-dev.19544 runtime list` 查看安装与工作区。
30
+ 需要设为新进程的默认工作区时,从列表中选择正确的 ID,再运行
31
+ `npx -y @zltquant/zlt-mcp@0.7.7-dev.19544 runtime select --workspace-id '<列表中的工作区 ID>'`。
7
32
 
8
33
  ## 接入
9
34
 
package/config.json CHANGED
@@ -1153,9 +1153,9 @@
1153
1153
  "pageSize": {
1154
1154
  "type": "integer",
1155
1155
  "minimum": 1,
1156
- "maximum": 100,
1156
+ "maximum": 50,
1157
1157
  "default": 20,
1158
- "description": "每页数量,传 20;最大 100。必须显式传入,不要依赖 default 自动补值。"
1158
+ "description": "每页数量,传 20;最大 50,超出按 50 处理。必须显式传入,不要依赖 default 自动补值。"
1159
1159
  },
1160
1160
  "runType": {
1161
1161
  "type": "integer",
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@zltquant/zlt-mcp",
3
- "version": "0.7.5",
4
- "description": "智量通 ZLT Quant MCP server(Windows x64;量化策略创建与本地回测)",
3
+ "version": "0.7.7-dev.19544",
4
+ "clientliteChannel": "dev",
5
+ "description": "智量通 ZLT Quant MCP server(Windows x64 / macOS;量化策略创建与本地回测)",
5
6
  "bin": {
6
7
  "zlt-mcp": "./zlt-mcp-proxy.bundle.cjs"
7
8
  },
@@ -10,7 +11,8 @@
10
11
  "config.json"
11
12
  ],
12
13
  "os": [
13
- "win32"
14
+ "win32",
15
+ "darwin"
14
16
  ],
15
17
  "engines": {
16
18
  "node": ">=20"