@lambdacurry/arbor 0.3.8 → 0.4.0
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 +38 -5
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -1608,6 +1608,9 @@ var contributions = sqliteTable("contributions", {
|
|
|
1608
1608
|
mentions: text("mentions", { mode: "json" }).$type(),
|
|
1609
1609
|
attachmentIds: text("attachment_ids", { mode: "json" }).$type(),
|
|
1610
1610
|
editedAt: ts("edited_at"),
|
|
1611
|
+
standoutAt: ts("standout_at"),
|
|
1612
|
+
standoutBy: text("standout_by").references(() => profiles.id),
|
|
1613
|
+
deletedAt: ts("deleted_at"),
|
|
1611
1614
|
createdAt: ts("created_at").notNull()
|
|
1612
1615
|
}, (t) => ({ threadIdx: index("contributions_thread_idx").on(t.threadId) }));
|
|
1613
1616
|
var reviews = sqliteTable("reviews", {
|
|
@@ -16291,8 +16294,8 @@ var ACTIONS = [
|
|
|
16291
16294
|
},
|
|
16292
16295
|
{
|
|
16293
16296
|
name: "promote_contribution",
|
|
16294
|
-
title: "Promote a contribution to a standout
|
|
16295
|
-
description: "
|
|
16297
|
+
title: "Promote a contribution to a \uD83C\uDF96️ standout",
|
|
16298
|
+
description: "Mark a contribution a \uD83C\uDF96️ standout — recognition that boosts it in recall and flags it as one of the thread's outputs (AD-140: promotion is a MARK on the contribution, not a separate artifact). Reach for this when a contribution is worth recognizing. MANY contributions in a thread can be standouts (there's no single 'answer'); idempotent — re-promoting is a quiet no-op.",
|
|
16296
16299
|
inputSchema: {
|
|
16297
16300
|
contributionId: exports_external.string().describe("the contribution to promote, con_… (its thread + author are derived)")
|
|
16298
16301
|
},
|
|
@@ -16301,14 +16304,34 @@ var ACTIONS = [
|
|
|
16301
16304
|
},
|
|
16302
16305
|
{
|
|
16303
16306
|
name: "demote_contribution",
|
|
16304
|
-
title: "Demote a
|
|
16305
|
-
description: "The deliberate UNDO of promote_contribution:
|
|
16307
|
+
title: "Demote a standout contribution",
|
|
16308
|
+
description: "The deliberate UNDO of promote_contribution: clear the \uD83C\uDF96️ standout mark (AD-140 — no artifact is touched; promotion never minted one). Reach for this when a promotion was premature. Idempotent — demoting a non-standout contribution is a quiet no-op.",
|
|
16306
16309
|
inputSchema: {
|
|
16307
|
-
contributionId: exports_external.string().describe("the
|
|
16310
|
+
contributionId: exports_external.string().describe("the standout contribution to demote, con_…")
|
|
16308
16311
|
},
|
|
16309
16312
|
surfaces: ["mcp", "cli"],
|
|
16310
16313
|
run: forward("contribution.demote")
|
|
16311
16314
|
},
|
|
16315
|
+
{
|
|
16316
|
+
name: "delete_contribution",
|
|
16317
|
+
title: "Remove a contribution",
|
|
16318
|
+
description: "Soft-delete your own contribution — it's removed from the thread and from recall but stays audited and RESTORABLE (AD-141). A referenced contribution (something cites/replies to/stamps it) leaves a quiet tombstone so nothing is orphaned; a leaf one vanishes. Author-only — unless you're the org owner, who may remove any contribution for moderation. Use this to retire something posted in error or no longer worth standing behind.",
|
|
16319
|
+
inputSchema: {
|
|
16320
|
+
contributionId: exports_external.string().describe("the contribution to remove, con_…")
|
|
16321
|
+
},
|
|
16322
|
+
surfaces: ["mcp", "cli"],
|
|
16323
|
+
run: forward("contribution.delete")
|
|
16324
|
+
},
|
|
16325
|
+
{
|
|
16326
|
+
name: "restore_contribution",
|
|
16327
|
+
title: "Restore a removed contribution",
|
|
16328
|
+
description: "Undo a removal — clear the tombstone and bring the contribution back into the thread and recall (AD-141). Author-only, or the org owner. The deliberate inverse of delete_contribution.",
|
|
16329
|
+
inputSchema: {
|
|
16330
|
+
contributionId: exports_external.string().describe("the removed contribution to restore, con_…")
|
|
16331
|
+
},
|
|
16332
|
+
surfaces: ["mcp", "cli"],
|
|
16333
|
+
run: forward("contribution.restore")
|
|
16334
|
+
},
|
|
16312
16335
|
{
|
|
16313
16336
|
name: "request",
|
|
16314
16337
|
title: "Ask for a review",
|
|
@@ -16338,6 +16361,16 @@ var ACTIONS = [
|
|
|
16338
16361
|
surfaces: ["mcp", "cli"],
|
|
16339
16362
|
run: forward("request.respond")
|
|
16340
16363
|
},
|
|
16364
|
+
{
|
|
16365
|
+
name: "cancel_request",
|
|
16366
|
+
title: "Cancel a request",
|
|
16367
|
+
description: "Cancel an OPEN request you raised (or any open request, if you're the org owner) — it moves to a terminal `cancelled` state and the inbox items it fanned out are SILENTLY withdrawn (they leave recipients' inboxes, no notification). Use this when an ask is no longer needed. Only open requests can be cancelled (a completed/expired one can't).",
|
|
16368
|
+
inputSchema: {
|
|
16369
|
+
requestId: exports_external.string().describe("the open request to cancel, req_…")
|
|
16370
|
+
},
|
|
16371
|
+
surfaces: ["mcp", "cli"],
|
|
16372
|
+
run: forward("request.cancel")
|
|
16373
|
+
},
|
|
16341
16374
|
{
|
|
16342
16375
|
name: "inbox",
|
|
16343
16376
|
title: "List your inbox",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lambdacurry/arbor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
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": {
|