@lambdacurry/arbor 0.21.35 → 0.21.37
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 +10 -6
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -18003,6 +18003,7 @@ var MCP_OUTPUT_SCHEMAS = {
|
|
|
18003
18003
|
}),
|
|
18004
18004
|
get_computer: exports_external.looseObject({
|
|
18005
18005
|
threadId: id,
|
|
18006
|
+
readiness: exports_external.enum(["ready", "sleeping", "decision-required"]).optional(),
|
|
18006
18007
|
config: redactedComputerRecipe,
|
|
18007
18008
|
repositoryAuthorization: exports_external.array(exports_external.looseObject({
|
|
18008
18009
|
repository: exports_external.string(),
|
|
@@ -18362,6 +18363,7 @@ var MCP_OUTPUT_SCHEMAS = {
|
|
|
18362
18363
|
}),
|
|
18363
18364
|
computer_open: exports_external.object({
|
|
18364
18365
|
computerSessionId: id,
|
|
18366
|
+
readiness: exports_external.enum(["ready", "sleeping", "decision-required"]),
|
|
18365
18367
|
profile: computerOpenProfile.nullable(),
|
|
18366
18368
|
workspaceRoot: exports_external.string(),
|
|
18367
18369
|
repositories: exports_external.array(exports_external.object({
|
|
@@ -18543,6 +18545,7 @@ var MCP_OUTPUT_SCHEMAS = {
|
|
|
18543
18545
|
computerSessionId: id,
|
|
18544
18546
|
computerId: id,
|
|
18545
18547
|
status: exports_external.enum(["running", "dormant"]),
|
|
18548
|
+
readiness: exports_external.enum(["ready", "sleeping", "decision-required"]).optional(),
|
|
18546
18549
|
backend: exports_external.enum(["worker-shell", "container"]),
|
|
18547
18550
|
profile: computerProfile.nullable(),
|
|
18548
18551
|
capabilities: computerCapabilityCard,
|
|
@@ -18763,6 +18766,7 @@ var OUTPUT_SHAPERS = {
|
|
|
18763
18766
|
]);
|
|
18764
18767
|
return defined([
|
|
18765
18768
|
["computerSessionId", result.computerSessionId],
|
|
18769
|
+
["readiness", result.readiness],
|
|
18766
18770
|
[
|
|
18767
18771
|
"profile",
|
|
18768
18772
|
result.profile === null ? null : profile3 ? defined([
|
|
@@ -19077,7 +19081,7 @@ ${ARBOR_FEEDBACK_GUIDANCE}
|
|
|
19077
19081
|
|
|
19078
19082
|
1. ORIENT, CONFIGURE, AND AUTHORIZE. Start with get_computer(threadId) to inspect the effective inherited recipe, repository authorization, compatibility, and durable lineage. Use set_organization_computer, set_space_computer, set_topic_computer, or set_thread_computer only when the corresponding complete sparse layer must be replaced; use github_repositories then github_connect_repository to authorize repositories at the narrowest scope that should inherit them. If github_repositories looks stale, github_refresh_installation reconciles the cached inventory from GitHub. attach_computer mints durable protocol identity without starting a runtime; computer_open attaches as needed and starts or resumes the project environment. Each returned repository entry includes verified root instruction pointers when that repo has an AGENTS.md: read surfaced repository instructions before substantial edits or verification, then check for a nearer nested AGENTS.md once the target path is known. Repo-local instructions/scripts/config beat guessed formatter, test, lint, or build commands.
|
|
19079
19083
|
2. READ THE CAPABILITIES CARD, NOT THE BACKEND. computer_open and computer_status describe the live PARENT Thread Computer and return the exact computerSessionId for parent filesystem, command, checkpoint, Preview, bundle, and stop operations. computer_status does not establish isolated Run activity; use computer_run_receipt(runId) and computer_process_read for Run-owned work. Command-line utilities, including Git and package managers, run through computer_exec; check unfamiliar binaries with command -v.
|
|
19080
|
-
3. ONE RUN PER TASK. A write Run defaults to an isolated execution environment with its own filesystem, processes, ports, and /tmp while preserving /workspace paths; a read Run shares the parent. Pass runId to Run-aware tools. If a response is lost, recover the durable operation/process identity from computer_run_receipt and read it before retrying.
|
|
19084
|
+
3. ONE RUN PER TASK. A write Run defaults to an isolated execution environment with its own filesystem, processes, ports, and /tmp while preserving /workspace paths; a read Run shares the parent. Pass runId to Run-aware tools. If a response is lost, recover the durable operation/process identity from computer_run_receipt and read it before retrying. computer_process_read and computer_process_terminate settle a provider-absent current-generation process from exact evidence; computer_run_suspend performs that bounded settlement internally and never replays unknown work. A still-active process returns a retryable busy state; an unknown current-generation mutation fail-closes. An isolated local commit or Preview is not Git publication; push coherent work and prove it with computer_repo_work_status before computer_run_finish destroys the final placement. discard=true with outcome failed or cancelled is the explicit choice to abandon unknown or proven non-durable work without replaying it.
|
|
19081
19085
|
4. CHECKPOINT COMPLETE PARENT UNITS. computer_checkpoint advances immutable parent lineage after an intermediate complete unit; computer_stop performs the final checkpoint before teardown. An isolated Run Preview is durable review output, not adoption or a checkpoint. The internal provider-handle publication operations are not agent tools.
|
|
19082
19086
|
5. GIT AND GITHUB ARE ORDINARY COMMANDS AFTER AUTHORIZATION. Clone, fetch, pull, push, and gh run through computer_exec using a connected human's just-in-time ambient GitHub identity. Credentials never enter argv, workspace files, Git config, checkpoints, Events, logs, or receipts. A restored Computer deliberately keeps the checkout age of its snapshot, so fetch/pull before trusting remote state.
|
|
19083
19087
|
6. VERIFY, PREVIEW, AND EXPORT. computer_verify captures a public URL directly without opening a project runtime. computer_publish_preview preserves immutable static output from either the parent or an active isolated write Run. computer_export moves bounded files into durable Thread Attachments; for a computer:// file Artifact asleep face, export the exact locator path .tldr and a same-Thread PNG, then use artifact set_snapshot. computer_export itself does not call set_snapshot; place returned Markdown exactly where the media belongs and cite the matching attachment ids.
|
|
@@ -19732,7 +19736,7 @@ var ACTION_DEFINITIONS = [
|
|
|
19732
19736
|
{
|
|
19733
19737
|
name: "computer_open",
|
|
19734
19738
|
title: "Open a Thread computer",
|
|
19735
|
-
description: "Open a usable Thread workspace with verified root repository instruction pointers; omit the key to retry the same logical open
|
|
19739
|
+
description: "Open a usable Thread workspace with verified root repository instruction pointers; omit the key to retry the same logical open, with unsafe recovery refused. A successful open means the first allowed exec can proceed: Compatible execution is selected internally, additive authorized repository drift auto-reconciles, and unresolved newer workspace state stays fail-closed.",
|
|
19736
19740
|
inputSchema: {
|
|
19737
19741
|
threadId: exports_external.string().describe("the Arbor Thread whose stable computer to open, thr_…"),
|
|
19738
19742
|
idempotencyKey: exports_external.string().trim().min(1).max(200).optional().describe("optional explicit key for ONE distinct logical open; omission reuses the durable profile/Thread/recipe identity; changed options require a distinct intent; retry unchanged after response loss and never mint a new key to bypass unresolved work"),
|
|
@@ -19774,7 +19778,7 @@ var ACTION_DEFINITIONS = [
|
|
|
19774
19778
|
{
|
|
19775
19779
|
name: "computer_run_suspend",
|
|
19776
19780
|
title: "Suspend a run",
|
|
19777
|
-
description: "Checkpoint an active isolated WRITE Run's exact workspace, publish that
|
|
19781
|
+
description: "Checkpoint an active isolated WRITE Run's exact workspace, publish that restore point, and release its Sandbox during an external wait; the same runId resumes on the next operation. Performs bounded process read/terminate/settlement internally: suspends when settled, returns retryable busy if a process is active, or fail-closes on unknown mutation and never replays unknown work.",
|
|
19778
19782
|
inputSchema: {
|
|
19779
19783
|
runId: exports_external.string().describe("the active isolated WRITE Run to suspend, run_…")
|
|
19780
19784
|
},
|
|
@@ -19853,7 +19857,7 @@ var ACTION_DEFINITIONS = [
|
|
|
19853
19857
|
{
|
|
19854
19858
|
name: "computer_process_read",
|
|
19855
19859
|
title: "Read a background process",
|
|
19856
|
-
description: "Read one exact provider-owned process from computer_exec, including a
|
|
19860
|
+
description: "Read one exact provider-owned process from computer_exec, including a recovered Run-receipt foreground operation, and use nextCursor for incremental output. Returns processId plus activity, terminal or not-routed proof; Arbor settles the durable operation when that process is already absent, and a lost session after open retries computer_open.",
|
|
19857
19861
|
inputSchema: {
|
|
19858
19862
|
computerSessionId: exports_external.string().optional().describe("the computerSessionId returned by computer_open, cms_…; required unless runId is supplied"),
|
|
19859
19863
|
runId: exports_external.string().optional().describe("the Run that owns this process, if it was started inside a Run"),
|
|
@@ -19868,7 +19872,7 @@ var ACTION_DEFINITIONS = [
|
|
|
19868
19872
|
{
|
|
19869
19873
|
name: "computer_process_terminate",
|
|
19870
19874
|
title: "Terminate a background process",
|
|
19871
|
-
description: "Terminate a background process started by computer_exec when it should no longer run
|
|
19875
|
+
description: "Terminate a background process started by computer_exec when it should no longer run, stopping the provider-owned process tree without shell PIDs or ps/kill. Repeating terminate for an already-absent or already-complete process is a no-op that settles that exact durable operation from the available evidence.",
|
|
19872
19876
|
inputSchema: {
|
|
19873
19877
|
computerSessionId: exports_external.string().optional().describe("the computerSessionId returned by computer_open, cms_…; required unless runId is supplied"),
|
|
19874
19878
|
runId: exports_external.string().optional().describe("the Run that owns this process, if it was started inside a Run"),
|
|
@@ -20030,7 +20034,7 @@ var ACTION_DEFINITIONS = [
|
|
|
20030
20034
|
{
|
|
20031
20035
|
name: "computer_publish_app_bundle",
|
|
20032
20036
|
title: "Publish an immutable AppBundle",
|
|
20033
|
-
description: "Publish a content-addressed AppBundle from the live parent Computer after a green build when an ArtifactVersion is ready for app deployment. Verifies entry bytes against the ArtifactVersion, captures source/Git provenance and static assets, and returns bundleId; isolated Runs are not accepted.",
|
|
20037
|
+
description: "Publish a content-addressed AppBundle from the live parent Computer after a green build when an ArtifactVersion is ready for app deployment; Arbor selects or acquires compatible bun-typescript-v1 execution internally. Verifies entry bytes against the ArtifactVersion, captures source/Git provenance and static assets, and returns bundleId; isolated Runs are not accepted.",
|
|
20034
20038
|
inputSchema: {
|
|
20035
20039
|
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
|
|
20036
20040
|
artifactVersionId: exports_external.string().describe("the source ArtifactVersion, artv_…"),
|
package/package.json
CHANGED