()
| 139 | } |
| 140 | |
| 141 | function defaultOpts(): CLIOptions { |
| 142 | return { |
| 143 | session: undefined, |
| 144 | continue: false, |
| 145 | yolo: false, |
| 146 | auto: false, |
| 147 | plan: false, |
| 148 | model: undefined, |
| 149 | outputFormat: undefined, |
| 150 | prompt: undefined, |
| 151 | skillsDirs: [], |
| 152 | }; |
| 153 | } |
| 154 | |
| 155 | async function waitForAssertion(assertion: () => void): Promise<void> { |
| 156 | let lastError: unknown; |