/** * Launch-time runtime selection helpers. * * 기본 동작: * - --runtime claude|codex 플래그 우선 * - 설정되지 않으면 FORGEN_RUNTIME 환경변수 사용 * - 환경변수 미설정 시 claude 기본값 * * 목표: * - launch context(런타임 + 정제된 args)를 단일 타입으로 통일 * - CLI/fgx에서 수집한 런타임 값을 Harness, Spawn, Hook Generator에 일관되게 전달 */ import type { LaunchContext } from '../core/types.js'; /** * CLI 인자를 파싱해 런타임 결정 + 런타임 플래그 제거 * 우선순위 (높음→낮음): * 1. --runtime flag * 2. FORGEN_RUNTIME env * 3. profile.default_host (P1-4) * 4. 'claude' fallback (legacy 호환) */ export declare function resolveLaunchContext(args: string[]): LaunchContext;