@theronap/cortex-mcp 0.9.112 → 0.9.113

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/lib/server.mjs +1 -1
  2. package/package.json +1 -1
package/lib/server.mjs CHANGED
@@ -2542,7 +2542,7 @@ export async function runServer(version) {
2542
2542
  description: 'Attach a pending record to the pages you judge correct — the point of the whole triage path. Use this when you have real context on what the work was; that judgment is better than any rule the webhook could run. Attachments are additive: existing deterministic homes (routing identifiers, your profile) stay. Pass park=true instead when you have looked and there is genuinely no good home — parking beats attaching to a page that merely shares a word.',
2543
2543
  inputSchema: {
2544
2544
  recordId: z.string().describe('record id from pending_records'),
2545
- documentIds: z.array(z.string()).optional().describe('page document ids to attach (from pending_records sweep, or read_page)'),
2545
+ documentIds: z.array(z.string()).optional().describe('pages to attach. Accepts EITHER a brain_documents id (from a pending_records sweep) OR the `ref:` that read_page prints for a page — they are different columns and read_page only ever gives you the second, which is why this used to fail as no_documents on ids that looked perfectly valid. A ref resolves to that node\'s current page, accessible copy first. Anything that resolves to no page in this brain is named back to you rather than silently dropped.'),
2546
2546
  reason: z.string().describe('why these pages — recorded with the attachment'),
2547
2547
  park: z.boolean().optional().describe('no good home exists; leave it alone rather than guessing'),
2548
2548
  tier: z.number().int().optional().describe('2 when this came from the cheap sweep rather than your own context'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theronap/cortex-mcp",
3
- "version": "0.9.112",
3
+ "version": "0.9.113",
4
4
  "description": "Connect your AI assistant to Cortex — your org's projects, activity, gaps, and directives, scoped to you.",
5
5
  "type": "module",
6
6
  "bin": {