(overrides = {})
| 3 | import { CodexProviderPlugin } from '../../../src/providers/codex/plugin.js'; |
| 4 | |
| 5 | function makeProfile(overrides = {}) { |
| 6 | return { |
| 7 | id: 'openai-default', |
| 8 | providerKind: 'codex', |
| 9 | displayName: 'Codex OpenAI', |
| 10 | config: { |
| 11 | cliBin: 'codex', |
| 12 | defaultModel: null, |
| 13 | modelCatalog: [], |
| 14 | modelCatalogMode: 'merge', |
| 15 | ...overrides, |
| 16 | }, |
| 17 | createdAt: Date.now(), |
| 18 | updatedAt: Date.now(), |
| 19 | }; |
| 20 | } |
| 21 | |
| 22 | function makeBridgeSession(overrides = {}) { |
| 23 | return { |