@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 631 B
TypeScript
import type { EnsuredHost } from "./host-ensure.ts";
import { type HostOutcome } from "./host-outcome.ts";
import type { RpcClient } from "./rpc-client.ts";
export interface HostSessionOpen {
cwd: string;
model?: {
provider: string;
id: string;
};
name?: string;
prompt?: string;
}
/** Open a retained session; a later step that fails closes it again, or names it when that close fails. */
export declare function openHostSession(client: RpcClient, request: HostSessionOpen, socket: string, ensured: EnsuredHost | undefined): Promise<HostOutcome>;
//# sourceMappingURL=host-session-open.d.ts.map