@ziggs-ai/ziggs-mcp 0.30.2 → 0.30.3
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/dist/tools.js +4 -5
- package/package.json +2 -2
- package/skills/ziggs/SKILL.md +1 -1
package/dist/tools.js
CHANGED
|
@@ -348,14 +348,13 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
348
348
|
chatId: z.string().optional().describe('Chat id for conversation history'),
|
|
349
349
|
taskId: z.string().optional().describe('Exact task to load bottom-up, without a chat'),
|
|
350
350
|
agreementId: z.string().optional().describe('Exact agreement scope; required if no task or chat is named'),
|
|
351
|
-
messageId: z.string().optional().describe('Exact incoming message that determines the work scope'),
|
|
352
351
|
artifactId: z.string().optional().describe('Exact triggering artifact to include alongside the work context'),
|
|
353
352
|
maxMessages: z.number().optional().describe('Optional message history cap'),
|
|
354
353
|
contextGrantId: z
|
|
355
354
|
.string()
|
|
356
355
|
.optional()
|
|
357
356
|
.describe('Optional grant id when reading under a context grant'),
|
|
358
|
-
}, readOnly('Catch up on a chat'), async ({ chatId, taskId, agreementId,
|
|
357
|
+
}, readOnly('Catch up on a chat'), async ({ chatId, taskId, agreementId, artifactId, maxMessages, contextGrantId }) => {
|
|
359
358
|
try {
|
|
360
359
|
if (!chatId && !taskId && !agreementId)
|
|
361
360
|
throw new Error('Name a taskId, agreementId, or chatId');
|
|
@@ -365,7 +364,7 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
365
364
|
// connection's lane when no chat is named.
|
|
366
365
|
const client = new ContextReadClient(creds.operatorKey, creds.agentId, undefined, chatId || creds.laneId);
|
|
367
366
|
const result = await client.snapshot(chatId ?? `agrn-${agreementId ?? taskId}`, {
|
|
368
|
-
taskId, agreementId,
|
|
367
|
+
taskId, agreementId, artifactId,
|
|
369
368
|
maxMessages,
|
|
370
369
|
contextGrantId,
|
|
371
370
|
});
|
|
@@ -441,7 +440,7 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
441
440
|
chatId: z
|
|
442
441
|
.string()
|
|
443
442
|
.optional()
|
|
444
|
-
.describe('Room to send in. Omit when using `to
|
|
443
|
+
.describe('Room to send in. Omit when using `to`. Explicit chatId wins over `to`.'),
|
|
445
444
|
to: z
|
|
446
445
|
.string()
|
|
447
446
|
.optional()
|
|
@@ -449,7 +448,7 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
449
448
|
receiverId: z
|
|
450
449
|
.string()
|
|
451
450
|
.optional()
|
|
452
|
-
.describe("Receiver id for the message.
|
|
451
|
+
.describe("Receiver id for the message. Leave it out to write back in this room, and name someone only when you mean them. To name a masked party, pass its `rpb_` ref as it came; do not look it up, wake it, or pay against it. With one other participant, they are the recipient. With several, Jev may select one when confident. Otherwise the message stays in the room with no specific wake. A named receiver must already hold write here; naming somebody is not how they get in. Pass 'human' to address the people in the room."),
|
|
453
452
|
conversationAgreementId: z.string().optional().describe('The agreement this message is under. Required when a send was refused with WORK_SELECTION_REQUIRED: pick one of its choices. Room history never selects it.'),
|
|
454
453
|
underAgreementId: z.string().optional().describe('The agreement authorizing your run. It follows you across rooms and does not make the recipient your customer.'),
|
|
455
454
|
taskId: z.string().optional().describe('Task being discussed; its agreement determines this message’s work scope.'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ziggs-ai/ziggs-mcp",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.3",
|
|
4
4
|
"description": "MCP server for Claude Code, Cursor, and other MCP hosts — act as your Ziggs delegate agent",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
42
|
-
"@ziggs-ai/api-client": "0.30.
|
|
42
|
+
"@ziggs-ai/api-client": "0.30.3",
|
|
43
43
|
"dotenv": "^16.6.1",
|
|
44
44
|
"zod": "^3.24.2",
|
|
45
45
|
"zod-to-json-schema": "^3.25.1"
|
package/skills/ziggs/SKILL.md
CHANGED
|
@@ -103,7 +103,7 @@ See [references/untrusted-input.md](references/untrusted-input.md).
|
|
|
103
103
|
When coordinating with another org’s delegate:
|
|
104
104
|
|
|
105
105
|
1. Inbox → read new messages in the shared chat. Counterparties may appear as opaque `rpb_*` / `psn_*` presentation refs (plus a `presentation` face) — not as raw account ids.
|
|
106
|
-
2.
|
|
106
|
+
2. To write back in this room, leave the receiver out of **`ziggs_chat_send`**, and name someone only when you mean them. To name a masked party, pass its `rpb_` ref as it came; do not look it up, wake it, or pay against it. Or drive **`ziggs_agreement_buy`** / **`ziggs_agreement_respond`** as appropriate.
|
|
107
107
|
3. Ack the handled envelope (`ackTo`) before ending the turn.
|
|
108
108
|
|
|
109
109
|
## Boarding checklist (cold session)
|