(attachment: {
reminderType: 'full' | 'sparse'
isSubAgent?: boolean
planFilePath: string
planExists: boolean
})
| 3234 | } |
| 3235 | |
| 3236 | function getPlanModeInstructions(attachment: { |
| 3237 | reminderType: 'full' | 'sparse' |
| 3238 | isSubAgent?: boolean |
| 3239 | planFilePath: string |
| 3240 | planExists: boolean |
| 3241 | }): UserMessage[] { |
| 3242 | if (attachment.isSubAgent) { |
| 3243 | return getPlanModeV2SubAgentInstructions(attachment) |
| 3244 | } |
| 3245 | if (attachment.reminderType === 'sparse') { |
| 3246 | return getPlanModeV2SparseInstructions(attachment) |
| 3247 | } |
| 3248 | return getPlanModeV2Instructions(attachment) |
| 3249 | } |
| 3250 | |
| 3251 | // -- |
| 3252 | // Plan file structure experiment arms. |
no test coverage detected