@opencode-ai/plugin 0.0.0-next-15697 → 0.0.0-next-15701
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/v2/tui/context.d.ts +3 -3
- package/package.json +5 -5
package/dist/v2/tui/context.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AgentInfo, CommandInfo, FormInfo, IntegrationInfo, LocationRef, McpResource, McpServer, ModelInfo, OpenCodeClient, OpenCodeEvent, PermissionSavedInfo, PermissionV2Request, ProviderV2Info, ReferenceInfo, SessionInfo, SessionMessageInfo, SessionPendingInfo, ShellInfo, SkillInfo } from "@opencode-ai/client";
|
|
2
|
-
import type { Renderable } from "@opentui/core";
|
|
2
|
+
import type { KeyEvent, Renderable } from "@opentui/core";
|
|
3
3
|
import type { JSX } from "@opentui/solid";
|
|
4
4
|
interface LocationCollection<Value> {
|
|
5
5
|
list(location?: LocationRef): Value[] | undefined;
|
|
@@ -121,8 +121,8 @@ export interface KeymapCommand {
|
|
|
121
121
|
};
|
|
122
122
|
/** Promotes the command in discovery UI. */
|
|
123
123
|
readonly suggested?: boolean | (() => boolean);
|
|
124
|
-
/** Executes the command.
|
|
125
|
-
readonly run: (input?: string) => void | false | Promise<void>;
|
|
124
|
+
/** Executes the command. Keyboard dispatch includes its event; programmatic dispatch does not. Return false to continue. */
|
|
125
|
+
readonly run: (input?: string, event?: KeyEvent) => void | false | Promise<void>;
|
|
126
126
|
}
|
|
127
127
|
export interface KeymapLayer {
|
|
128
128
|
/** Limits the layer to one OpenCode input mode. Use global to opt out; defaults to base. */
|
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-
|
|
4
|
+
"version": "0.0.0-next-15701",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
],
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@ai-sdk/provider": "3.0.8",
|
|
55
|
-
"@opencode-ai/ai": "0.0.0-next-
|
|
56
|
-
"@opencode-ai/client": "0.0.0-next-
|
|
57
|
-
"@opencode-ai/schema": "0.0.0-next-
|
|
58
|
-
"@opencode-ai/sdk": "0.0.0-next-
|
|
55
|
+
"@opencode-ai/ai": "0.0.0-next-15701",
|
|
56
|
+
"@opencode-ai/client": "0.0.0-next-15701",
|
|
57
|
+
"@opencode-ai/schema": "0.0.0-next-15701",
|
|
58
|
+
"@opencode-ai/sdk": "0.0.0-next-15701",
|
|
59
59
|
"@standard-schema/spec": "^1.1.0",
|
|
60
60
|
"effect": "4.0.0-beta.83",
|
|
61
61
|
"zod": "4.1.8"
|