MCPcopy Create free account
hub / github.com/cursor/plugins / hasNewTerminalError

Function hasNewTerminalError

orchestrate/skills/orchestrate/scripts/core/loop.ts:100–107  ·  view source on GitHub ↗
(
  mgr: AgentManager,
  preExistingErrors: Set<string>
)

Source from the content-addressed store, hash-verified

98}
99
100function hasNewTerminalError(
101 mgr: AgentManager,
102 preExistingErrors: Set<string>
103): boolean {
104 return mgr.tasks.some(
105 s => s.status === "error" && !preExistingErrors.has(s.name)
106 );
107}
108
109function exitOnErrorReturn(
110 mgr: AgentManager,

Callers 1

runOrchestrateLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected