Commit Graph

48 Commits

Author SHA1 Message Date
Boston Cartwright 18260b037b
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
GitHub Action 34ff87d504 chore: format code 2025-11-08 01:59:02 +00:00
Dax 96bdeb3c7b
OpenTUI is here (#2685) 2025-10-31 15:07:36 -04:00
Aiden Cline 3541fdcb20
tweak: adjust deno lsp (#3581) 2025-10-30 11:59:54 -05:00
Aiden Cline 42c1e61bf4
fix: $ invocation not .quiet() (#3449) 2025-10-25 16:27:09 -05:00
Hieu Nguyen 483fcdaddb
feat: support lua lsp (#3402) 2025-10-24 10:37:11 -05:00
Hieu Nguyen 4d8268c818
feat: support astro lsp (#3242) 2025-10-19 22:49:06 -05:00
Hieu Nguyen 92d9a0ec61
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
Dax Raad 979c9ea569 lsp: fix root detection to use instance directory instead of worktree 2025-10-09 04:30:30 -04:00
Dax Raad c0bd29155d 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
iwauo 6b799b304c
feat: add Java LSP server support (#2547)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-21 23:55:15 -05:00
madflow 32b47fcc1e
feat: svelte lsp (#2508) 2025-09-09 13:59:58 -05:00
Dax f993541e0b
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 37530359ee
fix: ensure gopls lsp id matches docs (#2344) 2025-08-31 21:52:08 -05:00
Andre van Tonder fcfeac57c5
fix: resolve virtual envs for python LSP (#2155)
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-08-30 23:53:03 -05:00
Anton 0c30a6f303 Use a single rust LSP server instance for entire cargo workspace (#2292) 2025-08-30 06:00:39 +00:00
Aiden Cline cb03655aac
fix: eslint ENOTEMPTY (#2252) 2025-08-25 23:11:38 -05:00
Vasiliy Kulikov 3706b2bca7
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
Lucas 5d8d896fa2
feat(lsp): add rust-analyzer (#1972) 2025-08-16 22:59:51 -04:00
Andre van Tonder 17a7c824b8
Add Vue LSP and enable eslint for `.vue` files. (#1952) 2025-08-15 06:18:27 -05:00
Dax Raad aa5e39e744 fix unzip not found printing to tui 2025-08-12 18:43:24 -04:00
Dax Raad e6f3cf0839 fix pyright 2025-08-11 22:27:24 -04:00
adamdotdevin ee0519aacc
feat: add clangd for cpp 2025-08-11 19:21:59 -05:00
Aiden Cline 1954b59167
feat: eslint lsp (#1744) 2025-08-09 11:04:58 -05:00
Yihui Khuu 613b5fbe48
feat: add csharp lsp (#1312) 2025-07-25 12:17:06 -04:00
Dax Raad ba5be6b625 make LSP lazy again 2025-07-10 09:37:40 -04:00
Dax Raad 085c0e4e2b respect go.work when spawning LSP 2025-07-09 22:54:47 -04:00
Frank Denis 727fe6f942
LSP: fix SimpleRoots to actually search in the root directory (#795) 2025-07-09 10:35:06 -05:00
Dax Raad f383008cc1 lsp: spawn only a single tsserver in project root 2025-07-09 11:06:44 -04:00
Dax Raad 00ea5082e7 add typescript lsp timeout if it fails to start 2025-07-08 18:33:12 -04:00
Dax Raad 4a878b88c0 properly load typescript lsp in subpaths 2025-07-08 18:18:45 -04:00
Dax Raad 6de955847c big rework of LSP system 2025-07-08 18:14:49 -04:00
Frank Denis f7d6175283
Add support for the Zig Language Server (ZLS) (#756) 2025-07-08 15:31:11 -05:00
Dax f884766445
v2 message format and upgrade to ai sdk v5 (#743)
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 cf83e31f23 add elixir lsp support 2025-07-03 19:29:51 -04:00
Dax Raad 8c4b5e088b do not install gopls if go is not installed 2025-07-02 23:59:08 -04:00
Max Rabin 3d71be2b45
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 72d48759d7 add ruby formatter and lsp 2025-06-29 22:00:08 -04:00
Dax Raad 0515fbb260 fix gopls download spewing into terminal 2025-06-19 17:08:58 -04:00
Dax Raad 888105e60f sync 2025-06-12 11:00:37 -04:00
Dax Raad 28f5cbbfe9 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 ca3c22dc12 fix bunfile bug 2025-06-10 18:23:19 -04:00
Dax Raad 43b429db93 lsp 2025-06-10 16:29:35 -04:00
Dax Raad 96b5a079ff Update LSP client/server and CLI scrap command functionality
🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-10 13:30:13 -04:00
Dax Raad 021fd3fcb5 sync 2025-06-09 14:01:11 -04:00
Dax Raad fa3253d1b6 Add TypeScript server initialization config to LSP server
🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-08 13:22:07 -04:00
Dax Raad a1cc8f6cdb fix ts lsp 2025-06-08 12:57:33 -04:00
Dax Raad 32e6a552c0 autodownload lsp 2025-06-06 23:21:57 -04:00