@zltquant/zlt-mcp 0.6.0-beta.1 → 0.6.0-beta.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zltquant/zlt-mcp",
3
- "version": "0.6.0-beta.1",
3
+ "version": "0.6.0-beta.2",
4
4
  "description": "智量通 ZLT Quant MCP server(Windows x64;量化策略创建与本地回测)",
5
5
  "bin": {
6
6
  "zlt-mcp": "./zlt-mcp-proxy.bundle.cjs"
@@ -27714,6 +27714,8 @@ if (process.argv.length <= 2) {
27714
27714
  Input: omitted arguments mean {}; use --args-json for small objects and --args-file
27715
27715
  for nested configuration or shell-sensitive text. Follow the selected tool schema
27716
27716
  from list --tool <name> --json. Windows paths must be native paths (C:/...), not /c/....
27717
+ Tool schema properties are JSON keys, NOT CLI flags: use --args-json '{"params": [...]}'
27718
+ for a tool's params property, not --params. Pass the complete argument object.
27717
27719
  Output: by default stdout contains the complete MCP JSON envelope plus cliProvenance.
27718
27720
  JSON business responses are inside content[].text (or structuredContent when present).
27719
27721
  Use --output-json for large results or downstream evidence: it saves the complete
@@ -27795,7 +27797,12 @@ Credentials belong in the configured local credential store, never in arguments.
27795
27797
  if (options.tool !== void 0) {
27796
27798
  const tools2 = Array.isArray(result.tools) ? result.tools.filter((tool) => tool.name === options.tool) : [];
27797
27799
  if (tools2.length === 0) throw new Error(`Unknown tool: ${options.tool}. Use list to discover available names.`);
27798
- result = { ...result, tools: tools2 };
27800
+ result = { ...result, tools: tools2, cliUsage: {
27801
+ command: `call ${options.tool}`,
27802
+ argumentsOption: "--args-json",
27803
+ argumentsAreCliFlags: false,
27804
+ instruction: "Put tool schema properties inside one JSON object passed to --args-json (or use --args-file). Do not turn properties into --flags."
27805
+ } };
27799
27806
  }
27800
27807
  if (options.json) {
27801
27808
  process.stdout.write(JSON.stringify(withCliProvenance(result)) + "\n");