@opencode-ai/plugin 0.0.0-next-15391 → 0.0.0-next-15392

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.
@@ -133,7 +133,8 @@ export interface ToolExecuteAfterEvent {
133
133
  }
134
134
  export interface RegisterOptions {
135
135
  readonly group?: string;
136
- readonly deferred?: boolean;
136
+ /** Defaults to true. False exposes the tool directly to the provider. */
137
+ readonly codemode?: boolean;
137
138
  }
138
139
  export interface ToolDraft {
139
140
  add(name: string, tool: AnyTool, options?: RegisterOptions): void;
@@ -55,7 +55,8 @@ export interface ToolExecuteAfterEvent {
55
55
  }
56
56
  export interface RegisterOptions {
57
57
  readonly group?: string;
58
- readonly deferred?: boolean;
58
+ /** Defaults to true. False exposes the tool directly to the provider. */
59
+ readonly codemode?: boolean;
59
60
  }
60
61
  export interface ToolDraft {
61
62
  add<Input extends SchemaType<any>, Output extends SchemaType<any>, Structured extends SchemaType<any> = Output>(tool: Definition<Input, Output, Structured>): void;
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-15391",
4
+ "version": "0.0.0-next-15392",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -48,9 +48,9 @@
48
48
  ],
49
49
  "dependencies": {
50
50
  "@ai-sdk/provider": "3.0.8",
51
- "@opencode-ai/client": "0.0.0-next-15391",
52
- "@opencode-ai/schema": "0.0.0-next-15391",
53
- "@opencode-ai/sdk": "0.0.0-next-15391",
51
+ "@opencode-ai/client": "0.0.0-next-15392",
52
+ "@opencode-ai/schema": "0.0.0-next-15392",
53
+ "@opencode-ai/sdk": "0.0.0-next-15392",
54
54
  "effect": "4.0.0-beta.83",
55
55
  "zod": "4.1.8"
56
56
  },