fix(tui): register storybook only for story runs (#39733)

This commit is contained in:
Kit Langton
2026-07-30 15:55:05 -04:00
committed by GitHub
Unverified
parent cc883058df
commit 22d2012f75
+3 -1
View File
@@ -18,6 +18,8 @@ export const builtins = [
SidebarFooter,
Notifications,
Plugins,
Storybook,
// The storybook is a development tool; keep its route and palette commands out of
// normal launches and register it only for OPENCODE_STORY runs.
...(process.env.OPENCODE_STORY ? [Storybook] : []),
DiffViewer,
]