@lambdacurry/arbor 0.22.18 → 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 +25 -8
  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.18",
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]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.22.18",
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",