Commit Graph

63 Commits

Author SHA1 Message Date
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
Dax Raad 36318f74f7 configurable lsp 2025-08-01 14:52:10 -04:00
Yihui Khuu 0254c612ee feat: add csharp lsp (#1312) 2025-07-25 12:17:06 -04:00
Dax Raad b39c0cc191 make LSP lazy again
publish / publish (push) Has been cancelled
2025-07-10 09:37:40 -04:00
Dax Raad 39b65d92e1 disable lsp on non-git folders 2025-07-10 07:39:02 -04:00
adamdottv fb4da89f9a feat(tui): @symbol attachments 2025-07-10 05:53:00 -05: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 1ba82bc7cb do not wait for LSP to be fully ready
publish / publish (push) Has been cancelled
2025-07-09 21:59:38 -04:00
Frank Denis b94fb4c4d0 LSP: fix SimpleRoots to actually search in the root directory (#795) 2025-07-09 10:35:06 -05:00
Dax Raad 049c07ea9f lsp: spawn only a single tsserver in project root
publish / publish (push) Has been cancelled
2025-07-09 11:06:44 -04:00
adamdottv c5610af3a2 feat(tui): move logging to server logs 2025-07-09 08:16:10 -05:00
Dax Raad 646d986dfc add typescript lsp timeout if it fails to start
publish / publish (push) Has been cancelled
2025-07-08 18:33:12 -04:00
Dax Raad 57cd48c53e properly load typescript lsp in subpaths
publish / publish (push) Has been cancelled
2025-07-08 18:18:45 -04:00
Dax Raad 31974e1b6e big rework of LSP system 2025-07-08 18:14:49 -04:00
Frank Denis 48d18f0472 Add support for the Zig Language Server (ZLS) (#756) 2025-07-08 15:31:11 -05: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
Dominik Engelhardt ca1f14a523 Fix Elixir LSP startup (#726) 2025-07-06 23:37:46 -04:00
Dax Raad a59340b05d improve snapshot speed
publish / publish (push) Has been cancelled
2025-07-03 20:16:25 -04:00
Dax Raad a0764b2c3a add elixir lsp support
publish / publish (push) Has been cancelled
2025-07-03 19:29:51 -04:00
Dax Raad d918a64481 do not install gopls if go is not installed
publish / publish (push) Has been cancelled
2025-07-02 23:59:08 -04:00
Dax Raad 82c1c87be7 wip: symbols for lsp 2025-07-02 11:35:25 -04:00
Dax Raad a6c5cbc24e fix write tool timeout
publish / publish (push) Has been cancelled
2025-07-01 13:50:57 -04:00
Dax Raad 23bcc0defe fix lsp diagnostic accurancy
publish / publish (push) Has been cancelled
2025-06-30 22:48:32 -04:00
Max Rabin c3b02e205b Add pyright lsp for Python (#551)
Co-authored-by: Max Rabin <max.rabin@mobileye.com>
2025-06-30 18:17:47 -04:00
Dax Raad 605545a7a3 optimistically boot lsp servers 2025-06-30 16:45:26 -04:00
Dax Raad 84f7d88d84 add ruby formatter and lsp 2025-06-29 22:00:08 -04:00
Dax Raad 58a19b9b7a fix gopls download spewing into terminal
publish / publish (push) Has been cancelled
2025-06-19 17:08:58 -04:00
Dax Raad 1fe40495d2 Improve LSP server initialization with timeout handling and skip failed servers
publish / publish (push) Has been cancelled
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-15 13:52:57 -04:00
Dax Raad 2e3ad15d06 sync
release / goreleaser (push) Has been cancelled
2025-06-12 11:00:37 -04:00
Dax Raad e553e64e77 Fix shutdown handling, error management, and process lifecycle issues
🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-10 18:58:47 -04:00
Dax Raad 567ad1e69a fix bunfile bug 2025-06-10 18:23:19 -04:00
Dax Raad 6edb6024db kill 2025-06-10 16:35:02 -04:00