@lambdacurry/arbor 0.20.5 → 0.20.6
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 +16 -2
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -2200,6 +2200,8 @@ var watches = sqliteTable("watches", {
|
|
|
2200
2200
|
}));
|
|
2201
2201
|
// ../core/src/ops/computer-run.ts
|
|
2202
2202
|
var TERMINAL = new Set(["finished", "failed", "cancelled"]);
|
|
2203
|
+
var RUN_LIFECYCLE_TYPES = new Set(["run.started", "run.finished", "run.failed", "run.cancelled"]);
|
|
2204
|
+
var COMPUTER_RUN_ACTIVITY_LABEL_MAX = 120;
|
|
2203
2205
|
|
|
2204
2206
|
// ../core/src/ops/computer.ts
|
|
2205
2207
|
var MAX_COMPUTER_REPOSITORIES = 10;
|
|
@@ -16800,7 +16802,11 @@ var computerRunReceipt = exports_external.looseObject({
|
|
|
16800
16802
|
threadId: id,
|
|
16801
16803
|
computerId: id,
|
|
16802
16804
|
computerSessionId: id,
|
|
16803
|
-
actor: exports_external.looseObject({
|
|
16805
|
+
actor: exports_external.looseObject({
|
|
16806
|
+
profileId: id,
|
|
16807
|
+
executionContextId: id,
|
|
16808
|
+
displayName: exports_external.string().nullable()
|
|
16809
|
+
}),
|
|
16804
16810
|
label: exports_external.string().nullable(),
|
|
16805
16811
|
mode: exports_external.enum(["read", "write"]),
|
|
16806
16812
|
execution: exports_external.enum(["shared", "isolated"]),
|
|
@@ -16813,6 +16819,13 @@ var computerRunReceipt = exports_external.looseObject({
|
|
|
16813
16819
|
startedAt: exports_external.string(),
|
|
16814
16820
|
endedAt: exports_external.string().nullable(),
|
|
16815
16821
|
durationMs: exports_external.number().nullable(),
|
|
16822
|
+
activity: exports_external.array(exports_external.looseObject({
|
|
16823
|
+
type: exports_external.string(),
|
|
16824
|
+
at: exports_external.string(),
|
|
16825
|
+
label: exports_external.string().optional(),
|
|
16826
|
+
detail: exports_external.string().optional(),
|
|
16827
|
+
targetId: exports_external.string().optional()
|
|
16828
|
+
})),
|
|
16816
16829
|
lifecycle: exports_external.array(exports_external.looseObject({ type: exports_external.string(), at: exports_external.string() }))
|
|
16817
16830
|
});
|
|
16818
16831
|
var computerCapabilityCard = exports_external.looseObject({
|
|
@@ -18229,7 +18242,7 @@ var ACTION_DEFINITIONS = [
|
|
|
18229
18242
|
{
|
|
18230
18243
|
name: "computer_run_receipt",
|
|
18231
18244
|
title: "Read a run receipt",
|
|
18232
|
-
description: "READ ONLY: read one run's compact receipt — its purpose, actor, computer session,
|
|
18245
|
+
description: "READ ONLY: read one run's compact receipt — its purpose, actor, computer session, base snapshot and starting Git projection, execution placement, meaningful activity, and terminal outcome. Background work may appear as distilled labels/outcomes, but Arbor keeps no raw command transcript or process output. The receipt stays readable after the Run is terminal.",
|
|
18233
18246
|
inputSchema: {
|
|
18234
18247
|
runId: exports_external.string().describe("the run to read, run_… (from computer_run_start or computer_runs)")
|
|
18235
18248
|
},
|
|
@@ -18261,6 +18274,7 @@ var ACTION_DEFINITIONS = [
|
|
|
18261
18274
|
cwd: exports_external.string().optional().describe("working directory under /workspace, or under the run"),
|
|
18262
18275
|
timeout: exports_external.number().int().min(1000).max(1800000).optional().describe("timeout in milliseconds, from 1,000 through 1,800,000"),
|
|
18263
18276
|
background: exports_external.boolean().optional().describe("start a container process and return its pid"),
|
|
18277
|
+
activityLabel: exports_external.string().min(1).max(COMPUTER_RUN_ACTIVITY_LABEL_MAX).optional().describe("short human-readable label for run-scoped background work; Arbor records this label instead of the raw command or output"),
|
|
18264
18278
|
strict: exports_external.boolean().optional().describe("fail on the first unhandled command or pipeline failure; defaults to true, set false only for intentional best-effort execution")
|
|
18265
18279
|
},
|
|
18266
18280
|
surfaces: ["computer-mcp", "computer-cli"],
|
package/package.json
CHANGED