@ziggs-ai/ziggs-mcp 0.1.13 → 0.1.14
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 +8 -2
- package/package.json +2 -2
package/dist/tools.js
CHANGED
|
@@ -38,6 +38,7 @@ async function writeArtifactStrict(creds, input) {
|
|
|
38
38
|
visibility: input.visibility,
|
|
39
39
|
chatId: input.chatId,
|
|
40
40
|
agreementId: input.agreementId,
|
|
41
|
+
taskId: input.taskId,
|
|
41
42
|
}),
|
|
42
43
|
});
|
|
43
44
|
if (!res.ok) {
|
|
@@ -311,8 +312,12 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
311
312
|
.string()
|
|
312
313
|
.optional()
|
|
313
314
|
.describe('Target agreement (xor chatId)'),
|
|
315
|
+
taskId: z
|
|
316
|
+
.string()
|
|
317
|
+
.optional()
|
|
318
|
+
.describe('Optional task — creates a TaskArtifactLink alongside the primary scope link'),
|
|
314
319
|
content_type: z.string().optional().describe('Default text'),
|
|
315
|
-
}, async ({ text, visibility, chatId, agreementId, content_type }) => {
|
|
320
|
+
}, async ({ text, visibility, chatId, agreementId, taskId, content_type }) => {
|
|
316
321
|
try {
|
|
317
322
|
if ((chatId && agreementId) || (!chatId && !agreementId)) {
|
|
318
323
|
return toolError('Pass exactly one of chatId or agreementId');
|
|
@@ -322,9 +327,10 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
322
327
|
visibility,
|
|
323
328
|
chatId,
|
|
324
329
|
agreementId,
|
|
330
|
+
taskId,
|
|
325
331
|
content_type,
|
|
326
332
|
});
|
|
327
|
-
return textResult({ ok: true, visibility, chatId, agreementId });
|
|
333
|
+
return textResult({ ok: true, visibility, chatId, agreementId, taskId });
|
|
328
334
|
}
|
|
329
335
|
catch (e) {
|
|
330
336
|
return toolError(e.message);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ziggs-ai/ziggs-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
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": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
37
|
-
"@ziggs-ai/api-client": "^0.1.
|
|
37
|
+
"@ziggs-ai/api-client": "^0.1.15",
|
|
38
38
|
"dotenv": "^16.6.1",
|
|
39
39
|
"zod": "^3.24.2"
|
|
40
40
|
},
|