@lambdacurry/arbor 0.4.5 → 0.4.6

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 +8 -27
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -156,6 +156,7 @@ var httpExecutor = {
156
156
 
157
157
  // ../core/src/objects/types.ts
158
158
  var CONTRIBUTION_TYPES = [
159
+ "comment",
159
160
  "question",
160
161
  "assertion",
161
162
  "evidence",
@@ -1612,8 +1613,14 @@ var contributions = sqliteTable("contributions", {
1612
1613
  standoutAt: ts("standout_at"),
1613
1614
  standoutBy: text("standout_by").references(() => profiles.id),
1614
1615
  deletedAt: ts("deleted_at"),
1616
+ aboutType: text("about_type").$type(),
1617
+ aboutId: text("about_id"),
1618
+ anchor: text("anchor", { mode: "json" }).$type(),
1615
1619
  createdAt: ts("created_at").notNull()
1616
- }, (t) => ({ threadIdx: index("contributions_thread_idx").on(t.threadId) }));
1620
+ }, (t) => ({
1621
+ threadIdx: index("contributions_thread_idx").on(t.threadId),
1622
+ aboutIdx: index("contributions_about_idx").on(t.aboutType, t.aboutId)
1623
+ }));
1617
1624
  var reviews = sqliteTable("reviews", {
1618
1625
  id: text("id").primaryKey(),
1619
1626
  targetContributionId: text("target_contribution_id").notNull().references(() => contributions.id),
@@ -16193,17 +16200,6 @@ var ACTIONS = [
16193
16200
  surfaces: ["mcp", "cli"],
16194
16201
  run: forward("contribution.update")
16195
16202
  },
16196
- {
16197
- name: "edit_comment",
16198
- title: "Edit your comment",
16199
- description: "Edit the body of your own comment (editable-but-audited, AD-060/132 — an 'edited' marker appears; the event log keeps the trail). Author-only.",
16200
- inputSchema: {
16201
- commentId: exports_external.string().describe("your comment's id, cmt_…"),
16202
- body: exports_external.string().min(1).describe("the replacement text")
16203
- },
16204
- surfaces: ["mcp", "cli"],
16205
- run: forward("comment.update")
16206
- },
16207
16203
  {
16208
16204
  name: "stamp",
16209
16205
  title: "Stamp (review) a contribution",
@@ -16222,21 +16218,6 @@ var ACTIONS = [
16222
16218
  surfaces: ["mcp", "cli"],
16223
16219
  run: forward("review.add")
16224
16220
  },
16225
- {
16226
- name: "comment",
16227
- title: "Comment in a thread",
16228
- description: "Add lightweight discussion that isn't itself a contribution — a clarifying aside, a pointer, or a reply about a specific contribution/artifact/comment. Use this for talk-about-the-work, not for the work on the record.",
16229
- inputSchema: {
16230
- threadId: exports_external.string(),
16231
- body: exports_external.string().min(1),
16232
- aboutType: exports_external.enum(["contribution", "artifact", "comment"]).optional(),
16233
- aboutId: exports_external.string().optional(),
16234
- replyToId: exports_external.string().optional(),
16235
- mentions: exports_external.array(exports_external.string()).optional().describe("profile ids to @-mention (they get a notification)")
16236
- },
16237
- surfaces: ["mcp", "cli"],
16238
- run: forward("comment.add")
16239
- },
16240
16221
  {
16241
16222
  name: "react",
16242
16223
  title: "React to an object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
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": {