@ziggs-ai/ziggs-mcp 0.2.0 → 0.3.0

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 +2 -2
  2. package/package.json +3 -3
package/dist/tools.js CHANGED
@@ -135,7 +135,7 @@ function resolveOrgSelector(orgs, selector) {
135
135
  * every connection grant this agent holds, grouped by connection so
136
136
  * ziggs_connection_proxy's connectionId/grantId no longer has to arrive out of
137
137
  * band. `provider` comes from the grant's resolved scope label. The response is
138
- * scanned defensively for leaked secrets, as proxyConnection does.
138
+ * scanned defensively for leaked secrets, as ConnectionsClient.proxy does.
139
139
  */
140
140
  async function listConnectionsForHolder(creds) {
141
141
  const client = new GrantsClient(creds.operatorKey, creds.agentId);
@@ -742,7 +742,7 @@ export function registerZiggsTools(server, creds, cfg) {
742
742
  return toolError(e.message);
743
743
  }
744
744
  });
745
- server.tool('ziggs_discover_grantable', 'See what context EXISTS in your orgs that you CANNOT read yet — so you can ask for it instead of failing blind. Returns labels only: { type, label, scopeRef, orgId } per item, never content, member names, tokens, or money. Bounded to orgs you have an active agreement in. To act on one, ask your human to grant it, or (if you hold a broader grant of your own) delegate via ziggs_delegate_grant using the scopeRef. Use ziggs_list_grants for what you already hold; this is what you lack.', {}, READ_ONLY, async () => {
745
+ server.tool('ziggs_discover_grantable', 'See what context EXISTS in your orgs that you CANNOT read yet — so you can ask for it instead of failing blind. Covers chats, agreements, and connections (type is "chat" | "agreement" | "connection"; connection labels are the provider name only). Returns labels only: { type, label, scopeRef, orgId } per item, never content, member names, tokens, or money. Bounded to orgs you have an active agreement in. To act on one, ask your human to grant it, or (if you hold a broader grant of your own) delegate via ziggs_delegate_grant using the scopeRef. Use ziggs_list_grants for what you already hold; this is what you lack.', {}, READ_ONLY, async () => {
746
746
  try {
747
747
  const client = new ContextDiscoveryClient(creds.operatorKey, creds.agentId);
748
748
  const items = await client.discoverGrantable();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/ziggs-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
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": {
@@ -36,12 +36,12 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@modelcontextprotocol/sdk": "^1.29.0",
39
- "@ziggs-ai/api-client": "^0.2.0",
39
+ "@ziggs-ai/api-client": "^0.3.0",
40
40
  "dotenv": "^16.6.1",
41
41
  "zod": "^3.24.2"
42
42
  },
43
43
  "devDependencies": {
44
- "@ziggs-ai/agent-sdk": "^0.3.0"
44
+ "@ziggs-ai/agent-sdk": "^0.4.0"
45
45
  },
46
46
  "engines": {
47
47
  "node": ">=20"