@ziggs-ai/ziggs-mcp 0.37.8 → 0.37.9
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 +25 -24
- package/package.json +2 -2
package/dist/tools.js
CHANGED
|
@@ -880,31 +880,31 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
880
880
|
.array(z.string())
|
|
881
881
|
.optional()
|
|
882
882
|
.describe('Task ids this task waits for. It is created now but its assignee is not woken, and cannot start it, until every task named here has finished — so you can state a join up front (four probes and a synthesis that waits on all four) instead of polling for each one and creating the next yourself. Releases when ALL of them are terminal, whatever state each reached; what a failed dependency means is your call. You must be able to read a task to name it here.'),
|
|
883
|
-
|
|
884
|
-
.
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
.optional()
|
|
899
|
-
.describe('A yes/no question over the results of the nodes this one waits on, such as "Does the review report at least one bug?". On yes the node runs; on no it is skipped, and nodes waiting on it go ahead. When the answer is unclear it waits for the buyer. Needs waitsOn.'),
|
|
900
|
-
}))
|
|
883
|
+
closesBy: z
|
|
884
|
+
.enum(['result', 'children'])
|
|
885
|
+
.optional()
|
|
886
|
+
.describe('How this task closes, fixed now. children (the default with children): a job, never handed out, that closes when its children close. result (the default otherwise): closes by its own result.'),
|
|
887
|
+
children: z
|
|
888
|
+
.array(z.object({
|
|
889
|
+
name: z.string().min(1).max(200),
|
|
890
|
+
agreementId: z.string(),
|
|
891
|
+
description: z.string().min(1),
|
|
892
|
+
title: z.string().max(80).optional(),
|
|
893
|
+
assigneeId: z.string().optional(),
|
|
894
|
+
waitsOn: z.array(z.string()).optional(),
|
|
895
|
+
joinKind: z.enum(['all', 'any']).optional(),
|
|
896
|
+
runIf: z
|
|
897
|
+
.string()
|
|
901
898
|
.min(1)
|
|
902
|
-
.max(
|
|
899
|
+
.max(500)
|
|
900
|
+
.optional()
|
|
901
|
+
.describe('A yes/no question over the results of the children this one waits on, such as "Does the review report at least one bug?". On yes it runs; on no it is skipped, and children waiting on it go ahead. When the answer is unclear it waits for the buyer. Needs waitsOn.'),
|
|
903
902
|
inputArtifactIds: z.array(z.string()).optional(),
|
|
904
|
-
|
|
905
|
-
|
|
903
|
+
}))
|
|
904
|
+
.min(1)
|
|
905
|
+
.max(100)
|
|
906
906
|
.optional()
|
|
907
|
-
.describe('
|
|
907
|
+
.describe('Children created with this task, all or none. waitsOn names sibling names. The answer maps each name to its task id. This task\'s inputArtifactIds go to children that wait on nothing; planReviewTiming before_execution holds every child until this task\'s plan is acknowledged. runIf makes a child conditional on what the children before it found.'),
|
|
908
908
|
// POST /tasks and the SDK's task_create have always taken
|
|
909
909
|
// these three; only this surface hid them, so an agent on MCP had to
|
|
910
910
|
// create-then-replace_plan even when it already knew the steps.
|
|
@@ -962,7 +962,7 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
962
962
|
.optional()
|
|
963
963
|
.describe('How often the holder may remind, and how many times at most. Both halves are required together: a cadence with no budget is refused, because one reminder is one wake and a rule that never says stop is an open-ended loop. Omit entirely for a task nobody needs reminding about.'),
|
|
964
964
|
sources: sourcesField(),
|
|
965
|
-
}, write('Create a task'), async ({ agreementId, description, title, parentTaskId, assigneeId, inputArtifactIds, waitsOn,
|
|
965
|
+
}, write('Create a task'), async ({ agreementId, description, title, parentTaskId, assigneeId, inputArtifactIds, waitsOn, closesBy, children, plan, planReviewTiming, requireMidWorkPlanAck, dueAt, checkBack, sources, }) => {
|
|
966
966
|
try {
|
|
967
967
|
const task = await createTask({
|
|
968
968
|
...(sources ? { sources: sources } : {}),
|
|
@@ -973,7 +973,8 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
973
973
|
assigneeId,
|
|
974
974
|
inputArtifactIds,
|
|
975
975
|
waitsOn,
|
|
976
|
-
|
|
976
|
+
closesBy,
|
|
977
|
+
children,
|
|
977
978
|
plan,
|
|
978
979
|
planReviewTiming,
|
|
979
980
|
requireMidWorkPlanAck,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ziggs-ai/ziggs-mcp",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.9",
|
|
4
4
|
"description": "MCP server for Claude Code, Cursor, and other MCP hosts \u2014 act as your Ziggs delegate agent",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
50
|
-
"@ziggs-ai/api-client": "0.37.
|
|
50
|
+
"@ziggs-ai/api-client": "0.37.9",
|
|
51
51
|
"dotenv": "^16.6.1",
|
|
52
52
|
"zod": "^3.24.2",
|
|
53
53
|
"zod-to-json-schema": "^3.25.1"
|