Commit Graph

26 Commits

Author SHA1 Message Date
Yuku Kotani 187fa92c01 Add formatter status display to TUI status dialog (#3701) 2025-11-01 11:14:39 -04:00
pancake 841135c435 fix: clang formatter name (#3042)
Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-10-13 19:55:18 -05: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
Aiden Cline 66e626dee0 fix: format error log (#2184) 2025-08-22 16:09:15 -05:00
Camden Clark d4d4cf2c3a fix: preserve process.env when spawning formatter commands (#1850) 2025-08-12 02:05:26 -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 Raad a64165b456 allow disabling formatter 2025-07-31 18:56:04 -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
Timo Clasen 46faca1f62 fix(formatting): check for enabled formatters (#611) 2025-07-02 12:03:42 -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
Dax Raad 6e84fdab27 add zig, python, clang, and kotlin formatters
Co-authored-by: Suhas-Koheda <Suhas-Koheda@users.noreply.github.com>
Co-authored-by: Polo123456789 <Polo123456789@users.noreply.github.com>
Co-authored-by: theodore-s-beers <theodore-s-beers@users.noreply.github.com>
Co-authored-by: TylerHillery <TylerHillery@users.noreply.github.com>
2025-06-29 21:27:35 -04:00
Dax Raad 66d03b0a94 restructure formatters 2025-06-29 21:22:21 -04:00
Polo123456789 c6b7e173e1 Formatters as plugins (#487) 2025-06-29 21:13:32 -04:00
Polo123456789 1fcb9ce01b feat: Add golang file formatting (#474) 2025-06-27 14:11:09 -04:00
Dax Raad cdbaf1c2d2 lazy load formatters 2025-06-27 11:33:37 -04:00
Ryan Winchester 56ceed0b45 feat: add elixir file formatting (#458) 2025-06-27 10:15:11 -04:00
Dax Raad 9141f437ad fix formatting output going into tui
publish / publish (push) Has been cancelled
2025-06-27 07:29:41 -04:00
adamdottv 4b518c22b0 fix: don't use prettier for langs it doesn't format
publish / publish (push) Has been cancelled
2025-06-27 05:47:14 -05:00
Dax Raad a94c88bc5b ignore: run prettier
publish / publish (push) Has been cancelled
2025-06-26 22:30:44 -04:00
Dax Raad 2142c34fdd add auto formatting and experimental hooks feature
publish / publish (push) Has been cancelled
2025-06-26 22:17:08 -04:00