spacecode 2.5.6 → 2.6.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
@@ -8752,7 +8752,7 @@ Agent error: ${message}
8752
8752
  fileSync.start();
8753
8753
  }
8754
8754
  const ttyHost = new URL(wsUrl.replace("wss://", "https://").replace("ws://", "http://")).host;
8755
- const version = "2.5.6";
8755
+ const version = "2.6.0";
8756
8756
  if (isResume) {
8757
8757
  let turnCount = 0;
8758
8758
  try {
@@ -24199,7 +24199,7 @@ var init_index = __esm({
24199
24199
  init_analytics();
24200
24200
  initPostHog();
24201
24201
  program = new import_commander.Command();
24202
- program.name("spacecode").description("SpaceCode - launch cloud dev environments with AI coding agents").version("2.5.6").enablePositionalOptions();
24202
+ program.name("spacecode").description("SpaceCode - launch cloud dev environments with AI coding agents").version("2.6.0").enablePositionalOptions();
24203
24203
  program.command("launch").description("Launch a new cloud session").option("-R, --repo <repo>", "Clone a GitHub repository into workspace (URL or owner/repo)").option("-n, --new [name]", "Start a new project (optionally specify name, or will prompt)").option("--name <name>", "Name this session for easy reconnection").option("--destroy", "Destroy the session on exit (default: session stays alive)").option("-t, --idle-timeout <minutes>", "Auto-shutdown timeout in minutes (default: 15)", "15").option("--proxy-mode <mode>", 'API proxy mode: "legacy" (round-robin GLM) or "pipeline" (multi-model router)', "pipeline").option("--own-key", "Bring your own API key (no proxy)").option("--api-key <key>", "Use a specific API key (bypasses proxy)").action(async (options) => {
24204
24204
  await launchWithOptions(options);
24205
24205
  });
@@ -24327,6 +24327,11 @@ Batch ${result.groupId}: ${result.dispatched}/${result.total} dispatched`));
24327
24327
  });
24328
24328
  process.exit(code);
24329
24329
  });
24330
+ program.command("approve-mcp").description("Approve the stdio commands of your imported MCP servers on this machine (each one separately; a changed command asks again)").action(async () => {
24331
+ const { startLocalRepl: startLocalRepl2 } = await Promise.resolve().then(() => (init_repl(), repl_exports));
24332
+ const code = await startLocalRepl2({ args: ["approve-mcp"] });
24333
+ process.exit(code);
24334
+ });
24330
24335
  program.command("logout").description("Clear authentication credentials").action(async () => {
24331
24336
  await logout();
24332
24337
  });