Commit Graph
655 Commits
Author SHA1 Message Date
Josh Gratton 76bd75b9f0 fix(server): run provider update commands through the shell on Windows
Provider update executables are package-manager launcher shims (`npm` ->
`npm.cmd`, `pnpm` -> `pnpm.cmd`, etc.). On Windows a bare-name spawn does
not resolve PATHEXT, so `ChildProcess.spawn("npm", ...)` fails with ENOENT,
surfaced to users as "Failed to run update command npm: NotFound". This
broke one-click updates for every npm/pnpm/bun/vp-managed provider on the
Windows backend.

Spawn the maintenance command with `shell: true` on win32 so the shell
resolves the shim, matching how every other provider command is already
spawned (ClaudeProvider, CodexSessionRuntime, CursorProvider, GrokProvider,
opencodeRuntime, AcpSessionRuntime). The update args are a fixed allowlist
of package names, so there is no shell-injection surface.
2026-06-13 10:50:55 -04:00
Josh Gratton 0bb1553690 Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-parallel-backends 2026-06-09 14:09:54 -04:00
t3-code[bot] 983a8c7fa6 chore(release): prepare v0.0.26 2026-06-09 17:53:22 +00:00
Julius Marmingeandcodex de58ec8e24 Add Claude Fable 5 model (#3009)
Co-authored-by: codex <[email protected]>
2026-06-09 17:39:18 +00:00
Julius Marmingeandcodex 8e6f4229da [codex] Fix main CI Effect test runtimes (#3008)
Co-authored-by: codex <[email protected]>
2026-06-09 09:43:03 -07:00
Milosz JankiewiczandJulius Marminge 38ea6d483e feat(grok): add Grok CLI provider via ACP (#2809)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-09 09:28:40 -07:00
Julius Marmingeandcodex 0e4a43519f [codex] Extract infrastructure, telemetry, and test tooling (#2994)
Co-authored-by: codex <[email protected]>
2026-06-07 20:21:47 -07:00
Josh Gratton 6ebdc74cb2 Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-parallel-backends
# Conflicts:
#	apps/web/src/components/CommandPalette.tsx
2026-06-06 13:03:53 -04:00
b76f161d55 fix(desktop): stop looping macOS TCC permission prompts (#2745)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-06-05 12:07:18 -07:00
Peter Hozák 75257d64e9 "claude system message" instead of "runtime warning" when using 4.8 from claude code (#2972) 2026-06-05 11:27:37 -07:00
Abdul AzeezandJulius Marminge e1ce9f8500 fix: handle Claude Agent SDK 0.3.x system messages to stop runtime-warning flood (#2872)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-05 18:26:32 +00:00
Josh Gratton adaa1839ed Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-parallel-backends 2026-06-05 13:43:46 -04:00
Julius Marminge 9da430c828 Refactor recoverable Effect fallbacks to orElseSucceed (#2968) 2026-06-05 05:47:56 +00:00
Julius Marminge a084fbbc0a Remove duplicate 'publish' argument in CLI script 2026-06-04 22:39:59 -07:00
Julius Marminge b870a6e349 Rename function for publishing arguments to vp pm (#2967) 2026-06-05 05:22:37 +00:00
Julius Marminge e1cb19b55b Use pnpm for server publish workflow (#2966) 2026-06-04 22:16:52 -07:00
Julius Marminge f60def2054 Migrate tests to vite-plus test APIs (#2964) 2026-06-05 04:39:19 +00:00
Josh Gratton ae03db4f47 Merge upstream/main into josh/desktop-wsl-parallel-backends
Resolve conflicts from the upstream bun->pnpm+Vite migration (#2899),
relay tunnels (#2837), and proof-key bootstrap auth:

- apps/web/src/environments/primary/auth.ts: upstream switched the
  contracts import to `import type` and added ServerAuthSessionMethod;
  keep that and re-add PRIMARY_LOCAL_ENVIRONMENT_ID as a value import
  (still used at runtime to find the primary bootstrap entry).
- apps/web/src/environments/runtime/catalog.ts: keep both new optional
  fields on SavedEnvironmentRecord (our desktopLocal marker and
  upstream's relayManaged).
- apps/server/src/auth/PairingGrantStore.test.ts: keep upstream's new
  proof-key thumbprint test and our reusable-bootstrap-grant test
  (the desktop bootstrap credential is reusable: remainingUses
  unbounded, 24h TTL).
- apps/web/src/components/settings/ConnectionsSettings.tsx: render both
  the WSL row and upstream's CloudLinkRow in the connected section.
2026-06-04 23:35:04 -04:00
Julius Marmingeandcodex 5ae77c0d63 feat(relay): Add managed relay tunnels and APN service (#2837)
Co-authored-by: codex <[email protected]>
2026-06-04 19:53:56 -07:00
Julius MarmingeandJulius Marminge 300f7fd11d [codex] Avoid shell for system executables (#2950)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-04 15:25:46 -07:00
Julius MarmingeandJulius Marminge a74dfd4f3c [codex] Avoid shell for Node executable spawns (#2952)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-04 15:14:07 -07:00
Guilherme VieiraandJulius Marminge 49c1b64687 fix(source-control): handle self-hosted GitLab, multi-account GitHub auth & azure devops web url (#2480)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-04 15:13:04 -07:00
Julius MarmingeandJulius Marminge 348a9140e9 fix(cli): bundle patched diff parser dependency (#2957)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-04 18:53:47 +00:00
Julius MarmingeandJulius Marminge 37bf0f0d1d [codex] remove duplicated pnpm root config (#2939)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-04 05:34:23 +00:00
Julius MarmingeandJulius Marminge e4643eccc7 fix: build web before desktop release packaging (#2934)
Co-authored-by: Julius Marminge <[email protected]>
2026-06-03 19:15:06 -07:00
b440dd1812 Migrate workspace to Vite+ and pnpm (#2899)
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Cursor Agent <[email protected]>
2026-06-03 16:16:53 -07:00
d78e02cd0b Probe Cursor models via list_available_models (#2428)
Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-06-03 17:06:52 +00:00
Josh Gratton 43187e6416 Merge remote-tracking branch 'origin/main' into pr-2751
# Conflicts:
#	apps/server/src/auth/PairingGrantStore.test.ts
#	apps/server/src/server.test.ts
#	apps/web/src/environments/primary/auth.ts
2026-06-02 19:56:56 -04:00
Julius Marmingeandcodex a04c09a190 Use HttpApi for Environment APIs & standardize authn/authz (#2858)
Co-authored-by: codex <[email protected]>
2026-06-02 15:20:30 -07:00
Josh Gratton 3a5c7649fd Merge upstream/main into josh/desktop-wsl-parallel-backends
Resolves conflicts from upstream #2013 (mobile WIP), which moved several
web modules into @t3tools/client-runtime and deleted their old paths:

- ConnectionsSettings.tsx: drop the now-dead `~/rpc/wsRpcClient` type
  import; WsRpcClient is now provided by @t3tools/client-runtime. Keep our
  `~/environments/local` imports.
- runtime/service.ts: drop unused `projectReactQuery`/`providerReactQuery`
  imports (source files removed upstream). Keep reconcileLocalSecondaryEnvironments.
- environments/local/index.ts (clean-merge breakage): `../remote/api` was
  removed; repoint bootstrapRemoteBearerSession / fetchRemoteEnvironmentDescriptor
  / fetchRemoteSessionState to @t3tools/client-runtime. Those are now Effect.fn,
  so wrap the three call sites in remoteHttpRuntime.runPromise(...), matching
  the pattern upstream uses in runtime/service.ts.

Full typecheck green across all 14 packages; web tests 62/62.
2026-05-31 15:03:27 -04:00
b3e8c0334b T3 Code Mobile [WIP] (#2013)
Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Yash Singh <[email protected]>
2026-05-29 17:00:54 -07:00
Josh Gratton a934809d3e Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-parallel-backends
# Conflicts:
#	apps/desktop/src/app/DesktopObservability.ts
#	apps/desktop/src/backend/DesktopBackendManager.ts
2026-05-28 20:03:19 -04:00
Julius Marmingeandcodex 31268945f8 Extract collection performance refactors from mobile stack (#2854)
Co-authored-by: codex <[email protected]>
2026-05-28 16:18:58 -07:00
Julius Marminge 6b3050ee74 Migrate TypeScript checks to Effect TSGo (#2851) 2026-05-28 15:59:42 -07:00
Josh Gratton 9df70127ca Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-parallel-backends 2026-05-28 16:50:18 -04:00
Ibrahim Elkamali 83f0cc9e31 Add Claude Opus 4.8 support (#2849) 2026-05-28 18:43:48 +00:00
Josh Gratton d4df9bb807 Merge remote-tracking branch 'upstream/main' into josh/desktop-wsl-parallel-backends
# Conflicts:
#	apps/desktop/src/backend/DesktopBackendConfiguration.ts
#	apps/desktop/src/backend/DesktopBackendManager.ts
2026-05-28 14:42:30 -04:00
Julius Marmingeandcodex e6330ead82 [codex] Bump Effect to beta.73 and migrate compatibility APIs (#2840)
Co-authored-by: codex <[email protected]>
2026-05-28 11:13:50 -07:00
Josh Gratton 2c1620db00 fix(server): make the desktop-bootstrap grant reusable for 24h
The desktop-bootstrap credential used the same single-use + 5-minute
TTL semantics as a user-facing pairing link. That fit the original
mental model (one renderer, one bootstrap exchange) but breaks
parallel backends where a slow WSL cold boot lands outside the
renderer's first reconcile pass, and breaks page reloads where the
renderer no longer has the bearer it traded the bootstrap for and
needs to re-exchange.

Switch the seed for `desktopBootstrapToken` to `remainingUses:
"unbounded"` with a 24h TTL. The seed is delivered over trusted IPC
(fd3 / stdin) at backend launch and lives in the renderer/desktop
processes the user already trusts, so single-use buys us nothing
operationally and costs us recoverable error paths.

Tests:
- BootstrapCredentialService.test.ts now asserts repeat consumption
  succeeds and that expiry kicks in past 24h, not 5 minutes.
- server.test.ts: the "rejects reusing" test is rewritten as
  "allows reusing" against the same credential.
2026-05-17 22:15:52 -04:00
Josh Gratton f83d73b6fe fix(server): fall back to direct fd read on EACCES bootstrap
Stdin pipes inherited across the wsl.exe boundary fail to re-open
via /proc/self/fd/0, so add EACCES to the codes that drop back to
reading the fd directly. Without this the WSL desktop backend
fails to load its bootstrap envelope with "Failed to duplicate
bootstrap fd" and ends up in a scheduled-restart loop.
2026-05-16 11:38:36 -04:00
t3-code[bot] d1e85c4e8f chore(release): prepare v0.0.24 2026-05-15 06:40:13 +00:00
Julius MarmingeandJulius Marminge 9e632f5cec [codex] add diagnostics resource history (#2685)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-14 09:14:32 +02:00
Julius Marminge 4120e94598 Back off VCS remote refresh failures (#2686) 2026-05-14 08:41:02 +02:00
Julius Marminge f92e1e1b06 Simplify workspace package builds and deps (#2676) 2026-05-13 21:35:01 +02:00
d15909af15 Use Effect child process for editor launches (#2659)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-05-12 20:15:11 +02:00
legsandJulius Marminge 5165b8c333 Optimize VCS diff loading to be up to 98% faster (#2586)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-11 12:07:26 +02:00
Julius Marmingeandcodex 8fc317939f Preserve Codex probe results across scoped teardown (#2638)
Co-authored-by: codex <[email protected]>
2026-05-11 10:48:19 +02:00
Utkarsh Patil 6ab8f93a23 fix(codex): use longer and shared auth probe timeout for provider status check (#2616) 2026-05-11 00:29:56 -07:00
t3-code[bot] b793401aee chore(release): prepare v0.0.23 2026-05-09 22:22:22 +00:00
Ben Vargas e0f3abd1a4 Fix remote pairing CORS responses (#2594) 2026-05-08 23:52:47 +00:00