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

Function denySubmitPlan

apps/opencode-plugin/workflow.ts:199–202  ·  view source on GitHub ↗
(opencodeConfig: OpenCodeConfig, agentName: string)

Source from the content-addressed store, hash-verified

197}
198
199function denySubmitPlan(opencodeConfig: OpenCodeConfig, agentName: string): void {
200 const agent = ensureAgentConfig(opencodeConfig, agentName);
201 ensurePermission(agent).submit_plan = "deny";
202}
203
204function normalizeAgentLookupKey(value: string): string {
205 return value.replace(/[\u200B-\u200D\uFEFF]/g, "").trim().toLowerCase();

Callers 1

applyWorkflowConfigFunction · 0.85

Calls 2

ensureAgentConfigFunction · 0.85
ensurePermissionFunction · 0.85

Tested by

no test coverage detected