Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -0,0 +1,28 @@
import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
import { toToolError } from "./errors.js";
export function toolSuccess(structuredContent: Record<string, unknown>): CallToolResult {
return {
structuredContent,
content: [
{
type: "text",
text: JSON.stringify(structuredContent, null, 2),
},
],
};
}
export function toolFailure(error: unknown): CallToolResult {
const message = toToolError(error);
return {
isError: true,
content: [
{
type: "text",
text: message,
},
],
};
}