@kilocode/plugin 7.3.45 → 7.3.48
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/tool.d.ts +1 -2
- package/dist/tui.d.ts +6 -5
- package/package.json +9 -9
package/dist/tool.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { Effect } from "effect";
|
|
3
2
|
export type ToolContext = {
|
|
4
3
|
sessionID: string;
|
|
5
4
|
messageID: string;
|
|
@@ -21,7 +20,7 @@ export type ToolContext = {
|
|
|
21
20
|
[key: string]: any;
|
|
22
21
|
};
|
|
23
22
|
}): void;
|
|
24
|
-
ask(input: AskInput):
|
|
23
|
+
ask(input: AskInput): Promise<void>;
|
|
25
24
|
};
|
|
26
25
|
type AskInput = {
|
|
27
26
|
permission: string;
|
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;
|
|
@@ -355,12 +358,9 @@ export type TuiHostSlotMap = {
|
|
|
355
358
|
app_bottom: {};
|
|
356
359
|
home_logo: {};
|
|
357
360
|
home_prompt: {
|
|
358
|
-
workspace_id?: string;
|
|
359
361
|
ref?: (ref: TuiPromptRef | undefined) => void;
|
|
360
362
|
};
|
|
361
|
-
home_prompt_right: {
|
|
362
|
-
workspace_id?: string;
|
|
363
|
-
};
|
|
363
|
+
home_prompt_right: {};
|
|
364
364
|
session_prompt: {
|
|
365
365
|
session_id: string;
|
|
366
366
|
visible?: boolean;
|
|
@@ -469,6 +469,7 @@ export type TuiPluginApi = {
|
|
|
469
469
|
command?: TuiCommandApi;
|
|
470
470
|
keys: TuiKeys;
|
|
471
471
|
keymap: TuiKeymap;
|
|
472
|
+
mode: TuiModeApi;
|
|
472
473
|
route: {
|
|
473
474
|
register: (routes: TuiRouteDefinition[]) => () => void;
|
|
474
475
|
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": "@kilocode/plugin",
|
|
4
|
-
"version": "7.3.
|
|
4
|
+
"version": "7.3.48",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@kilocode/sdk": "7.3.
|
|
30
|
-
"effect": "4.0.0-beta.
|
|
29
|
+
"@kilocode/sdk": "7.3.48",
|
|
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/solid": ">=0.2.
|
|
36
|
-
"@opentui/keymap": ">=0.2.
|
|
34
|
+
"@opentui/core": ">=0.2.15",
|
|
35
|
+
"@opentui/solid": ">=0.2.15",
|
|
36
|
+
"@opentui/keymap": ">=0.2.15"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"@opentui/core": {
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@opentui/core": "0.2.
|
|
51
|
-
"@opentui/solid": "0.2.
|
|
50
|
+
"@opentui/core": "0.2.15",
|
|
51
|
+
"@opentui/solid": "0.2.15",
|
|
52
52
|
"@tsconfig/node22": "22.0.2",
|
|
53
53
|
"@types/node": "24.12.4",
|
|
54
54
|
"typescript": "5.8.2",
|
|
55
55
|
"@typescript/native-preview": "7.0.0-dev.20260316.1",
|
|
56
|
-
"@opentui/keymap": "0.2.
|
|
56
|
+
"@opentui/keymap": "0.2.15"
|
|
57
57
|
},
|
|
58
58
|
"repository": {
|
|
59
59
|
"type": "git",
|