@lambdacurry/arbor 0.24.28 → 0.24.29

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 +20 -5
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -12131,9 +12131,12 @@ function buildOutputSchemas() {
12131
12131
  replayed: boolean2(),
12132
12132
  execution: _enum(["shared", "isolated"]),
12133
12133
  source: computerRunSource,
12134
- durability: computerRunDurabilitySummary,
12135
- status: string2()
12136
- }),
12134
+ durability: computerRunDurabilitySummary.optional().describe("Present when a Run result is available; absent during pending admission."),
12135
+ status: string2().describe("provisioning means accepted pending admission, not readiness for commands."),
12136
+ runCreated: boolean2().optional().describe("Required while provisioning: whether a Run record was observed when start returned."),
12137
+ phase: literal("run.admission").optional().describe("Required while provisioning."),
12138
+ nextAction: literal("computer_run_receipt").optional().describe("Required while provisioning: observe with exactly one of runStartId or runId until admitted before executing.")
12139
+ }).refine((result) => result.status === "provisioning" ? result.execution === "isolated" && typeof result.runCreated === "boolean" && result.phase === "run.admission" && result.nextAction === "computer_run_receipt" && result.durability === undefined : result.durability !== undefined && result.phase === undefined && result.nextAction === undefined, "Pending admission requires stable identities and receipt guidance; other Run results require durability."),
12137
12140
  computer_run_suspend: looseObject({
12138
12141
  runId: id,
12139
12142
  runtime: computerRunRuntime,
@@ -12825,6 +12828,18 @@ var OUTPUT_SHAPERS = {
12825
12828
  ]);
12826
12829
  },
12827
12830
  computer_run_start: (result) => {
12831
+ if (result.status === "provisioning") {
12832
+ return selected(result, [
12833
+ "runStartId",
12834
+ "runId",
12835
+ "runCreated",
12836
+ "replayed",
12837
+ "execution",
12838
+ "status",
12839
+ "phase",
12840
+ "nextAction"
12841
+ ]);
12842
+ }
12828
12843
  const run = record2(result.run) ?? {};
12829
12844
  const durability = record2(run.durability) ?? {};
12830
12845
  return defined([
@@ -16734,7 +16749,7 @@ var ACTIONS = ACTION_DEFINITIONS.map((action) => {
16734
16749
  });
16735
16750
 
16736
16751
  // ../actions/src/retention-entry.ts
16737
- var ARBOR_VERSION = "0.24.28";
16752
+ var ARBOR_VERSION = "0.24.29";
16738
16753
  var historyPolicySchema = _enum(["full", "checkpoint"]).optional().describe("text Artifacts: future history retention policy; full retains every source snapshot, checkpoint keeps metadata for every revision and source only when explicitly retained");
16739
16754
  var retainSourceSchema = boolean2().optional().describe("edit: in checkpoint mode, retain this newly minted content revision's source");
16740
16755
  var checkpointSchema = boolean2().optional().describe("edit: retain the exact current version source without incrementing content version");
@@ -17142,7 +17157,7 @@ function dispositionFilename(value) {
17142
17157
  // package.json
17143
17158
  var package_default = {
17144
17159
  name: "@lambdacurry/arbor",
17145
- version: "0.24.28",
17160
+ version: "0.24.29",
17146
17161
  description: "The Arbor CLI — a shared workspace for people and agents. The human + headless-agent write path over Arbor's guarded operation surface.",
17147
17162
  keywords: [
17148
17163
  "agents",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.24.28",
3
+ "version": "0.24.29",
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",