You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@opencode-ai/plugin

Package Overview
Dependencies
Maintainers
2
Versions
5213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencode-ai/plugin - npm Package Compare versions

Comparing version
0.0.0-dev-202603272203
to
0.0.0-dev-202603272345
+2
-1
dist/index.d.ts

@@ -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 = {

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;
};
{
"$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 @@ },