@lambdacurry/arbor 0.23.15 → 0.23.17

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 +9 -5
  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.23.15",
5
+ version: "0.23.17",
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",
@@ -8229,7 +8229,8 @@ var tldrawLatestPreview = object({
8229
8229
  width: number2().int().positive(),
8230
8230
  height: number2().int().positive(),
8231
8231
  size: number2().int().positive()
8232
- }).strict().optional()
8232
+ }).strict().optional(),
8233
+ renderInProgress: object({ leaseExpiresAt: timestamp }).strict().optional()
8233
8234
  });
8234
8235
  var artifactLivePreviewThread = looseObject({
8235
8236
  id,
@@ -10541,7 +10542,10 @@ ${orientation}
10541
10542
  var TLDRAW_EXEC_MAX_OPERATIONS = 100;
10542
10543
  var TLDRAW_DIAGRAM_MAX_NODES = 64;
10543
10544
  var TLDRAW_DIAGRAM_MAX_EDGES = 96;
10544
- var shapeId = string2().regex(/^shape:[A-Za-z0-9_-]{1,128}$/).describe("stable tldraw shape id, shape:…");
10545
+ var TLDRAW_SHAPE_ID_PREFIX = "shape:";
10546
+ var TLDRAW_SHAPE_ID_MAX_SUFFIX_LENGTH = 128;
10547
+ var TLDRAW_SHAPE_ID_SCHEMA = string2().startsWith(TLDRAW_SHAPE_ID_PREFIX).min(TLDRAW_SHAPE_ID_PREFIX.length + 1).max(TLDRAW_SHAPE_ID_PREFIX.length + TLDRAW_SHAPE_ID_MAX_SUFFIX_LENGTH);
10548
+ var shapeId = TLDRAW_SHAPE_ID_SCHEMA.describe("stable tldraw shape id, shape:…");
10545
10549
  var shapeType = _enum(["geo", "text", "note", "frame", "arrow", "line", "draw", "group"]).describe("built-in tldraw shape type; use code mode for custom or asset-backed shapes");
10546
10550
  var finite = number2().finite();
10547
10551
  var jsonRecord = record(string2(), unknown());
@@ -13114,11 +13118,11 @@ var ACTION_DEFINITIONS = [
13114
13118
  {
13115
13119
  name: "tldraw_observe",
13116
13120
  title: "Observe a tldraw board",
13117
- description: `Read a fresh bounded tldraw scene, optionally narrowed by exact shape ids and/or a page-coordinate region, with lint, document clock/digest, and latest-preview freshness; preview defaults to metadata-only, while preview=ensure reuses or renders the canonical latest PNG, and lint remains advisory rather than ownership/intent evidence. First use: read the tldraw guide at ${AGENT_GUIDE_URLS.tldraw}.`,
13121
+ description: `Read a fresh bounded tldraw scene, optionally narrowed by exact shape ids and/or a page-coordinate region, with lint, document clock/digest, and latest-preview freshness; preview defaults to metadata-only, while preview=ensure reuses or renders the canonical latest PNG (renderInProgress: another render holds it; ensure again shortly), and lint remains advisory rather than ownership/intent evidence. First use: read the tldraw guide at ${AGENT_GUIDE_URLS.tldraw}.`,
13118
13122
  inputSchema: {
13119
13123
  artifactId: string2().describe("the tldraw Artifact, art_…"),
13120
13124
  pageId: string2().min(1).max(200).optional().describe("optional page to observe"),
13121
- ids: array(string2().min(7).max(134).refine((id) => id.startsWith("shape:"), "must be a native shape id")).min(1).max(100).refine((values) => new Set(values).size === values.length, "shape ids must be unique").optional().describe("optional exact native shape ids to inspect; when combined with region, both filters apply"),
13125
+ ids: array(TLDRAW_SHAPE_ID_SCHEMA).min(1).max(100).refine((values) => new Set(values).size === values.length, "shape ids must be unique").optional().describe("optional exact native shape ids to inspect; when combined with region, both filters apply"),
13122
13126
  region: object({
13123
13127
  x: number2().finite(),
13124
13128
  y: number2().finite(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.23.15",
3
+ "version": "0.23.17",
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",