forked from op7418/CodePilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommand-icons.ts
More file actions
32 lines (30 loc) · 758 Bytes
/
command-icons.ts
File metadata and controls
32 lines (30 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
* Icon assignments for built-in commands.
*
* Separated from commands.ts so the constants layer stays presentation-free.
* Consumed by useSlashCommands to enrich BUILT_IN_COMMANDS before rendering.
*/
import {
Question,
Trash,
Coins,
FileZip,
Stethoscope,
NotePencil,
ListMagnifyingGlass,
Brain,
Terminal,
} from "@/components/ui/icon";
import type { IconComponent } from '@/types';
/** Map from command value (e.g. "/help") to its display icon. */
export const COMMAND_ICONS: Record<string, IconComponent> = {
'/help': Question,
'/clear': Trash,
'/cost': Coins,
'/compact': FileZip,
'/doctor': Stethoscope,
'/init': NotePencil,
'/review': ListMagnifyingGlass,
'/terminal-setup': Terminal,
'/memory': Brain,
};