(params: {
basePrompt: string
trigger: AutonomyTriggerKind
rootDir?: string
currentDir?: string
nowMs?: number
})
| 462 | } |
| 463 | |
| 464 | export async function buildAutonomyTurnPrompt(params: { |
| 465 | basePrompt: string |
| 466 | trigger: AutonomyTriggerKind |
| 467 | rootDir?: string |
| 468 | currentDir?: string |
| 469 | nowMs?: number |
| 470 | }): Promise<string> { |
| 471 | const prepared = await prepareAutonomyTurnPrompt(params) |
| 472 | commitPreparedAutonomyTurn(prepared) |
| 473 | return prepared.prompt |
| 474 | } |
| 475 | |
| 476 | export async function prepareAutonomyTurnPrompt(params: { |
| 477 | basePrompt: string |
no test coverage detected