@opencode-ai/plugin
Advanced tools
+53
-3
@@ -331,6 +331,56 @@ import type { OpencodeClient, LspStatus, McpStatus, Message, Part, Provider, PermissionRequest, QuestionRequest, Session, SessionStatus, Config as SdkConfig } from "@opencode-ai/sdk/v2"; | ||
| }; | ||
| type TuiConfigView = Pick<PluginConfig, "$schema" | "theme" | "plugin"> & NonNullable<PluginConfig["tui"]> & { | ||
| leader_timeout: number; | ||
| type TuiConfigView = { | ||
| $schema?: string; | ||
| theme?: string | { | ||
| name?: string; | ||
| mode?: "system" | "dark" | "light"; | ||
| }; | ||
| plugin?: PluginConfig["plugin"]; | ||
| plugins?: ReadonlyArray<string | { | ||
| package: string; | ||
| options?: Record<string, any>; | ||
| }>; | ||
| plugin_enabled?: Record<string, boolean>; | ||
| leader?: { | ||
| timeout: number; | ||
| }; | ||
| leader_timeout?: number; | ||
| scroll?: { | ||
| speed?: number; | ||
| acceleration?: boolean; | ||
| }; | ||
| scroll_speed?: number; | ||
| scroll_acceleration?: { | ||
| enabled: boolean; | ||
| }; | ||
| attention: TuiAttentionConfigView; | ||
| plugin_enabled?: Record<string, boolean>; | ||
| diffs?: { | ||
| wrap?: "word" | "none"; | ||
| tree?: boolean; | ||
| single?: boolean; | ||
| view?: "auto" | "split" | "unified"; | ||
| }; | ||
| diff_style?: "auto" | "stacked"; | ||
| terminal?: { | ||
| title?: boolean; | ||
| }; | ||
| prompt?: { | ||
| editor?: boolean; | ||
| paste?: "compact" | "full"; | ||
| } | { | ||
| max_height?: number; | ||
| max_width?: number | "auto"; | ||
| }; | ||
| session?: { | ||
| sidebar?: "auto" | "hide"; | ||
| scrollbar?: boolean; | ||
| thinking?: "show" | "hide"; | ||
| grouping?: "auto" | "none"; | ||
| }; | ||
| hints?: { | ||
| tips?: boolean; | ||
| onboarding?: boolean; | ||
| }; | ||
| animations?: boolean; | ||
| mouse: boolean; | ||
| keybinds: TuiBindingLookupView; | ||
@@ -337,0 +387,0 @@ }; |
+4
-4
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/plugin", | ||
| "version": "0.0.0-next-15363", | ||
| "version": "0.0.0-next-15377", | ||
| "type": "module", | ||
@@ -51,5 +51,5 @@ "license": "MIT", | ||
| "@ai-sdk/provider": "3.0.8", | ||
| "@opencode-ai/client": "0.0.0-next-15363", | ||
| "@opencode-ai/schema": "0.0.0-next-15363", | ||
| "@opencode-ai/sdk": "0.0.0-next-15363", | ||
| "@opencode-ai/client": "0.0.0-next-15377", | ||
| "@opencode-ai/schema": "0.0.0-next-15377", | ||
| "@opencode-ai/sdk": "0.0.0-next-15377", | ||
| "effect": "4.0.0-beta.83", | ||
@@ -56,0 +56,0 @@ "zod": "4.1.8" |
71633
1.51%1949
2.63%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed