@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 799 B
TypeScript
/** Whether this source module is the process entry, including a symlinked argv path. */
export declare function isCliModuleEntry(moduleUrl: string): boolean;
/**
* Resolves the committed CLI entry this supervisor wraps (source tree or built dist).
* Exported for tests, which pass the module path and layout of a bundled install.
*/
export declare function resolveCliMainPath(modulePath?: string, bundled?: boolean): string;
/**
* `resolveCliMainPath` without blocking the event loop: the per-session tool child (senpi#3566) resolves its entry on
* the RPC session path, where a synchronous read is not allowed. Same decision, same order.
*/
export declare function resolveCliMainPathAsync(modulePath?: string, bundled?: boolean): Promise<string>;
//# sourceMappingURL=host-cli-entry.d.ts.map