@aiderdesk/extensions 0.19.0 → 0.20.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 +14 -1
- package/extensions.d.ts +14 -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;
|
|
@@ -972,7 +974,7 @@ export interface ProviderDefinition {
|
|
|
972
974
|
headers?: Record<string, string>;
|
|
973
975
|
}
|
|
974
976
|
/** 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";
|
|
977
|
+
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
978
|
/**
|
|
977
979
|
* Definition of a React UI component that can be registered by an extension.
|
|
978
980
|
* The component is defined as a JSX string and rendered using string-to-react-component.
|
|
@@ -1010,6 +1012,17 @@ export interface UIComponentDefinition {
|
|
|
1010
1012
|
loadData?: boolean;
|
|
1011
1013
|
/** Optional flag to disable data caching - when true, data is always fetched fresh on render (default: false) */
|
|
1012
1014
|
noDataCache?: boolean;
|
|
1015
|
+
/** Optional filter for which messages this component should handle (for task-message placement) */
|
|
1016
|
+
messageFilter?: MessageFilter;
|
|
1017
|
+
}
|
|
1018
|
+
/** Filter for which messages a task-message extension component should handle */
|
|
1019
|
+
export interface MessageFilter {
|
|
1020
|
+
/** Message types this component handles (e.g. 'user', 'tool', 'response', 'log') */
|
|
1021
|
+
types?: string[];
|
|
1022
|
+
/** For tool messages: filter by server name */
|
|
1023
|
+
serverName?: string;
|
|
1024
|
+
/** For tool messages: filter by tool name */
|
|
1025
|
+
toolName?: string;
|
|
1013
1026
|
}
|
|
1014
1027
|
/**
|
|
1015
1028
|
* 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;
|
|
@@ -972,7 +974,7 @@ export interface ProviderDefinition {
|
|
|
972
974
|
headers?: Record<string, string>;
|
|
973
975
|
}
|
|
974
976
|
/** 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";
|
|
977
|
+
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
978
|
/**
|
|
977
979
|
* Definition of a React UI component that can be registered by an extension.
|
|
978
980
|
* The component is defined as a JSX string and rendered using string-to-react-component.
|
|
@@ -1010,6 +1012,17 @@ export interface UIComponentDefinition {
|
|
|
1010
1012
|
loadData?: boolean;
|
|
1011
1013
|
/** Optional flag to disable data caching - when true, data is always fetched fresh on render (default: false) */
|
|
1012
1014
|
noDataCache?: boolean;
|
|
1015
|
+
/** Optional filter for which messages this component should handle (for task-message placement) */
|
|
1016
|
+
messageFilter?: MessageFilter;
|
|
1017
|
+
}
|
|
1018
|
+
/** Filter for which messages a task-message extension component should handle */
|
|
1019
|
+
export interface MessageFilter {
|
|
1020
|
+
/** Message types this component handles (e.g. 'user', 'tool', 'response', 'log') */
|
|
1021
|
+
types?: string[];
|
|
1022
|
+
/** For tool messages: filter by server name */
|
|
1023
|
+
serverName?: string;
|
|
1024
|
+
/** For tool messages: filter by tool name */
|
|
1025
|
+
toolName?: string;
|
|
1013
1026
|
}
|
|
1014
1027
|
/**
|
|
1015
1028
|
* Marker type for UI components provided by AiderDesk
|