@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 724 B
TypeScript
import type { KernelPreludeContribution } from "./types.ts";
export declare class KernelPreludeCollisionError extends Error {
readonly name = "KernelPreludeCollisionError";
readonly toolName: string;
readonly collidingExport: string;
constructor(toolName: string, collidingExport: string);
}
/**
* The `kernelPrelude` a tool projects through `getAllTools()`. Throws when an export would shadow a built-in kernel
* helper or a `__`-prefixed kernel internal, since installing it would break every later cell.
*/
export declare function projectKernelPrelude(toolName: string, prelude: KernelPreludeContribution | undefined): KernelPreludeContribution | undefined;
//# sourceMappingURL=kernel-prelude.d.ts.map