@inspecto-dev/cli 0.3.8 → 0.3.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @inspecto-dev/cli
2
2
 
3
+ ## 0.3.10
4
+
5
+ ### Patch Changes
6
+
7
+ - release 0.3.10
8
+ - Updated dependencies
9
+ - @inspecto-dev/types@0.3.10
10
+
11
+ ## 0.3.9
12
+
13
+ ### Patch Changes
14
+
15
+ - release 0.3.9
16
+ - Updated dependencies
17
+ - @inspecto-dev/types@0.3.9
18
+
3
19
  ## 0.3.8
4
20
 
5
21
  ### Patch Changes
package/dist/bin.js CHANGED
@@ -13,8 +13,9 @@ import {
13
13
  printIntegrationList,
14
14
  printIntegrationPath,
15
15
  reportCommandError,
16
+ startMcpServer,
16
17
  teardown
17
- } from "./chunk-B5JDHSP7.js";
18
+ } from "./chunk-WOZPOTWE.js";
18
19
 
19
20
  // src/bin.ts
20
21
  import { cac } from "cac";
@@ -61,6 +62,16 @@ function createCli(_argv = process.argv) {
61
62
  exitWithError(error, options);
62
63
  }
63
64
  });
65
+ cli.command("mcp", "Run Inspecto as a minimal stdio MCP server for agents").option("--server-url <url>", "Use an explicit Inspecto dev server base URL").option("--debug", "Enable debug mode to show full error traces", { default: false }).action(async (options) => {
66
+ try {
67
+ await startMcpServer({
68
+ ...options.serverUrl ? { serverUrl: options.serverUrl } : {},
69
+ version
70
+ });
71
+ } catch (error) {
72
+ exitWithError(error, options);
73
+ }
74
+ });
64
75
  cli.command("init", "Set up Inspecto in your project").option("--shared", "Share .inspecto/settings.json with your team via Git", { default: false }).option("--skip-install", "Skip npm dependency installation", { default: false }).option("--dry-run", "Preview changes without modifying files", { default: false }).option("--provider <provider>", "Set default provider (e.g. copilot, claude-code)").option("--no-extension", "Skip VS Code extension installation", { default: false }).option("--packages <names>", "(Monorepo) Comma-separated list of packages to inject").option("--force", "Force initialization even if environment is unsupported", {
65
76
  default: false
66
77
  }).option("--debug", "Enable debug mode to show full error traces", { default: false }).action(async (options) => {