From 5c182e1b5a2d762bc9bcf69dec616377932cc361 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Mon, 19 Oct 2026 17:56:14 -0700 Subject: [PATCH] style: format the 22 files main merged unformatted (fix red main) (#30918) * fix(ssh): move the managed tunnel's is-current check beside its record (fix red main) orcad-managed-tunnel-manager.ts reached 301 counted lines when #30891 landed on #30888, failing every PR's static analysis. The six-field check that the recorded tunnel already matches the connection and deployment moves, unchanged, into orcad-managed-tunnel-active.ts, which owns that record. * style: format the 22 files main merged unformatted (fix red main) CI's format check fails every PR on these files. Formatting pushes NativeChatStructuredSession.tsx one line past its 400-line limit, so its one-use question list is inlined where questionBody is already non-null (identical behavior: agentSessionPromptQuestions is pure and ran on every render). --- .../src/components/native-chat/NativeChatStructuredSession.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx b/src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx index 91a0eaa10cf..795bb98e816 100644 --- a/src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx +++ b/src/renderer/src/components/native-chat/NativeChatStructuredSession.tsx @@ -206,7 +206,6 @@ export function NativeChatStructuredSession( composerReady: composerShown && install.slot.kind !== 'install' }) const questionBody = prompt?.body.kind === 'question' ? prompt.body : null - const questions = questionBody ? agentSessionPromptQuestions(questionBody) : [] const structuredTransport = useNativeChatStructuredComposerTransport({ props, controller, @@ -378,7 +377,7 @@ export function NativeChatStructuredSession( {prompt && questionBody ? ( void promptResponse.respond(prompt, response)} isSubmitting={promptResponse.holds(prompt)} onCancel={cancelPrompt}