Commit Graph

89 Commits

Author SHA1 Message Date
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Dax Raad 6742034b03 core: move cross-spawn-spawner to root and remove unused types
The cross-spawn-spawner module has been moved from src/effect/ to src/
to simplify the core package structure. The src/types.d.ts file which
contained unused type declarations has also been removed. All imports
throughout the codebase have been updated to reflect the new location.

This change reduces the package's internal complexity by flattening the
module hierarchy and removing dead code, making future maintenance easier.
2026-04-25 14:30:16 -04:00
Dax Raad 7b2fbf2c2f core: move cross-spawn-spawner from opencode to core package
Moved the cross-spawn-spawner module from packages/opencode to packages/core
to enable code sharing across the monorepo. This consolidates the process
spawning infrastructure into the core package so other packages can use
cross-platform child process spawning without duplicating the implementation.

Updated all import statements across the codebase to reference the new
location (@opencode-ai/core/effect/cross-spawn-spawner). Removed the
local copy from the opencode package along with its tests.
2026-04-25 14:23:17 -04:00
Dax Raad 9031b8f108 core: move Global module to @opencode-ai/core for centralized path management
Move the Global module from packages/opencode/src/global to packages/core/src/global
to provide a unified location for managing XDG directories and application paths.
This eliminates duplicate path definitions across packages and ensures consistent
access to data, config, cache, state, log, and bin directories throughout the codebase.
2026-04-25 13:52:32 -04:00
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Kit Langton b8d850ca3f migrate Snapshot schemas to Effect Schema (#23747) 2026-04-21 17:37:27 -04:00
Kit Langton 5b272e151c refactor: collapse snapshot barrel into snapshot/index.ts (#22916) 2026-04-16 20:36:45 +00:00
Kit Langton eea507f2eb feat: enable type-aware no-base-to-string rule, fix 56 violations (#22750) 2026-04-16 03:50:47 +00:00
Kit Langton d2ec847f0c feat: unwrap 11 util namespaces to flat exports + barrel (#22739) 2026-04-15 23:15:58 -04:00
Kit Langton 7159d09978 feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel (#22721) 2026-04-16 02:45:45 +00:00
opencode-agent[bot] 612ed0fc18 chore: generate 2026-04-16 02:18:58 +00:00
Kit Langton 70d454489e feat: unwrap usnapshot namespace to flat exports + barrel (#22715) 2026-04-16 02:15:20 +00:00
Kit Langton b5f4d032fb feat: unwrap Config namespace to flat exports + barrel (#22689) 2026-04-15 21:26:24 -04:00
Dax 4be9af983d migrate: move flock and hash utilities to shared package (#22640) 2026-04-15 15:50:24 +00:00
Dax 780c051059 shared package (#22626) 2026-04-15 14:26:20 +00:00
Luke Parker 20f3898f1f fix(snapshot): avoid ENAMETOOLONG and improve staging perf via stdin pathspecs (#22560) 2026-04-15 06:43:36 +00:00
Kit Langton 0be4b81da0 refactor(snapshot): remove async facade exports (#22370) 2026-04-13 21:24:54 -04:00
Dax adce21c1fa fix(snapshot): complete gitignore respect for previously tracked files (#22172) 2026-04-12 14:05:46 -04:00
Dax 005e44ddd4 fix(snapshot): respect gitignore for previously tracked files (#22171) 2026-04-12 13:41:50 -04:00
Kit Langton 0a790bc740 refactor(effect): upgrade opencode to beta.46 context APIs (#21977) 2026-04-10 23:06:28 -04:00
Dax 6cc1116f8e refactor(snapshot): store unified patches in file diffs (#21244)
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-04-07 19:48:23 -04:00
Kit Langton 0efe20d808 perf(opencode): batch snapshot diffFull blob reads (#20752)
Co-authored-by: Nate Williams <50088025+natewill@users.noreply.github.com>
2026-04-04 01:05:23 +00:00
Kit Langton 4f3e1ac6a5 refactor(effect): prune unused facades (#20748) 2026-04-02 20:15:09 -04:00
Kit Langton 3d31c43241 fix(test): auto-acknowledge tool-result follow-ups in mock LLM server (#20528) 2026-04-01 23:47:26 +00:00
Kit Langton c5a7250c97 fix(opencode): batch snapshot revert without reordering (#20564) 2026-04-01 23:46:06 +00:00
opencode-agent[bot] 67424c07cb chore: generate 2026-03-27 01:47:36 +00:00
Kit Langton fcfb201685 refactor(effect): yield services instead of promise facades (#19325) 2026-03-26 21:46:38 -04:00
Kit Langton 9ccef679d7 effectify Bus service: migrate to Effect PubSub + InstanceState (#18579) 2026-03-25 20:19:24 -04:00
Kit Langton 0035f89a6b fix: Windows e2e stability (CrossSpawnSpawner, snapshot isolation, session race guards) (#19163) 2026-03-25 19:49:14 -04:00
Dax 771508a2d4 fix(opencode): avoid snapshotting files over 2MB (#19043) 2026-03-25 04:43:48 +00:00
Kit Langton 7fcc8d6ad5 fix: restore cross-spawn behavior for effect child processes (#18798) 2026-03-24 10:35:24 -04:00
Kit Langton b6aa472839 Move service state into InstanceState, flatten service facades (#18483) 2026-03-21 04:51:35 +00:00
Kit Langton 42a5ceb048 fix: apply Layer.fresh at instance service definition site (#18418) 2026-03-20 14:37:12 -04:00
Kit Langton c325ac5b5b feat(filesystem): add AppFileSystem service, migrate Snapshot (#18138) 2026-03-18 19:52:43 -04:00
Kit Langton 05f98c0e42 refactor(effect): unify service namespaces and align naming (#18093) 2026-03-18 13:34:36 -04:00
opencode-agent[bot] 4cee904375 chore: generate 2026-03-18 01:05:16 +00:00
Kit Langton 0782c757be refactor(snapshot): effectify SnapshotService (#17878) 2026-03-17 21:04:16 -04:00
Noam Bressler c717c8c67e fix: re-enable snapshot in acp (#14918) 2026-03-11 16:18:40 -05:00
Dax 89f4344882 refactor(opencode): replace Bun shell in core flows (#16286) 2026-03-09 15:19:50 -04:00
Dax Raad f8c6032d3c refactor: replace Bun.write/file with Filesystem utilities in snapshot 2026-03-05 21:56:41 -05:00
Luke Parker 7122c38d71 fix(win32): add git flags for snapshot operations and fix tests for cross-platform (#14890) 2026-02-24 21:14:16 +10:00
Erik Demaine d29240c192 fix: Windows path support and canonicalization (#13671)
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
2026-02-23 10:10:27 +10:00
Shoubhit Dash ed9335d434 fix(snapshot): respect info exclude in snapshot staging (#13495) 2026-02-20 07:02:25 -06:00
projectArtur a9e44df330 fix: resolve ACP hanging indefinitely in thinking state on Windows (#13222)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-02-12 18:20:00 -06:00
Adam 983fdcd3aa fix(app): added/deleted file status now correctly calculated 2026-02-02 14:24:23 -06:00
adamelmore c13fc50272 fix(app): query selector with non-latin chars 2026-01-26 09:33:42 -06:00
Dax Raad f9e8fbfb8a core: fix unicode filename handling in snapshot diff by disabling quote escaping
This ensures unicode and special characters in filenames are displayed correctly when generating diff patches, allowing proper file detection and revert operations
2026-01-24 13:07:07 -05:00
Adam 070dbd1111 Revert "fix: handle special characters in paths and git snapshot reading logic(#9804) (#9807)"
This reverts commit 6e81139742.
2026-01-22 10:37:13 -06:00
Adam 4e9d2881f4 Revert "fix(core): snapshot regression"
This reverts commit 9ca28b4752.
2026-01-22 10:35:31 -06:00
Adam 9ca28b4752 fix(core): snapshot regression 2026-01-21 06:10:01 -06:00