Repository navigation
Merge upstream T3 Code through a12d6ed942 - #174
Merged
Merged
Conversation
…ingdotgg#22575) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…#22561) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…event-driven (pingdotgg#22565) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ing parent (pingdotgg#22581) Co-authored-by: syberia <n.kuhtin@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…g#22588) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…tgg#22589) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…#22591) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gdotgg#22592) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…dotgg#22593) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…pingdotgg#22599) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gdotgg#22556) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rts (pingdotgg#22602) Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…gdotgg#22559) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gg#22613) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ped-usage warnings (pingdotgg#22558) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… keys (pingdotgg#22645) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…tead of taking them from ChatView (pingdotgg#23095) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#23093) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ons (pingdotgg#23097) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#23101) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…le a reply streams (pingdotgg#23103) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#22899) Co-authored-by: Victor Vogel <satsdev@only21mil.xyz> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…again (pingdotgg#22937) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ailure (pingdotgg#22904) Co-authored-by: fixfon <12512757+fixfon@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gg#21519) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… Usage (pingdotgg#22905) Co-authored-by: Victor Vogel <satsdev@only21mil.xyz> Co-authored-by: GPT-6.1 Sol <noreply@openai.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…dotgg#22149) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…typing into the composer (pingdotgg#22898) Co-authored-by: fixfon <12512757+fixfon@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ngdotgg#22853) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gdotgg#22188) Co-authored-by: macodev00 <macodev00@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…their pull requests (pingdotgg#22782)
…ingdotgg#22938) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…dotgg#22826) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…dotgg#23126) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
A markdown image such as , or a raw \\host\share path, was classified as a host file. Rendering it asked the server for a signed asset URL, and the server's realpath on the resulting UNC path made Windows open an SMB session and send the user's NetNTLMv2 response to the attacker's host, with no click and no tool call. File-link chips did the same through filesystem.getMetadata, which stats every absolute path, and storage cleanup stats the store paths in a worktree's pnpm manifest, which an agent can write. Network paths (two leading separators, as Windows reads them: \\h, //h, /\h) now only resolve inside the thread's project, so projects on a share keep working: - clients block them in markdown images and stop treating them as file links - the web stops asking for their metadata - the server refuses them for media assets and file reads outside the project, never stats one for metadata, and storage cleanup ignores a pnpm manifest that names one - each check hands the filesystem the resolved path it approved, since Windows reads a `\\?\` path as written, `..` included Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Integrates 190 first-parent upstream commits after 05696c6: the web ChatView, composer, sidebar, command palette and pull request file splits, composer use during approvals, thread link chips, automation message rows, mobile diffstat and chips, the `lecturn thread` CLI, second test prune passes under the retention rule, test lints, pnpm 12, Vite+ 1.3, Electron 44.9.3, and the workspace, media and link security fix. Fork edits moved with the code they sat in; RESOLUTION_GUIDE lists where they landed. Windows x64 keeps its native release leg (pingdotgg#22584 not ported). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream's redirect send (pingdotgg#21503) answers pending approvals. Keep it for provider approvals only: a preview annotation or a composer send no longer declines an app tool, including one queued behind a provider card, on web or mobile. Embedded apps may send queued runs now (pingdotgg#22790). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nurozen
marked this pull request as ready for review
November 7, 2026 15:45
Nurozen
marked this pull request as draft
November 7, 2026 15:57
Nurozen
marked this pull request as ready for review
November 7, 2026 15:57
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
True merge of
pingdotgg/t3codethrougha12d6ed9428d8e64d76ca86d178abbf564b57cee(190 first-parent commits after05696c636ec2) into Lecturn mainf8af571d. 240 conflicts; no.reposcommit in the range. It stops before upstream's Node 26 pin and the iPhone Duo run.What changes for users
Web:
Mobile: work rows show the turn's diffstat (pingdotgg#21392), composer chips match chat chips (pingdotgg#22518), database space notices list all machines (pingdotgg#22575), and thread rows show wake status (pingdotgg#21394; working rows keep Lecturn's relative time).
CLI:
lecturn threadstarts, messages and reads threads (pingdotgg#22732).lecturn pairin a linked worktree no longer falls back to the shared home (pingdotgg#22855).Security:
a12d6ed942stops the server touching network paths for workspace files, media and Markdown links. All 15 files are on the tree; thews.tsguard had to be re-applied by hand after the fork's indentation hid it.Tooling: pnpm 12, Vite+ 1.3, Electron 44.9.3 (also in
packages/embedandexamples/embed-host), and new test lints.Merge decisions
Upstream split ChatView, composer, Sidebar, CommandPalette, the PR page, settings and ChatMarkdown into new files. Fork edits moved with their code;
RESOLUTION_GUIDElists where. An independent audit of 5,078 fork-added web lines found 92 absent, all rewrites or import paths apart from one variable already unused on main.Kept fork behavior, recorded in the guide:
ComposerAttachButtonis not taken.Second test prune passes follow the retention rule. An independent AST recount finds 6,110 fork-added cases with none missing, and none lost assertions. Stop targets pingdotgg#18548, pingdotgg#20281 and pingdotgg#16872 hold.
vitest 5.0.5 grants the page real user activation when a browser test file registers
vi.mock.McpAppFrame.browser.test.tsxnow waits that out;McpAppFrame.tsxis unchanged and mutations of its gate still fail the tests.Checks
vp check, knip, typecheck, release smoke.ChatView.controls.browser.test.tsx:587that cannot fail (the disabled-state checks in that test are real).useEffectEventresult in a dependency array, and no new unmemoizable provider, on web or mobile.Limitations
d0c5d7c4edis byte-identical to upstream but not proven there. Work-row diffstat, Waiting duration and Squire threads were not seen on Android.lecturn threadwas not run against a live server. Upstream's CLI runs pending migrations in its own process and logs them to stdout.Web evidence
UI evidence: isolated synthetic fixture (web dev server, stub Codex, headless Chrome 1440x900 at 1x dark)
Before = Lecturn main f8af571; after = final head 0ec7aee for approval scenes, e5a1909 for the rest (see the note below).
No regressions. All 11 upstream UI changes behave as intended, approval sends never decline an app tool approval, and every screen in the spot check looks the same. "Maximum update depth exceeded" appeared 0 times on any scene. The only console error is the existing
flushSyncone, on the same two scenes as main.[approve] thread with a pending command approval.
Typed a redirect message.
Pressed Enter.
Approval item carries a reason and a full access override (see notes).
Hover on the question. No before: the control is new.
Pending approval marked as a connected app tool (see notes).
Typed a message, pressed Enter.
Two pending approvals: command first, app tool behind it (1/2).
Narrower window.
Narrow window.
Typed a message, pressed Enter.
Links to a Penguin Lab thread, a showcase thread and a missing thread.
Cmd+K search for #12 on a thread with 2 linked PRs.
Scheduled task, Run now.
Row opened. No before: the row is new.
Message 11 of 12 marked as automation (see notes), row hovered. No before: the row is new.
All Worked rows opened.
Default view.
Reply with bold labels above images.
Edit Action dialog, Cancel pressed, animation at 0.1x.
Same, 0.1x speed.
66-dialog-close-before.mp4
66-dialog-close-after.mp4
Theme with dim status colors on #2d3348.
1000 px wide, cited text ends past the window in a wide table.
User binding: mod+u goes back on Usage. Second Cmd+U.
Two checkouts of one repository, one Stave space.
Row layout, status line.
A settled thread, shelf open.
Saved note from a selection.
12 turn thread, hover on the last strip.
Image and file attached, text typed.
Open from the composer.
Change theme.
Search "roster".
Directory browser.
Synthetic PR data (see notes).
Detail open, hover on the watch button.
Clip of the detail header.
Tap inside the app.
Corner clip.
How these were made. Both sides ran the same scripted steps, one after the other, on a fresh isolated fixture: synthetic projects, a stub Codex, Claude off, HOME set to the fixture, the github.com host turned off and the host label masked as "Fixture Mac". A pixel diff backs each verdict. Differences from the clock or the run (relative times, "Worked for Ns", ids, the dev port) are not counted.
Sources. Approval scenes 60 and 70-71 ran on the final head 0ec7aee. The rest ran on e5a1909. Between the two, the only web changes are the composer's approval send logic and copy, so those images hold for the final head. The 60a, 60b and 60d clips are pixel-identical on both heads, and 60c differs only in times.
Fixture patches, disclosed.
Run order. Sidebar lists differ across pairs because scenes ran in a different order on each side. x1 settled the first row of a group, not a chosen thread, so the settled thread differs.
Not shown: the AccountMark and Connect sidebar rows (they need 2 or more signed-in accounts), the PR Timeline and Code tabs, and earlier reused scenes. Limits bars, chat table and Mermaid clips (50b, 53b, 54b, 54d) are pixel-identical to the last checkpoint.
Android evidence
The fix commit after e5a1909 changes mobile only while an app tool approval is pending, a state no Android scene shows, so these frames still hold.
Android evidence (phone and 10-inch tablet, dark, Lecturn theme; GitHub-hosted ubuntu-24.04 capture-only harness)
Before = Lecturn main f8af571, except Terminal and Environments, which reuse 07a3912 frames (run 42378155432 recaptured the after side; between those commits mobile changed only in thread route-control gating, comments and unused exports, none rendered in these scenes). After = e5a1909. All runs are green. Synthetic fixture only. Method: ffmpeg max-channel pixel difference, threshold 12/255. Logs: 0 "Maximum update depth" in all 10 completed runs, and no red screens or launcher ANR dialogs in the frames reviewed. No regressions.
Some states do not occur in the fixture, so capture-only client stubs supply their data: the diffstat, the Woke row and the database notice. The components render for real, but those values are not from a server.
Phone (1080×1920)
10-inch tablet, split view (1440×2560)
Light theme composer (after only)
Composer chip accents compute to about 2.9-3.4:1 on the parchment surface, below the 4.5:1 AA target for this text size. Chat chips use the same accents, and this is upstream's pingdotgg#22518 design, so it is flagged as a follow-up and not as a regression.
Other scenes also regression-checked with no regression: agent activity, settings, apps, usage, scheduled tasks, new scheduled task and environment detail, at phone and tablet. Phone Usage (Limits) rendered without its empty-state text in 1 of 2 after runs and matched before exactly (0.00%) in the other; before showed the text in all 3 runs. No usage code changed, so this looks like capture timing, but it is not proven.
Not covered: the crash fix against a loaded pull request (no GitHub in the fixture), diffstat on a work row (the fixture has no work rows; the reply row is shown), Waiting duration, other palettes, iOS (capture route broken).
🤖 Generated with Claude Code