@mutagent/cli 0.2.43 → 0.2.45

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.
Files changed (2) hide show
  1. package/dist/bin/cli.js +8 -8
  2. package/package.json +2 -2
package/dist/bin/cli.js CHANGED
@@ -31122,7 +31122,7 @@ AI Agent Directive:
31122
31122
 
31123
31123
  // src/commands/sandbox/index.ts
31124
31124
  function createSandboxCommand() {
31125
- const sandbox = new Command16("sandbox").description("Cloud sandboxes (advanced): run a command in a box; agent runs use mutagent helix").addHelpText("after", `
31125
+ const sandbox = new Command16("sandbox").description("Cloud sandboxes (advanced): run a command in a sandbox; agent runs use mutagent helix").addHelpText("after", `
31126
31126
  Examples:
31127
31127
  ${chalk39.dim("$")} mutagent sandbox exec -- uname -m ${chalk39.dim("Run one shell command in a fresh cloud sandbox")}
31128
31128
  ${chalk39.dim("$")} mutagent helix --sandbox-provider mutagent-cloud -p "run the tests" ${chalk39.dim("Run an agent task in a cloud sandbox")}
@@ -32712,7 +32712,7 @@ function printEnvironment2(environment) {
32712
32712
  function envHelp(verb) {
32713
32713
  const clear = verb === "update" ? `--env "" clears it: runs then load no Environment. Changing or clearing it writes a new version.` : `--env "" is the same as leaving it out: no Environment.`;
32714
32714
  return `--env <name> loads that workspace Environment (its variables and secrets, see
32715
- 'mutagent env list') into the box of every run, exactly like a session started with an
32715
+ 'mutagent env list') into the sandbox of every run, exactly like a session started with an
32716
32716
  Environment. The workspace must have it when you write this: an unknown name is refused
32717
32717
  (ENVIRONMENT_NOT_FOUND). ${clear}`;
32718
32718
  }
@@ -34672,7 +34672,7 @@ var SANDBOX_TELEMETRY_URL_VAR = "MUTAGENT_TELEMETRY_URL";
34672
34672
  var SDK_TRANSPORT_ERRORS4 = new Set(["ConnectionError", "RequestTimeoutError", "RequestAbortedError", "UnexpectedClientError"]);
34673
34673
  var SDK_SCHEMA_ERRORS3 = new Set(["SDKValidationError", "ResponseValidationError"]);
34674
34674
  function notSignedIn(inBox) {
34675
- return inBox ? new MutagentError("AUTH_REQUIRED", "Only `mutagent reports push` works with the box sandbox token; reading reports needs a platform API key.", "Run: mutagent login (or set MUTAGENT_API_KEY)") : new MutagentError("AUTH_REQUIRED", "Not signed in.", "Run: mutagent login");
34675
+ return inBox ? new MutagentError("AUTH_REQUIRED", "Only `mutagent reports push` works with a sandbox token; reading reports needs a platform API key.", "Run: mutagent login (or set MUTAGENT_API_KEY)") : new MutagentError("AUTH_REQUIRED", "Not signed in.", "Run: mutagent login");
34676
34676
  }
34677
34677
  function boxEndpoint() {
34678
34678
  const explicit = process.env.MUTAGENT_ENDPOINT?.trim();
@@ -34716,7 +34716,7 @@ function reportsError(error, ctx) {
34716
34716
  if (tenancy)
34717
34717
  return tenancy;
34718
34718
  } else if (status === 401) {
34719
- return new MutagentError("SANDBOX_TOKEN_REFUSED", "The server refused this box's sandbox token (expired, or not issued by this server).", "Push from a live box, or sign in: mutagent login");
34719
+ return new MutagentError("SANDBOX_TOKEN_REFUSED", "The server refused this sandbox's token (expired, or not issued by this server).", "Push from a live sandbox, or sign in: mutagent login");
34720
34720
  }
34721
34721
  const parsed = parseBody2(body);
34722
34722
  if (typeof parsed.code === "string" && typeof parsed.reason === "string") {
@@ -35211,9 +35211,9 @@ hitl:
35211
35211
  A hitl report (the reviewer's rulings) has no run id: every push stores a new
35212
35212
  report, the render input's runId is not sent, and --run-id / --replace are refused.
35213
35213
 
35214
- Inside a box:
35215
- With no API key, the box's MUTAGENT_SANDBOX_TOKEN uploads to the box's own
35216
- workspace. A signed-in key always wins. Only push works this way.
35214
+ Inside a sandbox:
35215
+ With no API key, the sandbox's MUTAGENT_SANDBOX_TOKEN uploads to the
35216
+ sandbox's own workspace. A signed-in key always wins. Only push works this way.
35217
35217
 
35218
35218
  Exit 0: stored, or already stored.
35219
35219
  ${EXIT_CODES_LINE}
@@ -38100,4 +38100,4 @@ if (process.env.CLI_VERSION) {
38100
38100
  }
38101
38101
  runCli(process.argv.slice(2), cliVersion);
38102
38102
 
38103
- //# debugId=52BC69200B109B1C64756E2164756E21
38103
+ //# debugId=3ED0C6257235B6F564756E2164756E21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutagent/cli",
3
- "version": "0.2.43",
3
+ "version": "0.2.45",
4
4
  "description": "Bun-native CLI for the MutagenT AI platform - auth, provider config, and lifecycle-tool installer for AI-native workflows",
5
5
  "type": "module",
6
6
  "bin": {
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@inquirer/prompts": "^8.7.2",
48
- "@mutagent/sdk": "0.8.23",
48
+ "@mutagent/sdk": "0.8.24",
49
49
  "@sinclair/typebox": "^0.34.0",
50
50
  "chalk": "^5.3.0",
51
51
  "commander": "^12.1.0",