@opencode-ai/plugin 0.0.0-next-15919 → 0.0.0-next-15992
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v2/app.d.ts +5 -0
- package/dist/v2/app.js +0 -0
- package/dist/v2/effect/plugin.d.ts +2 -0
- package/dist/v2/promise/plugin.d.ts +2 -0
- package/package.json +5 -5
package/dist/v2/app.d.ts
ADDED
package/dist/v2/app.js
ADDED
|
File without changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PluginApi } from "@opencode-ai/client/effect/api";
|
|
2
2
|
import type { Effect, Scope } from "effect";
|
|
3
3
|
import type { PluginOptions } from "../options.js";
|
|
4
|
+
import type { App } from "../app.js";
|
|
4
5
|
import type { AgentDomain } from "./agent.js";
|
|
5
6
|
import type { AISDKDomain } from "./aisdk.js";
|
|
6
7
|
import type { CatalogDomain } from "./catalog.js";
|
|
@@ -12,6 +13,7 @@ import type { SessionDomain } from "./session.js";
|
|
|
12
13
|
import type { SkillDomain } from "./skill.js";
|
|
13
14
|
import type { ToolDomain } from "./tool.js";
|
|
14
15
|
export interface Context {
|
|
16
|
+
readonly app: App;
|
|
15
17
|
readonly options: PluginOptions;
|
|
16
18
|
readonly agent: AgentDomain;
|
|
17
19
|
readonly aisdk: AISDKDomain;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PluginApi } from "@opencode-ai/client/promise/api";
|
|
2
2
|
import type { PluginOptions } from "../options.js";
|
|
3
|
+
import type { App } from "../app.js";
|
|
3
4
|
import type { AgentDomain } from "./agent.js";
|
|
4
5
|
import type { AISDKDomain } from "./aisdk.js";
|
|
5
6
|
import type { CatalogDomain } from "./catalog.js";
|
|
@@ -11,6 +12,7 @@ import type { SessionDomain } from "./session.js";
|
|
|
11
12
|
import type { SkillDomain } from "./skill.js";
|
|
12
13
|
import type { ToolDomain } from "./tool.js";
|
|
13
14
|
export interface Context {
|
|
15
|
+
readonly app: App;
|
|
14
16
|
readonly options: PluginOptions;
|
|
15
17
|
readonly agent: AgentDomain;
|
|
16
18
|
readonly aisdk: AISDKDomain;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/plugin",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-15992",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
],
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@ai-sdk/provider": "3.0.8",
|
|
55
|
-
"@opencode-ai/ai": "0.0.0-next-
|
|
56
|
-
"@opencode-ai/client": "0.0.0-next-
|
|
57
|
-
"@opencode-ai/schema": "0.0.0-next-
|
|
58
|
-
"@opencode-ai/sdk": "0.0.0-next-
|
|
55
|
+
"@opencode-ai/ai": "0.0.0-next-15992",
|
|
56
|
+
"@opencode-ai/client": "0.0.0-next-15992",
|
|
57
|
+
"@opencode-ai/schema": "0.0.0-next-15992",
|
|
58
|
+
"@opencode-ai/sdk": "0.0.0-next-15992",
|
|
59
59
|
"@standard-schema/spec": "^1.1.0",
|
|
60
60
|
"effect": "4.0.0-beta.98",
|
|
61
61
|
"zod": "4.1.8"
|