@opencode-ai/plugin 0.0.0-next-202606261956 → 0.0.0-next-202606270104

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.
Files changed (2) hide show
  1. package/dist/tui.d.ts +2 -2
  2. package/package.json +2 -2
package/dist/tui.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { AgentPart, OpencodeClient, Event, FilePart, LspStatus, McpStatus, Todo, Message, Part, Provider, PermissionRequest, QuestionRequest, Session, SessionStatus, TextPart, Config as SdkConfig } from "@opencode-ai/sdk/v2";
1
+ import type { AgentPart, OpencodeClient, V2Event, FilePart, LspStatus, McpStatus, Todo, Message, Part, Provider, PermissionRequest, QuestionRequest, Session, SessionStatus, TextPart, Config as SdkConfig } from "@opencode-ai/sdk/v2";
2
2
  import type { CliRenderer, KeyEvent, RGBA, Renderable, SlotMode } from "@opentui/core";
3
3
  import type { Binding, Keymap } from "@opentui/keymap";
4
4
  import { type BindingConfig, type CreateBindingLookupOptions, type KeySequenceFormatPart, type SequenceBindingLike } from "@opentui/keymap/extras";
@@ -405,7 +405,7 @@ export type TuiSlots = {
405
405
  };
406
406
  };
407
407
  export type TuiEventBus = {
408
- on: <Type extends Event["type"]>(type: Type, handler: (event: Extract<Event, {
408
+ on: <Type extends V2Event["type"]>(type: Type, handler: (event: Extract<V2Event, {
409
409
  type: Type;
410
410
  }>) => void) => () => void;
411
411
  };
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-202606261956",
4
+ "version": "0.0.0-next-202606270104",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -43,7 +43,7 @@
43
43
  ],
44
44
  "dependencies": {
45
45
  "@ai-sdk/provider": "3.0.8",
46
- "@opencode-ai/sdk": "0.0.0-next-202606261956",
46
+ "@opencode-ai/sdk": "0.0.0-next-202606270104",
47
47
  "effect": "4.0.0-beta.83",
48
48
  "zod": "4.1.8"
49
49
  },