()
| 156 | /** Whether this run has posted any visible reply yet (drives status clear). */ |
| 157 | let postedReply = false; |
| 158 | const onFirstReply = async (): Promise<void> => { |
| 159 | if (postedReply) return; |
| 160 | postedReply = true; |
| 161 | // Slack auto-clears status when the app replies; clear explicitly too so |
| 162 | // there's no lingering indicator on slow/edge paths. |
| 163 | await clearStatus(); |
| 164 | }; |
| 165 | |
| 166 | // ── Legacy per-message streaming state ────────────────────────────── |
| 167 | /** Per-AG-UI-message accumulated text (legacy path; native uses one buffer). */ |
no test coverage detected
searching dependent graphs…