@opencode/plugin 0.0.0-dev-20528 → 0.0.0-dev-20530
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/context.d.ts +7 -2
- package/package.json +8 -8
package/dist/tui/context.d.ts
CHANGED
|
@@ -373,8 +373,13 @@ export interface KeymapActive {
|
|
|
373
373
|
readonly continues: boolean;
|
|
374
374
|
}
|
|
375
375
|
export interface Keymap {
|
|
376
|
-
/**
|
|
377
|
-
|
|
376
|
+
/**
|
|
377
|
+
* Creates a reactive keymap layer. It is removed when the plugin deactivates, or earlier when the component or reactive
|
|
378
|
+
* computation that created it is disposed. The factory must be pure. It runs once untracked for initial command-shape
|
|
379
|
+
* validation, then reactively. Initial command-shape errors throw synchronously. OpenTUI handles binding-parse errors.
|
|
380
|
+
* Errors from later reactive updates follow Solid's error handling.
|
|
381
|
+
*/
|
|
382
|
+
layer(factory: () => KeymapLayer): void;
|
|
378
383
|
/** Dispatches a reachable command by ID. */
|
|
379
384
|
dispatch(id: string, input?: string): void;
|
|
380
385
|
/** Returns every formatted shortcut for a registered command. */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/plugin",
|
|
4
|
-
"version": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-20530",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@ai-sdk/provider": "3.0.8",
|
|
46
|
-
"@opencode/ai": "0.0.0-dev-
|
|
47
|
-
"@opencode/client": "0.0.0-dev-
|
|
48
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
49
|
-
"@opencode/schema": "0.0.0-dev-
|
|
50
|
-
"@opencode/util": "0.0.0-dev-
|
|
46
|
+
"@opencode/ai": "0.0.0-dev-20530",
|
|
47
|
+
"@opencode/client": "0.0.0-dev-20530",
|
|
48
|
+
"@opencode/protocol": "0.0.0-dev-20530",
|
|
49
|
+
"@opencode/schema": "0.0.0-dev-20530",
|
|
50
|
+
"@opencode/util": "0.0.0-dev-20530",
|
|
51
51
|
"@standard-schema/spec": "1.1.0",
|
|
52
52
|
"effect": "4.0.0-rc.112",
|
|
53
53
|
"zod": "4.1.8"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@opencode/theme": "0.0.0-dev-
|
|
56
|
+
"@opencode/theme": "0.0.0-dev-20530",
|
|
57
57
|
"@opentui/core": ">=0.5.14",
|
|
58
58
|
"@opentui/solid": ">=0.5.14",
|
|
59
59
|
"solid-js": ">=1.9.0"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@opencode/theme": "0.0.0-dev-
|
|
76
|
+
"@opencode/theme": "0.0.0-dev-20530",
|
|
77
77
|
"@opentui/core": "0.5.14",
|
|
78
78
|
"@opentui/solid": "0.5.14",
|
|
79
79
|
"@tsconfig/bun": "1.0.9",
|