diff options
| author | Dillon Mulroy <dillon.mulroy@gmail.com> | 2026-07-03 14:47:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-03 22:47:31 +0300 |
| commit | d5521e3d250498df4af552fff83fce3d5ef33810 (patch) | |
| tree | 5fe9eebb9d30762d9fc953e89441ba0c9a27b492 /src/integration/assets/omp | |
| parent | 6f148588dde3b330618981c344c12f400d74da7d (diff) | |
fix: preserve pi and omp working status across reloads (#984)
Diffstat (limited to 'src/integration/assets/omp')
| -rw-r--r-- | src/integration/assets/omp/herdr-agent-state.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/integration/assets/omp/herdr-agent-state.ts b/src/integration/assets/omp/herdr-agent-state.ts index 21c218b7..1b760a90 100644 --- a/src/integration/assets/omp/herdr-agent-state.ts +++ b/src/integration/assets/omp/herdr-agent-state.ts @@ -375,6 +375,8 @@ export default function (pi) { if (!activateRootSession(ctx)) { return; } + // A reload can replace this extension mid-run without emitting another agent_start. + agentActive = ctx?.isIdle?.() === false; publishState(true); }); |
