fix(tui): enable diff viewer by default
This commit is contained in:
@@ -21,7 +21,7 @@ export type InternalTuiPlugin = Omit<TuiPluginModule, "id"> & {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function internalTuiPlugins(
|
export function internalTuiPlugins(
|
||||||
flags: Pick<RuntimeFlags.Info, "diffViewer" | "experimentalEventSystem">,
|
flags: Pick<RuntimeFlags.Info, "experimentalEventSystem">,
|
||||||
): InternalTuiPlugin[] {
|
): InternalTuiPlugin[] {
|
||||||
return [
|
return [
|
||||||
HomeFooter,
|
HomeFooter,
|
||||||
@@ -35,7 +35,7 @@ export function internalTuiPlugins(
|
|||||||
Notifications,
|
Notifications,
|
||||||
PluginManager,
|
PluginManager,
|
||||||
WhichKey,
|
WhichKey,
|
||||||
...(flags.diffViewer ? [DiffViewer] : []),
|
DiffViewer,
|
||||||
...(flags.experimentalEventSystem ? [SessionV2Debug] : []),
|
...(flags.experimentalEventSystem ? [SessionV2Debug] : []),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ export class Service extends ConfigService.Service<Service>()("@opencode/Runtime
|
|||||||
autoShare: bool("OPENCODE_AUTO_SHARE"),
|
autoShare: bool("OPENCODE_AUTO_SHARE"),
|
||||||
pure: bool("OPENCODE_PURE"),
|
pure: bool("OPENCODE_PURE"),
|
||||||
disableDefaultPlugins: bool("OPENCODE_DISABLE_DEFAULT_PLUGINS"),
|
disableDefaultPlugins: bool("OPENCODE_DISABLE_DEFAULT_PLUGINS"),
|
||||||
diffViewer: bool("OPENCODE_DIFF_VIEWER"),
|
|
||||||
disableChannelDb: bool("OPENCODE_DISABLE_CHANNEL_DB"),
|
disableChannelDb: bool("OPENCODE_DISABLE_CHANNEL_DB"),
|
||||||
disableEmbeddedWebUi: bool("OPENCODE_DISABLE_EMBEDDED_WEB_UI"),
|
disableEmbeddedWebUi: bool("OPENCODE_DISABLE_EMBEDDED_WEB_UI"),
|
||||||
disableExternalSkills: bool("OPENCODE_DISABLE_EXTERNAL_SKILLS"),
|
disableExternalSkills: bool("OPENCODE_DISABLE_EXTERNAL_SKILLS"),
|
||||||
|
|||||||
Reference in New Issue
Block a user