@lambdacurry/arbor 0.16.1 → 0.16.2

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.
Files changed (2) hide show
  1. package/dist/arbor.js +12 -4
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -17332,6 +17332,9 @@ var MCP_OUTPUT_SCHEMAS = {
17332
17332
  profile: computerProfile.nullable(),
17333
17333
  startingSnapshot: snapshot.nullable(),
17334
17334
  materialized: checkpoint.nullable(),
17335
+ workspaceRoot: exports_external.string(),
17336
+ repositories: exports_external.array(exports_external.looseObject({ repository: exports_external.string(), path: exports_external.string() })),
17337
+ defaultCwd: exports_external.string(),
17335
17338
  capabilities: computerCapabilityCard,
17336
17339
  runtime: jsonObject
17337
17340
  }),
@@ -17354,6 +17357,7 @@ var MCP_OUTPUT_SCHEMAS = {
17354
17357
  exitCode: exports_external.number().optional(),
17355
17358
  jobId: exports_external.string().optional(),
17356
17359
  status: exports_external.string().optional(),
17360
+ cwd: exports_external.string(),
17357
17361
  strict: exports_external.boolean()
17358
17362
  }),
17359
17363
  computer_status: exports_external.looseObject({
@@ -17431,7 +17435,11 @@ var MCP_OUTPUT_SCHEMAS = {
17431
17435
  before: exports_external.string().optional(),
17432
17436
  after: exports_external.string().optional(),
17433
17437
  fetchHead: exports_external.string().optional(),
17434
- refs: exports_external.array(exports_external.string()).optional()
17438
+ refs: exports_external.array(exports_external.string()).optional(),
17439
+ remoteTracking: exports_external.union([
17440
+ exports_external.looseObject({ updated: exports_external.literal(true), ref: exports_external.string(), head: exports_external.string() }),
17441
+ exports_external.looseObject({ updated: exports_external.literal(false), reason: exports_external.literal("untracked_workspace") })
17442
+ ])
17435
17443
  }),
17436
17444
  computer_push: exports_external.looseObject({
17437
17445
  ok: exports_external.literal(true),
@@ -18018,7 +18026,7 @@ var ACTION_DEFINITIONS = [
18018
18026
  {
18019
18027
  name: "computer_open",
18020
18028
  title: "Open a Thread computer",
18021
- description: "Open or resume this Thread's project environment for filesystem or command work. Every configured repository is re-authorized through its explicit GitHub connection; a fresh reusable base clones it with a request-scoped contents:read credential before strict setup runs, while a restore receives no credential. Returns computerSessionId — pass it unchanged to later Computer tools and cited work — plus the selected profile contract and a resolved capabilities card naming what this computer can do, each entry ready (usable now) or available (starts on demand).",
18029
+ description: "Open or resume this Thread's project environment for filesystem or command work. Every configured repository is re-authorized through its explicit GitHub connection; a fresh reusable base clones it with a request-scoped contents:read credential before strict setup runs, while a restore receives no credential. Returns computerSessionId — pass it unchanged to later Computer tools and cited work — plus the selected profile contract, a resolved capabilities card, workspaceRoot, each materialized repositories[].path, and defaultCwd. Omitted computer_exec.cwd uses defaultCwd: the single checkout when exactly one repository is configured, workspaceRoot otherwise.",
18022
18030
  inputSchema: {
18023
18031
  threadId: exports_external.string().describe("the Arbor Thread whose stable computer to open, thr_…"),
18024
18032
  vcpus: exports_external.number().int().min(1).max(4).optional().describe("optional container vCPU request"),
@@ -18044,7 +18052,7 @@ var ACTION_DEFINITIONS = [
18044
18052
  {
18045
18053
  name: "computer_exec",
18046
18054
  title: "Run a command",
18047
- description: "Run one bounded logical operation in an opened Thread computer, normally from /workspace. Strict Bash semantics are ON by default: an early command failure or failed pipeline makes the execution nonzero, while explicit handling such as `cmd || fallback` still works. Set strict=false only for an intentional best-effort script. Use background only for the container backend; worker-shell deliberately serializes mutations and rejects long-lived processes.",
18055
+ description: "Run one bounded logical operation in an opened Thread computer. Omitting cwd runs from the Computer's defaultCwd — the one materialized checkout when the recipe has exactly one repository, otherwise the workspace root — and the receipt echoes the cwd it ran in; pass cwd explicitly to override it. Strict Bash semantics are ON by default: an early command failure or failed pipeline makes the execution nonzero, while explicit handling such as `cmd || fallback` still works. Set strict=false only for an intentional best-effort script. Use background only for the container backend; worker-shell deliberately serializes mutations and rejects long-lived processes.",
18048
18056
  inputSchema: {
18049
18057
  computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
18050
18058
  command: exports_external.string().min(1).describe("the shell command to run"),
@@ -18231,7 +18239,7 @@ var ACTION_DEFINITIONS = [
18231
18239
  {
18232
18240
  name: "computer_pull",
18233
18241
  title: "Fast-forward an allowed repository",
18234
- 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. 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.",
18242
+ 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.",
18235
18243
  inputSchema: {
18236
18244
  computerSessionId: exports_external.string().describe("the computerSessionId returned by computer_open, cms_…"),
18237
18245
  repository: exports_external.string().describe("allowed owner/repository slug already cloned"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.16.1",
3
+ "version": "0.16.2",
4
4
  "description": "The Arbor CLI — a shared workspace for people and agents. The human + headless-agent write path over Arbor's guarded operation surface.",
5
5
  "keywords": [
6
6
  "agents",