@theronap/agnoclast-mcp 0.9.234 → 0.9.235

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 +3 -1
  2. package/package.json +1 -1
package/lib/server.mjs CHANGED
@@ -1198,6 +1198,7 @@ function renderNudge(payload) {
1198
1198
  inputSchema: {
1199
1199
  claimKind: z.enum(['relevance', 'cleanup']).optional().describe('default relevance'),
1200
1200
  limit: z.number().optional().describe('max items (default 10). Ignored when intakeItemIds is given.'),
1201
+ source: z.string().optional().describe('claim only the oldest units of ONE source — e.g. "imessage", "meeting", "email", "github", "claude-code". Reaches texts without first claiming every older GitHub/session unit ahead of them. Ignored when intakeItemIds is given.'),
1201
1202
  leaseMinutes: z.number().optional().describe('lease length in minutes, 5-60 (default 30). Prefer intake_look for read-only inspection — a short lease is only for briefly exclusive work.'),
1202
1203
  // 🔴 SINGULAR ACCEPTED, AND NOT AS A CONVENIENCE. Every sibling verb takes `intakeItemId`:
1203
1204
  // intake_look, intake_materialize, intake_release, intake_defer, intake_discard. This one
@@ -1221,7 +1222,7 @@ function renderNudge(payload) {
1221
1222
  ),
1222
1223
  },
1223
1224
  },
1224
- async ({ claimKind, limit, intakeItemId, intakeItemIds, leaseMinutes }) => {
1225
+ async ({ claimKind, limit, source, intakeItemId, intakeItemIds, leaseMinutes }) => {
1225
1226
  // Merge the two spellings before anything else looks at them. Passing both is not an error —
1226
1227
  // the union is what the caller plainly meant.
1227
1228
  const ids = [...new Set([...(intakeItemIds ?? []), ...(intakeItemId ? [intakeItemId] : [])])]
@@ -1238,6 +1239,7 @@ function renderNudge(payload) {
1238
1239
  // survive as one; sending `[]` where the caller sent nothing would silently switch a FIFO
1239
1240
  // claim into a no-op.
1240
1241
  ...(intakeItemIds ? { intakeItemIds } : {}),
1242
+ ...(source ? { source } : {}),
1241
1243
  }),
1242
1244
  })
1243
1245
  if (!res.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theronap/agnoclast-mcp",
3
- "version": "0.9.234",
3
+ "version": "0.9.235",
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": {