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

Function normalizeAgentLookupKey

apps/opencode-plugin/workflow.ts:204–206  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

202}
203
204function normalizeAgentLookupKey(value: string): string {
205 return value.replace(/[\u200B-\u200D\uFEFF]/g, "").trim().toLowerCase();
206}
207
208function resolveAgentConfigKey(opencodeConfig: OpenCodeConfig, agentName: string): string {
209 opencodeConfig.agent ??= {};

Callers 1

resolveAgentConfigKeyFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected