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

Function isPlanningAgent

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

Source from the content-addressed store, hash-verified

100}
101
102export function isPlanningAgent(
103 agentName: string | undefined,
104 options: NormalizedWorkflowOptions,
105): boolean {
106 return !!agentName && options.planningAgentSet.has(agentName);
107}
108
109export function shouldRegisterSubmitPlan(options: NormalizedWorkflowOptions): boolean {
110 return options.workflow !== "manual";

Callers 4

PlannotatorPluginFunction · 0.90

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected