MCPcopy
hub / github.com/Dimillian/CodexMonitor / isFailedStatus

Function isFailedStatus

src/utils/threadItems.explore.ts:199–202  ·  view source on GitHub ↗
(status?: string)

Source from the content-addressed store, hash-verified

197}
198
199function isFailedStatus(status?: string) {
200 const normalized = (status ?? "").toLowerCase();
201 return /(fail|error)/.test(normalized);
202}
203
204function parseSearch(tokens: string[]): ExploreEntry | null {
205 const commandName = tokens[0]?.toLowerCase() ?? "";

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected