Commit Graph

26 Commits

Author SHA1 Message Date
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
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
Dax Raad 952293b75a switch back to didUpdate instead of closing and opening file 2025-08-11 21:36:05 -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 1ba82bc7cb do not wait for LSP to be fully ready
publish / publish (push) Has been cancelled
2025-07-09 21:59:38 -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
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 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
Dax Raad 605545a7a3 optimistically boot lsp servers 2025-06-30 16:45:26 -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 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 6edb6024db kill 2025-06-10 16:35:02 -04:00
Dax Raad 51c5048570 lsp 2025-06-10 16:29:35 -04:00
Dax Raad 160913e061 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 a23908a136 autodownload lsp 2025-06-06 23:21:57 -04:00
Dax Raad c84fb15216 make lsp better 2025-06-06 17:20:08 -04:00
Dax Raad 482fe2b8c9 lsp progress 2025-06-05 23:42:04 -04:00
Dax Raad 66685b4917 Refactor app context system to use Zod schemas and sync access pattern
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-03 11:59:03 -04:00
Dax Raad 059d76ce82 Refactor application path handling and data storage architecture
Replace simple directory-based path system with git-aware data management that uses global data directories and proper workspace detection.

🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-01 14:40:44 -04:00
Dax Raad 27c92a478f run formatter 2025-05-31 14:41:00 -04:00
Dax Raad fcdff9f578 sync 2025-05-30 20:48:36 -04:00