@lambdacurry/arbor 0.4.4 → 0.4.5
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.
- package/dist/arbor.js +57 -4
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -16171,7 +16171,11 @@ var ACTIONS = [
|
|
|
16171
16171
|
body: exports_external.string().min(1).describe("the contribution text"),
|
|
16172
16172
|
summary: exports_external.string().max(300).optional().describe("optional ≤300-char gist — becomes the recall snippet AND sharpens recall for long contributions (it's prepended to the embedded text); write one when the body is long"),
|
|
16173
16173
|
confidence: exports_external.number().int().min(0).max(100).optional().describe("optional 0–100 confidence"),
|
|
16174
|
-
mentions: exports_external.array(exports_external.object({
|
|
16174
|
+
mentions: exports_external.array(exports_external.object({
|
|
16175
|
+
kind: exports_external.enum(["person", "contribution", "artifact"]),
|
|
16176
|
+
id: exports_external.string(),
|
|
16177
|
+
label: exports_external.string()
|
|
16178
|
+
})).optional().describe("inline @-mentions in the body; person mentions notify"),
|
|
16175
16179
|
links: exports_external.array(exports_external.object({ rel: exports_external.enum(CONTRIBUTION_LINK_RELS), targetId: exports_external.string() })).optional().describe("internal typed links: { rel, targetId } (same-space). External refs go IN THE BODY as URLs.")
|
|
16176
16180
|
},
|
|
16177
16181
|
surfaces: ["mcp", "cli"],
|
|
@@ -16209,7 +16213,11 @@ var ACTIONS = [
|
|
|
16209
16213
|
facetKey: exports_external.enum(STAMP_FACETS).optional().describe("quality|impact|fit|originality (omit for a neutral stamp)"),
|
|
16210
16214
|
polarity: exports_external.enum(["positive", "negative"]).optional().describe("required with a facet"),
|
|
16211
16215
|
note: exports_external.string().min(1).optional().describe("the 'why' — markdown, required for a signed stamp (AD-143)"),
|
|
16212
|
-
mentions: exports_external.array(exports_external.object({
|
|
16216
|
+
mentions: exports_external.array(exports_external.object({
|
|
16217
|
+
kind: exports_external.enum(["person", "contribution", "artifact"]),
|
|
16218
|
+
id: exports_external.string(),
|
|
16219
|
+
label: exports_external.string()
|
|
16220
|
+
})).optional().describe("inline @-mentions in the note; person mentions notify")
|
|
16213
16221
|
},
|
|
16214
16222
|
surfaces: ["mcp", "cli"],
|
|
16215
16223
|
run: forward("review.add")
|
|
@@ -16376,10 +16384,10 @@ var ACTIONS = [
|
|
|
16376
16384
|
{
|
|
16377
16385
|
name: "mark_as_response",
|
|
16378
16386
|
title: "Mark a contribution as a request's response",
|
|
16379
|
-
description: "
|
|
16387
|
+
description: "Mark an ALREADY-POSTED contribution as a response to a request (AD-142) — a response is just a `fulfills` link, so use this when a response was posted as a plain contribution instead of through `respond`. A request has RESPONSES (plural), not a single answer. Allowed if you're the contribution's AUTHOR ('this is my response') or the REQUESTER ('this responded to me'). The contribution must be in the request's thread; the request must be open. Re-evaluates completion.",
|
|
16380
16388
|
inputSchema: {
|
|
16381
16389
|
requestId: exports_external.string().describe("the open request, req_…"),
|
|
16382
|
-
contributionId: exports_external.string().describe("the existing contribution that
|
|
16390
|
+
contributionId: exports_external.string().describe("the existing contribution that responds to it, con_…")
|
|
16383
16391
|
},
|
|
16384
16392
|
surfaces: ["mcp", "cli"],
|
|
16385
16393
|
run: forward("request.bind")
|
|
@@ -16529,6 +16537,51 @@ var ACTIONS = [
|
|
|
16529
16537
|
surfaces: ["mcp", "cli"],
|
|
16530
16538
|
run: forward("space.invites")
|
|
16531
16539
|
},
|
|
16540
|
+
{
|
|
16541
|
+
name: "create_goal",
|
|
16542
|
+
title: "Create a goal",
|
|
16543
|
+
description: "Create an org-scoped GOAL (initiative) — the widest unit of work, the 'why' that threads serve toward. Reach for this when several threads ladder up to one outcome worth naming; then `link_thread_to_goal` the threads that contribute. Optionally seed it from a space's threads at creation. Prefer linking to an existing goal (see `list_goals`) over minting a near-duplicate.",
|
|
16544
|
+
inputSchema: {
|
|
16545
|
+
spaceId: exports_external.string().describe("the space you're creating it from, spc_… (gates access)"),
|
|
16546
|
+
title: exports_external.string().min(1).describe("the goal's name — an outcome, not a task"),
|
|
16547
|
+
purpose: exports_external.string().optional().describe("one or two lines on what reaching it means"),
|
|
16548
|
+
threadIds: exports_external.array(exports_external.string()).optional().describe("optional threads IN THIS SPACE to link at creation (others are ignored)")
|
|
16549
|
+
},
|
|
16550
|
+
surfaces: ["mcp", "cli"],
|
|
16551
|
+
run: forward("initiative.create")
|
|
16552
|
+
},
|
|
16553
|
+
{
|
|
16554
|
+
name: "link_thread_to_goal",
|
|
16555
|
+
title: "Link a thread to a goal",
|
|
16556
|
+
description: "Record that a thread contributes to a goal — the many-to-many link that surfaces the goal on the thread's space and lists the thread under the goal. Idempotent. Reach for this once a thread's work clearly serves a goal; use `list_goals` to find the goal id.",
|
|
16557
|
+
inputSchema: {
|
|
16558
|
+
threadId: exports_external.string().describe("the contributing thread, thr_…"),
|
|
16559
|
+
initiativeId: exports_external.string().describe("the goal it serves, ini_…")
|
|
16560
|
+
},
|
|
16561
|
+
surfaces: ["mcp", "cli"],
|
|
16562
|
+
run: forward("initiative.linkThread")
|
|
16563
|
+
},
|
|
16564
|
+
{
|
|
16565
|
+
name: "unlink_thread_from_goal",
|
|
16566
|
+
title: "Unlink a thread from a goal",
|
|
16567
|
+
description: "Remove the link between a thread and a goal (the deliberate inverse of `link_thread_to_goal`). Idempotent. Reach for this when a thread no longer serves the goal it was attached to — the thread and the goal both stay; only the link is dropped.",
|
|
16568
|
+
inputSchema: {
|
|
16569
|
+
threadId: exports_external.string().describe("the thread to unlink, thr_…"),
|
|
16570
|
+
initiativeId: exports_external.string().describe("the goal to unlink it from, ini_…")
|
|
16571
|
+
},
|
|
16572
|
+
surfaces: ["mcp", "cli"],
|
|
16573
|
+
run: forward("initiative.unlinkThread")
|
|
16574
|
+
},
|
|
16575
|
+
{
|
|
16576
|
+
name: "list_goals",
|
|
16577
|
+
title: "List a thread's goals",
|
|
16578
|
+
description: "For a thread, list the goals it already contributes to PLUS the org's goals you could link it to (the pick list). Reach for this before `link_thread_to_goal` to find the right goal id and avoid creating a duplicate; archived goals are omitted.",
|
|
16579
|
+
inputSchema: {
|
|
16580
|
+
threadId: exports_external.string().describe("the thread to read goals for, thr_…")
|
|
16581
|
+
},
|
|
16582
|
+
surfaces: ["mcp", "cli"],
|
|
16583
|
+
run: forward("initiative.forThread")
|
|
16584
|
+
},
|
|
16532
16585
|
{
|
|
16533
16586
|
name: "space_create",
|
|
16534
16587
|
title: "Create a space",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambdacurry/arbor",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "The Arbor CLI \u2014 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": {
|