@opencode-ai/plugin 0.0.0-next-16482 → 0.0.0-next-16483

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.
@@ -10,6 +10,7 @@ import type { EventDomain } from "./event.js";
10
10
  import type { IntegrationDomain } from "./integration.js";
11
11
  import type { ReferenceDomain } from "./reference.js";
12
12
  import type { SessionDomain } from "./session.js";
13
+ import type { ShellDomain } from "./shell.js";
13
14
  import type { SkillDomain } from "./skill.js";
14
15
  import type { ToolDomain } from "./tool.js";
15
16
  import type { WebSearchDomain } from "./websearch.js";
@@ -25,6 +26,7 @@ export interface Context {
25
26
  readonly plugin: PluginApi<unknown>;
26
27
  readonly reference: ReferenceDomain;
27
28
  readonly session: SessionDomain;
29
+ readonly shell: ShellDomain;
28
30
  readonly skill: SkillDomain;
29
31
  readonly tool: ToolDomain;
30
32
  readonly websearch: WebSearchDomain;
@@ -0,0 +1,14 @@
1
+ import type { Hooks } from "./registration.js";
2
+ export interface ShellCreateBefore {
3
+ command: string;
4
+ cwd: string;
5
+ timeout: number;
6
+ shell: string;
7
+ env: Record<string, string | undefined>;
8
+ }
9
+ export interface ShellHooks {
10
+ readonly "create.before": ShellCreateBefore;
11
+ }
12
+ export interface ShellDomain {
13
+ readonly hook: Hooks<ShellHooks>;
14
+ }
File without changes
@@ -9,6 +9,7 @@ import type { EventDomain } from "./event.js";
9
9
  import type { IntegrationDomain } from "./integration.js";
10
10
  import type { ReferenceDomain } from "./reference.js";
11
11
  import type { SessionDomain } from "./session.js";
12
+ import type { ShellDomain } from "./shell.js";
12
13
  import type { SkillDomain } from "./skill.js";
13
14
  import type { ToolDomain } from "./tool.js";
14
15
  import type { WebSearchDomain } from "./websearch.js";
@@ -24,6 +25,7 @@ export interface Context {
24
25
  readonly plugin: PluginApi;
25
26
  readonly reference: ReferenceDomain;
26
27
  readonly session: SessionDomain;
28
+ readonly shell: ShellDomain;
27
29
  readonly skill: SkillDomain;
28
30
  readonly tool: ToolDomain;
29
31
  readonly websearch: WebSearchDomain;
@@ -0,0 +1,14 @@
1
+ import type { Hooks } from "./registration.js";
2
+ export interface ShellCreateBefore {
3
+ command: string;
4
+ cwd: string;
5
+ timeout: number;
6
+ shell: string;
7
+ env: Record<string, string | undefined>;
8
+ }
9
+ export interface ShellHooks {
10
+ readonly "create.before": ShellCreateBefore;
11
+ }
12
+ export interface ShellDomain {
13
+ readonly hook: Hooks<ShellHooks>;
14
+ }
File without changes
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-16482",
4
+ "version": "0.0.0-next-16483",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -36,16 +36,16 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@ai-sdk/provider": "3.0.8",
39
- "@opencode-ai/ai": "0.0.0-next-16482",
40
- "@opencode-ai/client": "0.0.0-next-16482",
41
- "@opencode-ai/schema": "0.0.0-next-16482",
39
+ "@opencode-ai/ai": "0.0.0-next-16483",
40
+ "@opencode-ai/client": "0.0.0-next-16483",
41
+ "@opencode-ai/schema": "0.0.0-next-16483",
42
42
  "@opencode-ai/sdk": "1.18.5",
43
43
  "@standard-schema/spec": "1.1.0",
44
44
  "effect": "4.0.0-beta.101",
45
45
  "zod": "4.1.8"
46
46
  },
47
47
  "peerDependencies": {
48
- "@opencode-ai/theme": "0.0.0-next-16482",
48
+ "@opencode-ai/theme": "0.0.0-next-16483",
49
49
  "@opentui/core": ">=0.4.5",
50
50
  "@opentui/keymap": ">=0.4.5",
51
51
  "@opentui/solid": ">=0.4.5",
@@ -69,7 +69,7 @@
69
69
  }
70
70
  },
71
71
  "devDependencies": {
72
- "@opencode-ai/theme": "0.0.0-next-16482",
72
+ "@opencode-ai/theme": "0.0.0-next-16483",
73
73
  "@opentui/core": "0.4.5",
74
74
  "@opentui/keymap": "0.4.5",
75
75
  "@opentui/solid": "0.4.5",