@aiderdesk/extensions 0.19.0 → 0.21.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 +15 -1
- package/extensions.d.ts +15 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -338,6 +338,7 @@ export interface ResponseChunkData {
|
|
|
338
338
|
baseDir: string;
|
|
339
339
|
taskId: string;
|
|
340
340
|
chunk: string;
|
|
341
|
+
reasoning?: string;
|
|
341
342
|
reflectedMessage?: string;
|
|
342
343
|
promptContext?: PromptContext;
|
|
343
344
|
}
|
|
@@ -347,6 +348,7 @@ export interface ResponseCompletedData {
|
|
|
347
348
|
baseDir: string;
|
|
348
349
|
taskId: string;
|
|
349
350
|
content: string;
|
|
351
|
+
reasoning?: string;
|
|
350
352
|
reflectedMessage?: string;
|
|
351
353
|
editedFiles?: string[];
|
|
352
354
|
commitHash?: string;
|
|
@@ -838,6 +840,7 @@ export declare const AIDER_DESK_EXTENSIONS_REPO_URL = "https://github.com/hotovo
|
|
|
838
840
|
export interface ResponseMessage {
|
|
839
841
|
id: string;
|
|
840
842
|
content: string;
|
|
843
|
+
reasoning?: string;
|
|
841
844
|
reflectedMessage?: string;
|
|
842
845
|
finished: boolean;
|
|
843
846
|
usageReport?: UsageReportData;
|
|
@@ -972,7 +975,7 @@ export interface ProviderDefinition {
|
|
|
972
975
|
headers?: Record<string, string>;
|
|
973
976
|
}
|
|
974
977
|
/** Placement locations for extension UI components */
|
|
975
|
-
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" | "tasks-sidebar-actions-left" | "tasks-sidebar-actions-right" | "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" | "floating";
|
|
978
|
+
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" | "tasks-sidebar-actions-left" | "tasks-sidebar-actions-right" | "task-message" | "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" | "floating";
|
|
976
979
|
/**
|
|
977
980
|
* Definition of a React UI component that can be registered by an extension.
|
|
978
981
|
* The component is defined as a JSX string and rendered using string-to-react-component.
|
|
@@ -1010,6 +1013,17 @@ export interface UIComponentDefinition {
|
|
|
1010
1013
|
loadData?: boolean;
|
|
1011
1014
|
/** Optional flag to disable data caching - when true, data is always fetched fresh on render (default: false) */
|
|
1012
1015
|
noDataCache?: boolean;
|
|
1016
|
+
/** Optional filter for which messages this component should handle (for task-message placement) */
|
|
1017
|
+
messageFilter?: MessageFilter;
|
|
1018
|
+
}
|
|
1019
|
+
/** Filter for which messages a task-message extension component should handle */
|
|
1020
|
+
export interface MessageFilter {
|
|
1021
|
+
/** Message types this component handles (e.g. 'user', 'tool', 'response', 'log') */
|
|
1022
|
+
types?: string[];
|
|
1023
|
+
/** For tool messages: filter by server name */
|
|
1024
|
+
serverName?: string;
|
|
1025
|
+
/** For tool messages: filter by tool name */
|
|
1026
|
+
toolName?: string;
|
|
1013
1027
|
}
|
|
1014
1028
|
/**
|
|
1015
1029
|
* Marker type for UI components provided by AiderDesk
|
package/extensions.d.ts
CHANGED
|
@@ -338,6 +338,7 @@ export interface ResponseChunkData {
|
|
|
338
338
|
baseDir: string;
|
|
339
339
|
taskId: string;
|
|
340
340
|
chunk: string;
|
|
341
|
+
reasoning?: string;
|
|
341
342
|
reflectedMessage?: string;
|
|
342
343
|
promptContext?: PromptContext;
|
|
343
344
|
}
|
|
@@ -347,6 +348,7 @@ export interface ResponseCompletedData {
|
|
|
347
348
|
baseDir: string;
|
|
348
349
|
taskId: string;
|
|
349
350
|
content: string;
|
|
351
|
+
reasoning?: string;
|
|
350
352
|
reflectedMessage?: string;
|
|
351
353
|
editedFiles?: string[];
|
|
352
354
|
commitHash?: string;
|
|
@@ -838,6 +840,7 @@ export declare const AIDER_DESK_EXTENSIONS_REPO_URL = "https://github.com/hotovo
|
|
|
838
840
|
export interface ResponseMessage {
|
|
839
841
|
id: string;
|
|
840
842
|
content: string;
|
|
843
|
+
reasoning?: string;
|
|
841
844
|
reflectedMessage?: string;
|
|
842
845
|
finished: boolean;
|
|
843
846
|
usageReport?: UsageReportData;
|
|
@@ -972,7 +975,7 @@ export interface ProviderDefinition {
|
|
|
972
975
|
headers?: Record<string, string>;
|
|
973
976
|
}
|
|
974
977
|
/** Placement locations for extension UI components */
|
|
975
|
-
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" | "tasks-sidebar-actions-left" | "tasks-sidebar-actions-right" | "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" | "floating";
|
|
978
|
+
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" | "tasks-sidebar-actions-left" | "tasks-sidebar-actions-right" | "task-message" | "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" | "floating";
|
|
976
979
|
/**
|
|
977
980
|
* Definition of a React UI component that can be registered by an extension.
|
|
978
981
|
* The component is defined as a JSX string and rendered using string-to-react-component.
|
|
@@ -1010,6 +1013,17 @@ export interface UIComponentDefinition {
|
|
|
1010
1013
|
loadData?: boolean;
|
|
1011
1014
|
/** Optional flag to disable data caching - when true, data is always fetched fresh on render (default: false) */
|
|
1012
1015
|
noDataCache?: boolean;
|
|
1016
|
+
/** Optional filter for which messages this component should handle (for task-message placement) */
|
|
1017
|
+
messageFilter?: MessageFilter;
|
|
1018
|
+
}
|
|
1019
|
+
/** Filter for which messages a task-message extension component should handle */
|
|
1020
|
+
export interface MessageFilter {
|
|
1021
|
+
/** Message types this component handles (e.g. 'user', 'tool', 'response', 'log') */
|
|
1022
|
+
types?: string[];
|
|
1023
|
+
/** For tool messages: filter by server name */
|
|
1024
|
+
serverName?: string;
|
|
1025
|
+
/** For tool messages: filter by tool name */
|
|
1026
|
+
toolName?: string;
|
|
1013
1027
|
}
|
|
1014
1028
|
/**
|
|
1015
1029
|
* Marker type for UI components provided by AiderDesk
|