@lambdacurry/arbor 0.17.5 → 0.17.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 +0 -149
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -17422,11 +17422,6 @@ var MCP_OUTPUT_SCHEMAS = {
|
|
|
17422
17422
|
sha256: exports_external.string()
|
|
17423
17423
|
})
|
|
17424
17424
|
}),
|
|
17425
|
-
computer_read: exports_external.looseObject({
|
|
17426
|
-
content: exports_external.string(),
|
|
17427
|
-
size: exports_external.number().optional(),
|
|
17428
|
-
encoding: exports_external.string().optional()
|
|
17429
|
-
}),
|
|
17430
17425
|
computer_export: exports_external.looseObject({
|
|
17431
17426
|
computerSessionId: id,
|
|
17432
17427
|
replayed: exports_external.boolean(),
|
|
@@ -17438,56 +17433,6 @@ var MCP_OUTPUT_SCHEMAS = {
|
|
|
17438
17433
|
path: exports_external.string().optional(),
|
|
17439
17434
|
size: exports_external.number().optional()
|
|
17440
17435
|
}),
|
|
17441
|
-
computer_clone: exports_external.looseObject({
|
|
17442
|
-
ok: exports_external.literal(true),
|
|
17443
|
-
operation: exports_external.literal("clone"),
|
|
17444
|
-
repository: exports_external.string(),
|
|
17445
|
-
dir: exports_external.string(),
|
|
17446
|
-
credential: exports_external.literal("caller"),
|
|
17447
|
-
branch: exports_external.string().optional(),
|
|
17448
|
-
head: exports_external.string().optional(),
|
|
17449
|
-
refs: exports_external.array(exports_external.string()).optional()
|
|
17450
|
-
}),
|
|
17451
|
-
computer_fetch: exports_external.looseObject({
|
|
17452
|
-
ok: exports_external.literal(true),
|
|
17453
|
-
operation: exports_external.literal("fetch"),
|
|
17454
|
-
repository: exports_external.string(),
|
|
17455
|
-
dir: exports_external.string(),
|
|
17456
|
-
credential: exports_external.enum(["caller", "arbor-managed"]),
|
|
17457
|
-
branch: exports_external.string().optional(),
|
|
17458
|
-
head: exports_external.string().optional(),
|
|
17459
|
-
fetchHead: exports_external.string().optional(),
|
|
17460
|
-
refs: exports_external.array(exports_external.string()).optional()
|
|
17461
|
-
}),
|
|
17462
|
-
computer_pull: exports_external.looseObject({
|
|
17463
|
-
ok: exports_external.literal(true),
|
|
17464
|
-
operation: exports_external.literal("pull"),
|
|
17465
|
-
repository: exports_external.string(),
|
|
17466
|
-
dir: exports_external.string(),
|
|
17467
|
-
credential: exports_external.enum(["caller", "arbor-managed"]),
|
|
17468
|
-
branch: exports_external.string().optional(),
|
|
17469
|
-
head: exports_external.string().optional(),
|
|
17470
|
-
before: exports_external.string().optional(),
|
|
17471
|
-
after: exports_external.string().optional(),
|
|
17472
|
-
fetchHead: exports_external.string().optional(),
|
|
17473
|
-
refs: exports_external.array(exports_external.string()).optional(),
|
|
17474
|
-
remoteTracking: exports_external.union([
|
|
17475
|
-
exports_external.looseObject({ updated: exports_external.literal(true), ref: exports_external.string(), head: exports_external.string() }),
|
|
17476
|
-
exports_external.looseObject({ updated: exports_external.literal(false), reason: exports_external.literal("untracked_workspace") })
|
|
17477
|
-
])
|
|
17478
|
-
}),
|
|
17479
|
-
computer_push: exports_external.looseObject({
|
|
17480
|
-
ok: exports_external.literal(true),
|
|
17481
|
-
operation: exports_external.literal("push"),
|
|
17482
|
-
repository: exports_external.string(),
|
|
17483
|
-
dir: exports_external.string(),
|
|
17484
|
-
credential: exports_external.enum(["caller", "github-user"]),
|
|
17485
|
-
branch: exports_external.string().optional(),
|
|
17486
|
-
head: exports_external.string().optional(),
|
|
17487
|
-
before: exports_external.string().optional(),
|
|
17488
|
-
after: exports_external.string().optional(),
|
|
17489
|
-
refs: exports_external.array(exports_external.string()).optional()
|
|
17490
|
-
}),
|
|
17491
17436
|
computer_checkpoint: checkpoint,
|
|
17492
17437
|
computer_publish_preview: exports_external.looseObject({
|
|
17493
17438
|
previewId: id,
|
|
@@ -17602,12 +17547,6 @@ var destructiveOpenWorld = {
|
|
|
17602
17547
|
idempotentHint: false,
|
|
17603
17548
|
openWorldHint: true
|
|
17604
17549
|
};
|
|
17605
|
-
var idempotentOpenWorld = {
|
|
17606
|
-
readOnlyHint: false,
|
|
17607
|
-
destructiveHint: false,
|
|
17608
|
-
idempotentHint: true,
|
|
17609
|
-
openWorldHint: true
|
|
17610
|
-
};
|
|
17611
17550
|
var MCP_TOOL_ANNOTATIONS = {
|
|
17612
17551
|
server_info: readOnly,
|
|
17613
17552
|
recall: readOnly,
|
|
@@ -17691,13 +17630,8 @@ var MCP_TOOL_ANNOTATIONS = {
|
|
|
17691
17630
|
code_implementations: readOnly,
|
|
17692
17631
|
code_diagnostics: readOnly,
|
|
17693
17632
|
computer_verify: openWorld,
|
|
17694
|
-
computer_read: readOnly,
|
|
17695
17633
|
computer_export: idempotent,
|
|
17696
17634
|
computer_write: destructive,
|
|
17697
|
-
computer_clone: idempotentOpenWorld,
|
|
17698
|
-
computer_fetch: idempotentOpenWorld,
|
|
17699
|
-
computer_pull: destructiveOpenWorld,
|
|
17700
|
-
computer_push: destructiveOpenWorld,
|
|
17701
17635
|
computer_checkpoint: additive,
|
|
17702
17636
|
computer_publish_preview: idempotent,
|
|
17703
17637
|
computer_publish_app_bundle: idempotent,
|
|
@@ -18215,18 +18149,6 @@ var ACTION_DEFINITIONS = [
|
|
|
18215
18149
|
toolset: "loop",
|
|
18216
18150
|
run: forward("computer_code.diagnostics")
|
|
18217
18151
|
},
|
|
18218
|
-
{
|
|
18219
|
-
name: "computer_read",
|
|
18220
|
-
title: "Read a project file",
|
|
18221
|
-
description: "Read one file from the opened computer when command output is the wrong shape. Paths must stay under /workspace.",
|
|
18222
|
-
inputSchema: {
|
|
18223
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
|
|
18224
|
-
path: exports_external.string().describe("absolute path under /workspace")
|
|
18225
|
-
},
|
|
18226
|
-
surfaces: ["computer-mcp", "computer-cli"],
|
|
18227
|
-
toolset: "loop",
|
|
18228
|
-
run: forward("computer_runtime.read")
|
|
18229
|
-
},
|
|
18230
18152
|
{
|
|
18231
18153
|
name: "computer_export",
|
|
18232
18154
|
title: "Export a Thread file",
|
|
@@ -18255,77 +18177,6 @@ var ACTION_DEFINITIONS = [
|
|
|
18255
18177
|
toolset: "loop",
|
|
18256
18178
|
run: forward("computer_runtime.write")
|
|
18257
18179
|
},
|
|
18258
|
-
{
|
|
18259
|
-
name: "computer_clone",
|
|
18260
|
-
title: "Clone an allowed repository",
|
|
18261
|
-
description: "Clone a repository named by the resolved computer recipe, supplying the working collaborator's GitHub token just in time. The token is spent only on this call and is neither returned nor persisted in the workspace.",
|
|
18262
|
-
inputSchema: {
|
|
18263
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
|
|
18264
|
-
repository: exports_external.string().describe("allowed owner/repository slug"),
|
|
18265
|
-
githubToken: exports_external.string().min(1).describe("short-lived GitHub token supplied by the caller"),
|
|
18266
|
-
githubUsername: exports_external.string().optional().describe("GitHub username; defaults to x-access-token")
|
|
18267
|
-
},
|
|
18268
|
-
surfaces: ["computer-mcp", "computer-cli"],
|
|
18269
|
-
toolset: "loop",
|
|
18270
|
-
run: forward("computer_runtime.clone")
|
|
18271
|
-
},
|
|
18272
|
-
{
|
|
18273
|
-
name: "computer_sync",
|
|
18274
|
-
title: "Sync an allowed repository",
|
|
18275
|
-
description: "Fetch, fast-forward pull, or push the checked-out branch of a cloned recipe repository. OMIT githubToken to refresh a repository named in this computer's effective recipe with Arbor's own managed credential — Arbor rechecks the repository connection and mints a request-scoped one-repository read credential server-side, so a restored computer can reach current history with no token of yours. Managed refresh covers fetch and pull; push writes to GitHub, so omit githubToken there to push as the signed-in human's GitHub identity connected in Account Settings, or supply your just-in-time collaborator token as an override. The lightweight Computer fixes the allowlisted GitHub URL, never force-pushes or deletes refs, and neither stores nor returns either credential.",
|
|
18276
|
-
inputSchema: {
|
|
18277
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
|
|
18278
|
-
repository: exports_external.string().describe("allowed owner/repository slug already cloned by computer_clone"),
|
|
18279
|
-
operation: exports_external.enum(["fetch", "pull", "push"]).describe("network operation to perform"),
|
|
18280
|
-
githubToken: exports_external.string().min(1).optional().describe("short-lived collaborator GitHub token; omit for fetch/pull to use Arbor's managed read credential, or for push to use the signed-in human's connected GitHub identity"),
|
|
18281
|
-
githubUsername: exports_external.string().optional().describe("GitHub username for a supplied githubToken; defaults to x-access-token")
|
|
18282
|
-
},
|
|
18283
|
-
surfaces: ["computer-cli"],
|
|
18284
|
-
toolset: "loop",
|
|
18285
|
-
run: forward("computer_runtime.sync")
|
|
18286
|
-
},
|
|
18287
|
-
{
|
|
18288
|
-
name: "computer_fetch",
|
|
18289
|
-
title: "Fetch an allowed repository",
|
|
18290
|
-
description: `Fetch remote refs for a cloned recipe repository without changing its checked-out branch or any remote ref. OMIT githubToken and Arbor refreshes it for you: it rechecks that the repository is in this computer's effective recipe and still connected, mints a request-scoped one-repository read credential server-side, spends it on this fetch alone, and returns credential: "arbor-managed" — this is the way a RESTORED computer, which deliberately holds no credential, catches up with the remote. Supply githubToken instead to fetch as the collaborator. Neither credential is stored or returned.`,
|
|
18291
|
-
inputSchema: {
|
|
18292
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
|
|
18293
|
-
repository: exports_external.string().describe("allowed owner/repository slug already cloned"),
|
|
18294
|
-
githubToken: exports_external.string().min(1).optional().describe("short-lived collaborator GitHub token; omit to use Arbor's managed recipe credential"),
|
|
18295
|
-
githubUsername: exports_external.string().optional().describe("GitHub username for a supplied githubToken; defaults to x-access-token")
|
|
18296
|
-
},
|
|
18297
|
-
surfaces: ["computer-mcp"],
|
|
18298
|
-
toolset: "loop",
|
|
18299
|
-
run: (ex, input) => ex.call("computer_runtime.sync", { ...input, operation: "fetch" })
|
|
18300
|
-
},
|
|
18301
|
-
{
|
|
18302
|
-
name: "computer_pull",
|
|
18303
|
-
title: "Fast-forward an allowed repository",
|
|
18304
|
-
description: "Fetch and fast-forward the checked-out branch of a cloned recipe repository; divergent history, a dirty working tree, and anything needing a merge are rejected rather than forced. A returned pull also PROVES the branch's remote-tracking ref reached the fetched tip and reports it as remoteTracking, so ordinary `git status` and `git log origin/<branch>` stay true instead of showing a level checkout as ahead; if that cannot be proven the call fails as retryable with the landed fast-forward attached, rather than reporting a truthful pull it did not verify. remoteTracking.updated is false only when the checked-out branch does not track this repository at all. OMIT githubToken and Arbor pulls with its own managed recipe credential after rechecking the repository connection — the way a restored computer reaches current history. Supply githubToken instead to pull as the collaborator. Neither credential is stored or returned.",
|
|
18305
|
-
inputSchema: {
|
|
18306
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
|
|
18307
|
-
repository: exports_external.string().describe("allowed owner/repository slug already cloned"),
|
|
18308
|
-
githubToken: exports_external.string().min(1).optional().describe("short-lived collaborator GitHub token; omit to use Arbor's managed recipe credential"),
|
|
18309
|
-
githubUsername: exports_external.string().optional().describe("GitHub username for a supplied githubToken; defaults to x-access-token")
|
|
18310
|
-
},
|
|
18311
|
-
surfaces: ["computer-mcp"],
|
|
18312
|
-
toolset: "loop",
|
|
18313
|
-
run: (ex, input) => ex.call("computer_runtime.sync", { ...input, operation: "pull" })
|
|
18314
|
-
},
|
|
18315
|
-
{
|
|
18316
|
-
name: "computer_push",
|
|
18317
|
-
title: "Push an allowed repository",
|
|
18318
|
-
description: "Push the checked-out branch to its fixed allowlisted GitHub repository without force-pushing or deleting refs. OMIT githubToken to use the signed-in human's GitHub connection from Account Settings; Arbor refreshes that GitHub App user credential server-side and never returns or persists it in the Computer. Supply githubToken only for an explicit caller credential override.",
|
|
18319
|
-
inputSchema: {
|
|
18320
|
-
computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
|
|
18321
|
-
repository: exports_external.string().describe("allowed owner/repository slug already cloned"),
|
|
18322
|
-
githubToken: exports_external.string().min(1).optional().describe("optional short-lived GitHub token override; omit to use your connected GitHub identity"),
|
|
18323
|
-
githubUsername: exports_external.string().optional().describe("GitHub username for a supplied githubToken; omit for your connected GitHub identity")
|
|
18324
|
-
},
|
|
18325
|
-
surfaces: ["computer-mcp"],
|
|
18326
|
-
toolset: "loop",
|
|
18327
|
-
run: (ex, input) => ex.call("computer_runtime.sync", { ...input, operation: "push" })
|
|
18328
|
-
},
|
|
18329
18180
|
{
|
|
18330
18181
|
name: "computer_checkpoint",
|
|
18331
18182
|
title: "Checkpoint completed work",
|
package/package.json
CHANGED