@opencode-ai/plugin 1.15.5 → 1.15.7
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/tui.d.ts +6 -5
- package/package.json +9 -9
package/dist/tui.d.ts
CHANGED
|
@@ -33,6 +33,10 @@ export type TuiKeys = {
|
|
|
33
33
|
formatBindings: (bindings: readonly SequenceBindingLike[] | undefined) => string | undefined;
|
|
34
34
|
};
|
|
35
35
|
export type TuiKeymap = Keymap<Renderable, KeyEvent>;
|
|
36
|
+
export type TuiModeApi = {
|
|
37
|
+
current: () => string;
|
|
38
|
+
push: (mode: string) => () => void;
|
|
39
|
+
};
|
|
36
40
|
/**
|
|
37
41
|
* Legacy `api.command` shape kept so v1 plugins can initialize. Remove in v2.
|
|
38
42
|
*
|
|
@@ -145,7 +149,6 @@ export type TuiPromptRef = {
|
|
|
145
149
|
};
|
|
146
150
|
export type TuiPromptProps = {
|
|
147
151
|
sessionID?: string;
|
|
148
|
-
workspaceID?: string;
|
|
149
152
|
visible?: boolean;
|
|
150
153
|
disabled?: boolean;
|
|
151
154
|
onSubmit?: () => void;
|
|
@@ -353,12 +356,9 @@ export type TuiHostSlotMap = {
|
|
|
353
356
|
app_bottom: {};
|
|
354
357
|
home_logo: {};
|
|
355
358
|
home_prompt: {
|
|
356
|
-
workspace_id?: string;
|
|
357
359
|
ref?: (ref: TuiPromptRef | undefined) => void;
|
|
358
360
|
};
|
|
359
|
-
home_prompt_right: {
|
|
360
|
-
workspace_id?: string;
|
|
361
|
-
};
|
|
361
|
+
home_prompt_right: {};
|
|
362
362
|
session_prompt: {
|
|
363
363
|
session_id: string;
|
|
364
364
|
visible?: boolean;
|
|
@@ -467,6 +467,7 @@ export type TuiPluginApi = {
|
|
|
467
467
|
command?: TuiCommandApi;
|
|
468
468
|
keys: TuiKeys;
|
|
469
469
|
keymap: TuiKeymap;
|
|
470
|
+
mode: TuiModeApi;
|
|
470
471
|
route: {
|
|
471
472
|
register: (routes: TuiRouteDefinition[]) => () => void;
|
|
472
473
|
navigate: (name: string, params?: Record<string, unknown>) => 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": "1.15.
|
|
4
|
+
"version": "1.15.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@opencode-ai/sdk": "1.15.
|
|
30
|
-
"effect": "4.0.0-beta.
|
|
29
|
+
"@opencode-ai/sdk": "1.15.7",
|
|
30
|
+
"effect": "4.0.0-beta.66",
|
|
31
31
|
"zod": "4.1.8"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@opentui/core": ">=0.2.
|
|
35
|
-
"@opentui/keymap": ">=0.2.
|
|
36
|
-
"@opentui/solid": ">=0.2.
|
|
34
|
+
"@opentui/core": ">=0.2.15",
|
|
35
|
+
"@opentui/keymap": ">=0.2.15",
|
|
36
|
+
"@opentui/solid": ">=0.2.15"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"@opentui/core": {
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@opentui/core": "0.2.
|
|
51
|
-
"@opentui/keymap": "0.2.
|
|
52
|
-
"@opentui/solid": "0.2.
|
|
50
|
+
"@opentui/core": "0.2.15",
|
|
51
|
+
"@opentui/keymap": "0.2.15",
|
|
52
|
+
"@opentui/solid": "0.2.15",
|
|
53
53
|
"@tsconfig/node22": "22.0.2",
|
|
54
54
|
"@types/node": "24.12.2",
|
|
55
55
|
"typescript": "5.8.2",
|