Open
Conversation
Handle permission prompts in CodePilot instead of relying on Claude Code bypass mode so auto-approve still works in environments where bypassPermissions is rejected.
…n browser disconnect 1. Mobile sidebar: Add SidebarSimple toggle button in UnifiedTopBar (visible when sidebar is closed on all viewports). Remove orphaned left-14 offset from ChatListPanel (was for the removed NavRail). Wire chatListOpen/setChatListOpen through PanelContext. 2. Task interrupt: Remove request.signal → abortController forwarding in /api/chat/route.ts so browser disconnect no longer kills the SDK subprocess. Intentional stops already use /api/chat/interrupt.
|
@HNGM-HP is attempting to deploy a commit to the op7418's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SidebarSimplehamburger 按钮,修复 ChatListPanel 残留的left-14偏移,并将chatListOpen/setChatListOpen通过 PanelContext 串联。/api/chat/route.ts将request.signalabort 直接转发给 SDK 子进程,导致浏览器关闭/断网时正在执行的任务被杀。移除该转发后,任务在服务端独立运行至完成;用户主动停止仍走/api/chat/interrupt正常中断。Changes
src/components/layout/UnifiedTopBar.tsxsrc/components/layout/ChatListPanel.tsxleft-14→left-0(移除已删 NavRail 的 56px 偏移)src/hooks/usePanel.tschatListOpen+setChatListOpensrc/components/layout/AppShell.tsxchatListOpen/setChatListOpensrc/app/api/chat/route.tsrequest.signal→abortController.abort()转发Test
npm run typecheck✅ 0 errorsnpm run lint✅ 0 errors (161 pre-existing warnings)