@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 715 B
TypeScript
import type { AvailableTool, SharedSections } from "./types.ts";
/**
* Lists only tools that carry a snippet; callers pass snippets solely for tools whose schema the model
* does not see described, so a tool's own description is never restated here (senpi#5335). With no
* listed tool and no guideline the section renders empty. `sharedSections: "full"` keeps the pre-diet
* shape: the heading always renders, with `(none)` when no tool is listed (senpi#5665).
*/
export declare function buildToolSection(options: {
tools: AvailableTool[];
toolSnippets: Record<string, string>;
promptGuidelines?: string[];
sharedSections?: SharedSections;
}): string;
//# sourceMappingURL=tool-section.d.ts.map