@ziggs-ai/ziggs-mcp 0.32.0 → 0.32.1
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/toolError.d.ts +3 -0
- package/dist/toolError.js +3 -0
- package/package.json +3 -3
package/dist/toolError.d.ts
CHANGED
|
@@ -30,6 +30,9 @@ export declare function classifyToolError(input: unknown): ToolErrorShape;
|
|
|
30
30
|
* A plain string is still accepted for refusals this layer raises on its own.
|
|
31
31
|
*/
|
|
32
32
|
export declare function toolError(input: unknown): {
|
|
33
|
+
structuredContent: {
|
|
34
|
+
error: ToolErrorShape;
|
|
35
|
+
};
|
|
33
36
|
content: {
|
|
34
37
|
type: "text";
|
|
35
38
|
text: string;
|
package/dist/toolError.js
CHANGED
|
@@ -151,6 +151,9 @@ function classify(input) {
|
|
|
151
151
|
export function toolError(input) {
|
|
152
152
|
const shape = classifyToolError(input);
|
|
153
153
|
return {
|
|
154
|
+
// Keep the native structured result identical to the text payload so hosts
|
|
155
|
+
// do not need to infer an error category from isError or parse its prose.
|
|
156
|
+
structuredContent: { error: shape },
|
|
154
157
|
content: [
|
|
155
158
|
{ type: 'text', text: JSON.stringify({ error: shape }, null, 2) },
|
|
156
159
|
],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ziggs-ai/ziggs-mcp",
|
|
3
|
-
"version": "0.32.
|
|
4
|
-
"description": "MCP server for Claude Code, Cursor, and other MCP hosts
|
|
3
|
+
"version": "0.32.1",
|
|
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": {
|
|
7
7
|
"ziggs-mcp": "./dist/index.js"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
42
|
-
"@ziggs-ai/api-client": "0.32.
|
|
42
|
+
"@ziggs-ai/api-client": "0.32.1",
|
|
43
43
|
"dotenv": "^16.6.1",
|
|
44
44
|
"zod": "^3.24.2",
|
|
45
45
|
"zod-to-json-schema": "^3.25.1"
|