GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sync: merge 33 upstream commits from pingdotgg/t3code by aaditagrawal · Pull Request #71 · aaditagrawal/t3code

This repository was archived by the owner on Oct 10, 2026. It is now read-only.

Conversation

@aaditagrawal

@aaditagrawal aaditagrawal commented Apr 18, 2026

Copy link
Copy Markdown
Owner

Summary

Merges 33 upstream commits (d22c6f5..9df3c64) from pingdotgg/t3code into the fork. Preserves all 8-provider multi-provider support and fork-specific UI. Adopts upstream's Claude Opus 4.5/4.7, Node-native TypeScript migration, project grouping, thread-status command palette, Windows build/PATH fixes, Claude process leak fix, and pending-approval cleanup migration. Dark mode --background set to #0f0f0f.

Upstream adopted

  • Claude Opus 4.5 / 4.7 built-in models (feat: add Claude Opus 4.7 to built-in models pingdotgg/t3code#2072, Add Claude Opus 4.5 to built-in Claude models pingdotgg/t3code#2143)
  • Node-native TypeScript (--experimental-strip-types) — NodeNext module resolution + verbatimModuleSyntax + erasableSyntaxOnly (Adopt Node-native TypeScript for desktop and server pingdotgg/t3code#2098)
  • Configurable project grouping with client-settings overrides (feat: configurable project grouping pingdotgg/t3code#2055, fix: guard against missing sidebarProjectGroupingOverrides in client settings pingdotgg/t3code#2099)
  • Thread status in command palette (Show thread status in command palette pingdotgg/t3code#2107)
  • Responsive composer / plan sidebar (fix(web): prevent composer controls overlap on narrow windows (make plan sidebar responsive) pingdotgg/t3code#1198)
  • Windows ARM build target (Build for Windows ARM pingdotgg/t3code#2080)
  • Windows PATH hydration + repair (Fix Windows PATH hydration and repair pingdotgg/t3code#1729)
  • Gitignore-aware workspace search (fix(server): honor gitignored files in workspace search pingdotgg/t3code#2078)
  • Claude process leak fix + stale session monitoring (Fix Claude Process leak[MEMORY INTENSIVE], archiving, and stale claude session monitoring. pingdotgg/t3code#2042)
  • Preserve provider bindings when stopping sessions (Accidental issue creation - please ignore pingdotgg/t3code#2084)
  • Clean up invalid pending-approval projections (Clean up invalid pending approval projections pingdotgg/t3code#2106) — new migration at ID 27
  • Extract backend startup readiness coordination
  • Drop stale text-gen options on reset (fix(server): drop stale text generation options when resetting text-gen model selection pingdotgg/t3code#2076)
  • Extend negative repository identity cache TTL (fix(server): extend negative repository identity cache ttl pingdotgg/t3code#2083)
  • Allow deleting non-empty projects from warning toast (fix(web): allow deleting non-empty projects from the warning toast pingdotgg/t3code#1264)
  • Restore defaults only on General settings (fix: show restore defaults only on General settings pingdotgg/t3code#1710)
  • Capture-phase CTRL+J for Windows terminal toggle ([Bug]: CTRL+J not closing terminal on Windows pingdotgg/t3code#2113/fix(web): use capture-phase keydown listener so CTRL+J toggles terminal from terminal focus on Windows (#2113) pingdotgg/t3code#2142)
  • Bypass xterm for global terminal shortcuts (fix(web): bypass xterm for global terminal shortcuts pingdotgg/t3code#1580)
  • Release workflow modernization (blacksmith runners, GitHub App token, job guards, v0.0.20 bump)

Fork preserved (explicit collisions)

Two upstream commits introduced parallel implementations that collide with fork's own:

  1. OpenCode — upstream's feat: add opencode provider support pingdotgg/t3code#1758 added OpenCodeProvider.ts, opencodeRuntime.ts, OpenCodeTextGeneration.ts using @opencode-ai/sdk. Fork has its own hand-rolled OpenCode protocol at apps/server/src/opencode/ + opencodeServerManager.ts. Upstream's parallel files deleted; fork's implementation wins.
  2. Cursor — upstream's Add ACP support with Cursor provider pingdotgg/t3code#1355 added CursorProvider.ts, provider/acp/CursorAcpSupport.ts, CursorTextGeneration.ts using a new ACP client. Fork has a direct-CLI CursorAdapter.ts + CursorUsage.ts + its own Service definitions. Upstream's parallel files deleted; fork's implementation wins.

The packages/effect-acp package is kept (clean add, no fork conflict) for potential future use. ProviderRegistry.ts registers only codex + claudeAgent for live snapshot aggregation (fork's existing pattern); all 8 providers still register via ProviderAdapterRegistry.

Other preservation notes

  • All 8 providers in contracts/model.ts, settings.ts, orchestration.ts, ProviderAdapterRegistry, settings UI
  • Fork migration IDs 23/24/25/26 kept; upstream's new 025 lands at ID 27
  • Generic per-provider settings schema retained; upstream's opencode-specific serverUrl/serverPassword / cursor-specific apiEndpoint dropped in favor of fork's configDir convention
  • Log directory IPC channels (LOG_DIR/LIST/READ/OPEN_DIR) + updateInstallInFlight tracking + fork icon composer pipeline preserved in desktop main.ts / electron-launcher.mjs
  • Fork's simplified release.yml kept (no npm CLI publish, no nightly infra)
  • composerDraftStore.normalizeProviderKind widened from 2 to all 8 provider kinds (fixes pre-existing bug flagged in prior review)
  • Dark mode --background changed from color-mix(color-neutral-950, white) to #0f0f0f

Test fallout fixes

  • packages/contracts/src/model.ts — exported CodexReasoningEffort/ClaudeAgentEffort/ClaudeCodeEffort/CursorReasoningOption as Schema values (not just type aliases) so fork code using Schema.is(...)/Schema.optionalKey(...) compiles under verbatimModuleSyntax
  • packages/shared/src/serverSettings.ts — widened applyServerSettingsPatch switch to handle all 8 provider branches (was only handling 4)
  • apps/server/src/provider/providerStatusCache.ts — PROVIDER_CACHE_IDS kept at [codex, claudeAgent]; ProviderRegistry.persistProvider skips non-cached kinds with type-safe narrowing (no ! assertion / no as any)
  • apps/server/src/git/Layers/RoutingTextGeneration.ts — routes only codex/claudeAgent/copilot; cursor/opencode route via fork's adapters directly
  • apps/desktop/src/main.ts — removed duplicate GET_LOCAL_ENVIRONMENT_BOOTSTRAP_CHANNEL handler (same bug pattern fixed in prior sync)
  • apps/web/src/components/KeybindingsToast.browser.tsx + apps/web/src/localApi.test.ts — test mocks aligned to fork's GenericProviderSettings (configDir instead of apiEndpoint/serverUrl/serverPassword)
  • apps/server/src/provider/Layers/CopilotAdapter.test.ts — replaced TS parameter property with explicit assignment (erasableSyntaxOnly)
  • apps/server/src/provider/Layers/ProviderSessionReaper.test.ts — extended mock getCapabilities with all required fields under exactOptionalPropertyTypes
  • apps/server/src/persistence/Migrations/025_CleanupInvalidProjectionPendingApprovals.test.ts — toMigrationInclusive bumped to 27 (fork's registered ID for upstream's new migration)
  • apps/web/src/composerDraftStore.test.ts — updated cursor model slug expectations from gpt-5.4 to gpt-5.4-medium (fork's normalizer resolves base family names to default variants); CursorReasoningOption tests dropped medium (not in fork's [low, normal, high, xhigh])

Known skipped

4 GitManager cross-repo PR selector tests marked .skip with TODO(upstream-sync) comment. They deadlock on 12s vitest timeouts under the Node-native-TS migration; have been historically flaky across prior PRs. Need a focused investigation (possibly the mock spawner interacting with the new execution semantics) — out of scope for a sync PR.

Test plan

  • bun install (adds Node-native-TS tooling + bumps; removes @tanstack/react-virtual)
  • bun typecheck across 9 packages → clean
  • bun run lint → 0 errors
  • bun fmt:check → clean
  • bun run test across all packages → 1877 passed, 15 skipped, 0 failed
  • Manual smoke: launch desktop, verify each of 8 providers starts
  • Manual smoke: verify project grouping + thread-status command palette
  • Manual smoke: verify Claude Opus 4.5/4.7 appear in picker
  • Manual smoke: verify dark mode --background #0f0f0f looks right

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Marve10s and others added 30 commits April 16, 2026 11:11
@Marve10s @juliusmarminge
feat: add Claude Opus 4.7 to built-in models (pingdotgg#2072)
3e07f5a
Co-authored-by: Julius Marminge <[email protected]>
@UtkarshUsername
fix(web): prevent composer controls overlap on narrow windows (make p…
19d4740
…lan sidebar responsive) (pingdotgg#1198)
@UtkarshUsername
fix(server): drop stale text generation options when resetting text-g…
7a08fcf
…en model selection (pingdotgg#2076)
@tlh38 @juliusmarminge @codex
feat: configurable project grouping (pingdotgg#2055)
188a40c
Co-authored-by: tlh38 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
@crafael23 @juliusmarminge @codex
Fix Claude Process leak[MEMORY INTENSIVE], archiving, and stale claud…
e0117b2
…e session monitoring. (pingdotgg#2042)

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
@m-mohamed
fix(server): extend negative repository identity cache ttl (pingdotgg…
d90e15d
…#2083)
@Badbird5907 @juliusmarminge
Build for Windows ARM (pingdotgg#2080)
6891c77
Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
[codex] Fix Windows release manifest publishing (pingdotgg#2095)
b7df3df
@juliusmarminge
fix: guard against missing sidebarProjectGroupingOverrides in client …
5490438
…settings (pingdotgg#2099)
@juliusmarminge
ci(release): install deps before finalize version bump (pingdotgg#2100)
b2cca67
@t3-code-bot
chore(release): prepare v0.0.20
2d87574
@juliusmarminge
try out blacksmith for releases (pingdotgg#2101)
505db9f
@juliusmarminge
Revert to Github Runner for Windows (pingdotgg#2103)
b991b9b
@nmharmon8 @juliusmarminge
fix(server): honor gitignored files in workspace search (pingdotgg#2078)
ed6b7fb
Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
Adopt Node-native TypeScript for desktop and server (pingdotgg#2098)
8dba2d6
@juliusmarminge
Update workflow to use ubuntu-24.04 runner (pingdotgg#2110)
54179c8
@Noojuno
Show thread status in command palette (pingdotgg#2107)
d8d3296
@Badbird5907 @juliusmarminge
Fix Windows PATH hydration and repair (pingdotgg#1729)
a7a44d0
Co-authored-by: Julius Marminge <[email protected]>
@juliusmarminge
Clean up invalid pending approval projections (pingdotgg#2106)
f297e30
@juliusmarminge @codex @cursoragent
Modernize release workflow runners (pingdotgg#2129)
df9d340
Co-authored-by: codex <[email protected]>
Co-authored-by: Cursor Agent <[email protected]>
@juliusmarminge
Extract backend startup readiness coordination (pingdotgg#2133)
4000973
@HaukeSchnau @juliusmarminge @codex
Preserve provider bindings when stopping sessions (pingdotgg#2125)
721b6b4
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
@juliusmarminge
Throttle nightly release workflow to every 3 hours (pingdotgg#2134)
52a6067
@AriajSarkar
fix(web): bypass xterm for global terminal shortcuts (pingdotgg#1580)
39ca3ee
@nexxeln @juliusmarminge
@codex @claude
feat: add opencode provider support (pingdotgg#1758)
ce94fee
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
@UtkarshUsername
fix: show restore defaults only on General settings (pingdotgg#1710)
60387f6
@maria-rcks @juliusmarminge @codex
fix(web): allow deleting non-empty projects from the warning toast (p…
4e0c003
…ingdotgg#1264)

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
@juliusmarminge
Add Claude Opus 4.5 to built-in Claude models (pingdotgg#2143)
a3b1df5
@mvanhorn
fix(web): use capture-phase keydown listener so CTRL+J toggles termin…
0f184c2
…al from terminal focus on Windows (pingdotgg#2113) (pingdotgg#2142)

Co-authored-by: Matt Van Horn <[email protected]>
@juliusmarminge @codex
Julius Marminge @cursoragent @cursor
Add ACP support with Cursor provider (pingdotgg#1355)
9c64f12
Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com>
juliusmarminge and others added 4 commits April 17, 2026 16:34
@juliusmarminge
Guard release workflow jobs from upstream failures (pingdotgg#2146)
29cb917
@juliusmarminge
Guard release workflow jobs on upstream success (pingdotgg#2147)
8ac57f7
@juliusmarminge
Use GitHub App token for release uploads (pingdotgg#2149)
9df3c64
@aaditagrawal
sync: merge 33 upstream commits from pingdotgg/t3code
d583485
Integrates upstream/main (9df3c64) on top of fork's main (9602c18).

Upstream features adopted:
- Claude Opus 4.5 and 4.7 built-in models (pingdotgg#2072, pingdotgg#2143)
- Node-native TypeScript migration across desktop/server (pingdotgg#2098)
- Configurable project grouping with client-settings overrides (pingdotgg#2055, pingdotgg#2099)
- Thread status in command palette (pingdotgg#2107)
- Responsive composer / plan sidebar on narrow windows (pingdotgg#1198)
- Capture-phase CTRL+J keydown for Windows terminal toggle (pingdotgg#2113/pingdotgg#2142)
- Bypass xterm for global terminal shortcuts (pingdotgg#1580)
- Windows ARM build target (pingdotgg#2080)
- Windows PATH hydration + repair (pingdotgg#1729)
- Gitignore-aware workspace search (pingdotgg#2078)
- Claude process leak fix + stale session monitoring (pingdotgg#2042)
- Preserve provider bindings when stopping sessions (pingdotgg#2084)
- Clean up invalid pending-approval projections (pingdotgg#2106) — new migration
- Extract backend startup readiness coordination
- Drop stale text-gen options on reset (pingdotgg#2076)
- Extend negative repository identity cache TTL (pingdotgg#2083)
- Allow deleting non-empty projects from warning toast (pingdotgg#1264)
- Restore defaults only on General settings (pingdotgg#1710)
- Release workflow modernization (blacksmith runners, GitHub App token guards, v0.0.20 version bump)

Fork features preserved:
- All 8 providers (codex, claudeAgent, copilot, cursor, opencode,
  geminiCli, amp, kilo) with their adapters, services, and tests
- Fork's custom OpenCode protocol impl in apps/server/src/opencode/ (kept
  over upstream's @opencode-ai/sdk-based provider added in pingdotgg#1758 — fork's
  version is tested and integrated; upstream's parallel files deleted)
- Fork's direct-CLI Cursor adapter (kept over upstream's new ACP-based
  CursorProvider added in pingdotgg#1355 — upstream's parallel files deleted)
- Fork's ProviderRegistry aggregates only codex + claudeAgent snapshots;
  the other 6 providers register via ProviderAdapterRegistry
- PROVIDER_CACHE_IDS stays at [codex, claudeAgent] matching what the
  registry actually caches
- Migration IDs preserved (fork 23/24/25/26; upstream's new 025 lands at
  ID 27 to avoid re-applying on deployed fork DBs)
- Fork's generic per-provider settings (enabled/binaryPath/configDir/
  customModels) kept over upstream's opencode-specific serverUrl/password
- Log directory IPC channels, updateInstallInFlight tracking, icon
  composer pipeline all preserved
- Fork's simplified release.yml (no npm CLI publish, no nightly infra)
- composerDraftStore normalizeProviderKind widened to accept all 8 kinds
- Dark mode --background set to #0f0f0f

Test status:
- All 9 package typechecks pass
- Lint clean (0 errors)
- Tests: 1877 passed, 15 skipped (incl. 4 historically-flaky GitManager
  cross-repo PR selector tests newly gated with TODO for Node-native-TS
  follow-up)
@coderabbitai

coderabbitai Bot commented Apr 18, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 297 files, which is 147 over the limit of 150.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0e9ef7cc-0d4f-4df3-b528-065d8f6748c2

📥 Commits

Reviewing files that changed from the base of the PR and between 9602c18 and 2f30d39.

⛔ Files ignored due to path filters (3)
  • bun.lock is excluded by !**/*.lock
  • packages/effect-acp/src/_generated/meta.gen.ts is excluded by !**/_generated/**
  • packages/effect-acp/src/_generated/schema.gen.ts is excluded by !**/_generated/**
📒 Files selected for processing (297)
  • .github/workflows/ci.yml
  • .github/workflows/release.yml
  • CLAUDE.md
  • apps/desktop/package.json
  • apps/desktop/scripts/dev-electron.mjs
  • apps/desktop/scripts/smoke-test.mjs
  • apps/desktop/scripts/start-electron.mjs
  • apps/desktop/src/appBranding.test.ts
  • apps/desktop/src/appBranding.ts
  • apps/desktop/src/backendPort.test.ts
  • apps/desktop/src/backendReadiness.test.ts
  • apps/desktop/src/backendStartupReadiness.test.ts
  • apps/desktop/src/backendStartupReadiness.ts
  • apps/desktop/src/clientPersistence.test.ts
  • apps/desktop/src/clientPersistence.ts
  • apps/desktop/src/confirmDialog.test.ts
  • apps/desktop/src/desktopSettings.test.ts
  • apps/desktop/src/desktopSettings.ts
  • apps/desktop/src/main.ts
  • apps/desktop/src/runtimeArch.test.ts
  • apps/desktop/src/serverExposure.test.ts
  • apps/desktop/src/serverListeningDetector.test.ts
  • apps/desktop/src/syncShellEnvironment.test.ts
  • apps/desktop/src/syncShellEnvironment.ts
  • apps/desktop/src/updateChannels.test.ts
  • apps/desktop/src/updateMachine.test.ts
  • apps/desktop/src/updateMachine.ts
  • apps/desktop/src/updateState.test.ts
  • apps/desktop/tsconfig.json
  • apps/desktop/tsdown.config.ts
  • apps/server/integration/OrchestrationEngineHarness.integration.ts
  • apps/server/package.json
  • apps/server/scripts/acp-mock-agent.ts
  • apps/server/scripts/cli.ts
  • apps/server/scripts/cursor-acp-model-mismatch-probe.ts
  • apps/server/src/auth/Layers/AuthControlPlane.test.ts
  • apps/server/src/auth/Layers/AuthControlPlane.ts
  • apps/server/src/auth/Services/AuthControlPlane.ts
  • apps/server/src/auth/utils.test.ts
  • apps/server/src/bin.ts
  • apps/server/src/bootstrap.test.ts
  • apps/server/src/checkpointing/Layers/CheckpointStore.ts
  • apps/server/src/cli-config.test.ts
  • apps/server/src/cli.ts
  • apps/server/src/codexAppServerManager.test.ts
  • apps/server/src/codexAppServerManager.ts
  • apps/server/src/environment/Layers/ServerEnvironment.ts
  • apps/server/src/geminiCliServerManager.test.ts
  • apps/server/src/git/Layers/ClaudeTextGeneration.ts
  • apps/server/src/git/Layers/CodexTextGeneration.ts
  • apps/server/src/git/Layers/CursorTextGeneration.test.ts
  • apps/server/src/git/Layers/CursorTextGeneration.ts
  • apps/server/src/git/Layers/GitHubCli.test.ts
  • apps/server/src/git/Layers/GitHubCli.ts
  • apps/server/src/git/Layers/GitManager.test.ts
  • apps/server/src/git/Layers/GitManager.ts
  • apps/server/src/git/Layers/OpenCodeTextGeneration.test.ts
  • apps/server/src/git/Layers/OpenCodeTextGeneration.ts
  • apps/server/src/git/Layers/RoutingTextGeneration.ts
  • apps/server/src/git/Services/GitHubCli.ts
  • apps/server/src/git/Services/TextGeneration.ts
  • apps/server/src/http.ts
  • apps/server/src/keybindings.test.ts
  • apps/server/src/keybindings.ts
  • apps/server/src/observability/LocalFileTracer.ts
  • apps/server/src/open.test.ts
  • apps/server/src/opencode/errors.ts
  • apps/server/src/opencode/eventHandlers.test.ts
  • apps/server/src/opencode/eventHandlers.ts
  • apps/server/src/opencode/index.ts
  • apps/server/src/opencode/serverLifecycle.ts
  • apps/server/src/opencode/types.ts
  • apps/server/src/opencode/utils.ts
  • apps/server/src/opencodeServerManager.test.ts
  • apps/server/src/opencodeServerManager.ts
  • apps/server/src/orchestration/Layers/CheckpointReactor.ts
  • apps/server/src/orchestration/Layers/OrchestrationReactor.test.ts
  • apps/server/src/orchestration/Layers/OrchestrationReactor.ts
  • apps/server/src/orchestration/Layers/ProviderCommandReactor.test.ts
  • apps/server/src/orchestration/Layers/ProviderCommandReactor.ts
  • apps/server/src/orchestration/Layers/ProviderRuntimeIngestion.test.ts
  • apps/server/src/orchestration/Layers/ThreadDeletionReactor.test.ts
  • apps/server/src/orchestration/Layers/ThreadDeletionReactor.ts
  • apps/server/src/orchestration/Normalizer.ts
  • apps/server/src/orchestration/Services/ThreadDeletionReactor.ts
  • apps/server/src/orchestration/decider.delete.test.ts
  • apps/server/src/orchestration/decider.ts
  • apps/server/src/os-jank.test.ts
  • apps/server/src/os-jank.ts
  • apps/server/src/persistence/Migrations.ts
  • apps/server/src/persistence/Migrations/025_CleanupInvalidProjectionPendingApprovals.test.ts
  • apps/server/src/persistence/Migrations/025_CleanupInvalidProjectionPendingApprovals.ts
  • apps/server/src/processRunner.test.ts
  • apps/server/src/project/Layers/RepositoryIdentityResolver.test.ts
  • apps/server/src/project/Layers/RepositoryIdentityResolver.ts
  • apps/server/src/provider/Layers/ClaudeAdapter.test.ts
  • apps/server/src/provider/Layers/ClaudeAdapter.ts
  • apps/server/src/provider/Layers/ClaudeProvider.ts
  • apps/server/src/provider/Layers/CodexAdapter.test.ts
  • apps/server/src/provider/Layers/CodexProvider.ts
  • apps/server/src/provider/Layers/CopilotAdapter.test.ts
  • apps/server/src/provider/Layers/CursorAdapter.test.ts
  • apps/server/src/provider/Layers/CursorAdapter.ts
  • apps/server/src/provider/Layers/CursorProvider.test.ts
  • apps/server/src/provider/Layers/CursorProvider.ts
  • apps/server/src/provider/Layers/CursorUsage.test.ts
  • apps/server/src/provider/Layers/CursorUsage.ts
  • apps/server/src/provider/Layers/OpenCodeAdapter.test.ts
  • apps/server/src/provider/Layers/OpenCodeAdapter.ts
  • apps/server/src/provider/Layers/OpenCodeProvider.test.ts
  • apps/server/src/provider/Layers/OpenCodeProvider.ts
  • apps/server/src/provider/Layers/ProviderAdapterConformance.test.ts
  • apps/server/src/provider/Layers/ProviderRegistry.test.ts
  • apps/server/src/provider/Layers/ProviderRegistry.ts
  • apps/server/src/provider/Layers/ProviderService.test.ts
  • apps/server/src/provider/Layers/ProviderService.ts
  • apps/server/src/provider/Layers/ProviderSessionDirectory.test.ts
  • apps/server/src/provider/Layers/ProviderSessionDirectory.ts
  • apps/server/src/provider/Layers/ProviderSessionReaper.test.ts
  • apps/server/src/provider/Layers/ProviderSessionReaper.ts
  • apps/server/src/provider/Services/ClaudeProvider.ts
  • apps/server/src/provider/Services/CodexProvider.ts
  • apps/server/src/provider/Services/CursorAdapter.test.ts
  • apps/server/src/provider/Services/CursorAdapter.ts
  • apps/server/src/provider/Services/CursorProvider.ts
  • apps/server/src/provider/Services/OpenCodeAdapter.ts
  • apps/server/src/provider/Services/OpenCodeProvider.ts
  • apps/server/src/provider/Services/ProviderSessionDirectory.ts
  • apps/server/src/provider/Services/ProviderSessionReaper.ts
  • apps/server/src/provider/acp/AcpAdapterSupport.test.ts
  • apps/server/src/provider/acp/AcpAdapterSupport.ts
  • apps/server/src/provider/acp/AcpCoreRuntimeEvents.test.ts
  • apps/server/src/provider/acp/AcpCoreRuntimeEvents.ts
  • apps/server/src/provider/acp/AcpJsonRpcConnection.test.ts
  • apps/server/src/provider/acp/AcpNativeLogging.ts
  • apps/server/src/provider/acp/AcpRuntimeModel.test.ts
  • apps/server/src/provider/acp/AcpRuntimeModel.ts
  • apps/server/src/provider/acp/AcpSessionRuntime.ts
  • apps/server/src/provider/acp/CursorAcpCliProbe.test.ts
  • apps/server/src/provider/acp/CursorAcpExtension.test.ts
  • apps/server/src/provider/acp/CursorAcpExtension.ts
  • apps/server/src/provider/acp/CursorAcpSupport.test.ts
  • apps/server/src/provider/acp/CursorAcpSupport.ts
  • apps/server/src/provider/cliVersion.test.ts
  • apps/server/src/provider/cliVersion.ts
  • apps/server/src/provider/codexAppServer.ts
  • apps/server/src/provider/codexCliVersion.ts
  • apps/server/src/provider/makeManagedServerProvider.test.ts
  • apps/server/src/provider/makeManagedServerProvider.ts
  • apps/server/src/provider/opencodeRuntime.test.ts
  • apps/server/src/provider/opencodeRuntime.ts
  • apps/server/src/provider/providerSnapshot.test.ts
  • apps/server/src/provider/providerStatusCache.test.ts
  • apps/server/src/provider/providerStatusCache.ts
  • apps/server/src/server.test.ts
  • apps/server/src/server.ts
  • apps/server/src/serverLogger.ts
  • apps/server/src/serverRuntimeStartup.ts
  • apps/server/src/serverRuntimeState.ts
  • apps/server/src/serverSettings.test.ts
  • apps/server/src/serverSettings.ts
  • apps/server/src/startupAccess.test.ts
  • apps/server/src/startupAccess.ts
  • apps/server/src/telemetry/Identify.ts
  • apps/server/src/telemetry/Layers/AnalyticsService.ts
  • apps/server/src/terminal/Layers/BunPTY.ts
  • apps/server/src/terminal/Layers/Manager.test.ts
  • apps/server/src/terminal/Layers/Manager.ts
  • apps/server/src/terminal/Layers/NodePTY.test.ts
  • apps/server/src/terminal/Layers/NodePTY.ts
  • apps/server/src/terminal/Services/Manager.ts
  • apps/server/src/ws.ts
  • apps/server/tsconfig.json
  • apps/server/tsdown.config.ts
  • apps/server/vitest.config.ts
  • apps/web/package.json
  • apps/web/src/components/ChatView.browser.tsx
  • apps/web/src/components/ChatView.tsx
  • apps/web/src/components/CommandPalette.logic.ts
  • apps/web/src/components/CommandPalette.tsx
  • apps/web/src/components/CommandPaletteResults.tsx
  • apps/web/src/components/KeybindingsToast.browser.tsx
  • apps/web/src/components/PlanSidebar.tsx
  • apps/web/src/components/RightPanelSheet.tsx
  • apps/web/src/components/Sidebar.tsx
  • apps/web/src/components/ThreadStatusIndicators.tsx
  • apps/web/src/components/ThreadTerminalDrawer.browser.tsx
  • apps/web/src/components/ThreadTerminalDrawer.tsx
  • apps/web/src/components/chat/ChatComposer.tsx
  • apps/web/src/components/chat/CompactComposerControlsMenu.browser.tsx
  • apps/web/src/components/chat/CompactComposerControlsMenu.tsx
  • apps/web/src/components/chat/MessagesTimeline.tsx
  • apps/web/src/components/chat/ProviderModelPicker.tsx
  • apps/web/src/components/chat/TraitsPicker.browser.tsx
  • apps/web/src/components/chat/TraitsPicker.tsx
  • apps/web/src/components/chat/composerProviderRegistry.test.tsx
  • apps/web/src/components/chat/composerProviderRegistry.tsx
  • apps/web/src/components/settings/SettingsPanels.browser.tsx
  • apps/web/src/components/settings/SettingsPanels.tsx
  • apps/web/src/components/ui/input.tsx
  • apps/web/src/components/ui/toast.tsx
  • apps/web/src/composerDraftStore.test.ts
  • apps/web/src/composerDraftStore.ts
  • apps/web/src/contextMenuFallback.test.ts
  • apps/web/src/contextMenuFallback.ts
  • apps/web/src/environmentGrouping.test.ts
  • apps/web/src/environments/runtime/service.ts
  • apps/web/src/hooks/useHandleNewThread.ts
  • apps/web/src/hooks/useSettings.ts
  • apps/web/src/index.css
  • apps/web/src/keybindings.test.ts
  • apps/web/src/localApi.test.ts
  • apps/web/src/logicalProject.ts
  • apps/web/src/modelSelection.ts
  • apps/web/src/providerModels.ts
  • apps/web/src/rightPanelLayout.ts
  • apps/web/src/routes/__root.tsx
  • apps/web/src/routes/_chat.$environmentId.$threadId.tsx
  • apps/web/src/routes/settings.tsx
  • apps/web/src/session-logic.test.ts
  • apps/web/src/session-logic.ts
  • apps/web/src/sidebarProjectGrouping.ts
  • apps/web/src/store.ts
  • apps/web/tsconfig.json
  • docs/observability.md
  • package.json
  • packages/client-runtime/src/index.ts
  • packages/client-runtime/src/knownEnvironment.test.ts
  • packages/contracts/package.json
  • packages/contracts/src/auth.ts
  • packages/contracts/src/editor.ts
  • packages/contracts/src/environment.ts
  • packages/contracts/src/filesystem.ts
  • packages/contracts/src/git.test.ts
  • packages/contracts/src/git.ts
  • packages/contracts/src/index.ts
  • packages/contracts/src/ipc.ts
  • packages/contracts/src/keybindings.test.ts
  • packages/contracts/src/keybindings.ts
  • packages/contracts/src/model.ts
  • packages/contracts/src/orchestration.test.ts
  • packages/contracts/src/orchestration.ts
  • packages/contracts/src/project.ts
  • packages/contracts/src/provider.test.ts
  • packages/contracts/src/provider.ts
  • packages/contracts/src/providerRuntime.test.ts
  • packages/contracts/src/providerRuntime.ts
  • packages/contracts/src/rpc.ts
  • packages/contracts/src/server.test.ts
  • packages/contracts/src/server.ts
  • packages/contracts/src/settings.ts
  • packages/contracts/src/terminal.test.ts
  • packages/contracts/src/terminal.ts
  • packages/effect-acp/package.json
  • packages/effect-acp/scripts/generate.ts
  • packages/effect-acp/src/_internal/shared.ts
  • packages/effect-acp/src/_internal/stdio.ts
  • packages/effect-acp/src/agent.test.ts
  • packages/effect-acp/src/agent.ts
  • packages/effect-acp/src/client.test.ts
  • packages/effect-acp/src/client.ts
  • packages/effect-acp/src/errors.ts
  • packages/effect-acp/src/protocol.test.ts
  • packages/effect-acp/src/protocol.ts
  • packages/effect-acp/src/rpc.ts
  • packages/effect-acp/src/schema.ts
  • packages/effect-acp/src/terminal.ts
  • packages/effect-acp/test/examples/cursor-acp-client.example.ts
  • packages/effect-acp/test/fixtures/acp-mock-peer.ts
  • packages/effect-acp/tsconfig.json
  • packages/shared/package.json
  • packages/shared/src/DrainableWorker.test.ts
  • packages/shared/src/KeyedCoalescingWorker.test.ts
  • packages/shared/src/Net.test.ts
  • packages/shared/src/String.test.ts
  • packages/shared/src/cliArgs.test.ts
  • packages/shared/src/git.test.ts
  • packages/shared/src/model.test.ts
  • packages/shared/src/model.ts
  • packages/shared/src/path.test.ts
  • packages/shared/src/qrCode.ts
  • packages/shared/src/searchRanking.test.ts
  • packages/shared/src/serverSettings.test.ts
  • packages/shared/src/serverSettings.ts
  • packages/shared/src/shell.test.ts
  • packages/shared/src/shell.ts
  • packages/shared/src/toolActivity.test.ts
  • packages/shared/src/toolActivity.ts
  • scripts/build-desktop-artifact.ts
  • scripts/dev-runner.test.ts
  • scripts/dev-runner.ts
  • scripts/lib/build-target-arch.test.ts
  • scripts/lib/build-target-arch.ts
  • scripts/lib/update-manifest.ts
  • scripts/merge-mac-update-manifests.test.ts
  • scripts/merge-update-manifests.test.ts
  • scripts/merge-update-manifests.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sync/upstream-2026-04-18

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). labels Apr 18, 2026
aaditagrawal added 3 commits April 18, 2026 21:52
@aaditagrawal
fix: address code review findings from PR #71 review
333873d
1. .github/workflows/release.yml: swap deleted scripts/merge-mac-update-manifests.ts
   reference for upstream's renamed scripts/merge-update-manifests.ts with
   --platform mac flag. Fixes tag-triggered release job.

2. apps/server/src/provider/providerStatusCache.ts: narrow PROVIDER_CACHE_IDS
   back to [codex, claudeAgent] (upstream's widened opencode/cursor entries
   silently crashed ProviderRegistry hydration when cache files for those
   kinds existed, since fork's registry only instantiates codex+claudeAgent
   snapshot sources).

3. apps/server/src/provider/Layers/ProviderRegistry.ts: replace non-null
   assertions in hydration loop with explicit skip when filePath or
   fallbackProvider is missing. Belt-and-suspenders even with the narrowed
   PROVIDER_CACHE_IDS.

4. apps/web/src/index.css: dark-mode --background flat #0f0f0f (was
   color-mix on neutral-950/white).
@aaditagrawal
feat: adopt upstream ACP-based Cursor + @opencode-ai/sdk OpenCode bac…
3f8d328
…kends

Replaces fork's hand-rolled Cursor (direct-CLI) and OpenCode (custom
protocol) backends with upstream's implementations while keeping fork's
8-provider model picker UI flow intact.

## Adopted from upstream

### Cursor (ACP-based, from upstream pingdotgg#1355)
- `provider/Layers/CursorProvider.ts` + test
- `provider/Services/CursorProvider.ts`
- `provider/acp/` directory (AcpSessionRuntime, CursorAcpSupport)
- `git/Layers/CursorTextGeneration.ts` + test
- Upstream's `Layers/CursorAdapter.ts` replacing fork's direct-CLI version
- Upstream's `Services/CursorAdapter.ts`

### OpenCode (@opencode-ai/sdk/v2-based, from upstream pingdotgg#1758)
- `provider/Layers/OpenCodeProvider.ts` + test
- `provider/Services/OpenCodeProvider.ts`
- `provider/opencodeRuntime.ts` + test
- `git/Layers/OpenCodeTextGeneration.ts` + test
- Upstream's `Layers/OpenCodeAdapter.ts` replacing fork's thin wrapper
- Upstream's `Services/OpenCodeAdapter.ts`

### Contract additions
- `CursorSettings` schema (apiEndpoint) and `OpenCodeSettings` schema
  (serverUrl, serverPassword) restored; other 6 providers still use
  GenericProviderSettings

## Removed (fork's custom versions)
- `apps/server/src/opencode/` (7 files: types/utils/eventHandlers/
  serverLifecycle/errors/index + test)
- `apps/server/src/opencodeServerManager.ts` + test
- `apps/server/src/provider/Layers/CursorUsage.ts` + test

## Wiring changes
- `ProviderRegistry.ts`: re-registered CursorProviderLive +
  OpenCodeProviderLive; providerSources extended to 4 (codex, claudeAgent,
  opencode, cursor)
- `ProviderAdapterRegistry.ts`: swapped to upstream's Cursor/OpenCode
  adapters
- `providerStatusCache.ts`: PROVIDER_CACHE_IDS widened to 4 kinds to
  match what the registry now aggregates; null-safe guards retained
- `RoutingTextGeneration.ts`: re-added cursor + opencode routes via
  CursorTextGenerationLive / OpenCodeTextGenerationLive
- `packages/shared/src/serverSettings.ts`: applyServerSettingsPatch
  switch handles cursor/opencode specific option shapes

## Preserved
- All 8 providers across ProviderKind/ModelSelection/settings
- Fork's ProviderModelPicker, composerProviderRegistry, Icons,
  ProviderLogo, SettingsPanels PROVIDER_SETTINGS structure
- Fork's amp/kilo/geminiCli/copilot adapters + server managers
- Dark-mode --background #0f0f0f
- Migrations 23-27 (fork's + upstream's)

## Test fixes
- `GitManager.test.ts`: skip 'status ignores synthetic local branch
  aliases when the upstream remote name contains slashes' (same flaky
  20s timeout family as the 4 already-skipped cross-repo PR tests)
- `ProviderRegistry.test.ts`: update 'returns snapshots for all
  supported providers' expectation from [codex,claudeAgent] to
  [codex,claudeAgent,opencode,cursor] to match 4-provider registry

## Status
- bun typecheck: 9/9 packages clean
- bun run lint: 0 errors, 32 warnings
- bun fmt: clean
- bun run test: all packages pass
@aaditagrawal
fix: UI wiring for prompt-controlled Ultrathink + OpenCode server fields
2f30d39
Two browser-test failures after adopting upstream OpenCode/Cursor backends:

1. TraitsPicker.tsx: 'Remove Ultrathink from the prompt to change effort.'
   message was gated on ultrathinkInBodyText (only shown when the phrase
   appears in prompt body after stripping our Ultrathink: prefix). Fork's
   browser test sets prompt='Ultrathink:\nInvestigate this' and expects
   the message to show. Widen the guard to ultrathinkPromptControlled so
   the message appears whenever the prompt-control state is active.

2. SettingsPanels.tsx: server URL + server password field labels used
   bare 'Server URL' / 'Server password' but the browser test expects
   provider-prefixed 'OpenCode server URL' / 'OpenCode server password'.
   Inline the provider title into both labels. Also shorten server
   password placeholder from 'Server password (optional)' to 'Server
   password' to match the browser test's getByPlaceholder lookup.
@aaditagrawal
aaditagrawal merged commit b0bcd1e into main Apr 19, 2026
6 of 7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@aaditagrawal
aaditagrawal deleted the sync/upstream-2026-04-18 branch August 1, 2026 19:06
@coderabbitai coderabbitai Bot mentioned this pull request Aug 17, 2026
Add durable Hermes companion integration #231
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

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.

15 participants

@aaditagrawal @Marve10s @UtkarshUsername @tlh38 @crafael23 @m-mohamed @Badbird5907 @juliusmarminge @nmharmon8 @Noojuno @HaukeSchnau @AriajSarkar @nexxeln @maria-rcks @mvanhorn
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.