Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCode Session Switch

Adds a compact session dropdown to the OpenCode sidebar.

Important

Version 1.x supports OpenCode v2 only. OpenCode v1 is no longer supported; use the final 0.x release if you must remain on v1.

Install

Recommended:

opencode plugin -g opencode-session-switch

If OpenCode already has an older cached copy, force a refresh:

opencode plugin -g -f opencode-session-switch

Manual install:

{
  "$schema": "https://opencode.ai/config.json",
  "plugins": ["opencode-session-switch"]
}

For local development, add your local checkout path to ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "plugins": ["file:///path/to/opencode-session-switch"]
}

Reload or restart OpenCode after changing plugin config.

Use It

  • Sidebar: expand Sessions and click a session name to switch to it.

Notes

The sidebar uses OpenCode's TUI route API for direct session switching.

License

MIT

About

Switch between OpenCode sessions via sidebar

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages