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

Function shouldRejectSubmitPlanForAgent

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

Source from the content-addressed store, hash-verified

137}
138
139export function shouldRejectSubmitPlanForAgent(
140 agentName: string | undefined,
141 options: NormalizedWorkflowOptions,
142): boolean {
143 return options.workflow === "plan-agent" && !isPlanningAgent(agentName, options);
144}
145
146export function applyWorkflowConfig(
147 opencodeConfig: OpenCodeConfig,

Callers 2

workflow.test.tsFile · 0.90
executeFunction · 0.90

Calls 1

isPlanningAgentFunction · 0.85

Tested by

no test coverage detected