@lambdacurry/arbor 0.4.15 → 0.4.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 +13 -26
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -16255,6 +16255,18 @@ var ACTIONS = [
16255
16255
  surfaces: ["mcp", "cli"],
16256
16256
  run: forward("thread.create")
16257
16257
  },
16258
+ {
16259
+ name: "transition_thread",
16260
+ title: "Move a thread's lifecycle",
16261
+ description: "Move a thread along its deliberate lifecycle (AD-068). Most often `archived` — conclude a thread, or retire one opened in the wrong place (archive it, then open a fresh one where it belongs; an archived thread drops out of normal recall as historical, but stays recoverable and can be restored to `active`). You can also mark it `stuck`/`needs-review`/`promoted`. Illegal jumps are rejected; whoever works the thread keeps its status current.",
16262
+ inputSchema: {
16263
+ threadId: exports_external.string().describe("the thread to move, thr_…"),
16264
+ to: exports_external.string().describe("target status: active|needs-review|stuck|promoted|archived"),
16265
+ reason: exports_external.string().optional().describe("optional one-line why, recorded on the event")
16266
+ },
16267
+ surfaces: ["mcp", "cli"],
16268
+ run: forward("thread.transition")
16269
+ },
16258
16270
  {
16259
16271
  name: "create_artifact",
16260
16272
  title: "Create an artifact",
@@ -16631,31 +16643,6 @@ var ACTIONS = [
16631
16643
  surfaces: ["mcp", "cli"],
16632
16644
  run: forward("space.create")
16633
16645
  },
16634
- {
16635
- name: "topic_create",
16636
- title: "Create a topic",
16637
- description: "Create a topic inside a space to group related threads — any space member may (AD-116), but prefer an EXISTING topic (check tree first); create one only for a genuinely new, durable sub-area, not per-task.",
16638
- inputSchema: {
16639
- spaceId: exports_external.string().min(1).describe("the parent space id"),
16640
- title: exports_external.string().min(1).describe("the topic title"),
16641
- purpose: exports_external.string().optional().describe("optional one-line purpose")
16642
- },
16643
- surfaces: ["mcp", "cli"],
16644
- run: forward("topic.create")
16645
- },
16646
- {
16647
- name: "thread_create",
16648
- title: "Create a thread",
16649
- description: "Open a new thread under a topic with a stated objective — how you initiate work (AD-116). Check tree/recall first so you join existing work instead of duplicating it; the objective should say what done looks like.",
16650
- inputSchema: {
16651
- spaceId: exports_external.string().min(1).describe("the parent space id"),
16652
- topicId: exports_external.string().min(1).describe("the parent topic id"),
16653
- title: exports_external.string().min(1).describe("the thread title"),
16654
- objective: exports_external.string().min(1).describe("what this thread is trying to achieve")
16655
- },
16656
- surfaces: ["mcp", "cli"],
16657
- run: forward("thread.create")
16658
- },
16659
16646
  {
16660
16647
  name: "agent_register",
16661
16648
  title: "Register an agent",
@@ -16964,7 +16951,7 @@ var MAX_WORDS = Math.max(1, ...CLI_ACTIONS.map((a) => commandWords(a).split(" ")
16964
16951
  function matchCommand(positionals) {
16965
16952
  for (let n = Math.min(MAX_WORDS, positionals.length);n >= 1; n--) {
16966
16953
  const key = positionals.slice(0, n).join(" ");
16967
- const action = BY_COMMAND.get(key);
16954
+ const action = BY_COMMAND.get(key) ?? BY_COMMAND.get(key.replace(/_/g, " "));
16968
16955
  if (action)
16969
16956
  return { action, words: n };
16970
16957
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.4.15",
3
+ "version": "0.4.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
  "type": "module",
6
6
  "bin": {