mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Use robot icon in terminal and panels; update banner icon
This commit is contained in:
@@ -37,3 +37,6 @@ webview-ui/node_modules/**
|
||||
|
||||
# Include default themes JSON files used in getTheme
|
||||
!src/utils/default-themes/**
|
||||
|
||||
# Include icons
|
||||
!icons/**
|
||||
BIN
icons/icon.png
Normal file
BIN
icons/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
BIN
icons/robot_panel_dark.png
Normal file
BIN
icons/robot_panel_dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 718 B |
BIN
icons/robot_panel_light.png
Normal file
BIN
icons/robot_panel_light.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 689 B |
@@ -3,7 +3,11 @@
|
||||
"displayName": "Claude Dev",
|
||||
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.",
|
||||
"version": "1.5.34",
|
||||
"icon": "icon.png",
|
||||
"icon": "icons/icon.png",
|
||||
"galleryBanner": {
|
||||
"color": "#C1DCEA",
|
||||
"theme": "light"
|
||||
},
|
||||
"engines": {
|
||||
"vscode": "^1.84.0"
|
||||
},
|
||||
|
||||
@@ -67,7 +67,11 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
localResourceRoots: [context.extensionUri],
|
||||
})
|
||||
// TODO: use better svg icon with light and dark variants (see https://stackoverflow.com/questions/58365687/vscode-extension-iconpath)
|
||||
panel.iconPath = vscode.Uri.joinPath(context.extensionUri, "icon.png")
|
||||
|
||||
panel.iconPath = {
|
||||
light: vscode.Uri.joinPath(context.extensionUri, "icons", "robot_panel_light.png"),
|
||||
dark: vscode.Uri.joinPath(context.extensionUri, "icons", "robot_panel_dark.png"),
|
||||
}
|
||||
tabProvider.resolveWebviewView(panel)
|
||||
|
||||
// Lock the editor group so clicking on files doesn't open them over the panel
|
||||
|
||||
@@ -44,7 +44,6 @@ console.log('Unretrieved output:', unretrievedOutput);
|
||||
*/
|
||||
|
||||
export class TerminalManager {
|
||||
private static readonly TERMINAL_NAME = "Claude Dev"
|
||||
private terminals: TerminalInfo[] = []
|
||||
private processes: Map<number, TerminalProcess> = new Map()
|
||||
private context: vscode.ExtensionContext
|
||||
@@ -127,8 +126,9 @@ export class TerminalManager {
|
||||
}
|
||||
|
||||
const newTerminal = vscode.window.createTerminal({
|
||||
name: `${TerminalManager.TERMINAL_NAME} ${this.nextTerminalId}`,
|
||||
name: "Claude Dev",
|
||||
cwd: cwd,
|
||||
iconPath: new vscode.ThemeIcon("robot"),
|
||||
})
|
||||
const newTerminalInfo: TerminalInfo = {
|
||||
terminal: newTerminal,
|
||||
|
||||
Reference in New Issue
Block a user