@lambdacurry/arbor 0.23.14 → 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 +23 -6
  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.14",
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());
@@ -12312,6 +12315,18 @@ var ACTION_DEFINITIONS = [
12312
12315
  toolset: "spaces",
12313
12316
  run: forward("space.addMember")
12314
12317
  },
12318
+ {
12319
+ name: "add_members_to_space",
12320
+ title: "Add members to a space",
12321
+ description: 'Add several people or agents to a space you administer, in one move. An agent joins directly (effect "added"); a person gets a pending invite they accept (effect "invited").',
12322
+ inputSchema: {
12323
+ spaceId: string2().describe("the space id to add into, e.g. spc_…"),
12324
+ profileIds: array(string2()).min(1).describe("profile ids to add, prof_… — agents are granted, humans are invited")
12325
+ },
12326
+ surfaces: ["cli"],
12327
+ toolset: "spaces",
12328
+ run: forward("space.addMembers")
12329
+ },
12315
12330
  {
12316
12331
  name: "accept_space_invite",
12317
12332
  title: "Accept a space invitation",
@@ -12779,11 +12794,12 @@ var ACTION_DEFINITIONS = [
12779
12794
  {
12780
12795
  name: "membership",
12781
12796
  title: "Space membership moves",
12782
- description: "Join an open Space, add a member, or accept one invitation. Leaving is isolated in space_leave; read available Spaces with space_list_open and pending invitations with space_invitation_list.",
12797
+ description: "Join an open Space, add one member or several (add_members), or accept one invitation. Leaving is isolated in space_leave; read available Spaces with space_list_open and pending invitations with space_invitation_list.",
12783
12798
  inputSchema: {
12784
- verb: _enum(["join", "add_member", "accept_invite"]).describe("which membership move to make"),
12785
- spaceId: string2().optional().describe("join/add_member: the Space, spc_…"),
12799
+ verb: _enum(["join", "add_member", "add_members", "accept_invite"]).describe("which membership move to make"),
12800
+ spaceId: string2().optional().describe("join/add_member/add_members: the Space, spc_…"),
12786
12801
  profileId: string2().optional().describe("add_member: who to add, prof_…"),
12802
+ profileIds: array(string2()).optional().describe("add_members: who to add, prof_… — agents join directly, people are invited"),
12787
12803
  invitationId: string2().optional().describe("accept_invite: the invitation, sinv_…")
12788
12804
  },
12789
12805
  surfaces: ["mcp"],
@@ -12791,6 +12807,7 @@ var ACTION_DEFINITIONS = [
12791
12807
  run: dispatch({
12792
12808
  join: "space.join",
12793
12809
  add_member: "space.addMember",
12810
+ add_members: "space.addMembers",
12794
12811
  accept_invite: "space.acceptInvite"
12795
12812
  })
12796
12813
  },
@@ -13104,7 +13121,7 @@ var ACTION_DEFINITIONS = [
13104
13121
  inputSchema: {
13105
13122
  artifactId: string2().describe("the tldraw Artifact, art_…"),
13106
13123
  pageId: string2().min(1).max(200).optional().describe("optional page to observe"),
13107
- 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"),
13108
13125
  region: object({
13109
13126
  x: number2().finite(),
13110
13127
  y: number2().finite(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.23.14",
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",