@lambdacurry/arbor 0.24.18 → 0.24.20

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 +13 -12
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -7900,8 +7900,7 @@ var computerRuns = sqliteTable("computer_runs", {
7900
7900
  threadIdx: index("computer_runs_thread_idx").on(t.threadId, t.startedAt),
7901
7901
  sessionIdx: index("computer_runs_session_idx").on(t.computerSessionId, t.startedAt),
7902
7902
  statusIdx: index("computer_runs_status_idx").on(t.computerId, t.status),
7903
- runtimeIdx: index("computer_runs_runtime_idx").on(t.computerId, t.runtimeState),
7904
- retentionDueIdx: index("computer_runs_retention_due_idx").on(t.retentionPolicy, t.status, t.retentionDeadlineAt)
7903
+ runtimeIdx: index("computer_runs_runtime_idx").on(t.computerId, t.runtimeState)
7905
7904
  }));
7906
7905
  var packageCacheObjects = sqliteTable("package_cache_objects", {
7907
7906
  key: text("key").primaryKey(),
@@ -9323,6 +9322,7 @@ var COMPUTER_WORKSPACE_RECOVERY_ATTACH_DEADLINE_MS = 31 * 60 * 1000;
9323
9322
  var COMPUTER_WORKSPACE_RECOVERY_HEALTH_DEADLINE_MS = 2 * 60 * 1000;
9324
9323
  var COMPUTER_WORKSPACE_RECOVERY_HEADROOM_MS = 2 * 60 * 1000;
9325
9324
  var COMPUTER_WORKSPACE_RECOVERY_LEASE_MS = COMPUTER_WORKSPACE_RECOVERY_CHECKPOINT_DEADLINE_MS + COMPUTER_WORKSPACE_RECOVERY_ATTACH_DEADLINE_MS + COMPUTER_WORKSPACE_RECOVERY_HEALTH_DEADLINE_MS + COMPUTER_WORKSPACE_RECOVERY_HEADROOM_MS;
9325
+
9326
9326
  // ../core/src/ops/artifact-git-intent.ts
9327
9327
  var RETRYABLE_REPAIR = new Set([
9328
9328
  "pending_push_unconfirmed",
@@ -9753,8 +9753,8 @@ function buildOutputSchemas() {
9753
9753
  git: computerRunGitState.nullable()
9754
9754
  }));
9755
9755
  const computerRunGitStart = looseObject({
9756
- repositories: computerRunGitStartRepositories.describe("the inherited base's repositories before any requested revision was checked out"),
9757
- materialized: looseObject({ repositories: computerRunGitStartRepositories }).optional().describe("the workspace as admitted, at each requested revision; read this, when present, for what the Run started on")
9756
+ repositories: computerRunGitStartRepositories.describe("named recipe repositories at start; git facts are null unless a historical Run inspected them"),
9757
+ materialized: looseObject({ repositories: computerRunGitStartRepositories }).optional().describe("historical isolated checkout after admission-managed Git; omitted on new Runs (ARB-584)")
9758
9758
  });
9759
9759
  const computerRunSource = object({ runId: id, snapshotId: id.nullable() }).optional().describe("this Run began at source.runId's durable checkpoint snapshotId");
9760
9760
  const computerRun = looseObject({
@@ -11596,6 +11596,8 @@ function prepare(action) {
11596
11596
  templates.set(action, result);
11597
11597
  return result;
11598
11598
  }
11599
+ var variantOnly = new WeakMap;
11600
+ var variantOnlyServed = new WeakSet;
11599
11601
  function projectActionVariants(action, tags) {
11600
11602
  action = origins.get(action) ?? action;
11601
11603
  if (!action.privilegedVariants?.length || tags.length === 0)
@@ -12087,6 +12089,7 @@ var MCP_TOOL_ANNOTATIONS = {
12087
12089
  computer_run_promote: idempotent,
12088
12090
  computer_repo_work_status: readOnly,
12089
12091
  computer_run_finish: destructive,
12092
+ computer_stop: destructive,
12090
12093
  computer_run_receipt: readOnly,
12091
12094
  computer_run_retention: readOnly,
12092
12095
  computer_run_keep: idempotent,
@@ -13272,10 +13275,7 @@ var ACTION_DEFINITIONS = [
13272
13275
  mode: _enum(["read", "write"]).describe("write for mutable work; read for shared inspection"),
13273
13276
  execution: _enum(["shared", "isolated"]).optional().describe("write Run placement; defaults to isolated. Use shared only for intentional live collaboration on the Thread Computer"),
13274
13277
  label: string2().trim().max(120).optional().describe("required for a new Run: short actual intention, e.g. Fix CI; exact accepted legacy retries reuse their original text or omission"),
13275
- requestedRevisions: array(object({
13276
- repository: string2().describe("configured GitHub repository as canonical owner/name"),
13277
- head: string2().regex(/^[0-9a-fA-F]{40}(?:[0-9a-fA-F]{24})?$/).describe("exact 40- or 64-hex Git object id required before caller work")
13278
- })).max(32).optional().describe("optional exact repository revisions the isolated workspace must prove before caller work"),
13278
+ requestedRevisions: array(unknown()).max(32).optional().describe("retired: omit or pass []. A non-empty value is rejected with 400; agents own Git inside isolated Computers"),
13279
13279
  sourceRunId: string2().optional().describe("fork: a new isolated write Run restored from YOUR same-Thread Run's last durable checkpoint (its last suspend or admission; edits since are not included), run_…; active, suspended, or ended within 14 days or Keep; requires threadId; the source Run is never changed"),
13280
13280
  sourceSnapshotId: string2().optional().describe("with sourceRunId: the exact checkpoint you expect (the source receipt's runtime.currentSnapshotId), cps_…; refused if it moved"),
13281
13281
  idempotencyKey: string2().min(1).max(200).describe("stable key for this ONE logical Run-start request; reuse it unchanged for retries")
@@ -13759,7 +13759,8 @@ var ACTION_DEFINITIONS = [
13759
13759
  computerSessionId: string2().optional().describe("legacy alternative to runId: a computerSessionId on that Computer, cms_…"),
13760
13760
  mode: literal("save").optional().describe("save stop (checkpoint, then stop); omission preserves existing behavior")
13761
13761
  },
13762
- surfaces: ["computer-cli"],
13762
+ surfaces: ["computer-cli", "computer-mcp"],
13763
+ baseSurfaces: ["computer-cli"],
13763
13764
  toolset: "loop",
13764
13765
  variantDiscriminator: "mode",
13765
13766
  privilegedVariants: [
@@ -13777,7 +13778,7 @@ var ACTION_DEFINITIONS = [
13777
13778
  expectedWorkspaceGeneration: string2().min(1).nullable().describe("admin_force: the exact workspace generation; null (CLI: the value null) for a Computer with none")
13778
13779
  },
13779
13780
  omitInputs: ["runId"],
13780
- description: "Checkpoint and stop the parent for a shared write Run (deprecated by AD-306 in favor of computer_run_finish). Organization owner/admin only: mode=admin_force kills the parent's processes and releases it without saving, by exact computerSessionId and both expected generations, with acceptDataLoss and a reason; its shared Runs settle only on control's confirmed stop of that generation.",
13781
+ description: "Organization owner/admin only: mode=admin_force kills a Computer's parent processes and releases it without saving, by exact computerSessionId and both expected generations, with acceptDataLoss and a reason; its shared Runs settle only on control's confirmed stop of that generation. The deprecated save stop (no mode, CLI only) checkpoints and stops the parent for a shared write Run.",
13781
13782
  outputSchema: adminForceStopOutputSchema
13782
13783
  }
13783
13784
  ],
@@ -15609,7 +15610,7 @@ var ACTIONS = ACTION_DEFINITIONS.map((action) => {
15609
15610
  });
15610
15611
 
15611
15612
  // ../actions/src/retention-entry.ts
15612
- var ARBOR_VERSION = "0.24.18";
15613
+ var ARBOR_VERSION = "0.24.20";
15613
15614
  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");
15614
15615
  var retainSourceSchema = boolean2().optional().describe("edit: in checkpoint mode, retain this newly minted content revision's source");
15615
15616
  var checkpointSchema = boolean2().optional().describe("edit: retain the exact current version source without incrementing content version");
@@ -16493,7 +16494,7 @@ function dispositionFilename(value) {
16493
16494
  // package.json
16494
16495
  var package_default = {
16495
16496
  name: "@lambdacurry/arbor",
16496
- version: "0.24.18",
16497
+ version: "0.24.20",
16497
16498
  description: "The Arbor CLI — a shared workspace for people and agents. The human + headless-agent write path over Arbor's guarded operation surface.",
16498
16499
  keywords: [
16499
16500
  "agents",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.24.18",
3
+ "version": "0.24.20",
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",