@aiderdesk/extensions 0.14.0 → 0.15.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 CHANGED
@@ -406,7 +406,6 @@ declare const ProjectSettingsSchema: z.ZodObject<{
406
406
  reasoningEffort: z.ZodOptional<z.ZodString>;
407
407
  thinkingTokens: z.ZodOptional<z.ZodString>;
408
408
  currentMode: z.ZodString;
409
- contextCompactingThreshold: z.ZodOptional<z.ZodNumber>;
410
409
  weakModelLocked: z.ZodOptional<z.ZodBoolean>;
411
410
  autoApproveLocked: z.ZodOptional<z.ZodBoolean>;
412
411
  updatedFilesGroupMode: z.ZodDefault<z.ZodEnum<{
@@ -488,6 +487,9 @@ export interface AgentProfile {
488
487
  subagent: SubagentConfig;
489
488
  isSubagent?: boolean;
490
489
  ruleFiles?: string[];
490
+ autoCompactThresholdPercentage?: number;
491
+ autoCompactThresholdTokens?: number;
492
+ autoCompactionType?: ContextCompactionType;
491
493
  }
492
494
  declare const THEMES: readonly [
493
495
  "dark",
@@ -573,14 +575,18 @@ declare enum MemoryEmbeddingProvider {
573
575
  }
574
576
  declare enum ContextCompactionType {
575
577
  Compact = "compact",
576
- Handoff = "handoff"
578
+ Handoff = "handoff",
579
+ Smart = "smart"
577
580
  }
578
581
  export interface TaskSettings {
579
582
  smartTaskState: boolean;
580
583
  autoGenerateTaskName: boolean;
581
584
  showTaskStateActions: boolean;
582
585
  worktreeSymlinkFolders: string[];
583
- contextCompactingThreshold: number;
586
+ contextCompactingThreshold: {
587
+ percentage: number;
588
+ tokens: number;
589
+ };
584
590
  contextCompactionType: ContextCompactionType;
585
591
  taskNameModel?: string | null;
586
592
  taskStateModel?: string | null;
@@ -734,7 +740,7 @@ declare const TaskDataSchema: z.ZodObject<{
734
740
  reasoningEffort: z.ZodOptional<z.ZodString>;
735
741
  thinkingTokens: z.ZodOptional<z.ZodString>;
736
742
  currentMode: z.ZodOptional<z.ZodString>;
737
- contextCompactingThreshold: z.ZodOptional<z.ZodNumber>;
743
+ contextCompactingThresholdTokens: z.ZodOptional<z.ZodNumber>;
738
744
  weakModelLocked: z.ZodOptional<z.ZodBoolean>;
739
745
  handoff: z.ZodOptional<z.ZodBoolean>;
740
746
  lastAgentProviderMetadata: z.ZodOptional<z.ZodUnknown>;
@@ -789,6 +795,7 @@ export interface CustomCommand extends Command {
789
795
  template: string;
790
796
  includeContext?: boolean;
791
797
  autoApprove?: boolean;
798
+ skills?: string[];
792
799
  }
793
800
  declare enum MemoryEntryType {
794
801
  Task = "task",
@@ -1256,6 +1263,13 @@ export interface AiderPromptStartedEvent {
1256
1263
  export interface AiderPromptFinishedEvent {
1257
1264
  responses: ResponseCompletedData[];
1258
1265
  }
1266
+ /** Event payload for interrupt events */
1267
+ export interface InterruptedEvent {
1268
+ /** Optional interrupt ID for targeting a specific subagent or conflict-resolution agent */
1269
+ interruptId?: string;
1270
+ /** Set to true by extension to skip the default interrupt cleanup */
1271
+ blocked?: boolean;
1272
+ }
1259
1273
  /** Event payload for before commit events */
1260
1274
  export interface BeforeCommitEvent {
1261
1275
  message: string;
@@ -2128,6 +2142,12 @@ export interface Extension {
2128
2142
  * @returns void or partial event to modify reminders content
2129
2143
  */
2130
2144
  onImportantReminders?(event: ImportantRemindersEvent, context: ExtensionContext): Promise<void | Partial<ImportantRemindersEvent>>;
2145
+ /**
2146
+ * Called when a response is interrupted (e.g., user clicks Stop)
2147
+ * Set event.blocked = true to skip the default interrupt cleanup — the extension handles cancellation itself
2148
+ * @returns void or partial event to modify interrupt behavior
2149
+ */
2150
+ onInterrupted?(event: InterruptedEvent, context: ExtensionContext): Promise<void | Partial<InterruptedEvent>>;
2131
2151
  /**
2132
2152
  * Called when a tool requires approval
2133
2153
  * Set event.blocked = true to prevent execution
package/extensions.d.ts CHANGED
@@ -406,7 +406,6 @@ declare const ProjectSettingsSchema: z.ZodObject<{
406
406
  reasoningEffort: z.ZodOptional<z.ZodString>;
407
407
  thinkingTokens: z.ZodOptional<z.ZodString>;
408
408
  currentMode: z.ZodString;
409
- contextCompactingThreshold: z.ZodOptional<z.ZodNumber>;
410
409
  weakModelLocked: z.ZodOptional<z.ZodBoolean>;
411
410
  autoApproveLocked: z.ZodOptional<z.ZodBoolean>;
412
411
  updatedFilesGroupMode: z.ZodDefault<z.ZodEnum<{
@@ -488,6 +487,9 @@ export interface AgentProfile {
488
487
  subagent: SubagentConfig;
489
488
  isSubagent?: boolean;
490
489
  ruleFiles?: string[];
490
+ autoCompactThresholdPercentage?: number;
491
+ autoCompactThresholdTokens?: number;
492
+ autoCompactionType?: ContextCompactionType;
491
493
  }
492
494
  declare const THEMES: readonly [
493
495
  "dark",
@@ -573,14 +575,18 @@ declare enum MemoryEmbeddingProvider {
573
575
  }
574
576
  declare enum ContextCompactionType {
575
577
  Compact = "compact",
576
- Handoff = "handoff"
578
+ Handoff = "handoff",
579
+ Smart = "smart"
577
580
  }
578
581
  export interface TaskSettings {
579
582
  smartTaskState: boolean;
580
583
  autoGenerateTaskName: boolean;
581
584
  showTaskStateActions: boolean;
582
585
  worktreeSymlinkFolders: string[];
583
- contextCompactingThreshold: number;
586
+ contextCompactingThreshold: {
587
+ percentage: number;
588
+ tokens: number;
589
+ };
584
590
  contextCompactionType: ContextCompactionType;
585
591
  taskNameModel?: string | null;
586
592
  taskStateModel?: string | null;
@@ -734,7 +740,7 @@ declare const TaskDataSchema: z.ZodObject<{
734
740
  reasoningEffort: z.ZodOptional<z.ZodString>;
735
741
  thinkingTokens: z.ZodOptional<z.ZodString>;
736
742
  currentMode: z.ZodOptional<z.ZodString>;
737
- contextCompactingThreshold: z.ZodOptional<z.ZodNumber>;
743
+ contextCompactingThresholdTokens: z.ZodOptional<z.ZodNumber>;
738
744
  weakModelLocked: z.ZodOptional<z.ZodBoolean>;
739
745
  handoff: z.ZodOptional<z.ZodBoolean>;
740
746
  lastAgentProviderMetadata: z.ZodOptional<z.ZodUnknown>;
@@ -789,6 +795,7 @@ export interface CustomCommand extends Command {
789
795
  template: string;
790
796
  includeContext?: boolean;
791
797
  autoApprove?: boolean;
798
+ skills?: string[];
792
799
  }
793
800
  declare enum MemoryEntryType {
794
801
  Task = "task",
@@ -1256,6 +1263,13 @@ export interface AiderPromptStartedEvent {
1256
1263
  export interface AiderPromptFinishedEvent {
1257
1264
  responses: ResponseCompletedData[];
1258
1265
  }
1266
+ /** Event payload for interrupt events */
1267
+ export interface InterruptedEvent {
1268
+ /** Optional interrupt ID for targeting a specific subagent or conflict-resolution agent */
1269
+ interruptId?: string;
1270
+ /** Set to true by extension to skip the default interrupt cleanup */
1271
+ blocked?: boolean;
1272
+ }
1259
1273
  /** Event payload for before commit events */
1260
1274
  export interface BeforeCommitEvent {
1261
1275
  message: string;
@@ -2128,6 +2142,12 @@ export interface Extension {
2128
2142
  * @returns void or partial event to modify reminders content
2129
2143
  */
2130
2144
  onImportantReminders?(event: ImportantRemindersEvent, context: ExtensionContext): Promise<void | Partial<ImportantRemindersEvent>>;
2145
+ /**
2146
+ * Called when a response is interrupted (e.g., user clicks Stop)
2147
+ * Set event.blocked = true to skip the default interrupt cleanup — the extension handles cancellation itself
2148
+ * @returns void or partial event to modify interrupt behavior
2149
+ */
2150
+ onInterrupted?(event: InterruptedEvent, context: ExtensionContext): Promise<void | Partial<InterruptedEvent>>;
2131
2151
  /**
2132
2152
  * Called when a tool requires approval
2133
2153
  * Set event.blocked = true to prevent execution
package/extensions.json CHANGED
@@ -81,6 +81,15 @@
81
81
  "type": "single",
82
82
  "capabilities": ["context"]
83
83
  },
84
+ {
85
+ "id": "external-skills",
86
+ "name": "External Skills",
87
+ "description": "Includes skill files from Cursor, Claude Code, and other external AI coding assistants",
88
+ "folder": "external-skills",
89
+ "type": "folder",
90
+ "hasDependencies": false,
91
+ "capabilities": ["context"]
92
+ },
84
93
  {
85
94
  "id": "sound-notification",
86
95
  "name": "Sound Notification",
@@ -233,6 +242,15 @@
233
242
  "hasDependencies": false,
234
243
  "capabilities": ["metrics"]
235
244
  },
245
+ {
246
+ "id": "verifier",
247
+ "name": "Verifier",
248
+ "description": "Adds a 'Proceed & Verify' button that starts implementation with automatic review against the plan, with configurable max retries",
249
+ "folder": "verifier",
250
+ "type": "folder",
251
+ "hasDependencies": false,
252
+ "capabilities": ["workflows", "ui"]
253
+ },
236
254
  {
237
255
  "id": "bmad",
238
256
  "name": "BMAD Method",
@@ -241,6 +259,15 @@
241
259
  "type": "folder",
242
260
  "hasDependencies": true,
243
261
  "capabilities": ["modes", "ui"]
262
+ },
263
+ {
264
+ "id": "cursor-sdk",
265
+ "name": "Cursor SDK",
266
+ "description": "Integrates the Cursor SDK as a provider with cursor/ prefix, overriding the agent loop to run Cursor agents",
267
+ "folder": "cursor-sdk",
268
+ "type": "folder",
269
+ "hasDependencies": true,
270
+ "capabilities": ["providers", "agent-loop"]
244
271
  }
245
272
  ]
246
273
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiderdesk/extensions",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Type definitions and examples for AiderDesk extensions",
5
5
  "author": "Hotovo",
6
6
  "homepage": "https://aiderdesk.hotovo.com",