The one and only agent harness for complex codebases. Project memory, planning, execution, and verified completion inside Codex.
JavaScript aiai-agentsclaudeclaude-codeclicodexdeveloper-toolslazylazycodexoh-my-openagentomoopenaiorchestrationtypescript
export interface UlwLoopScope {
readonly sessionId?: string | null;
}
type EnvMap = Readonly<Record<string, string | undefined>>;
export declare function normalizeUlwLoopSessionId(sessionId: string | null | undefined): string | null;
export declare function resolveUlwLoopSessionIdFromEnv(env?: EnvMap): string | null;
export declare function ulwLoopRelativeDir(scope?: UlwLoopScope): string;
export declare function ulwLoopDir(repoRoot: string, scope?: UlwLoopScope): string;
export declare function ulwLoopBriefRelativePath(scope?: UlwLoopScope): string;
export declare function ulwLoopGoalsRelativePath(scope?: UlwLoopScope): string;
export declare function ulwLoopLedgerRelativePath(scope?: UlwLoopScope): string;
export declare function ulwLoopBriefPath(repoRoot: string, scope?: UlwLoopScope): string;
export declare function ulwLoopGoalsPath(repoRoot: string, scope?: UlwLoopScope): string;
export declare function ulwLoopLedgerPath(repoRoot: string, scope?: UlwLoopScope): string;
export declare function ulwLoopStateLockPath(repoRoot: string, scope?: UlwLoopScope): string;
export declare function repoRelative(absolutePath: string, repoRoot: string): string;
export declare function ulwLoopEvidenceRoot(scope?: UlwLoopScope): string;
export declare function ulwLoopAttemptEvidenceDir(goalId: string, attempt: number, scope?: UlwLoopScope): string;
interface AttemptPathApi {
relative(from: string, to: string): string;
isAbsolute(path: string): boolean;
readonly sep: string;
}
export declare function isWithinAttemptDir(absolutePath: string, attemptRoot: string, pathApi?: AttemptPathApi): boolean;
export {};