takt/src/codex/types.ts
2026-02-02 10:14:12 +09:00

18 lines
422 B
TypeScript

/**
* Type definitions for Codex SDK integration
*/
import type { StreamCallback } from '../claude/types.js';
/** Options for calling Codex */
export interface CodexCallOptions {
cwd: string;
sessionId?: string;
model?: string;
systemPrompt?: string;
/** Enable streaming mode with callback (best-effort) */
onStream?: StreamCallback;
/** OpenAI API key (bypasses CLI auth) */
openaiApiKey?: string;
}