@akonwi/kit 0.8.0 → 0.10.0
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/kit +0 -0
- package/dist/plugin.d.ts +6 -2
- package/docs/features/plugins.md +1 -1
- package/package.json +1 -1
package/dist/kit
CHANGED
|
Binary file
|
package/dist/plugin.d.ts
CHANGED
|
@@ -164,7 +164,6 @@ export type KeybindingSettings = Record<string, KeybindingValue>;
|
|
|
164
164
|
|
|
165
165
|
export type Settings = {
|
|
166
166
|
theme?: string;
|
|
167
|
-
bells?: boolean;
|
|
168
167
|
keybindings?: KeybindingSettings;
|
|
169
168
|
zen?: boolean;
|
|
170
169
|
speech?:
|
|
@@ -175,7 +174,6 @@ export type Settings = {
|
|
|
175
174
|
voice?: string;
|
|
176
175
|
};
|
|
177
176
|
pager?: boolean;
|
|
178
|
-
guidedQuestions?: boolean;
|
|
179
177
|
sessionNaming?: boolean;
|
|
180
178
|
diffs?: {
|
|
181
179
|
view?: "unified" | "split";
|
|
@@ -277,6 +275,12 @@ export interface PluginAPI {
|
|
|
277
275
|
registerTool: <TParameters extends TSchema, TDetails>(
|
|
278
276
|
tool: ToolDefinition<TParameters, TDetails>,
|
|
279
277
|
) => Disposer;
|
|
278
|
+
registerSubagent: (def: {
|
|
279
|
+
name: string;
|
|
280
|
+
description: string;
|
|
281
|
+
model?: string;
|
|
282
|
+
instructions: string;
|
|
283
|
+
}) => Disposer;
|
|
280
284
|
onToolCall: (handler: ToolCallHandler) => Disposer;
|
|
281
285
|
addSystemPrompt: (text: string) => Disposer;
|
|
282
286
|
addDebugSection: (key: string, lines: string[]) => Disposer;
|
package/docs/features/plugins.md
CHANGED
|
@@ -179,7 +179,7 @@ Header/footer item IDs passed to `set`/`clear` are scoped to the plugin and are
|
|
|
179
179
|
|
|
180
180
|
Use `kit.ui.text(text, style)` to style part or all of a contribution. Supported style fields are `fg`, `bg`, `bold`, `dim`, `italic`, `underline`, and `strikethrough`. Use `kit.ui.theme()` when setting or updating contributions to read the current resolved theme config (`name`, `tokens`, and `syntaxPalette`) and blend with Kit's colors. `onClick` is a whole-contribution action; Kit maps it to terminal mouse events and does not expose raw mouse events to plugins.
|
|
181
181
|
|
|
182
|
-
Built-in header item IDs are `HeaderBar:title`, `HeaderBar:model`,
|
|
182
|
+
Built-in header item IDs are `HeaderBar:title`, `HeaderBar:model`, and `HeaderBar:speech`.
|
|
183
183
|
|
|
184
184
|
Built-in internal plugins may use additional app-owned capabilities that are not part of the public plugin SDK. For example, built-ins can read VCS state while the public SDK only exposes chrome contribution rendering.
|
|
185
185
|
|