@lambdacurry/arbor 0.21.31 → 0.21.33
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 -6
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -17133,9 +17133,8 @@ var COMPUTER_WORKSPACE_RECOVERY_HEALTH_DEADLINE_MS = 2 * 60 * 1000;
|
|
|
17133
17133
|
var COMPUTER_WORKSPACE_RECOVERY_HEADROOM_MS = 2 * 60 * 1000;
|
|
17134
17134
|
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;
|
|
17135
17135
|
|
|
17136
|
-
// ../core/src/queries/artifact.ts
|
|
17136
|
+
// ../core/src/queries/artifact-base.ts
|
|
17137
17137
|
var eventChronology = sql`_rowid_`;
|
|
17138
|
-
|
|
17139
17138
|
// ../core/src/ops/request.ts
|
|
17140
17139
|
var REQUEST_TTL_MS = 14 * 24 * 60 * 60 * 1000;
|
|
17141
17140
|
|
|
@@ -19716,10 +19715,10 @@ var ACTION_DEFINITIONS = [
|
|
|
19716
19715
|
{
|
|
19717
19716
|
name: "computer_open",
|
|
19718
19717
|
title: "Open a Thread computer",
|
|
19719
|
-
description: "Open a Thread
|
|
19718
|
+
description: "Open a usable Thread workspace with verified root repository instruction pointers; omit the key to retry the same logical open for your profile/Thread/recipe, with unsafe recovery refused. Forward profile-revision or additive authorized repository drift auto-reconciles; removal, setup, backend/provider/profile changes require computer_reprovision.",
|
|
19720
19719
|
inputSchema: {
|
|
19721
19720
|
threadId: exports_external.string().describe("the Arbor Thread whose stable computer to open, thr_…"),
|
|
19722
|
-
idempotencyKey: exports_external.string().min(1).max(200).describe("
|
|
19721
|
+
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"),
|
|
19723
19722
|
vcpus: exports_external.number().int().min(1).max(4).optional().describe("optional container vCPU request"),
|
|
19724
19723
|
label: exports_external.string().optional().describe("short runtime label for operator diagnostics")
|
|
19725
19724
|
},
|
|
@@ -21611,7 +21610,7 @@ function retentionAction(action) {
|
|
|
21611
21610
|
if (action.name === "edit_artifact") {
|
|
21612
21611
|
return {
|
|
21613
21612
|
...action,
|
|
21614
|
-
description: "Edit a text Artifact from the baseVersion you read, or change its future historyPolicy/checkpoint the exact current source without minting a content version.
|
|
21613
|
+
description: "Edit a text Artifact from the baseVersion you read, or change its future historyPolicy/checkpoint the exact current source without minting a content version. Content edits return the exact artifactVersionId; byte-identical results are idempotent no-ops that reuse the current version identity, while stale divergent edits remain structured conflicts.",
|
|
21615
21614
|
inputSchema: {
|
|
21616
21615
|
...action.inputSchema,
|
|
21617
21616
|
historyPolicy: historyPolicySchema,
|
|
@@ -21621,10 +21620,16 @@ function retentionAction(action) {
|
|
|
21621
21620
|
run: (ex, input) => ex.call("artifact.edit", artifactEditInput(input))
|
|
21622
21621
|
};
|
|
21623
21622
|
}
|
|
21623
|
+
if (action.name === "artifact_get") {
|
|
21624
|
+
return {
|
|
21625
|
+
...action,
|
|
21626
|
+
description: "Read one Artifact. Text responses project artifactVersionId for the exact version represented by the response, including --version historical reads, so the returned artv_ can be passed directly to computer_publish_app_bundle."
|
|
21627
|
+
};
|
|
21628
|
+
}
|
|
21624
21629
|
if (action.name === "artifact") {
|
|
21625
21630
|
return {
|
|
21626
21631
|
...action,
|
|
21627
|
-
description: "Create or edit a durable versioned Artifact
|
|
21632
|
+
description: "Create or edit a durable versioned Artifact with bounded full|checkpoint retention, or manage its Live Preview/snapshot/attachment surface. Content edits return artifactVersionId; byte-identical edits reuse the current version, while policy changes and checkpoints preserve the content version.",
|
|
21628
21633
|
inputSchema: {
|
|
21629
21634
|
...action.inputSchema,
|
|
21630
21635
|
historyPolicy: historyPolicySchema,
|
package/package.json
CHANGED