@lambdacurry/arbor 0.23.15 → 0.23.16

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 +6 -3
  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.16",
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",
@@ -10541,7 +10541,10 @@ ${orientation}
10541
10541
  var TLDRAW_EXEC_MAX_OPERATIONS = 100;
10542
10542
  var TLDRAW_DIAGRAM_MAX_NODES = 64;
10543
10543
  var TLDRAW_DIAGRAM_MAX_EDGES = 96;
10544
- var shapeId = string2().regex(/^shape:[A-Za-z0-9_-]{1,128}$/).describe("stable tldraw shape id, shape:…");
10544
+ var TLDRAW_SHAPE_ID_PREFIX = "shape:";
10545
+ var TLDRAW_SHAPE_ID_MAX_SUFFIX_LENGTH = 128;
10546
+ 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);
10547
+ var shapeId = TLDRAW_SHAPE_ID_SCHEMA.describe("stable tldraw shape id, shape:…");
10545
10548
  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
10549
  var finite = number2().finite();
10547
10550
  var jsonRecord = record(string2(), unknown());
@@ -13118,7 +13121,7 @@ var ACTION_DEFINITIONS = [
13118
13121
  inputSchema: {
13119
13122
  artifactId: string2().describe("the tldraw Artifact, art_…"),
13120
13123
  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"),
13124
+ 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
13125
  region: object({
13123
13126
  x: number2().finite(),
13124
13127
  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.16",
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",