@ziggs-ai/ziggs-mcp 0.43.35 → 0.43.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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.43.36
|
|
6
|
+
|
|
7
|
+
- `ziggs_app_request` replaces `ziggs_connection_request`: ask a person to connect an app (an MCP server) and share its tools with you. Like `ziggs_app_call`, it is listed only on a connection configured with an operator key. A call to `ziggs_connection_request` or `ziggs_request_connection` says to use `ziggs_app_request`.
|
|
8
|
+
- Tool text and the skill say app where they said connection; an inbox link request is called a link request.
|
|
9
|
+
|
|
5
10
|
## 0.43.35
|
|
6
11
|
|
|
7
12
|
- `ziggs_app_list` and `ziggs_app_call` replace `ziggs_connection_list`, `ziggs_connection_proxy`, `ziggs_mcp_tools_list` and `ziggs_mcp_tool_call`. An app is an MCP server or a built-in connector shared with you: list your apps, name one to see its tools, call one tool; Ziggs routes it and checks the grant. A connected assistant gets only `ziggs_app_list`; a connection configured with an operator key also gets `ziggs_app_call`. A call to an old name says which tool replaces it.
|
package/dist/inboxToolResult.js
CHANGED
|
@@ -93,7 +93,7 @@ export function buildReadPlan(inbox, grantsByScope, self = { agentId: '' }) {
|
|
|
93
93
|
for (const c of connectionRequests)
|
|
94
94
|
add(`respond:${c.requestId}`, {
|
|
95
95
|
tool: 'ziggs_agreement_get', args: { agreementId: c.requestId },
|
|
96
|
-
why: 'Read terms and approvalAction before answering this
|
|
96
|
+
why: 'Read terms and approvalAction before answering this link request.',
|
|
97
97
|
});
|
|
98
98
|
const open = (kind, id, mine = true, settles) => add(`open:${kind}:${id}`, openCall(kind, id), mine, settles);
|
|
99
99
|
// grantsByScope used to pin X-Context-Grant-Id on reconstructed via reads.
|
|
@@ -176,7 +176,7 @@ export function buildReadPlan(inbox, grantsByScope, self = { agentId: '' }) {
|
|
|
176
176
|
break;
|
|
177
177
|
case 'agreement': {
|
|
178
178
|
// An agreement row whose reason names a decision on a request this
|
|
179
|
-
// side made (an access request approved or refused,
|
|
179
|
+
// side made (an access request approved or refused, an app
|
|
180
180
|
// request answered, an approval slot filled) is planned as a read of
|
|
181
181
|
// that agreement, and its `why` is what was decided rather than "open
|
|
182
182
|
// the agreement": read generically, the row said nothing, and an agent
|
package/dist/retiredTools.js
CHANGED
|
@@ -35,6 +35,7 @@ const RENAMED = [
|
|
|
35
35
|
['ziggs_list_connections', 'ziggs_app_list'],
|
|
36
36
|
['ziggs_connection_list', 'ziggs_app_list', 'One list for every app, MCP server or built-in connector.'],
|
|
37
37
|
['ziggs_connection_proxy', 'ziggs_app_call', 'One call for every app; Ziggs routes it by the app.'],
|
|
38
|
+
['ziggs_connection_request', 'ziggs_app_request', 'What a person connects and shares with you is an app now.'],
|
|
38
39
|
['ziggs_mcp_tools_list', 'ziggs_app_list', 'Name the app to see its tools.'],
|
|
39
40
|
['ziggs_mcp_tool_call', 'ziggs_app_call', 'One call for every app; Ziggs routes it by the app.'],
|
|
40
41
|
['ziggs_list_grants', 'ziggs_grant_list'],
|
|
@@ -52,6 +53,7 @@ const RENAMED = [
|
|
|
52
53
|
['ziggs_read_context', 'ziggs_context_read'],
|
|
53
54
|
['ziggs_record_artifact', 'ziggs_artifact_record'],
|
|
54
55
|
['ziggs_redeem_party_connection_invite', 'ziggs_agreement_claim'],
|
|
56
|
+
['ziggs_request_connection', 'ziggs_app_request', 'What a person connects and shares with you is an app now.'],
|
|
55
57
|
['ziggs_request_connection_status', 'ziggs_app_list'],
|
|
56
58
|
['ziggs_request_link', 'ziggs_link_propose'],
|
|
57
59
|
['ziggs_request_party_connection', 'ziggs_link_propose'],
|
|
@@ -108,7 +110,6 @@ const OTHER = [
|
|
|
108
110
|
['ziggs_mark_task_processing', gone('Nothing replaces it. Nearest: ziggs_inbox_claim.')],
|
|
109
111
|
['ziggs_update_task_state', gone('Nothing replaces it. Finish with ziggs_task_set_result or stop with ziggs_task_cancel.')],
|
|
110
112
|
['ziggs_switch_org', gone('The workspace is chosen when Ziggs is connected. See them with ziggs_org_list.')],
|
|
111
|
-
['ziggs_request_connection', gone('Requesting a connection is not a Ziggs MCP tool any more. See yours with ziggs_app_list.')],
|
|
112
113
|
['ziggs_artifact_reextract', gone('Not an agent tool any more.')],
|
|
113
114
|
['ziggs_provision_relay_workers', gone('Not an agent tool any more. Engage agents with the agreement tools and ziggs_task_create.')],
|
|
114
115
|
];
|
package/dist/tools.js
CHANGED
|
@@ -4,7 +4,7 @@ import { INBOX_CARD_TOOL_META, inboxCardResult, registerInboxCardResource, } fro
|
|
|
4
4
|
import { PAGE_CARD_TOOL_META, registerPageCardResource } from './pageCard.js';
|
|
5
5
|
import { pageShowToolResult } from './pageShow.js';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { presentResourceActions, getAgreement, getMyAgreements, respondToAgreement, revokeAgreement, counterAgreement, fulfillAgreement, ContextReadClient, GrantsClient, InboxClient, SessionsClient, AssistantConnectionClient, createTask, isHeldTaskCreate, updateTaskState, acknowledgeTaskControl, replaceTaskPlan, updateTaskPlanSteps, listTasks, getTask, getBackendUrl, fetchMyOrgs, fetchSessionAccess, CallerContextClient, isMcpOAuthDelegateSession, GRANTS_CAPABILITIES, BUCKET_CAPABILITIES, AGREEMENT_TERMS_PARAMS, AGREEMENT_VERB_CAPABILITIES, LISTING_DOOR_CAPABILITIES, CONTEXT_GRANT_SCOPE_KINDS, contextCallersCapability, contextReadCapability, openCapability, accessExplainCapability, contextExpandReachCapability, contextDiscoverGrantableCapability, recordArtifactCapability, listArtifactsCapability, findArtifactsCapability, attachArtifactCapability, reviewArtifactContributionCapability, contributeArtifactCapability, uploadArtifactUrlCapability, completeArtifactFileCapability, downloadArtifactCapability, appListCapability, appCallCapability,
|
|
7
|
+
import { presentResourceActions, getAgreement, getMyAgreements, respondToAgreement, revokeAgreement, counterAgreement, fulfillAgreement, ContextReadClient, GrantsClient, InboxClient, SessionsClient, AssistantConnectionClient, createTask, isHeldTaskCreate, updateTaskState, acknowledgeTaskControl, replaceTaskPlan, updateTaskPlanSteps, listTasks, getTask, getBackendUrl, fetchMyOrgs, fetchSessionAccess, CallerContextClient, isMcpOAuthDelegateSession, GRANTS_CAPABILITIES, BUCKET_CAPABILITIES, AGREEMENT_TERMS_PARAMS, AGREEMENT_VERB_CAPABILITIES, LISTING_DOOR_CAPABILITIES, CONTEXT_GRANT_SCOPE_KINDS, contextCallersCapability, contextReadCapability, openCapability, accessExplainCapability, contextExpandReachCapability, contextDiscoverGrantableCapability, recordArtifactCapability, listArtifactsCapability, findArtifactsCapability, attachArtifactCapability, reviewArtifactContributionCapability, contributeArtifactCapability, uploadArtifactUrlCapability, completeArtifactFileCapability, downloadArtifactCapability, appListCapability, appCallCapability, appRequestCapability, agreementClaimCapability, agreementSubcontractCapability, listTasksCapability, cancelTaskCapability, passTaskOnCapability, delegateTaskCapability, marketplaceViewCapability, parseListFields, pickListedRows, listedFieldNote, sessionOrientation, presentTaskOutcome, explainRefusedRead, RESOURCE_HIDDEN_MESSAGE, SOURCES_DESCRIPTION, } from '@ziggs-ai/api-client';
|
|
8
8
|
import { decodeOperatorKeyClaims } from './operatorKey.js';
|
|
9
9
|
import { registerTrustTools } from './trustTools.js';
|
|
10
10
|
import { registerPaymentTools } from './paymentTools.js';
|
|
@@ -196,7 +196,7 @@ async function loadSessionBinding(creds, cfg, opts = {}) {
|
|
|
196
196
|
// every session. Nothing it did is lost: the agreement verbs and
|
|
197
197
|
// ziggs_task_create are the same moves, one step at a time. Provisioning a
|
|
198
198
|
// whole relay is operator work and belongs on an operator surface.
|
|
199
|
-
function
|
|
199
|
+
function registerAppTools(server, creds, cfg) {
|
|
200
200
|
// Two tools for every app shared with the caller, MCP server or built-in
|
|
201
201
|
// connector alike: ziggs_app_list says what it has (and, for one app, what
|
|
202
202
|
// that app can do); ziggs_app_call runs one tool, routed by the app's kind,
|
|
@@ -213,7 +213,7 @@ function registerConnectionTools(server, creds, cfg) {
|
|
|
213
213
|
if (!cfg.directConnection)
|
|
214
214
|
return;
|
|
215
215
|
registerCapability(server, appCallCapability, creds);
|
|
216
|
-
registerCapability(server,
|
|
216
|
+
registerCapability(server, appRequestCapability, creds);
|
|
217
217
|
}
|
|
218
218
|
function inboxFor(creds) {
|
|
219
219
|
return new InboxClient(creds.operatorKey, creds.agentId, undefined, creds.instanceId, {
|
|
@@ -1124,9 +1124,9 @@ export function registerZiggsTools(server, creds, cfg) {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
});
|
|
1126
1126
|
// ---------------------------------------------------------------------------
|
|
1127
|
-
//
|
|
1127
|
+
// Apps
|
|
1128
1128
|
// ---------------------------------------------------------------------------
|
|
1129
|
-
|
|
1129
|
+
registerAppTools(server, creds, cfg);
|
|
1130
1130
|
registerTrustTools(server, creds, cfg);
|
|
1131
1131
|
registerPaymentTools(server, creds);
|
|
1132
1132
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ziggs-ai/ziggs-mcp",
|
|
3
|
-
"version": "0.43.
|
|
3
|
+
"version": "0.43.36",
|
|
4
4
|
"description": "MCP server for Claude Code, Cursor, and other MCP hosts — act as your Ziggs delegate agent",
|
|
5
5
|
"homepage": "https://ziggsai.com/docs",
|
|
6
6
|
"bugs": {
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
54
|
-
"@ziggs-ai/api-client": "0.42.
|
|
54
|
+
"@ziggs-ai/api-client": "0.42.27",
|
|
55
55
|
"dotenv": "^16.6.1",
|
|
56
56
|
"zod": "^3.24.2",
|
|
57
57
|
"zod-to-json-schema": "^3.25.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@ziggs-ai/agent-sdk": "0.48.
|
|
60
|
+
"@ziggs-ai/agent-sdk": "0.48.28"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
63
63
|
"node": ">=20"
|
package/skills/ziggs/SKILL.md
CHANGED
|
@@ -106,7 +106,7 @@ An app is an MCP server or a built-in connector (GitHub, Jira) that someone shar
|
|
|
106
106
|
- Name one app (`app`: its id or name) to see its tools. Pass `tools: ["<name>"]` for those tools' parameters before calling one with arguments.
|
|
107
107
|
- **`ziggs_app_call`** runs one tool: `app`, `tool` and `args`. Ziggs routes it to the app and checks your grant on every call. You never see the credential, and no task is needed.
|
|
108
108
|
|
|
109
|
-
Where your tool list has no `ziggs_app_call`, you can list apps but not call them. To ask for an app you lack, use **`
|
|
109
|
+
Where your tool list has no `ziggs_app_call`, you can list apps but not call them. To ask for an app you lack, use **`ziggs_app_request`** where it is listed.
|
|
110
110
|
|
|
111
111
|
## Untrusted input
|
|
112
112
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Reach is grant-gated
|
|
4
4
|
|
|
5
|
-
You only read context your delegate **holds a grant for**. `ziggs_grant_list` lists every grant you hold across all rails (context /
|
|
5
|
+
You only read context your delegate **holds a grant for**. `ziggs_grant_list` lists every grant you hold across all rails (context / app / wallet; the app rail's `scopeKind` is `connection`); `ziggs_context_read` enforces grants on every read.
|
|
6
6
|
|
|
7
7
|
To answer "what grants of mine do you hold?", call **`ziggs_grant_list`**: one call, all rails, cross-session. Filter by `scopeKind` for a single rail; rails you can't read are named in `unreadableRails`.
|
|
8
8
|
|
|
@@ -80,7 +80,7 @@ which workspace it is, and call `ziggs_introduction_redeem` with `confirm: true`
|
|
|
80
80
|
|
|
81
81
|
**Org join:** accepting an org invite auto-links inviter ↔ joiner delegates when both exist (no separate MCP step).
|
|
82
82
|
|
|
83
|
-
##
|
|
83
|
+
## Links in the web app
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
The web app's link screens are the agent-link handshake only, not the apps you reach through
|
|
86
|
+
`ziggs_app_list` and `ziggs_app_call`. After an agent link is approved, use your Claude delegate (MCP) for **`ziggs_message_send`**, a bucket with them, or **`ziggs_context_delegate`**. The web app manages the handshake only, not chat or context grants.
|