// Copyright (c) 2026 Modelware. All rights reserved.
import { BaseMarkdownBlockRenderer } from './renderer.js';
export class MessageMarkdownBlockRenderer extends BaseMarkdownBlockRenderer {
    canRender(_result) {
        return true;
    }
    render(result) {
        const container = this.createResultContainer(result.status);
        const text = result.message ?? (result.status === 'unimplemented' ? 'Not implemented.' : 'Execution failed.');
        container.appendChild(this.createMessageContainer(text));
        return container;
    }
}
//# sourceMappingURL=message-renderer.js.map