(fields: string[])
| 266 | } |
| 267 | |
| 268 | async function promptForImport(fields: string[]): Promise<boolean> { |
| 269 | const fieldList = fields.join(", ") |
| 270 | const confirm = await prompts.confirm({ |
| 271 | message: `Found OpenCode config with new settings (${fieldList}). Import these settings to Arctic?`, |
| 272 | initialValue: true, |
| 273 | }) |
| 274 | return !prompts.isCancel(confirm) && confirm |
| 275 | } |
| 276 | |
| 277 | async function promptForDontAskAgain(): Promise<boolean> { |
| 278 | const dontAskAgain = await prompts.confirm({ |
no outgoing calls
no test coverage detected