(attachment: {
reminderType: 'full' | 'sparse'
isSubAgent?: boolean
planFilePath: string
planExists: boolean
})
| 3522 | } |
| 3523 | |
| 3524 | function getPlanModeInstructions(attachment: { |
| 3525 | reminderType: 'full' | 'sparse' |
| 3526 | isSubAgent?: boolean |
| 3527 | planFilePath: string |
| 3528 | planExists: boolean |
| 3529 | }): UserMessage[] { |
| 3530 | if (attachment.isSubAgent) { |
| 3531 | return getPlanModeV2SubAgentInstructions(attachment) |
| 3532 | } |
| 3533 | if (attachment.reminderType === 'sparse') { |
| 3534 | return getPlanModeV2SparseInstructions(attachment) |
| 3535 | } |
| 3536 | return getPlanModeV2Instructions(attachment) |
| 3537 | } |
| 3538 | |
| 3539 | // -- |
| 3540 | // Plan file structure experiment arms. |
no test coverage detected