@lambdacurry/arbor 0.3.4 → 0.3.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 +2 -13
  2. package/package.json +1 -1
package/dist/arbor.js CHANGED
@@ -16152,25 +16152,14 @@ var ACTIONS = [
16152
16152
  {
16153
16153
  name: "contribute",
16154
16154
  title: "Contribute to a thread",
16155
- description: "Add your own typed contribution (a claim, question, proposal, etc.) to a thread you're working in. This is how you put new substance on the record; attribution is server-resolved from your credential.",
16155
+ description: "Add your own typed contribution (a claim, question, proposal, etc.) to a thread you're working in. This is how you put new substance on the record; attribution is server-resolved from your credential. PUT REFERENCES IN THE BODY (AD-135): markdown links to PRs/Linear issues/urls and inline [label](#con_…) refs are scanned server-side into typed cites edges and render as smart pills.",
16156
16156
  inputSchema: {
16157
16157
  threadId: exports_external.string().describe("the thread id, e.g. thr_…"),
16158
16158
  type: exports_external.enum(CONTRIBUTION_TYPES).describe("the contribution type (AD-066 taxonomy)"),
16159
16159
  body: exports_external.string().min(1).describe("the contribution text"),
16160
16160
  confidence: exports_external.number().int().min(0).max(100).optional().describe("optional 0–100 confidence"),
16161
16161
  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"),
16162
- links: exports_external.array(exports_external.union([
16163
- exports_external.object({ rel: exports_external.enum(CONTRIBUTION_LINK_RELS), targetId: exports_external.string() }),
16164
- exports_external.object({
16165
- rel: exports_external.enum(CONTRIBUTION_LINK_RELS),
16166
- external: exports_external.object({
16167
- kind: exports_external.enum(["github-pr", "linear-issue", "url"]),
16168
- ref: exports_external.string().describe("owner/repo#123 | SFR-312 | https url"),
16169
- url: exports_external.string().optional().describe("explicit https click-through (Linear needs it)"),
16170
- label: exports_external.string().min(1).max(140).describe("what the chip renders — capture the title here")
16171
- })
16172
- })
16173
- ])).optional().describe("typed links: internal { rel, targetId } (same-space) or external { rel, external: { kind, ref, url?, label } } — e.g. { rel: 'delivered-by', external: { kind: 'github-pr', ref: 'owner/repo#142', label: '#142 — ship chips' } }")
16162
+ 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.")
16174
16163
  },
16175
16164
  surfaces: ["mcp", "cli"],
16176
16165
  run: forward("contribution.add")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdacurry/arbor",
3
- "version": "0.3.4",
3
+ "version": "0.3.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": {