@ziggs-ai/ziggs-mcp 0.9.7 → 0.9.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.
Files changed (2) hide show
  1. package/dist/tools.js +12 -3
  2. package/package.json +3 -3
package/dist/tools.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { randomUUID } from 'node:crypto';
2
2
  import { z } from 'zod';
3
- import { getAgreement, getMyAgreements, listMyChats, proposeUnified, delegateAgreement, provisionRelayWorkers, respondToAgreement, revokeAgreement, counterAgreement, fulfillAgreement, sendChatMessage, ConnectionsClient, PaymentsClient, ContextReadClient, GrantsClient, InboxClient, createTask, updateTaskState, replaceTaskPlan, listTasks, getTask, getBackendUrl, fetchMyOrgs, fetchSessionAccess, isMcpOAuthDelegateAgentId, GRANTS_CAPABILITIES, CONTEXT_GRANT_SCOPE_KINDS, contextReadCapability, contextExpandReachCapability, contextDiscoverGrantableCapability, recordArtifactCapability, listArtifactsCapability, shareArtifactCapability, attachArtifactCapability, uploadArtifactUrlCapability, completeArtifactFileCapability, downloadArtifactCapability, reextractArtifactCapability, openConversationCapability, connectionProxyCapability, requestConnectionCapability, agreementClaimCapability, marketplaceViewCapability, } from '@ziggs-ai/api-client';
3
+ import { getAgreement, getMyAgreements, listMyChats, proposeUnified, delegateAgreement, provisionRelayWorkers, respondToAgreement, revokeAgreement, counterAgreement, fulfillAgreement, sendChatMessage, ConnectionsClient, PaymentsClient, ContextReadClient, GrantsClient, InboxClient, createTask, updateTaskState, replaceTaskPlan, listTasks, getTask, getBackendUrl, fetchMyOrgs, fetchSessionAccess, isMcpOAuthDelegateAgentId, AGREEMENT_PROPOSE_PROVIDER_ID_DESCRIPTION, GRANTS_CAPABILITIES, CONTEXT_GRANT_SCOPE_KINDS, contextReadCapability, contextExpandReachCapability, contextDiscoverGrantableCapability, recordArtifactCapability, listArtifactsCapability, shareArtifactCapability, attachArtifactCapability, uploadArtifactUrlCapability, completeArtifactFileCapability, downloadArtifactCapability, reextractArtifactCapability, openConversationCapability, connectionProxyCapability, requestConnectionCapability, agreementClaimCapability, marketplaceViewCapability, } from '@ziggs-ai/api-client';
4
4
  import { decodeOperatorKeyClaims } from './operatorKey.js';
5
5
  import { registerTrustTools } from './trustTools.js';
6
6
  import { registerPaymentTools } from './paymentTools.js';
@@ -449,7 +449,7 @@ export function registerZiggsTools(server, creds, cfg) {
449
449
  providerId: z
450
450
  .string()
451
451
  .optional()
452
- .describe('Who does the work. Direct: omitted = proposedTo (commission), your id = offer, another id = broker. Broadcast: omitted = quest, your id = standing offer. With parentAgreementId = an active hire and this set to its provider, the proposal is a HAND-OFF: the provider stays pinned and proposedTo/claimer is the customer.'),
452
+ .describe(`${AGREEMENT_PROPOSE_PROVIDER_ID_DESCRIPTION} With parentAgreementId = an active hire and this set to its provider, the proposal is a HAND-OFF: the provider stays pinned and proposedTo/claimer is the customer.`),
453
453
  price: z
454
454
  .number()
455
455
  .optional()
@@ -801,7 +801,7 @@ export function registerZiggsTools(server, creds, cfg) {
801
801
  return toolError(e);
802
802
  }
803
803
  });
804
- registerStrictTool(server, 'ziggs_task_replace_plan', 'Replace the plan for a task with the full ordered step list you provide — existing steps are replaced wholesale, not appended to. Use this to post progress: resend the whole plan with completed steps marked in their descriptions.', {
804
+ registerStrictTool(server, 'ziggs_task_replace_plan', 'Replace the plan for a task with the full ordered step list you provide — existing steps are replaced wholesale, not appended to. Post progress by resending the whole plan with each step\'s status set (pending | in_progress | completed | skipped). Do not encode progress in description text.', {
805
805
  taskId: z.string(),
806
806
  steps: z
807
807
  .array(z.object({
@@ -816,6 +816,15 @@ export function registerZiggsTools(server, creds, cfg) {
816
816
  .int()
817
817
  .optional()
818
818
  .describe('Position in the plan. Omit to use the array index.'),
819
+ // ZIG-1313: progress on the step, not in the description string.
820
+ status: z
821
+ .enum(['pending', 'in_progress', 'completed', 'skipped'])
822
+ .optional()
823
+ .describe('Step progress. Omit for pending. Mark completed/in_progress as you work so finishing the task leaves finished steps finished.'),
824
+ result: z
825
+ .unknown()
826
+ .optional()
827
+ .describe('Optional step output stored with this replace.'),
819
828
  }))
820
829
  .describe('Full replacement step list (ordered)'),
821
830
  }, WRITE, async ({ taskId, steps }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/ziggs-mcp",
3
- "version": "0.9.7",
3
+ "version": "0.9.9",
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": {
@@ -38,12 +38,12 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@modelcontextprotocol/sdk": "^1.29.0",
41
- "@ziggs-ai/api-client": "0.9.7",
41
+ "@ziggs-ai/api-client": "0.9.9",
42
42
  "dotenv": "^16.6.1",
43
43
  "zod": "^3.24.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@ziggs-ai/agent-sdk": "0.10.7"
46
+ "@ziggs-ai/agent-sdk": "0.10.8"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=20"