New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@opencode-ai/plugin

Package Overview
Dependencies
Maintainers
2
Versions
6030
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-opentui-202510310534
to
0.0.0-v0-202510310554
+5
-1
dist/example.js
import { tool } from "./tool";
export const ExamplePlugin = async (ctx) => {
return {
permission: {},
tool: {
mytool: tool({
description: "This is a custom tool",
description: "This is a custom tool tool",
args: {

@@ -15,3 +16,6 @@ foo: tool.schema.string().describe("foo"),

},
async "chat.params"(_input, output) {
output.topP = 1;
},
};
};
+2
-2
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/plugin",
"version": "0.0.0-opentui-202510310534",
"version": "0.0.0-v0-202510310554",
"type": "module",

@@ -24,3 +24,3 @@ "scripts": {

"dependencies": {
"@opencode-ai/sdk": "0.0.0-opentui-202510310534",
"@opencode-ai/sdk": "0.0.0-v0-202510310554",
"zod": "4.1.8"

@@ -27,0 +27,0 @@ },