@aiderdesk/extensions 0.8.1 → 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/README.md +1 -0
- package/dist/index.d.ts +35 -3
- package/extensions.d.ts +35 -3
- package/extensions.json +50 -23
- package/package.json +7 -7
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;
|
|
@@ -618,6 +621,7 @@ export interface SettingsData {
|
|
|
618
621
|
};
|
|
619
622
|
telemetryEnabled: boolean;
|
|
620
623
|
telemetryInformed?: boolean;
|
|
624
|
+
windowTitleTemplate?: string;
|
|
621
625
|
promptBehavior: PromptBehavior;
|
|
622
626
|
server: {
|
|
623
627
|
enabled: boolean;
|
|
@@ -767,6 +771,8 @@ export interface ExtensionMetadata {
|
|
|
767
771
|
author?: string;
|
|
768
772
|
/** Optional list of extension capabilities (e.g., ["tools", "ui-elements"]) */
|
|
769
773
|
capabilities?: string[];
|
|
774
|
+
/** Optional URL to an icon image for the extension */
|
|
775
|
+
iconUrl?: string;
|
|
770
776
|
}
|
|
771
777
|
/**
|
|
772
778
|
* Result returned by tool execution
|
|
@@ -822,7 +828,7 @@ export interface ToolDefinition<TSchema extends z.ZodType = z.ZodType<Record<str
|
|
|
822
828
|
execute: (input: z.infer<TSchema>, signal: AbortSignal | undefined, context: ExtensionContext, allTools: Record<string, Tool>) => Promise<unknown>;
|
|
823
829
|
}
|
|
824
830
|
/** 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";
|
|
831
|
+
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
832
|
/**
|
|
827
833
|
* Definition of a React UI component that can be registered by an extension.
|
|
828
834
|
* The component is defined as a JSX string and rendered using string-to-react-component.
|
|
@@ -857,6 +863,8 @@ export interface UIComponentDefinition {
|
|
|
857
863
|
jsx: string;
|
|
858
864
|
/** Optional flag to indicate if the component should load data from the extension to be passed as a prop (default: false) */
|
|
859
865
|
loadData?: boolean;
|
|
866
|
+
/** Optional flag to disable data caching - when true, data is always fetched fresh on render (default: false) */
|
|
867
|
+
noDataCache?: boolean;
|
|
860
868
|
}
|
|
861
869
|
/**
|
|
862
870
|
* Marker type for UI components provided by AiderDesk
|
|
@@ -879,6 +887,9 @@ export interface UIComponents {
|
|
|
879
887
|
DatePicker: UIComponent;
|
|
880
888
|
Chip: UIComponent;
|
|
881
889
|
ModelSelector: UIComponent;
|
|
890
|
+
Tooltip: UIComponent;
|
|
891
|
+
LoadingOverlay: UIComponent;
|
|
892
|
+
ConfirmDialog: UIComponent;
|
|
882
893
|
}
|
|
883
894
|
export interface UIComponentProps {
|
|
884
895
|
projectDir?: string;
|
|
@@ -887,6 +898,7 @@ export interface UIComponentProps {
|
|
|
887
898
|
models: Model[];
|
|
888
899
|
providers: ProviderProfile[];
|
|
889
900
|
ui: UIComponents;
|
|
901
|
+
icons: Record<string, unknown>;
|
|
890
902
|
}
|
|
891
903
|
/**
|
|
892
904
|
* Definition of a command that can be registered by an extension
|
|
@@ -999,6 +1011,14 @@ export interface AgentFinishedEvent {
|
|
|
999
1011
|
readonly contextMessages: ContextMessage[];
|
|
1000
1012
|
resultMessages: ContextMessage[];
|
|
1001
1013
|
}
|
|
1014
|
+
/** Event payload for agent step started events */
|
|
1015
|
+
export interface AgentStepStartedEvent {
|
|
1016
|
+
readonly mode: Mode;
|
|
1017
|
+
readonly agentProfile: AgentProfile;
|
|
1018
|
+
readonly currentResponseId: string;
|
|
1019
|
+
readonly iterationCount: number;
|
|
1020
|
+
messages: ContextMessage[];
|
|
1021
|
+
}
|
|
1002
1022
|
/** Event payload for agent step finished events */
|
|
1003
1023
|
export interface AgentStepFinishedEvent {
|
|
1004
1024
|
readonly mode: Mode;
|
|
@@ -1159,11 +1179,12 @@ export interface TaskContext {
|
|
|
1159
1179
|
clearAllTodos(): Promise<TodoItem[]>;
|
|
1160
1180
|
setTodos(items: TodoItem[], initialUserPrompt?: string): Promise<void>;
|
|
1161
1181
|
runPrompt(prompt: string, mode?: string): Promise<void>;
|
|
1182
|
+
runPromptInAgent(profile: AgentProfile, mode: string, prompt: string | null, promptContext?: PromptContext, contextMessages?: ContextMessage[], contextFiles?: ContextFile[], systemPrompt?: string, waitForCurrentAgentToFinish?: boolean, sendNotification?: boolean): Promise<ResponseCompletedData[]>;
|
|
1162
1183
|
runCustomCommand(name: string, args?: string[], mode?: string): Promise<void>;
|
|
1163
1184
|
runSubagent(agentProfile: AgentProfile, prompt: string): Promise<void>;
|
|
1164
1185
|
runCommand(command: string): Promise<void>;
|
|
1165
1186
|
interruptResponse(): Promise<void>;
|
|
1166
|
-
generateText(
|
|
1187
|
+
generateText(modelId: string, systemPrompt: string, prompt: string): Promise<string | undefined>;
|
|
1167
1188
|
askQuestion(text: string, options?: QuestionOptions): Promise<string>;
|
|
1168
1189
|
addLogMessage(level: "info" | "error" | "warning", message?: string): void;
|
|
1169
1190
|
addLoadingMessage(message?: string, finished?: boolean): void;
|
|
@@ -1271,6 +1292,12 @@ export interface ExtensionContext {
|
|
|
1271
1292
|
* @returns Promise that resolves when URL is opened
|
|
1272
1293
|
*/
|
|
1273
1294
|
openUrl(url: string, target?: "external" | "window" | "modal-overlay"): Promise<void>;
|
|
1295
|
+
/**
|
|
1296
|
+
* Open a file or directory in the system's default application or file manager
|
|
1297
|
+
* @param path - Absolute path to the file or directory to open
|
|
1298
|
+
* @returns Promise that resolves to true if successful, false otherwise
|
|
1299
|
+
*/
|
|
1300
|
+
openPath(path: string): Promise<boolean>;
|
|
1274
1301
|
}
|
|
1275
1302
|
/**
|
|
1276
1303
|
* Main extension interface that all extensions must implement
|
|
@@ -1432,6 +1459,12 @@ export interface Extension {
|
|
|
1432
1459
|
* @returns void or partial event to modify result messages
|
|
1433
1460
|
*/
|
|
1434
1461
|
onAgentFinished?(event: AgentFinishedEvent, context: ExtensionContext): Promise<void | Partial<AgentFinishedEvent>>;
|
|
1462
|
+
/**
|
|
1463
|
+
* Called before each agent step starts
|
|
1464
|
+
* Modify event.messages to change the messages that will be sent to the LLM
|
|
1465
|
+
* @returns void or partial event to modify messages
|
|
1466
|
+
*/
|
|
1467
|
+
onAgentStepStarted?(event: AgentStepStartedEvent, context: ExtensionContext): Promise<void | Partial<AgentStepStartedEvent>>;
|
|
1435
1468
|
/**
|
|
1436
1469
|
* Called after each agent step completes
|
|
1437
1470
|
* @returns void or partial event
|
|
@@ -1457,7 +1490,6 @@ export interface Extension {
|
|
|
1457
1490
|
onToolApproval?(event: ToolApprovalEvent, context: ExtensionContext): Promise<void | Partial<ToolApprovalEvent>>;
|
|
1458
1491
|
/**
|
|
1459
1492
|
* Called when a tool is about to be executed
|
|
1460
|
-
* Set event.blocked = true to prevent execution
|
|
1461
1493
|
* @returns void or partial event to modify tool call
|
|
1462
1494
|
*/
|
|
1463
1495
|
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;
|
|
@@ -618,6 +621,7 @@ export interface SettingsData {
|
|
|
618
621
|
};
|
|
619
622
|
telemetryEnabled: boolean;
|
|
620
623
|
telemetryInformed?: boolean;
|
|
624
|
+
windowTitleTemplate?: string;
|
|
621
625
|
promptBehavior: PromptBehavior;
|
|
622
626
|
server: {
|
|
623
627
|
enabled: boolean;
|
|
@@ -767,6 +771,8 @@ export interface ExtensionMetadata {
|
|
|
767
771
|
author?: string;
|
|
768
772
|
/** Optional list of extension capabilities (e.g., ["tools", "ui-elements"]) */
|
|
769
773
|
capabilities?: string[];
|
|
774
|
+
/** Optional URL to an icon image for the extension */
|
|
775
|
+
iconUrl?: string;
|
|
770
776
|
}
|
|
771
777
|
/**
|
|
772
778
|
* Result returned by tool execution
|
|
@@ -822,7 +828,7 @@ export interface ToolDefinition<TSchema extends z.ZodType = z.ZodType<Record<str
|
|
|
822
828
|
execute: (input: z.infer<TSchema>, signal: AbortSignal | undefined, context: ExtensionContext, allTools: Record<string, Tool>) => Promise<unknown>;
|
|
823
829
|
}
|
|
824
830
|
/** 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";
|
|
831
|
+
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
832
|
/**
|
|
827
833
|
* Definition of a React UI component that can be registered by an extension.
|
|
828
834
|
* The component is defined as a JSX string and rendered using string-to-react-component.
|
|
@@ -857,6 +863,8 @@ export interface UIComponentDefinition {
|
|
|
857
863
|
jsx: string;
|
|
858
864
|
/** Optional flag to indicate if the component should load data from the extension to be passed as a prop (default: false) */
|
|
859
865
|
loadData?: boolean;
|
|
866
|
+
/** Optional flag to disable data caching - when true, data is always fetched fresh on render (default: false) */
|
|
867
|
+
noDataCache?: boolean;
|
|
860
868
|
}
|
|
861
869
|
/**
|
|
862
870
|
* Marker type for UI components provided by AiderDesk
|
|
@@ -879,6 +887,9 @@ export interface UIComponents {
|
|
|
879
887
|
DatePicker: UIComponent;
|
|
880
888
|
Chip: UIComponent;
|
|
881
889
|
ModelSelector: UIComponent;
|
|
890
|
+
Tooltip: UIComponent;
|
|
891
|
+
LoadingOverlay: UIComponent;
|
|
892
|
+
ConfirmDialog: UIComponent;
|
|
882
893
|
}
|
|
883
894
|
export interface UIComponentProps {
|
|
884
895
|
projectDir?: string;
|
|
@@ -887,6 +898,7 @@ export interface UIComponentProps {
|
|
|
887
898
|
models: Model[];
|
|
888
899
|
providers: ProviderProfile[];
|
|
889
900
|
ui: UIComponents;
|
|
901
|
+
icons: Record<string, unknown>;
|
|
890
902
|
}
|
|
891
903
|
/**
|
|
892
904
|
* Definition of a command that can be registered by an extension
|
|
@@ -999,6 +1011,14 @@ export interface AgentFinishedEvent {
|
|
|
999
1011
|
readonly contextMessages: ContextMessage[];
|
|
1000
1012
|
resultMessages: ContextMessage[];
|
|
1001
1013
|
}
|
|
1014
|
+
/** Event payload for agent step started events */
|
|
1015
|
+
export interface AgentStepStartedEvent {
|
|
1016
|
+
readonly mode: Mode;
|
|
1017
|
+
readonly agentProfile: AgentProfile;
|
|
1018
|
+
readonly currentResponseId: string;
|
|
1019
|
+
readonly iterationCount: number;
|
|
1020
|
+
messages: ContextMessage[];
|
|
1021
|
+
}
|
|
1002
1022
|
/** Event payload for agent step finished events */
|
|
1003
1023
|
export interface AgentStepFinishedEvent {
|
|
1004
1024
|
readonly mode: Mode;
|
|
@@ -1159,11 +1179,12 @@ export interface TaskContext {
|
|
|
1159
1179
|
clearAllTodos(): Promise<TodoItem[]>;
|
|
1160
1180
|
setTodos(items: TodoItem[], initialUserPrompt?: string): Promise<void>;
|
|
1161
1181
|
runPrompt(prompt: string, mode?: string): Promise<void>;
|
|
1182
|
+
runPromptInAgent(profile: AgentProfile, mode: string, prompt: string | null, promptContext?: PromptContext, contextMessages?: ContextMessage[], contextFiles?: ContextFile[], systemPrompt?: string, waitForCurrentAgentToFinish?: boolean, sendNotification?: boolean): Promise<ResponseCompletedData[]>;
|
|
1162
1183
|
runCustomCommand(name: string, args?: string[], mode?: string): Promise<void>;
|
|
1163
1184
|
runSubagent(agentProfile: AgentProfile, prompt: string): Promise<void>;
|
|
1164
1185
|
runCommand(command: string): Promise<void>;
|
|
1165
1186
|
interruptResponse(): Promise<void>;
|
|
1166
|
-
generateText(
|
|
1187
|
+
generateText(modelId: string, systemPrompt: string, prompt: string): Promise<string | undefined>;
|
|
1167
1188
|
askQuestion(text: string, options?: QuestionOptions): Promise<string>;
|
|
1168
1189
|
addLogMessage(level: "info" | "error" | "warning", message?: string): void;
|
|
1169
1190
|
addLoadingMessage(message?: string, finished?: boolean): void;
|
|
@@ -1271,6 +1292,12 @@ export interface ExtensionContext {
|
|
|
1271
1292
|
* @returns Promise that resolves when URL is opened
|
|
1272
1293
|
*/
|
|
1273
1294
|
openUrl(url: string, target?: "external" | "window" | "modal-overlay"): Promise<void>;
|
|
1295
|
+
/**
|
|
1296
|
+
* Open a file or directory in the system's default application or file manager
|
|
1297
|
+
* @param path - Absolute path to the file or directory to open
|
|
1298
|
+
* @returns Promise that resolves to true if successful, false otherwise
|
|
1299
|
+
*/
|
|
1300
|
+
openPath(path: string): Promise<boolean>;
|
|
1274
1301
|
}
|
|
1275
1302
|
/**
|
|
1276
1303
|
* Main extension interface that all extensions must implement
|
|
@@ -1432,6 +1459,12 @@ export interface Extension {
|
|
|
1432
1459
|
* @returns void or partial event to modify result messages
|
|
1433
1460
|
*/
|
|
1434
1461
|
onAgentFinished?(event: AgentFinishedEvent, context: ExtensionContext): Promise<void | Partial<AgentFinishedEvent>>;
|
|
1462
|
+
/**
|
|
1463
|
+
* Called before each agent step starts
|
|
1464
|
+
* Modify event.messages to change the messages that will be sent to the LLM
|
|
1465
|
+
* @returns void or partial event to modify messages
|
|
1466
|
+
*/
|
|
1467
|
+
onAgentStepStarted?(event: AgentStepStartedEvent, context: ExtensionContext): Promise<void | Partial<AgentStepStartedEvent>>;
|
|
1435
1468
|
/**
|
|
1436
1469
|
* Called after each agent step completes
|
|
1437
1470
|
* @returns void or partial event
|
|
@@ -1457,7 +1490,6 @@ export interface Extension {
|
|
|
1457
1490
|
onToolApproval?(event: ToolApprovalEvent, context: ExtensionContext): Promise<void | Partial<ToolApprovalEvent>>;
|
|
1458
1491
|
/**
|
|
1459
1492
|
* Called when a tool is about to be executed
|
|
1460
|
-
* Set event.blocked = true to prevent execution
|
|
1461
1493
|
* @returns void or partial event to modify tool call
|
|
1462
1494
|
*/
|
|
1463
1495
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
25
|
+
"capabilities": ["commands", "example"]
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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": ["
|
|
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.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Type definitions and examples for AiderDesk extensions",
|
|
5
5
|
"author": "Hotovo",
|
|
6
6
|
"homepage": "https://aiderdesk.hotovo.com",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"extensions.json"
|
|
35
35
|
],
|
|
36
36
|
"scripts": {
|
|
37
|
-
"build": "dts-bundle-generator --external-imports zod node --project ../../tsconfig.node.json --no-check --no-banner -o extensions.d.ts ../../
|
|
37
|
+
"build": "dts-bundle-generator --external-imports zod node --project ../../tsconfig.node.json --no-check --no-banner -o extensions.d.ts ../../packages/common/src/extensions.ts && node scripts/build.mjs",
|
|
38
38
|
"typecheck": "tsc --noEmit",
|
|
39
39
|
"prepublishOnly": "npm run build"
|
|
40
40
|
},
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/node": "^22.13.4",
|
|
58
|
-
"dts-bundle-generator": "^9.
|
|
59
|
-
"esbuild": "^0.
|
|
58
|
+
"dts-bundle-generator": "^9.5.1",
|
|
59
|
+
"esbuild": "^0.27.4",
|
|
60
60
|
"typescript": "^5.5.4",
|
|
61
|
-
"zod": "^3.
|
|
61
|
+
"zod": "^4.3.6"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"zod": "^
|
|
64
|
+
"zod": "^4.0.0"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
|
-
"node": ">=
|
|
67
|
+
"node": ">=22.0.0"
|
|
68
68
|
},
|
|
69
69
|
"publishConfig": {
|
|
70
70
|
"access": "public"
|