@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
12 lines • 612 B
TypeScript
import { type HostSessionRequest } from "../modes/rpc/host-session-runner.ts";
type CommandArgs<T> = T extends HostSessionRequest ? Omit<T, "target" | "spec"> : never;
export interface ParsedHostSessionArgs {
readonly command: CommandArgs<HostSessionRequest>;
readonly socket?: string;
readonly specPath?: string;
readonly keyRoot?: string;
}
export declare function parseHostSessionArgs(args: readonly string[]): ParsedHostSessionArgs | string;
export declare function runHostSessionCommand(args: readonly string[]): Promise<number>;
export {};
//# sourceMappingURL=host-session-command.d.ts.map