Commit Graph

87 Commits

Author SHA1 Message Date
Dax Raad 5ea6eaad3c core: move npm service to core package for shared dependency management 2026-04-25 14:36:15 -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
Kit Langton 503f761d5c feat(httpapi): bridge catalog read endpoints (#24353) 2026-04-25 14:00:30 -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
Luke Parker d9d819b0e0 fix: preserve BOM in text tool round-trips (#23797) 2026-04-23 00:25:36 -04:00
Kit Langton 081707691a refactor: pass formatter instance context explicitly (#23020) 2026-04-18 01:22:36 +00:00
Dax 8e9172e230 refactor: make formatter config opt-in (#22997) 2026-04-17 02:33:09 +00:00
Kit Langton 7155c95662 refactor: collapse format barrel into format/index.ts (#22898) 2026-04-16 16:29:51 -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 cdea1a959e feat: unwrap uformat namespace to flat exports + barrel (#22703) 2026-04-16 02:16:01 +00:00
Kit Langton 228636345a fix: resolve oxlint warnings — suppress false positives, remove unused imports (#22687)
publish-github-action / publish (push) Has been cancelled
2026-04-15 21:33:54 -04:00
Kit Langton b5f4d032fb feat: unwrap Config namespace to flat exports + barrel (#22689) 2026-04-15 21:26:24 -04:00
Dax 780c051059 shared package (#22626) 2026-04-15 14:26:20 +00:00
Kit Langton d691884399 refactor: finish small effect service adoption cleanups (#22094) 2026-04-13 09:17:13 -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
Aiden Cline e80fba93cc tweak: make it so disabling uv or ruff fmters disables both (#21921) 2026-04-10 13:30:30 -05:00
Dax 15fb043349 refactor(format): update formatter interface to return command from enabled() (#20703) 2026-04-02 12:22:01 -04:00
Burak Yigit Kaya 4a2b6f3157 fix(format): use biome format instead of check to prevent import removal (#20545)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-04-02 10:52:52 -05:00
Dax 99a2f241f8 refactor: replace BunProc with Npm module using @npmcli/arborist (#18308)
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-04-01 21:01:37 +00:00
Kit Langton 9f35ffe300 test: migrate prompt tests to HTTP mock LLM server (#20304) 2026-03-31 19:14:32 -04:00
opencode-agent[bot] 67812f8daa chore: generate 2026-03-27 21:38:08 +00:00
Kit Langton 0ea1cc8061 refactor(format): use ChildProcessSpawner instead of Process.spawn (#19457) 2026-03-27 17:37:07 -04: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 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 05f98c0e42 refactor(effect): unify service namespaces and align naming (#18093) 2026-03-18 13:34:36 -04:00
Kit Langton c3de254735 refactor(format): effectify FormatService as scoped service (#17675) 2026-03-16 15:58:36 -04:00
Dax 46beeaa585 refactor(opencode): replace Bun.which with npm which (#15012) 2026-03-06 05:18:29 +00:00
Dax 78e670e201 refactor: migrate Bun.spawn to Process utility with timeout and cleanup (#14448) 2026-02-24 23:04:15 -05:00
Dax 1781a53cd9 refactor: migrate format/formatter.ts from Bun.file() to Filesystem module (#14153) 2026-02-18 12:31:35 -05:00
Robert Schadek d9738369c7 feat(opencode): add dfmt formatter support for D language files (#13867) 2026-02-16 13:14:35 -06:00
Salam Elbilig a3955fbd94 feat(opencode): add cljfmt formatter support for Clojure files (#13426) 2026-02-15 15:21:57 -06:00
Ondřej Súkup 614763c3fa feat(opencode): ormolu code formatter for haskell (#10274) 2026-02-02 06:01:49 -06:00
nuno maduro abcaba8294 feat(formatters): add laravel pint as a .php formatter (#7312) 2026-01-21 10:31:39 -06:00
Goni Zahavy 0e76436a33 fix(opencode): cargo fmt is formatting whole workspace instead of edited file (#9436) 2026-01-19 10:48:59 -06:00
Aiden Cline 5d12d620ac fix: cargo fmt actually does not support formatting single files 2026-01-19 10:15:32 -06:00
paulclou aa2c05ce95 fix(config): rename uv formatter from 'uv format' to 'uv' for config consistency (#9409)
Co-authored-by: Paul C. Lou <paul@exig.ai>
2026-01-19 09:59:51 -06:00
Andrew Pashynnyk 8ce7e66b9e fix(formatter): use biome check instead of format to include import sorting (#8057)
Co-authored-by: kynnyhsap <kynnyhsap@users.noreply.github.com>
2026-01-12 15:21:38 -06:00
Marc Espin 70e31e51c5 fix(docs): Document cargofmt (#7383) 2026-01-08 16:00:03 -06:00
Dax Raad 20cc23edd6 core: improve Rust formatter detection and add cargo fmt support 2026-01-04 13:04:28 -05:00
Farhad Omid 4ae525eb93 feat(format): add rustfmt formatter for Rust files (#6482) 2025-12-30 17:06:55 -06:00
ja f544c2f151 feat(format): add nixfmt formatter for Nix files (#6380) 2025-12-29 14:57:52 -06:00
ja 1b2e793ada feat: add shfmt formatter for shell scripts (#6204) 2025-12-26 11:31:51 -06:00
matvey 47459c2816 feat: add experimental oxfmt formatter (#5620) 2025-12-16 14:43:14 -06:00
Lawrence Sarpong 9e7e08a05b Add Gleam LSP and formatter (#5514) 2025-12-14 10:51:08 -06:00
rari404 9b2f389698 feat: add texlab language server and latexindent formatter (#5251) 2025-12-12 23:50:09 -06:00