Commit Graph

165 Commits

Author SHA1 Message Date
Dax 07ac891a99 refactor: remove module barrels (#24554) 2026-04-27 14:33:33 -04:00
Kit Langton 998156a3e6 feat(httpapi): bridge project update endpoint (#24398) 2026-04-25 18:55:49 -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 6bc94f94b1 core: consolidate shared infrastructure into core package
Moves effect logging, observability, runtime utilities, flags, installation
version info, and process utilities from opencode to core package. This
enables better code sharing across packages and establishes core as the
single source of truth for foundational utilities.

All internal imports updated to use @opencode-ai/core paths for consistency.
2026-04-25 13:30:37 -04:00
Dax 1865f4fc5f refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00
Kit Langton d853a06cde feat(httpapi): bridge instance read endpoints (#24258) 2026-04-25 10:42:31 -04:00
Kit Langton b416f9d3b9 refactor(bus): migrate BusEvent to Effect Schema (#24040) 2026-04-23 15:37:44 -04:00
Brendan Allan 916b85152a feat(project): add icon_url_override field to projects (#23955) 2026-04-23 18:57:04 +08:00
Steven T. Cramer 66a618793c fix(project): use git common dir for bare repo project cache (#19054) 2026-04-23 00:25:39 -04:00
Kit Langton 21362c2939 refactor(core): derive all schema.ts leaves' .zod via effect-zod walker (#23754) 2026-04-21 22:51:18 -04:00
Kit Langton 9ff289fe66 refactor: use instance state in small services (#23022) 2026-04-18 02:16:15 +00:00
Kit Langton 57357b6779 refactor: use InstanceState context in File service (#23015) 2026-04-17 22:08:57 -04:00
Kit Langton 64e2d12d2b refactor: move project read routes onto HttpApi (#23003) 2026-04-17 03:48:12 +00:00
Dax Raad 15aaf884d8 core: eager load config on startup for better traces and refactor npm install for improved error reporting
Config is now loaded eagerly during project bootstrap so users can see config loading in traces during startup. This helps diagnose configuration issues earlier in the initialization flow.

NPM installation logic has been refactored with a unified reify function and improved InstallFailedError that includes both the packages being installed and the target directory. This provides users with complete context when package installations fail, making it easier to identify which dependency or project directory caused the issue.
2026-04-16 16:23:19 -04:00
Dax 5df71fad7e perf: make vcs init non-blocking by forking git branch resolution (#22771) 2026-04-16 03:02:19 -04:00
Dax 8a41e28f5b CLI perf: reduce deps (#22652) 2026-04-16 02:03:03 -04:00
opencode-agent[bot] e06de8d075 chore: generate 2026-04-16 03:42:25 +00:00
Kit Langton 28fca2ce79 fix: resolve circular sibling imports causing runtime ReferenceError (#22752) 2026-04-15 23:41:34 -04:00
Kit Langton 97d87eac9f feat: unwrap storage namespaces to flat exports + barrel (#22747) 2026-04-15 23:30:49 -04:00
Kit Langton cde3ff010c feat: unwrap share namespaces to flat exports + barrel (#22744) 2026-04-15 23:28:46 -04:00
Kit Langton 2d9b134b1b feat: unwrap project namespaces to flat exports + barrel (#22743) 2026-04-15 23:28:46 -04: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
Kit Langton 261e6607bc fix: revert "core: move plugin initialisation to config layer override" (#22686) 2026-04-15 21:14:39 -04:00
Kit Langton 8b2c135ad9 refactor(opencode): use AppFileSystem path helpers (#22637) 2026-04-15 19:36:30 -04:00
Brendan Allan 1436e4d86b core: move plugin intialisation to config layer override (#22620) 2026-04-15 22:44:55 +00:00
Dax 780c051059 shared package (#22626) 2026-04-15 14:26:20 +00:00
Brendan Allan 62e4e64a25 fix(bootstrap): await plugin initialization 2026-04-15 11:40:33 +08:00
Brendan Allan 16e4358992 core: parallelise bootstrap (#22514) 2026-04-15 03:23:28 +00:00
Kit Langton 480a52d27f fix(project): reuse runtime in instance boot (#22470) 2026-04-14 12:53:13 -04:00
Kit Langton b019cd6822 refactor(project): remove async facade exports (#22387) 2026-04-14 12:49:20 -04:00
Kit Langton a57c606e51 refactor(instance): remove state helper (#22381) 2026-04-13 22:40:12 -04:00
James Long 0ee6e47bde refactor(core): publish sync events to global event stream (#22347) 2026-04-13 16:51:59 -04:00
Kit Langton 00088f2e77 refactor: remove vcs async facade exports (#22304) 2026-04-13 11:22:20 -04:00
Brendan Allan cc0a3eebf7 core: make InstanceBootstrap into an effect (#22274)
Co-authored-by: Kit Langton <kit.langton@gmail.com>
2026-04-13 10:16:40 -04:00
Kit Langton c0a23276e6 refactor(file): destroy FileWatcher facade (#22091) 2026-04-11 21:19:12 -04:00
Kit Langton 485eb95365 refactor: collapse command facade (#21981) 2026-04-10 23:52:12 -04:00
Kit Langton 6f9fcaa965 refactor: collapse Format facade (#21980) 2026-04-10 23:18:54 -04:00
Kit Langton 0a790bc740 refactor(effect): upgrade opencode to beta.46 context APIs (#21977) 2026-04-10 23:06:28 -04:00
Brendan Allan 4d06f7d4a9 refactor(config): pass instance context to containsPath (#21882) 2026-04-11 10:43:40 +08:00
Kit Langton 8811669aa0 refactor: destroy ShareNext facade (#21965) 2026-04-10 22:03:06 -04:00
Kit Langton 437400e5ec feat: add AppRuntime for unified service composition (#21953) 2026-04-10 19:46:52 -04:00
James Long 10ce83d5e4 refactor(tui): switch to global events and start passing workspace param (#21719) 2026-04-10 10:47:27 -04:00
Kit Langton f1e2560a1a refactor(effect): extract session run state service (#21744) 2026-04-09 16:03:40 -04:00
Kit Langton 97c2d085d7 refactor(effect): inline session processor interrupt cleanup (#21593) 2026-04-08 21:19:01 -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
Shoubhit Dash cf23c87965 feat: restore git-backed review modes (#20845) 2026-04-03 09:54:57 -05:00
Kit Langton 9f35ffe300 test: migrate prompt tests to HTTP mock LLM server (#20304) 2026-03-31 19:14:32 -04:00
Kit Langton 9a18c42fe5 refactor(vcs): replace async git() with ChildProcessSpawner (#19361) 2026-03-27 02:14:46 +00:00