Commit Graph

94 Commits

Author SHA1 Message Date
Aiden Cline eeaecdf65c feat: add top level lsp: false and formatter: false to allow disabling all formatters or lsps at once 2025-11-18 17:48:40 -06:00
Filip 086633af61 fix: clangd hanging fixed (#3611)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: GitHub Action <action@github.com>
2025-11-12 00:21:55 -06:00
Boston Cartwright 22a0a061d0 feat: add SourceKit LSP support (#1545)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-11 20:51:33 -06:00
Dax Raad be19f3beba tui: show LSP diagnostics inline when viewing files so users can see type errors and compilation issues without leaving the interface 2025-11-11 12:15:40 -05:00
GitHub Action 636a1202c6 chore: format code 2025-11-08 22:32:25 +00:00
Christopher Sacca 6f7bb4afe4 fix(lsp): handle optional requests to avoid MethodNotFound (-32601) with MATLAB Language Server (#4007) 2025-11-08 16:31:39 -06:00
GitHub Action 9855771157 chore: format code 2025-11-08 01:59:02 +00:00
Dax Raad ed8913324e big format 2025-11-06 13:03:12 -05:00
Err 24b78b7423 feat: add Clojure syntax highlighting support (#3912)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-11-04 22:47:05 -06:00
Dax fd63884d0b OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Haris Gušić ba2660ec3e fix: Opencode hangs after exit (#3481)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 23:57:58 -05:00
Aiden Cline 992508fff7 tweak: adjust deno lsp (#3581) 2025-10-30 11:59:54 -05:00
Aiden Cline 977339adab Revert "fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)"
This reverts commit 5f0e46c51c.
2025-10-27 01:30:13 -05:00
Haris Gušić 5f0e46c51c fix: Explicitly exit CLI to prevent hanging subprocesses (#3083)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-27 00:03:10 -05:00
Jérôme Benoit 0787f01d1d chore: cleanup versioned zod imports (#3460)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-26 14:50:41 -05:00
Aiden Cline bc4761ab42 fix: $ invocation not .quiet() (#3449) 2025-10-25 16:27:09 -05:00
Hieu Nguyen 56ea985113 feat: support lua lsp (#3402) 2025-10-24 10:37:11 -05:00
Hieu Nguyen db35e15726 feat: support astro lsp (#3242) 2025-10-19 22:49:06 -05:00
Hieu Nguyen c0be652d4c feat: deno lsp (#3210)
Co-authored-by: hiunguynx <hieu.nm1@teko.vn>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2025-10-16 18:08:36 -05:00
Aiden Cline b1cea8b703 fix: connection closed
publish-github-action / publish (push) Has been cancelled
2025-10-16 14:00:07 -05:00
Dax Raad 93c84b47ae upgrade to bun 1.3.0 2025-10-10 17:53:32 -04:00
Rustafarian Dev b2f35389fb fix: perl6 file extension (#3066) 2025-10-10 11:28:49 -05:00
Dax Raad 03d8a3f6a2 lsp: fix root detection to use instance directory instead of worktree 2025-10-09 04:30:30 -04:00
Dax Raad 73c7dacc09 lsp: simplify language server root detection to use lock files
Improves project boundary detection by focusing on package manager lock files instead of config files, providing more reliable workspace identification across different project types.
2025-10-09 04:22:38 -04:00
Aiden Cline 8f6c63c017 fix: allow LSP filename matching when extension is missing (#2975) 2025-10-04 20:30:53 -05:00
Aiden Cline 5af4c7e066 fix: lsp extension undefined handle (#2739) 2025-09-22 21:14:55 -05:00
iwauo dbfb523fd7 feat: add Java LSP server support (#2547)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-21 23:55:15 -05:00
Aiden Cline 112cf7b59d fix: lsp spawn logic (#2723) 2025-09-21 11:25:47 -05:00
Aiden Cline 1851bec769 ignore: lsp log (#2715) 2025-09-20 23:02:06 -05:00
Dax 0a4df97382 Upgrade to Zod v4 (#2605)
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
madflow e275de0fcb feat: svelte lsp (#2508) 2025-09-09 13:59:58 -05:00
Aiden Cline 6e911f5f2e fix: ensure enabled lsps are all logged (#2364) 2025-09-01 17:43:31 -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
Régis Blanc a45f0febbf fix: ensure gopls lsp id matches docs (#2344) 2025-08-31 21:52:08 -05:00
Andre van Tonder 1e2c48b3ad fix: resolve virtual envs for python LSP (#2155)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-08-30 23:53:03 -05:00
Aiden Cline b28229a645 add support for lsp workspace/didChangeConfiguration (#2334) 2025-08-30 14:49:13 -05:00
Anton edfc1c315a Use a single rust LSP server instance for entire cargo workspace (#2292) 2025-08-30 06:00:39 +00:00
Aiden Cline f95e368040 fix: eslint ENOTEMPTY (#2252) 2025-08-25 23:11:38 -05:00
Vasiliy Kulikov cccd583769 feat(lsp): option to disable lsps installing automatically (#1997)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-08-22 22:39:19 -05:00
Aiden Cline 1cdf9573c5 fix: if lsp fails to spawn it shouldn't inject errors into edit diagnostics (#2145) 2025-08-21 12:06:32 -05:00
Lucas ebaa529b20 feat(lsp): add rust-analyzer (#1972) 2025-08-16 22:59:51 -04:00
Aiden Cline 27946fceeb fix: lsp bug (#1994) 2025-08-16 22:59:18 -04:00
Andre van Tonder d7cf22610e Add Vue LSP and enable eslint for .vue files. (#1952) 2025-08-15 06:18:27 -05:00
Dax Raad ece8dc3212 fix unzip not found printing to tui 2025-08-12 18:43:24 -04:00
Dax Raad 3b861c16ba fix pyright 2025-08-11 22:27:24 -04:00
Dax Raad 952293b75a switch back to didUpdate instead of closing and opening file 2025-08-11 21:36:05 -04:00
adamdotdevin 798d4269af feat: add clangd for cpp 2025-08-11 19:21:59 -05:00
Aiden Cline d88272d466 feat: eslint lsp (#1744) 2025-08-09 11:04:58 -05:00
Aiden Cline 29f1bd9ead fix: server.root is not a function (#1614) 2025-08-05 05:17:32 -05:00
Dax Raad f75fc5af22 force models.dev refresh on auth login 2025-08-01 17:48:01 -04:00