@lambdacurry/arbor 0.24.12 → 0.24.13
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/arbor.js +11 -1
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -646,7 +646,7 @@ function dispositionFilename(value) {
|
|
|
646
646
|
// package.json
|
|
647
647
|
var package_default = {
|
|
648
648
|
name: "@lambdacurry/arbor",
|
|
649
|
-
version: "0.24.
|
|
649
|
+
version: "0.24.13",
|
|
650
650
|
description: "The Arbor CLI — a shared workspace for people and agents. The human + headless-agent write path over Arbor's guarded operation surface.",
|
|
651
651
|
keywords: [
|
|
652
652
|
"agents",
|
|
@@ -8559,6 +8559,7 @@ var computerRuns = sqliteTable("computer_runs", {
|
|
|
8559
8559
|
execution: text("isolation").$type().notNull(),
|
|
8560
8560
|
workspaceDir: text("workspace_dir").notNull(),
|
|
8561
8561
|
baseSnapshotId: text("base_snapshot_id"),
|
|
8562
|
+
sourceRunId: text("source_run_id"),
|
|
8562
8563
|
currentSnapshotId: text("current_snapshot_id"),
|
|
8563
8564
|
runtimeState: text("runtime_state").$type().notNull().default("shared"),
|
|
8564
8565
|
runtimeUpdatedAt: ts("runtime_updated_at"),
|
|
@@ -8755,6 +8756,8 @@ var computerRunStarts = sqliteTable("computer_run_starts", {
|
|
|
8755
8756
|
checkpointParentSnapshotId: text("checkpoint_parent_snapshot_id").references(() => computerSnapshots.id),
|
|
8756
8757
|
snapshotId: text("snapshot_id").references(() => computerSnapshots.id),
|
|
8757
8758
|
runId: text("run_id").references(() => computerRuns.id),
|
|
8759
|
+
sourceRunId: text("source_run_id").references(() => computerRuns.id),
|
|
8760
|
+
sourceSnapshotId: text("source_snapshot_id").references(() => computerSnapshots.id),
|
|
8758
8761
|
createdAt: ts("created_at").notNull(),
|
|
8759
8762
|
updatedAt: ts("updated_at").notNull()
|
|
8760
8763
|
}, (t) => ({
|
|
@@ -10378,6 +10381,7 @@ function buildOutputSchemas() {
|
|
|
10378
10381
|
repositories: computerRunGitStartRepositories.describe("the inherited base's repositories before any requested revision was checked out"),
|
|
10379
10382
|
materialized: looseObject({ repositories: computerRunGitStartRepositories }).optional().describe("the workspace as admitted, at each requested revision; read this, when present, for what the Run started on")
|
|
10380
10383
|
});
|
|
10384
|
+
const computerRunSource = object({ runId: id, snapshotId: id.nullable() }).optional().describe("this Run began at source.runId's durable checkpoint snapshotId");
|
|
10381
10385
|
const computerRun = looseObject({
|
|
10382
10386
|
runId: id,
|
|
10383
10387
|
computerId: id,
|
|
@@ -10389,6 +10393,7 @@ function buildOutputSchemas() {
|
|
|
10389
10393
|
execution: _enum(["shared", "isolated"]),
|
|
10390
10394
|
workspaceDir: string2(),
|
|
10391
10395
|
baseSnapshotId: id.nullable(),
|
|
10396
|
+
source: computerRunSource,
|
|
10392
10397
|
currentSnapshotId: id.nullable().optional(),
|
|
10393
10398
|
runtime: computerRunRuntime,
|
|
10394
10399
|
gitStart: computerRunGitStart.nullable().optional(),
|
|
@@ -10446,6 +10451,7 @@ function buildOutputSchemas() {
|
|
|
10446
10451
|
execution: _enum(["shared", "isolated"]),
|
|
10447
10452
|
workspace: looseObject({ dir: string2() }),
|
|
10448
10453
|
baseSnapshotId: id.nullable(),
|
|
10454
|
+
source: computerRunSource,
|
|
10449
10455
|
runtime: computerRunRuntime,
|
|
10450
10456
|
gitStart: computerRunGitStart.nullable().optional(),
|
|
10451
10457
|
durability: computerRunDurability,
|
|
@@ -11703,6 +11709,7 @@ function buildOutputSchemas() {
|
|
|
11703
11709
|
runId: id,
|
|
11704
11710
|
replayed: boolean2(),
|
|
11705
11711
|
execution: _enum(["shared", "isolated"]),
|
|
11712
|
+
source: computerRunSource,
|
|
11706
11713
|
durability: computerRunDurabilitySummary,
|
|
11707
11714
|
status: string2()
|
|
11708
11715
|
}),
|
|
@@ -12318,6 +12325,7 @@ var OUTPUT_SHAPERS = {
|
|
|
12318
12325
|
["runId", run.runId],
|
|
12319
12326
|
["replayed", result.replayed],
|
|
12320
12327
|
["execution", run.execution],
|
|
12328
|
+
["source", selected(run.source, ["runId", "snapshotId"])],
|
|
12321
12329
|
[
|
|
12322
12330
|
"durability",
|
|
12323
12331
|
defined([
|
|
@@ -13767,6 +13775,8 @@ var ACTION_DEFINITIONS = [
|
|
|
13767
13775
|
repository: string2().describe("configured GitHub repository as canonical owner/name"),
|
|
13768
13776
|
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")
|
|
13769
13777
|
})).max(32).optional().describe("optional exact repository revisions the isolated workspace must prove before caller work"),
|
|
13778
|
+
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"),
|
|
13779
|
+
sourceSnapshotId: string2().optional().describe("with sourceRunId: the exact checkpoint you expect (the source receipt's runtime.currentSnapshotId), cps_…; refused if it moved"),
|
|
13770
13780
|
idempotencyKey: string2().min(1).max(200).describe("stable key for this ONE logical Run-start request; reuse it unchanged for retries")
|
|
13771
13781
|
},
|
|
13772
13782
|
surfaces: ["computer-mcp", "computer-cli"],
|
package/package.json
CHANGED