@lambdacurry/arbor 0.22.36 → 0.22.37

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 +39 -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.22.36",
5
+ version: "0.22.37",
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",
@@ -4933,6 +4933,41 @@ var CONTRIBUTION_TYPES = [
4933
4933
  "decision"
4934
4934
  ];
4935
4935
  var STAMP_FACETS = ["quality", "impact", "fit", "originality"];
4936
+ var ARTIFACT_TYPES = [
4937
+ "markdown",
4938
+ "concept",
4939
+ "decision",
4940
+ "research-brief",
4941
+ "summary",
4942
+ "plan",
4943
+ "json",
4944
+ "yaml",
4945
+ "schema",
4946
+ "table",
4947
+ "rubric",
4948
+ "profile-snapshot",
4949
+ "image",
4950
+ "diagram",
4951
+ "mockup",
4952
+ "canvas",
4953
+ "html-bundle",
4954
+ "dashboard",
4955
+ "prototype",
4956
+ "audio",
4957
+ "video",
4958
+ "transcript",
4959
+ "diff",
4960
+ "pr-reference",
4961
+ "script",
4962
+ "api-spec",
4963
+ "test-plan",
4964
+ "prompt",
4965
+ "tool-spec",
4966
+ "workflow",
4967
+ "routing-rule",
4968
+ "eval-rubric",
4969
+ "external-reference"
4970
+ ];
4936
4971
  // ../core/src/feedback/constants.ts
4937
4972
  var ARBOR_FEEDBACK_TYPES = [
4938
4973
  "comment",
@@ -10162,6 +10197,7 @@ var TLDRAW_EXEC_OPERATIONS_SCHEMA = array(TLDRAW_EXEC_OPERATION_SCHEMA).min(1).m
10162
10197
  });
10163
10198
  }).describe("preferred declarative edits, applied in order; mutually exclusive with code");
10164
10199
  // ../actions/src/index.ts
10200
+ var ARTIFACT_TYPE_DESCRIPTION = `semantic type (one of: ${ARTIFACT_TYPES.join(", ")})`;
10165
10201
  var ARBOR_FEEDBACK_INPUT_TYPES = [...ARBOR_FEEDBACK_TYPES, "friction"];
10166
10202
  var CONTRIBUTION_ADD_LINK_RELS = [
10167
10203
  "cites",
@@ -11318,7 +11354,7 @@ var ACTION_DEFINITIONS = [
11318
11354
  title: "Create an artifact",
11319
11355
  description: "Promote durable output — a decision, summary, plan, or research brief — into a first-class artifact you own. Give it a concise summary of what the Artifact is or accomplishes; this is the skim and retrieval description, not a repeat of its title. Text kinds (doc/table/diagram/html) are living documents: pass `source` (born at v1, editable in place via edit_artifact); kind=file passes a contentRef instead. The artifact is AUTOMATICALLY listed on its source thread (no link post needed). When it came from a Thread Computer, pass its producing computerSessionId when available so the artifact cites the reproducible session. Reach for this when a thread has produced something worth retaining and citing beyond the conversation — especially a table or doc the team will UPDATE, which beats pasting it into a prose contribution.",
11320
11356
  inputSchema: {
11321
- type: string2().describe("semantic type, e.g. decision|summary|plan|markdown|table|research-brief"),
11357
+ type: _enum(ARTIFACT_TYPES).describe(ARTIFACT_TYPE_DESCRIPTION),
11322
11358
  kind: _enum(["doc", "table", "diagram", "html", "file"]).optional().describe("structural kind (default file). doc/table/diagram/html are editable, versioned text"),
11323
11359
  title: string2().min(1),
11324
11360
  source: string2().optional().describe("text kinds: the initial content (v1)"),
@@ -12271,7 +12307,7 @@ var ACTION_DEFINITIONS = [
12271
12307
  verb: _enum(["create", "edit", "set_live_preview", "set_snapshot", "promote_attachment"]).describe("which artifact move"),
12272
12308
  title: string2().optional().describe("create: the artifact's title"),
12273
12309
  kind: _enum(["doc", "table", "diagram", "html", "file"]).optional().describe("create: structural kind (default file). doc/table/diagram/html are editable text"),
12274
- type: string2().optional().describe("create: semantic type, e.g. decision|summary|plan|markdown|table|research-brief"),
12310
+ type: _enum(ARTIFACT_TYPES).optional().describe(`create: ${ARTIFACT_TYPE_DESCRIPTION}`),
12275
12311
  source: string2().optional().describe("create (text kinds): the initial content · edit verb=replace: the full new content"),
12276
12312
  contentRef: string2().optional().describe("create (kind=file): where the content lives, e.g. inline://… or a URL"),
12277
12313
  editPolicy: _enum(["owner", "members", "anyone"]).optional().describe("create: who may edit (default members)"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.22.36",
3
+ "version": "0.22.37",
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",