@ziggs-ai/ziggs-mcp 0.37.11 → 0.37.13
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/workspaceRouting.js +8 -1
- package/package.json +8 -8
package/dist/workspaceRouting.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isDirectorySurface } from './directorySurface.js';
|
|
2
2
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
3
|
-
import { AssistantConnectionClient, withAssistantRequest, decodeOperatorKeyClaims, } from '@ziggs-ai/api-client';
|
|
3
|
+
import { AssistantConnectionClient, withAssistantRequest, decodeOperatorKeyClaims, parseRef, } from '@ziggs-ai/api-client';
|
|
4
4
|
import { formatInboxToolResult } from './inboxToolResult.js';
|
|
5
5
|
import { compactTextResult, windowNote } from './inboxCompact.js';
|
|
6
6
|
import { sessionRules } from './protocol/connectText.js';
|
|
@@ -103,6 +103,13 @@ export class WorkspaceRouter {
|
|
|
103
103
|
}
|
|
104
104
|
/** The existing thing a call is about, from the argument that names it. */
|
|
105
105
|
target(args) {
|
|
106
|
+
// open names its record by one ref; its kind is read from it. Without
|
|
107
|
+
// this the call had no target and fanned out to every workspace.
|
|
108
|
+
if (typeof args.ref === 'string' && args.ref.trim()) {
|
|
109
|
+
const ref = parseRef(args.ref);
|
|
110
|
+
if (ref)
|
|
111
|
+
return { kind: ref.kind, id: ref.id };
|
|
112
|
+
}
|
|
106
113
|
for (const [field, kind] of TARGET_FIELDS) {
|
|
107
114
|
const value = args[field];
|
|
108
115
|
if (typeof value === 'string' && value)
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ziggs-ai/ziggs-mcp",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.13",
|
|
4
4
|
"description": "MCP server for Claude Code, Cursor, and other MCP hosts \u2014 act as your Ziggs delegate agent",
|
|
5
|
+
"homepage": "https://ziggsai.com/docs",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://ziggsai.com/support"
|
|
8
|
+
},
|
|
5
9
|
"type": "module",
|
|
6
10
|
"bin": {
|
|
7
11
|
"ziggs-mcp": "./dist/index.js"
|
|
@@ -47,7 +51,7 @@
|
|
|
47
51
|
},
|
|
48
52
|
"dependencies": {
|
|
49
53
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
50
|
-
"@ziggs-ai/api-client": "0.37.
|
|
54
|
+
"@ziggs-ai/api-client": "0.37.13",
|
|
51
55
|
"dotenv": "^16.6.1",
|
|
52
56
|
"zod": "^3.24.2",
|
|
53
57
|
"zod-to-json-schema": "^3.25.1"
|
|
@@ -65,7 +69,7 @@
|
|
|
65
69
|
"cursor",
|
|
66
70
|
"model-context-protocol"
|
|
67
71
|
],
|
|
68
|
-
"license": "
|
|
72
|
+
"license": "Apache-2.0",
|
|
69
73
|
"files": [
|
|
70
74
|
"dist",
|
|
71
75
|
"README.md",
|
|
@@ -78,12 +82,8 @@
|
|
|
78
82
|
},
|
|
79
83
|
"repository": {
|
|
80
84
|
"type": "git",
|
|
81
|
-
"url": "https://github.com/ZiggsAI/
|
|
85
|
+
"url": "https://github.com/ZiggsAI/sdk.git",
|
|
82
86
|
"directory": "ziggs-mcp"
|
|
83
87
|
},
|
|
84
|
-
"homepage": "https://ziggsai.com/docs",
|
|
85
|
-
"bugs": {
|
|
86
|
-
"url": "https://ziggsai.com/support"
|
|
87
|
-
},
|
|
88
88
|
"mcpName": "io.github.ZiggsAI/ziggs"
|
|
89
89
|
}
|