@akonwi/kit 0.9.0 → 0.11.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 CHANGED
Binary file
package/dist/plugin.d.ts CHANGED
@@ -165,7 +165,6 @@ export type KeybindingSettings = Record<string, KeybindingValue>;
165
165
  export type Settings = {
166
166
  theme?: string;
167
167
  keybindings?: KeybindingSettings;
168
- zen?: boolean;
169
168
  speech?:
170
169
  | boolean
171
170
  | {
@@ -174,7 +173,6 @@ export type Settings = {
174
173
  voice?: string;
175
174
  };
176
175
  pager?: boolean;
177
- guidedQuestions?: boolean;
178
176
  sessionNaming?: boolean;
179
177
  diffs?: {
180
178
  view?: "unified" | "split";
@@ -276,6 +274,12 @@ export interface PluginAPI {
276
274
  registerTool: <TParameters extends TSchema, TDetails>(
277
275
  tool: ToolDefinition<TParameters, TDetails>,
278
276
  ) => Disposer;
277
+ registerSubagent: (def: {
278
+ name: string;
279
+ description: string;
280
+ model?: string;
281
+ instructions: string;
282
+ }) => Disposer;
279
283
  onToolCall: (handler: ToolCallHandler) => Disposer;
280
284
  addSystemPrompt: (text: string) => Disposer;
281
285
  addDebugSection: (key: string, lines: string[]) => Disposer;
package/dist/themes.d.ts CHANGED
@@ -35,6 +35,7 @@ export type ThemeTokens = {
35
35
  reviewText: string;
36
36
  errorText: string;
37
37
  warningText: string;
38
+ subagentText: string;
38
39
  debugLabel: string;
39
40
 
40
41
  // Secondary
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akonwi/kit",
3
- "version": "0.9.0",
3
+ "version": "0.11.0",
4
4
  "author": "Akonwi Ngoh <akonwi@gmail.com>",
5
5
  "description": "A TUI coding agent",
6
6
  "license": "MIT",
@@ -57,6 +57,7 @@
57
57
  "@opentui/keymap": "0.2.15",
58
58
  "@opentui/solid": "0.2.15",
59
59
  "@pierre/diffs": "^1.1.16",
60
+ "diff": "^9.0.0",
60
61
  "glob": "^13.0.6",
61
62
  "ignore": "^7.0.5",
62
63
  "solid-js": "1.9.12",
@@ -66,6 +67,7 @@
66
67
  },
67
68
  "devDependencies": {
68
69
  "@types/bun": "latest",
70
+ "@types/diff": "^8.0.0",
69
71
  "typescript": "^5.9.0"
70
72
  },
71
73
  "engines": {