@opencode-ai/plugin 0.0.0-next-15918 → 0.0.0-next-15994

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.
@@ -0,0 +1,5 @@
1
+ export interface App {
2
+ readonly name: string;
3
+ readonly version: string;
4
+ readonly channel: string;
5
+ }
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-15918",
4
+ "version": "0.0.0-next-15994",
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-15918",
56
- "@opencode-ai/client": "0.0.0-next-15918",
57
- "@opencode-ai/schema": "0.0.0-next-15918",
58
- "@opencode-ai/sdk": "0.0.0-next-15918",
55
+ "@opencode-ai/ai": "0.0.0-next-15994",
56
+ "@opencode-ai/client": "0.0.0-next-15994",
57
+ "@opencode-ai/schema": "0.0.0-next-15994",
58
+ "@opencode-ai/sdk": "0.0.0-next-15994",
59
59
  "@standard-schema/spec": "^1.1.0",
60
60
  "effect": "4.0.0-beta.98",
61
61
  "zod": "4.1.8"