UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

24 lines • 1.25 kB
import { type ChildProcess } from "node:child_process"; export interface ToolChildCommand { readonly command: string; readonly args: readonly string[]; } /** * How this engine re-enters itself as a tool child: a compiled binary boots its embedded entry with the role in its * environment, an interpreted install runs its own CLI entry under the same runtime. Never a PATH lookup. */ export declare function toolChildCommand(compiled?: boolean): Promise<ToolChildCommand>; /** The dedicated role entry beside the CLI entry, so an interpreted child parses none of the CLI graph. */ export declare function toolChildEntryPath(cliMainPath?: string): Promise<string>; export declare function spawnToolChild(options: { readonly generation: number; readonly channelEnv: Readonly<Record<string, string>>; readonly env: NodeJS.ProcessEnv; readonly command: ToolChildCommand; readonly cwd: string; /** Where both sides write payload references (`<root>/<generation>/`); the server owns and tears it down. */ readonly refsRoot: string; /** This generation's ledger: the child sweeps the owned groups it names if its host disappears. */ readonly ledgerPath: string; }): ChildProcess; //# sourceMappingURL=launch.d.ts.map