@yancyyu/openhermit 1.6.37 → 1.6.39
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/dist-renderer/assets/ProjectEditorOverlay-krO5vQxX.js +58 -0
- package/dist-renderer/assets/{TeamGraphOverlay-DYT3bwFR.js → TeamGraphOverlay-DqhQzcTr.js} +1 -1
- package/dist-renderer/assets/{_basePickBy-Dbt_EU-e.js → _basePickBy-B7kSYPxr.js} +1 -1
- package/dist-renderer/assets/{_baseUniq-DWo68sXI.js → _baseUniq-CnjxqwAk.js} +1 -1
- package/dist-renderer/assets/{arc-DXH1iZQK.js → arc-CLeZuINP.js} +1 -1
- package/dist-renderer/assets/{architectureDiagram-VXUJARFQ-cjffS2Qr.js → architectureDiagram-VXUJARFQ-QKtqaqdY.js} +1 -1
- package/dist-renderer/assets/{blockDiagram-VD42YOAC-BKdZF02Y.js → blockDiagram-VD42YOAC-BqdrzO_f.js} +1 -1
- package/dist-renderer/assets/{c4Diagram-YG6GDRKO-CN27pqaI.js → c4Diagram-YG6GDRKO-gwPlCxDC.js} +1 -1
- package/dist-renderer/assets/channel-DpMHF50r.js +1 -0
- package/dist-renderer/assets/{chunk-4BX2VUAB-CXPCI7g_.js → chunk-4BX2VUAB-C6XLurL4.js} +1 -1
- package/dist-renderer/assets/{chunk-55IACEB6-BGAXQZRC.js → chunk-55IACEB6-Ds6quhEP.js} +1 -1
- package/dist-renderer/assets/{chunk-B4BG7PRW-TPDaA_KQ.js → chunk-B4BG7PRW-5UlA1_e9.js} +1 -1
- package/dist-renderer/assets/{chunk-DI55MBZ5-D1ADe_tq.js → chunk-DI55MBZ5-ywFrqIsY.js} +1 -1
- package/dist-renderer/assets/{chunk-FMBD7UC4-Beimtg3a.js → chunk-FMBD7UC4-C7ifUA17.js} +1 -1
- package/dist-renderer/assets/{chunk-QN33PNHL-OjNBu854.js → chunk-QN33PNHL-BxGCo80U.js} +1 -1
- package/dist-renderer/assets/{chunk-QZHKN3VN-DinqvbH8.js → chunk-QZHKN3VN-B2CuaZs6.js} +1 -1
- package/dist-renderer/assets/{chunk-TZMSLE5B-BfFtlPSZ.js → chunk-TZMSLE5B-Ds1hInvp.js} +1 -1
- package/dist-renderer/assets/classDiagram-2ON5EDUG-CBYCBVRl.js +1 -0
- package/dist-renderer/assets/classDiagram-v2-WZHVMYZB-CBYCBVRl.js +1 -0
- package/dist-renderer/assets/clone-DcMF6Psb.js +1 -0
- package/dist-renderer/assets/{cose-bilkent-S5V4N54A-D9z9Dgt7.js → cose-bilkent-S5V4N54A-Cz1GVtLp.js} +1 -1
- package/dist-renderer/assets/{dagre-6UL2VRFP-n1g-DhEE.js → dagre-6UL2VRFP-BrmR-P4h.js} +1 -1
- package/dist-renderer/assets/{diagram-PSM6KHXK-BvxFq-BE.js → diagram-PSM6KHXK-DbNjC5Rg.js} +1 -1
- package/dist-renderer/assets/{diagram-QEK2KX5R-wVnJuwza.js → diagram-QEK2KX5R-qkRX5_Mq.js} +1 -1
- package/dist-renderer/assets/{diagram-S2PKOQOG-B707WJQw.js → diagram-S2PKOQOG-CyL5rCv2.js} +1 -1
- package/dist-renderer/assets/{erDiagram-Q2GNP2WA-C-_1dGHs.js → erDiagram-Q2GNP2WA-Dox3-bA5.js} +1 -1
- package/dist-renderer/assets/{flowDiagram-NV44I4VS-CMTSi3H6.js → flowDiagram-NV44I4VS-BtkaxlDL.js} +1 -1
- package/dist-renderer/assets/{ganttDiagram-JELNMOA3-DZ0bNrAA.js → ganttDiagram-JELNMOA3-Dhy_d9GK.js} +1 -1
- package/dist-renderer/assets/{gitGraphDiagram-V2S2FVAM-DNVfGooQ.js → gitGraphDiagram-V2S2FVAM-B5XRhIQA.js} +1 -1
- package/dist-renderer/assets/{graph-865j_tM_.js → graph-CsoEwUhS.js} +1 -1
- package/dist-renderer/assets/{index-C_F9N5x-.js → index-BWPWmJNo.js} +1 -1
- package/dist-renderer/assets/{index-LwDIsXJN.js → index-Bu2R-Se7.js} +586 -740
- package/dist-renderer/assets/index-CnWV3BhG.css +32 -0
- package/dist-renderer/assets/{index-DuUaf8at.js → index-D-3KgskL.js} +1 -1
- package/dist-renderer/assets/{index-BTx1nc4T.js → index-DGEBzLNT.js} +1 -1
- package/dist-renderer/assets/{index-2EW-eu3q.js → index-NhHNs2Oo.js} +1 -1
- package/dist-renderer/assets/{index-4dEMStJj.js → index-h17WuEyf.js} +1 -1
- package/dist-renderer/assets/{infoDiagram-HS3SLOUP-CyqtElLq.js → infoDiagram-HS3SLOUP-hMGmNojH.js} +1 -1
- package/dist-renderer/assets/{journeyDiagram-XKPGCS4Q-BvjQ0Hm0.js → journeyDiagram-XKPGCS4Q-DXV2rBDl.js} +1 -1
- package/dist-renderer/assets/{kanban-definition-3W4ZIXB7-CJJ-k0zT.js → kanban-definition-3W4ZIXB7-Bf99WLRy.js} +1 -1
- package/dist-renderer/assets/{layout-CnV6rQAG.js → layout-C3XWrpwo.js} +1 -1
- package/dist-renderer/assets/{linear-Cw3UQgyX.js → linear-OEEcn8KN.js} +1 -1
- package/dist-renderer/assets/{mindmap-definition-VGOIOE7T-C5tDaGSK.js → mindmap-definition-VGOIOE7T-Dpi3S2x4.js} +1 -1
- package/dist-renderer/assets/{pieDiagram-ADFJNKIX-CiIpPsau.js → pieDiagram-ADFJNKIX-xTPPhtNx.js} +1 -1
- package/dist-renderer/assets/{quadrantDiagram-AYHSOK5B-C3gtowNj.js → quadrantDiagram-AYHSOK5B-euniyDlz.js} +1 -1
- package/dist-renderer/assets/{requirementDiagram-UZGBJVZJ-CXBTrAnU.js → requirementDiagram-UZGBJVZJ-D9Uiw4kF.js} +1 -1
- package/dist-renderer/assets/{sankeyDiagram-TZEHDZUN-wziX77xG.js → sankeyDiagram-TZEHDZUN-CySU4nED.js} +1 -1
- package/dist-renderer/assets/{sequenceDiagram-WL72ISMW-sYqopcrj.js → sequenceDiagram-WL72ISMW-JVGpET6V.js} +1 -1
- package/dist-renderer/assets/splashScene-D0YB9uxm.js +17 -0
- package/dist-renderer/assets/{stateDiagram-FKZM4ZOC-Bl1-0_Cp.js → stateDiagram-FKZM4ZOC-B2FY5qqi.js} +1 -1
- package/dist-renderer/assets/stateDiagram-v2-4FDKWEC3-DcoMiR8H.js +1 -0
- package/dist-renderer/assets/{timeline-definition-IT6M3QCI-CIRjJUBo.js → timeline-definition-IT6M3QCI-DmycNUUe.js} +1 -1
- package/dist-renderer/assets/{treemap-GDKQZRPO-CVPuNe1n.js → treemap-GDKQZRPO-DPq4gZuB.js} +1 -1
- package/dist-renderer/assets/{xychartDiagram-PRI3JC2R-3nT9yHwp.js → xychartDiagram-PRI3JC2R-J6VVJzRq.js} +1 -1
- package/dist-renderer/index.html +20 -53
- package/package.json +25 -18
- package/src/main/ipc/extensions.ts +30 -50
- package/src/main/server.ts +890 -247
- package/src/main/services/extensions/ExtensionFacadeService.ts +4 -56
- package/src/main/services/extensions/catalog/PluginCatalogService.ts +4 -2
- package/src/main/services/extensions/library/McpLibraryService.ts +243 -0
- package/src/main/services/session-intelligence/ConversationTelemetryService.ts +1101 -0
- package/src/main/services/session-intelligence/LocalSessionScanner.ts +512 -0
- package/src/main/services/session-intelligence/SessionUsageParser.ts +4 -4
- package/src/main/services/session-intelligence/UsageTelemetryService.ts +14 -1
- package/src/main/services/system-manager/SystemManagerConfigService.ts +122 -0
- package/src/main/services/system-manager/SystemManagerPtyService.ts +233 -0
- package/src/main/services/system-manager/WorkflowPromptService.ts +75 -0
- package/src/main/services/teams-mvp/TaskDispatchService.ts +32 -8
- package/src/main/services/teams-mvp/TeamProvisioningService.ts +39 -2
- package/src/main/services/teams-mvp/TeamWorkspaceService.ts +22 -4
- package/src/main/utils/teamProjectResolution.ts +15 -0
- package/src/renderer/App.tsx +8 -4
- package/src/renderer/api/httpClient.ts +174 -38
- package/src/renderer/api/providers.ts +23 -2
- package/src/renderer/assets/participant-avatars/01.svg +3 -0
- package/src/renderer/assets/participant-avatars/02.svg +3 -0
- package/src/renderer/assets/participant-avatars/03.svg +3 -0
- package/src/renderer/assets/participant-avatars/04.svg +3 -0
- package/src/renderer/assets/participant-avatars/05.svg +3 -0
- package/src/renderer/assets/participant-avatars/06.svg +3 -0
- package/src/renderer/assets/participant-avatars/07.svg +3 -0
- package/src/renderer/assets/participant-avatars/08.svg +3 -0
- package/src/renderer/assets/participant-avatars/09.svg +3 -0
- package/src/renderer/assets/participant-avatars/10.svg +3 -0
- package/src/renderer/assets/participant-avatars/11.svg +3 -0
- package/src/renderer/assets/participant-avatars/12.svg +3 -0
- package/src/renderer/assets/participant-avatars/13.svg +3 -0
- package/src/renderer/components/common/TerminalPane.tsx +213 -0
- package/src/renderer/components/dashboard/DashboardView.tsx +9 -36
- package/src/renderer/components/extensions/ExtensionStoreView.tsx +12 -221
- package/src/renderer/components/extensions/ExtensionsSubTabTrigger.tsx +1 -1
- package/src/renderer/components/extensions/mcp/McpLibraryEnableDialog.tsx +305 -0
- package/src/renderer/components/extensions/mcp/McpLibraryEntryDialog.tsx +418 -0
- package/src/renderer/components/extensions/mcp/McpLibraryPanel.tsx +404 -0
- package/src/renderer/components/extensions/plugins/PluginCard.tsx +10 -2
- package/src/renderer/components/extensions/plugins/PluginsPanel.tsx +40 -22
- package/src/renderer/components/extensions/skills/SkillsLibraryPanel.tsx +335 -0
- package/src/renderer/components/layout/PaneContent.tsx +8 -1
- package/src/renderer/components/layout/Sidebar.tsx +11 -54
- package/src/renderer/components/layout/SortableTab.tsx +20 -31
- package/src/renderer/components/layout/TabBar.tsx +1 -1
- package/src/renderer/components/layout/TabContextMenu.tsx +1 -1
- package/src/renderer/components/runtime/ProviderRuntimeSettingsDialog.tsx +768 -157
- package/src/renderer/components/schedules/SchedulesView.tsx +51 -462
- package/src/renderer/components/schedules/calendar/CalendarDayView.tsx +173 -0
- package/src/renderer/components/schedules/calendar/CalendarEventBlock.tsx +113 -0
- package/src/renderer/components/schedules/calendar/CalendarHeader.tsx +148 -0
- package/src/renderer/components/schedules/calendar/CalendarMonthView.tsx +142 -0
- package/src/renderer/components/schedules/calendar/CalendarWeekView.tsx +219 -0
- package/src/renderer/components/schedules/calendar/ScheduleCalendarBoard.tsx +41 -0
- package/src/renderer/components/schedules/calendar/TeamGanttView.tsx +405 -0
- package/src/renderer/components/schedules/calendar/computeOccurrences.ts +234 -0
- package/src/renderer/components/schedules/calendar/index.ts +2 -0
- package/src/renderer/components/schedules/calendar/types.ts +44 -0
- package/src/renderer/components/settings/SettingsTabs.tsx +50 -55
- package/src/renderer/components/settings/SettingsView.tsx +30 -35
- package/src/renderer/components/settings/components/SettingsSectionHeader.tsx +5 -1
- package/src/renderer/components/settings/components/SettingsSelect.tsx +5 -3
- package/src/renderer/components/settings/components/SettingsToggle.tsx +2 -2
- package/src/renderer/components/settings/sections/AdvancedSection.tsx +11 -42
- package/src/renderer/components/settings/sections/CliStatusSection.tsx +71 -112
- package/src/renderer/components/settings/sections/ConfigEditorDialog.tsx +1 -1
- package/src/renderer/components/settings/sections/GeneralSection.tsx +11 -3
- package/src/renderer/components/settings/sections/HarnessSection.tsx +18 -14
- package/src/renderer/components/settings/sections/PlatformsSection.tsx +3 -3
- package/src/renderer/components/settings/sections/TaskBusSection.tsx +33 -40
- package/src/renderer/components/settings/sections/index.ts +0 -1
- package/src/renderer/components/sidebar/SidebarSessions.tsx +182 -4
- package/src/renderer/components/sidebar/SidebarTaskItem.tsx +4 -4
- package/src/renderer/components/sidebar/WorkspaceBrowser.tsx +39 -4
- package/src/renderer/components/splash/splashScene.ts +121 -929
- package/src/renderer/components/system-manager/FolderBrowser.tsx +163 -0
- package/src/renderer/components/system-manager/SystemManagerView.tsx +351 -0
- package/src/renderer/components/tasks/TasksView.tsx +112 -134
- package/src/renderer/components/team/CcSessionsSection.tsx +431 -89
- package/src/renderer/components/team/CollapsibleTeamSection.tsx +17 -32
- package/src/renderer/components/team/TeamDetailView.tsx +325 -114
- package/src/renderer/components/team/TeamListView.tsx +108 -123
- package/src/renderer/components/team/dialogs/CreateTaskDialog.tsx +2 -2
- package/src/renderer/components/team/dialogs/CreateTeamDialog.tsx +84 -306
- package/src/renderer/components/team/dialogs/EditTeamDialog.tsx +259 -342
- package/src/renderer/components/team/dialogs/GlobalTaskDetailDialog.tsx +1 -1
- package/src/renderer/components/team/dialogs/LaunchTeamDialog.tsx +17 -15
- package/src/renderer/components/team/dialogs/PlatformBindingDialog.tsx +221 -0
- package/src/renderer/components/team/dialogs/PlatformManualForm.tsx +7 -0
- package/src/renderer/components/team/dialogs/PlatformSetupQR.tsx +1 -1
- package/src/renderer/components/team/dialogs/RuntimeConfigDialog.tsx +361 -0
- package/src/renderer/components/team/dialogs/platformMeta.ts +122 -11
- package/src/renderer/components/team/dialogs/useTeamEditForm.ts +17 -5
- package/src/renderer/components/team/kanban/KanbanBoard.tsx +9 -9
- package/src/renderer/components/team/members/MemberCard.tsx +14 -47
- package/src/renderer/components/team/members/MemberDetailDialog.tsx +3 -95
- package/src/renderer/components/team/members/MemberDetailStats.tsx +50 -65
- package/src/renderer/components/team/messages/MessageComposer.tsx +8 -110
- package/src/renderer/components/team/messages/MessagesPanel.tsx +131 -114
- package/src/renderer/components/team/schedule/ScheduleStatusBadge.tsx +2 -2
- package/src/renderer/components/team/tools/AddMcpInline.tsx +57 -0
- package/src/renderer/components/team/tools/AddSkillInline.tsx +61 -0
- package/src/renderer/components/team/tools/McpChip.tsx +45 -0
- package/src/renderer/components/team/tools/SkillChip.tsx +35 -0
- package/src/renderer/components/team/tools/ToolsSection.tsx +556 -0
- package/src/renderer/hooks/useExtensionsTabState.ts +3 -114
- package/src/renderer/index.css +39 -22
- package/src/renderer/index.html +17 -50
- package/src/renderer/store/index.ts +2 -1
- package/src/renderer/store/slices/scheduleSlice.ts +1 -1
- package/src/renderer/store/slices/teamSlice.ts +45 -168
- package/src/renderer/utils/claudeCodeOnlyProviders.ts +3 -10
- package/src/renderer/utils/memberHelpers.ts +5 -17
- package/src/renderer/utils/openCodeRuntimeDeliveryDiagnostics.ts +4 -2
- package/src/renderer/utils/providerSlashCommands.ts +0 -5
- package/src/renderer/utils/scheduleFormatters.ts +3 -1
- package/src/renderer/utils/teamMessageFiltering.ts +14 -1
- package/src/renderer/utils/teamModelAvailability.ts +18 -2
- package/src/shared/types/api.ts +121 -2
- package/src/shared/types/ccConnect.ts +2 -0
- package/src/shared/types/extensions/api.ts +9 -0
- package/src/shared/types/extensions/index.ts +4 -0
- package/src/shared/types/extensions/mcp.ts +41 -0
- package/src/shared/types/index.ts +3 -0
- package/src/shared/types/systemManager.ts +49 -0
- package/src/shared/types/team.ts +29 -0
- package/src/shared/types/terminal.ts +4 -2
- package/src/shared/utils/extensionNormalizers.ts +29 -0
- package/src/shared/utils/providerExtensionCapabilities.ts +2 -2
- package/dist-renderer/assets/ProjectEditorOverlay-Va_Vz-zz.js +0 -52
- package/dist-renderer/assets/channel-5dJIx68e.js +0 -1
- package/dist-renderer/assets/classDiagram-2ON5EDUG-BMGXWJ2d.js +0 -1
- package/dist-renderer/assets/classDiagram-v2-WZHVMYZB-BMGXWJ2d.js +0 -1
- package/dist-renderer/assets/clone-D7FWfGY9.js +0 -1
- package/dist-renderer/assets/index-B2z_IyRH.css +0 -1
- package/dist-renderer/assets/splashScene-C8lWNnm4.js +0 -1
- package/dist-renderer/assets/stateDiagram-v2-4FDKWEC3-DOYYvDbi.js +0 -1
- package/src/main/services/extensions/catalog/GlamaMcpEnrichmentService.ts +0 -190
- package/src/main/services/extensions/catalog/McpCatalogAggregator.ts +0 -150
- package/src/main/services/extensions/catalog/OfficialMcpRegistryService.ts +0 -381
- package/src/main/services/extensions/install/McpInstallService.ts +0 -407
- package/src/main/services/extensions/state/McpInstallationStateService.ts +0 -42
- package/src/renderer/components/extensions/mcp/McpServerCard.tsx +0 -314
- package/src/renderer/components/extensions/mcp/McpServerDetailDialog.tsx +0 -765
- package/src/renderer/components/extensions/mcp/McpServersPanel.tsx +0 -593
- package/src/renderer/components/extensions/skills/SkillDetailDialog.tsx +0 -372
- package/src/renderer/components/extensions/skills/SkillImportDialog.tsx +0 -343
- package/src/renderer/components/extensions/skills/SkillsPanel.tsx +0 -659
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" shape-rendering="crispEdges">
|
|
2
|
+
<rect x="16" y="0" width="4" height="4" fill="#654321"/><rect x="20" y="0" width="4" height="4" fill="#654321"/><rect x="24" y="0" width="4" height="4" fill="#654321"/><rect x="28" y="0" width="4" height="4" fill="#654321"/><rect x="32" y="0" width="4" height="4" fill="#654321"/><rect x="36" y="0" width="4" height="4" fill="#654321"/><rect x="40" y="0" width="4" height="4" fill="#654321"/><rect x="44" y="0" width="4" height="4" fill="#654321"/><rect x="16" y="4" width="4" height="4" fill="#654321"/><rect x="20" y="4" width="4" height="4" fill="#654321"/><rect x="24" y="4" width="4" height="4" fill="#654321"/><rect x="28" y="4" width="4" height="4" fill="#654321"/><rect x="32" y="4" width="4" height="4" fill="#654321"/><rect x="36" y="4" width="4" height="4" fill="#654321"/><rect x="40" y="4" width="4" height="4" fill="#654321"/><rect x="44" y="4" width="4" height="4" fill="#654321"/><rect x="12" y="8" width="4" height="4" fill="#654321"/><rect x="16" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="40" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="44" y="8" width="4" height="4" fill="#654321"/><rect x="12" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="24" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="40" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="44" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="12" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="16" width="4" height="4" fill="#e88b8b"/><rect x="32" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="40" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="44" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="40" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="28" width="4" height="4" fill="#fb923c"/><rect x="20" y="28" width="4" height="4" fill="#fb923c"/><rect x="24" y="28" width="4" height="4" fill="#fb923c"/><rect x="28" y="28" width="4" height="4" fill="#fb923c"/><rect x="32" y="28" width="4" height="4" fill="#fb923c"/><rect x="36" y="28" width="4" height="4" fill="#fb923c"/><rect x="40" y="28" width="4" height="4" fill="#fb923c"/><rect x="44" y="28" width="4" height="4" fill="#fb923c"/><rect x="16" y="32" width="4" height="4" fill="#fb923c"/><rect x="20" y="32" width="4" height="4" fill="#fb923c"/><rect x="24" y="32" width="4" height="4" fill="#fb923c"/><rect x="28" y="32" width="4" height="4" fill="#fb923c"/><rect x="32" y="32" width="4" height="4" fill="#fb923c"/><rect x="36" y="32" width="4" height="4" fill="#fb923c"/><rect x="40" y="32" width="4" height="4" fill="#fb923c"/><rect x="44" y="32" width="4" height="4" fill="#fb923c"/><rect x="28" y="32" width="4" height="4" fill="#fdba74"/><rect x="16" y="36" width="4" height="4" fill="#fb923c"/><rect x="20" y="36" width="4" height="4" fill="#fb923c"/><rect x="24" y="36" width="4" height="4" fill="#fb923c"/><rect x="28" y="36" width="4" height="4" fill="#fb923c"/><rect x="32" y="36" width="4" height="4" fill="#fb923c"/><rect x="36" y="36" width="4" height="4" fill="#fb923c"/><rect x="40" y="36" width="4" height="4" fill="#fb923c"/><rect x="44" y="36" width="4" height="4" fill="#fb923c"/><rect x="12" y="28" width="4" height="4" fill="#f5c5a3"/><rect x="48" y="28" width="4" height="4" fill="#f5c5a3"/><rect x="8" y="32" width="4" height="4" fill="#fb923c"/><rect x="12" y="32" width="4" height="4" fill="#fb923c"/><rect x="48" y="32" width="4" height="4" fill="#fb923c"/><rect x="52" y="32" width="4" height="4" fill="#fb923c"/><rect x="8" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="12" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="48" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="52" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="40" width="4" height="4" fill="#7c2d12"/><rect x="20" y="44" width="4" height="4" fill="#7c2d12"/><rect x="24" y="40" width="4" height="4" fill="#7c2d12"/><rect x="24" y="44" width="4" height="4" fill="#7c2d12"/><rect x="28" y="40" width="4" height="4" fill="#7c2d12"/><rect x="28" y="44" width="4" height="4" fill="#7c2d12"/><rect x="32" y="40" width="4" height="4" fill="#7c2d12"/><rect x="32" y="44" width="4" height="4" fill="#7c2d12"/><rect x="36" y="40" width="4" height="4" fill="#7c2d12"/><rect x="36" y="44" width="4" height="4" fill="#7c2d12"/><rect x="40" y="40" width="4" height="4" fill="#7c2d12"/><rect x="40" y="44" width="4" height="4" fill="#7c2d12"/><rect x="20" y="48" width="4" height="4" fill="#7c2d12"/><rect x="24" y="48" width="4" height="4" fill="#7c2d12"/><rect x="28" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="32" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="36" y="48" width="4" height="4" fill="#7c2d12"/><rect x="40" y="48" width="4" height="4" fill="#7c2d12"/><rect x="20" y="52" width="4" height="4" fill="#7c2d12"/><rect x="24" y="52" width="4" height="4" fill="#7c2d12"/><rect x="36" y="52" width="4" height="4" fill="#7c2d12"/><rect x="40" y="52" width="4" height="4" fill="#7c2d12"/><rect x="16" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="20" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="24" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="36" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="40" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="44" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="16" y="12" width="4" height="4" fill="#4a4a6e"/><rect x="24" y="12" width="4" height="4" fill="#4a4a6e"/><rect x="32" y="12" width="4" height="4" fill="#4a4a6e"/><rect x="40" y="12" width="4" height="4" fill="#4a4a6e"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" shape-rendering="crispEdges">
|
|
2
|
+
<rect x="20" y="0" width="4" height="4" fill="#c0c0c0"/><rect x="24" y="0" width="4" height="4" fill="#c0c0c0"/><rect x="32" y="0" width="4" height="4" fill="#c0c0c0"/><rect x="36" y="0" width="4" height="4" fill="#c0c0c0"/><rect x="20" y="4" width="4" height="4" fill="#c0c0c0"/><rect x="24" y="4" width="4" height="4" fill="#c0c0c0"/><rect x="28" y="4" width="4" height="4" fill="#c0c0c0"/><rect x="32" y="4" width="4" height="4" fill="#c0c0c0"/><rect x="36" y="4" width="4" height="4" fill="#c0c0c0"/><rect x="40" y="4" width="4" height="4" fill="#c0c0c0"/><rect x="12" y="8" width="4" height="4" fill="#c0c0c0"/><rect x="16" y="8" width="4" height="4" fill="#e8b88a"/><rect x="20" y="8" width="4" height="4" fill="#e8b88a"/><rect x="24" y="8" width="4" height="4" fill="#e8b88a"/><rect x="28" y="8" width="4" height="4" fill="#e8b88a"/><rect x="32" y="8" width="4" height="4" fill="#e8b88a"/><rect x="36" y="8" width="4" height="4" fill="#e8b88a"/><rect x="40" y="8" width="4" height="4" fill="#e8b88a"/><rect x="44" y="8" width="4" height="4" fill="#c0c0c0"/><rect x="12" y="12" width="4" height="4" fill="#e8b88a"/><rect x="16" y="12" width="4" height="4" fill="#e8b88a"/><rect x="20" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="24" y="12" width="4" height="4" fill="#e8b88a"/><rect x="28" y="12" width="4" height="4" fill="#e8b88a"/><rect x="32" y="12" width="4" height="4" fill="#e8b88a"/><rect x="36" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="40" y="12" width="4" height="4" fill="#e8b88a"/><rect x="44" y="12" width="4" height="4" fill="#e8b88a"/><rect x="12" y="16" width="4" height="4" fill="#e8b88a"/><rect x="16" y="16" width="4" height="4" fill="#e8b88a"/><rect x="20" y="16" width="4" height="4" fill="#e8b88a"/><rect x="24" y="16" width="4" height="4" fill="#e8b88a"/><rect x="28" y="16" width="4" height="4" fill="#e88b8b"/><rect x="32" y="16" width="4" height="4" fill="#e8b88a"/><rect x="36" y="16" width="4" height="4" fill="#e8b88a"/><rect x="40" y="16" width="4" height="4" fill="#e8b88a"/><rect x="44" y="16" width="4" height="4" fill="#e8b88a"/><rect x="16" y="20" width="4" height="4" fill="#e8b88a"/><rect x="20" y="20" width="4" height="4" fill="#e8b88a"/><rect x="24" y="20" width="4" height="4" fill="#e8b88a"/><rect x="28" y="20" width="4" height="4" fill="#e8b88a"/><rect x="32" y="20" width="4" height="4" fill="#e8b88a"/><rect x="36" y="20" width="4" height="4" fill="#e8b88a"/><rect x="40" y="20" width="4" height="4" fill="#e8b88a"/><rect x="24" y="24" width="4" height="4" fill="#e8b88a"/><rect x="28" y="24" width="4" height="4" fill="#e8b88a"/><rect x="32" y="24" width="4" height="4" fill="#e8b88a"/><rect x="36" y="24" width="4" height="4" fill="#e8b88a"/><rect x="16" y="28" width="4" height="4" fill="#818cf8"/><rect x="20" y="28" width="4" height="4" fill="#818cf8"/><rect x="24" y="28" width="4" height="4" fill="#818cf8"/><rect x="28" y="28" width="4" height="4" fill="#818cf8"/><rect x="32" y="28" width="4" height="4" fill="#818cf8"/><rect x="36" y="28" width="4" height="4" fill="#818cf8"/><rect x="40" y="28" width="4" height="4" fill="#818cf8"/><rect x="44" y="28" width="4" height="4" fill="#818cf8"/><rect x="16" y="32" width="4" height="4" fill="#818cf8"/><rect x="20" y="32" width="4" height="4" fill="#818cf8"/><rect x="24" y="32" width="4" height="4" fill="#818cf8"/><rect x="28" y="32" width="4" height="4" fill="#818cf8"/><rect x="32" y="32" width="4" height="4" fill="#818cf8"/><rect x="36" y="32" width="4" height="4" fill="#818cf8"/><rect x="40" y="32" width="4" height="4" fill="#818cf8"/><rect x="44" y="32" width="4" height="4" fill="#818cf8"/><rect x="28" y="32" width="4" height="4" fill="#a5b4fc"/><rect x="16" y="36" width="4" height="4" fill="#818cf8"/><rect x="20" y="36" width="4" height="4" fill="#818cf8"/><rect x="24" y="36" width="4" height="4" fill="#818cf8"/><rect x="28" y="36" width="4" height="4" fill="#818cf8"/><rect x="32" y="36" width="4" height="4" fill="#818cf8"/><rect x="36" y="36" width="4" height="4" fill="#818cf8"/><rect x="40" y="36" width="4" height="4" fill="#818cf8"/><rect x="44" y="36" width="4" height="4" fill="#818cf8"/><rect x="12" y="28" width="4" height="4" fill="#e8b88a"/><rect x="48" y="28" width="4" height="4" fill="#e8b88a"/><rect x="8" y="32" width="4" height="4" fill="#818cf8"/><rect x="12" y="32" width="4" height="4" fill="#818cf8"/><rect x="48" y="32" width="4" height="4" fill="#818cf8"/><rect x="52" y="32" width="4" height="4" fill="#818cf8"/><rect x="8" y="36" width="4" height="4" fill="#e8b88a"/><rect x="12" y="36" width="4" height="4" fill="#e8b88a"/><rect x="48" y="36" width="4" height="4" fill="#e8b88a"/><rect x="52" y="36" width="4" height="4" fill="#e8b88a"/><rect x="20" y="40" width="4" height="4" fill="#312e81"/><rect x="20" y="44" width="4" height="4" fill="#312e81"/><rect x="24" y="40" width="4" height="4" fill="#312e81"/><rect x="24" y="44" width="4" height="4" fill="#312e81"/><rect x="28" y="40" width="4" height="4" fill="#312e81"/><rect x="28" y="44" width="4" height="4" fill="#312e81"/><rect x="32" y="40" width="4" height="4" fill="#312e81"/><rect x="32" y="44" width="4" height="4" fill="#312e81"/><rect x="36" y="40" width="4" height="4" fill="#312e81"/><rect x="36" y="44" width="4" height="4" fill="#312e81"/><rect x="40" y="40" width="4" height="4" fill="#312e81"/><rect x="40" y="44" width="4" height="4" fill="#312e81"/><rect x="20" y="48" width="4" height="4" fill="#312e81"/><rect x="24" y="48" width="4" height="4" fill="#312e81"/><rect x="28" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="32" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="36" y="48" width="4" height="4" fill="#312e81"/><rect x="40" y="48" width="4" height="4" fill="#312e81"/><rect x="20" y="52" width="4" height="4" fill="#312e81"/><rect x="24" y="52" width="4" height="4" fill="#312e81"/><rect x="36" y="52" width="4" height="4" fill="#312e81"/><rect x="40" y="52" width="4" height="4" fill="#312e81"/><rect x="16" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="20" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="24" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="36" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="40" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="44" y="56" width="4" height="4" fill="#2a2a3e"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" shape-rendering="crispEdges">
|
|
2
|
+
<rect x="20" y="0" width="4" height="4" fill="#2c1810"/><rect x="24" y="0" width="4" height="4" fill="#2c1810"/><rect x="28" y="0" width="4" height="4" fill="#2c1810"/><rect x="32" y="0" width="4" height="4" fill="#2c1810"/><rect x="36" y="0" width="4" height="4" fill="#2c1810"/><rect x="40" y="0" width="4" height="4" fill="#2c1810"/><rect x="20" y="4" width="4" height="4" fill="#2c1810"/><rect x="24" y="4" width="4" height="4" fill="#2c1810"/><rect x="28" y="4" width="4" height="4" fill="#2c1810"/><rect x="32" y="4" width="4" height="4" fill="#2c1810"/><rect x="36" y="4" width="4" height="4" fill="#2c1810"/><rect x="40" y="4" width="4" height="4" fill="#2c1810"/><rect x="12" y="8" width="4" height="4" fill="#2c1810"/><rect x="16" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="40" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="44" y="8" width="4" height="4" fill="#2c1810"/><rect x="12" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="24" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="40" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="44" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="12" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="16" width="4" height="4" fill="#e88b8b"/><rect x="32" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="40" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="44" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="40" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="28" width="4" height="4" fill="#2dd4bf"/><rect x="20" y="28" width="4" height="4" fill="#2dd4bf"/><rect x="24" y="28" width="4" height="4" fill="#2dd4bf"/><rect x="28" y="28" width="4" height="4" fill="#2dd4bf"/><rect x="32" y="28" width="4" height="4" fill="#2dd4bf"/><rect x="36" y="28" width="4" height="4" fill="#2dd4bf"/><rect x="40" y="28" width="4" height="4" fill="#2dd4bf"/><rect x="44" y="28" width="4" height="4" fill="#2dd4bf"/><rect x="16" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="20" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="24" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="28" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="32" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="36" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="40" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="44" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="28" y="32" width="4" height="4" fill="#5eead4"/><rect x="16" y="36" width="4" height="4" fill="#2dd4bf"/><rect x="20" y="36" width="4" height="4" fill="#2dd4bf"/><rect x="24" y="36" width="4" height="4" fill="#2dd4bf"/><rect x="28" y="36" width="4" height="4" fill="#2dd4bf"/><rect x="32" y="36" width="4" height="4" fill="#2dd4bf"/><rect x="36" y="36" width="4" height="4" fill="#2dd4bf"/><rect x="40" y="36" width="4" height="4" fill="#2dd4bf"/><rect x="44" y="36" width="4" height="4" fill="#2dd4bf"/><rect x="12" y="28" width="4" height="4" fill="#f5c5a3"/><rect x="48" y="28" width="4" height="4" fill="#f5c5a3"/><rect x="8" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="12" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="48" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="52" y="32" width="4" height="4" fill="#2dd4bf"/><rect x="8" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="12" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="48" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="52" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="40" width="4" height="4" fill="#134e4a"/><rect x="20" y="44" width="4" height="4" fill="#134e4a"/><rect x="24" y="40" width="4" height="4" fill="#134e4a"/><rect x="24" y="44" width="4" height="4" fill="#134e4a"/><rect x="28" y="40" width="4" height="4" fill="#134e4a"/><rect x="28" y="44" width="4" height="4" fill="#134e4a"/><rect x="32" y="40" width="4" height="4" fill="#134e4a"/><rect x="32" y="44" width="4" height="4" fill="#134e4a"/><rect x="36" y="40" width="4" height="4" fill="#134e4a"/><rect x="36" y="44" width="4" height="4" fill="#134e4a"/><rect x="40" y="40" width="4" height="4" fill="#134e4a"/><rect x="40" y="44" width="4" height="4" fill="#134e4a"/><rect x="20" y="48" width="4" height="4" fill="#134e4a"/><rect x="24" y="48" width="4" height="4" fill="#134e4a"/><rect x="28" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="32" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="36" y="48" width="4" height="4" fill="#134e4a"/><rect x="40" y="48" width="4" height="4" fill="#134e4a"/><rect x="20" y="52" width="4" height="4" fill="#134e4a"/><rect x="24" y="52" width="4" height="4" fill="#134e4a"/><rect x="36" y="52" width="4" height="4" fill="#134e4a"/><rect x="40" y="52" width="4" height="4" fill="#134e4a"/><rect x="16" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="20" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="24" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="36" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="40" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="44" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="12" y="0" width="4" height="4" fill="#5eead4"/><rect x="16" y="0" width="4" height="4" fill="#5eead4"/><rect x="20" y="0" width="4" height="4" fill="#5eead4"/><rect x="24" y="0" width="4" height="4" fill="#5eead4"/><rect x="28" y="0" width="4" height="4" fill="#5eead4"/><rect x="32" y="0" width="4" height="4" fill="#5eead4"/><rect x="36" y="0" width="4" height="4" fill="#5eead4"/><rect x="40" y="0" width="4" height="4" fill="#5eead4"/><rect x="44" y="0" width="4" height="4" fill="#5eead4"/><rect x="8" y="4" width="4" height="4" fill="#5eead4"/><rect x="12" y="4" width="4" height="4" fill="#5eead4"/><rect x="44" y="4" width="4" height="4" fill="#5eead4"/><rect x="48" y="4" width="4" height="4" fill="#5eead4"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" shape-rendering="crispEdges">
|
|
2
|
+
<rect x="24" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="28" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="32" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="36" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="20" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="24" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="28" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="32" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="36" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="40" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="12" y="8" width="4" height="4" fill="#0f0f0f"/><rect x="16" y="8" width="4" height="4" fill="#d4a574"/><rect x="20" y="8" width="4" height="4" fill="#d4a574"/><rect x="24" y="8" width="4" height="4" fill="#d4a574"/><rect x="28" y="8" width="4" height="4" fill="#d4a574"/><rect x="32" y="8" width="4" height="4" fill="#d4a574"/><rect x="36" y="8" width="4" height="4" fill="#d4a574"/><rect x="40" y="8" width="4" height="4" fill="#d4a574"/><rect x="44" y="8" width="4" height="4" fill="#0f0f0f"/><rect x="12" y="12" width="4" height="4" fill="#d4a574"/><rect x="16" y="12" width="4" height="4" fill="#d4a574"/><rect x="20" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="24" y="12" width="4" height="4" fill="#d4a574"/><rect x="28" y="12" width="4" height="4" fill="#d4a574"/><rect x="32" y="12" width="4" height="4" fill="#d4a574"/><rect x="36" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="40" y="12" width="4" height="4" fill="#d4a574"/><rect x="44" y="12" width="4" height="4" fill="#d4a574"/><rect x="12" y="16" width="4" height="4" fill="#d4a574"/><rect x="16" y="16" width="4" height="4" fill="#d4a574"/><rect x="20" y="16" width="4" height="4" fill="#d4a574"/><rect x="24" y="16" width="4" height="4" fill="#d4a574"/><rect x="28" y="16" width="4" height="4" fill="#e88b8b"/><rect x="32" y="16" width="4" height="4" fill="#d4a574"/><rect x="36" y="16" width="4" height="4" fill="#d4a574"/><rect x="40" y="16" width="4" height="4" fill="#d4a574"/><rect x="44" y="16" width="4" height="4" fill="#d4a574"/><rect x="16" y="20" width="4" height="4" fill="#d4a574"/><rect x="20" y="20" width="4" height="4" fill="#d4a574"/><rect x="24" y="20" width="4" height="4" fill="#d4a574"/><rect x="28" y="20" width="4" height="4" fill="#d4a574"/><rect x="32" y="20" width="4" height="4" fill="#d4a574"/><rect x="36" y="20" width="4" height="4" fill="#d4a574"/><rect x="40" y="20" width="4" height="4" fill="#d4a574"/><rect x="24" y="24" width="4" height="4" fill="#d4a574"/><rect x="28" y="24" width="4" height="4" fill="#d4a574"/><rect x="32" y="24" width="4" height="4" fill="#d4a574"/><rect x="36" y="24" width="4" height="4" fill="#d4a574"/><rect x="16" y="28" width="4" height="4" fill="#e879f9"/><rect x="20" y="28" width="4" height="4" fill="#e879f9"/><rect x="24" y="28" width="4" height="4" fill="#e879f9"/><rect x="28" y="28" width="4" height="4" fill="#e879f9"/><rect x="32" y="28" width="4" height="4" fill="#e879f9"/><rect x="36" y="28" width="4" height="4" fill="#e879f9"/><rect x="40" y="28" width="4" height="4" fill="#e879f9"/><rect x="44" y="28" width="4" height="4" fill="#e879f9"/><rect x="16" y="32" width="4" height="4" fill="#e879f9"/><rect x="20" y="32" width="4" height="4" fill="#e879f9"/><rect x="24" y="32" width="4" height="4" fill="#e879f9"/><rect x="28" y="32" width="4" height="4" fill="#e879f9"/><rect x="32" y="32" width="4" height="4" fill="#e879f9"/><rect x="36" y="32" width="4" height="4" fill="#e879f9"/><rect x="40" y="32" width="4" height="4" fill="#e879f9"/><rect x="44" y="32" width="4" height="4" fill="#e879f9"/><rect x="28" y="32" width="4" height="4" fill="#f0abfc"/><rect x="16" y="36" width="4" height="4" fill="#e879f9"/><rect x="20" y="36" width="4" height="4" fill="#e879f9"/><rect x="24" y="36" width="4" height="4" fill="#e879f9"/><rect x="28" y="36" width="4" height="4" fill="#e879f9"/><rect x="32" y="36" width="4" height="4" fill="#e879f9"/><rect x="36" y="36" width="4" height="4" fill="#e879f9"/><rect x="40" y="36" width="4" height="4" fill="#e879f9"/><rect x="44" y="36" width="4" height="4" fill="#e879f9"/><rect x="12" y="28" width="4" height="4" fill="#d4a574"/><rect x="48" y="28" width="4" height="4" fill="#d4a574"/><rect x="8" y="32" width="4" height="4" fill="#e879f9"/><rect x="12" y="32" width="4" height="4" fill="#e879f9"/><rect x="48" y="32" width="4" height="4" fill="#e879f9"/><rect x="52" y="32" width="4" height="4" fill="#e879f9"/><rect x="8" y="36" width="4" height="4" fill="#d4a574"/><rect x="12" y="36" width="4" height="4" fill="#d4a574"/><rect x="48" y="36" width="4" height="4" fill="#d4a574"/><rect x="52" y="36" width="4" height="4" fill="#d4a574"/><rect x="20" y="40" width="4" height="4" fill="#701a75"/><rect x="20" y="44" width="4" height="4" fill="#701a75"/><rect x="24" y="40" width="4" height="4" fill="#701a75"/><rect x="24" y="44" width="4" height="4" fill="#701a75"/><rect x="28" y="40" width="4" height="4" fill="#701a75"/><rect x="28" y="44" width="4" height="4" fill="#701a75"/><rect x="32" y="40" width="4" height="4" fill="#701a75"/><rect x="32" y="44" width="4" height="4" fill="#701a75"/><rect x="36" y="40" width="4" height="4" fill="#701a75"/><rect x="36" y="44" width="4" height="4" fill="#701a75"/><rect x="40" y="40" width="4" height="4" fill="#701a75"/><rect x="40" y="44" width="4" height="4" fill="#701a75"/><rect x="20" y="48" width="4" height="4" fill="#701a75"/><rect x="24" y="48" width="4" height="4" fill="#701a75"/><rect x="28" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="32" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="36" y="48" width="4" height="4" fill="#701a75"/><rect x="40" y="48" width="4" height="4" fill="#701a75"/><rect x="20" y="52" width="4" height="4" fill="#701a75"/><rect x="24" y="52" width="4" height="4" fill="#701a75"/><rect x="36" y="52" width="4" height="4" fill="#701a75"/><rect x="40" y="52" width="4" height="4" fill="#701a75"/><rect x="16" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="20" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="24" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="36" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="40" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="44" y="56" width="4" height="4" fill="#2a2a3e"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" shape-rendering="crispEdges">
|
|
2
|
+
<rect x="16" y="0" width="4" height="4" fill="#8b4513"/><rect x="24" y="0" width="4" height="4" fill="#8b4513"/><rect x="36" y="0" width="4" height="4" fill="#8b4513"/><rect x="44" y="0" width="4" height="4" fill="#8b4513"/><rect x="20" y="4" width="4" height="4" fill="#8b4513"/><rect x="24" y="4" width="4" height="4" fill="#8b4513"/><rect x="28" y="4" width="4" height="4" fill="#8b4513"/><rect x="32" y="4" width="4" height="4" fill="#8b4513"/><rect x="36" y="4" width="4" height="4" fill="#8b4513"/><rect x="40" y="4" width="4" height="4" fill="#8b4513"/><rect x="12" y="8" width="4" height="4" fill="#8b4513"/><rect x="16" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="40" y="8" width="4" height="4" fill="#f5c5a3"/><rect x="44" y="8" width="4" height="4" fill="#8b4513"/><rect x="12" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="24" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="40" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="44" y="12" width="4" height="4" fill="#f5c5a3"/><rect x="12" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="16" width="4" height="4" fill="#e88b8b"/><rect x="32" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="40" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="44" y="16" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="40" y="20" width="4" height="4" fill="#f5c5a3"/><rect x="24" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="28" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="32" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="36" y="24" width="4" height="4" fill="#f5c5a3"/><rect x="16" y="28" width="4" height="4" fill="#4ade80"/><rect x="20" y="28" width="4" height="4" fill="#4ade80"/><rect x="24" y="28" width="4" height="4" fill="#4ade80"/><rect x="28" y="28" width="4" height="4" fill="#4ade80"/><rect x="32" y="28" width="4" height="4" fill="#4ade80"/><rect x="36" y="28" width="4" height="4" fill="#4ade80"/><rect x="40" y="28" width="4" height="4" fill="#4ade80"/><rect x="44" y="28" width="4" height="4" fill="#4ade80"/><rect x="16" y="32" width="4" height="4" fill="#4ade80"/><rect x="20" y="32" width="4" height="4" fill="#4ade80"/><rect x="24" y="32" width="4" height="4" fill="#4ade80"/><rect x="28" y="32" width="4" height="4" fill="#4ade80"/><rect x="32" y="32" width="4" height="4" fill="#4ade80"/><rect x="36" y="32" width="4" height="4" fill="#4ade80"/><rect x="40" y="32" width="4" height="4" fill="#4ade80"/><rect x="44" y="32" width="4" height="4" fill="#4ade80"/><rect x="28" y="32" width="4" height="4" fill="#bbf7d0"/><rect x="16" y="36" width="4" height="4" fill="#4ade80"/><rect x="20" y="36" width="4" height="4" fill="#4ade80"/><rect x="24" y="36" width="4" height="4" fill="#4ade80"/><rect x="28" y="36" width="4" height="4" fill="#4ade80"/><rect x="32" y="36" width="4" height="4" fill="#4ade80"/><rect x="36" y="36" width="4" height="4" fill="#4ade80"/><rect x="40" y="36" width="4" height="4" fill="#4ade80"/><rect x="44" y="36" width="4" height="4" fill="#4ade80"/><rect x="12" y="28" width="4" height="4" fill="#f5c5a3"/><rect x="48" y="28" width="4" height="4" fill="#f5c5a3"/><rect x="8" y="32" width="4" height="4" fill="#4ade80"/><rect x="12" y="32" width="4" height="4" fill="#4ade80"/><rect x="48" y="32" width="4" height="4" fill="#4ade80"/><rect x="52" y="32" width="4" height="4" fill="#4ade80"/><rect x="8" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="12" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="48" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="52" y="36" width="4" height="4" fill="#f5c5a3"/><rect x="20" y="40" width="4" height="4" fill="#14532d"/><rect x="20" y="44" width="4" height="4" fill="#14532d"/><rect x="24" y="40" width="4" height="4" fill="#14532d"/><rect x="24" y="44" width="4" height="4" fill="#14532d"/><rect x="28" y="40" width="4" height="4" fill="#14532d"/><rect x="28" y="44" width="4" height="4" fill="#14532d"/><rect x="32" y="40" width="4" height="4" fill="#14532d"/><rect x="32" y="44" width="4" height="4" fill="#14532d"/><rect x="36" y="40" width="4" height="4" fill="#14532d"/><rect x="36" y="44" width="4" height="4" fill="#14532d"/><rect x="40" y="40" width="4" height="4" fill="#14532d"/><rect x="40" y="44" width="4" height="4" fill="#14532d"/><rect x="20" y="48" width="4" height="4" fill="#14532d"/><rect x="24" y="48" width="4" height="4" fill="#14532d"/><rect x="28" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="32" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="36" y="48" width="4" height="4" fill="#14532d"/><rect x="40" y="48" width="4" height="4" fill="#14532d"/><rect x="20" y="52" width="4" height="4" fill="#14532d"/><rect x="24" y="52" width="4" height="4" fill="#14532d"/><rect x="36" y="52" width="4" height="4" fill="#14532d"/><rect x="40" y="52" width="4" height="4" fill="#14532d"/><rect x="16" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="20" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="24" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="36" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="40" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="44" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="12" y="8" width="4" height="4" fill="#bbf7d0"/><rect x="44" y="8" width="4" height="4" fill="#bbf7d0"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" shape-rendering="crispEdges">
|
|
2
|
+
<rect x="16" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="20" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="24" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="28" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="32" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="36" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="40" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="44" y="0" width="4" height="4" fill="#0f0f0f"/><rect x="16" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="20" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="24" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="28" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="32" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="36" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="40" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="44" y="4" width="4" height="4" fill="#0f0f0f"/><rect x="12" y="8" width="4" height="4" fill="#0f0f0f"/><rect x="16" y="8" width="4" height="4" fill="#e8b88a"/><rect x="20" y="8" width="4" height="4" fill="#e8b88a"/><rect x="24" y="8" width="4" height="4" fill="#e8b88a"/><rect x="28" y="8" width="4" height="4" fill="#e8b88a"/><rect x="32" y="8" width="4" height="4" fill="#e8b88a"/><rect x="36" y="8" width="4" height="4" fill="#e8b88a"/><rect x="40" y="8" width="4" height="4" fill="#e8b88a"/><rect x="44" y="8" width="4" height="4" fill="#0f0f0f"/><rect x="12" y="12" width="4" height="4" fill="#e8b88a"/><rect x="16" y="12" width="4" height="4" fill="#e8b88a"/><rect x="20" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="24" y="12" width="4" height="4" fill="#e8b88a"/><rect x="28" y="12" width="4" height="4" fill="#e8b88a"/><rect x="32" y="12" width="4" height="4" fill="#e8b88a"/><rect x="36" y="12" width="4" height="4" fill="#1a1a2e"/><rect x="40" y="12" width="4" height="4" fill="#e8b88a"/><rect x="44" y="12" width="4" height="4" fill="#e8b88a"/><rect x="12" y="16" width="4" height="4" fill="#e8b88a"/><rect x="16" y="16" width="4" height="4" fill="#e8b88a"/><rect x="20" y="16" width="4" height="4" fill="#e8b88a"/><rect x="24" y="16" width="4" height="4" fill="#e8b88a"/><rect x="28" y="16" width="4" height="4" fill="#e88b8b"/><rect x="32" y="16" width="4" height="4" fill="#e8b88a"/><rect x="36" y="16" width="4" height="4" fill="#e8b88a"/><rect x="40" y="16" width="4" height="4" fill="#e8b88a"/><rect x="44" y="16" width="4" height="4" fill="#e8b88a"/><rect x="16" y="20" width="4" height="4" fill="#e8b88a"/><rect x="20" y="20" width="4" height="4" fill="#e8b88a"/><rect x="24" y="20" width="4" height="4" fill="#e8b88a"/><rect x="28" y="20" width="4" height="4" fill="#e8b88a"/><rect x="32" y="20" width="4" height="4" fill="#e8b88a"/><rect x="36" y="20" width="4" height="4" fill="#e8b88a"/><rect x="40" y="20" width="4" height="4" fill="#e8b88a"/><rect x="24" y="24" width="4" height="4" fill="#e8b88a"/><rect x="28" y="24" width="4" height="4" fill="#e8b88a"/><rect x="32" y="24" width="4" height="4" fill="#e8b88a"/><rect x="36" y="24" width="4" height="4" fill="#e8b88a"/><rect x="16" y="28" width="4" height="4" fill="#38bdf8"/><rect x="20" y="28" width="4" height="4" fill="#38bdf8"/><rect x="24" y="28" width="4" height="4" fill="#38bdf8"/><rect x="28" y="28" width="4" height="4" fill="#38bdf8"/><rect x="32" y="28" width="4" height="4" fill="#38bdf8"/><rect x="36" y="28" width="4" height="4" fill="#38bdf8"/><rect x="40" y="28" width="4" height="4" fill="#38bdf8"/><rect x="44" y="28" width="4" height="4" fill="#38bdf8"/><rect x="16" y="32" width="4" height="4" fill="#38bdf8"/><rect x="20" y="32" width="4" height="4" fill="#38bdf8"/><rect x="24" y="32" width="4" height="4" fill="#38bdf8"/><rect x="28" y="32" width="4" height="4" fill="#38bdf8"/><rect x="32" y="32" width="4" height="4" fill="#38bdf8"/><rect x="36" y="32" width="4" height="4" fill="#38bdf8"/><rect x="40" y="32" width="4" height="4" fill="#38bdf8"/><rect x="44" y="32" width="4" height="4" fill="#38bdf8"/><rect x="28" y="32" width="4" height="4" fill="#7dd3fc"/><rect x="16" y="36" width="4" height="4" fill="#38bdf8"/><rect x="20" y="36" width="4" height="4" fill="#38bdf8"/><rect x="24" y="36" width="4" height="4" fill="#38bdf8"/><rect x="28" y="36" width="4" height="4" fill="#38bdf8"/><rect x="32" y="36" width="4" height="4" fill="#38bdf8"/><rect x="36" y="36" width="4" height="4" fill="#38bdf8"/><rect x="40" y="36" width="4" height="4" fill="#38bdf8"/><rect x="44" y="36" width="4" height="4" fill="#38bdf8"/><rect x="12" y="28" width="4" height="4" fill="#e8b88a"/><rect x="48" y="28" width="4" height="4" fill="#e8b88a"/><rect x="8" y="32" width="4" height="4" fill="#38bdf8"/><rect x="12" y="32" width="4" height="4" fill="#38bdf8"/><rect x="48" y="32" width="4" height="4" fill="#38bdf8"/><rect x="52" y="32" width="4" height="4" fill="#38bdf8"/><rect x="8" y="36" width="4" height="4" fill="#e8b88a"/><rect x="12" y="36" width="4" height="4" fill="#e8b88a"/><rect x="48" y="36" width="4" height="4" fill="#e8b88a"/><rect x="52" y="36" width="4" height="4" fill="#e8b88a"/><rect x="20" y="40" width="4" height="4" fill="#0c4a6e"/><rect x="20" y="44" width="4" height="4" fill="#0c4a6e"/><rect x="24" y="40" width="4" height="4" fill="#0c4a6e"/><rect x="24" y="44" width="4" height="4" fill="#0c4a6e"/><rect x="28" y="40" width="4" height="4" fill="#0c4a6e"/><rect x="28" y="44" width="4" height="4" fill="#0c4a6e"/><rect x="32" y="40" width="4" height="4" fill="#0c4a6e"/><rect x="32" y="44" width="4" height="4" fill="#0c4a6e"/><rect x="36" y="40" width="4" height="4" fill="#0c4a6e"/><rect x="36" y="44" width="4" height="4" fill="#0c4a6e"/><rect x="40" y="40" width="4" height="4" fill="#0c4a6e"/><rect x="40" y="44" width="4" height="4" fill="#0c4a6e"/><rect x="20" y="48" width="4" height="4" fill="#0c4a6e"/><rect x="24" y="48" width="4" height="4" fill="#0c4a6e"/><rect x="28" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="32" y="48" width="4" height="4" fill="#0a0a0f"/><rect x="36" y="48" width="4" height="4" fill="#0c4a6e"/><rect x="40" y="48" width="4" height="4" fill="#0c4a6e"/><rect x="20" y="52" width="4" height="4" fill="#0c4a6e"/><rect x="24" y="52" width="4" height="4" fill="#0c4a6e"/><rect x="36" y="52" width="4" height="4" fill="#0c4a6e"/><rect x="40" y="52" width="4" height="4" fill="#0c4a6e"/><rect x="16" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="20" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="24" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="36" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="40" y="56" width="4" height="4" fill="#2a2a3e"/><rect x="44" y="56" width="4" height="4" fill="#2a2a3e"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TerminalPane - Reusable xterm.js terminal pane.
|
|
3
|
+
*
|
|
4
|
+
* Extracted from SystemManagerView so any team or panel can embed
|
|
5
|
+
* a terminal connected to a PTY process.
|
|
6
|
+
*
|
|
7
|
+
* Lifecycle:
|
|
8
|
+
* - Mount: creates Terminal + FitAddon, registers SSE listeners
|
|
9
|
+
* - `spawn()` call or autoSpawn: starts a CLI process via the terminal API
|
|
10
|
+
* - Unmount: kills PTY, disposes terminal
|
|
11
|
+
*/
|
|
12
|
+
import React, { useCallback, useEffect, useImperativeHandle, useRef } from 'react';
|
|
13
|
+
import { FitAddon } from '@xterm/addon-fit';
|
|
14
|
+
import { WebLinksAddon } from '@xterm/addon-web-links';
|
|
15
|
+
import { Terminal } from '@xterm/xterm';
|
|
16
|
+
|
|
17
|
+
import { api } from '@renderer/api';
|
|
18
|
+
import { cn } from '@renderer/lib/utils';
|
|
19
|
+
|
|
20
|
+
// =============================================================================
|
|
21
|
+
// Types
|
|
22
|
+
// =============================================================================
|
|
23
|
+
|
|
24
|
+
export interface TerminalSpawnOptions {
|
|
25
|
+
command: string;
|
|
26
|
+
args: string[];
|
|
27
|
+
cwd: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
interface TerminalPaneProps {
|
|
31
|
+
/** Extra class names for the container */
|
|
32
|
+
className?: string;
|
|
33
|
+
/** Called after a PTY is spawned successfully */
|
|
34
|
+
onSpawned?: (ptyId: string) => void;
|
|
35
|
+
/** Called when the PTY exits */
|
|
36
|
+
onExit?: (ptyId: string, exitCode: number) => void;
|
|
37
|
+
/** Auto-spawn config. When provided, auto-spawns on mount. */
|
|
38
|
+
autoSpawn?: TerminalSpawnOptions;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface TerminalPaneRef {
|
|
42
|
+
spawn: (options: TerminalSpawnOptions) => Promise<void>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// =============================================================================
|
|
46
|
+
// TerminalPane
|
|
47
|
+
// =============================================================================
|
|
48
|
+
|
|
49
|
+
export const TerminalPane = React.forwardRef<TerminalPaneRef, TerminalPaneProps>(
|
|
50
|
+
function TerminalPane({ className, onSpawned, onExit, autoSpawn }, ref) {
|
|
51
|
+
const hostRef = useRef<HTMLDivElement>(null);
|
|
52
|
+
const terminalRef = useRef<Terminal | null>(null);
|
|
53
|
+
const fitAddonRef = useRef<FitAddon | null>(null);
|
|
54
|
+
const ptyIdRef = useRef<string | null>(null);
|
|
55
|
+
const spawnedRef = useRef(false);
|
|
56
|
+
|
|
57
|
+
const fitTerminal = useCallback(() => {
|
|
58
|
+
try {
|
|
59
|
+
fitAddonRef.current?.fit();
|
|
60
|
+
if (ptyIdRef.current && terminalRef.current) {
|
|
61
|
+
api.terminal.resize(ptyIdRef.current, terminalRef.current.cols, terminalRef.current.rows);
|
|
62
|
+
}
|
|
63
|
+
} catch {
|
|
64
|
+
// xterm fit can throw when the element is not measurable yet
|
|
65
|
+
}
|
|
66
|
+
}, []);
|
|
67
|
+
|
|
68
|
+
// Expose spawn method via ref
|
|
69
|
+
useImperativeHandle(ref, () => ({
|
|
70
|
+
spawn: async (options: TerminalSpawnOptions) => {
|
|
71
|
+
// Kill existing PTY if any
|
|
72
|
+
if (ptyIdRef.current) {
|
|
73
|
+
try { await api.terminal.kill(ptyIdRef.current); } catch {}
|
|
74
|
+
ptyIdRef.current = null;
|
|
75
|
+
}
|
|
76
|
+
// Clear stale terminal content before spawning new process
|
|
77
|
+
terminalRef.current?.clear();
|
|
78
|
+
try {
|
|
79
|
+
const ptyId = await api.terminal.spawn(options);
|
|
80
|
+
ptyIdRef.current = ptyId;
|
|
81
|
+
spawnedRef.current = true;
|
|
82
|
+
fitTerminal();
|
|
83
|
+
onSpawned?.(ptyId);
|
|
84
|
+
} catch (err) {
|
|
85
|
+
terminalRef.current?.writeln(
|
|
86
|
+
`\x1b[31m[Failed to spawn: ${err instanceof Error ? err.message : String(err)}]\x1b[0m`
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
}), [fitTerminal, onSpawned]);
|
|
91
|
+
|
|
92
|
+
// Create terminal instance
|
|
93
|
+
useEffect(() => {
|
|
94
|
+
const host = hostRef.current;
|
|
95
|
+
if (!host) return;
|
|
96
|
+
|
|
97
|
+
const term = new Terminal({
|
|
98
|
+
cursorBlink: true,
|
|
99
|
+
convertEol: true,
|
|
100
|
+
fontFamily: 'JetBrains Mono, SFMono-Regular, Menlo, Monaco, Consolas, monospace',
|
|
101
|
+
fontSize: 13,
|
|
102
|
+
lineHeight: 1.28,
|
|
103
|
+
theme: {
|
|
104
|
+
background: 'var(--color-surface)',
|
|
105
|
+
foreground: 'var(--color-text)',
|
|
106
|
+
cursor: 'var(--color-text)',
|
|
107
|
+
selectionBackground: 'var(--color-border-emphasis)',
|
|
108
|
+
black: 'var(--color-surface-sidebar)',
|
|
109
|
+
red: '#f87171',
|
|
110
|
+
green: '#86efac',
|
|
111
|
+
yellow: '#fde68a',
|
|
112
|
+
blue: 'var(--color-accent)',
|
|
113
|
+
magenta: '#d8b4fe',
|
|
114
|
+
cyan: '#67e8f9',
|
|
115
|
+
white: 'var(--color-text)',
|
|
116
|
+
},
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
const fitAddon = new FitAddon();
|
|
120
|
+
term.loadAddon(fitAddon);
|
|
121
|
+
term.loadAddon(new WebLinksAddon());
|
|
122
|
+
term.open(host);
|
|
123
|
+
terminalRef.current = term;
|
|
124
|
+
fitAddonRef.current = fitAddon;
|
|
125
|
+
fitTerminal();
|
|
126
|
+
|
|
127
|
+
// SSE listeners
|
|
128
|
+
const dataDispose = api.terminal.onData((_event, ptyId, data) => {
|
|
129
|
+
if (ptyId === ptyIdRef.current) term.write(data);
|
|
130
|
+
});
|
|
131
|
+
const exitDispose = api.terminal.onExit((_event, ptyId, exitCode) => {
|
|
132
|
+
if (ptyId === ptyIdRef.current) {
|
|
133
|
+
term.writeln(`\r\n\x1b[90m[process exited with code ${exitCode}]\x1b[0m`);
|
|
134
|
+
onExit?.(ptyId, exitCode);
|
|
135
|
+
ptyIdRef.current = null;
|
|
136
|
+
spawnedRef.current = false;
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
// Input forwarding
|
|
141
|
+
const inputDispose = term.onData((data) => {
|
|
142
|
+
if (ptyIdRef.current) api.terminal.write(ptyIdRef.current, data);
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
// Resize observer
|
|
146
|
+
const resizeObserver = new ResizeObserver(() => fitTerminal());
|
|
147
|
+
resizeObserver.observe(host);
|
|
148
|
+
|
|
149
|
+
return () => {
|
|
150
|
+
dataDispose();
|
|
151
|
+
exitDispose();
|
|
152
|
+
inputDispose.dispose();
|
|
153
|
+
resizeObserver.disconnect();
|
|
154
|
+
if (ptyIdRef.current) {
|
|
155
|
+
void api.terminal.kill(ptyIdRef.current).catch(() => {});
|
|
156
|
+
}
|
|
157
|
+
term.dispose();
|
|
158
|
+
terminalRef.current = null;
|
|
159
|
+
fitAddonRef.current = null;
|
|
160
|
+
ptyIdRef.current = null;
|
|
161
|
+
};
|
|
162
|
+
}, [fitTerminal, onExit]);
|
|
163
|
+
|
|
164
|
+
// Auto-spawn
|
|
165
|
+
// Two issues combined to prevent the CLI from ever spawning:
|
|
166
|
+
// 1. React StrictMode mounts → unmounts → remounts. The first mount set
|
|
167
|
+
// spawnedRef = true and started a 200ms timer; cleanup cleared the timer
|
|
168
|
+
// but NOT the ref. The second mount saw spawnedRef === true → skipped.
|
|
169
|
+
// 2. The parent passes an inline object literal as autoSpawn, producing a
|
|
170
|
+
// new reference each render. With the raw object in deps, every render
|
|
171
|
+
// re-ran the effect, whose cleanup cleared the timeout. spawnedRef was
|
|
172
|
+
// already true, so the retry path was blocked.
|
|
173
|
+
// Fix: reset spawnedRef in cleanup so StrictMode remount can retry, and use
|
|
174
|
+
// a stable string key derived from autoSpawn content instead of the object.
|
|
175
|
+
const autoSpawnKey = autoSpawn
|
|
176
|
+
? `${autoSpawn.command}\0${autoSpawn.args.join(',')}\0${autoSpawn.cwd}`
|
|
177
|
+
: undefined;
|
|
178
|
+
|
|
179
|
+
useEffect(() => {
|
|
180
|
+
if (!autoSpawnKey || spawnedRef.current) return;
|
|
181
|
+
spawnedRef.current = true;
|
|
182
|
+
|
|
183
|
+
const spawnOpts = autoSpawn!;
|
|
184
|
+
|
|
185
|
+
const doSpawn = async () => {
|
|
186
|
+
try {
|
|
187
|
+
const ptyId = await api.terminal.spawn(spawnOpts);
|
|
188
|
+
ptyIdRef.current = ptyId;
|
|
189
|
+
fitTerminal();
|
|
190
|
+
onSpawned?.(ptyId);
|
|
191
|
+
} catch (err) {
|
|
192
|
+
terminalRef.current?.writeln(
|
|
193
|
+
`\x1b[31m[Failed to spawn: ${err instanceof Error ? err.message : String(err)}]\x1b[0m`
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
const timer = setTimeout(doSpawn, 200);
|
|
199
|
+
return () => {
|
|
200
|
+
clearTimeout(timer);
|
|
201
|
+
spawnedRef.current = false;
|
|
202
|
+
};
|
|
203
|
+
// autoSpawnKey is a stable primitive; autoSpawn is captured via closure.
|
|
204
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
205
|
+
}, [autoSpawnKey, fitTerminal, onSpawned]);
|
|
206
|
+
|
|
207
|
+
return (
|
|
208
|
+
<div className={cn('size-full overflow-hidden', className)}>
|
|
209
|
+
<div ref={hostRef} className="size-full" />
|
|
210
|
+
</div>
|
|
211
|
+
);
|
|
212
|
+
}
|
|
213
|
+
);
|
|
@@ -7,7 +7,7 @@ import React from 'react';
|
|
|
7
7
|
|
|
8
8
|
import { RecentProjectsSection } from '@features/recent-projects/renderer';
|
|
9
9
|
import { useStore } from '@renderer/store';
|
|
10
|
-
import {
|
|
10
|
+
import { Sparkles, Users, Workflow } from 'lucide-react';
|
|
11
11
|
import { useShallow } from 'zustand/react/shallow';
|
|
12
12
|
|
|
13
13
|
const HIGHLIGHT_HARNESSES = [
|
|
@@ -19,16 +19,6 @@ const HIGHLIGHT_HARNESSES = [
|
|
|
19
19
|
'DeepSeek / IM',
|
|
20
20
|
];
|
|
21
21
|
|
|
22
|
-
const HIGHLIGHT_CHANNELS = [
|
|
23
|
-
'Feishu',
|
|
24
|
-
'Slack',
|
|
25
|
-
'Discord',
|
|
26
|
-
'DingTalk',
|
|
27
|
-
'WeCom',
|
|
28
|
-
'Telegram',
|
|
29
|
-
'Webhook / API',
|
|
30
|
-
];
|
|
31
|
-
|
|
32
22
|
export const DashboardView = (): React.JSX.Element => {
|
|
33
23
|
const { openTeamsTab, openSettingsTab, teams, teamsLoading } = useStore(
|
|
34
24
|
useShallow((state) => ({
|
|
@@ -58,8 +48,7 @@ export const DashboardView = (): React.JSX.Element => {
|
|
|
58
48
|
Hermit:一人公司的 AI 团队控制台
|
|
59
49
|
</h1>
|
|
60
50
|
<p className="mt-2 text-sm text-text-secondary">
|
|
61
|
-
几乎覆盖所有主流
|
|
62
|
-
Harness,支持全渠道接入,把团队编排、消息协作、任务推进和运行状态放在同一个工作台。
|
|
51
|
+
几乎覆盖所有主流 Harness,把团队编排、消息协作、任务推进和运行状态放在同一个工作台。
|
|
63
52
|
</p>
|
|
64
53
|
</div>
|
|
65
54
|
<div className="grid gap-4 px-6 py-5 md:grid-cols-3">
|
|
@@ -82,21 +71,14 @@ export const DashboardView = (): React.JSX.Element => {
|
|
|
82
71
|
</div>
|
|
83
72
|
<div className="rounded-lg border border-border bg-surface px-4 py-3">
|
|
84
73
|
<div className="mb-2 inline-flex items-center gap-1.5 text-xs font-medium text-text-secondary">
|
|
85
|
-
<
|
|
86
|
-
|
|
74
|
+
<Sparkles className="size-3.5" />
|
|
75
|
+
会话洞察
|
|
87
76
|
</div>
|
|
88
77
|
<p className="text-xs text-text-muted">
|
|
89
|
-
|
|
78
|
+
汇总本地会话、任务、消息和 Token 使用情况,帮助你判断团队执行状态。
|
|
90
79
|
</p>
|
|
91
|
-
<div className="mt-3
|
|
92
|
-
|
|
93
|
-
<span
|
|
94
|
-
key={channel}
|
|
95
|
-
className="rounded-md border border-border bg-surface-overlay px-2 py-1 text-[11px] text-text-secondary"
|
|
96
|
-
>
|
|
97
|
-
{channel}
|
|
98
|
-
</span>
|
|
99
|
-
))}
|
|
80
|
+
<div className="mt-3 rounded-md border border-border bg-surface-overlay px-2.5 py-2 text-[11px] text-text-muted">
|
|
81
|
+
会话记录 → 使用统计 → 身份识别 → 导出复盘
|
|
100
82
|
</div>
|
|
101
83
|
</div>
|
|
102
84
|
<div className="rounded-lg border border-border bg-surface px-4 py-3">
|
|
@@ -130,7 +112,7 @@ export const DashboardView = (): React.JSX.Element => {
|
|
|
130
112
|
<p className="mt-1 text-xs text-text-muted">
|
|
131
113
|
首次使用会看到空白首页。按下面步骤配置后,就会出现团队和项目内容。
|
|
132
114
|
</p>
|
|
133
|
-
<div className="mt-4 grid gap-3 md:grid-cols-
|
|
115
|
+
<div className="mt-4 grid gap-3 md:grid-cols-2">
|
|
134
116
|
<button
|
|
135
117
|
type="button"
|
|
136
118
|
onClick={() => openSettingsTab('harness')}
|
|
@@ -140,21 +122,12 @@ export const DashboardView = (): React.JSX.Element => {
|
|
|
140
122
|
<p className="mt-1 text-sm font-medium text-text">配置 Harness</p>
|
|
141
123
|
<p className="mt-1 text-xs text-text-muted">连接 Claude/Codex/Gemini 等运行时</p>
|
|
142
124
|
</button>
|
|
143
|
-
<button
|
|
144
|
-
type="button"
|
|
145
|
-
onClick={() => openSettingsTab('channels')}
|
|
146
|
-
className="rounded-lg border border-border bg-surface px-3 py-3 text-left transition-colors hover:bg-surface-overlay"
|
|
147
|
-
>
|
|
148
|
-
<p className="text-[11px] font-medium text-text-muted">第 2 步</p>
|
|
149
|
-
<p className="mt-1 text-sm font-medium text-text">配置渠道</p>
|
|
150
|
-
<p className="mt-1 text-xs text-text-muted">接入飞书/Slack/Telegram/Webhook</p>
|
|
151
|
-
</button>
|
|
152
125
|
<button
|
|
153
126
|
type="button"
|
|
154
127
|
onClick={openTeamsTab}
|
|
155
128
|
className="rounded-lg border border-border bg-surface px-3 py-3 text-left transition-colors hover:bg-surface-overlay"
|
|
156
129
|
>
|
|
157
|
-
<p className="text-[11px] font-medium text-text-muted">第
|
|
130
|
+
<p className="text-[11px] font-medium text-text-muted">第 2 步</p>
|
|
158
131
|
<p className="mt-1 text-sm font-medium text-text">创建团队并启动</p>
|
|
159
132
|
<p className="mt-1 text-xs text-text-muted">设置工作目录后即可开始分发任务</p>
|
|
160
133
|
</button>
|