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

Function isTurnTerminal

packages/codex-native-api/src/codex_app_client.ts:3202–3205  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

3200}
3201
3202function isTurnTerminal(status) {
3203 const normalized = normalizeTurnStatusKey(status);
3204 return Boolean(normalized) && TERMINAL_TURN_STATUS_KEYS.has(normalized);
3205}
3206
3207function isThreadMaterializationPendingError(error) {
3208 const message = error instanceof Error ? error.message : String(error);

Callers 1

waitForTurnResultMethod · 0.70

Calls 2

hasMethod · 0.80
normalizeTurnStatusKeyFunction · 0.70

Tested by

no test coverage detected