(value: CodexCliOverrides['sandbox'] | undefined)
| 36 | } |
| 37 | |
| 38 | function resolveSandboxPolicyOverride(value: CodexCliOverrides['sandbox'] | undefined): SandboxPolicy | undefined { |
| 39 | switch (value) { |
| 40 | case 'read-only': |
| 41 | return { type: 'readOnly' }; |
| 42 | case 'workspace-write': |
| 43 | return { type: 'workspaceWrite' }; |
| 44 | case 'danger-full-access': |
| 45 | return { type: 'dangerFullAccess' }; |
| 46 | default: |
| 47 | return undefined; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | export function supportsReasoningSummary(model: string | undefined): boolean { |
| 52 | const normalized = model?.trim().toLowerCase(); |
no outgoing calls
no test coverage detected