@lambdacurry/arbor 0.21.16 → 0.21.18

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/arbor.js +18 -5
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -17486,10 +17486,11 @@ var computerRunReceipt = exports_external.looseObject({
17486
17486
  "completed",
17487
17487
  "failed",
17488
17488
  "cancelled",
17489
+ "not-routed",
17489
17490
  "provider-lost",
17490
17491
  "unknown"
17491
17492
  ]),
17492
- mutationRetrySafety: exports_external.enum(["not-needed", "unsafe", "unknown"]),
17493
+ mutationRetrySafety: exports_external.enum(["not-needed", "safe", "unsafe", "unknown"]),
17493
17494
  reasonCode: exports_external.string(),
17494
17495
  startedAt: exports_external.string(),
17495
17496
  endedAt: exports_external.string().nullable()
@@ -18403,6 +18404,7 @@ var MCP_OUTPUT_SCHEMAS = {
18403
18404
  nextAction: exports_external.literal("computer_process_read").optional()
18404
18405
  }),
18405
18406
  computer_process_read: exports_external.looseObject({
18407
+ processId: exports_external.string(),
18406
18408
  status: exports_external.string(),
18407
18409
  endedAt: timestamp.nullable().optional(),
18408
18410
  durationMs: exports_external.number().int().min(0).nullable().optional(),
@@ -18420,10 +18422,10 @@ var MCP_OUTPUT_SCHEMAS = {
18420
18422
  reasonCode: exports_external.string()
18421
18423
  }).optional(),
18422
18424
  recovery: exports_external.looseObject({
18423
- state: exports_external.enum(["provider-timeout", "provider-lost", "unknown"]),
18425
+ state: exports_external.enum(["not-routed", "provider-timeout", "provider-lost", "unknown"]),
18424
18426
  reasonCode: exports_external.string(),
18425
- mutationRetrySafety: exports_external.enum(["unsafe", "unknown"]),
18426
- nextAction: exports_external.enum(["computer_process_read", "computer_run_receipt"])
18427
+ mutationRetrySafety: exports_external.enum(["safe", "unsafe", "unknown"]),
18428
+ nextAction: exports_external.enum(["computer_exec", "computer_process_read", "computer_run_receipt"])
18427
18429
  }).optional()
18428
18430
  }),
18429
18431
  computer_process_terminate: exports_external.looseObject({
@@ -18721,6 +18723,7 @@ var OUTPUT_SHAPERS = {
18721
18723
  ["cwd", input.cwd === undefined ? result.cwd : undefined]
18722
18724
  ]),
18723
18725
  computer_process_read: (result) => defined([
18726
+ ["processId", result.processId],
18724
18727
  ["status", result.status],
18725
18728
  ["stdout", result.stdout],
18726
18729
  ["stderr", result.stderr],
@@ -19699,7 +19702,7 @@ var ACTION_DEFINITIONS = [
19699
19702
  {
19700
19703
  name: "computer_process_read",
19701
19704
  title: "Read a background process",
19702
- description: "Read a provider-owned process from computer_exec, including a foreground operation recovered from a Run receipt, and use nextCursor for incremental output. Returns compact activity or recovery state plus the final exit result when observable.",
19705
+ description: "Read one exact provider-owned process from computer_exec, including a foreground operation recovered from a Run receipt, and use nextCursor for incremental output. Returns the same processId plus compact activity, terminal result, or durable not-routed proof; only that proof makes a fresh computer_exec safe.",
19703
19706
  inputSchema: {
19704
19707
  computerSessionId: exports_external.string().optional().describe("the computerSessionId returned by computer_open, cms_…; required unless runId is supplied"),
19705
19708
  runId: exports_external.string().optional().describe("the Run that owns this process, if it was started inside a Run"),
@@ -21598,6 +21601,16 @@ function parseErrorDetails(value) {
21598
21601
  }
21599
21602
  if (typeof raw.runId === "string")
21600
21603
  details.runId = raw.runId;
21604
+ if (typeof raw.operationId === "string")
21605
+ details.operationId = raw.operationId;
21606
+ if (typeof raw.processId === "string")
21607
+ details.processId = raw.processId;
21608
+ if (raw.commandExecution === "not-routed" || raw.commandExecution === "unknown") {
21609
+ details.commandExecution = raw.commandExecution;
21610
+ }
21611
+ if (raw.mutationRetrySafety === "safe" || raw.mutationRetrySafety === "unsafe" || raw.mutationRetrySafety === "unknown") {
21612
+ details.mutationRetrySafety = raw.mutationRetrySafety;
21613
+ }
21601
21614
  if (typeof raw.compatibilityState === "string") {
21602
21615
  details.compatibilityState = raw.compatibilityState;
21603
21616
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.21.16",
3
+ "version": "0.21.18",
4
4
  "description": "The Arbor CLI — a shared workspace for people and agents. The human + headless-agent write path over Arbor's guarded operation surface.",
5
5
  "keywords": [
6
6
  "agents",