Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class ListAutomationsTool implements IToolImpl {
id: ListAutomationsToolId,
toolReferenceName: 'listAutomations',
canBeReferencedInPrompt: false,
icon: Codicon.watch,
icon: Codicon.calendar,
displayName: localize('automation.tool.list.displayName', "List Automations"),
userDescription: localize('automation.tool.list.userDescription', "List scheduled agent automations"),
modelDescription: 'List all configured scheduled automations and their stable IDs, editable fields, targets, and timing metadata. Use this before configureAutomation, runAutomation, or deleteAutomation when acting on an existing automation. This tool never changes automation state.',
Expand Down Expand Up @@ -366,7 +366,7 @@ export class ConfigureAutomationTool implements IToolImpl {
id: ConfigureAutomationToolId,
toolReferenceName: ConfigureAutomationToolReferenceName,
canBeReferencedInPrompt: false,
icon: Codicon.watch,
icon: Codicon.calendar,
displayName: localize('automation.tool.configure.displayName', "Configure Automation"),
userDescription: localize('automation.tool.configure.userDescription', "Create or update an automation"),
modelDescription: `Create or update a scheduled automation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ function getSessionSectionIcon(sectionId: string): ThemeIcon | undefined {
case 'pinned':
return Codicon.pinned;
case AUTOMATIONS_SECTION_ID:
return Codicon.watch;
return Codicon.calendar;
case 'archived':
return Codicon.archive;
case 'recent':
Expand Down Expand Up @@ -1368,7 +1368,7 @@ export class SessionSectionRenderer implements ITreeRenderer<SessionListItem, Fu
statusIcon.setStatus(SessionStatus.Completed, false, false);
} else {
statusIcon.reset();
template.icon.className = `session-section-icon ${ThemeIcon.asClassName(Codicon.watch)}`;
template.icon.className = `session-section-icon ${ThemeIcon.asClassName(Codicon.calendar)}`;
}
}));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ export const promptIcon = registerIcon('ai-customization-prompt', Codicon.bookma
*/
export const hookIcon = registerIcon('ai-customization-hook', Codicon.zap, localize('aiCustomizationHookIcon', "Icon for hooks."));

/**
* Icon for automations.
*/
export const automationIcon = registerIcon('ai-customization-automation', Codicon.watch, localize('aiCustomizationAutomationIcon', "Icon for scheduled automations."));

/**
* Icon for adding a new item.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class ClientToolSetsContribution extends Disposable implements IWorkbench
this._register(this._registerDynamicToolSet(toolsService, {
id: 'vscode-automations',
referenceName: 'vscodeAutomations',
icon: Codicon.watch,
icon: Codicon.calendar,
description: localize('clientToolSet.automations.description', "Automations"),
detail: localize('clientToolSet.automations.detail', "List, configure, run, and delete scheduled agent automations."),
members: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class ChatAutomationConfiguredResultSubPart extends BaseChatToolInvocatio
}));
button.element.classList.add('chat-open-session-button');
button.label = label;
button.icon = Codicon.watch;
button.icon = Codicon.calendar;
this._register(button.onDidClick(() => this.commandService.executeCommand(
'sessionsView.manageAutomations',
)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ suite('ChatToolProgressSubPart', () => {
text: button?.textContent,
ariaLabel: button?.getAttribute('aria-label'),
tabIndex: button?.tabIndex,
watchIconIsChild: !!button?.querySelector('.codicon-watch'),
calendarIconIsChild: !!button?.querySelector('.codicon-calendar'),
// `codicon-*` on the root would restyle the label text.
rootCarriesCodiconClass: button?.classList.contains('codicon'),
injectedIcons: [...button?.querySelectorAll('.codicon') ?? []]
Expand All @@ -411,17 +411,17 @@ suite('ChatToolProgressSubPart', () => {
text: 'Created an automation: $(error)',
ariaLabel: 'Open automation $(error)',
tabIndex: 0,
watchIconIsChild: true,
calendarIconIsChild: true,
rootCarriesCodiconClass: false,
injectedIcons: ['codicon-watch'],
injectedIcons: ['codicon-calendar'],
},
{
text: 'Created an automation: a \\$(error) b',
ariaLabel: 'Open automation a \\$(error) b',
tabIndex: 0,
watchIconIsChild: true,
calendarIconIsChild: true,
rootCarriesCodiconClass: false,
injectedIcons: ['codicon-watch'],
injectedIcons: ['codicon-calendar'],
},
]);
});
Expand Down
Loading