@theronap/agnoclast-mcp 0.9.314 → 0.9.315
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/agents/agnoclast-filer.md +3 -0
- package/lib/server.mjs +2 -1
- package/package.json +1 -1
|
@@ -25,6 +25,9 @@ If the tools are deferred, load them in one ToolSearch call first (`select:` the
|
|
|
25
25
|
proposal and its `intakeItemIds`. Decide the conversation once, then one `intake_materialize` with
|
|
26
26
|
`intakeItemIds` for it — one record each. Always send `obligations` (`[]` if none); each `evidence` is copied
|
|
27
27
|
word for word from the text, 16+ characters.
|
|
28
|
+
An obligation is an ask of THIS person that will still matter tomorrow. Logistics for a moment (a pickup time,
|
|
29
|
+
"on my way", "I'll drive at 9:45"), small talk, and what other people in a group chat ask EACH OTHER are not:
|
|
30
|
+
answer `[]` for those. In a group thread, propose only what is asked of the person by name or directly.
|
|
28
31
|
- GitHub units: call with `mode: "preview"` first, answer every folder question in `folderDecisions`, then
|
|
29
32
|
apply. Several GitHub units filed onto the same pages may share ONE batch call (`intakeItemIds`) with ONE
|
|
30
33
|
`folderDecisions` list covering all of their questions — each unit applies the answers for its own folders.
|
package/lib/server.mjs
CHANGED
|
@@ -4047,7 +4047,7 @@ function renderNudge(payload) {
|
|
|
4047
4047
|
description: 'Close, cancel or defer an obligation. `discharged` = it happened. `cancelled` = it stopped mattering. These are DIFFERENT FACTS and both require a `resolution` saying how it ended — an obligation closed with no reason is a row nobody can reconstruct later, and "stopped mattering" is the one that gets lost first. `snoozed` needs `snoozed_until`; a snooze with no deadline is a permanent silent drop wearing a deferral\'s clothes, and it is refused. An expired snooze returns to my_obligations on its own.',
|
|
4048
4048
|
inputSchema: {
|
|
4049
4049
|
obligation_id: z.string().describe('from my_obligations'),
|
|
4050
|
-
state: z.enum(['discharged', 'cancelled', 'snoozed']).describe('discharged = it happened; cancelled = it stopped mattering; snoozed = ask me later'),
|
|
4050
|
+
state: z.enum(['discharged', 'cancelled', 'snoozed', 'confirmed']).describe('discharged = it happened; cancelled = it stopped mattering (also dismisses a PROPOSAL); snoozed = ask me later; confirmed = the person accepts a PROPOSAL as theirs'),
|
|
4051
4051
|
resolution: z.string().optional().describe('REQUIRED for discharged/cancelled — how it ended'),
|
|
4052
4052
|
snoozed_until: z.string().optional().describe('REQUIRED for snoozed — ISO 8601'),
|
|
4053
4053
|
},
|
|
@@ -4063,6 +4063,7 @@ function renderNudge(payload) {
|
|
|
4063
4063
|
} catch (e) { return toolError(`Could not reach obligations: ${e.message}`) }
|
|
4064
4064
|
const out = await res.json().catch(() => null)
|
|
4065
4065
|
if (!res.ok) return toolError(`Could not resolve: ${out?.error ?? res.status}`)
|
|
4066
|
+
if (state === 'confirmed') return { content: [{ type: 'text', text: 'Confirmed: it is now something you owe, listed with the rest.' }] }
|
|
4066
4067
|
return { content: [{ type: 'text', text: state === 'snoozed' ? `Snoozed until ${snoozed_until}. It comes back on its own.` : `Marked ${state}: ${resolution}` }] }
|
|
4067
4068
|
},
|
|
4068
4069
|
)
|
package/package.json
CHANGED