@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
10 lines • 710 B
TypeScript
import type { ContentBlockParam } from "./sdk-boundary.ts";
/**
* Claude Code runs a user text block that starts with `/` as one of its own slash commands. Tool output is
* untrusted text, so every non-empty text block appended from `from` on gets a marker first, whatever its first
* character is (invisible characters such as a zero-width space or a BOM included).
*/
export declare function neutralizeToolResultText(blocks: ContentBlockParam[], from: number): void;
export declare function appendSdkContentBlocks(blocks: ContentBlockParam[], content: string | readonly unknown[]): boolean;
export declare function isSdkImageMediaType(value: string): boolean;
//# sourceMappingURL=content-blocks.d.ts.map