UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

19 lines • 470 B
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { McpResponse } from './McpResponse.js'; export class SlimMcpResponse extends McpResponse { async handle(_context) { const text = { type: 'text', text: this.responseLines.join('\n'), }; return { content: [text], structuredContent: text, }; } } //# sourceMappingURL=SlimMcpResponse.js.map