MCPcopy Create free account
hub / github.com/backnotprop/plannotator / shouldInjectFullPlanningPrompt

Function shouldInjectFullPlanningPrompt

apps/opencode-plugin/workflow.ts:121–126  ·  view source on GitHub ↗
(
  agentName: string | undefined,
  options: NormalizedWorkflowOptions,
)

Source from the content-addressed store, hash-verified

119}
120
121export function shouldInjectFullPlanningPrompt(
122 agentName: string | undefined,
123 options: NormalizedWorkflowOptions,
124): boolean {
125 return shouldModifyPrompts(options) && isPlanningAgent(agentName, options);
126}
127
128export function shouldInjectGenericPlanReminder(
129 agentName: string | undefined,

Callers 2

workflow.test.tsFile · 0.90
PlannotatorPluginFunction · 0.90

Calls 2

shouldModifyPromptsFunction · 0.85
isPlanningAgentFunction · 0.85

Tested by

no test coverage detected