chore: cherry-pick 14 upstream commits#13
Conversation
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gg#949) Co-authored-by: hobostay <hobostay@users.noreply.github.com>
Co-authored-by: hobostay <hobostay@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
- move chat-wide key handling into `_chat` route-level shortcut handler - extract reusable `useHandleNewThread` hook and `isTerminalFocused` helper - update browser WS fixture to support `terminalOpen` RPC shape
- ensure `chat.new` creates a fresh draft after a promoted draft thread - enforce terminal cap per split group (4) while allowing additional terminal groups - refine sidebar row selected/active styling via shared class-name logic and tests
…otgg#900) Co-authored-by: Julius Marminge <julius0216@outlook.com>
The cherry-pick of WebSocket error logging (b6eba33) left a missing closing brace for the connect() method, causing a TS compilation error. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughGitHub Actions workflows updated; desktop resource resolution and abnormal-exit handling added; server workspace search refactored to scoring + fuzzy matches; web app terminal limits moved from per-thread to per-group; keyboard shortcuts and thread-creation extracted into a new hook and global shortcuts component. Changes
Sequence DiagramssequenceDiagram
participant User as User Input
participant CRS as ChatRouteGlobalShortcuts
participant CMD as resolveShortcutCommand
participant HTN as useHandleNewThread
participant Store as Draft/Thread Store
participant Nav as Navigation
User->>CRS: Press shortcut (e.g., chat.new)
CRS->>CMD: resolveShortcutCommand(keybinding, context)
CMD->>HTN: handleNewThread(projectId, options)
HTN->>Store: Read/create draft & thread metadata
Store-->>HTN: Return draft/thread info
HTN->>Nav: Navigate to thread view (new or existing)
Nav-->>User: Thread UI displayed
sequenceDiagram
participant Query as Search Query
participant Converter as toSearchableWorkspaceEntry
participant Scorer as scoreEntry / scoreSubsequenceMatch
participant Ranker as insertRankedEntry
participant Result as searchWorkspaceEntries result
Query->>Converter: Normalize entries to searchable form
loop for each entry
Query->>Scorer: scoreEntry(normalizedEntry, query)
Scorer->>Scorer: Check direct/prefix/contains/fuzzy subsequence
Scorer-->>Ranker: Return score or null
Ranker->>Ranker: Maintain top-N insertion (sorted)
end
Ranker-->>Result: Return entries[] and truncated flag
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Comment Tip You can get early access to new features in CodeRabbit.Enable the |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
What Changed
Integrated 14 upstream commits from pingdotgg/t3code including new-thread shortcuts with terminal focus handling, terminal split limits per group, GitHub Actions version updates, and various bug fixes.
Why
Syncs the fork with critical upstream improvements including terminal UI fixes, CI/CD updates, and keyboard shortcut enhancements while preserving fork-specific features (DEFAULT_ENV_MODE default, worktree sync, ChatView component split, Agent SDK integration).
Commits Integrated
dcd2e5c3- fix: don't restart app on normal exits in dev runner1e276573- feat: add fuzzy workspace entry search724f54c2- fix: clean up timeout in PlanSidebar to prevent memory leaks85c174a6- fix: Linux icon now shows updb17ff33- fix: syntax errors from bad mergeb6eba334- fix: add logging for WebSocket errorsb496ae83- fix: add error logging for code highlighting failures74c22628- chore: update actions/checkout and actions/github-script versionsd9d0216e- fix: pr size workflowab0002f9- update: project removal copyfcbf3f3c- fix: new-thread shortcuts when terminal is focusedc52ad29b- fix: mod+N new thread flow and terminal split limits per group224acebb- fix: add pointer cursor to running stop-generation buttonNote: Conflicts resolved with strategic decisions: accepted upstream CI workflows, merged keyboard handler into _chat.tsx route, preserved fork's DEFAULT_ENV_MODE customization in useHandleNewThread.
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
Improvements
Chores