@gokulvenkatareddy/cortex 0.1.7
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/README.md +1295 -0
- package/apps/octogent/.github/workflows/ci.yml +40 -0
- package/apps/octogent/.shims/claude +4 -0
- package/apps/octogent/AGENTS.md +71 -0
- package/apps/octogent/CONTRIBUTING.md +72 -0
- package/apps/octogent/LICENSE +21 -0
- package/apps/octogent/README.md +184 -0
- package/apps/octogent/apps/api/AGENTS.md +32 -0
- package/apps/octogent/apps/api/package.json +19 -0
- package/apps/octogent/apps/api/src/agentStateDetection.ts +181 -0
- package/apps/octogent/apps/api/src/claudeSessionScanner.ts +235 -0
- package/apps/octogent/apps/api/src/claudeSkills.ts +182 -0
- package/apps/octogent/apps/api/src/claudeUsage.ts +922 -0
- package/apps/octogent/apps/api/src/cli.ts +595 -0
- package/apps/octogent/apps/api/src/codeIntelStore.ts +46 -0
- package/apps/octogent/apps/api/src/codexUsage.ts +278 -0
- package/apps/octogent/apps/api/src/createApiServer/codeIntelRoutes.ts +60 -0
- package/apps/octogent/apps/api/src/createApiServer/conversationRoutes.ts +128 -0
- package/apps/octogent/apps/api/src/createApiServer/deckRoutes.ts +873 -0
- package/apps/octogent/apps/api/src/createApiServer/gitParsers.ts +140 -0
- package/apps/octogent/apps/api/src/createApiServer/gitRoutes.ts +214 -0
- package/apps/octogent/apps/api/src/createApiServer/miscRoutes.ts +316 -0
- package/apps/octogent/apps/api/src/createApiServer/monitorParsers.ts +137 -0
- package/apps/octogent/apps/api/src/createApiServer/monitorRoutes.ts +95 -0
- package/apps/octogent/apps/api/src/createApiServer/requestHandler.ts +311 -0
- package/apps/octogent/apps/api/src/createApiServer/requestParsers.ts +25 -0
- package/apps/octogent/apps/api/src/createApiServer/routeHelpers.ts +97 -0
- package/apps/octogent/apps/api/src/createApiServer/security.ts +70 -0
- package/apps/octogent/apps/api/src/createApiServer/terminalParsers.ts +167 -0
- package/apps/octogent/apps/api/src/createApiServer/terminalRoutes.ts +315 -0
- package/apps/octogent/apps/api/src/createApiServer/types.ts +24 -0
- package/apps/octogent/apps/api/src/createApiServer/uiStateParsers.ts +255 -0
- package/apps/octogent/apps/api/src/createApiServer/upgradeHandler.ts +38 -0
- package/apps/octogent/apps/api/src/createApiServer/usageRoutes.ts +84 -0
- package/apps/octogent/apps/api/src/createApiServer.ts +176 -0
- package/apps/octogent/apps/api/src/deck/readDeckTentacles.ts +595 -0
- package/apps/octogent/apps/api/src/githubRepoSummary.ts +397 -0
- package/apps/octogent/apps/api/src/logging.ts +9 -0
- package/apps/octogent/apps/api/src/monitor/defaults.ts +3 -0
- package/apps/octogent/apps/api/src/monitor/index.ts +8 -0
- package/apps/octogent/apps/api/src/monitor/repository.ts +303 -0
- package/apps/octogent/apps/api/src/monitor/service.ts +349 -0
- package/apps/octogent/apps/api/src/monitor/types.ts +120 -0
- package/apps/octogent/apps/api/src/monitor/xProvider.ts +587 -0
- package/apps/octogent/apps/api/src/projectPersistence.ts +377 -0
- package/apps/octogent/apps/api/src/prompts/index.ts +10 -0
- package/apps/octogent/apps/api/src/prompts/promptResolver.ts +145 -0
- package/apps/octogent/apps/api/src/runtimeMetadata.ts +69 -0
- package/apps/octogent/apps/api/src/server.ts +80 -0
- package/apps/octogent/apps/api/src/setupState.ts +80 -0
- package/apps/octogent/apps/api/src/setupStatus.ts +174 -0
- package/apps/octogent/apps/api/src/startupPrerequisites.ts +146 -0
- package/apps/octogent/apps/api/src/terminalRuntime/channelMessaging.ts +87 -0
- package/apps/octogent/apps/api/src/terminalRuntime/claudeTranscript.ts +279 -0
- package/apps/octogent/apps/api/src/terminalRuntime/constants.ts +15 -0
- package/apps/octogent/apps/api/src/terminalRuntime/conversations.ts +492 -0
- package/apps/octogent/apps/api/src/terminalRuntime/gitOperations.ts +341 -0
- package/apps/octogent/apps/api/src/terminalRuntime/hookProcessor.ts +405 -0
- package/apps/octogent/apps/api/src/terminalRuntime/protocol.ts +46 -0
- package/apps/octogent/apps/api/src/terminalRuntime/ptyEnvironment.ts +50 -0
- package/apps/octogent/apps/api/src/terminalRuntime/registry.ts +423 -0
- package/apps/octogent/apps/api/src/terminalRuntime/sessionRuntime.ts +671 -0
- package/apps/octogent/apps/api/src/terminalRuntime/systemClients.ts +432 -0
- package/apps/octogent/apps/api/src/terminalRuntime/types.ts +157 -0
- package/apps/octogent/apps/api/src/terminalRuntime/worktreeManager.ts +135 -0
- package/apps/octogent/apps/api/src/terminalRuntime.ts +567 -0
- package/apps/octogent/apps/api/src/usageUtils.ts +16 -0
- package/apps/octogent/apps/api/src/ws-shim.d.ts +28 -0
- package/apps/octogent/apps/api/tests/agentStateDetection.test.ts +67 -0
- package/apps/octogent/apps/api/tests/claudeUsage.test.ts +583 -0
- package/apps/octogent/apps/api/tests/codexUsage.test.ts +107 -0
- package/apps/octogent/apps/api/tests/createApiServer.test.ts +3207 -0
- package/apps/octogent/apps/api/tests/githubRepoSummary.test.ts +100 -0
- package/apps/octogent/apps/api/tests/logging.test.ts +33 -0
- package/apps/octogent/apps/api/tests/monitorApi.test.ts +467 -0
- package/apps/octogent/apps/api/tests/monitorCore.test.ts +104 -0
- package/apps/octogent/apps/api/tests/promptResolver.test.ts +109 -0
- package/apps/octogent/apps/api/tests/protocol.test.ts +14 -0
- package/apps/octogent/apps/api/tests/sessionRuntime.test.ts +608 -0
- package/apps/octogent/apps/api/tests/startupPrerequisites.test.ts +70 -0
- package/apps/octogent/apps/api/tests/upgradeHandler.test.ts +40 -0
- package/apps/octogent/apps/api/tests/xMonitorProvider.test.ts +109 -0
- package/apps/octogent/apps/api/tsconfig.json +7 -0
- package/apps/octogent/apps/api/vitest.config.ts +7 -0
- package/apps/octogent/apps/web/AGENTS.md +38 -0
- package/apps/octogent/apps/web/index.html +13 -0
- package/apps/octogent/apps/web/package.json +32 -0
- package/apps/octogent/apps/web/public/octopus-favicon.svg +26 -0
- package/apps/octogent/apps/web/src/App.tsx +646 -0
- package/apps/octogent/apps/web/src/app/canvas/types.ts +34 -0
- package/apps/octogent/apps/web/src/app/codeIntelAggregation.ts +278 -0
- package/apps/octogent/apps/web/src/app/constants.ts +28 -0
- package/apps/octogent/apps/web/src/app/conversationNormalizers.ts +135 -0
- package/apps/octogent/apps/web/src/app/formatTimestamp.ts +18 -0
- package/apps/octogent/apps/web/src/app/githubMetrics.ts +76 -0
- package/apps/octogent/apps/web/src/app/githubNormalizers.ts +91 -0
- package/apps/octogent/apps/web/src/app/hooks/useAgentRuntimeStates.ts +18 -0
- package/apps/octogent/apps/web/src/app/hooks/useBackendLivenessPolling.ts +53 -0
- package/apps/octogent/apps/web/src/app/hooks/useCanvasGraphData.ts +449 -0
- package/apps/octogent/apps/web/src/app/hooks/useCanvasTransform.ts +260 -0
- package/apps/octogent/apps/web/src/app/hooks/useClaudeUsagePolling.ts +40 -0
- package/apps/octogent/apps/web/src/app/hooks/useClickOutside.ts +30 -0
- package/apps/octogent/apps/web/src/app/hooks/useCodeIntelRuntime.ts +83 -0
- package/apps/octogent/apps/web/src/app/hooks/useCodexUsagePolling.ts +35 -0
- package/apps/octogent/apps/web/src/app/hooks/useConsoleKeyboardShortcuts.ts +31 -0
- package/apps/octogent/apps/web/src/app/hooks/useConversationsRuntime.ts +377 -0
- package/apps/octogent/apps/web/src/app/hooks/useForceSimulation.ts +319 -0
- package/apps/octogent/apps/web/src/app/hooks/useGitHubPrimaryViewModel.ts +143 -0
- package/apps/octogent/apps/web/src/app/hooks/useGithubSummaryPolling.ts +28 -0
- package/apps/octogent/apps/web/src/app/hooks/useInitialColumnsHydration.ts +64 -0
- package/apps/octogent/apps/web/src/app/hooks/useMonitorRuntime.ts +220 -0
- package/apps/octogent/apps/web/src/app/hooks/usePersistedUiState.ts +536 -0
- package/apps/octogent/apps/web/src/app/hooks/usePollingData.ts +79 -0
- package/apps/octogent/apps/web/src/app/hooks/usePromptLibrary.ts +185 -0
- package/apps/octogent/apps/web/src/app/hooks/useTentacleGitLifecycle.ts +530 -0
- package/apps/octogent/apps/web/src/app/hooks/useTerminalCompletionNotification.ts +94 -0
- package/apps/octogent/apps/web/src/app/hooks/useTerminalMutations.ts +266 -0
- package/apps/octogent/apps/web/src/app/hooks/useTerminalStateReconciliation.ts +23 -0
- package/apps/octogent/apps/web/src/app/hooks/useUsageHeatmapPolling.ts +43 -0
- package/apps/octogent/apps/web/src/app/hooks/useWorkspaceSetup.ts +80 -0
- package/apps/octogent/apps/web/src/app/hotkeys.ts +31 -0
- package/apps/octogent/apps/web/src/app/monitorNormalizers.ts +145 -0
- package/apps/octogent/apps/web/src/app/notificationSounds.ts +164 -0
- package/apps/octogent/apps/web/src/app/terminalRuntimeStateStore.ts +261 -0
- package/apps/octogent/apps/web/src/app/terminalState.ts +21 -0
- package/apps/octogent/apps/web/src/app/types.ts +42 -0
- package/apps/octogent/apps/web/src/app/uiStateNormalizers.ts +113 -0
- package/apps/octogent/apps/web/src/app/usageNormalizers.ts +58 -0
- package/apps/octogent/apps/web/src/components/ActiveAgentsSidebar.tsx +60 -0
- package/apps/octogent/apps/web/src/components/ActivityPrimaryView.tsx +21 -0
- package/apps/octogent/apps/web/src/components/AgentStateBadge.tsx +47 -0
- package/apps/octogent/apps/web/src/components/CanvasPrimaryView.tsx +1532 -0
- package/apps/octogent/apps/web/src/components/ClearAllConversationsDialog.tsx +33 -0
- package/apps/octogent/apps/web/src/components/CodeIntelArcDiagram.tsx +245 -0
- package/apps/octogent/apps/web/src/components/CodeIntelPrimaryView.tsx +104 -0
- package/apps/octogent/apps/web/src/components/CodeIntelTreemap.tsx +138 -0
- package/apps/octogent/apps/web/src/components/ConsolePrimaryNav.tsx +31 -0
- package/apps/octogent/apps/web/src/components/ConversationsPrimaryView.tsx +243 -0
- package/apps/octogent/apps/web/src/components/DeckPrimaryView.tsx +613 -0
- package/apps/octogent/apps/web/src/components/DeleteTentacleDialog.tsx +91 -0
- package/apps/octogent/apps/web/src/components/EmptyOctopus.tsx +715 -0
- package/apps/octogent/apps/web/src/components/GitHubPrimaryView.tsx +494 -0
- package/apps/octogent/apps/web/src/components/MonitorPrimaryView.tsx +475 -0
- package/apps/octogent/apps/web/src/components/PrimaryViewRouter.tsx +99 -0
- package/apps/octogent/apps/web/src/components/PromptsPrimaryView.tsx +243 -0
- package/apps/octogent/apps/web/src/components/RuntimeStatusStrip.tsx +273 -0
- package/apps/octogent/apps/web/src/components/SettingsPrimaryView.tsx +92 -0
- package/apps/octogent/apps/web/src/components/SidebarActionPanel.tsx +124 -0
- package/apps/octogent/apps/web/src/components/SidebarConversationsList.tsx +279 -0
- package/apps/octogent/apps/web/src/components/SidebarPromptsList.tsx +116 -0
- package/apps/octogent/apps/web/src/components/TelemetryTape.tsx +106 -0
- package/apps/octogent/apps/web/src/components/TentacleGitActionsDialog.tsx +341 -0
- package/apps/octogent/apps/web/src/components/Terminal.tsx +524 -0
- package/apps/octogent/apps/web/src/components/TerminalPromptPicker.tsx +140 -0
- package/apps/octogent/apps/web/src/components/UsageHeatmap.tsx +702 -0
- package/apps/octogent/apps/web/src/components/canvas/CanvasTentaclePanel.tsx +485 -0
- package/apps/octogent/apps/web/src/components/canvas/CanvasTerminalColumn.tsx +89 -0
- package/apps/octogent/apps/web/src/components/canvas/DeleteAllTerminalsDialog.tsx +221 -0
- package/apps/octogent/apps/web/src/components/canvas/OctopusNode.tsx +307 -0
- package/apps/octogent/apps/web/src/components/canvas/SessionNode.tsx +185 -0
- package/apps/octogent/apps/web/src/components/deck/ActionCards.tsx +118 -0
- package/apps/octogent/apps/web/src/components/deck/AddTentacleForm.tsx +269 -0
- package/apps/octogent/apps/web/src/components/deck/DeckBottomActions.tsx +56 -0
- package/apps/octogent/apps/web/src/components/deck/TentaclePod.tsx +334 -0
- package/apps/octogent/apps/web/src/components/deck/WorkspaceSetupCard.tsx +105 -0
- package/apps/octogent/apps/web/src/components/deck/octopusVisuals.ts +72 -0
- package/apps/octogent/apps/web/src/components/terminalReplay.ts +62 -0
- package/apps/octogent/apps/web/src/components/terminalWheel.ts +54 -0
- package/apps/octogent/apps/web/src/components/ui/ActionButton.tsx +34 -0
- package/apps/octogent/apps/web/src/components/ui/ConfirmationDialog.tsx +86 -0
- package/apps/octogent/apps/web/src/components/ui/MarkdownContent.tsx +43 -0
- package/apps/octogent/apps/web/src/components/ui/SettingsToggle.tsx +34 -0
- package/apps/octogent/apps/web/src/components/ui/StatusBadge.tsx +24 -0
- package/apps/octogent/apps/web/src/main.tsx +17 -0
- package/apps/octogent/apps/web/src/runtime/HttpTerminalSnapshotReader.ts +87 -0
- package/apps/octogent/apps/web/src/runtime/runtimeEndpoints.ts +412 -0
- package/apps/octogent/apps/web/src/styles/chrome-and-buttons.css +272 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-activity.css +358 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-canvas.css +1843 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-code-intel.css +227 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-conversations.css +705 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-deck.css +1524 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-github.css +541 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-monitor.css +595 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-pixpack.css +81 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-prompts.css +474 -0
- package/apps/octogent/apps/web/src/styles/console-canvas-settings.css +207 -0
- package/apps/octogent/apps/web/src/styles/console-chrome-status-nav.css +441 -0
- package/apps/octogent/apps/web/src/styles/console-overrides-telemetry.css +320 -0
- package/apps/octogent/apps/web/src/styles/console-theme-tokens.css +25 -0
- package/apps/octogent/apps/web/src/styles/cortex-theme.css +412 -0
- package/apps/octogent/apps/web/src/styles/foundation.css +100 -0
- package/apps/octogent/apps/web/src/styles/sidebar-and-scrollbars.css +447 -0
- package/apps/octogent/apps/web/src/styles/terminal-and-status.css +356 -0
- package/apps/octogent/apps/web/src/styles.css +25 -0
- package/apps/octogent/apps/web/src/types/ws.d.ts +23 -0
- package/apps/octogent/apps/web/tests/CanvasPrimaryView.test.tsx +347 -0
- package/apps/octogent/apps/web/tests/HttpTerminalSnapshotReader.test.tsx +54 -0
- package/apps/octogent/apps/web/tests/RuntimeStatusStrip.test.tsx +70 -0
- package/apps/octogent/apps/web/tests/Terminal.test.tsx +87 -0
- package/apps/octogent/apps/web/tests/add-tentacle-form.test.tsx +48 -0
- package/apps/octogent/apps/web/tests/app-github-runtime.test.tsx +162 -0
- package/apps/octogent/apps/web/tests/app-monitor-runtime.test.tsx +657 -0
- package/apps/octogent/apps/web/tests/app-shell-navigation.test.tsx +109 -0
- package/apps/octogent/apps/web/tests/app-swarm-refresh.test.tsx +268 -0
- package/apps/octogent/apps/web/tests/app-ui-state-persistence.test.tsx +116 -0
- package/apps/octogent/apps/web/tests/app-workspace-setup.test.tsx +217 -0
- package/apps/octogent/apps/web/tests/canvas-tentacle-panel.test.tsx +195 -0
- package/apps/octogent/apps/web/tests/delete-all-terminals-dialog.test.tsx +76 -0
- package/apps/octogent/apps/web/tests/githubMetrics.test.tsx +52 -0
- package/apps/octogent/apps/web/tests/hotkeys.test.tsx +44 -0
- package/apps/octogent/apps/web/tests/runtimeEndpoints.test.tsx +240 -0
- package/apps/octogent/apps/web/tests/setup.ts +39 -0
- package/apps/octogent/apps/web/tests/tentacle-pod.test.tsx +62 -0
- package/apps/octogent/apps/web/tests/terminalReplay.test.ts +71 -0
- package/apps/octogent/apps/web/tests/terminalState.test.tsx +49 -0
- package/apps/octogent/apps/web/tests/terminalWheel.test.tsx +51 -0
- package/apps/octogent/apps/web/tests/test-utils/appTestHarness.ts +48 -0
- package/apps/octogent/apps/web/tests/uiPrimitives.test.tsx +31 -0
- package/apps/octogent/apps/web/tests/useAgentRuntimeStates.test.tsx +47 -0
- package/apps/octogent/apps/web/tsconfig.json +8 -0
- package/apps/octogent/apps/web/vite.api.bundle.config.mts +32 -0
- package/apps/octogent/apps/web/vite.config.ts +22 -0
- package/apps/octogent/bin/octogent +3 -0
- package/apps/octogent/biome.json +21 -0
- package/apps/octogent/docs/concepts/mental-model.md +79 -0
- package/apps/octogent/docs/concepts/runtime-and-api.md +60 -0
- package/apps/octogent/docs/concepts/tentacles.md +85 -0
- package/apps/octogent/docs/getting-started/installation.md +54 -0
- package/apps/octogent/docs/getting-started/quickstart.md +79 -0
- package/apps/octogent/docs/guides/inter-agent-messaging.md +43 -0
- package/apps/octogent/docs/guides/orchestrating-child-agents.md +49 -0
- package/apps/octogent/docs/guides/working-with-todos.md +56 -0
- package/apps/octogent/docs/index.md +40 -0
- package/apps/octogent/docs/reference/api.md +103 -0
- package/apps/octogent/docs/reference/cli.md +71 -0
- package/apps/octogent/docs/reference/experimental-features.md +28 -0
- package/apps/octogent/docs/reference/filesystem-layout.md +62 -0
- package/apps/octogent/docs/reference/troubleshooting.md +49 -0
- package/apps/octogent/package.json +35 -0
- package/apps/octogent/packages/core/AGENTS.md +31 -0
- package/apps/octogent/packages/core/package.json +12 -0
- package/apps/octogent/packages/core/src/adapters/InMemoryTerminalSnapshotReader.ts +10 -0
- package/apps/octogent/packages/core/src/application/buildTerminalList.ts +13 -0
- package/apps/octogent/packages/core/src/domain/agentRuntime.ts +18 -0
- package/apps/octogent/packages/core/src/domain/channel.ts +8 -0
- package/apps/octogent/packages/core/src/domain/completionSound.ts +14 -0
- package/apps/octogent/packages/core/src/domain/conversation.ts +48 -0
- package/apps/octogent/packages/core/src/domain/deck.ts +33 -0
- package/apps/octogent/packages/core/src/domain/git.ts +32 -0
- package/apps/octogent/packages/core/src/domain/monitor.ts +62 -0
- package/apps/octogent/packages/core/src/domain/setup.ts +27 -0
- package/apps/octogent/packages/core/src/domain/terminal.ts +17 -0
- package/apps/octogent/packages/core/src/domain/uiState.ts +22 -0
- package/apps/octogent/packages/core/src/domain/usage.ts +60 -0
- package/apps/octogent/packages/core/src/index.ts +15 -0
- package/apps/octogent/packages/core/src/ports/TerminalSnapshotReader.ts +5 -0
- package/apps/octogent/packages/core/src/util/typeCoercion.ts +20 -0
- package/apps/octogent/packages/core/tests/buildTerminalList.test.ts +75 -0
- package/apps/octogent/packages/core/tsconfig.json +7 -0
- package/apps/octogent/packages/core/tsconfig.tsbuildinfo +1 -0
- package/apps/octogent/packages/core/vitest.config.ts +7 -0
- package/apps/octogent/pnpm-lock.yaml +3212 -0
- package/apps/octogent/pnpm-workspace.yaml +3 -0
- package/apps/octogent/prompts/meta-prompt-generator.md +223 -0
- package/apps/octogent/prompts/octoboss-clean-contexts.md +30 -0
- package/apps/octogent/prompts/octoboss-reorganize-tentacles.md +29 -0
- package/apps/octogent/prompts/octoboss-reorganize-todos.md +27 -0
- package/apps/octogent/prompts/sandbox-init.md +3 -0
- package/apps/octogent/prompts/swarm-parent.md +83 -0
- package/apps/octogent/prompts/swarm-worker.md +50 -0
- package/apps/octogent/prompts/tentacle-context-init.md +1 -0
- package/apps/octogent/prompts/tentacle-planner.md +110 -0
- package/apps/octogent/prompts/tentacle-reorganize-todos.md +20 -0
- package/apps/octogent/prompts/tentacle-update-tentacle.md +18 -0
- package/apps/octogent/scripts/build-package.mjs +23 -0
- package/apps/octogent/scripts/dev.mjs +158 -0
- package/apps/octogent/scripts/smoke-public-install.mjs +271 -0
- package/apps/octogent/static/images/octogent-header.png +0 -0
- package/apps/octogent/static/images/preview_1.jpg +0 -0
- package/apps/octogent/static/images/preview_2.jpg +0 -0
- package/apps/octogent/static/images/preview_3.jpg +0 -0
- package/apps/octogent/static/images/preview_4.jpg +0 -0
- package/apps/octogent/static/images/preview_5.jpg +0 -0
- package/apps/octogent/static/images/preview_6.jpg +0 -0
- package/apps/octogent/tsconfig.base.json +16 -0
- package/bin/AGI +3 -0
- package/bin/AGI-install-app +71 -0
- package/bin/AGI-ui +16 -0
- package/bin/AGI-voice +15 -0
- package/bin/AGI-web +16 -0
- package/bin/cortex +109 -0
- package/bin/cortex-octogent +99 -0
- package/bin/import-specifier.mjs +13 -0
- package/bin/import-specifier.test.mjs +13 -0
- package/bin/octo +150 -0
- package/dist/cli.mjs +555650 -0
- package/package.json +157 -0
- package/scripts/setup-wizard.ts +390 -0
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
.chrome {
|
|
2
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
3
|
+
background: var(--bg-surface-2);
|
|
4
|
+
padding: 0.3rem 0.45rem;
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: 1fr auto 1fr;
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: 0.2rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.chrome h1 {
|
|
12
|
+
margin: 0;
|
|
13
|
+
text-transform: uppercase;
|
|
14
|
+
letter-spacing: 0.06em;
|
|
15
|
+
color: var(--text-secondary);
|
|
16
|
+
font-family: var(--font-main);
|
|
17
|
+
font-size: 0.8rem;
|
|
18
|
+
font-weight: 700;
|
|
19
|
+
line-height: 1.2;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.chrome p {
|
|
23
|
+
margin: 0.35rem 0 0;
|
|
24
|
+
color: var(--text-secondary);
|
|
25
|
+
font-size: 0.875rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.chrome-left {
|
|
29
|
+
display: flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-self: start;
|
|
32
|
+
gap: 0.35rem;
|
|
33
|
+
min-width: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.chrome-octopus {
|
|
37
|
+
display: block;
|
|
38
|
+
width: 1.2rem;
|
|
39
|
+
height: auto;
|
|
40
|
+
margin: 0;
|
|
41
|
+
image-rendering: pixelated;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.chrome-right {
|
|
45
|
+
grid-column: 3;
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-self: end;
|
|
49
|
+
gap: 0.26rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.action-button {
|
|
53
|
+
--action-button-border: var(--control-border-strong);
|
|
54
|
+
--action-button-bg: var(--control-bg-strong);
|
|
55
|
+
--action-button-color: var(--accent-primary);
|
|
56
|
+
--action-button-font-size: 0.6rem;
|
|
57
|
+
--action-button-line-height: var(--control-line-height);
|
|
58
|
+
--action-button-letter-spacing: var(--control-letter-spacing);
|
|
59
|
+
--action-button-padding-y: 0.16rem;
|
|
60
|
+
--action-button-padding-x: 0.25rem;
|
|
61
|
+
border: 1px solid var(--action-button-border);
|
|
62
|
+
background: var(--action-button-bg);
|
|
63
|
+
color: var(--action-button-color);
|
|
64
|
+
font-family: var(--control-font-family);
|
|
65
|
+
font-size: var(--action-button-font-size);
|
|
66
|
+
font-weight: 700;
|
|
67
|
+
letter-spacing: var(--action-button-letter-spacing);
|
|
68
|
+
text-transform: uppercase;
|
|
69
|
+
line-height: var(--action-button-line-height);
|
|
70
|
+
padding: var(--action-button-padding-y) var(--action-button-padding-x);
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.action-button--dense {
|
|
75
|
+
--action-button-font-size: 0.72rem;
|
|
76
|
+
--action-button-padding-y: 0.28rem;
|
|
77
|
+
--action-button-padding-x: 0.44rem;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.action-button--compact {
|
|
81
|
+
--action-button-font-size: 0.58rem;
|
|
82
|
+
--action-button-padding-y: 0.14rem;
|
|
83
|
+
--action-button-padding-x: 0.22rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.action-button--primary {
|
|
87
|
+
--action-button-border: var(--border-subtle);
|
|
88
|
+
--action-button-bg: color-mix(in srgb, var(--accent-primary) 88%, #ffd7a0 12%);
|
|
89
|
+
--action-button-color: #121212;
|
|
90
|
+
--action-button-font-size: 0.68rem;
|
|
91
|
+
--action-button-padding-y: 0.2rem;
|
|
92
|
+
--action-button-padding-x: 0.42rem;
|
|
93
|
+
--action-button-letter-spacing: 0.08em;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.action-button--accent {
|
|
97
|
+
--action-button-border: color-mix(
|
|
98
|
+
in srgb,
|
|
99
|
+
var(--accent-primary) 50%,
|
|
100
|
+
var(--control-border-strong)
|
|
101
|
+
);
|
|
102
|
+
--action-button-bg: color-mix(in srgb, var(--accent-primary) 14%, var(--control-bg-strong));
|
|
103
|
+
--action-button-color: var(--accent-primary);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.action-button--info {
|
|
107
|
+
--action-button-border: color-mix(in srgb, #9bc8ff 45%, var(--control-border-strong));
|
|
108
|
+
--action-button-bg: color-mix(in srgb, #9bc8ff 12%, var(--control-bg-strong));
|
|
109
|
+
--action-button-color: #9bc8ff;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.action-button--danger {
|
|
113
|
+
--action-button-border: color-mix(in srgb, #ff9a9a 45%, var(--control-border-strong));
|
|
114
|
+
--action-button-bg: color-mix(in srgb, #ff9a9a 12%, var(--control-bg-strong));
|
|
115
|
+
--action-button-color: #ff9a9a;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.action-button:disabled {
|
|
119
|
+
cursor: wait;
|
|
120
|
+
opacity: 0.7;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.action-button:focus-visible {
|
|
124
|
+
outline: 1px solid var(--action-button-border);
|
|
125
|
+
outline-offset: 1px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.chrome-sidebar-toggle {
|
|
129
|
+
border: 1px solid var(--border-subtle);
|
|
130
|
+
background: color-mix(in srgb, var(--bg-surface-1) 85%, #1e1e1e);
|
|
131
|
+
color: var(--text-primary);
|
|
132
|
+
font-family: inherit;
|
|
133
|
+
display: inline-flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
width: 1.5rem;
|
|
137
|
+
height: 1.5rem;
|
|
138
|
+
padding: 0;
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.chrome-sidebar-toggle[data-active="false"] {
|
|
143
|
+
color: var(--text-secondary);
|
|
144
|
+
background: var(--bg-surface-1);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.chrome-sidebar-toggle-icon {
|
|
148
|
+
width: 0.75rem;
|
|
149
|
+
height: 0.75rem;
|
|
150
|
+
fill: currentColor;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.chrome-sidebar-toggle:focus-visible {
|
|
154
|
+
outline: 1px solid var(--accent-primary);
|
|
155
|
+
outline-offset: 1px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.chrome-create-terminal {
|
|
159
|
+
--action-button-border: var(--border-subtle);
|
|
160
|
+
--action-button-bg: color-mix(in srgb, var(--accent-primary) 88%, #ffd7a0 12%);
|
|
161
|
+
--action-button-color: #121212;
|
|
162
|
+
--action-button-font-size: 0.68rem;
|
|
163
|
+
--action-button-letter-spacing: 0.07em;
|
|
164
|
+
--action-button-line-height: 1.25;
|
|
165
|
+
--action-button-padding-y: 0.23rem;
|
|
166
|
+
--action-button-padding-x: 0.44rem;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.chrome-create-terminal--worktree {
|
|
170
|
+
--action-button-border: color-mix(in srgb, #9bc8ff 45%, var(--border-subtle));
|
|
171
|
+
--action-button-bg: color-mix(in srgb, #9bc8ff 14%, var(--bg-surface-1) 86%);
|
|
172
|
+
--action-button-color: #9bc8ff;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Split button for terminal creation with provider dropdown */
|
|
176
|
+
.split-button {
|
|
177
|
+
position: relative;
|
|
178
|
+
display: inline-flex;
|
|
179
|
+
align-items: stretch;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.split-button-main {
|
|
183
|
+
border-top-right-radius: 0;
|
|
184
|
+
border-bottom-right-radius: 0;
|
|
185
|
+
border-right: none;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.split-button-toggle {
|
|
189
|
+
display: inline-flex;
|
|
190
|
+
align-items: center;
|
|
191
|
+
justify-content: center;
|
|
192
|
+
border: 1px solid var(--border-subtle);
|
|
193
|
+
border-left: 1px solid color-mix(in srgb, #000 18%, transparent);
|
|
194
|
+
padding: 0 0.22rem;
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
font-size: 0;
|
|
197
|
+
line-height: 1;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.split-button-toggle--primary {
|
|
201
|
+
background: color-mix(in srgb, var(--accent-primary) 78%, #ffd7a0 12%);
|
|
202
|
+
color: #121212;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.split-button-toggle--info {
|
|
206
|
+
background: color-mix(in srgb, #9bc8ff 14%, var(--bg-surface-1) 86%);
|
|
207
|
+
border-color: color-mix(in srgb, #9bc8ff 45%, var(--border-subtle));
|
|
208
|
+
border-left-color: color-mix(in srgb, #9bc8ff 25%, transparent);
|
|
209
|
+
color: #9bc8ff;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.split-button-toggle:disabled {
|
|
213
|
+
cursor: wait;
|
|
214
|
+
opacity: 0.7;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.split-button-toggle:focus-visible {
|
|
218
|
+
outline: 1px solid var(--accent-primary);
|
|
219
|
+
outline-offset: 1px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.split-button-toggle-icon {
|
|
223
|
+
width: 0.5rem;
|
|
224
|
+
height: 0.35rem;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.split-button-menu {
|
|
228
|
+
position: absolute;
|
|
229
|
+
top: 100%;
|
|
230
|
+
right: 0;
|
|
231
|
+
margin-top: 2px;
|
|
232
|
+
z-index: 100;
|
|
233
|
+
min-width: 9rem;
|
|
234
|
+
border: 1px solid var(--border-subtle);
|
|
235
|
+
background: var(--bg-surface-2);
|
|
236
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: column;
|
|
239
|
+
padding: 0.15rem 0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.split-button-menu-item {
|
|
243
|
+
display: flex;
|
|
244
|
+
align-items: center;
|
|
245
|
+
justify-content: space-between;
|
|
246
|
+
gap: 0.5rem;
|
|
247
|
+
border: none;
|
|
248
|
+
background: transparent;
|
|
249
|
+
color: var(--text-primary);
|
|
250
|
+
font-family: var(--control-font-family);
|
|
251
|
+
font-size: 0.68rem;
|
|
252
|
+
font-weight: 600;
|
|
253
|
+
letter-spacing: 0.04em;
|
|
254
|
+
text-transform: uppercase;
|
|
255
|
+
padding: 0.3rem 0.5rem;
|
|
256
|
+
cursor: pointer;
|
|
257
|
+
text-align: left;
|
|
258
|
+
white-space: nowrap;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.split-button-menu-item:hover {
|
|
262
|
+
background: color-mix(in srgb, var(--accent-primary) 14%, transparent);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.split-button-menu-item[data-active="true"] {
|
|
266
|
+
color: var(--accent-primary);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.split-button-menu-check {
|
|
270
|
+
font-size: 0.6rem;
|
|
271
|
+
opacity: 0.8;
|
|
272
|
+
}
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
.console-shell .activity-view {
|
|
2
|
+
min-height: 0;
|
|
3
|
+
background: #0b0d10;
|
|
4
|
+
border: 1px solid #2b2f36;
|
|
5
|
+
padding: 0;
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* ── Chart header (shared) ──────────────────────────── */
|
|
12
|
+
|
|
13
|
+
.usage-heatmap {
|
|
14
|
+
min-height: 0;
|
|
15
|
+
background: #090d12;
|
|
16
|
+
border-bottom: 1px solid #2b2f36;
|
|
17
|
+
padding: 0.58rem;
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
20
|
+
gap: 0.48rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.usage-heatmap-header {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-between;
|
|
27
|
+
gap: 0.72rem;
|
|
28
|
+
flex-wrap: wrap;
|
|
29
|
+
padding-bottom: 0.42rem;
|
|
30
|
+
border-bottom: 1px solid #1f2733;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.usage-heatmap-header-left {
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: baseline;
|
|
36
|
+
gap: 0.72rem;
|
|
37
|
+
flex-wrap: wrap;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.usage-heatmap-header h3 {
|
|
41
|
+
margin: 0;
|
|
42
|
+
color: #dce6f7;
|
|
43
|
+
font-size: 1rem;
|
|
44
|
+
font-weight: 700;
|
|
45
|
+
letter-spacing: 0.03em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.usage-heatmap-summary {
|
|
49
|
+
color: #8494ab;
|
|
50
|
+
font-size: 0.72rem;
|
|
51
|
+
letter-spacing: 0.04em;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.usage-heatmap-header-actions {
|
|
55
|
+
display: inline-flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
gap: 0.42rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.usage-heatmap-scope-toggle {
|
|
61
|
+
display: inline-flex;
|
|
62
|
+
border: 1px solid #2b2f36;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.usage-heatmap-scope-btn {
|
|
66
|
+
all: unset;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
padding: 0.14rem 0.42rem;
|
|
69
|
+
font-size: 0.66rem;
|
|
70
|
+
letter-spacing: 0.05em;
|
|
71
|
+
color: #8494ab;
|
|
72
|
+
background: #0c1118;
|
|
73
|
+
transition: background 100ms linear, color 100ms linear;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.usage-heatmap-scope-btn:hover {
|
|
77
|
+
color: #dce6f7;
|
|
78
|
+
background: #151b26;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.usage-heatmap-scope-btn.is-active {
|
|
82
|
+
color: #0b0d10;
|
|
83
|
+
background: var(--accent-primary);
|
|
84
|
+
font-weight: 600;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.usage-heatmap-refresh {
|
|
88
|
+
--action-button-font-size: 0.66rem;
|
|
89
|
+
--action-button-padding-y: 0.16rem;
|
|
90
|
+
--action-button-padding-x: 0.34rem;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* ── Bar chart ──────────────────────────────────────── */
|
|
94
|
+
|
|
95
|
+
.usage-chart-split {
|
|
96
|
+
position: relative;
|
|
97
|
+
min-height: 0;
|
|
98
|
+
display: grid;
|
|
99
|
+
grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
|
|
100
|
+
gap: 0.58rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.usage-chart-panel {
|
|
104
|
+
min-height: 0;
|
|
105
|
+
min-width: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.usage-chart-left-stack,
|
|
109
|
+
.usage-chart-right-stack {
|
|
110
|
+
min-height: 0;
|
|
111
|
+
min-width: 0;
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.usage-chart-left-stack > .usage-chart-panel,
|
|
117
|
+
.usage-chart-right-stack > .usage-chart-panel {
|
|
118
|
+
flex: 1 1 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.usage-chart-right-stack > .usage-chart-panel {
|
|
122
|
+
overflow-x: auto;
|
|
123
|
+
overflow-y: hidden;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* ── Stats panel ─────────────────────────────────────── */
|
|
127
|
+
|
|
128
|
+
.usage-chart-stats {
|
|
129
|
+
margin: 0;
|
|
130
|
+
display: grid;
|
|
131
|
+
grid-template-columns: repeat(5, 1fr);
|
|
132
|
+
gap: 1px;
|
|
133
|
+
background: #1f2733;
|
|
134
|
+
border: 1px solid #1f2733;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.usage-chart-stat {
|
|
138
|
+
display: flex;
|
|
139
|
+
flex-direction: column;
|
|
140
|
+
gap: 0.18rem;
|
|
141
|
+
padding: 0.36rem 0.48rem;
|
|
142
|
+
background: #0c1118;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.usage-chart-stat dt {
|
|
146
|
+
margin: 0;
|
|
147
|
+
color: #6b7a90;
|
|
148
|
+
font-size: 0.58rem;
|
|
149
|
+
letter-spacing: 0.06em;
|
|
150
|
+
text-transform: uppercase;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.usage-chart-stat dd {
|
|
154
|
+
margin: 0;
|
|
155
|
+
color: #dce6f7;
|
|
156
|
+
font-size: 0.88rem;
|
|
157
|
+
font-weight: 700;
|
|
158
|
+
font-variant-numeric: tabular-nums;
|
|
159
|
+
line-height: 1.2;
|
|
160
|
+
overflow: hidden;
|
|
161
|
+
text-overflow: ellipsis;
|
|
162
|
+
white-space: nowrap;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.usage-chart-stat-sub {
|
|
166
|
+
margin-left: 0.28rem;
|
|
167
|
+
color: var(--accent-primary);
|
|
168
|
+
font-size: 0.7rem;
|
|
169
|
+
font-weight: 600;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* ── Vertical segment toggle ─────────────────────────── */
|
|
173
|
+
|
|
174
|
+
.usage-chart-bar-segment-toggle {
|
|
175
|
+
display: flex;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
justify-content: center;
|
|
178
|
+
gap: 0.2rem;
|
|
179
|
+
border-right: 1px solid #2b2f36;
|
|
180
|
+
padding-right: 0.42rem;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.usage-chart-bar-segment-btn {
|
|
184
|
+
all: unset;
|
|
185
|
+
cursor: pointer;
|
|
186
|
+
writing-mode: vertical-lr;
|
|
187
|
+
text-orientation: mixed;
|
|
188
|
+
transform: rotate(180deg);
|
|
189
|
+
padding: 0.36rem 0.18rem;
|
|
190
|
+
font-size: 0.62rem;
|
|
191
|
+
letter-spacing: 0.06em;
|
|
192
|
+
text-transform: uppercase;
|
|
193
|
+
color: #8494ab;
|
|
194
|
+
background: #0c1118;
|
|
195
|
+
border: 1px solid #2b2f36;
|
|
196
|
+
text-align: center;
|
|
197
|
+
transition: background 100ms linear, color 100ms linear;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.usage-chart-bar-segment-btn:hover {
|
|
201
|
+
color: #dce6f7;
|
|
202
|
+
background: #151b26;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.usage-chart-bar-segment-btn.is-active {
|
|
206
|
+
color: #0b0d10;
|
|
207
|
+
background: var(--accent-primary);
|
|
208
|
+
border-color: var(--accent-primary);
|
|
209
|
+
font-weight: 600;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.usage-chart-svg {
|
|
213
|
+
display: block;
|
|
214
|
+
width: 100%;
|
|
215
|
+
height: 100%;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.usage-chart-svg--heatmap {
|
|
219
|
+
width: auto;
|
|
220
|
+
height: auto;
|
|
221
|
+
max-width: 100%;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.usage-chart-grid-line {
|
|
225
|
+
stroke: #1a1f28;
|
|
226
|
+
stroke-width: 1;
|
|
227
|
+
stroke-dasharray: 2 3;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.usage-chart-trend-line {
|
|
231
|
+
pointer-events: none;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.usage-chart-y-label {
|
|
235
|
+
fill: #8494ab;
|
|
236
|
+
font-size: 9px;
|
|
237
|
+
text-anchor: end;
|
|
238
|
+
letter-spacing: 0.04em;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.usage-chart-x-label {
|
|
242
|
+
fill: #8494ab;
|
|
243
|
+
font-size: 8px;
|
|
244
|
+
text-anchor: middle;
|
|
245
|
+
letter-spacing: 0.04em;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.usage-chart-bar-group {
|
|
249
|
+
cursor: crosshair;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.usage-chart-bar-group:hover rect:not(.usage-chart-bar-hit) {
|
|
253
|
+
filter: brightness(1.25);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* ── Heatmap cells ────────────────────────────────────── */
|
|
257
|
+
|
|
258
|
+
.usage-heatmap-month-label {
|
|
259
|
+
fill: #8494ab;
|
|
260
|
+
font-size: 9px;
|
|
261
|
+
letter-spacing: 0.06em;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.usage-heatmap-day-label {
|
|
265
|
+
fill: #8494ab;
|
|
266
|
+
font-size: 9px;
|
|
267
|
+
text-anchor: end;
|
|
268
|
+
letter-spacing: 0.04em;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.usage-heatmap-cell {
|
|
272
|
+
stroke: #1f2733;
|
|
273
|
+
stroke-width: 1;
|
|
274
|
+
cursor: crosshair;
|
|
275
|
+
transition: stroke 100ms linear;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.usage-heatmap-cell:hover {
|
|
279
|
+
stroke: var(--accent-primary);
|
|
280
|
+
stroke-width: 2;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* ── Tooltip ──────────────────────────────────────────── */
|
|
284
|
+
|
|
285
|
+
.usage-heatmap-tooltip {
|
|
286
|
+
position: absolute;
|
|
287
|
+
border: 1px solid color-mix(in srgb, var(--accent-primary) 58%, #6b5210);
|
|
288
|
+
background: color-mix(in srgb, #0d1219 92%, #2a1f08 8%);
|
|
289
|
+
padding: 0.42rem 0.52rem;
|
|
290
|
+
z-index: 4;
|
|
291
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
|
292
|
+
pointer-events: none;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.usage-heatmap-tooltip-date {
|
|
296
|
+
margin: 0;
|
|
297
|
+
color: var(--accent-primary);
|
|
298
|
+
font-size: 0.76rem;
|
|
299
|
+
font-weight: 700;
|
|
300
|
+
letter-spacing: 0.04em;
|
|
301
|
+
margin-bottom: 0.26rem;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.usage-heatmap-tooltip-stats {
|
|
305
|
+
margin: 0;
|
|
306
|
+
display: grid;
|
|
307
|
+
gap: 0.12rem;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.usage-heatmap-tooltip-stats > div {
|
|
311
|
+
display: flex;
|
|
312
|
+
justify-content: space-between;
|
|
313
|
+
gap: 0.72rem;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.usage-heatmap-tooltip-stats dt {
|
|
317
|
+
margin: 0;
|
|
318
|
+
color: #8494ab;
|
|
319
|
+
font-size: 0.68rem;
|
|
320
|
+
letter-spacing: 0.04em;
|
|
321
|
+
display: inline-flex;
|
|
322
|
+
align-items: center;
|
|
323
|
+
gap: 0.3rem;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.usage-heatmap-tooltip-stats dd {
|
|
327
|
+
margin: 0;
|
|
328
|
+
color: #e9edf4;
|
|
329
|
+
font-size: 0.68rem;
|
|
330
|
+
font-variant-numeric: tabular-nums;
|
|
331
|
+
font-weight: 600;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/* ── Legend ────────────────────────────────────────────── */
|
|
335
|
+
|
|
336
|
+
.usage-chart-legend {
|
|
337
|
+
display: flex;
|
|
338
|
+
flex-wrap: wrap;
|
|
339
|
+
align-items: center;
|
|
340
|
+
gap: 0.52rem;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.usage-chart-legend-item {
|
|
344
|
+
display: inline-flex;
|
|
345
|
+
align-items: center;
|
|
346
|
+
gap: 0.26rem;
|
|
347
|
+
color: #8494ab;
|
|
348
|
+
font-size: 0.66rem;
|
|
349
|
+
letter-spacing: 0.04em;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.usage-chart-legend-dot {
|
|
353
|
+
display: inline-block;
|
|
354
|
+
width: 8px;
|
|
355
|
+
height: 8px;
|
|
356
|
+
border-radius: 2px;
|
|
357
|
+
flex-shrink: 0;
|
|
358
|
+
}
|