@lambdacurry/arbor 0.20.3 → 0.20.5
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 +23 -5
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -1683,6 +1683,7 @@ var computerRuns = sqliteTable("computer_runs", {
|
|
|
1683
1683
|
workspaceDir: text("workspace_dir").notNull(),
|
|
1684
1684
|
_legacyWorkspaceRef: text("workspace_ref"),
|
|
1685
1685
|
baseSnapshotId: text("base_snapshot_id"),
|
|
1686
|
+
gitStart: text("git_start", { mode: "json" }).$type(),
|
|
1686
1687
|
status: text("status").$type().notNull().default("active"),
|
|
1687
1688
|
label: text("label"),
|
|
1688
1689
|
reason: text("reason"),
|
|
@@ -16763,6 +16764,19 @@ var computerProfile = exports_external.looseObject({
|
|
|
16763
16764
|
tools: exports_external.array(exports_external.string()),
|
|
16764
16765
|
recommendedEditingPrimitive: exports_external.string()
|
|
16765
16766
|
});
|
|
16767
|
+
var computerRunGitStart = exports_external.looseObject({
|
|
16768
|
+
repositories: exports_external.array(exports_external.looseObject({
|
|
16769
|
+
repository: exports_external.string(),
|
|
16770
|
+
path: exports_external.string(),
|
|
16771
|
+
git: exports_external.looseObject({
|
|
16772
|
+
head: exports_external.string().nullable(),
|
|
16773
|
+
branch: exports_external.string().nullable(),
|
|
16774
|
+
upstream: exports_external.string().nullable(),
|
|
16775
|
+
dirty: exports_external.boolean(),
|
|
16776
|
+
remote: exports_external.looseObject({ name: exports_external.string(), repository: exports_external.string().nullable() }).nullable()
|
|
16777
|
+
}).nullable()
|
|
16778
|
+
}))
|
|
16779
|
+
});
|
|
16766
16780
|
var computerRun = exports_external.looseObject({
|
|
16767
16781
|
runId: id,
|
|
16768
16782
|
computerId: id,
|
|
@@ -16774,6 +16788,7 @@ var computerRun = exports_external.looseObject({
|
|
|
16774
16788
|
execution: exports_external.enum(["shared", "isolated"]),
|
|
16775
16789
|
workspaceDir: exports_external.string(),
|
|
16776
16790
|
baseSnapshotId: id.nullable(),
|
|
16791
|
+
gitStart: computerRunGitStart.nullable().optional(),
|
|
16777
16792
|
status: exports_external.enum(["active", "finished", "failed", "cancelled"]),
|
|
16778
16793
|
label: exports_external.string().nullable(),
|
|
16779
16794
|
reason: exports_external.string().nullable(),
|
|
@@ -16791,6 +16806,7 @@ var computerRunReceipt = exports_external.looseObject({
|
|
|
16791
16806
|
execution: exports_external.enum(["shared", "isolated"]),
|
|
16792
16807
|
workspace: exports_external.looseObject({ dir: exports_external.string() }),
|
|
16793
16808
|
baseSnapshotId: id.nullable(),
|
|
16809
|
+
gitStart: computerRunGitStart.nullable().optional(),
|
|
16794
16810
|
status: exports_external.enum(["active", "finished", "failed", "cancelled"]),
|
|
16795
16811
|
outcome: exports_external.enum(["finished", "failed", "cancelled"]).nullable(),
|
|
16796
16812
|
reason: exports_external.string().nullable(),
|
|
@@ -17404,6 +17420,7 @@ var MCP_OUTPUT_SCHEMAS = {
|
|
|
17404
17420
|
runId: id,
|
|
17405
17421
|
execution: exports_external.enum(["shared", "isolated"]),
|
|
17406
17422
|
baseSnapshotId: id.nullable(),
|
|
17423
|
+
gitStart: computerRunGitStart.nullable().optional(),
|
|
17407
17424
|
status: exports_external.string()
|
|
17408
17425
|
}),
|
|
17409
17426
|
computer_run_finish: exports_external.looseObject({
|
|
@@ -17610,6 +17627,7 @@ var OUTPUT_SHAPERS = {
|
|
|
17610
17627
|
["runId", run.runId],
|
|
17611
17628
|
["execution", run.execution],
|
|
17612
17629
|
["baseSnapshotId", run.baseSnapshotId],
|
|
17630
|
+
["gitStart", run.gitStart],
|
|
17613
17631
|
["status", run.status]
|
|
17614
17632
|
]);
|
|
17615
17633
|
},
|
|
@@ -18237,7 +18255,7 @@ var ACTION_DEFINITIONS = [
|
|
|
18237
18255
|
title: "Run a command",
|
|
18238
18256
|
description: "Run one bounded logical operation in an opened Thread computer. Omitting cwd uses the environment's defaultCwd; pass cwd explicitly to override it. Pass runId to route the command according to that Run's execution placement; without runId the command executes in the parent Computer. Strict Bash semantics are ON by default. For tests, builds, installs, or any command likely to run long, prefer background=true so the call returns a processId immediately; follow it with computer_process_read using the returned cursor for small incremental tails. For a connected human, Arbor supplies ambient GitHub authorization and Git identity ephemerally without writing credentials into the workspace. Background processes stay in the environment where they were started.",
|
|
18239
18257
|
inputSchema: {
|
|
18240
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_
|
|
18258
|
+
computerSessionId: exports_external.string().optional().describe("the computerSessionId returned by computer_open, cms_…; required unless runId is supplied"),
|
|
18241
18259
|
command: exports_external.string().min(1).describe("the shell command to run"),
|
|
18242
18260
|
runId: exports_external.string().optional().describe("route this command according to this Run execution placement, run_… (from computer_run_start)"),
|
|
18243
18261
|
cwd: exports_external.string().optional().describe("working directory under /workspace, or under the run"),
|
|
@@ -18254,7 +18272,7 @@ var ACTION_DEFINITIONS = [
|
|
|
18254
18272
|
title: "Read a background process",
|
|
18255
18273
|
description: "READ ONLY: Tail one process returned by computer_exec(background=true). With no cursor, returns only the latest small output window; pass nextCursor on the next read to receive only newer output. Defaults to 4 KB total and allows an explicit larger read up to 64 KB. Once terminal, also returns the final exit result.",
|
|
18256
18274
|
inputSchema: {
|
|
18257
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_
|
|
18275
|
+
computerSessionId: exports_external.string().optional().describe("the computerSessionId returned by computer_open, cms_…; required unless runId is supplied"),
|
|
18258
18276
|
runId: exports_external.string().optional().describe("the Run that owns this process, if it was started inside a Run"),
|
|
18259
18277
|
processId: exports_external.string().min(1).describe("the opaque processId returned by computer_exec(background=true), proc_…"),
|
|
18260
18278
|
cursor: exports_external.string().optional().describe("continue after nextCursor from the prior process read; omit for a small latest tail"),
|
|
@@ -18269,7 +18287,7 @@ var ACTION_DEFINITIONS = [
|
|
|
18269
18287
|
title: "Terminate a background process",
|
|
18270
18288
|
description: "Terminate one process returned by computer_exec(background=true), including its provider-owned process tree. Returns the observed terminal state so ChatGPT can stop long verification explicitly without shell PIDs or ps/kill workarounds.",
|
|
18271
18289
|
inputSchema: {
|
|
18272
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_
|
|
18290
|
+
computerSessionId: exports_external.string().optional().describe("the computerSessionId returned by computer_open, cms_…; required unless runId is supplied"),
|
|
18273
18291
|
runId: exports_external.string().optional().describe("the Run that owns this process, if it was started inside a Run"),
|
|
18274
18292
|
processId: exports_external.string().min(1).describe("the opaque processId returned by computer_exec(background=true), proc_…")
|
|
18275
18293
|
},
|
|
@@ -18375,7 +18393,7 @@ var ACTION_DEFINITIONS = [
|
|
|
18375
18393
|
title: "Export a Thread file",
|
|
18376
18394
|
description: "Move one bounded image, MP4/WebM video, or supported file from an opened Computer or Run into a durable Thread Attachment. Pass runId to export the exact files visible to that Run execution placement. Describe what it shows so the returned attachments[].markdown has meaningful image alt text or a video/file label; put that Markdown where the media belongs and bind those ids when contributing or responding. Supply one stable idempotencyKey per logical export: safe retries return the original Attachment, while reusing the key for another path or description conflicts.",
|
|
18377
18395
|
inputSchema: {
|
|
18378
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_
|
|
18396
|
+
computerSessionId: exports_external.string().optional().describe("the computerSessionId returned by computer_open, cms_…; required unless runId is supplied"),
|
|
18379
18397
|
runId: exports_external.string().optional().describe("route this export according to this Run execution placement, run_…"),
|
|
18380
18398
|
path: exports_external.string().describe("absolute path to one supported file under /workspace"),
|
|
18381
18399
|
description: exports_external.string().min(1).max(500).describe("concise description of what the file shows or contains; becomes image alt text, a video caption, and the Artifact summary"),
|
|
@@ -18390,7 +18408,7 @@ var ACTION_DEFINITIONS = [
|
|
|
18390
18408
|
title: "Write a project file",
|
|
18391
18409
|
description: "Write one file under /workspace. Content is UTF-8 by default; pass encoding=base64 only for binary bytes. Pass runId to route the write according to that Run: isolated Runs target their Sandbox, shared Runs target the live parent Computer. Without runId the write targets the parent Computer. Prefer normal editing tools for code changes; reach for this when the MCP/CLI computer surface is the only filesystem path.",
|
|
18392
18410
|
inputSchema: {
|
|
18393
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_
|
|
18411
|
+
computerSessionId: exports_external.string().optional().describe("the computerSessionId returned by computer_open, cms_…; required unless runId is supplied"),
|
|
18394
18412
|
path: exports_external.string().describe("absolute path under /workspace, or a path inside the run"),
|
|
18395
18413
|
runId: exports_external.string().optional().describe("route this write according to this Run execution placement, run_… (from computer_run_start)"),
|
|
18396
18414
|
content: exports_external.string().describe("complete UTF-8 content, or base64 bytes when encoding=base64"),
|
package/package.json
CHANGED