@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 666 B
TypeScript
/**
* Lazy boundary for `@earendil-works/pi-pty` (and `@xterm/headless`).
*
* pi-pty's screen model evaluates `@xterm/headless` at module load. senpi's CLI imports this package on its startup
* graph (the built-in tools), and that graph must not reach pi-pty or xterm (coding-agent's 1781-lazy-pty
* regression test), so the in-process holder awaits {@link loadPty} on its first spawn instead of importing it.
*
* Same pattern as coding-agent's `core/extensions/builtin/terminal/pty.lazy.ts`.
*/
type PtyModule = typeof import("@earendil-works/pi-pty");
export declare function loadPty(): Promise<PtyModule>;
export {};
//# sourceMappingURL=pty.lazy.d.ts.map