UNPKG

@code-yeongyu/senpi

Version:

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

12 lines • 827 B
import type { HostProtocolInfo } from "./host-protocol-info.ts"; export interface ForeignAgentDirRefusal { readonly action: "refuse"; readonly reason: "foreign_agent_dir"; readonly upgradeable: false; readonly detail: string; } /** The refusal for a caller of another agent dir, or `undefined` when the host is the caller's (or unknown). */ export declare function foreignAgentDirRefusal(socket: string, callerAgentDir: string, host: HostProtocolInfo): Promise<ForeignAgentDirRefusal | undefined>; /** Why a client of `callerAgentDir` may not replace the host of `hostAgentDir`, or `undefined` when both are one directory. */ export declare function agentDirMismatch(socket: string, callerAgentDir: string, hostAgentDir: string): Promise<string | undefined>; //# sourceMappingURL=host-handoff-agent-dir.d.ts.map