@opencode-ai/plugin 1.3.17 → 1.4.1

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/index.d.ts CHANGED
@@ -178,6 +178,7 @@ export interface Hooks {
178
178
  temperature: number;
179
179
  topP: number;
180
180
  topK: number;
181
+ maxOutputTokens: number | undefined;
181
182
  options: Record<string, any>;
182
183
  }) => Promise<void>;
183
184
  "chat.headers"?: (input: {
package/dist/tui.d.ts CHANGED
@@ -407,8 +407,6 @@ export type TuiPluginApi = {
407
407
  state: TuiState;
408
408
  theme: TuiTheme;
409
409
  client: OpencodeClient;
410
- scopedClient: (workspaceID?: string) => OpencodeClient;
411
- workspace: TuiWorkspace;
412
410
  event: TuiEventBus;
413
411
  renderer: CliRenderer;
414
412
  slots: TuiSlots;
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": "1.3.17",
4
+ "version": "1.4.1",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -26,12 +26,12 @@
26
26
  "dist"
27
27
  ],
28
28
  "dependencies": {
29
- "@opencode-ai/sdk": "1.3.17",
29
+ "@opencode-ai/sdk": "1.4.1",
30
30
  "zod": "4.1.8"
31
31
  },
32
32
  "peerDependencies": {
33
- "@opentui/core": ">=0.1.96",
34
- "@opentui/solid": ">=0.1.96"
33
+ "@opentui/core": ">=0.1.97",
34
+ "@opentui/solid": ">=0.1.97"
35
35
  },
36
36
  "peerDependenciesMeta": {
37
37
  "@opentui/core": {
@@ -42,8 +42,8 @@
42
42
  }
43
43
  },
44
44
  "devDependencies": {
45
- "@opentui/core": "0.1.96",
46
- "@opentui/solid": "0.1.96",
45
+ "@opentui/core": "0.1.97",
46
+ "@opentui/solid": "0.1.97",
47
47
  "@tsconfig/node22": "22.0.2",
48
48
  "@types/node": "22.13.9",
49
49
  "typescript": "5.8.2",