@lambdacurry/arbor 0.22.33 → 0.22.34

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 +10 -2
  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.33",
5
+ version: "0.22.34",
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",
@@ -9981,6 +9981,13 @@ var update = object({
9981
9981
  var shapeIds = array(shapeId).min(1).max(TLDRAW_EXEC_MAX_OPERATIONS);
9982
9982
  var diagramKey = string2().min(1).max(80).describe("caller-meaningful node key; returned as the alias for its generated tldraw shape id");
9983
9983
  var diagramLabel = string2().min(1).max(160);
9984
+ var stack = object({
9985
+ op: literal("stack"),
9986
+ ids: shapeIds.min(2).describe("native shapes in the exact stack order; first id is the anchor"),
9987
+ axis: _enum(["horizontal", "vertical"]),
9988
+ gap: finite.min(0).describe("required edge-to-edge gap between adjacent shapes"),
9989
+ alignment: _enum(["start", "center", "end"]).optional().describe("optional cross-axis alignment relative to the first shape")
9990
+ }).strict();
9984
9991
  var connect = object({
9985
9992
  op: literal("connect"),
9986
9993
  sourceId: shapeId.describe("existing native shape to bind the arrow start to"),
@@ -10018,6 +10025,7 @@ var TLDRAW_EXEC_OPERATION_SCHEMA = discriminatedUnion("op", [
10018
10025
  ids: shapeIds.min(2),
10019
10026
  groupId: shapeId.optional()
10020
10027
  }).strict(),
10028
+ stack,
10021
10029
  connect,
10022
10030
  diagram
10023
10031
  ]);
@@ -12359,7 +12367,7 @@ var ACTION_DEFINITIONS = [
12359
12367
  {
12360
12368
  name: "tldraw_exec",
12361
12369
  title: "Run a one-shot tldraw program",
12362
- description: `Modify the current live tldraw board with preferred declarative operations or bounded JavaScript, including graph-scoped diagram layout and safe native bound connect between shape IDs without caller-supplied connector geometry, then return a durable execution receipt; use IDs from a fresh observe, reacquire this current schema after compaction, and never replay an unknown result. First use: read the tldraw guide at ${AGENT_GUIDE_URLS.tldraw}.`,
12370
+ description: `Modify the current live tldraw board with preferred declarative operations or bounded JavaScript, including graph-scoped diagram layout, ordered exact-gap stack composition, and safe native bound connect without caller-supplied connector geometry, then return a durable execution receipt; use IDs from a fresh observe, reacquire this current schema after compaction, and never replay an unknown result. First use: read the tldraw guide at ${AGENT_GUIDE_URLS.tldraw}.`,
12363
12371
  inputSchema: {
12364
12372
  artifactId: string2().describe("the tldraw Artifact, art_…"),
12365
12373
  code: string2().min(1).max(1e5).optional().describe("advanced script source; mutually exclusive with operations"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.22.33",
3
+ "version": "0.22.34",
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",