@t2000/cli 0.11.0 → 0.12.0

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/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env node
2
+ import "./chunk-D4HDZEJT.js";
2
3
 
3
4
  // src/program.ts
4
5
  import { Command } from "commander";
@@ -1708,6 +1709,14 @@ function registerExchange(program2) {
1708
1709
  });
1709
1710
  }
1710
1711
 
1712
+ // src/commands/mcp.ts
1713
+ function registerMcp(program2) {
1714
+ program2.command("mcp").description("Start MCP server (stdio transport)").option("--key <path>", "Key file path").action(async (opts) => {
1715
+ const { startMcpServer } = await import("./dist-QVEFT4TY.js");
1716
+ await startMcpServer({ keyPath: opts.key });
1717
+ });
1718
+ }
1719
+
1711
1720
  // src/program.ts
1712
1721
  var require2 = createRequire(import.meta.url);
1713
1722
  var { version: CLI_VERSION } = require2("../package.json");
@@ -1742,6 +1751,7 @@ function createProgram() {
1742
1751
  registerEarn(program2);
1743
1752
  registerRebalance(program2);
1744
1753
  registerExchange(program2);
1754
+ registerMcp(program2);
1745
1755
  return program2;
1746
1756
  }
1747
1757