github sst/opencode v0.6.0

latest releases: v0.6.4, v0.6.3, v0.6.2...
2 days ago

Breaking Changes

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
  • Use a single rust LSP server instance for entire cargo workspace (#2292)
  • fix: change command selection to prefer exact matches over fuzzy sear… (#2314)
  • tweak: ensure run command doesn't send request if no prompt present (#2332)
  • fix: resolve [pasted lines] when passing paste as arguments for command (#2333)
  • add support for lsp workspace/didChangeConfiguration (#2334)
  • fix: ensure command uses currently selected model (#2336)
  • fix: resolve virtual envs for python LSP (#2155) Co-authored-by: rekram1-node aidenpcline@gmail.com
  • fix: adjust title generation prompt to prevent direct response instead of title gen (#2338)
  • fix: ensure shell cmds can be properly aborted (#2339)
  • feat: Allow provider timeout override (#1982)
  • fix: ensure gopls lsp id matches docs (#2344)
  • add --command to opencode run (#2348)
  • fix: tui attachment bound (#2361)

Don't miss a new opencode release

NewReleases is sending notifications on new releases.