Commit Graph

36 Commits

Author SHA1 Message Date
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
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
rari404 c4bc264ef9 feat: add terraform-ls language server and formatter (#5243) 2025-12-08 12:02:25 -06:00
Shoubhit Dash 0904e20387 add ocamlformat support (#5229) 2025-12-08 11:37:30 -06:00
Christoph aa2a0dbd7b core: add built-in Dart LSP server and formatter (#4841) 2025-11-28 00:33:45 -06:00
GitHub Action 9855771157 chore: format code 2025-11-08 01:59:02 +00:00
Kyle F Butts f5b25b6d9a Add support for R formatter in formatters (#3918)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 18:18:33 -06:00
Jared A. Scheel 9c2c86c52f Add support for uv format in formatters (#3916) 2025-11-04 15:40:29 -06:00
Dax aea78046d0 Refactor to support multiple instances inside single opencode process (#2360)
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk

1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Jake ac1d8c3f9f Add support for biome.jsonc config file (#1791) 2025-08-11 06:48:46 -05:00
Dax Raad 918b7019c7 formatter config 2025-07-31 19:36:07 -04:00
Dax 083682c6a8 ci: new publish method (#1451) 2025-07-31 01:00:29 -04:00
Dax Raad 2ef832f926 only enable ruff if it seems to be used
publish / publish (push) Has been cancelled
2025-07-17 18:07:06 -04:00
Dax Raad 10721053ba respect go.work when spawning LSP
publish / publish (push) Has been cancelled
2025-07-09 22:54:47 -04:00
Dax Raad e179ade5d8 better detection of prettier formatter
publish / publish (push) Has been cancelled
2025-07-09 22:37:31 -04:00
Dax 9cad702612 v2 message format and upgrade to ai sdk v5 (#743)
publish / publish (push) Has been cancelled
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me>
Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-07-07 15:53:43 -04:00
Dax Raad 84f7d88d84 add ruby formatter and lsp 2025-06-29 22:00:08 -04:00
Dax Raad 12baee0927 ignore: refactoring 2025-06-29 21:30:23 -04:00