@aiderdesk/extensions 0.38.0 → 0.40.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/index.d.ts +153 -3
- package/dist/index.js +8 -1
- package/extensions.d.ts +153 -3
- package/extensions.json +60 -48
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type LlmProviderName = "anthropic" | "anthropic-compatible" | "azure" | "
|
|
|
4
4
|
export interface LlmProviderBase {
|
|
5
5
|
name: LlmProviderName;
|
|
6
6
|
disableStreaming?: boolean;
|
|
7
|
+
requireStreaming?: boolean;
|
|
7
8
|
disableToolCallStreaming?: boolean;
|
|
8
9
|
voiceEnabled?: boolean;
|
|
9
10
|
}
|
|
@@ -278,6 +279,7 @@ export interface ReasoningPart {
|
|
|
278
279
|
text: string;
|
|
279
280
|
}
|
|
280
281
|
export interface ToolCallPart {
|
|
282
|
+
providerExecuted?: boolean;
|
|
281
283
|
providerOptions?: ProviderOptions;
|
|
282
284
|
type: "tool-call";
|
|
283
285
|
toolCallId: string;
|
|
@@ -291,8 +293,19 @@ export interface ToolResultPart {
|
|
|
291
293
|
toolName: string;
|
|
292
294
|
output: ToolResultOutput;
|
|
293
295
|
}
|
|
296
|
+
export interface ReasoningFilePart {
|
|
297
|
+
type: "reasoning-file";
|
|
298
|
+
data: DataContent | URL;
|
|
299
|
+
mediaType: string;
|
|
300
|
+
providerOptions?: ProviderOptions;
|
|
301
|
+
}
|
|
302
|
+
export interface CustomPart {
|
|
303
|
+
type: "custom";
|
|
304
|
+
kind: string;
|
|
305
|
+
providerOptions?: ProviderOptions;
|
|
306
|
+
}
|
|
294
307
|
export type UserContent = string | Array<TextPart | ImagePart | FilePart>;
|
|
295
|
-
export type AssistantContent = string | Array<TextPart | FilePart | ReasoningPart | ToolCallPart | ToolResultPart>;
|
|
308
|
+
export type AssistantContent = string | Array<TextPart | FilePart | ReasoningPart | ReasoningFilePart | CustomPart | ToolCallPart | ToolResultPart>;
|
|
296
309
|
export type ToolContent = Array<ToolResultPart>;
|
|
297
310
|
export interface LocalizedString {
|
|
298
311
|
key: string;
|
|
@@ -317,6 +330,10 @@ export interface UsageReportData {
|
|
|
317
330
|
agentTotalCost?: number;
|
|
318
331
|
}
|
|
319
332
|
export interface PromptContext {
|
|
333
|
+
userMessageId?: string;
|
|
334
|
+
parentPromptContextId?: string;
|
|
335
|
+
parentToolCallId?: string;
|
|
336
|
+
parentChildIndex?: number;
|
|
320
337
|
id: string;
|
|
321
338
|
group?: Group;
|
|
322
339
|
}
|
|
@@ -363,6 +380,15 @@ export declare enum ContextMemoryMode {
|
|
|
363
380
|
FullContext = "full-context",
|
|
364
381
|
LastMessage = "last-message"
|
|
365
382
|
}
|
|
383
|
+
declare const WorktreeSchema: z.ZodObject<{
|
|
384
|
+
path: z.ZodString;
|
|
385
|
+
baseBranch: z.ZodOptional<z.ZodString>;
|
|
386
|
+
baseCommit: z.ZodOptional<z.ZodString>;
|
|
387
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
388
|
+
pendingRebaseFromBranch: z.ZodOptional<z.ZodString>;
|
|
389
|
+
prunable: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
export type Worktree = z.infer<typeof WorktreeSchema>;
|
|
366
392
|
export interface UncommittedFiles {
|
|
367
393
|
count: number;
|
|
368
394
|
files: string[];
|
|
@@ -555,6 +581,11 @@ declare const ProjectSettingsSchema: z.ZodObject<{
|
|
|
555
581
|
contextSidebarSectionsHidden: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
556
582
|
}, z.core.$strip>;
|
|
557
583
|
export type ProjectSettings = z.infer<typeof ProjectSettingsSchema>;
|
|
584
|
+
export declare enum ToolRecoveryMode {
|
|
585
|
+
Forget = "forget",
|
|
586
|
+
Safe = "safe",
|
|
587
|
+
Notify = "notify"
|
|
588
|
+
}
|
|
558
589
|
export declare enum ToolApprovalState {
|
|
559
590
|
Always = "always",
|
|
560
591
|
Never = "never",
|
|
@@ -612,6 +643,7 @@ export interface AgentProfile {
|
|
|
612
643
|
temperature?: number;
|
|
613
644
|
enabledServers: string[];
|
|
614
645
|
toolApprovals: Record<string, ToolApprovalState>;
|
|
646
|
+
toolRecoveryModes?: Record<string, ToolRecoveryMode>;
|
|
615
647
|
toolSettings: Record<string, ToolSettings>;
|
|
616
648
|
includeContextFiles: boolean;
|
|
617
649
|
includeRepoMap: boolean;
|
|
@@ -758,6 +790,8 @@ export interface TaskSettings {
|
|
|
758
790
|
taskNameModel?: string | null;
|
|
759
791
|
taskStateModel?: string | null;
|
|
760
792
|
commitMessageModel?: string | null;
|
|
793
|
+
compactionModel?: string | null;
|
|
794
|
+
handoffModel?: string | null;
|
|
761
795
|
defaultWorkingMode: WorkingMode;
|
|
762
796
|
defaultTaskMode?: Mode | "last";
|
|
763
797
|
defaultProjectMode?: Mode;
|
|
@@ -778,6 +812,7 @@ export interface SettingsData {
|
|
|
778
812
|
onboardingFinished?: boolean;
|
|
779
813
|
language: string;
|
|
780
814
|
startupMode?: ProjectStartMode;
|
|
815
|
+
resumeAgentAfterRestart?: boolean;
|
|
781
816
|
zoomLevel?: number;
|
|
782
817
|
notificationsEnabled?: boolean;
|
|
783
818
|
theme?: Theme;
|
|
@@ -866,6 +901,17 @@ export interface McpServerConfig {
|
|
|
866
901
|
url?: string;
|
|
867
902
|
headers?: Readonly<Record<string, string>>;
|
|
868
903
|
}
|
|
904
|
+
declare enum ModelModality {
|
|
905
|
+
Text = "text",
|
|
906
|
+
Image = "image",
|
|
907
|
+
Audio = "audio",
|
|
908
|
+
Video = "video",
|
|
909
|
+
Pdf = "pdf"
|
|
910
|
+
}
|
|
911
|
+
export interface ModelModalities {
|
|
912
|
+
input: ModelModality[];
|
|
913
|
+
output: ModelModality[];
|
|
914
|
+
}
|
|
869
915
|
declare const WorkingModeSchema: z.ZodEnum<{
|
|
870
916
|
local: "local";
|
|
871
917
|
worktree: "worktree";
|
|
@@ -953,6 +999,8 @@ export interface TodoItem {
|
|
|
953
999
|
completed: boolean;
|
|
954
1000
|
}
|
|
955
1001
|
export interface Model {
|
|
1002
|
+
modalities?: ModelModalities;
|
|
1003
|
+
hasModalitiesOverride?: boolean;
|
|
956
1004
|
id: string;
|
|
957
1005
|
providerId: string;
|
|
958
1006
|
maxInputTokens?: number;
|
|
@@ -964,6 +1012,8 @@ export interface Model {
|
|
|
964
1012
|
cacheWriteInputTokenCost?: number;
|
|
965
1013
|
cacheReadInputTokenCost?: number;
|
|
966
1014
|
supportsTools?: boolean;
|
|
1015
|
+
disableStreaming?: boolean;
|
|
1016
|
+
requireStreaming?: boolean;
|
|
967
1017
|
isCustom?: boolean;
|
|
968
1018
|
isHidden?: boolean;
|
|
969
1019
|
hasModelOverrides?: boolean;
|
|
@@ -1017,6 +1067,31 @@ export interface TlsPolicyRegistrar {
|
|
|
1017
1067
|
setTlsPolicy(origin: string, options: TlsPolicyOptions): void;
|
|
1018
1068
|
clearTlsPolicy(origin: string): void;
|
|
1019
1069
|
}
|
|
1070
|
+
export interface ContextGenerationOptions {
|
|
1071
|
+
abortSignal?: AbortSignal;
|
|
1072
|
+
maxOutputTokens?: number;
|
|
1073
|
+
}
|
|
1074
|
+
export interface ContextGenerationUsage {
|
|
1075
|
+
inputTokens: number | undefined;
|
|
1076
|
+
outputTokens: number | undefined;
|
|
1077
|
+
totalTokens: number | undefined;
|
|
1078
|
+
inputTokenDetails: {
|
|
1079
|
+
noCacheTokens: number | undefined;
|
|
1080
|
+
cacheReadTokens: number | undefined;
|
|
1081
|
+
cacheWriteTokens: number | undefined;
|
|
1082
|
+
};
|
|
1083
|
+
outputTokenDetails: {
|
|
1084
|
+
textTokens: number | undefined;
|
|
1085
|
+
reasoningTokens: number | undefined;
|
|
1086
|
+
};
|
|
1087
|
+
raw?: unknown;
|
|
1088
|
+
}
|
|
1089
|
+
export interface ContextGenerationResult<T> {
|
|
1090
|
+
output: T;
|
|
1091
|
+
usage: ContextGenerationUsage;
|
|
1092
|
+
providerMetadata?: unknown;
|
|
1093
|
+
finishReason: string;
|
|
1094
|
+
}
|
|
1020
1095
|
export type AgentStepResult = unknown;
|
|
1021
1096
|
export declare const AIDER_DESK_EXTENSIONS_REPO_URL = "https://github.com/hotovo/aider-desk/tree/main/packages/extensions/extensions/";
|
|
1022
1097
|
export interface ResponseMessage {
|
|
@@ -1096,6 +1171,7 @@ export interface Tool {
|
|
|
1096
1171
|
* ```
|
|
1097
1172
|
*/
|
|
1098
1173
|
export interface ToolDefinition<TSchema extends z.ZodType = z.ZodType<Record<string, unknown>>> {
|
|
1174
|
+
recoveryMode?: ToolRecoveryMode;
|
|
1099
1175
|
/** Tool identifier in kebab-case (e.g., 'run-linter') */
|
|
1100
1176
|
name: string;
|
|
1101
1177
|
/** Description for LLM to understand tool purpose */
|
|
@@ -1124,13 +1200,17 @@ export interface CacheControl {
|
|
|
1124
1200
|
providerOptions: Record<string, Record<string, JSONValue>>;
|
|
1125
1201
|
placement?: "message" | "message-part";
|
|
1126
1202
|
}
|
|
1203
|
+
export type ProviderToolApprovalHandler = (toolName: string, input: Record<string, unknown>, text: string, subject?: string) => Promise<[
|
|
1204
|
+
approved: boolean,
|
|
1205
|
+
reason?: string
|
|
1206
|
+
]>;
|
|
1127
1207
|
/**
|
|
1128
1208
|
* Simplified provider strategy for extensions.
|
|
1129
1209
|
* Only `createLlm` and `loadModels` are required.
|
|
1130
1210
|
* All other methods are optional and will use built-in defaults when omitted.
|
|
1131
1211
|
*/
|
|
1132
1212
|
export interface ExtensionProviderStrategy {
|
|
1133
|
-
createLlm: (profile: ProviderProfile, model: Model, settings: SettingsData, projectDir: string, toolSet?: unknown, systemPrompt?: string, providerMetadata?: unknown, tlsRegistrar?: TlsPolicyRegistrar, sessionId?: string) => unknown | Promise<unknown>;
|
|
1213
|
+
createLlm: (profile: ProviderProfile, model: Model, settings: SettingsData, projectDir: string, toolSet?: unknown, systemPrompt?: string, providerMetadata?: unknown, tlsRegistrar?: TlsPolicyRegistrar, sessionId?: string, approveTool?: ProviderToolApprovalHandler) => unknown | Promise<unknown>;
|
|
1134
1214
|
loadModels: (profile: ProviderProfile, settings: SettingsData, tlsRegistrar?: TlsPolicyRegistrar) => Promise<LoadModelsResponse>;
|
|
1135
1215
|
getAiderMapping?: (provider: ProviderProfile, modelId: string, settings: SettingsData, projectDir: string) => AiderModelMapping;
|
|
1136
1216
|
getUsageReport?: (task: unknown, provider: ProviderProfile, model: Model, usage: unknown, providerMetadata?: unknown) => UsageReportData;
|
|
@@ -1216,6 +1296,25 @@ export interface MessageFilter {
|
|
|
1216
1296
|
* Actual component implementation is provided by renderer at runtime
|
|
1217
1297
|
*/
|
|
1218
1298
|
export type UIComponent = object;
|
|
1299
|
+
/** Props accepted by the extension-exposed ui.ModelSelector wrapper. */
|
|
1300
|
+
export interface ModelSelectorProps {
|
|
1301
|
+
className?: string;
|
|
1302
|
+
selectedModelId?: string | null;
|
|
1303
|
+
onChange: (model: Model | null) => void;
|
|
1304
|
+
/** Overrides the core catalog, including favorites. An empty array allows no models. */
|
|
1305
|
+
models?: Model[];
|
|
1306
|
+
/** Overrides provider labels and disabled state; defaults to core providers. */
|
|
1307
|
+
providers?: ProviderProfile[];
|
|
1308
|
+
/** Controlled provider-qualified IDs. When supplied (even empty), core favorites are never changed. */
|
|
1309
|
+
preferredModels?: string[];
|
|
1310
|
+
/** Receives the next complete controlled list; the extension must update its props and persist it. */
|
|
1311
|
+
onPreferredModelsChange?: (preferredModels: string[]) => void;
|
|
1312
|
+
popupPlacement?: "top" | "bottom";
|
|
1313
|
+
labelOnNull?: string;
|
|
1314
|
+
/** Suppresses selection-driven favorite updates, not explicit removal. */
|
|
1315
|
+
skipPreferredModelsUpdate?: boolean;
|
|
1316
|
+
usePortal?: boolean;
|
|
1317
|
+
}
|
|
1219
1318
|
/**
|
|
1220
1319
|
* Common UI components available to extension JSX components
|
|
1221
1320
|
*/
|
|
@@ -1231,6 +1330,7 @@ export interface UIComponents {
|
|
|
1231
1330
|
Slider: UIComponent;
|
|
1232
1331
|
DatePicker: UIComponent;
|
|
1233
1332
|
Chip: UIComponent;
|
|
1333
|
+
/** Accepts ModelSelectorProps at runtime. */
|
|
1234
1334
|
ModelSelector: UIComponent;
|
|
1235
1335
|
Tooltip: UIComponent;
|
|
1236
1336
|
LoadingOverlay: UIComponent;
|
|
@@ -1310,6 +1410,18 @@ export interface TaskPreparedEvent {
|
|
|
1310
1410
|
export interface TaskInitializedEvent {
|
|
1311
1411
|
readonly task: TaskData;
|
|
1312
1412
|
}
|
|
1413
|
+
export interface WorktreeCreatedEvent {
|
|
1414
|
+
readonly task: TaskData;
|
|
1415
|
+
readonly worktree: Worktree;
|
|
1416
|
+
}
|
|
1417
|
+
export interface WorktreeMergedEvent {
|
|
1418
|
+
readonly task: TaskData;
|
|
1419
|
+
readonly worktree: Worktree;
|
|
1420
|
+
readonly targetPath: string;
|
|
1421
|
+
readonly targetBranch?: string;
|
|
1422
|
+
readonly squash: boolean;
|
|
1423
|
+
readonly includeUncommitted: boolean;
|
|
1424
|
+
}
|
|
1313
1425
|
/** Event payload for task closed events */
|
|
1314
1426
|
export interface TaskClosedEvent {
|
|
1315
1427
|
readonly task: TaskData;
|
|
@@ -1393,7 +1505,7 @@ export interface AgentStepFinishedEvent {
|
|
|
1393
1505
|
readonly agentProfile: AgentProfile;
|
|
1394
1506
|
readonly currentResponseId: string;
|
|
1395
1507
|
readonly stepResult: AgentStepResult;
|
|
1396
|
-
finishReason: "stop" | "length" | "content-filter" | "tool-calls" | "error" | "other";
|
|
1508
|
+
finishReason: "stop" | "length" | "content-filter" | "tool-calls" | "error" | "other" | "interrupted";
|
|
1397
1509
|
responseMessages: ContextMessage[];
|
|
1398
1510
|
}
|
|
1399
1511
|
/** Event payload for stored-context to model-message transformations. */
|
|
@@ -1428,6 +1540,9 @@ export interface ToolApprovalEvent {
|
|
|
1428
1540
|
}
|
|
1429
1541
|
/** Event payload for tool called events */
|
|
1430
1542
|
export interface ToolCalledEvent {
|
|
1543
|
+
recoveryMode?: ToolRecoveryMode;
|
|
1544
|
+
readonly isReplay?: boolean;
|
|
1545
|
+
readonly replayAttempt?: number;
|
|
1431
1546
|
readonly toolCallId: string;
|
|
1432
1547
|
readonly toolName: string;
|
|
1433
1548
|
readonly agentProfile: AgentProfile;
|
|
@@ -1445,10 +1560,33 @@ export interface ToolFinishedEvent {
|
|
|
1445
1560
|
}
|
|
1446
1561
|
/** A tool entry as exposed to extensions in toolset events */
|
|
1447
1562
|
export interface ToolsetToolEntry {
|
|
1563
|
+
recoveryMode?: ToolRecoveryMode;
|
|
1564
|
+
recoveryModeKey?: string;
|
|
1565
|
+
replayOwner?: string;
|
|
1448
1566
|
description?: string;
|
|
1449
1567
|
inputSchema?: unknown;
|
|
1450
1568
|
execute?(input: Record<string, unknown>, options?: unknown): Promise<unknown>;
|
|
1451
1569
|
}
|
|
1570
|
+
/**
|
|
1571
|
+
* Marker key set on a tool's execution options when the tool is invoked internally by an
|
|
1572
|
+
* extension (through the `allTools` map passed to `ExtensionTool.execute`) instead of by the
|
|
1573
|
+
* model. The agent's tool wrapper reads it to honour the documented contract that
|
|
1574
|
+
* extension-internal tool calls are not propagated to the UI and do not take part in durability.
|
|
1575
|
+
*/
|
|
1576
|
+
export declare const EXTENSION_ORIGIN: unique symbol;
|
|
1577
|
+
/**
|
|
1578
|
+
* Flags describing how an extension-originated tool call should be handled.
|
|
1579
|
+
*
|
|
1580
|
+
* Both flags are currently always `false`. They are kept as a structured option (instead of a
|
|
1581
|
+
* bare boolean) to prepare for a future capability where extensions can opt their internal tool
|
|
1582
|
+
* calls into UI surfacing and/or durable execution.
|
|
1583
|
+
*/
|
|
1584
|
+
export interface ExtensionToolOrigin {
|
|
1585
|
+
/** Whether the internal call should participate in durable execution/replay. */
|
|
1586
|
+
durable: boolean;
|
|
1587
|
+
/** Whether the internal call should be surfaced as a tool message in the UI. */
|
|
1588
|
+
surfaceInUi: boolean;
|
|
1589
|
+
}
|
|
1452
1590
|
/** Event payload for toolset created events */
|
|
1453
1591
|
export interface ToolsetCreatedEvent {
|
|
1454
1592
|
readonly mode: Mode;
|
|
@@ -1900,6 +2038,14 @@ export interface TaskContext {
|
|
|
1900
2038
|
* @returns The generated object matching the schema, or undefined if generation failed
|
|
1901
2039
|
*/
|
|
1902
2040
|
generateObject<T = unknown>(modelId: string, systemPrompt: string, prompt: string, schema: z.ZodType<T>): Promise<T | undefined>;
|
|
2041
|
+
/**
|
|
2042
|
+
* Generate one response from a snapshot of the task's current prepared context and selected agent profile.
|
|
2043
|
+
* Retains tool definitions with toolChoice none; never executes tools or persists the generated messages.
|
|
2044
|
+
* Does not reproduce transient overrides from an earlier agent execution. Cache reuse is provider-dependent.
|
|
2045
|
+
*/
|
|
2046
|
+
generateTextFromContext(prompt: string, options?: ContextGenerationOptions): Promise<ContextGenerationResult<string>>;
|
|
2047
|
+
/** Generate structured output from task context with the same read-only semantics as generateTextFromContext. */
|
|
2048
|
+
generateObjectFromContext<T>(prompt: string, schema: z.ZodType<T>, options?: ContextGenerationOptions): Promise<ContextGenerationResult<T>>;
|
|
1903
2049
|
/**
|
|
1904
2050
|
* Ask the user a question and wait for their response.
|
|
1905
2051
|
* Dispatches the `onQuestionAsked` extension event. If a previous question is pending,
|
|
@@ -2661,6 +2807,10 @@ export interface Extension {
|
|
|
2661
2807
|
* @returns void or partial event to block deletion
|
|
2662
2808
|
*/
|
|
2663
2809
|
onTaskDeleted?(event: TaskDeletedEvent, context: ExtensionContext): Promise<void | Partial<TaskDeletedEvent>>;
|
|
2810
|
+
/** Called after a new worktree, symlinks, and the configured post-create command are ready. Not called for reused worktrees. */
|
|
2811
|
+
onWorktreeCreated?(event: WorktreeCreatedEvent, context: ExtensionContext): Promise<void>;
|
|
2812
|
+
/** Called after a successful merge, before source worktree cleanup. targetBranch is provided for merges to a project branch. */
|
|
2813
|
+
onWorktreeMerged?(event: WorktreeMergedEvent, context: ExtensionContext): Promise<void>;
|
|
2664
2814
|
/**
|
|
2665
2815
|
* Called when a project is started
|
|
2666
2816
|
* @returns void or partial event to modify project data
|
package/dist/index.js
CHANGED
|
@@ -28,10 +28,17 @@ var ContextMemoryMode = /* @__PURE__ */ ((ContextMemoryMode2) => {
|
|
|
28
28
|
ContextMemoryMode2["LastMessage"] = "last-message";
|
|
29
29
|
return ContextMemoryMode2;
|
|
30
30
|
})(ContextMemoryMode || {});
|
|
31
|
+
var ToolRecoveryMode = /* @__PURE__ */ ((ToolRecoveryMode2) => {
|
|
32
|
+
ToolRecoveryMode2["Forget"] = "forget";
|
|
33
|
+
ToolRecoveryMode2["Safe"] = "safe";
|
|
34
|
+
ToolRecoveryMode2["Notify"] = "notify";
|
|
35
|
+
return ToolRecoveryMode2;
|
|
36
|
+
})(ToolRecoveryMode || {});
|
|
31
37
|
export {
|
|
32
38
|
AutonomyMode,
|
|
33
39
|
ContextMemoryMode,
|
|
34
40
|
InvocationMode,
|
|
35
41
|
OS,
|
|
36
|
-
ToolApprovalState
|
|
42
|
+
ToolApprovalState,
|
|
43
|
+
ToolRecoveryMode
|
|
37
44
|
};
|
package/extensions.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type LlmProviderName = "anthropic" | "anthropic-compatible" | "azure" | "
|
|
|
4
4
|
export interface LlmProviderBase {
|
|
5
5
|
name: LlmProviderName;
|
|
6
6
|
disableStreaming?: boolean;
|
|
7
|
+
requireStreaming?: boolean;
|
|
7
8
|
disableToolCallStreaming?: boolean;
|
|
8
9
|
voiceEnabled?: boolean;
|
|
9
10
|
}
|
|
@@ -278,6 +279,7 @@ export interface ReasoningPart {
|
|
|
278
279
|
text: string;
|
|
279
280
|
}
|
|
280
281
|
export interface ToolCallPart {
|
|
282
|
+
providerExecuted?: boolean;
|
|
281
283
|
providerOptions?: ProviderOptions;
|
|
282
284
|
type: "tool-call";
|
|
283
285
|
toolCallId: string;
|
|
@@ -291,8 +293,19 @@ export interface ToolResultPart {
|
|
|
291
293
|
toolName: string;
|
|
292
294
|
output: ToolResultOutput;
|
|
293
295
|
}
|
|
296
|
+
export interface ReasoningFilePart {
|
|
297
|
+
type: "reasoning-file";
|
|
298
|
+
data: DataContent | URL;
|
|
299
|
+
mediaType: string;
|
|
300
|
+
providerOptions?: ProviderOptions;
|
|
301
|
+
}
|
|
302
|
+
export interface CustomPart {
|
|
303
|
+
type: "custom";
|
|
304
|
+
kind: string;
|
|
305
|
+
providerOptions?: ProviderOptions;
|
|
306
|
+
}
|
|
294
307
|
export type UserContent = string | Array<TextPart | ImagePart | FilePart>;
|
|
295
|
-
export type AssistantContent = string | Array<TextPart | FilePart | ReasoningPart | ToolCallPart | ToolResultPart>;
|
|
308
|
+
export type AssistantContent = string | Array<TextPart | FilePart | ReasoningPart | ReasoningFilePart | CustomPart | ToolCallPart | ToolResultPart>;
|
|
296
309
|
export type ToolContent = Array<ToolResultPart>;
|
|
297
310
|
export interface LocalizedString {
|
|
298
311
|
key: string;
|
|
@@ -317,6 +330,10 @@ export interface UsageReportData {
|
|
|
317
330
|
agentTotalCost?: number;
|
|
318
331
|
}
|
|
319
332
|
export interface PromptContext {
|
|
333
|
+
userMessageId?: string;
|
|
334
|
+
parentPromptContextId?: string;
|
|
335
|
+
parentToolCallId?: string;
|
|
336
|
+
parentChildIndex?: number;
|
|
320
337
|
id: string;
|
|
321
338
|
group?: Group;
|
|
322
339
|
}
|
|
@@ -363,6 +380,15 @@ export declare enum ContextMemoryMode {
|
|
|
363
380
|
FullContext = "full-context",
|
|
364
381
|
LastMessage = "last-message"
|
|
365
382
|
}
|
|
383
|
+
declare const WorktreeSchema: z.ZodObject<{
|
|
384
|
+
path: z.ZodString;
|
|
385
|
+
baseBranch: z.ZodOptional<z.ZodString>;
|
|
386
|
+
baseCommit: z.ZodOptional<z.ZodString>;
|
|
387
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
388
|
+
pendingRebaseFromBranch: z.ZodOptional<z.ZodString>;
|
|
389
|
+
prunable: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
export type Worktree = z.infer<typeof WorktreeSchema>;
|
|
366
392
|
export interface UncommittedFiles {
|
|
367
393
|
count: number;
|
|
368
394
|
files: string[];
|
|
@@ -555,6 +581,11 @@ declare const ProjectSettingsSchema: z.ZodObject<{
|
|
|
555
581
|
contextSidebarSectionsHidden: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
556
582
|
}, z.core.$strip>;
|
|
557
583
|
export type ProjectSettings = z.infer<typeof ProjectSettingsSchema>;
|
|
584
|
+
export declare enum ToolRecoveryMode {
|
|
585
|
+
Forget = "forget",
|
|
586
|
+
Safe = "safe",
|
|
587
|
+
Notify = "notify"
|
|
588
|
+
}
|
|
558
589
|
export declare enum ToolApprovalState {
|
|
559
590
|
Always = "always",
|
|
560
591
|
Never = "never",
|
|
@@ -612,6 +643,7 @@ export interface AgentProfile {
|
|
|
612
643
|
temperature?: number;
|
|
613
644
|
enabledServers: string[];
|
|
614
645
|
toolApprovals: Record<string, ToolApprovalState>;
|
|
646
|
+
toolRecoveryModes?: Record<string, ToolRecoveryMode>;
|
|
615
647
|
toolSettings: Record<string, ToolSettings>;
|
|
616
648
|
includeContextFiles: boolean;
|
|
617
649
|
includeRepoMap: boolean;
|
|
@@ -758,6 +790,8 @@ export interface TaskSettings {
|
|
|
758
790
|
taskNameModel?: string | null;
|
|
759
791
|
taskStateModel?: string | null;
|
|
760
792
|
commitMessageModel?: string | null;
|
|
793
|
+
compactionModel?: string | null;
|
|
794
|
+
handoffModel?: string | null;
|
|
761
795
|
defaultWorkingMode: WorkingMode;
|
|
762
796
|
defaultTaskMode?: Mode | "last";
|
|
763
797
|
defaultProjectMode?: Mode;
|
|
@@ -778,6 +812,7 @@ export interface SettingsData {
|
|
|
778
812
|
onboardingFinished?: boolean;
|
|
779
813
|
language: string;
|
|
780
814
|
startupMode?: ProjectStartMode;
|
|
815
|
+
resumeAgentAfterRestart?: boolean;
|
|
781
816
|
zoomLevel?: number;
|
|
782
817
|
notificationsEnabled?: boolean;
|
|
783
818
|
theme?: Theme;
|
|
@@ -866,6 +901,17 @@ export interface McpServerConfig {
|
|
|
866
901
|
url?: string;
|
|
867
902
|
headers?: Readonly<Record<string, string>>;
|
|
868
903
|
}
|
|
904
|
+
declare enum ModelModality {
|
|
905
|
+
Text = "text",
|
|
906
|
+
Image = "image",
|
|
907
|
+
Audio = "audio",
|
|
908
|
+
Video = "video",
|
|
909
|
+
Pdf = "pdf"
|
|
910
|
+
}
|
|
911
|
+
export interface ModelModalities {
|
|
912
|
+
input: ModelModality[];
|
|
913
|
+
output: ModelModality[];
|
|
914
|
+
}
|
|
869
915
|
declare const WorkingModeSchema: z.ZodEnum<{
|
|
870
916
|
local: "local";
|
|
871
917
|
worktree: "worktree";
|
|
@@ -953,6 +999,8 @@ export interface TodoItem {
|
|
|
953
999
|
completed: boolean;
|
|
954
1000
|
}
|
|
955
1001
|
export interface Model {
|
|
1002
|
+
modalities?: ModelModalities;
|
|
1003
|
+
hasModalitiesOverride?: boolean;
|
|
956
1004
|
id: string;
|
|
957
1005
|
providerId: string;
|
|
958
1006
|
maxInputTokens?: number;
|
|
@@ -964,6 +1012,8 @@ export interface Model {
|
|
|
964
1012
|
cacheWriteInputTokenCost?: number;
|
|
965
1013
|
cacheReadInputTokenCost?: number;
|
|
966
1014
|
supportsTools?: boolean;
|
|
1015
|
+
disableStreaming?: boolean;
|
|
1016
|
+
requireStreaming?: boolean;
|
|
967
1017
|
isCustom?: boolean;
|
|
968
1018
|
isHidden?: boolean;
|
|
969
1019
|
hasModelOverrides?: boolean;
|
|
@@ -1017,6 +1067,31 @@ export interface TlsPolicyRegistrar {
|
|
|
1017
1067
|
setTlsPolicy(origin: string, options: TlsPolicyOptions): void;
|
|
1018
1068
|
clearTlsPolicy(origin: string): void;
|
|
1019
1069
|
}
|
|
1070
|
+
export interface ContextGenerationOptions {
|
|
1071
|
+
abortSignal?: AbortSignal;
|
|
1072
|
+
maxOutputTokens?: number;
|
|
1073
|
+
}
|
|
1074
|
+
export interface ContextGenerationUsage {
|
|
1075
|
+
inputTokens: number | undefined;
|
|
1076
|
+
outputTokens: number | undefined;
|
|
1077
|
+
totalTokens: number | undefined;
|
|
1078
|
+
inputTokenDetails: {
|
|
1079
|
+
noCacheTokens: number | undefined;
|
|
1080
|
+
cacheReadTokens: number | undefined;
|
|
1081
|
+
cacheWriteTokens: number | undefined;
|
|
1082
|
+
};
|
|
1083
|
+
outputTokenDetails: {
|
|
1084
|
+
textTokens: number | undefined;
|
|
1085
|
+
reasoningTokens: number | undefined;
|
|
1086
|
+
};
|
|
1087
|
+
raw?: unknown;
|
|
1088
|
+
}
|
|
1089
|
+
export interface ContextGenerationResult<T> {
|
|
1090
|
+
output: T;
|
|
1091
|
+
usage: ContextGenerationUsage;
|
|
1092
|
+
providerMetadata?: unknown;
|
|
1093
|
+
finishReason: string;
|
|
1094
|
+
}
|
|
1020
1095
|
export type AgentStepResult = unknown;
|
|
1021
1096
|
export declare const AIDER_DESK_EXTENSIONS_REPO_URL = "https://github.com/hotovo/aider-desk/tree/main/packages/extensions/extensions/";
|
|
1022
1097
|
export interface ResponseMessage {
|
|
@@ -1096,6 +1171,7 @@ export interface Tool {
|
|
|
1096
1171
|
* ```
|
|
1097
1172
|
*/
|
|
1098
1173
|
export interface ToolDefinition<TSchema extends z.ZodType = z.ZodType<Record<string, unknown>>> {
|
|
1174
|
+
recoveryMode?: ToolRecoveryMode;
|
|
1099
1175
|
/** Tool identifier in kebab-case (e.g., 'run-linter') */
|
|
1100
1176
|
name: string;
|
|
1101
1177
|
/** Description for LLM to understand tool purpose */
|
|
@@ -1124,13 +1200,17 @@ export interface CacheControl {
|
|
|
1124
1200
|
providerOptions: Record<string, Record<string, JSONValue>>;
|
|
1125
1201
|
placement?: "message" | "message-part";
|
|
1126
1202
|
}
|
|
1203
|
+
export type ProviderToolApprovalHandler = (toolName: string, input: Record<string, unknown>, text: string, subject?: string) => Promise<[
|
|
1204
|
+
approved: boolean,
|
|
1205
|
+
reason?: string
|
|
1206
|
+
]>;
|
|
1127
1207
|
/**
|
|
1128
1208
|
* Simplified provider strategy for extensions.
|
|
1129
1209
|
* Only `createLlm` and `loadModels` are required.
|
|
1130
1210
|
* All other methods are optional and will use built-in defaults when omitted.
|
|
1131
1211
|
*/
|
|
1132
1212
|
export interface ExtensionProviderStrategy {
|
|
1133
|
-
createLlm: (profile: ProviderProfile, model: Model, settings: SettingsData, projectDir: string, toolSet?: unknown, systemPrompt?: string, providerMetadata?: unknown, tlsRegistrar?: TlsPolicyRegistrar, sessionId?: string) => unknown | Promise<unknown>;
|
|
1213
|
+
createLlm: (profile: ProviderProfile, model: Model, settings: SettingsData, projectDir: string, toolSet?: unknown, systemPrompt?: string, providerMetadata?: unknown, tlsRegistrar?: TlsPolicyRegistrar, sessionId?: string, approveTool?: ProviderToolApprovalHandler) => unknown | Promise<unknown>;
|
|
1134
1214
|
loadModels: (profile: ProviderProfile, settings: SettingsData, tlsRegistrar?: TlsPolicyRegistrar) => Promise<LoadModelsResponse>;
|
|
1135
1215
|
getAiderMapping?: (provider: ProviderProfile, modelId: string, settings: SettingsData, projectDir: string) => AiderModelMapping;
|
|
1136
1216
|
getUsageReport?: (task: unknown, provider: ProviderProfile, model: Model, usage: unknown, providerMetadata?: unknown) => UsageReportData;
|
|
@@ -1216,6 +1296,25 @@ export interface MessageFilter {
|
|
|
1216
1296
|
* Actual component implementation is provided by renderer at runtime
|
|
1217
1297
|
*/
|
|
1218
1298
|
export type UIComponent = object;
|
|
1299
|
+
/** Props accepted by the extension-exposed ui.ModelSelector wrapper. */
|
|
1300
|
+
export interface ModelSelectorProps {
|
|
1301
|
+
className?: string;
|
|
1302
|
+
selectedModelId?: string | null;
|
|
1303
|
+
onChange: (model: Model | null) => void;
|
|
1304
|
+
/** Overrides the core catalog, including favorites. An empty array allows no models. */
|
|
1305
|
+
models?: Model[];
|
|
1306
|
+
/** Overrides provider labels and disabled state; defaults to core providers. */
|
|
1307
|
+
providers?: ProviderProfile[];
|
|
1308
|
+
/** Controlled provider-qualified IDs. When supplied (even empty), core favorites are never changed. */
|
|
1309
|
+
preferredModels?: string[];
|
|
1310
|
+
/** Receives the next complete controlled list; the extension must update its props and persist it. */
|
|
1311
|
+
onPreferredModelsChange?: (preferredModels: string[]) => void;
|
|
1312
|
+
popupPlacement?: "top" | "bottom";
|
|
1313
|
+
labelOnNull?: string;
|
|
1314
|
+
/** Suppresses selection-driven favorite updates, not explicit removal. */
|
|
1315
|
+
skipPreferredModelsUpdate?: boolean;
|
|
1316
|
+
usePortal?: boolean;
|
|
1317
|
+
}
|
|
1219
1318
|
/**
|
|
1220
1319
|
* Common UI components available to extension JSX components
|
|
1221
1320
|
*/
|
|
@@ -1231,6 +1330,7 @@ export interface UIComponents {
|
|
|
1231
1330
|
Slider: UIComponent;
|
|
1232
1331
|
DatePicker: UIComponent;
|
|
1233
1332
|
Chip: UIComponent;
|
|
1333
|
+
/** Accepts ModelSelectorProps at runtime. */
|
|
1234
1334
|
ModelSelector: UIComponent;
|
|
1235
1335
|
Tooltip: UIComponent;
|
|
1236
1336
|
LoadingOverlay: UIComponent;
|
|
@@ -1310,6 +1410,18 @@ export interface TaskPreparedEvent {
|
|
|
1310
1410
|
export interface TaskInitializedEvent {
|
|
1311
1411
|
readonly task: TaskData;
|
|
1312
1412
|
}
|
|
1413
|
+
export interface WorktreeCreatedEvent {
|
|
1414
|
+
readonly task: TaskData;
|
|
1415
|
+
readonly worktree: Worktree;
|
|
1416
|
+
}
|
|
1417
|
+
export interface WorktreeMergedEvent {
|
|
1418
|
+
readonly task: TaskData;
|
|
1419
|
+
readonly worktree: Worktree;
|
|
1420
|
+
readonly targetPath: string;
|
|
1421
|
+
readonly targetBranch?: string;
|
|
1422
|
+
readonly squash: boolean;
|
|
1423
|
+
readonly includeUncommitted: boolean;
|
|
1424
|
+
}
|
|
1313
1425
|
/** Event payload for task closed events */
|
|
1314
1426
|
export interface TaskClosedEvent {
|
|
1315
1427
|
readonly task: TaskData;
|
|
@@ -1393,7 +1505,7 @@ export interface AgentStepFinishedEvent {
|
|
|
1393
1505
|
readonly agentProfile: AgentProfile;
|
|
1394
1506
|
readonly currentResponseId: string;
|
|
1395
1507
|
readonly stepResult: AgentStepResult;
|
|
1396
|
-
finishReason: "stop" | "length" | "content-filter" | "tool-calls" | "error" | "other";
|
|
1508
|
+
finishReason: "stop" | "length" | "content-filter" | "tool-calls" | "error" | "other" | "interrupted";
|
|
1397
1509
|
responseMessages: ContextMessage[];
|
|
1398
1510
|
}
|
|
1399
1511
|
/** Event payload for stored-context to model-message transformations. */
|
|
@@ -1428,6 +1540,9 @@ export interface ToolApprovalEvent {
|
|
|
1428
1540
|
}
|
|
1429
1541
|
/** Event payload for tool called events */
|
|
1430
1542
|
export interface ToolCalledEvent {
|
|
1543
|
+
recoveryMode?: ToolRecoveryMode;
|
|
1544
|
+
readonly isReplay?: boolean;
|
|
1545
|
+
readonly replayAttempt?: number;
|
|
1431
1546
|
readonly toolCallId: string;
|
|
1432
1547
|
readonly toolName: string;
|
|
1433
1548
|
readonly agentProfile: AgentProfile;
|
|
@@ -1445,10 +1560,33 @@ export interface ToolFinishedEvent {
|
|
|
1445
1560
|
}
|
|
1446
1561
|
/** A tool entry as exposed to extensions in toolset events */
|
|
1447
1562
|
export interface ToolsetToolEntry {
|
|
1563
|
+
recoveryMode?: ToolRecoveryMode;
|
|
1564
|
+
recoveryModeKey?: string;
|
|
1565
|
+
replayOwner?: string;
|
|
1448
1566
|
description?: string;
|
|
1449
1567
|
inputSchema?: unknown;
|
|
1450
1568
|
execute?(input: Record<string, unknown>, options?: unknown): Promise<unknown>;
|
|
1451
1569
|
}
|
|
1570
|
+
/**
|
|
1571
|
+
* Marker key set on a tool's execution options when the tool is invoked internally by an
|
|
1572
|
+
* extension (through the `allTools` map passed to `ExtensionTool.execute`) instead of by the
|
|
1573
|
+
* model. The agent's tool wrapper reads it to honour the documented contract that
|
|
1574
|
+
* extension-internal tool calls are not propagated to the UI and do not take part in durability.
|
|
1575
|
+
*/
|
|
1576
|
+
export declare const EXTENSION_ORIGIN: unique symbol;
|
|
1577
|
+
/**
|
|
1578
|
+
* Flags describing how an extension-originated tool call should be handled.
|
|
1579
|
+
*
|
|
1580
|
+
* Both flags are currently always `false`. They are kept as a structured option (instead of a
|
|
1581
|
+
* bare boolean) to prepare for a future capability where extensions can opt their internal tool
|
|
1582
|
+
* calls into UI surfacing and/or durable execution.
|
|
1583
|
+
*/
|
|
1584
|
+
export interface ExtensionToolOrigin {
|
|
1585
|
+
/** Whether the internal call should participate in durable execution/replay. */
|
|
1586
|
+
durable: boolean;
|
|
1587
|
+
/** Whether the internal call should be surfaced as a tool message in the UI. */
|
|
1588
|
+
surfaceInUi: boolean;
|
|
1589
|
+
}
|
|
1452
1590
|
/** Event payload for toolset created events */
|
|
1453
1591
|
export interface ToolsetCreatedEvent {
|
|
1454
1592
|
readonly mode: Mode;
|
|
@@ -1900,6 +2038,14 @@ export interface TaskContext {
|
|
|
1900
2038
|
* @returns The generated object matching the schema, or undefined if generation failed
|
|
1901
2039
|
*/
|
|
1902
2040
|
generateObject<T = unknown>(modelId: string, systemPrompt: string, prompt: string, schema: z.ZodType<T>): Promise<T | undefined>;
|
|
2041
|
+
/**
|
|
2042
|
+
* Generate one response from a snapshot of the task's current prepared context and selected agent profile.
|
|
2043
|
+
* Retains tool definitions with toolChoice none; never executes tools or persists the generated messages.
|
|
2044
|
+
* Does not reproduce transient overrides from an earlier agent execution. Cache reuse is provider-dependent.
|
|
2045
|
+
*/
|
|
2046
|
+
generateTextFromContext(prompt: string, options?: ContextGenerationOptions): Promise<ContextGenerationResult<string>>;
|
|
2047
|
+
/** Generate structured output from task context with the same read-only semantics as generateTextFromContext. */
|
|
2048
|
+
generateObjectFromContext<T>(prompt: string, schema: z.ZodType<T>, options?: ContextGenerationOptions): Promise<ContextGenerationResult<T>>;
|
|
1903
2049
|
/**
|
|
1904
2050
|
* Ask the user a question and wait for their response.
|
|
1905
2051
|
* Dispatches the `onQuestionAsked` extension event. If a previous question is pending,
|
|
@@ -2661,6 +2807,10 @@ export interface Extension {
|
|
|
2661
2807
|
* @returns void or partial event to block deletion
|
|
2662
2808
|
*/
|
|
2663
2809
|
onTaskDeleted?(event: TaskDeletedEvent, context: ExtensionContext): Promise<void | Partial<TaskDeletedEvent>>;
|
|
2810
|
+
/** Called after a new worktree, symlinks, and the configured post-create command are ready. Not called for reused worktrees. */
|
|
2811
|
+
onWorktreeCreated?(event: WorktreeCreatedEvent, context: ExtensionContext): Promise<void>;
|
|
2812
|
+
/** Called after a successful merge, before source worktree cleanup. targetBranch is provided for merges to a project branch. */
|
|
2813
|
+
onWorktreeMerged?(event: WorktreeMergedEvent, context: ExtensionContext): Promise<void>;
|
|
2664
2814
|
/**
|
|
2665
2815
|
* Called when a project is started
|
|
2666
2816
|
* @returns void or partial event to modify project data
|
package/extensions.json
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extensions": [
|
|
3
|
+
{
|
|
4
|
+
"id": "opencode-free",
|
|
5
|
+
"name": "OpenCode Free",
|
|
6
|
+
"description": "Free OpenCode models with native shell/read and AiderDesk tools over MCP",
|
|
7
|
+
"folder": "opencode-free",
|
|
8
|
+
"type": "folder",
|
|
9
|
+
"hasDependencies": true,
|
|
10
|
+
"capabilities": [
|
|
11
|
+
"providers"
|
|
12
|
+
],
|
|
13
|
+
"installCount": 6
|
|
14
|
+
},
|
|
3
15
|
{
|
|
4
16
|
"id": "jev",
|
|
5
17
|
"name": "Jev",
|
|
@@ -10,7 +22,7 @@
|
|
|
10
22
|
"capabilities": [
|
|
11
23
|
"tools"
|
|
12
24
|
],
|
|
13
|
-
"installCount":
|
|
25
|
+
"installCount": 19
|
|
14
26
|
},
|
|
15
27
|
{
|
|
16
28
|
"id": "binary-files",
|
|
@@ -23,7 +35,7 @@
|
|
|
23
35
|
"tools",
|
|
24
36
|
"ui"
|
|
25
37
|
],
|
|
26
|
-
"installCount":
|
|
38
|
+
"installCount": 42
|
|
27
39
|
},
|
|
28
40
|
{
|
|
29
41
|
"id": "wakatime",
|
|
@@ -58,7 +70,7 @@
|
|
|
58
70
|
"commands",
|
|
59
71
|
"example"
|
|
60
72
|
],
|
|
61
|
-
"installCount":
|
|
73
|
+
"installCount": 25
|
|
62
74
|
},
|
|
63
75
|
{
|
|
64
76
|
"id": "questions",
|
|
@@ -71,7 +83,7 @@
|
|
|
71
83
|
"commands",
|
|
72
84
|
"ui"
|
|
73
85
|
],
|
|
74
|
-
"installCount":
|
|
86
|
+
"installCount": 52
|
|
75
87
|
},
|
|
76
88
|
{
|
|
77
89
|
"id": "theme",
|
|
@@ -93,7 +105,7 @@
|
|
|
93
105
|
"capabilities": [
|
|
94
106
|
"modes"
|
|
95
107
|
],
|
|
96
|
-
"installCount":
|
|
108
|
+
"installCount": 118
|
|
97
109
|
},
|
|
98
110
|
{
|
|
99
111
|
"id": "protected-paths",
|
|
@@ -105,7 +117,7 @@
|
|
|
105
117
|
"capabilities": [
|
|
106
118
|
"security"
|
|
107
119
|
],
|
|
108
|
-
"installCount":
|
|
120
|
+
"installCount": 54
|
|
109
121
|
},
|
|
110
122
|
{
|
|
111
123
|
"id": "permission-gate",
|
|
@@ -116,7 +128,7 @@
|
|
|
116
128
|
"capabilities": [
|
|
117
129
|
"security"
|
|
118
130
|
],
|
|
119
|
-
"installCount":
|
|
131
|
+
"installCount": 40
|
|
120
132
|
},
|
|
121
133
|
{
|
|
122
134
|
"id": "ultrathink",
|
|
@@ -127,7 +139,7 @@
|
|
|
127
139
|
"capabilities": [
|
|
128
140
|
"optimization"
|
|
129
141
|
],
|
|
130
|
-
"installCount":
|
|
142
|
+
"installCount": 54
|
|
131
143
|
},
|
|
132
144
|
{
|
|
133
145
|
"id": "external-rules",
|
|
@@ -139,7 +151,7 @@
|
|
|
139
151
|
"capabilities": [
|
|
140
152
|
"context"
|
|
141
153
|
],
|
|
142
|
-
"installCount":
|
|
154
|
+
"installCount": 33
|
|
143
155
|
},
|
|
144
156
|
{
|
|
145
157
|
"id": "external-skills",
|
|
@@ -151,7 +163,7 @@
|
|
|
151
163
|
"capabilities": [
|
|
152
164
|
"context"
|
|
153
165
|
],
|
|
154
|
-
"installCount":
|
|
166
|
+
"installCount": 77
|
|
155
167
|
},
|
|
156
168
|
{
|
|
157
169
|
"id": "learn",
|
|
@@ -164,7 +176,7 @@
|
|
|
164
176
|
"commands",
|
|
165
177
|
"tools"
|
|
166
178
|
],
|
|
167
|
-
"installCount":
|
|
179
|
+
"installCount": 108
|
|
168
180
|
},
|
|
169
181
|
{
|
|
170
182
|
"id": "legacy-system-prompt",
|
|
@@ -176,7 +188,7 @@
|
|
|
176
188
|
"capabilities": [
|
|
177
189
|
"context"
|
|
178
190
|
],
|
|
179
|
-
"installCount":
|
|
191
|
+
"installCount": 17
|
|
180
192
|
},
|
|
181
193
|
{
|
|
182
194
|
"id": "sound-notification",
|
|
@@ -188,7 +200,7 @@
|
|
|
188
200
|
"capabilities": [
|
|
189
201
|
"notifications"
|
|
190
202
|
],
|
|
191
|
-
"installCount":
|
|
203
|
+
"installCount": 37
|
|
192
204
|
},
|
|
193
205
|
{
|
|
194
206
|
"id": "sandbox",
|
|
@@ -204,7 +216,7 @@
|
|
|
204
216
|
"linux",
|
|
205
217
|
"macos"
|
|
206
218
|
],
|
|
207
|
-
"installCount":
|
|
219
|
+
"installCount": 14
|
|
208
220
|
},
|
|
209
221
|
{
|
|
210
222
|
"id": "rtk",
|
|
@@ -221,7 +233,7 @@
|
|
|
221
233
|
"linux",
|
|
222
234
|
"macos"
|
|
223
235
|
],
|
|
224
|
-
"installCount":
|
|
236
|
+
"installCount": 31
|
|
225
237
|
},
|
|
226
238
|
{
|
|
227
239
|
"id": "redact-secrets",
|
|
@@ -233,7 +245,7 @@
|
|
|
233
245
|
"capabilities": [
|
|
234
246
|
"security"
|
|
235
247
|
],
|
|
236
|
-
"installCount":
|
|
248
|
+
"installCount": 31
|
|
237
249
|
},
|
|
238
250
|
{
|
|
239
251
|
"id": "chunkhound-search",
|
|
@@ -245,7 +257,7 @@
|
|
|
245
257
|
"capabilities": [
|
|
246
258
|
"search"
|
|
247
259
|
],
|
|
248
|
-
"installCount":
|
|
260
|
+
"installCount": 17
|
|
249
261
|
},
|
|
250
262
|
{
|
|
251
263
|
"id": "chunkhound-on-semantic-search-tool",
|
|
@@ -257,7 +269,7 @@
|
|
|
257
269
|
"capabilities": [
|
|
258
270
|
"search"
|
|
259
271
|
],
|
|
260
|
-
"installCount":
|
|
272
|
+
"installCount": 17
|
|
261
273
|
},
|
|
262
274
|
{
|
|
263
275
|
"id": "tree-sitter-repo-map",
|
|
@@ -270,7 +282,7 @@
|
|
|
270
282
|
"context",
|
|
271
283
|
"commands"
|
|
272
284
|
],
|
|
273
|
-
"installCount":
|
|
285
|
+
"installCount": 85
|
|
274
286
|
},
|
|
275
287
|
{
|
|
276
288
|
"id": "context-autocompletion-words",
|
|
@@ -282,7 +294,7 @@
|
|
|
282
294
|
"capabilities": [
|
|
283
295
|
"context"
|
|
284
296
|
],
|
|
285
|
-
"installCount":
|
|
297
|
+
"installCount": 29
|
|
286
298
|
},
|
|
287
299
|
{
|
|
288
300
|
"id": "lsp",
|
|
@@ -295,7 +307,7 @@
|
|
|
295
307
|
"tools",
|
|
296
308
|
"code-intelligence"
|
|
297
309
|
],
|
|
298
|
-
"installCount":
|
|
310
|
+
"installCount": 93
|
|
299
311
|
},
|
|
300
312
|
{
|
|
301
313
|
"id": "plannotator",
|
|
@@ -310,7 +322,7 @@
|
|
|
310
322
|
"commands",
|
|
311
323
|
"workflows"
|
|
312
324
|
],
|
|
313
|
-
"installCount":
|
|
325
|
+
"installCount": 30
|
|
314
326
|
},
|
|
315
327
|
{
|
|
316
328
|
"id": "programmatic-tool-calls",
|
|
@@ -322,7 +334,7 @@
|
|
|
322
334
|
"capabilities": [
|
|
323
335
|
"tools"
|
|
324
336
|
],
|
|
325
|
-
"installCount":
|
|
337
|
+
"installCount": 45
|
|
326
338
|
},
|
|
327
339
|
{
|
|
328
340
|
"id": "ui-placement-demo",
|
|
@@ -334,7 +346,7 @@
|
|
|
334
346
|
"ui",
|
|
335
347
|
"example"
|
|
336
348
|
],
|
|
337
|
-
"installCount":
|
|
349
|
+
"installCount": 19
|
|
338
350
|
},
|
|
339
351
|
{
|
|
340
352
|
"id": "multi-model-run",
|
|
@@ -347,7 +359,7 @@
|
|
|
347
359
|
"ui",
|
|
348
360
|
"workflows"
|
|
349
361
|
],
|
|
350
|
-
"installCount":
|
|
362
|
+
"installCount": 17
|
|
351
363
|
},
|
|
352
364
|
{
|
|
353
365
|
"id": "providers-quota-extension",
|
|
@@ -359,7 +371,7 @@
|
|
|
359
371
|
"capabilities": [
|
|
360
372
|
"ui"
|
|
361
373
|
],
|
|
362
|
-
"installCount":
|
|
374
|
+
"installCount": 9
|
|
363
375
|
},
|
|
364
376
|
{
|
|
365
377
|
"id": "openai-codex",
|
|
@@ -371,7 +383,7 @@
|
|
|
371
383
|
"capabilities": [
|
|
372
384
|
"providers"
|
|
373
385
|
],
|
|
374
|
-
"installCount":
|
|
386
|
+
"installCount": 36
|
|
375
387
|
},
|
|
376
388
|
{
|
|
377
389
|
"id": "fff",
|
|
@@ -388,7 +400,7 @@
|
|
|
388
400
|
"linux",
|
|
389
401
|
"macos"
|
|
390
402
|
],
|
|
391
|
-
"installCount":
|
|
403
|
+
"installCount": 41
|
|
392
404
|
},
|
|
393
405
|
{
|
|
394
406
|
"id": "searxng-search",
|
|
@@ -401,7 +413,7 @@
|
|
|
401
413
|
"tools",
|
|
402
414
|
"search"
|
|
403
415
|
],
|
|
404
|
-
"installCount":
|
|
416
|
+
"installCount": 33
|
|
405
417
|
},
|
|
406
418
|
{
|
|
407
419
|
"id": "seek",
|
|
@@ -418,7 +430,7 @@
|
|
|
418
430
|
"linux",
|
|
419
431
|
"macos"
|
|
420
432
|
],
|
|
421
|
-
"installCount":
|
|
433
|
+
"installCount": 19
|
|
422
434
|
},
|
|
423
435
|
{
|
|
424
436
|
"id": "tps-counter",
|
|
@@ -430,7 +442,7 @@
|
|
|
430
442
|
"capabilities": [
|
|
431
443
|
"metrics"
|
|
432
444
|
],
|
|
433
|
-
"installCount":
|
|
445
|
+
"installCount": 112
|
|
434
446
|
},
|
|
435
447
|
{
|
|
436
448
|
"id": "verifier",
|
|
@@ -443,7 +455,7 @@
|
|
|
443
455
|
"workflows",
|
|
444
456
|
"ui"
|
|
445
457
|
],
|
|
446
|
-
"installCount":
|
|
458
|
+
"installCount": 62
|
|
447
459
|
},
|
|
448
460
|
{
|
|
449
461
|
"id": "bmad",
|
|
@@ -456,7 +468,7 @@
|
|
|
456
468
|
"modes",
|
|
457
469
|
"ui"
|
|
458
470
|
],
|
|
459
|
-
"installCount":
|
|
471
|
+
"installCount": 19
|
|
460
472
|
},
|
|
461
473
|
{
|
|
462
474
|
"id": "claude-agent-sdk",
|
|
@@ -469,7 +481,7 @@
|
|
|
469
481
|
"providers",
|
|
470
482
|
"agent-loop"
|
|
471
483
|
],
|
|
472
|
-
"installCount":
|
|
484
|
+
"installCount": 29
|
|
473
485
|
},
|
|
474
486
|
{
|
|
475
487
|
"id": "auggie-sdk",
|
|
@@ -506,7 +518,7 @@
|
|
|
506
518
|
"providers",
|
|
507
519
|
"agent-loop"
|
|
508
520
|
],
|
|
509
|
-
"installCount":
|
|
521
|
+
"installCount": 11
|
|
510
522
|
},
|
|
511
523
|
{
|
|
512
524
|
"id": "github-copilot",
|
|
@@ -519,7 +531,7 @@
|
|
|
519
531
|
"providers",
|
|
520
532
|
"agent-loop"
|
|
521
533
|
],
|
|
522
|
-
"installCount":
|
|
534
|
+
"installCount": 12
|
|
523
535
|
},
|
|
524
536
|
{
|
|
525
537
|
"id": "checkpoints",
|
|
@@ -532,7 +544,7 @@
|
|
|
532
544
|
"events",
|
|
533
545
|
"ui"
|
|
534
546
|
],
|
|
535
|
-
"installCount":
|
|
547
|
+
"installCount": 43
|
|
536
548
|
},
|
|
537
549
|
{
|
|
538
550
|
"id": "codegraph",
|
|
@@ -545,7 +557,7 @@
|
|
|
545
557
|
"tools",
|
|
546
558
|
"search"
|
|
547
559
|
],
|
|
548
|
-
"installCount":
|
|
560
|
+
"installCount": 87
|
|
549
561
|
},
|
|
550
562
|
{
|
|
551
563
|
"id": "kanban",
|
|
@@ -557,7 +569,7 @@
|
|
|
557
569
|
"capabilities": [
|
|
558
570
|
"ui"
|
|
559
571
|
],
|
|
560
|
-
"installCount":
|
|
572
|
+
"installCount": 52
|
|
561
573
|
},
|
|
562
574
|
{
|
|
563
575
|
"id": "doom",
|
|
@@ -569,7 +581,7 @@
|
|
|
569
581
|
"capabilities": [
|
|
570
582
|
"ui"
|
|
571
583
|
],
|
|
572
|
-
"installCount":
|
|
584
|
+
"installCount": 10
|
|
573
585
|
},
|
|
574
586
|
{
|
|
575
587
|
"id": "my-minions",
|
|
@@ -582,7 +594,7 @@
|
|
|
582
594
|
"agents",
|
|
583
595
|
"example"
|
|
584
596
|
],
|
|
585
|
-
"installCount":
|
|
597
|
+
"installCount": 68
|
|
586
598
|
},
|
|
587
599
|
{
|
|
588
600
|
"id": "wigolo",
|
|
@@ -595,7 +607,7 @@
|
|
|
595
607
|
"tools",
|
|
596
608
|
"search"
|
|
597
609
|
],
|
|
598
|
-
"installCount":
|
|
610
|
+
"installCount": 72
|
|
599
611
|
},
|
|
600
612
|
{
|
|
601
613
|
"id": "destructive-command-guard",
|
|
@@ -608,7 +620,7 @@
|
|
|
608
620
|
"security",
|
|
609
621
|
"commands"
|
|
610
622
|
],
|
|
611
|
-
"installCount":
|
|
623
|
+
"installCount": 53
|
|
612
624
|
},
|
|
613
625
|
{
|
|
614
626
|
"id": "git-log",
|
|
@@ -620,7 +632,7 @@
|
|
|
620
632
|
"capabilities": [
|
|
621
633
|
"ui"
|
|
622
634
|
],
|
|
623
|
-
"installCount":
|
|
635
|
+
"installCount": 58
|
|
624
636
|
},
|
|
625
637
|
{
|
|
626
638
|
"id": "skill-gallery",
|
|
@@ -632,7 +644,7 @@
|
|
|
632
644
|
"capabilities": [
|
|
633
645
|
"ui"
|
|
634
646
|
],
|
|
635
|
-
"installCount":
|
|
647
|
+
"installCount": 166
|
|
636
648
|
},
|
|
637
649
|
{
|
|
638
650
|
"id": "task-scheduler",
|
|
@@ -646,7 +658,7 @@
|
|
|
646
658
|
"commands",
|
|
647
659
|
"events"
|
|
648
660
|
],
|
|
649
|
-
"installCount":
|
|
661
|
+
"installCount": 33
|
|
650
662
|
},
|
|
651
663
|
{
|
|
652
664
|
"id": "reasoning-selector",
|
|
@@ -658,7 +670,7 @@
|
|
|
658
670
|
"capabilities": [
|
|
659
671
|
"ui"
|
|
660
672
|
],
|
|
661
|
-
"installCount":
|
|
673
|
+
"installCount": 141
|
|
662
674
|
},
|
|
663
675
|
{
|
|
664
676
|
"id": "dbx",
|
|
@@ -683,7 +695,7 @@
|
|
|
683
695
|
"ui",
|
|
684
696
|
"commands"
|
|
685
697
|
],
|
|
686
|
-
"installCount":
|
|
698
|
+
"installCount": 16
|
|
687
699
|
}
|
|
688
700
|
]
|
|
689
701
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiderdesk/extensions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "Type definitions and examples for AiderDesk extensions",
|
|
5
5
|
"author": "Hotovo",
|
|
6
6
|
"homepage": "https://aiderdesk.hotovo.com",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"dts-bundle-generator": "9.5.1",
|
|
62
62
|
"esbuild": "0.28.1",
|
|
63
63
|
"typescript": "5.9.3",
|
|
64
|
-
"zod": "4.
|
|
64
|
+
"zod": "4.6.7"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"zod": "^4.0.0"
|