@aiderdesk/extensions 0.8.1 → 0.9.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/README.md CHANGED
@@ -71,6 +71,7 @@ For comprehensive documentation on creating and using extensions, see the [Exten
71
71
  | **[sound-notification.ts](./extensions/sound-notification.ts)** | Plays a "Jobs Done" sound when a prompt finishes | `notifications` |
72
72
  | **[theme.ts](./extensions/theme.ts)** | Adds `/theme` command to switch AiderDesk themes | `commands` |
73
73
  | **[tree-sitter-repo-map/](./extensions/tree-sitter-repo-map/)** | Enhanced repository map using tree-sitter parsing with PageRank-based symbol ranking | `context`, `commands` |
74
+ | **[tps-counter/](./extensions/tps-counter/)** | Displays tokens per second for agent responses with UI components in usage info and message bar | `metrics`, `ui` |
74
75
  | **[ultrathink.ts](./extensions/ultrathink.ts)** | Detects prompts like "ultrathink" / "think hard" and increases OpenAI/OpenAI-compatible reasoning effort (`xhigh` for `-max` models, otherwise `high`) | `optimization` |
75
76
  | **[wakatime.ts](./extensions/wakatime.ts)** | Tracks coding activity by sending heartbeats to WakaTime via wakatime-cli | `tracking` |
76
77
  | **[ui-placement-demo.ts](./extensions/ui-placement-demo.ts)** | Demonstrates all available UI component placement locations for extension development | `ui`, `example` |
package/dist/index.d.ts CHANGED
@@ -563,6 +563,9 @@ export interface TaskSettings {
563
563
  worktreeSymlinkFolders: string[];
564
564
  contextCompactingThreshold: number;
565
565
  contextCompactionType: ContextCompactionType;
566
+ taskNameModel?: string | null;
567
+ taskStateModel?: string | null;
568
+ commitMessageModel?: string | null;
566
569
  }
567
570
  export interface MemoryConfig {
568
571
  enabled: boolean;
@@ -767,6 +770,8 @@ export interface ExtensionMetadata {
767
770
  author?: string;
768
771
  /** Optional list of extension capabilities (e.g., ["tools", "ui-elements"]) */
769
772
  capabilities?: string[];
773
+ /** Optional URL to an icon image for the extension */
774
+ iconUrl?: string;
770
775
  }
771
776
  /**
772
777
  * Result returned by tool execution
@@ -822,7 +827,7 @@ export interface ToolDefinition<TSchema extends z.ZodType = z.ZodType<Record<str
822
827
  execute: (input: z.infer<TSchema>, signal: AbortSignal | undefined, context: ExtensionContext, allTools: Record<string, Tool>) => Promise<unknown>;
823
828
  }
824
829
  /** Placement locations for extension UI components */
825
- export type UIComponentPlacement = "task-status-bar-left" | "task-status-bar-right" | "task-usage-info-bottom" | "task-messages-top" | "task-messages-bottom" | "header-left" | "header-right" | "task-input-above" | "task-input-toolbar-left" | "task-input-toolbar-right" | "tasks-sidebar-header" | "tasks-sidebar-bottom" | "task-message-above" | "task-message-below" | "task-message-bar" | "task-top-bar-left" | "task-top-bar-right" | "task-state-actions";
830
+ export type UIComponentPlacement = "task-status-bar-left" | "task-status-bar-right" | "task-usage-info-bottom" | "task-messages-top" | "task-messages-bottom" | "header-left" | "header-right" | "task-input-above" | "task-input-toolbar-left" | "task-input-toolbar-right" | "tasks-sidebar-header" | "tasks-sidebar-bottom" | "task-message-above" | "task-message-below" | "task-message-bar" | "task-top-bar-left" | "task-top-bar-right" | "task-state-actions" | "task-state-actions-all" | "welcome-page";
826
831
  /**
827
832
  * Definition of a React UI component that can be registered by an extension.
828
833
  * The component is defined as a JSX string and rendered using string-to-react-component.
@@ -857,6 +862,8 @@ export interface UIComponentDefinition {
857
862
  jsx: string;
858
863
  /** Optional flag to indicate if the component should load data from the extension to be passed as a prop (default: false) */
859
864
  loadData?: boolean;
865
+ /** Optional flag to disable data caching - when true, data is always fetched fresh on render (default: false) */
866
+ noDataCache?: boolean;
860
867
  }
861
868
  /**
862
869
  * Marker type for UI components provided by AiderDesk
@@ -879,6 +886,9 @@ export interface UIComponents {
879
886
  DatePicker: UIComponent;
880
887
  Chip: UIComponent;
881
888
  ModelSelector: UIComponent;
889
+ Tooltip: UIComponent;
890
+ LoadingOverlay: UIComponent;
891
+ ConfirmDialog: UIComponent;
882
892
  }
883
893
  export interface UIComponentProps {
884
894
  projectDir?: string;
@@ -887,6 +897,7 @@ export interface UIComponentProps {
887
897
  models: Model[];
888
898
  providers: ProviderProfile[];
889
899
  ui: UIComponents;
900
+ icons: Record<string, unknown>;
890
901
  }
891
902
  /**
892
903
  * Definition of a command that can be registered by an extension
@@ -999,6 +1010,14 @@ export interface AgentFinishedEvent {
999
1010
  readonly contextMessages: ContextMessage[];
1000
1011
  resultMessages: ContextMessage[];
1001
1012
  }
1013
+ /** Event payload for agent step started events */
1014
+ export interface AgentStepStartedEvent {
1015
+ readonly mode: Mode;
1016
+ readonly agentProfile: AgentProfile;
1017
+ readonly currentResponseId: string;
1018
+ readonly iterationCount: number;
1019
+ messages: ContextMessage[];
1020
+ }
1002
1021
  /** Event payload for agent step finished events */
1003
1022
  export interface AgentStepFinishedEvent {
1004
1023
  readonly mode: Mode;
@@ -1159,11 +1178,12 @@ export interface TaskContext {
1159
1178
  clearAllTodos(): Promise<TodoItem[]>;
1160
1179
  setTodos(items: TodoItem[], initialUserPrompt?: string): Promise<void>;
1161
1180
  runPrompt(prompt: string, mode?: string): Promise<void>;
1181
+ runPromptInAgent(profile: AgentProfile, mode: string, prompt: string | null, promptContext?: PromptContext, contextMessages?: ContextMessage[], contextFiles?: ContextFile[], systemPrompt?: string, waitForCurrentAgentToFinish?: boolean, sendNotification?: boolean): Promise<ResponseCompletedData[]>;
1162
1182
  runCustomCommand(name: string, args?: string[], mode?: string): Promise<void>;
1163
1183
  runSubagent(agentProfile: AgentProfile, prompt: string): Promise<void>;
1164
1184
  runCommand(command: string): Promise<void>;
1165
1185
  interruptResponse(): Promise<void>;
1166
- generateText(agentProfile: AgentProfile, systemPrompt: string, prompt: string): Promise<string | undefined>;
1186
+ generateText(modelId: string, systemPrompt: string, prompt: string): Promise<string | undefined>;
1167
1187
  askQuestion(text: string, options?: QuestionOptions): Promise<string>;
1168
1188
  addLogMessage(level: "info" | "error" | "warning", message?: string): void;
1169
1189
  addLoadingMessage(message?: string, finished?: boolean): void;
@@ -1271,6 +1291,12 @@ export interface ExtensionContext {
1271
1291
  * @returns Promise that resolves when URL is opened
1272
1292
  */
1273
1293
  openUrl(url: string, target?: "external" | "window" | "modal-overlay"): Promise<void>;
1294
+ /**
1295
+ * Open a file or directory in the system's default application or file manager
1296
+ * @param path - Absolute path to the file or directory to open
1297
+ * @returns Promise that resolves to true if successful, false otherwise
1298
+ */
1299
+ openPath(path: string): Promise<boolean>;
1274
1300
  }
1275
1301
  /**
1276
1302
  * Main extension interface that all extensions must implement
@@ -1432,6 +1458,12 @@ export interface Extension {
1432
1458
  * @returns void or partial event to modify result messages
1433
1459
  */
1434
1460
  onAgentFinished?(event: AgentFinishedEvent, context: ExtensionContext): Promise<void | Partial<AgentFinishedEvent>>;
1461
+ /**
1462
+ * Called before each agent step starts
1463
+ * Modify event.messages to change the messages that will be sent to the LLM
1464
+ * @returns void or partial event to modify messages
1465
+ */
1466
+ onAgentStepStarted?(event: AgentStepStartedEvent, context: ExtensionContext): Promise<void | Partial<AgentStepStartedEvent>>;
1435
1467
  /**
1436
1468
  * Called after each agent step completes
1437
1469
  * @returns void or partial event
@@ -1457,7 +1489,6 @@ export interface Extension {
1457
1489
  onToolApproval?(event: ToolApprovalEvent, context: ExtensionContext): Promise<void | Partial<ToolApprovalEvent>>;
1458
1490
  /**
1459
1491
  * Called when a tool is about to be executed
1460
- * Set event.blocked = true to prevent execution
1461
1492
  * @returns void or partial event to modify tool call
1462
1493
  */
1463
1494
  onToolCalled?(event: ToolCalledEvent, context: ExtensionContext): Promise<void | Partial<ToolCalledEvent>>;
package/extensions.d.ts CHANGED
@@ -563,6 +563,9 @@ export interface TaskSettings {
563
563
  worktreeSymlinkFolders: string[];
564
564
  contextCompactingThreshold: number;
565
565
  contextCompactionType: ContextCompactionType;
566
+ taskNameModel?: string | null;
567
+ taskStateModel?: string | null;
568
+ commitMessageModel?: string | null;
566
569
  }
567
570
  export interface MemoryConfig {
568
571
  enabled: boolean;
@@ -767,6 +770,8 @@ export interface ExtensionMetadata {
767
770
  author?: string;
768
771
  /** Optional list of extension capabilities (e.g., ["tools", "ui-elements"]) */
769
772
  capabilities?: string[];
773
+ /** Optional URL to an icon image for the extension */
774
+ iconUrl?: string;
770
775
  }
771
776
  /**
772
777
  * Result returned by tool execution
@@ -822,7 +827,7 @@ export interface ToolDefinition<TSchema extends z.ZodType = z.ZodType<Record<str
822
827
  execute: (input: z.infer<TSchema>, signal: AbortSignal | undefined, context: ExtensionContext, allTools: Record<string, Tool>) => Promise<unknown>;
823
828
  }
824
829
  /** Placement locations for extension UI components */
825
- export type UIComponentPlacement = "task-status-bar-left" | "task-status-bar-right" | "task-usage-info-bottom" | "task-messages-top" | "task-messages-bottom" | "header-left" | "header-right" | "task-input-above" | "task-input-toolbar-left" | "task-input-toolbar-right" | "tasks-sidebar-header" | "tasks-sidebar-bottom" | "task-message-above" | "task-message-below" | "task-message-bar" | "task-top-bar-left" | "task-top-bar-right" | "task-state-actions";
830
+ export type UIComponentPlacement = "task-status-bar-left" | "task-status-bar-right" | "task-usage-info-bottom" | "task-messages-top" | "task-messages-bottom" | "header-left" | "header-right" | "task-input-above" | "task-input-toolbar-left" | "task-input-toolbar-right" | "tasks-sidebar-header" | "tasks-sidebar-bottom" | "task-message-above" | "task-message-below" | "task-message-bar" | "task-top-bar-left" | "task-top-bar-right" | "task-state-actions" | "task-state-actions-all" | "welcome-page";
826
831
  /**
827
832
  * Definition of a React UI component that can be registered by an extension.
828
833
  * The component is defined as a JSX string and rendered using string-to-react-component.
@@ -857,6 +862,8 @@ export interface UIComponentDefinition {
857
862
  jsx: string;
858
863
  /** Optional flag to indicate if the component should load data from the extension to be passed as a prop (default: false) */
859
864
  loadData?: boolean;
865
+ /** Optional flag to disable data caching - when true, data is always fetched fresh on render (default: false) */
866
+ noDataCache?: boolean;
860
867
  }
861
868
  /**
862
869
  * Marker type for UI components provided by AiderDesk
@@ -879,6 +886,9 @@ export interface UIComponents {
879
886
  DatePicker: UIComponent;
880
887
  Chip: UIComponent;
881
888
  ModelSelector: UIComponent;
889
+ Tooltip: UIComponent;
890
+ LoadingOverlay: UIComponent;
891
+ ConfirmDialog: UIComponent;
882
892
  }
883
893
  export interface UIComponentProps {
884
894
  projectDir?: string;
@@ -887,6 +897,7 @@ export interface UIComponentProps {
887
897
  models: Model[];
888
898
  providers: ProviderProfile[];
889
899
  ui: UIComponents;
900
+ icons: Record<string, unknown>;
890
901
  }
891
902
  /**
892
903
  * Definition of a command that can be registered by an extension
@@ -999,6 +1010,14 @@ export interface AgentFinishedEvent {
999
1010
  readonly contextMessages: ContextMessage[];
1000
1011
  resultMessages: ContextMessage[];
1001
1012
  }
1013
+ /** Event payload for agent step started events */
1014
+ export interface AgentStepStartedEvent {
1015
+ readonly mode: Mode;
1016
+ readonly agentProfile: AgentProfile;
1017
+ readonly currentResponseId: string;
1018
+ readonly iterationCount: number;
1019
+ messages: ContextMessage[];
1020
+ }
1002
1021
  /** Event payload for agent step finished events */
1003
1022
  export interface AgentStepFinishedEvent {
1004
1023
  readonly mode: Mode;
@@ -1159,11 +1178,12 @@ export interface TaskContext {
1159
1178
  clearAllTodos(): Promise<TodoItem[]>;
1160
1179
  setTodos(items: TodoItem[], initialUserPrompt?: string): Promise<void>;
1161
1180
  runPrompt(prompt: string, mode?: string): Promise<void>;
1181
+ runPromptInAgent(profile: AgentProfile, mode: string, prompt: string | null, promptContext?: PromptContext, contextMessages?: ContextMessage[], contextFiles?: ContextFile[], systemPrompt?: string, waitForCurrentAgentToFinish?: boolean, sendNotification?: boolean): Promise<ResponseCompletedData[]>;
1162
1182
  runCustomCommand(name: string, args?: string[], mode?: string): Promise<void>;
1163
1183
  runSubagent(agentProfile: AgentProfile, prompt: string): Promise<void>;
1164
1184
  runCommand(command: string): Promise<void>;
1165
1185
  interruptResponse(): Promise<void>;
1166
- generateText(agentProfile: AgentProfile, systemPrompt: string, prompt: string): Promise<string | undefined>;
1186
+ generateText(modelId: string, systemPrompt: string, prompt: string): Promise<string | undefined>;
1167
1187
  askQuestion(text: string, options?: QuestionOptions): Promise<string>;
1168
1188
  addLogMessage(level: "info" | "error" | "warning", message?: string): void;
1169
1189
  addLoadingMessage(message?: string, finished?: boolean): void;
@@ -1271,6 +1291,12 @@ export interface ExtensionContext {
1271
1291
  * @returns Promise that resolves when URL is opened
1272
1292
  */
1273
1293
  openUrl(url: string, target?: "external" | "window" | "modal-overlay"): Promise<void>;
1294
+ /**
1295
+ * Open a file or directory in the system's default application or file manager
1296
+ * @param path - Absolute path to the file or directory to open
1297
+ * @returns Promise that resolves to true if successful, false otherwise
1298
+ */
1299
+ openPath(path: string): Promise<boolean>;
1274
1300
  }
1275
1301
  /**
1276
1302
  * Main extension interface that all extensions must implement
@@ -1432,6 +1458,12 @@ export interface Extension {
1432
1458
  * @returns void or partial event to modify result messages
1433
1459
  */
1434
1460
  onAgentFinished?(event: AgentFinishedEvent, context: ExtensionContext): Promise<void | Partial<AgentFinishedEvent>>;
1461
+ /**
1462
+ * Called before each agent step starts
1463
+ * Modify event.messages to change the messages that will be sent to the LLM
1464
+ * @returns void or partial event to modify messages
1465
+ */
1466
+ onAgentStepStarted?(event: AgentStepStartedEvent, context: ExtensionContext): Promise<void | Partial<AgentStepStartedEvent>>;
1435
1467
  /**
1436
1468
  * Called after each agent step completes
1437
1469
  * @returns void or partial event
@@ -1457,7 +1489,6 @@ export interface Extension {
1457
1489
  onToolApproval?(event: ToolApprovalEvent, context: ExtensionContext): Promise<void | Partial<ToolApprovalEvent>>;
1458
1490
  /**
1459
1491
  * Called when a tool is about to be executed
1460
- * Set event.blocked = true to prevent execution
1461
1492
  * @returns void or partial event to modify tool call
1462
1493
  */
1463
1494
  onToolCalled?(event: ToolCalledEvent, context: ExtensionContext): Promise<void | Partial<ToolCalledEvent>>;
package/extensions.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "description": "Tracks coding activity by sending heartbeats to WakaTime via wakatime-cli",
7
7
  "file": "wakatime.ts",
8
8
  "type": "single",
9
- "capabilities": ["onLoad", "onPromptStarted", "onPromptFinished", "onToolFinished", "onFilesAdded"]
9
+ "capabilities": ["tracking"]
10
10
  },
11
11
  {
12
12
  "id": "pirate",
@@ -14,7 +14,7 @@
14
14
  "description": "Adds a Pirate agent that speaks like a swashbuckling sea dog",
15
15
  "file": "pirate.ts",
16
16
  "type": "single",
17
- "capabilities": ["onLoad", "getAgents", "onAgentProfileUpdated"]
17
+ "capabilities": ["agents", "example"]
18
18
  },
19
19
  {
20
20
  "id": "generate-tests",
@@ -22,7 +22,16 @@
22
22
  "description": "Adds /generate-tests command to generate unit tests for files",
23
23
  "file": "generate-tests.ts",
24
24
  "type": "single",
25
- "capabilities": ["onLoad", "getCommands"]
25
+ "capabilities": ["commands"]
26
+ },
27
+ {
28
+ "id": "questions",
29
+ "name": "Questions",
30
+ "description": "Extract questions from messages and display as interactive questionnaire",
31
+ "folder": "questions",
32
+ "type": "folder",
33
+ "hasDependencies": false,
34
+ "capabilities": ["commands", "ui"]
26
35
  },
27
36
  {
28
37
  "id": "theme",
@@ -30,7 +39,7 @@
30
39
  "description": "Adds /theme command to switch AiderDesk themes",
31
40
  "file": "theme.ts",
32
41
  "type": "single",
33
- "capabilities": ["onLoad", "getCommands"]
42
+ "capabilities": ["commands"]
34
43
  },
35
44
  {
36
45
  "id": "plan-mode",
@@ -38,7 +47,7 @@
38
47
  "description": "Adds a Plan mode that enforces planning before coding",
39
48
  "file": "plan-mode.ts",
40
49
  "type": "single",
41
- "capabilities": ["onLoad", "getModes", "onAgentStarted"]
50
+ "capabilities": ["modes"]
42
51
  },
43
52
  {
44
53
  "id": "protected-paths",
@@ -46,7 +55,7 @@
46
55
  "description": "Blocks file operations on protected paths (.env, .git/, node_modules/)",
47
56
  "file": "protected-paths.ts",
48
57
  "type": "single",
49
- "capabilities": ["onLoad", "onToolCalled"]
58
+ "capabilities": ["security"]
50
59
  },
51
60
  {
52
61
  "id": "permission-gate",
@@ -54,7 +63,7 @@
54
63
  "description": "Prompts for confirmation before running dangerous bash commands",
55
64
  "file": "permission-gate.ts",
56
65
  "type": "single",
57
- "capabilities": ["onLoad", "onToolCalled"]
66
+ "capabilities": ["security"]
58
67
  },
59
68
  {
60
69
  "id": "ultrathink",
@@ -62,7 +71,7 @@
62
71
  "description": "Detects 'ultrathink' / 'think hard' and increases reasoning effort",
63
72
  "file": "ultrathink.ts",
64
73
  "type": "single",
65
- "capabilities": ["onLoad", "onAgentStarted"]
74
+ "capabilities": ["optimization"]
66
75
  },
67
76
  {
68
77
  "id": "external-rules",
@@ -70,7 +79,7 @@
70
79
  "description": "Includes rule files from Cursor, Claude Code, and Roo Code",
71
80
  "file": "external-rules.ts",
72
81
  "type": "single",
73
- "capabilities": ["onLoad", "onRuleFilesRetrieved"]
82
+ "capabilities": ["context"]
74
83
  },
75
84
  {
76
85
  "id": "sound-notification",
@@ -78,7 +87,7 @@
78
87
  "description": "Plays a 'Jobs Done' sound when a prompt finishes",
79
88
  "file": "sound-notification.ts",
80
89
  "type": "single",
81
- "capabilities": ["onLoad", "onPromptFinished"]
90
+ "capabilities": ["notifications"]
82
91
  },
83
92
  {
84
93
  "id": "sandbox",
@@ -87,7 +96,7 @@
87
96
  "folder": "sandbox",
88
97
  "type": "folder",
89
98
  "hasDependencies": true,
90
- "capabilities": ["onLoad", "onUnload", "onTaskInitialized", "onTaskClosed", "onToolCalled"]
99
+ "capabilities": ["security"]
91
100
  },
92
101
  {
93
102
  "id": "rtk",
@@ -96,7 +105,7 @@
96
105
  "folder": "rtk",
97
106
  "type": "folder",
98
107
  "hasDependencies": false,
99
- "capabilities": ["onLoad", "getCommands", "onToolCalled"]
108
+ "capabilities": ["optimization", "commands"]
100
109
  },
101
110
  {
102
111
  "id": "redact-secrets",
@@ -105,7 +114,7 @@
105
114
  "folder": "redact-secrets",
106
115
  "type": "folder",
107
116
  "hasDependencies": true,
108
- "capabilities": ["onLoad", "onProjectOpen", "onToolFinished"]
117
+ "capabilities": ["security"]
109
118
  },
110
119
  {
111
120
  "id": "chunkhound-search",
@@ -114,7 +123,7 @@
114
123
  "folder": "chunkhound-search",
115
124
  "type": "folder",
116
125
  "hasDependencies": false,
117
- "capabilities": ["onLoad", "onUnload", "onProjectOpen", "onToolFinished", "getTools"]
126
+ "capabilities": ["search"]
118
127
  },
119
128
  {
120
129
  "id": "chunkhound-on-semantic-search-tool",
@@ -123,7 +132,7 @@
123
132
  "folder": "chunkhound-on-semantic-search-tool",
124
133
  "type": "folder",
125
134
  "hasDependencies": false,
126
- "capabilities": ["onLoad", "onUnload", "onProjectOpen", "onToolCalled", "onToolFinished"]
135
+ "capabilities": ["search"]
127
136
  },
128
137
  {
129
138
  "id": "tree-sitter-repo-map",
@@ -132,7 +141,7 @@
132
141
  "folder": "tree-sitter-repo-map",
133
142
  "type": "folder",
134
143
  "hasDependencies": true,
135
- "capabilities": ["onLoad", "onAgentStarted", "getCommands"]
144
+ "capabilities": ["context", "commands"]
136
145
  },
137
146
  {
138
147
  "id": "context-autocompletion-words",
@@ -141,7 +150,7 @@
141
150
  "folder": "context-autocompletion-words",
142
151
  "type": "folder",
143
152
  "hasDependencies": true,
144
- "capabilities": ["onLoad", "onFilesAdded", "onFilesDropped"]
153
+ "capabilities": ["context"]
145
154
  },
146
155
  {
147
156
  "id": "lsp",
@@ -150,7 +159,7 @@
150
159
  "folder": "lsp",
151
160
  "type": "folder",
152
161
  "hasDependencies": true,
153
- "capabilities": ["onLoad", "onUnload", "onProjectStarted", "onProjectStopped", "getTools", "onToolFinished"]
162
+ "capabilities": ["tools", "code-intelligence"]
154
163
  },
155
164
  {
156
165
  "id": "plannotator",
@@ -159,7 +168,7 @@
159
168
  "folder": "plannotator",
160
169
  "type": "folder",
161
170
  "hasDependencies": true,
162
- "capabilities": ["onLoad", "onAgentStarted", "onToolCalled", "onToolApproval"]
171
+ "capabilities": ["modes", "tools", "commands", "workflows"]
163
172
  },
164
173
  {
165
174
  "id": "programmatic-tool-calls",
@@ -168,7 +177,7 @@
168
177
  "folder": "programmatic-tool-calls",
169
178
  "type": "folder",
170
179
  "hasDependencies": true,
171
- "capabilities": ["getTools"]
180
+ "capabilities": ["tools"]
172
181
  },
173
182
  {
174
183
  "id": "ui-placement-demo",
@@ -176,7 +185,7 @@
176
185
  "description": "Demonstrates all available UI component placement locations in AiderDesk",
177
186
  "file": "ui-placement-demo.ts",
178
187
  "type": "single",
179
- "capabilities": ["onLoad", "ui-components"]
188
+ "capabilities": ["ui", "example"]
180
189
  },
181
190
  {
182
191
  "id": "multi-model-run",
@@ -185,7 +194,7 @@
185
194
  "folder": "multi-model-run",
186
195
  "type": "folder",
187
196
  "hasDependencies": false,
188
- "capabilities": ["onLoad", "onPromptStarted", "ui-components"]
197
+ "capabilities": ["ui", "workflows"]
189
198
  },
190
199
  {
191
200
  "id": "providers-quota-extension",
@@ -194,7 +203,25 @@
194
203
  "folder": "providers-quota-extension",
195
204
  "type": "folder",
196
205
  "hasDependencies": true,
197
- "capabilities": ["onLoad", "onPromptFinished", "ui-components"]
206
+ "capabilities": ["ui"]
207
+ },
208
+ {
209
+ "id": "tps-counter",
210
+ "name": "TPS Counter",
211
+ "description": "Displays tokens per second for agent responses with UI components in usage info and message bar",
212
+ "folder": "tps-counter",
213
+ "type": "folder",
214
+ "hasDependencies": false,
215
+ "capabilities": ["metrics"]
216
+ },
217
+ {
218
+ "id": "bmad",
219
+ "name": "BMAD Method",
220
+ "description": "Provides BMAD mode with structured workflows for planning, designing, and implementing software projects",
221
+ "folder": "bmad",
222
+ "type": "folder",
223
+ "hasDependencies": true,
224
+ "capabilities": ["modes", "ui"]
198
225
  }
199
226
  ]
200
227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiderdesk/extensions",
3
- "version": "0.8.1",
3
+ "version": "0.9.0",
4
4
  "description": "Type definitions and examples for AiderDesk extensions",
5
5
  "author": "Hotovo",
6
6
  "homepage": "https://aiderdesk.hotovo.com",