@zltquant/zlt-mcp 0.6.1-beta.0 → 0.6.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/config.json CHANGED
@@ -1143,22 +1143,21 @@
1143
1143
  },
1144
1144
  {
1145
1145
  "name": "mcp-wait",
1146
- "description": "阻塞等待一个异步任务结束,直到需要 agent 行动的状态才返回。kind=install 等 runtime 安装,id 传 zlt-runtime-install 返回的 taskId;kind=backtest 等回测,id 传 mcp-create-and-run-backtest / mcp-re-backtest 返回的 runId;kind=download 等数据下载,id 传 mcp-download-data 返回的 uuid(传 \"0\" 等本机当前最新下载任务)。拿到任务 id 后应立即调用本工具,等待期间不要做任何其他事、不要轮询状态。\n\nkind=install 返回安装阶段和终态;completed 后再调用 zlt-runtime-doctor。\n\nkind=backtest 返回与 mcp-get-backtest-state 相同的终态结果(status 2 失败/3 取消/4 终止/5 完成;status=5 才能查收益)。\n\nkind=download 返回与 mcp-get-download-progress 相同的结果,按其中 nextAction 行动。除下载中以外的任何状态都会立即返回:resume-required / await-credential / report-stopped 表示任务不会自己结束,需要用户决定。\n\n任一 kind 带 waitStopped=no-progress 表示约 3 分钟毫无进展、先交回现状(回测可能仍在准备数据);可用对应状态工具复查一次,再调用本工具继续等。",
1146
+ "description": "阻塞等待一个异步任务结束,直到需要 agent 行动的状态才返回。kind=backtest 等回测,id 传 mcp-create-and-run-backtest / mcp-re-backtest 返回的 runId;kind=download 等数据下载,id 传 mcp-download-data 返回的 uuid(传 \"0\" 等本机当前最新下载任务)。拿到任务 id 后应立即调用本工具,等待期间不要做任何其他事、不要轮询状态。\n\nkind=backtest 返回与 mcp-get-backtest-state 相同的终态结果(status 2 失败/3 取消/4 终止/5 完成;status=5 才能查收益)。\n\nkind=download 返回与 mcp-get-download-progress 相同的结果,按其中 nextAction 行动。除下载中以外的任何状态都会立即返回:resume-required / await-credential / report-stopped 表示任务不会自己结束,需要用户决定。\n\n任一 kind 带 waitStopped=no-progress 表示约 3 分钟毫无进展、先交回现状(回测可能仍在准备数据);可用对应状态工具复查一次,再调用本工具继续等。",
1147
1147
  "inputSchema": {
1148
1148
  "type": "object",
1149
1149
  "properties": {
1150
1150
  "kind": {
1151
1151
  "type": "string",
1152
1152
  "enum": [
1153
- "install",
1154
1153
  "backtest",
1155
1154
  "download"
1156
1155
  ],
1157
- "description": "任务类别:install runtime 安装,backtest 回测,download 数据下载。"
1156
+ "description": "任务类别:backtest 回测,download 数据下载。"
1158
1157
  },
1159
1158
  "id": {
1160
1159
  "type": "string",
1161
- "description": "任务标识:kind=install 传 zlt-runtime-install 返回的 taskId;kind=backtest 传 runId;kind=download 传 uuid(\"0\" 表示本机当前最新下载任务)。"
1160
+ "description": "任务标识:kind=backtest 传 runId;kind=download 传 uuid(\"0\" 表示本机当前最新下载任务)。"
1162
1161
  },
1163
1162
  "codePath": {
1164
1163
  "type": "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zltquant/zlt-mcp",
3
- "version": "0.6.1-beta.0",
3
+ "version": "0.6.1-beta.1",
4
4
  "description": "智量通 ZLT Quant MCP server(Windows x64;量化策略创建与本地回测)",
5
5
  "bin": {
6
6
  "zlt-mcp": "./zlt-mcp-proxy.bundle.cjs"
@@ -27843,7 +27843,7 @@ if (process.argv.length <= 2) {
27843
27843
  } else {
27844
27844
  const program2 = new Command();
27845
27845
  program2.command("__install-worker <taskId> <argsJson>", { hidden: true }).action(async (taskId, argsJson) => {
27846
- const config2 = loadAssistantRuntimeConfig(resolveDefaultRuntimeConfigPath());
27846
+ const config2 = loadAssistantRuntimeConfig(resolveDefaultRuntimeConfigPath?.());
27847
27847
  await runInstallWorker(taskId, argsJson, async (args, onProgress) => installRuntime({
27848
27848
  config: config2,
27849
27849
  installType: "mini",
@@ -28059,7 +28059,6 @@ function compactCliReceipt(tool, result, resultFile) {
28059
28059
  if (source && typeof source === "object" && !Array.isArray(source)) {
28060
28060
  const fields = source;
28061
28061
  for (const key of [
28062
- "taskId",
28063
28062
  "runId",
28064
28063
  "backtestId",
28065
28064
  "strategyId",