MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / normalizeDeveloperPromptContextValue

Function normalizeDeveloperPromptContextValue

src/providers/codex/plugin.ts:1070–1076  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1068}
1069
1070function normalizeDeveloperPromptContextValue(value: unknown): string | null {
1071 if (typeof value !== 'string') {
1072 return null;
1073 }
1074 const normalized = value.trim();
1075 return normalized || null;
1076}
1077
1078function buildTurnModeDeveloperInstructions(
1079 context: DeveloperPromptContext | null,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected