@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 694 B
TypeScript
export declare function isFromSourceRun(moduleUrl?: string, bunBinary?: boolean): boolean;
export declare function targetsRealUserAgentDir(agentDir: string, envAgentDir?: string | undefined, homeDir?: string): boolean;
/**
* A run from TypeScript sources (dev/QA) that resolves to the real user agent
* dir is the exact setup that has leaked writes into real user config before.
* Returns the warning to print, or undefined when the run is safe.
*/
export declare function getFromSourceRealConfigWarning(agentDir: string, moduleUrl?: string, envAgentDir?: string | undefined, homeDir?: string, bunBinary?: boolean): string | undefined;
//# sourceMappingURL=from-source-config-guard.d.ts.map