* True when an ExitPlanMode tool_use exists with no tool_result yet — * the remote is showing the approval dialog in the browser.
()
| 94 | * the remote is showing the approval dialog in the browser. |
| 95 | */ |
| 96 | get hasPendingPlan(): boolean { |
| 97 | const id = this.exitPlanCalls.findLast(c => !this.rejectedIds.has(c)) |
| 98 | return id !== undefined && !this.results.has(id) |
| 99 | } |
| 100 | |
| 101 | ingest(newEvents: SDKMessage[]): ScanResult { |
| 102 | for (const m of newEvents) { |