@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
17 lines • 1.15 kB
TypeScript
import type { InlineExtension } from "../../core/extensions/types.ts";
import type { CliRuntimeConfiguration } from "../../main.ts";
export declare function handSocketPath(agentDir: string, platform?: NodeJS.Platform): string;
/** The hand's durable wake outbox, beside its socket: one live hand per agent dir writes it. */
export declare function handWakeStorePath(agentDir: string, platform?: NodeJS.Platform): string;
/**
* The hand endpoint's secret: on Windows (a named pipe has no owner-only file mode) the shared RPC host's mechanism,
* an owner-only `<hand.sock>.secret` file whose bytes a carrier sends first; on POSIX the 0600 socket in its 0700
* directory is the boundary and there is none. Never read from the host's secret-file override variable.
*/
export declare function handEndpointSecret(socketPath: string, platform?: NodeJS.Platform): Promise<Uint8Array | undefined>;
export interface HandEntryOptions {
readonly configuration: CliRuntimeConfiguration;
readonly extensionFactories?: InlineExtension[];
}
export declare function runHand(options: HandEntryOptions): Promise<never>;
//# sourceMappingURL=hand-entry.d.ts.map