GeezerVison is showing github.com — merge upstream/main into fork by adampeterhiggins · Pull Request #258 · adampeterhiggins/t3code
Conversation
Merges the 63 upstream commits since the last sync (up to 101f8b2f55, the v0.0.46 preview/nightly). Based on main at e9c4825de8 (#257). The fork was 297 commits ahead and 63 behind.
The main upstream change moves most providers into their own packages: provider-core, provider-acp, provider-acp-registry, provider-grok, provider-cursor, provider-opencode, provider-pi, provider-muse and provider-testing. It also drops the legacy per-driver providers settings map (pingdotgg#17300). There were 59 conflicted files. Fork-only code that stayed in apps/server also had to be moved onto the new package APIs. The rule throughout was to keep every behaviour in docs/fork-differences.md.
Conflict resolutions and rewiring
Providers and settings
- Settings: took upstream's per-package settings and one-time legacy migration.
DevinSettings and CustomAcpSettings stay in contracts, like Codex and Claude. devin is added to DEFAULT_DISABLED_PROVIDER_DRIVERS, so Devin stays opt-in. The migration also enables Devin when Devin usage history exists, and a test covers it.
- Per-instance homes: the fork's per-instance
homePath field (GROK_HOME / XDG_DATA_HOME) is re-added to the Grok and OpenCode package settings.
- CLI sign-in:
CliProviderAuth moved into provider-core as server/cliAuth. ProviderHost.settings gained update, which it needs. Claude, Codex, Devin, Grok and OpenCode all sign in through it.
- Token usage:
- Cursor: credentials are still stored per instance, so several Cursor logins per environment keep working. The per-instance usage reading now goes through
ProviderHost.
- Devin and Custom ACP: these drivers and adapters now get their state directory and settings from
ProviderHost, matching refactor(providers): adapter factories yield their services pingdotgg/t3code#17381. Upstream's Devin ACP helpers come from provider-acp-registry. Custom ACP declares hasDefaultInstance: false on server and web, because upstream now synthesizes a default instance for every driver that doesn't.
- Text generation:
TextGenerationOperations was deleted upstream. The fork's generateIgnoredNames is now in provider-core's text-generation operations.
- Cursor follow-ups steer the running turn (feat(cursor): inject follow-ups into the running turn #257): carried into
packages/provider-cursor with the adapter. steerTurn resolves attachments through ProviderHost, and its test uses the package's host-based factory.
- Claude: took upstream's
claudeAuthStatus (fix(server): a logged-out Claude CLI no longer reports as authenticated pingdotgg/t3code#15459) and kept the fork's sign-in message and external-credential detection.
Browser and MCP
- Snapshots: took upstream's "no image unless requested".
includeImage: false still skips capture on server tabs.
- Tab ownership: took upstream's rules (
agentMayAct / observe). Kept the fork's request signal and time budget on every tab operation, so expired requests still never run.
ServerBrowserPage.evaluate: kept the fork's bounded, signal-aware version, which already covers upstream's terminateExecution timeout. Upstream's new tests were updated to the options signature.
Web, mobile and desktop
- Provider metadata: web and mobile take upstream's
providerClients registry, with inline Devin and Custom ACP entries. Hand-drawn icons for providers that now ship package icons were dropped. Devin and Custom ACP keep their own.
- Deleting a default provider: deleting Codex or Claude in Settings → Providers now writes a disabled marker instance instead of the removed legacy map, so the row stays hidden. Re-adding still gets a
_2 id, as before.
- Composer: paste keeps upstream's literal mode, and pasted file paths still become chips.
- Model picker: gets upstream's "CLI update required" notice and keeps the fork's legacy-section toggle.
- Onboarding: the welcome wizard's Enable action and the Devin login command no longer read the removed
providers map.
- Other merged files:
ChatMarkdown, CommandPalette, MessagesTimeline, composerContextPresentation, ElectronDialog and LinkPullRequestDialog keep both sides. Fork Slack/Linear/GitHub issue context and multi-select linking sit alongside upstream's heading ids, find-in-thread, screenshots and dialog owner.
CommandPalette.tsx: restored the "use client" directive, which the fork had mangled to ("use client");.
Verification
- Typecheck is clean for
apps/server, apps/web, apps/desktop, apps/mobile, contracts, client-runtime, shared and every provider-* package.
- Full
apps/server suite: 6,680 passed, 16 failed. Measured before feat(cursor): inject follow-ups into the running turn #257 landed; these are the same 16 that failed on origin/main then (CLI install ownership, Antigravity file system, Muse replay fixtures, PortScanner, VS Code Insiders, control-reads).
- Provider packages and contracts: 1,645 passed. client-runtime, shared and provider-testing: 3,652 passed. The one failure (
work-log/presentation.test.ts) also fails on origin/main.
- Web tests for settings, onboarding, chat, usage and composer context pass. The only failures are five tests that also fail on
origin/main (KeybindingsSettings.logic, ProjectSettingsPanel, OpenInPicker, ChatMarkdown.permissions, MessagesTimeline).
- Cursor replay fixture:
message_steering/cursor still expects interrupt-and-restart. It already fails on main since feat(cursor): inject follow-ups into the running turn #257 and needs re-recording against a live Cursor. Not fixed here.
- Formatting and lint:
vp check --fix on the resolved files reports 0 errors.
- Not tested in a running client.
Merge with Create a merge commit. It keeps upstream history and the merge base for the next sync.
Done by Claude Opus 5.5 in Claude Code (T3 Code).
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|