MCPcopy
hub / github.com/claude-code-best/claude-code / getPlanModeInstructions

Function getPlanModeInstructions

src/utils/messages.ts:3524–3537  ·  view source on GitHub ↗
(attachment: {
  reminderType: 'full' | 'sparse'
  isSubAgent?: boolean
  planFilePath: string
  planExists: boolean
})

Source from the content-addressed store, hash-verified

3522}
3523
3524function 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.

Callers 1

Tested by

no test coverage detected