@lambdacurry/arbor 0.4.2 → 0.4.4
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 +11 -4
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -1603,6 +1603,7 @@ var contributions = sqliteTable("contributions", {
|
|
|
1603
1603
|
executionContextId: text("execution_context_id").notNull().references(() => executionContexts.id),
|
|
1604
1604
|
type: text("type").$type().notNull(),
|
|
1605
1605
|
body: text("body").notNull(),
|
|
1606
|
+
summary: text("summary"),
|
|
1606
1607
|
confidence: integer("confidence"),
|
|
1607
1608
|
links: text("links", { mode: "json" }).$type(),
|
|
1608
1609
|
mentions: text("mentions", { mode: "json" }).$type(),
|
|
@@ -1856,7 +1857,9 @@ var INDEX_ON = new Set([
|
|
|
1856
1857
|
"comment.added",
|
|
1857
1858
|
"comment.edited",
|
|
1858
1859
|
"artifact.created",
|
|
1859
|
-
"review.added"
|
|
1860
|
+
"review.added",
|
|
1861
|
+
"thread.created",
|
|
1862
|
+
"topic.created"
|
|
1860
1863
|
]);
|
|
1861
1864
|
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
1862
1865
|
var exports_external = {};
|
|
@@ -16166,6 +16169,7 @@ var ACTIONS = [
|
|
|
16166
16169
|
threadId: exports_external.string().describe("the thread id, e.g. thr_…"),
|
|
16167
16170
|
type: exports_external.enum(CONTRIBUTION_TYPES).describe("the contribution type (AD-066 taxonomy)"),
|
|
16168
16171
|
body: exports_external.string().min(1).describe("the contribution text"),
|
|
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"),
|
|
16169
16173
|
confidence: exports_external.number().int().min(0).max(100).optional().describe("optional 0–100 confidence"),
|
|
16170
16174
|
mentions: exports_external.array(exports_external.object({ kind: exports_external.enum(["person", "contribution", "artifact"]), id: exports_external.string(), label: exports_external.string() })).optional().describe("inline @-mentions in the body; person mentions notify"),
|
|
16171
16175
|
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.")
|
|
@@ -16179,7 +16183,8 @@ var ACTIONS = [
|
|
|
16179
16183
|
description: "Edit the BODY of your own contribution (AD-132 — editable-but-audited: the displayed text changes, an 'edited' marker appears, and the event log keeps the previous body). Author-only; the type and links are fixed — a different point is a NEW contribution, not an edit.",
|
|
16180
16184
|
inputSchema: {
|
|
16181
16185
|
contributionId: exports_external.string().describe("your contribution's id, con_…"),
|
|
16182
|
-
body: exports_external.string().min(1).describe("the replacement markdown body")
|
|
16186
|
+
body: exports_external.string().min(1).describe("the replacement markdown body"),
|
|
16187
|
+
summary: exports_external.string().max(300).optional().describe("optional ≤300-char gist — omit to leave unchanged, empty string to clear")
|
|
16183
16188
|
},
|
|
16184
16189
|
surfaces: ["mcp", "cli"],
|
|
16185
16190
|
run: forward("contribution.update")
|
|
@@ -17063,7 +17068,8 @@ Etiquette — WHEN to act (the judgment; per-command mechanics are listed below)
|
|
|
17063
17068
|
· Recall first — \`arbor recall --query "<question>"\` before you contribute; cite prior work, don't repeat it.
|
|
17064
17069
|
· One typed point per contribution (proposal / critique / question / evidence / risk / correction /
|
|
17065
17070
|
assertion / decision). Markdown bodies — pass long/multiline bodies with \`--body-file -\` (stdin),
|
|
17066
|
-
don't shell-quote them.
|
|
17071
|
+
don't shell-quote them. For a long contribution add a one-line \`--summary\` (≤300 chars): it becomes
|
|
17072
|
+
the recall snippet AND sharpens recall (it's embedded with the body).
|
|
17067
17073
|
· References live in your prose — a URL or \`[label](#con_…)\` in the body becomes a typed reference;
|
|
17068
17074
|
there is no separate links field.
|
|
17069
17075
|
· Answer asks THROUGH them — \`arbor respond\` (or \`arbor stamp\` a review ask) so the ask completes
|
|
@@ -17086,7 +17092,8 @@ Usage: arbor <command> [--flags]
|
|
|
17086
17092
|
Global flags (any command):
|
|
17087
17093
|
--json emit a structured { ok, data|error, meta } envelope on stdout (machine mode)
|
|
17088
17094
|
--quiet / --no-quiet suppress / force advisory text (auto-quiet under --json or a pipe)
|
|
17089
|
-
--fields a,b,
|
|
17095
|
+
--fields a,b,arr:N keep only these TOP-LEVEL fields; an "arr:N" entry tail-slices an ARRAY field to
|
|
17096
|
+
its last N items (each kept whole), e.g. thread get --fields thread,contributions:4
|
|
17090
17097
|
--<flag>-file <path|-> read any string flag from a file (or - for stdin), e.g. --body-file -
|
|
17091
17098
|
--limit <n> / --cursor paginate list commands (inbox, list open spaces, …); response adds nextCursor
|
|
17092
17099
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambdacurry/arbor",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
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": {
|