feat: add instance list component and integrate into workspace

- Create InstanceList component with create/start/stop/restart/delete
- Add tool instance icons (external, play, stop)
- Integrate InstanceList into RepoWorkspace sidebar
- Load tool types for instance creation
- Add instance-specific CSS styles

Quality gates: typecheck ✓, lint ✓, build ✓
This commit is contained in:
Fusion
2026-05-19 20:50:08 +02:00
parent c795f8f873
commit f997b3f7c5
5 changed files with 354 additions and 3 deletions
+10 -1
View File
@@ -29,6 +29,9 @@ import {
Image,
Binary,
Code,
ArrowSquareOut,
Play,
Stop,
} from "@phosphor-icons/react";
export type IconName =
@@ -65,7 +68,10 @@ export type IconName =
| "code"
| "document"
| "image"
| "binary";
| "binary"
| "external"
| "play"
| "stop";
const iconMap: Record<IconName, React.ComponentType<{ size?: number | string; weight?: "thin" | "light" | "regular" | "bold" | "fill" | "duotone" }>> = {
dashboard: House,
@@ -102,6 +108,9 @@ const iconMap: Record<IconName, React.ComponentType<{ size?: number | string; we
document: FileText,
image: Image,
binary: Binary,
external: ArrowSquareOut,
play: Play,
stop: Stop,
};
export interface IconProps {