Skip to content

fix(native-chat): give a chat Stop the interrupt inference a typed Escape gets - #31795

Closed
QZTnb wants to merge 2 commits into
stablyai:mainfrom
QZTnb:fix/native-chat-stop-interrupt-inference
Closed

QZTnb wants to merge 2 commits into
stablyai:mainfrom
QZTnb:fix/native-chat-stop-interrupt-inference

Conversation

@QZTnb

@QZTnb QZTnb commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Pressing Stop in the chat did stop the agent, but Orca's sidebar kept saying the agent was still working, because Orca never noticed the Stop happened. Now Stop in the chat is noticed the same way as pressing Escape in the terminal.

What Changed

Before: after Stop in a terminal-backed chat, an agent whose TUI fires no hook on interrupt kept its sidebar row and tab on "Working". Pressing Escape in the terminal view cleared it.

After: Stop in the chat settles the row the same way a typed Escape does.

Mechanism: a typed Escape reaches the PTY through xterm's onData. That path arms createAgentInterruptInference, which asks main to mark the row interrupted when no hook settles it within the settle window. The chat's Stop (useNativeChatInteractiveSend().cancel) wrote the Escape straight to the runtime with sendRuntimePtyInput, so the inference never ran.

The single-Escape Stop now runs the same inference through a new inferInterruptFromDirectInput helper. It uses the same per-agent rules and settle window, and main still re-checks the status baseline, so a real hook that lands first wins. Like an acknowledged typed Escape, Stop sends through sendRuntimePtyInputVerified and runs the inference only once the write is accepted, from the status captured before the write.

Why

  • Why reuse the inference: it already encodes which agents' Escape proves an interrupt, plus the settle window and the baseline checks. Running it from Stop keeps one rule for both surfaces, instead of a chat-only status write.
  • Why only the single-Escape path: OpenCode's paced double Escape and the structured lanes' own stop controls are unchanged.

Linked Issue

Fixes #31786

Visual Proof

Seen with Qoder CLI in Chat UI, which fires no hook on Escape (see #31796). Each screenshot is taken after clicking Stop during sleep 60. These shots use Orca's Chinese UI: 主要 is "primary", and the row's prompt asks Qoder to run sleep 60 with bash.

Before: the sidebar still spins on "Working". After: the row settles.
Before: the sidebar row still spins after Stop After: the sidebar row is idle after Stop

Testing

Manual: macOS dev build, Qoder CLI 1.1.75 chat. Send a long sleep, click Stop, and watch the sidebar: before the fix it stayed "Working", after it the row settles within the window. A follow-up prompt runs normally.

Automated (use-native-chat-interactive-send.test.tsx), with fake timers:

  • A Qoder Stop calls agentStatus.inferInterrupt with the row's baseline once the settle window passes. This case fails without the change.
  • A Claude Stop does not, because Claude's Escape can just close a view.
  • A refused Escape write infers nothing.
  • A turn that begins while the acceptance is pending keeps working, because the inference uses the status from before the Stop.

Local runs:

AI Disclosure

Implemented with Claude Code (Claude Opus 5.5) under my direction. I reviewed the diff and the test runs.

Review

AI agent review of this change:

  • Agents: Claude, Codex and OMP are unchanged, because the existing navigation-Escape rule skips their single Escape. OpenCode, OpenCode 2 and ZCode are unchanged, since they use the double-Escape path. OpenClaude and terminal-backed Grok now get the same result as a typed Escape in their terminal.
  • Remote and SSH: the request goes through the existing agentStatus.inferInterrupt IPC, which main validates. On a remote runtime, Stop now infers only after terminal.send accepts the Escape, so a refused or failed send infers nothing. No new wire.
  • Performance: one short-lived timer per Stop click.
  • Security: none. Main rejects stale or mismatched baselines.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

  • Phone: the phone's Stop writes Escape through terminal.send and likely has the same gap. It's left for a follow-up.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
    • Typecheck, oxlint, the changed-code gate and the affected suites pass locally. CI covers the rest.

🤖 Generated with Claude Code

…cape gets

The chat's Stop writes Escape straight to the runtime, so it never passes
through xterm, where a typed Escape arms the interrupt inference. For a
TUI that fires no hook on interrupt, the sidebar row kept showing
"Working" after a chat Stop, while the same Escape typed into the
terminal cleared it.

The single-Escape Stop now runs that inference with the same per-agent
rules and settle window. Main still re-checks the status baseline, so a
real hook that lands first wins. Claude, Codex and OMP are unchanged
because their Escape also closes views; OpenCode's paced double Escape is
unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

📝 Walkthrough

For non-OpenCode cancellation with a target PTY, the Stop path captures the pane’s current agent status and sends Escape through verified PTY input. If the write is accepted, the path starts interrupt inference with the current status entry and the captured status. Rejected writes do not start inference. Tests cover inference timing, agent-specific behavior, delayed acceptance, and pending-write cancellation.

Priority: ➖ Normal

Severity of issue fixed: Medium

Merge Risk: 🔵 Low · up to 8689f

Stop followed quickly by Escape can show the turn as finished before the later Escape has settled. This is a bounded issue to fix or accept before merging.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 66.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 3 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly describes the main change: native chat Stop now uses interrupt inference like a typed Escape. The wording is slightly awkward but remains specific and relevant.
Description check Passed The description is complete and follows the repository template. It explains the user impact, mechanism, rationale, linked issue, visual proof, testing, AI disclosure, compatibility considerations, an…
Linked Issues check Passed Issue #31786 requires Chat Stop to settle the sidebar row and tab when an agent emits no interrupt hook. The PR sends the single Escape through sendRuntimePtyInputVerified and starts `inferInterrupt…
Out of Scope Changes check Passed The changed cancellation logic, direct-input inference helper, and tests support issue #31786. The PR keeps the OpenCode double-Escape path and structured stop controls unchanged. The phone path is ex…
Full details: Description check

Explanation

The description is complete and follows the repository template. It explains the user impact, mechanism, rationale, linked issue, visual proof, testing, AI disclosure, compatibility considerations, and checklist status. It also explains that the remaining full checks are covered by CI.

Full details: Linked Issues check

Explanation

Issue #31786 requires Chat Stop to settle the sidebar row and tab when an agent emits no interrupt hook. The PR sends the single Escape through sendRuntimePtyInputVerified and starts inferInterruptFromDirectInput only after the write is accepted. The inference uses the pre-send status, existing agent rules, and settle window. Tests cover Qoder inference, Claude exclusion, refused writes, and a replacement turn during delayed acceptance.

Full details: Out of Scope Changes check

Explanation

The changed cancellation logic, direct-input inference helper, and tests support issue #31786. The PR keeps the OpenCode double-Escape path and structured stop controls unchanged. The phone path is explicitly deferred and is not required by the linked issue.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6ad8ce91-36f2-4f86-9539-fcb0b1bccb95
📥 Commits

Reviewing files that changed from the base of the PR and between 5c5f9a2 and 8089c3d.

📒 Files selected for processing: 3
  • src/renderer/src/components/native-chat/use-native-chat-interactive-send.test.tsx
  • src/renderer/src/components/native-chat/use-native-chat-interactive-send.ts
  • src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

Comment on lines +183 to +198
if (targetPtyId && sendRuntimePtyInput(targetPtyId, ESC, 'driving')) {
// Why: this Escape bypasses xterm.onData, so a TUI that fires no hook on interrupt stays working.
inferInterruptFromDirectInput(
{
paneKey,
getStatusEntry: () => useAppStore.getState().agentStatusByPaneKey[paneKey],
inferInterrupt: (request) =>
window.api.agentStatus.inferInterrupt(request).catch((err) => {
console.warn('[agent-interrupt] native-chat inference failed:', err)
return false
})
},
'plain-escape'
)
}
}, [agent, cancelInFlight, paneKey, targetPtyId])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🔎 Supported by static analysis

🏁 Script executed:

sed -n '125,195p' src/renderer/src/runtime/runtime-terminal-inspection.ts
sed -n '175,205p' src/renderer/src/components/native-chat/use-native-chat-interactive-send.ts
sed -n '45,285p' src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts
rg -n 'inferInterrupt|terminal.send|sendRuntimePtyInput' src/main src/renderer/src/runtime | head -100

Repository: stablyai/orca

Length of output: 22655


🏁 Script executed:

set -o pipefail
sed -n '80,135p' src/renderer/src/runtime/runtime-terminal-inspection.test.ts
sed -n '285,425p' src/renderer/src/runtime/runtime-terminal-inspection.test.ts
sed -n '270,360p' src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts
sed -n '1,110p' src/main/agent-hooks/server/server-status-inference.ts
rg -n -F --glob '*.ts' -e 'inferInterruptFromDirectInput' -e 'observeInputIntent(' -e 'accepted: false' -e 'declined remote terminal sends' src/renderer/src src/main | head -160

Repository: stablyai/orca

Length of output: 32188


🏁 Script executed:

set -o pipefail
sed -n '90,230p' src/main/agent-hooks/server/server-status-inference.ts
sed -n '100,175p' src/renderer/src/components/terminal-pane/pty-connection/pty-input-forward.ts
sed -n '1,180p' src/renderer/src/components/terminal-pane/pty-connection/interrupt-input-intent.ts
sed -n '1,150p' src/renderer/src/runtime/runtime-terminal-verified-input.ts
rg -n -F --glob '*.test.ts*' -e 'inferInterrupt' -e 'accepted: false' -e 'sendRuntimePtyInput(' src/renderer/src/components/native-chat src/renderer/src/components/terminal-pane src/main/agent-hooks | head -220

Repository: stablyai/orca

Length of output: 44038


🏁 Script executed:

set -o pipefail
nl -ba src/renderer/src/components/native-chat/use-native-chat-interactive-send.ts | sed -n '175,202p'
nl -ba src/renderer/src/runtime/runtime-terminal-inspection.ts | sed -n '131,185p'
nl -ba src/renderer/src/runtime/runtime-terminal-verified-input.ts | sed -n '1,88p'
nl -ba src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts | sed -n '245,292p'
nl -ba src/main/agent-hooks/server/server-status-inference.ts | sed -n '100,205p'

Repository: stablyai/orca

Length of output: 14655


Infer the interrupt only after remote PTY acceptance.

sendRuntimePtyInput returns true before a remote terminal.send completes. A rejected or failed remote send therefore still starts inferInterruptFromDirectInput. The inference can then settle the row as interrupted while the TUI continues running.

Use sendRuntimePtyInputVerified for this path. Its remote contract waits for acceptance and returns false for refusal.

Suggested fix
- import { sendRuntimePtyInput } from '../../runtime/runtime-terminal-inspection'
+ import { sendRuntimePtyInputVerified } from '../../runtime/runtime-terminal-verified-input'
 
-    if (targetPtyId && sendRuntimePtyInput(targetPtyId, ESC, 'driving')) {
-      // Why: this Escape bypasses xterm.onData, so a TUI that fires no hook on interrupt stays working.
-      inferInterruptFromDirectInput(
-        {
-          paneKey,
-          getStatusEntry: () => useAppStore.getState().agentStatusByPaneKey[paneKey],
-          inferInterrupt: (request) =>
-            window.api.agentStatus.inferInterrupt(request).catch((err) => {
-              console.warn('[agent-interrupt] native-chat inference failed:', err)
-              return false
-            })
-        },
-        'plain-escape'
-      )
+    if (targetPtyId) {
+      void sendRuntimePtyInputVerified(targetPtyId, ESC, 'driving')
+        .then((accepted) => {
+          if (!accepted) return
+          // Why: this Escape bypasses xterm.onData, so a TUI that fires no hook on interrupt stays working.
+          inferInterruptFromDirectInput(
+            {
+              paneKey,
+              getStatusEntry: () => useAppStore.getState().agentStatusByPaneKey[paneKey],
+              inferInterrupt: (request) =>
+                window.api.agentStatus.inferInterrupt(request).catch((err) => {
+                  console.warn('[agent-interrupt] native-chat inference failed:', err)
+                  return false
+                })
+            },
+            'plain-escape'
+          )
+        })
+        .catch(() => {})
     }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
if (targetPtyId && sendRuntimePtyInput(targetPtyId, ESC, 'driving')) {
// Why: this Escape bypasses xterm.onData, so a TUI that fires no hook on interrupt stays working.
inferInterruptFromDirectInput(
{
paneKey,
getStatusEntry: () => useAppStore.getState().agentStatusByPaneKey[paneKey],
inferInterrupt: (request) =>
window.api.agentStatus.inferInterrupt(request).catch((err) => {
console.warn('[agent-interrupt] native-chat inference failed:', err)
return false
})
},
'plain-escape'
)
}
}, [agent, cancelInFlight, paneKey, targetPtyId])
if (targetPtyId) {
void sendRuntimePtyInputVerified(targetPtyId, ESC, 'driving')
.then((accepted) => {
if (!accepted) return
// Why: this Escape bypasses xterm.onData, so a TUI that fires no hook on interrupt stays working.
inferInterruptFromDirectInput(
{
paneKey,
getStatusEntry: () => useAppStore.getState().agentStatusByPaneKey[paneKey],
inferInterrupt: (request) =>
window.api.agentStatus.inferInterrupt(request).catch((err) => {
console.warn('[agent-interrupt] native-chat inference failed:', err)
return false
})
},
'plain-escape'
)
})
.catch(() => {})
}
}, [agent, cancelInFlight, paneKey, targetPtyId])

… is accepted

The chat's Stop sent Escape fire-and-forget and armed the interrupt
inference at once. On a remote runtime the send can still be refused or
fail, and the inference could then settle the row as interrupted while
the TUI kept running.

Stop now sends through the verified path and infers only when the write
is accepted, from the pane status captured before the write. A typed
Escape already works this way, and it keeps a slow acceptance from
settling a turn that began after the Stop.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7ce93fd1-a9b5-4a08-b5ed-6a4bfb6fdacd
📥 Commits

Reviewing files that changed from the base of the PR and between 8089c3d and 8689f38.

📒 Files selected for processing: 3
  • src/renderer/src/components/native-chat/use-native-chat-interactive-send.test.tsx
  • src/renderer/src/components/native-chat/use-native-chat-interactive-send.ts
  • src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Comment on lines +283 to +290
/** A typed key's interrupt inference, for surfaces that write the key straight to the runtime.
* `capturedEntry` is the pane status from before the write, as for an acknowledged typed key. */
export function inferInterruptFromDirectInput(
deps: AgentInterruptInferenceDeps,
intent: AgentInterruptInputIntent,
capturedEntry: AgentStatusEntry | null
): void {
void createAgentInterruptInference(deps).observeInputIntent(intent, capturedEntry)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🔎 Supported by static analysis

🏁 Script executed:

sed -n '105,280p' src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts
sed -n '35,165p' src/renderer/src/components/terminal-pane/pty-connection/interrupt-input-intent.ts
rg -n 'AGENT_INTERRUPT_SETTLE_MS|qoder|plain-escape' src/renderer/src/components/terminal-pane/agent-interrupt-inference* | head -100

Repository: stablyai/orca

Length of output: 15016


🏁 Script executed:

set -o pipefail
printf '%s\n' '--- agent interrupt inference definitions ---'
sed -n '1,115p' src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts
sed -n '175,315p' src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts
printf '%s\n' '--- direct wrapper and callers ---'
sed -n '315,360p' src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts
rg -n -F --glob '*.ts' --glob '*.tsx' -e 'inferInterruptFromDirectInput' -e 'observeSentTerminalInputIntent' -e 'observeAcceptedTerminalInput' src/renderer/src/components
printf '%s\n' '--- Qoder and double-Escape rules ---'
rg -n -i -C 4 --glob '*.ts' -e 'qoder' -e 'requiresDoubleEscapeInterrupt' -e 'shouldIgnoreInterruptIntent' -e 'canInferInterrupt' src/renderer/src/components/terminal-pane src/shared
printf '%s\n' '--- native-chat Stop path ---'
sed -n '150,225p' src/renderer/src/components/native-chat/use-native-chat-interactive-send.ts
printf '%s\n' '--- main validation ---'
sed -n '95,195p' src/main/agent-hooks/server/server-status-inference.ts
printf '%s\n' '--- PR diff for the focused file ---'
git diff --unified=30 75e1f1c0f439d52579a3882ff1d80d38d4ba587e 8689f38d9313743d4b95e88d9758e141f212a913 -- src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts src/renderer/src/components/native-chat/use-native-chat-interactive-send.ts

Repository: stablyai/orca

Length of output: 42507


🏁 Script executed:

set -o pipefail
sed -n '1,115p' src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts
sed -n '175,315p' src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts
sed -n '315,360p' src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts
rg -n -i -C 4 --glob '*.ts' -e 'qoder' -e 'requiresDoubleEscapeInterrupt' -e 'shouldIgnoreInterruptIntent' -e 'canInferInterrupt' src/renderer/src/components/terminal-pane src/shared
rg -n -F --glob '*.ts' --glob '*.tsx' -e 'inferInterruptFromDirectInput' -e 'observeSentTerminalInputIntent' src/renderer/src/components
sed -n '180,210p' src/renderer/src/components/native-chat/use-native-chat-interactive-send.ts
sed -n '110,190p' src/main/agent-hooks/server/server-status-inference.ts
git diff --unified=20 75e1f1c0f439d52579a3882ff1d80d38d4ba587e 8689f38d9313743d4b95e88d9758e141f212a913 -- src/renderer/src/components/terminal-pane/agent-interrupt-inference.ts src/renderer/src/components/native-chat/use-native-chat-interactive-send.ts

Repository: stablyai/orca

Length of output: 42139


🏁 Script executed:

set -o pipefail
printf '%s\n' '--- shared interrupt rules ---'
sed -n '1,90p' src/shared/agent-interrupt-intent.ts
printf '%s\n' '--- persistent observer ownership and native-chat hook signature ---'
rg -n -F --glob '*.ts' --glob '*.tsx' -e 'interruptInference =' -e 'session.interruptInference' -e 'useNativeChatInteractiveSend(' -e 'useNativeChatInteractiveSend<' src/renderer/src
sed -n '1,130p' src/renderer/src/components/terminal-pane/pty-connection/interrupt-input-intent.ts
sed -n '1,125p' src/renderer/src/components/native-chat/use-native-chat-interactive-send.ts

Repository: stablyai/orca

Length of output: 18438


🏁 Script executed:

sed -n '1,85p' src/shared/agent-interrupt-intent.ts
rg -n -F --glob '*.ts' --glob '*.tsx' -e 'interruptInference =' -e 'session.interruptInference' -e 'useNativeChatInteractiveSend(' src/renderer/src

Repository: stablyai/orca

Length of output: 7181


Use the pane’s existing interrupt observer for chat Stop.

Qoder is not a double-Escape or navigation agent, so its typed Escape follows the normal branch. That branch clears and replaces the observer’s pending timer. However, inferInterruptFromDirectInput creates a separate observer, so the typed Escape cannot replace the chat Stop timer.

If the hook status remains unchanged, the detached timer can still pass renderer and main validation after 500 ms and mark the Qoder turn done with interrupted: true before the typed Escape’s settle window completes. Pass the pane’s existing session.interruptInference into this helper instead of creating a second observer.

Suggested fix
 export function inferInterruptFromDirectInput(
-  deps: AgentInterruptInferenceDeps,
+  inference: AgentInterruptInference,
   intent: AgentInterruptInputIntent,
   capturedEntry: AgentStatusEntry | null
 ): void {
-  void createAgentInterruptInference(deps).observeInputIntent(intent, capturedEntry)
+  void inference.observeInputIntent(intent, capturedEntry)
 }

Thread the existing pane observer into the native-chat Stop caller.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
/** A typed key's interrupt inference, for surfaces that write the key straight to the runtime.
* `capturedEntry` is the pane status from before the write, as for an acknowledged typed key. */
export function inferInterruptFromDirectInput(
deps: AgentInterruptInferenceDeps,
intent: AgentInterruptInputIntent,
capturedEntry: AgentStatusEntry | null
): void {
void createAgentInterruptInference(deps).observeInputIntent(intent, capturedEntry)
/** A typed key's interrupt inference, for surfaces that write the key straight to the runtime.
* `capturedEntry` is the pane status from before the write, as for an acknowledged typed key. */
export function inferInterruptFromDirectInput(
inference: AgentInterruptInference,
intent: AgentInterruptInputIntent,
capturedEntry: AgentStatusEntry | null
): void {
void inference.observeInputIntent(intent, capturedEntry)

@nwparker

Copy link
Copy Markdown
Contributor

Thanks for fixing #31786! Rebased onto current main and merged via #41285 (891995fe9e) with Co-authored-by credit.

@nwparker nwparker closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Sidebar keeps "Working" after Stop in Chat UI when the agent fires no interrupt hook

2 participants