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

Function getPlanModeInstructions

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

Source from the content-addressed store, hash-verified

3134}
3135
3136function 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.

Callers 1

Tested by

no test coverage detected