You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow Luau plugins to customize the main session sidebar #1310
I’d like to build a custom session sidebar in Rune using Luau, the way I built my Thread Activity plugin for Electron OpenCode. The Electron version relies on renderer markup. A supported API in Rune would let users build their own sidebar layouts without relying on app internals.
Ideally, a plugin could replace the main session list, choose how sessions are grouped and ordered, render custom rows and nested content, and reuse native actions such as opening a session or showing its context menu. A slot beneath each row would help with inline subagent folding, but full customization would also let users build different layouts around the same session data.
A concrete example: my sidebar groups conversations by project and shows an agent count beneath each parent session. Expanding the count reveals Running and Finished groups that fold independently, so I can keep active work visible and hide completed work. Clicking a subagent opens its session. This only needs native OpenCode subagents.
If a broader plugin API isn’t on the roadmap, a built-in option to show collapsible subagent trees directly beneath their parents would still solve this workflow. #108 added Show subagents in Customize mode, and #1279 notes the remaining placement gap beneath open tabs.
yeah I will make sure we have parity here - the plugin system is likely to changae from Luau to psychoscript
so until we stabilise where our plugins will land just know it even more experimental than normal.
otherwise i hope to make this really good in just a few days... :)
Closing this Luau-specific plugin API request as not planned for now.
As noted above, the plugin runtime is likely transitioning from Luau to psychoscript. Supporting a custom main session sidebar in the current Luau opencode-plugin-spec (1.x) would require locking in a broad new permanent contract surface—sidebar replacement/row-footer slots, full session/subagent listing and status, project metadata, session navigation, native session context menus, and generic ui.* secondary-click handlers—right before the plugin system changes.
Once the new plugin system stabilizes, sidebar customization APIs can be designed directly for it; if you'd like to track built-in collapsible Running/Finished subagent trees beneath open tabs independently of plugins, feel free to open a focused issue for that.
Activity
Paliago commentedon Nov 26, 2026
As an idea on what i am looking for here is an image:
Hona commentedon Nov 26, 2026
yeah I will make sure we have parity here - the plugin system is likely to changae from Luau to psychoscript
so until we stabilise where our plugins will land just know it even more experimental than normal.
otherwise i hope to make this really good in just a few days... :)
Hona commentedon Nov 27, 2026
Closing this Luau-specific plugin API request as not planned for now.
As noted above, the plugin runtime is likely transitioning from Luau to psychoscript. Supporting a custom main session sidebar in the current Luau
opencode-plugin-spec(1.x) would require locking in a broad new permanent contract surface—sidebar replacement/row-footer slots, full session/subagent listing and status, project metadata, session navigation, native session context menus, and genericui.*secondary-click handlers—right before the plugin system changes.Current workaround & next steps:
TabStrip.