create-claude-code-visualizer 0.1.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/index.js +393 -0
- package/package.json +31 -0
- package/templates/CLAUDE.md +108 -0
- package/templates/app/.env.local.example +14 -0
- package/templates/app/ecosystem.config.js +29 -0
- package/templates/app/next-env.d.ts +6 -0
- package/templates/app/next.config.ts +16 -0
- package/templates/app/package-lock.json +4581 -0
- package/templates/app/package.json +38 -0
- package/templates/app/postcss.config.js +5 -0
- package/templates/app/src/app/agents/[slug]/chat/loading.tsx +26 -0
- package/templates/app/src/app/agents/[slug]/chat/page.tsx +579 -0
- package/templates/app/src/app/agents/[slug]/loading.tsx +19 -0
- package/templates/app/src/app/agents/page.tsx +8 -0
- package/templates/app/src/app/api/agents/[slug]/capabilities/route.ts +11 -0
- package/templates/app/src/app/api/agents/[slug]/route.ts +57 -0
- package/templates/app/src/app/api/agents/route.ts +28 -0
- package/templates/app/src/app/api/ai/generate-agent/route.ts +87 -0
- package/templates/app/src/app/api/ai/improve-claude-md/route.ts +78 -0
- package/templates/app/src/app/api/ai/suggestions/route.ts +64 -0
- package/templates/app/src/app/api/ai/title/route.ts +88 -0
- package/templates/app/src/app/api/auth/role/route.ts +17 -0
- package/templates/app/src/app/api/commands/[slug]/route.ts +61 -0
- package/templates/app/src/app/api/commands/route.ts +6 -0
- package/templates/app/src/app/api/governance/costs/route.ts +117 -0
- package/templates/app/src/app/api/governance/sessions/route.ts +335 -0
- package/templates/app/src/app/api/notifications/route.ts +62 -0
- package/templates/app/src/app/api/preferences/route.ts +44 -0
- package/templates/app/src/app/api/runs/[id]/approve/route.ts +38 -0
- package/templates/app/src/app/api/runs/[id]/events/route.ts +28 -0
- package/templates/app/src/app/api/runs/[id]/metadata/route.ts +30 -0
- package/templates/app/src/app/api/runs/[id]/route.ts +21 -0
- package/templates/app/src/app/api/runs/[id]/start/route.ts +61 -0
- package/templates/app/src/app/api/runs/[id]/stop/route.ts +16 -0
- package/templates/app/src/app/api/runs/[id]/stream/route.ts +201 -0
- package/templates/app/src/app/api/runs/route.ts +95 -0
- package/templates/app/src/app/api/schedules/[id]/route.ts +81 -0
- package/templates/app/src/app/api/schedules/route.ts +75 -0
- package/templates/app/src/app/api/settings/access-logs/route.ts +33 -0
- package/templates/app/src/app/api/settings/claude-md/route.ts +44 -0
- package/templates/app/src/app/api/settings/env-keys/route.ts +271 -0
- package/templates/app/src/app/api/settings/users/route.ts +108 -0
- package/templates/app/src/app/api/skills/[slug]/route.ts +43 -0
- package/templates/app/src/app/api/skills/route.ts +6 -0
- package/templates/app/src/app/api/tools/route.ts +65 -0
- package/templates/app/src/app/api/uploads/cleanup/route.ts +29 -0
- package/templates/app/src/app/api/uploads/route.ts +77 -0
- package/templates/app/src/app/auth/callback/route.ts +19 -0
- package/templates/app/src/app/globals.css +115 -0
- package/templates/app/src/app/layout.tsx +24 -0
- package/templates/app/src/app/loading.tsx +16 -0
- package/templates/app/src/app/login/page.tsx +64 -0
- package/templates/app/src/app/not-authorized/page.tsx +33 -0
- package/templates/app/src/app/runs/page.tsx +55 -0
- package/templates/app/src/app/schedules/page.tsx +110 -0
- package/templates/app/src/app/settings/page.tsx +1294 -0
- package/templates/app/src/app/skills/page.tsx +7 -0
- package/templates/app/src/components/agent-card.tsx +58 -0
- package/templates/app/src/components/agent-grid.tsx +90 -0
- package/templates/app/src/components/auth/auth-context.tsx +79 -0
- package/templates/app/src/components/chat-thread.tsx +50 -0
- package/templates/app/src/components/chat-view.tsx +670 -0
- package/templates/app/src/components/commands-browser.tsx +349 -0
- package/templates/app/src/components/create-agent-modal.tsx +388 -0
- package/templates/app/src/components/governance-dashboard.tsx +397 -0
- package/templates/app/src/components/icons.tsx +401 -0
- package/templates/app/src/components/layout/agent-sidebar.tsx +504 -0
- package/templates/app/src/components/layout/app-shell.tsx +29 -0
- package/templates/app/src/components/layout/nav.tsx +87 -0
- package/templates/app/src/components/layout/overview-inner.tsx +14 -0
- package/templates/app/src/components/layout/profile-menu.tsx +95 -0
- package/templates/app/src/components/layout/sidebar.tsx +30 -0
- package/templates/app/src/components/markdown.tsx +57 -0
- package/templates/app/src/components/message-bar.tsx +161 -0
- package/templates/app/src/components/notifications/notification-bell.tsx +104 -0
- package/templates/app/src/components/notifications/notification-panel.tsx +116 -0
- package/templates/app/src/components/overview/overview-content.tsx +287 -0
- package/templates/app/src/components/overview/overview-context.tsx +88 -0
- package/templates/app/src/components/preferences-modal.tsx +112 -0
- package/templates/app/src/components/run-form.tsx +73 -0
- package/templates/app/src/components/run-history-table.tsx +226 -0
- package/templates/app/src/components/run-output.tsx +187 -0
- package/templates/app/src/components/schedule-form.tsx +148 -0
- package/templates/app/src/components/skills-browser.tsx +338 -0
- package/templates/app/src/components/tool-tooltip.tsx +82 -0
- package/templates/app/src/hooks/use-sse.ts +115 -0
- package/templates/app/src/instrumentation.ts +9 -0
- package/templates/app/src/lib/agent-cache.ts +19 -0
- package/templates/app/src/lib/agent-runner.ts +411 -0
- package/templates/app/src/lib/agents.ts +168 -0
- package/templates/app/src/lib/ai.ts +40 -0
- package/templates/app/src/lib/approval-store.ts +70 -0
- package/templates/app/src/lib/auth-guard.ts +116 -0
- package/templates/app/src/lib/capabilities.ts +191 -0
- package/templates/app/src/lib/line-diff.ts +96 -0
- package/templates/app/src/lib/queue.ts +22 -0
- package/templates/app/src/lib/redis.ts +12 -0
- package/templates/app/src/lib/role-permissions.ts +166 -0
- package/templates/app/src/lib/run-agent.ts +442 -0
- package/templates/app/src/lib/supabase-browser.ts +8 -0
- package/templates/app/src/lib/supabase-middleware.ts +63 -0
- package/templates/app/src/lib/supabase-server.ts +28 -0
- package/templates/app/src/lib/supabase.ts +6 -0
- package/templates/app/src/lib/tool-descriptions.ts +29 -0
- package/templates/app/src/lib/types.ts +73 -0
- package/templates/app/src/lib/typewriter-animation.ts +159 -0
- package/templates/app/src/middleware.ts +13 -0
- package/templates/app/tsconfig.json +21 -0
- package/templates/app/uploads/.gitkeep +0 -0
- package/templates/app/worker/index.ts +342 -0
- package/templates/claude/agents/ai-trends-scout.md +66 -0
- package/templates/claude/commands/add-to-todos.md +56 -0
- package/templates/claude/commands/check-todos.md +56 -0
- package/templates/claude/hooks/auto-approve-safe.sh +34 -0
- package/templates/claude/hooks/auto-format.sh +25 -0
- package/templates/claude/hooks/block-destructive.sh +32 -0
- package/templates/claude/hooks/compaction-preserver.sh +16 -0
- package/templates/claude/hooks/notify.sh +26 -0
- package/templates/claude/settings.local.json +66 -0
- package/templates/claude/skills/frontend-design/SKILL.md +127 -0
- package/templates/claude/skills/frontend-design/reference/color-and-contrast.md +132 -0
- package/templates/claude/skills/frontend-design/reference/interaction-design.md +123 -0
- package/templates/claude/skills/frontend-design/reference/motion-design.md +99 -0
- package/templates/claude/skills/frontend-design/reference/responsive-design.md +114 -0
- package/templates/claude/skills/frontend-design/reference/spatial-design.md +100 -0
- package/templates/claude/skills/frontend-design/reference/typography.md +131 -0
- package/templates/claude/skills/frontend-design/reference/ux-writing.md +107 -0
- package/templates/claude/skills/gws-admin-reports/SKILL.md +57 -0
- package/templates/claude/skills/gws-calendar/SKILL.md +108 -0
- package/templates/claude/skills/gws-calendar-agenda/SKILL.md +52 -0
- package/templates/claude/skills/gws-calendar-insert/SKILL.md +55 -0
- package/templates/claude/skills/gws-chat/SKILL.md +73 -0
- package/templates/claude/skills/gws-chat-send/SKILL.md +49 -0
- package/templates/claude/skills/gws-classroom/SKILL.md +75 -0
- package/templates/claude/skills/gws-docs/SKILL.md +48 -0
- package/templates/claude/skills/gws-docs-write/SKILL.md +49 -0
- package/templates/claude/skills/gws-drive/SKILL.md +137 -0
- package/templates/claude/skills/gws-drive-upload/SKILL.md +52 -0
- package/templates/claude/skills/gws-events/SKILL.md +67 -0
- package/templates/claude/skills/gws-events-renew/SKILL.md +48 -0
- package/templates/claude/skills/gws-events-subscribe/SKILL.md +59 -0
- package/templates/claude/skills/gws-forms/SKILL.md +45 -0
- package/templates/claude/skills/gws-gmail/SKILL.md +59 -0
- package/templates/claude/skills/gws-gmail-forward/SKILL.md +53 -0
- package/templates/claude/skills/gws-gmail-reply/SKILL.md +56 -0
- package/templates/claude/skills/gws-gmail-reply-all/SKILL.md +60 -0
- package/templates/claude/skills/gws-gmail-send/SKILL.md +55 -0
- package/templates/claude/skills/gws-gmail-triage/SKILL.md +50 -0
- package/templates/claude/skills/gws-gmail-watch/SKILL.md +58 -0
- package/templates/claude/skills/gws-keep/SKILL.md +48 -0
- package/templates/claude/skills/gws-meet/SKILL.md +51 -0
- package/templates/claude/skills/gws-modelarmor/SKILL.md +42 -0
- package/templates/claude/skills/gws-modelarmor-create-template/SKILL.md +53 -0
- package/templates/claude/skills/gws-modelarmor-sanitize-prompt/SKILL.md +48 -0
- package/templates/claude/skills/gws-modelarmor-sanitize-response/SKILL.md +48 -0
- package/templates/claude/skills/gws-people/SKILL.md +67 -0
- package/templates/claude/skills/gws-shared/SKILL.md +66 -0
- package/templates/claude/skills/gws-sheets/SKILL.md +53 -0
- package/templates/claude/skills/gws-sheets-append/SKILL.md +51 -0
- package/templates/claude/skills/gws-sheets-read/SKILL.md +47 -0
- package/templates/claude/skills/gws-slides/SKILL.md +43 -0
- package/templates/claude/skills/gws-tasks/SKILL.md +56 -0
- package/templates/claude/skills/gws-workflow/SKILL.md +44 -0
- package/templates/claude/skills/gws-workflow-email-to-task/SKILL.md +47 -0
- package/templates/claude/skills/gws-workflow-file-announce/SKILL.md +50 -0
- package/templates/claude/skills/gws-workflow-meeting-prep/SKILL.md +47 -0
- package/templates/claude/skills/gws-workflow-standup-report/SKILL.md +46 -0
- package/templates/claude/skills/gws-workflow-weekly-digest/SKILL.md +46 -0
- package/templates/claude/skills/persona-content-creator/SKILL.md +33 -0
- package/templates/claude/skills/persona-customer-support/SKILL.md +34 -0
- package/templates/claude/skills/persona-event-coordinator/SKILL.md +35 -0
- package/templates/claude/skills/persona-exec-assistant/SKILL.md +35 -0
- package/templates/claude/skills/persona-hr-coordinator/SKILL.md +33 -0
- package/templates/claude/skills/persona-it-admin/SKILL.md +30 -0
- package/templates/claude/skills/persona-project-manager/SKILL.md +35 -0
- package/templates/claude/skills/persona-researcher/SKILL.md +33 -0
- package/templates/claude/skills/persona-sales-ops/SKILL.md +35 -0
- package/templates/claude/skills/persona-team-lead/SKILL.md +36 -0
- package/templates/claude/skills/recipe-backup-sheet-as-csv/SKILL.md +25 -0
- package/templates/claude/skills/recipe-batch-invite-to-event/SKILL.md +25 -0
- package/templates/claude/skills/recipe-block-focus-time/SKILL.md +24 -0
- package/templates/claude/skills/recipe-bulk-download-folder/SKILL.md +25 -0
- package/templates/claude/skills/recipe-collect-form-responses/SKILL.md +25 -0
- package/templates/claude/skills/recipe-compare-sheet-tabs/SKILL.md +25 -0
- package/templates/claude/skills/recipe-copy-sheet-for-new-month/SKILL.md +25 -0
- package/templates/claude/skills/recipe-create-classroom-course/SKILL.md +25 -0
- package/templates/claude/skills/recipe-create-doc-from-template/SKILL.md +29 -0
- package/templates/claude/skills/recipe-create-events-from-sheet/SKILL.md +24 -0
- package/templates/claude/skills/recipe-create-expense-tracker/SKILL.md +26 -0
- package/templates/claude/skills/recipe-create-feedback-form/SKILL.md +25 -0
- package/templates/claude/skills/recipe-create-gmail-filter/SKILL.md +26 -0
- package/templates/claude/skills/recipe-create-meet-space/SKILL.md +25 -0
- package/templates/claude/skills/recipe-create-presentation/SKILL.md +25 -0
- package/templates/claude/skills/recipe-create-shared-drive/SKILL.md +25 -0
- package/templates/claude/skills/recipe-create-task-list/SKILL.md +26 -0
- package/templates/claude/skills/recipe-create-vacation-responder/SKILL.md +25 -0
- package/templates/claude/skills/recipe-draft-email-from-doc/SKILL.md +25 -0
- package/templates/claude/skills/recipe-email-drive-link/SKILL.md +25 -0
- package/templates/claude/skills/recipe-find-free-time/SKILL.md +25 -0
- package/templates/claude/skills/recipe-find-large-files/SKILL.md +24 -0
- package/templates/claude/skills/recipe-forward-labeled-emails/SKILL.md +27 -0
- package/templates/claude/skills/recipe-generate-report-from-sheet/SKILL.md +34 -0
- package/templates/claude/skills/recipe-label-and-archive-emails/SKILL.md +25 -0
- package/templates/claude/skills/recipe-log-deal-update/SKILL.md +25 -0
- package/templates/claude/skills/recipe-organize-drive-folder/SKILL.md +26 -0
- package/templates/claude/skills/recipe-plan-weekly-schedule/SKILL.md +26 -0
- package/templates/claude/skills/recipe-post-mortem-setup/SKILL.md +25 -0
- package/templates/claude/skills/recipe-reschedule-meeting/SKILL.md +25 -0
- package/templates/claude/skills/recipe-review-meet-participants/SKILL.md +25 -0
- package/templates/claude/skills/recipe-review-overdue-tasks/SKILL.md +25 -0
- package/templates/claude/skills/recipe-save-email-attachments/SKILL.md +26 -0
- package/templates/claude/skills/recipe-save-email-to-doc/SKILL.md +29 -0
- package/templates/claude/skills/recipe-schedule-recurring-event/SKILL.md +24 -0
- package/templates/claude/skills/recipe-send-team-announcement/SKILL.md +24 -0
- package/templates/claude/skills/recipe-share-doc-and-notify/SKILL.md +25 -0
- package/templates/claude/skills/recipe-share-event-materials/SKILL.md +25 -0
- package/templates/claude/skills/recipe-share-folder-with-team/SKILL.md +26 -0
- package/templates/claude/skills/recipe-sync-contacts-to-sheet/SKILL.md +25 -0
- package/templates/claude/skills/recipe-watch-drive-changes/SKILL.md +25 -0
- package/templates/mcp.json +12 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Consistent SVG icon system — Linear-style.
|
|
3
|
+
* All icons: 16px default, 1.5px stroke, currentColor, rounded caps/joins.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { SVGProps } from "react";
|
|
7
|
+
|
|
8
|
+
type IconProps = SVGProps<SVGSVGElement> & { size?: number };
|
|
9
|
+
|
|
10
|
+
function Icon({ size = 16, children, ...props }: IconProps & { children: React.ReactNode }) {
|
|
11
|
+
return (
|
|
12
|
+
<svg
|
|
13
|
+
width={size}
|
|
14
|
+
height={size}
|
|
15
|
+
viewBox="0 0 16 16"
|
|
16
|
+
fill="none"
|
|
17
|
+
stroke="currentColor"
|
|
18
|
+
strokeWidth="1.5"
|
|
19
|
+
strokeLinecap="round"
|
|
20
|
+
strokeLinejoin="round"
|
|
21
|
+
{...props}
|
|
22
|
+
>
|
|
23
|
+
{children}
|
|
24
|
+
</svg>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// --- Navigation ---
|
|
29
|
+
|
|
30
|
+
export function BrainIcon(props: IconProps) {
|
|
31
|
+
return (
|
|
32
|
+
<Icon {...props}>
|
|
33
|
+
<path d="M8 2C5.8 2 4 3.8 4 6c0 1.2.5 2.2 1.3 3L6 10.5v1a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-1L10.7 9A4 4 0 0012 6c0-2.2-1.8-4-4-4z" />
|
|
34
|
+
<path d="M6.5 13h3M7 14h2" />
|
|
35
|
+
</Icon>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function GridIcon(props: IconProps) {
|
|
40
|
+
return (
|
|
41
|
+
<Icon {...props}>
|
|
42
|
+
<rect x="2" y="2" width="5" height="5" rx="1" />
|
|
43
|
+
<rect x="9" y="2" width="5" height="5" rx="1" />
|
|
44
|
+
<rect x="2" y="9" width="5" height="5" rx="1" />
|
|
45
|
+
<rect x="9" y="9" width="5" height="5" rx="1" />
|
|
46
|
+
</Icon>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function AgentsIcon(props: IconProps) {
|
|
51
|
+
return (
|
|
52
|
+
<Icon {...props}>
|
|
53
|
+
<circle cx="8" cy="5" r="2.5" />
|
|
54
|
+
<path d="M3 13.5c0-2.5 2.2-4.5 5-4.5s5 2 5 4.5" />
|
|
55
|
+
</Icon>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function HistoryIcon(props: IconProps) {
|
|
60
|
+
return (
|
|
61
|
+
<Icon {...props}>
|
|
62
|
+
<circle cx="8" cy="8" r="5.5" />
|
|
63
|
+
<path d="M8 5v3.5l2.5 1.5" />
|
|
64
|
+
</Icon>
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ClockIcon(props: IconProps) {
|
|
69
|
+
return (
|
|
70
|
+
<Icon {...props}>
|
|
71
|
+
<circle cx="8" cy="8" r="5.5" />
|
|
72
|
+
<path d="M8 4.5v3.5l2 2" />
|
|
73
|
+
</Icon>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function BoltIcon(props: IconProps) {
|
|
78
|
+
return (
|
|
79
|
+
<Icon {...props}>
|
|
80
|
+
<path d="M9 2L4 9h4l-1 5 5-7H8l1-5z" />
|
|
81
|
+
</Icon>
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function ShieldIcon(props: IconProps) {
|
|
86
|
+
return (
|
|
87
|
+
<Icon {...props}>
|
|
88
|
+
<path d="M8 2L3 4.5v3c0 3.3 2.1 6 5 7 2.9-1 5-3.7 5-7v-3L8 2z" />
|
|
89
|
+
</Icon>
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function SettingsIcon(props: IconProps) {
|
|
94
|
+
return (
|
|
95
|
+
<Icon {...props}>
|
|
96
|
+
<circle cx="8" cy="8" r="2" />
|
|
97
|
+
<path d="M13.3 9.7l.7.4v-4.2l-.7.4a2 2 0 01-2.6-.7l-.4-.7H9.7l-.4.7a2 2 0 01-2.6.7l-.7-.4v4.2l.7-.4a2 2 0 012.6.7l.4.7h2.6l.4-.7a2 2 0 012.6-.7z" stroke="none" />
|
|
98
|
+
<path d="M6.7 2.5l-.4 1.2a1.5 1.5 0 01-1.1.9l-1.2.3v2.2l1.2.3c.5.1.9.5 1.1.9l.4 1.2h2.6l.4-1.2c.2-.4.6-.8 1.1-.9l1.2-.3V5.9l-1.2-.3a1.5 1.5 0 01-1.1-.9l-.4-1.2H6.7z" />
|
|
99
|
+
</Icon>
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function GearIcon(props: IconProps) {
|
|
104
|
+
return (
|
|
105
|
+
<Icon {...props}>
|
|
106
|
+
<path d="M6.5 2h3l.3 1.3a4.5 4.5 0 011.2.7l1.3-.4 1.5 2.6-1 .9a4.5 4.5 0 010 1.4l1 .9-1.5 2.6-1.3-.4a4.5 4.5 0 01-1.2.7L9.5 14h-3l-.3-1.3a4.5 4.5 0 01-1.2-.7l-1.3.4-1.5-2.6 1-.9a4.5 4.5 0 010-1.4l-1-.9 1.5-2.6 1.3.4a4.5 4.5 0 011.2-.7L6.5 2z" />
|
|
107
|
+
<circle cx="8" cy="8" r="2" />
|
|
108
|
+
</Icon>
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// --- Actions ---
|
|
113
|
+
|
|
114
|
+
export function PlusIcon(props: IconProps) {
|
|
115
|
+
return (
|
|
116
|
+
<Icon {...props}>
|
|
117
|
+
<path d="M8 3v10M3 8h10" />
|
|
118
|
+
</Icon>
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function SearchIcon(props: IconProps) {
|
|
123
|
+
return (
|
|
124
|
+
<Icon {...props}>
|
|
125
|
+
<circle cx="7" cy="7" r="4.5" />
|
|
126
|
+
<path d="M10.5 10.5L14 14" />
|
|
127
|
+
</Icon>
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function ChevronDownIcon(props: IconProps) {
|
|
132
|
+
return (
|
|
133
|
+
<Icon {...props}>
|
|
134
|
+
<path d="M4 6l4 4 4-4" />
|
|
135
|
+
</Icon>
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export function ChevronRightIcon(props: IconProps) {
|
|
140
|
+
return (
|
|
141
|
+
<Icon {...props}>
|
|
142
|
+
<path d="M6 4l4 4-4 4" />
|
|
143
|
+
</Icon>
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function ChevronLeftIcon(props: IconProps) {
|
|
148
|
+
return (
|
|
149
|
+
<Icon {...props}>
|
|
150
|
+
<path d="M10 4l-4 4 4 4" />
|
|
151
|
+
</Icon>
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function XIcon(props: IconProps) {
|
|
156
|
+
return (
|
|
157
|
+
<Icon {...props}>
|
|
158
|
+
<path d="M4 4l8 8M12 4l-8 8" />
|
|
159
|
+
</Icon>
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export function EditIcon(props: IconProps) {
|
|
164
|
+
return (
|
|
165
|
+
<Icon {...props}>
|
|
166
|
+
<path d="M11 2.5l2.5 2.5L6 12.5H3.5V10L11 2.5z" />
|
|
167
|
+
</Icon>
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function TrashIcon(props: IconProps) {
|
|
172
|
+
return (
|
|
173
|
+
<Icon {...props}>
|
|
174
|
+
<path d="M3 4.5h10M6 4.5V3a1 1 0 011-1h2a1 1 0 011 1v1.5" />
|
|
175
|
+
<path d="M4.5 4.5l.5 8a1 1 0 001 1h4a1 1 0 001-1l.5-8" />
|
|
176
|
+
</Icon>
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export function InfoIcon(props: IconProps) {
|
|
181
|
+
return (
|
|
182
|
+
<Icon {...props}>
|
|
183
|
+
<circle cx="8" cy="8" r="5.5" />
|
|
184
|
+
<path d="M8 7v3.5M8 5.5v0" />
|
|
185
|
+
</Icon>
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export function LogOutIcon(props: IconProps) {
|
|
190
|
+
return (
|
|
191
|
+
<Icon {...props}>
|
|
192
|
+
<path d="M6 13H3.5a1 1 0 01-1-1V4a1 1 0 011-1H6" />
|
|
193
|
+
<path d="M10.5 11L13.5 8l-3-3M13.5 8H6" />
|
|
194
|
+
</Icon>
|
|
195
|
+
);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export function SendIcon(props: IconProps) {
|
|
199
|
+
return (
|
|
200
|
+
<Icon {...props} fill="currentColor" stroke="none">
|
|
201
|
+
<path d="M3.5 13V3L13.5 8L3.5 13z" />
|
|
202
|
+
</Icon>
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export function StopIcon(props: IconProps) {
|
|
207
|
+
return (
|
|
208
|
+
<Icon {...props} fill="currentColor" stroke="none">
|
|
209
|
+
<rect x="4" y="4" width="8" height="8" rx="1" />
|
|
210
|
+
</Icon>
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export function PaperclipIcon(props: IconProps) {
|
|
215
|
+
return (
|
|
216
|
+
<Icon {...props}>
|
|
217
|
+
<path d="M13.5 7.5L7.5 13.5a3.5 3.5 0 01-5-5l7-7a2.12 2.12 0 013 3l-6 6a.71.71 0 01-1-1l5-5" />
|
|
218
|
+
</Icon>
|
|
219
|
+
);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// --- Status ---
|
|
223
|
+
|
|
224
|
+
export function CheckIcon(props: IconProps) {
|
|
225
|
+
return (
|
|
226
|
+
<Icon {...props}>
|
|
227
|
+
<path d="M3.5 8.5l3 3 6-6.5" />
|
|
228
|
+
</Icon>
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export function AlertIcon(props: IconProps) {
|
|
233
|
+
return (
|
|
234
|
+
<Icon {...props}>
|
|
235
|
+
<circle cx="8" cy="8" r="5.5" />
|
|
236
|
+
<path d="M8 5.5v3M8 10.5v0" />
|
|
237
|
+
</Icon>
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export function DollarIcon(props: IconProps) {
|
|
242
|
+
return (
|
|
243
|
+
<Icon {...props}>
|
|
244
|
+
<path d="M8 2v12M11 5.5c0-1.1-1.3-2-3-2s-3 .9-3 2 1.3 2 3 2 3 .9 3 2-1.3 2-3 2-3-.9-3-2" />
|
|
245
|
+
</Icon>
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export function MessageIcon(props: IconProps) {
|
|
250
|
+
return (
|
|
251
|
+
<Icon {...props}>
|
|
252
|
+
<path d="M2.5 3.5h11a1 1 0 011 1v6a1 1 0 01-1 1H9l-3 2.5v-2.5H2.5a1 1 0 01-1-1v-6a1 1 0 011-1z" />
|
|
253
|
+
</Icon>
|
|
254
|
+
);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export function ArrowRightIcon(props: IconProps) {
|
|
258
|
+
return (
|
|
259
|
+
<Icon {...props}>
|
|
260
|
+
<path d="M3 8h10M9.5 4.5L13 8l-3.5 3.5" />
|
|
261
|
+
</Icon>
|
|
262
|
+
);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export function BellIcon(props: IconProps) {
|
|
266
|
+
return (
|
|
267
|
+
<Icon {...props}>
|
|
268
|
+
<path d="M4.5 6.5a3.5 3.5 0 017 0c0 2.5 1 4 1.5 4.5H3c.5-.5 1.5-2 1.5-4.5z" />
|
|
269
|
+
<path d="M6.5 11v.5a1.5 1.5 0 003 0V11" />
|
|
270
|
+
</Icon>
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
// --- File types ---
|
|
275
|
+
|
|
276
|
+
export function ImageIcon(props: IconProps) {
|
|
277
|
+
return (
|
|
278
|
+
<Icon {...props}>
|
|
279
|
+
<rect x="2" y="2" width="12" height="12" rx="1.5" />
|
|
280
|
+
<circle cx="5.5" cy="5.5" r="1.5" />
|
|
281
|
+
<path d="M2 11l3-3 2 2 3-3 4 4" />
|
|
282
|
+
</Icon>
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export function FileIcon(props: IconProps) {
|
|
287
|
+
return (
|
|
288
|
+
<Icon {...props}>
|
|
289
|
+
<path d="M4 2h5.5L13 5.5V13a1 1 0 01-1 1H4a1 1 0 01-1-1V3a1 1 0 011-1z" />
|
|
290
|
+
<path d="M9.5 2v4H13" />
|
|
291
|
+
</Icon>
|
|
292
|
+
);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// --- Categories (for skills browser) ---
|
|
296
|
+
|
|
297
|
+
export function PenIcon(props: IconProps) {
|
|
298
|
+
return (
|
|
299
|
+
<Icon {...props}>
|
|
300
|
+
<path d="M12 2.5L13.5 4 5.5 12H3.5v-2L12 2.5z" />
|
|
301
|
+
<path d="M10 4.5l2 2" />
|
|
302
|
+
</Icon>
|
|
303
|
+
);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export function BuildingIcon(props: IconProps) {
|
|
307
|
+
return (
|
|
308
|
+
<Icon {...props}>
|
|
309
|
+
<rect x="3" y="3" width="10" height="11" rx="1" />
|
|
310
|
+
<path d="M6 6h1M9 6h1M6 9h1M9 9h1M7 12v2h2v-2" />
|
|
311
|
+
</Icon>
|
|
312
|
+
);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export function RefreshIcon(props: IconProps) {
|
|
316
|
+
return (
|
|
317
|
+
<Icon {...props}>
|
|
318
|
+
<path d="M2.5 8a5.5 5.5 0 019.5-3.5M13.5 8a5.5 5.5 0 01-9.5 3.5" />
|
|
319
|
+
<path d="M12 2v3h-3M4 11v3h3" />
|
|
320
|
+
</Icon>
|
|
321
|
+
);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export function FlaskIcon(props: IconProps) {
|
|
325
|
+
return (
|
|
326
|
+
<Icon {...props}>
|
|
327
|
+
<path d="M6 2h4M6.5 2v4.5L3 13a1 1 0 001 1h8a1 1 0 001-1L9.5 6.5V2" />
|
|
328
|
+
</Icon>
|
|
329
|
+
);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export function UserIcon(props: IconProps) {
|
|
333
|
+
return (
|
|
334
|
+
<Icon {...props}>
|
|
335
|
+
<circle cx="8" cy="5.5" r="2.5" />
|
|
336
|
+
<path d="M3 14c0-2.8 2.2-5 5-5s5 2.2 5 5" />
|
|
337
|
+
</Icon>
|
|
338
|
+
);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export function ChartIcon(props: IconProps) {
|
|
342
|
+
return (
|
|
343
|
+
<Icon {...props}>
|
|
344
|
+
<path d="M3 13V7M7 13V3M11 13V9M15 13V5" />
|
|
345
|
+
</Icon>
|
|
346
|
+
);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export function DatabaseIcon(props: IconProps) {
|
|
350
|
+
return (
|
|
351
|
+
<Icon {...props}>
|
|
352
|
+
<ellipse cx="8" cy="4" rx="5" ry="2" />
|
|
353
|
+
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4" />
|
|
354
|
+
<path d="M3 8c0 1.1 2.2 2 5 2s5-.9 5-2" />
|
|
355
|
+
</Icon>
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export function WrenchIcon(props: IconProps) {
|
|
360
|
+
return (
|
|
361
|
+
<Icon {...props}>
|
|
362
|
+
<path d="M10.5 2.5a3.5 3.5 0 00-3.8 5.7L3 12l1 1 3.8-3.7a3.5 3.5 0 005.2-3.3l-2 2-1.5-1.5 2-2z" />
|
|
363
|
+
</Icon>
|
|
364
|
+
);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export function PackageIcon(props: IconProps) {
|
|
368
|
+
return (
|
|
369
|
+
<Icon {...props}>
|
|
370
|
+
<path d="M2.5 5L8 2l5.5 3v6L8 14l-5.5-3V5z" />
|
|
371
|
+
<path d="M2.5 5L8 8l5.5-3M8 8v6" />
|
|
372
|
+
</Icon>
|
|
373
|
+
);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export function ToolIcon(props: IconProps) {
|
|
377
|
+
return (
|
|
378
|
+
<Icon {...props}>
|
|
379
|
+
<path d="M2 8.5L4.5 5H9.5L12 8.5" />
|
|
380
|
+
<circle cx="7" cy="9.5" r="1.2" fill="currentColor" stroke="none" />
|
|
381
|
+
</Icon>
|
|
382
|
+
);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export function TerminalIcon(props: IconProps) {
|
|
386
|
+
return (
|
|
387
|
+
<Icon {...props}>
|
|
388
|
+
<rect x="1.5" y="2.5" width="13" height="11" rx="2" />
|
|
389
|
+
<path d="M4.5 6l2 2-2 2M8 10h3.5" />
|
|
390
|
+
</Icon>
|
|
391
|
+
);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export function ScheduleIcon(props: IconProps) {
|
|
395
|
+
return (
|
|
396
|
+
<Icon {...props}>
|
|
397
|
+
<rect x="2" y="3" width="12" height="11" rx="1.5" />
|
|
398
|
+
<path d="M2 6.5h12M5 2v2M11 2v2" />
|
|
399
|
+
</Icon>
|
|
400
|
+
);
|
|
401
|
+
}
|