@opencode-ai/plugin
Advanced tools
+2
-1
@@ -25,3 +25,4 @@ import type { Event, createOpencodeClient, Project, Model, Provider, Permission, UserMessage, Message, Part, Auth, Config as SDKConfig } from "@opencode-ai/sdk"; | ||
| id?: string; | ||
| server?: Plugin; | ||
| server: Plugin; | ||
| tui?: never; | ||
| }; | ||
@@ -28,0 +29,0 @@ type Rule = { |
+7
-3
| import type { OpencodeClient, Event, LspStatus, McpStatus, Todo, Message, Part, Provider, PermissionRequest, QuestionRequest, SessionStatus, Workspace, Config as SdkConfig } from "@opencode-ai/sdk/v2"; | ||
| import type { CliRenderer, ParsedKey, RGBA } from "@opentui/core"; | ||
| import type { JSX, SolidPlugin } from "@opentui/solid"; | ||
| import type { Config as PluginConfig, PluginModule, PluginOptions } from "./index.js"; | ||
| import type { Config as PluginConfig, PluginOptions } from "./index.js"; | ||
| export type { CliRenderer, SlotMode } from "@opentui/core"; | ||
@@ -83,2 +83,4 @@ export type TuiRouteCurrent = { | ||
| value?: string; | ||
| busy?: boolean; | ||
| busyText?: string; | ||
| onConfirm?: (value: string) => void; | ||
@@ -356,4 +358,6 @@ onCancel?: () => void; | ||
| export type TuiPlugin = (api: TuiPluginApi, options: PluginOptions | undefined, meta: TuiPluginMeta) => Promise<void>; | ||
| export type TuiPluginModule = PluginModule & { | ||
| tui?: TuiPlugin; | ||
| export type TuiPluginModule = { | ||
| id?: string; | ||
| tui: TuiPlugin; | ||
| server?: never; | ||
| }; |
+2
-2
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/plugin", | ||
| "version": "0.0.0-dev-202603272203", | ||
| "version": "0.0.0-dev-202603272345", | ||
| "type": "module", | ||
@@ -29,3 +29,3 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@opencode-ai/sdk": "0.0.0-dev-202603272203", | ||
| "@opencode-ai/sdk": "0.0.0-dev-202603272345", | ||
| "zod": "4.1.8" | ||
@@ -32,0 +32,0 @@ }, |
24681
0.27%800
0.63%+ Added
- Removed