@lambdacurry/arbor 0.22.17 → 0.22.19

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 +27 -12
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // package.json
3
3
  var package_default = {
4
4
  name: "@lambdacurry/arbor",
5
- version: "0.22.17",
5
+ version: "0.22.19",
6
6
  description: "The Arbor CLI — a shared workspace for people and agents. The human + headless-agent write path over Arbor's guarded operation surface.",
7
7
  keywords: [
8
8
  "agents",
@@ -8855,16 +8855,15 @@ var MCP_OUTPUT_SCHEMAS = {
8855
8855
  serializedByteLimit: number2().int().positive()
8856
8856
  })
8857
8857
  }),
8858
- image: looseObject({
8859
- attachmentId: id.optional(),
8860
- downloadUrl: string2().optional(),
8858
+ image: object({
8859
+ attachmentId: id,
8860
+ downloadUrl: string2(),
8861
8861
  mimeType: literal("image/png"),
8862
8862
  width: number2().int().positive(),
8863
8863
  height: number2().int().positive(),
8864
- size: number2().int().nonnegative().optional(),
8865
- sha256: string2().optional(),
8866
- data: string2().optional()
8867
- })
8864
+ size: number2().int().positive(),
8865
+ sha256: string2()
8866
+ }).strict()
8868
8867
  }),
8869
8868
  tldraw_exec: looseObject({
8870
8869
  executionId: id,
@@ -9574,6 +9573,24 @@ var OUTPUT_SHAPERS = {
9574
9573
  ["status", result.status],
9575
9574
  ["terminated", result.terminated]
9576
9575
  ]),
9576
+ tldraw_observe: (result) => defined([
9577
+ ["artifactId", result.artifactId],
9578
+ ["documentClock", result.documentClock],
9579
+ ["documentDigest", result.documentDigest],
9580
+ ["scene", result.scene],
9581
+ [
9582
+ "image",
9583
+ selected(result.image, [
9584
+ "attachmentId",
9585
+ "downloadUrl",
9586
+ "mimeType",
9587
+ "width",
9588
+ "height",
9589
+ "size",
9590
+ "sha256"
9591
+ ])
9592
+ ]
9593
+ ]),
9577
9594
  computer_write: (result) => defined([
9578
9595
  ["ok", result.ok],
9579
9596
  ["size", result.size]
@@ -12074,7 +12091,7 @@ var ACTION_DEFINITIONS = [
12074
12091
  {
12075
12092
  name: "tldraw_checkpoint",
12076
12093
  title: "Checkpoint a tldraw board",
12077
- description: "Persist a current tldraw room snapshot as the next immutable Artifact version with compare-and-swap clocks. Repeating the same idempotencyKey returns the existing checkpoint receipt.",
12094
+ description: "Declare the current verified tldraw room as a meaningful immutable Artifact milestone. If the same full document is already persisted this may be a no-op; repeating the same idempotencyKey returns the existing checkpoint receipt.",
12078
12095
  inputSchema: {
12079
12096
  artifactId: string2().describe("the tldraw Artifact, art_…"),
12080
12097
  idempotencyKey: string2().min(1).max(200).describe("stable key for this checkpoint"),
@@ -12142,9 +12159,7 @@ var ACTION_DEFINITIONS = [
12142
12159
  artifactId: string2().describe("the tldraw Artifact, art_…"),
12143
12160
  code: string2().min(1).max(1e5).optional().describe("advanced script source; mutually exclusive with operations"),
12144
12161
  operations: TLDRAW_EXEC_OPERATIONS_SCHEMA.optional(),
12145
- idempotencyKey: string2().min(1).max(200).describe("stable key for this execution"),
12146
- expectedDocumentClock: number2().int().min(0).optional().describe("opt-in coarse CAS over the whole durable tldraw document; omit for ordinary multiplayer edits"),
12147
- boundedSettleMs: number2().int().min(400).max(3000).optional().describe("maximum settle time")
12162
+ idempotencyKey: string2().min(1).max(200).describe("stable label for this intended edit; reuse only when retrying the same logical execution")
12148
12163
  },
12149
12164
  surfaces: ["mcp", "cli"],
12150
12165
  toolset: "artifacts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.22.17",
3
+ "version": "0.22.19",
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",