@opencode-ai/plugin
Advanced tools
| export interface App { | ||
| readonly name: string; | ||
| readonly version: string; | ||
| readonly channel: string; | ||
| } |
| import type { PluginApi } from "@opencode-ai/client/effect/api"; | ||
| import type { Effect, Scope } from "effect"; | ||
| import type { PluginOptions } from "../options.js"; | ||
| import type { App } from "../app.js"; | ||
| import type { AgentDomain } from "./agent.js"; | ||
@@ -15,2 +16,3 @@ import type { AISDKDomain } from "./aisdk.js"; | ||
| export interface Context { | ||
| readonly app: App; | ||
| readonly options: PluginOptions; | ||
@@ -17,0 +19,0 @@ readonly agent: AgentDomain; |
| import type { PluginApi } from "@opencode-ai/client/promise/api"; | ||
| import type { PluginOptions } from "../options.js"; | ||
| import type { App } from "../app.js"; | ||
| import type { AgentDomain } from "./agent.js"; | ||
@@ -14,2 +15,3 @@ import type { AISDKDomain } from "./aisdk.js"; | ||
| export interface Context { | ||
| readonly app: App; | ||
| readonly options: PluginOptions; | ||
@@ -16,0 +18,0 @@ readonly agent: AgentDomain; |
+5
-5
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/plugin", | ||
| "version": "0.0.0-next-15919", | ||
| "version": "0.0.0-next-15997", | ||
| "type": "module", | ||
@@ -55,6 +55,6 @@ "license": "MIT", | ||
| "@ai-sdk/provider": "3.0.8", | ||
| "@opencode-ai/ai": "0.0.0-next-15919", | ||
| "@opencode-ai/client": "0.0.0-next-15919", | ||
| "@opencode-ai/schema": "0.0.0-next-15919", | ||
| "@opencode-ai/sdk": "0.0.0-next-15919", | ||
| "@opencode-ai/ai": "0.0.0-next-15997", | ||
| "@opencode-ai/client": "0.0.0-next-15997", | ||
| "@opencode-ai/schema": "0.0.0-next-15997", | ||
| "@opencode-ai/sdk": "0.0.0-next-15997", | ||
| "@standard-schema/spec": "^1.1.0", | ||
@@ -61,0 +61,0 @@ "effect": "4.0.0-beta.98", |
78875
0.3%83
2.47%2085
0.43%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed