(attachment: {
reminderType: 'full' | 'sparse'
isSubAgent?: boolean
planFilePath: string
planExists: boolean
})
| 3134 | } |
| 3135 | |
| 3136 | function getPlanModeInstructions(attachment: { |
| 3137 | reminderType: 'full' | 'sparse' |
| 3138 | isSubAgent?: boolean |
| 3139 | planFilePath: string |
| 3140 | planExists: boolean |
| 3141 | }): UserMessage[] { |
| 3142 | if (attachment.isSubAgent) { |
| 3143 | return getPlanModeV2SubAgentInstructions(attachment) |
| 3144 | } |
| 3145 | if (attachment.reminderType === 'sparse') { |
| 3146 | return getPlanModeV2SparseInstructions(attachment) |
| 3147 | } |
| 3148 | return getPlanModeV2Instructions(attachment) |
| 3149 | } |
| 3150 | |
| 3151 | // -- |
| 3152 | // Plan file structure experiment arms. |
no test coverage detected