@paigy/mcp 0.40.33 → 0.40.36
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/README.md +8 -6
- package/dist/{chunk-6YV42HAB.js → chunk-EDC5PD65.js} +808 -876
- package/dist/{chunk-WL5BT4E5.js → chunk-LO27ONPJ.js} +2 -2
- package/dist/{chunk-ZIDPFMB2.js → chunk-R3QKEB2X.js} +785 -818
- package/dist/{chunk-ZSZIECZW.js → chunk-XTMBFUIL.js} +1 -1
- package/dist/{dist-PPH5BD2P.js → dist-MKJUX54U.js} +3 -11
- package/dist/enable.js +3 -3
- package/dist/index.js +4 -4
- package/dist/listen.js +7 -7
- package/dist/onboard.js +4 -4
- package/dist/slot.js +1 -1
- package/dist/stalled.js +1 -1
- package/dist/statusline.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ Then pair: `PAIGY_AGENT=gemini npx -p @paigy/mcp@latest paigy-mcp-onboard`.
|
|
|
117
117
|
## Tools
|
|
118
118
|
|
|
119
119
|
One catalog, on every transport (2026-09-11): the agent tools are `AGENT_TOOLS` in
|
|
120
|
-
`packages/schema/src/tools.ts` — contact, manage_goals,
|
|
120
|
+
`packages/schema/src/tools.ts` — contact, manage_goals, get_goals, search, check_activity,
|
|
121
121
|
send_feedback — and both this server and the hosted MCP
|
|
122
122
|
(`apps/api/src/mcp`) publish that list and dispatch it through the SDK's one `runTool`.
|
|
123
123
|
This server adds only `configure`, the one identity tool, which pairs, reports who you are,
|
|
@@ -135,7 +135,9 @@ acknowledged with `ackEventIds`, and a Goal is postponed with manage_goals `defe
|
|
|
135
135
|
when its time comes). Durable Entries and accepted answers can
|
|
136
136
|
repeat on reads; contact with nothing to send receives what is addressed to you (a request the
|
|
137
137
|
user started toward you, an answer relayed to something you asked, a handoff, a question you owe) without
|
|
138
|
-
consuming any of it until you acknowledge it (`ackEventIds`)
|
|
138
|
+
consuming any of it until you acknowledge it (`ackEventIds`).
|
|
139
|
+
`get_goals({ goalIds: [id1, id2] })` reads one to ten Goals, returning `{ goals: [...] }`
|
|
140
|
+
in the requested order; `history` applies to every ID. It replaces `get_goal`.
|
|
139
141
|
`claim_goal` is gone (2026-10-07): you are on a Goal from your first write to it (a contact
|
|
140
142
|
naming it, or a manage_goals change), never from a read, so there is nothing to claim or join;
|
|
141
143
|
`who_is_working` is now `check_activity`. manage_goals creates, edits, assigns, organizes and closes work, a change at a
|
|
@@ -181,8 +183,8 @@ To launch an agent — any agent, not just Claude — when work arrives, set
|
|
|
181
183
|
| `PAIGY_WORK` | everything the wake found, as JSON (`deliveries`, `goal`) |
|
|
182
184
|
| `PAIGY_EVENT` | the wake that caused this run — `boot`, `wake:reply`, `wake:request`… |
|
|
183
185
|
| `PAIGY_PARENT_ID` | the thread to continue on (`PAIGY_THREAD_ID` is the same value, for existing scripts) |
|
|
184
|
-
| `PAIGY_DELIVERY_ID` | the Delivery being acted on (`
|
|
185
|
-
| `PAIGY_GOAL_ID` | the Goal it belongs to — read it with `
|
|
186
|
+
| `PAIGY_DELIVERY_ID` | the Delivery being acted on (`get_goals` on `PAIGY_GOAL_ID` reads its conversation) |
|
|
187
|
+
| `PAIGY_GOAL_ID` | the Goal it belongs to — read it with `get_goals` **first** |
|
|
186
188
|
| `PAIGY_TEXT` | what the person said, in prose |
|
|
187
189
|
|
|
188
190
|
Hand `$PAIGY_WORK` to a harness that can read JSON and decide for itself; use the
|
|
@@ -193,7 +195,7 @@ Goal" from "an empty id".
|
|
|
193
195
|
|
|
194
196
|
```sh
|
|
195
197
|
# Claude Code — hand it everything and let it plan:
|
|
196
|
-
PAIGY_ON_WAKE='claude -p "Handle the Paigy work in $PAIGY_WORK — read each Goal it names with
|
|
198
|
+
PAIGY_ON_WAKE='claude -p "Handle the Paigy work in $PAIGY_WORK — read each Goal it names with get_goals first."' \
|
|
197
199
|
npx -y -p @paigy/mcp paigy-listen --install
|
|
198
200
|
|
|
199
201
|
# Codex terminal session: no custom script and no new conversation.
|
|
@@ -237,7 +239,7 @@ script and branch on `$PAIGY_EVENT` there:
|
|
|
237
239
|
```sh
|
|
238
240
|
#!/bin/sh
|
|
239
241
|
# ~/.paigy/on-wake.sh — chmod +x, then PAIGY_ON_WAKE=~/.paigy/on-wake.sh
|
|
240
|
-
codex exec "Paigy goal $PAIGY_GOAL_ID. Read it with
|
|
242
|
+
codex exec "Paigy goal $PAIGY_GOAL_ID. Read it with get_goals first. The user said: $PAIGY_TEXT. Reply with contact when done."
|
|
241
243
|
```
|
|
242
244
|
|
|
243
245
|
## Stalled work (turn-end hook — Claude Code, Codex, Gemini CLI, Antigravity)
|