import crypto from "node:crypto"; import { runBeforeToolCallHook, type HookContext } from "../agents/pi-tools.before-tool-call.js"; import { formatErrorMessage } from "../infra/errors.js"; import {
MCP_LOOPBACK_SERVER_NAME,
MCP_LOOPBACK_SERVER_VERSION,
MCP_LOOPBACK_SUPPORTED_PROTOCOL_VERSIONS,
jsonRpcError,
jsonRpcResult,
type JsonRpcRequest,
} from "./mcp-http.protocol.js"; import type { McpLoopbackTool, McpToolSchemaEntry } from "./mcp-http.schema.js";
type McpTextContent = {
type: "text";
text: string;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.