summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/go/api.md
AgeCommit message (Collapse)Author
2025-12-07remove outdated SDKsDax Raad
2025-09-01Refactor to support multiple instances inside single opencode process (#2360)Dax
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-08-22slash commands (#2157)Dax
Co-authored-by: adamdotdevin <[email protected]>
2025-08-21fix(js-sdk): fix types in session.chat (#1925)zWing
Co-authored-by: zwingzheng <[email protected]> Co-authored-by: rekram1-node <[email protected]>
2025-08-15feat: add scroll speed to config (#1968)Aiden Cline
2025-08-15feat(api): get session and session children routesadamdotdevin
2025-08-15feat: /tui/show-toast apiadamdotdevin
2025-08-13support !shell commandsDax Raad
2025-08-13feat: bash commandsadamdotdevin
2025-08-10feat: thinking blocks rendered in tui and share pageadamdotdevin
2025-08-07Merge agent and mode into one (#1689)Dax
The concept of mode has been deprecated, there is now only the agent field in the config. An agent can be cycled through as your primary agent with <tab> or you can spawn a subagent by @ mentioning it. if you include a description of when to use it, the primary agent will try to automatically use it Full docs here: https://opencode.ai/docs/agents/
2025-07-31wip: permissionsDax Raad
2025-07-31wip: refactor permissionsDax Raad
2025-07-31ci: new publish method (#1451)Dax