@opencode-ai/plugin 1.15.5 → 1.15.6
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 +5 -0
- 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
|
*
|
|
@@ -467,6 +471,7 @@ export type TuiPluginApi = {
|
|
|
467
471
|
command?: TuiCommandApi;
|
|
468
472
|
keys: TuiKeys;
|
|
469
473
|
keymap: TuiKeymap;
|
|
474
|
+
mode: TuiModeApi;
|
|
470
475
|
route: {
|
|
471
476
|
register: (routes: TuiRouteDefinition[]) => () => void;
|
|
472
477
|
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.6",
|
|
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.6",
|
|
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",
|