Skip to content

Land leftover worktrees from coder-release-build local main - #784

Merged
currentbits merged 16 commits into
mainfrom
coder/land-leftover-release-build-783
Aug 29, 2026
Merged

currentbits merged 16 commits into
mainfrom
coder/land-leftover-release-build-783

Conversation

@currentbits

@currentbits currentbits commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #783.

Test plan

  • npm run typecheck
  • Leftover renderer files: 222/222
  • Leftover electron files (appsnap, base-branch, kimi, providers, reasoning-effort, workflow-kimi, worktrees-listfiles): 112/112
  • npm run test:stats (25/25)
  • Composer: reply-as-context, paste-cards, prompt stash
  • Transcript view: Summary shows one Focus fold per settled turn; Normal keeps tool groups; Verbose expands
  • Git pane: rebase-conflict renders as a conflict card
  • OpenCode: Zen catalog refresh + --variant; kimi live thinking; workflow kimi phases
  • Confirm the PR file list has no updater / package-cross / Land six worktrees: picker, status pulse, cursor MCP, kimi spend, code wiki #766 picker paths

Made with Cursor

Willem and others added 16 commits August 29, 2026 13:26
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 4a88395)
… Git pane: style rebase-conflict as a conflict card

(cherry picked from commit 37ee975)
… 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]>
@currentbits
currentbits merged commit 9866118 into main Aug 29, 2026
3 of 6 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

Comment on lines +4570 to +4573
const focusTurnByFirstId = useMemo(() => {
const map = new Map<string, FocusTurnSummary>();
for (const turn of focusTurns) map.set(turn.firstActivityId, turn);
return map;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

Comment thread src/pasteCards.ts
Comment on lines +101 to +106
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;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

Comment on lines +6371 to +6374
onWaitWhat={
entry.message.role === "assistant"
? handleWaitWhat
: undefined

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

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.

Land leftover worktrees from coder-release-build local main

1 participant