Repository navigation
Land leftover worktrees from coder-release-build local main - #784
Conversation
Countries, browsers, UTMs, live window, and fixed funnels stay inside the cookieless daily-hash model. No new dependencies. Co-authored-by: Cursor <[email protected]> (cherry picked from commit bcae898)
TDD tasks for ingest dimensions, buildStats, HTML, and Girder graft. Co-authored-by: Cursor <[email protected]> (cherry picked from commit b1447f0)
Co-authored-by: Cursor <[email protected]> (cherry picked from commit db122a2)
Co-authored-by: Cursor <[email protected]> (cherry picked from commit b5303f5)
(cherry picked from commit a8a761e)
Co-authored-by: Cursor <[email protected]> (cherry picked from commit 4a88395)
Co-authored-by: Cursor <[email protected]> (cherry picked from commit 1a12168)
… Git pane: style rebase-conflict as a conflict card (cherry picked from commit 37ee975)
…picker (cherry picked from commit ec7002e)
… Composer power-ups: reply-as-context, paste-cards, prompt st (cherry picked from commit 3c70067)
… Focus view: hide tool rows behind a per-turn summary (cherry picked from commit beb5af5)
… Kimi live thinking from stream-json stderr (cherry picked from commit 24105f1)
… OpenCode: refresh Zen catalog and send --variant (cherry picked from commit 5a71f7e)
… Workflow kimi phases run without effort control and without (cherry picked from commit 69c6cb2)
Cherry-picking the leftover #187 squash onto origin/main (already #778) inserted a second listBranches/listBaseBranches/normalizeBaseBranch and broke the teach spread in devCoder.create. Co-authored-by: Cursor <[email protected]>
#768 collapseTimeline eats tool message rows. Focus (#461) keys off those ids. Leave grouping for Normal/Verbose; Summary uses the leftover Focus path. Co-authored-by: Cursor <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7908aef955
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const [incomingAttachments, setIncomingAttachments] = useState< | ||
| AttachmentInfo[] | ||
| >([]); | ||
| const [replyTo, setReplyTo] = useState<ReplyTarget | null>(null); |
There was a problem hiding this comment.
Clear the reply target when switching threads
When a user selects Reply in one thread and then switches to another, this unkeyed state survives the switch, so the new thread's composer still wraps its next prompt with the previous thread's assistant message. This can send irrelevant or sensitive context from one project into another; clear the target on threadId changes or store it per thread.
Useful? React with 👍 / 👎.
| const focusTurnByFirstId = useMemo(() => { | ||
| const map = new Map<string, FocusTurnSummary>(); | ||
| for (const turn of focusTurns) map.set(turn.firstActivityId, turn); | ||
| return map; |
There was a problem hiding this comment.
Keep a visible fold when pagination splits a turn
In Summary mode, turns are built from the complete message list and the fold is keyed only by the turn's first activity. If the 120-entry transcript window begins in the middle of a tool-heavy turn, that first activity is outside displayTimeline, while every visible activity from the turn is hidden, so the promised summary row disappears until the user loads earlier messages. Build the fold from the visible slice or anchor it to the first visible activity.
Useful? React with 👍 / 👎.
| const blocks = cards.map((card) => { | ||
| const label = pasteCardLabel(card); | ||
| return `<pasted-context label="${label}">\n${card.text}\n</pasted-context>`; | ||
| }); | ||
| const head = blocks.join("\n\n"); | ||
| return draft.trim() ? `${head}\n\n${draft}` : head; |
There was a problem hiding this comment.
Enforce the paste cap across the composed payload
The 120,000-character limit is applied independently to each card, but this function concatenates every card without limiting their aggregate size. For example, two 80,000-character pastes remain uncompressed and produce a roughly 160,000-character prompt despite the UI presenting 120,000 as the hard cap, which can trigger provider context-overflow failures. Apply the cap to the combined draft and card payload.
Useful? React with 👍 / 👎.
| onWaitWhat={ | ||
| entry.message.role === "assistant" | ||
| ? handleWaitWhat | ||
| : undefined |
There was a problem hiding this comment.
Disable Wait, what? on archived threads
Archived threads still receive handleWaitWhat, so clicking this newly rendered action calls onStartRun even though the composer and other run-producing surfaces are disabled while archived. The runner does not reject archived threads, meaning this bypass actually starts a new run; omit the callback when isArchived is true, as the diff-comment action already does.
Useful? React with 👍 / 👎.
Summary
mainin~/code/coder-release-build(69c6cb2d) instead oforigin/main(Merge worktree lands on the project checkout branch, not origin/main #770).origin/main(36bb6c14/ Stacked threads: pick, show, change, and rebase onto a base branch #778). Diff is the leftover unique files only — Land six worktrees: picker, status pulse, cursor MCP, kimi spend, code wiki #766 / Land leftover worktrees: transcript grouping + sidebar default closed #772 / Stacked threads: pick, show, change, and rebase onto a base branch #778 / Windows+Linux updater are not remelted.--variant, workflow kimi phases.devCoder.create, and skip tool grouping in Summary so Focus folds can mount.Closes #783.
Test plan
npm run typechecknpm run test:stats(25/25)--variant; kimi live thinking; workflow kimi phasesMade with Cursor