( projectId: string, projectPath: string, instruction: string, model: string = CURSOR_DEFAULT_MODEL, sessionId?: string | null, requestId?: string, )
| 533 | } |
| 534 | |
| 535 | export async function applyChanges( |
| 536 | projectId: string, |
| 537 | projectPath: string, |
| 538 | instruction: string, |
| 539 | model: string = CURSOR_DEFAULT_MODEL, |
| 540 | sessionId?: string | null, |
| 541 | requestId?: string, |
| 542 | ): Promise<void> { |
| 543 | await executeCursor( |
| 544 | projectId, |
| 545 | projectPath, |
| 546 | instruction, |
| 547 | model ?? getDefaultModelForCli('cursor'), |
| 548 | sessionId ?? undefined, |
| 549 | requestId, |
| 550 | ); |
| 551 | } |
| 552 | |
| 553 | type CursorRunResult = |
| 554 | | { |
nothing calls this directly
no test coverage detected