Commit Graph
611 Commits
Author SHA1 Message Date
Cursor Agent 02cac6dd61 fix: use Effect.flatMap for decodeJjCurrentChange to route errors to typed channel
decodeJjCurrentChange was throwing VcsOutputDecodeError inside Effect.map,
which causes the error to become an unrecoverable defect rather than a typed
error in the VcsError channel. Changed the function to return an Effect and
use Effect.flatMap at the call site so errors properly land in the typed
error channel as the type signature promises.
2026-05-02 16:47:03 +00:00
Julius Marminge e2e40c24f1 Add typed jj extension surface 2026-05-02 09:34:41 -07:00
Julius Marminge ab974c882a Prefer jj detection and add ignore classifier capability
- Detect jj before git for colocated repositories
- Add ignoreClassifier to VCS capabilities
- Fix trace2 hook exit code reporting
2026-05-02 09:34:41 -07:00
Julius Marminge 29aa1ccaf8 Use effect file system and node services in VCS tests
- Replace ad hoc temp-dir handling with scoped FileSystem APIs
- Provide NodeServices in VCS driver and status broadcaster tests
- Normalize CWDs through FileSystem realpath
2026-05-02 09:34:41 -07:00
Julius Marminge c31becadc7 Add JJ VCS driver support
- Detect and route jj repositories alongside git
- Thread VCS kind through status and UI labels
- Add jj driver contract coverage and shared freshness helper
2026-05-02 09:34:41 -07:00
Julius Marminge 128b432bee Add generic source control provider routing core 2026-05-02 09:33:55 -07:00
Julius Marminge a73408c324 Handle empty GitHub PR listings and fallback branch lookup
- Treat empty `gh pr list` output as no results
- Fall back to `main` when provider default-branch detection fails
- Add coverage for PR creation fallback behavior
2026-05-02 00:03:12 -07:00
Cursor Agent 1e0a7598c7 fix: rename local sourceControlProvider to hostingProvider to avoid shadowing outer function
Applied via @cursor push command
2026-05-02 00:03:12 -07:00
Julius Marminge 8a5b784eae Scope VCS process lifetimes with a helper
- Replace raw spawn access with `withProcess` for scoped use
- Ensure child processes are finalized even on early exits
- Keep `run` built on the scoped helper for safer cleanup
2026-05-02 00:03:12 -07:00
Julius Marminge 7788858149 Expose spawned VCS process handles
- Add a reusable `spawn` API for VCS processes
- Factor stream collection into `collectText`
- Preserve existing `run` behavior on top of the new handle
2026-05-02 00:03:12 -07:00
Julius Marminge b743d0b66e Use typed exit codes in VCS process results
- Switch VCS process and git driver results to `ChildProcessSpawner.ExitCode`
- Update status checks and fallback results to use the new typed exit code
- Refresh tests to match the new result shape
2026-05-02 00:03:12 -07:00
Julius Marminge 3a254bad33 Normalize VCS CWDs and forward git env
- Resolve symlinked working directories before caching and workflow calls
- Pass execute env through the Git VCS driver
2026-05-02 00:03:12 -07:00
Julius Marminge a889dc68ca Refactor git services into source control layers
- Move GitManager and GitHubCli contracts/layers to their new modules
- Update server wiring and tests for the relocated pluggable git setup
2026-05-02 00:03:12 -07:00
Julius Marminge dcbb182f82 Extract text generation into dedicated server module
- Move git text-generation layers and tests under `src/textGeneration`
- Route server and provider drivers to the new module
- Replace the old git-scoped `TextGenerationLive` registry layer
2026-05-02 00:03:12 -07:00
Julius Marminge e21b1514a5 Rename git hosting provider fields to source control provider
- Rename shared/server status fields and detectors from hostingProvider to sourceControlProvider
- Move provider schema into contracts/sourceControl and update status/event tests
- Refresh branch toolbar labels from switchRef to checkout
2026-05-02 00:03:12 -07:00
Julius Marminge e795698818 Rename git APIs around refs
- Replace branch-centric git/VCS types and methods with ref-based names
- Update server, web, and tests to use the new pluggable integration shape
2026-05-02 00:03:12 -07:00
Julius Marminge 506e0fc049 Add pluggable source control provider detection
- Detect GitHub, GitLab, and Azure DevOps remotes in the shared parser
- Cache provider resolution and return unsupported stubs for unregistered kinds
- Remove deprecated git RPCs from the web IPC surface
2026-05-02 00:02:06 -07:00
Julius Marminge e8d67ffb91 Rename Array import alias in GitManager
- Use `Arr` alias for Effect Array in `GitManager`
- Keep pull request sorting logic unchanged
2026-05-02 00:02:06 -07:00
Julius Marminge c0e867b4d9 Sort pull requests by updated time and fix git mock shape
- Use Effect ordering for PR recency sorting in the server git manager
- Update web git status test mocks to match the split `vcs` and `git` APIs
2026-05-02 00:02:06 -07:00
Julius Marminge 6d7de0b314 Normalize timestamps across VCS and source control contracts
- Switch freshness and PR update times to typed `DateTime`/`Option` values
- Update GitHub and VCS adapters, tests, and sorting to use the new shapes
2026-05-02 00:02:06 -07:00
Julius Marminge 38185dc696 Add pluggable source control routing
- Route git workflows through source control providers
- Replace git status broadcaster with VCS status service
- Update orchestration, server, and web contracts for provider-aware git
2026-05-02 00:02:06 -07:00
Julius Marminge 87c2e3e1ef Use mock layers for Git VCS driver tests
- Replace ad hoc `succeed` casts with `Layer.mock` in integration and reactor tests
- Keep Git VCS driver fixtures type-safe while preserving existing test behavior
2026-05-02 00:02:06 -07:00
Julius Marminge 5c227dcaa7 Tighten VCS driver test assertions
- Switch integration and contract tests to Effect/Vitest assertions
- Avoid platform-specific realpath assumptions in repository identity checks
- Use Path service for portable test file and worktree path handling
2026-05-02 00:02:06 -07:00
Julius Marminge ccbad67c43 Refactor VCS driver tests into shared contract harness
- Add a reusable VCS driver contract suite
- Rework Git driver tests to use real repo fixtures
2026-05-02 00:02:06 -07:00
Julius Marminge 127e91bc86 Refactor GitVcsDriverCore test setup
- Simplify shared test helpers and temp repo setup
- Switch the test layer wiring to merge Node services
- Remove unused shell/process scaffolding from the spec
2026-05-02 00:02:06 -07:00
Julius Marminge e01c92ff0a Add VCS driver registry for pluggable git integration
- Route checkpointing and workspace services through a VCS driver registry
- Split git driver construction from the driver service wrapper
- Update tests and harnesses to mock the registry instead of the raw driver
2026-05-02 00:02:06 -07:00
Julius Marminge a11d6b92ea Refactor git core into pluggable VCS driver
- Move low-level git service into `GitVcsDriverCore`
- Update server wiring and tests to use the new driver
2026-05-02 00:02:06 -07:00
Julius Marminge 82a8394cd8 Split git VCS driver from core service
- Introduce a dedicated `GitVcsDriver` service and `vcsLayer`
- Update server, orchestration, and workspace wiring to use the new layer
- Adjust tests and mocks for the new git-specific dependency
2026-05-02 00:02:06 -07:00
Julius Marminge 0ce293b37e Use Effect time APIs for VCS and workspace scans
- Switch freshness and scan timestamps to `DateTime.now` from Effect
- Keep timestamps consistent within each async operation
2026-05-02 00:02:06 -07:00
Julius Marminge 0b0d98c1fd Fix GitVcsDriver test dependency import
- Import `VcsProcess` as a namespace in the test
- Update layer injection to target `VcsProcess.VcsProcess`
2026-05-02 00:02:06 -07:00
Julius Marminge ecac3ac795 Use VcsProcess module directly in tests
- Remove the aliased service import
- Reference `VcsProcess.VcsProcess` explicitly in checkpoint and workspace tests
2026-05-02 00:02:06 -07:00
Julius Marminge 5e0327dee6 Standardize VCS layer imports across server tests
- Switch GitVcsDriver and VcsProcess usages to namespace imports
- Update server and integration wiring to use `.layer` consistently
- Keep test type annotations aligned with the exported service types
2026-05-02 00:02:06 -07:00
Julius Marminge 8f09b8d0ab Refactor VCS layers into top-level modules
- Move VcsDriver and VcsProcess out of nested service/layer paths
- Update server, workspace, orchestration, and tests to use new exports
- Rename layer exports to `layer` for consistency
2026-05-02 00:02:06 -07:00
Julius Marminge 972a6876b8 Introduce pluggable VCS driver for git operations
- Replace direct GitCore dependencies with VcsDriver and VcsProcess
- Move checkpointing, workspace, and orchestration flows onto the new VCS abstraction
- Drop workspace-specific git helpers from GitCore
2026-05-02 00:02:06 -07:00
Adam Mansfield 1eb6fcea84 fix: opencode is not on PATH on Windows (#2183) 2026-04-30 18:15:45 -07:00
Guilherme Vieira 69d9a659a3 fix(git): hide stale merged/closed PRs on the default branch (#1966) 2026-04-29 21:29:48 -07:00
Bas Milius 44b39fe2ec fix(server): key AskUserQuestion answers by question text (#2404) 2026-04-29 17:44:44 -07:00
08e6d4cfbf feat: Multi-Provider support (#2277)
Co-authored-by: Claude Opus 4.7 <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-29 16:13:55 -07:00
Josh Meads 35822884d1 Stop OpenCode refresh from leaking serve processes
OpenCode can leave the long-lived serve child in the spawned process group after the wrapper exits. Provider refresh owns only a scoped inventory probe, so cleanup targets that local process group when the refresh scope closes.

Constraint: Keep active OpenCode thread sessions scoped to their own session lifecycle.
Rejected: Disable provider refresh | would hide model and auth state changes.
Confidence: high
Scope-risk: narrow
Tested: bun run test src/provider/Layers/OpenCodeProvider.test.ts src/provider/Layers/OpenCodeAdapter.test.ts
Tested: bun fmt
Tested: bun lint
Tested: bun typecheck
Tested: bun run build:desktop
2026-04-29 11:02:16 -07:00
t3-code[bot] ada410bccf chore(release): prepare v0.0.21 2026-04-23 18:05:15 +00:00
188df6da07 Fix Claude session cwd resume drift (#2292)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-04-23 13:29:54 -04:00
8d1d699f88 Refactor provider model selections to option arrays (#2246)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com>
Co-authored-by: codex <[email protected]>
2026-04-23 09:35:40 -04:00
Raul Pereira da Silvaandmacroscopeapp[bot] b0b7b38da1 fix(server): detect localized Windows command errors (#2152)
Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com>
2026-04-23 04:42:19 +00:00
Bas Milius fd3b96b487 Add IntelliJ project icon to the list of possible favicon paths (#1651) 2026-04-23 04:40:27 +00:00
Hauke Schnau aa2d385a62 fix(server): restore CODEX_HOME tilde expansion for Codex launches (#2255) 2026-04-23 00:37:58 -04:00
e25db3a572 Fix provider cache atomic write temp path collisions (#2291)
Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-04-23 00:33:16 -04:00
Heinz-GandHeinz Gericke b8305afa29 fix: increase Claude auth probe timeout to 10s (#2272)
Co-authored-by: Heinz Gericke <[email protected]>
2026-04-22 01:04:50 +00:00
Julius MarmingeandCursor Agent b7c89cf496 Refresh Codex protocol bindings to be75785504ff152fa6333e380a2d50642f42fba0 (#2276)
Co-authored-by: Cursor Agent <[email protected]>
2026-04-21 15:30:54 -07:00
Mike Olson 055897f0ea fix: enforce opencode >= 1.14.19 and reveal window on Wayland (#2262) 2026-04-21 08:15:41 -07:00
Adin Schmidt 40b3a80034 fix(server): trim OpenCode provider model names (#2252) 2026-04-21 02:45:56 +00:00