cloudaxe-opencode/packages/opencode/src/session
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
..
prompt fix: adjust title generation prompt to prevent direct response instead of title gen (#2338) 2025-08-31 11:01:19 -05:00
index.ts Refactor to support multiple instances inside single opencode process (#2360) 2025-09-01 17:15:49 -04:00
message-v2.ts Feat: Render tool metadata after permission rejection. (#1949) 2025-08-15 06:16:40 -05:00
message.ts bring back task tool 2025-07-15 00:05:54 -04:00
system.ts Refactor to support multiple instances inside single opencode process (#2360) 2025-09-01 17:15:49 -04:00