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