@ranker/raxflow 0.2.2 → 0.2.3
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/benchmark.d.ts +10 -0
- package/dist/benchmark.d.ts.map +1 -0
- package/dist/benchmark.js +123 -0
- package/dist/benchmark.js.map +1 -0
- package/dist/bin.d.ts +3 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +141 -0
- package/dist/bin.js.map +1 -0
- package/dist/bootstrap.d.ts +8 -0
- package/dist/bootstrap.d.ts.map +1 -0
- package/dist/bootstrap.js +22 -0
- package/dist/bootstrap.js.map +1 -0
- package/dist/bridge-adapter-templates.d.ts +4 -0
- package/dist/bridge-adapter-templates.d.ts.map +1 -0
- package/dist/bridge-adapter-templates.js +185 -0
- package/dist/bridge-adapter-templates.js.map +1 -0
- package/dist/bridge-test.d.ts +7 -0
- package/dist/bridge-test.d.ts.map +1 -0
- package/dist/bridge-test.js +89 -0
- package/dist/bridge-test.js.map +1 -0
- package/dist/dashboard.d.ts +4 -0
- package/dist/dashboard.d.ts.map +1 -0
- package/{src/dashboard.ts → dist/dashboard.js} +8 -10
- package/dist/dashboard.js.map +1 -0
- package/dist/doctor.d.ts +6 -0
- package/dist/doctor.d.ts.map +1 -0
- package/dist/doctor.js +70 -0
- package/dist/doctor.js.map +1 -0
- package/dist/evolve.d.ts +7 -0
- package/dist/evolve.d.ts.map +1 -0
- package/{src/evolve.ts → dist/evolve.js} +7 -33
- package/dist/evolve.js.map +1 -0
- package/dist/host-init-templates.d.ts +16 -0
- package/dist/host-init-templates.d.ts.map +1 -0
- package/dist/host-init-templates.js +119 -0
- package/dist/host-init-templates.js.map +1 -0
- package/dist/hub/__tests__/commands.test.d.ts +2 -0
- package/dist/hub/__tests__/commands.test.d.ts.map +1 -0
- package/dist/hub/__tests__/commands.test.js +72 -0
- package/dist/hub/__tests__/commands.test.js.map +1 -0
- package/dist/hub/__tests__/history.test.d.ts +2 -0
- package/dist/hub/__tests__/history.test.d.ts.map +1 -0
- package/dist/hub/__tests__/history.test.js +119 -0
- package/dist/hub/__tests__/history.test.js.map +1 -0
- package/dist/hub/__tests__/parser.test.d.ts +2 -0
- package/dist/hub/__tests__/parser.test.d.ts.map +1 -0
- package/dist/hub/__tests__/parser.test.js +92 -0
- package/dist/hub/__tests__/parser.test.js.map +1 -0
- package/dist/hub/commands/agents.d.ts +3 -0
- package/dist/hub/commands/agents.d.ts.map +1 -0
- package/dist/hub/commands/agents.js +36 -0
- package/dist/hub/commands/agents.js.map +1 -0
- package/dist/hub/commands/index.d.ts +4 -0
- package/dist/hub/commands/index.d.ts.map +1 -0
- package/dist/hub/commands/index.js +123 -0
- package/dist/hub/commands/index.js.map +1 -0
- package/dist/hub/commands/logs.d.ts +3 -0
- package/dist/hub/commands/logs.d.ts.map +1 -0
- package/dist/hub/commands/logs.js +53 -0
- package/dist/hub/commands/logs.js.map +1 -0
- package/dist/hub/commands/memory.d.ts +3 -0
- package/dist/hub/commands/memory.d.ts.map +1 -0
- package/dist/hub/commands/memory.js +40 -0
- package/dist/hub/commands/memory.js.map +1 -0
- package/dist/hub/commands/metrics.d.ts +3 -0
- package/dist/hub/commands/metrics.d.ts.map +1 -0
- package/dist/hub/commands/metrics.js +35 -0
- package/dist/hub/commands/metrics.js.map +1 -0
- package/dist/hub/commands/providers.d.ts +3 -0
- package/dist/hub/commands/providers.d.ts.map +1 -0
- package/dist/hub/commands/providers.js +26 -0
- package/dist/hub/commands/providers.js.map +1 -0
- package/dist/hub/commands/run.d.ts +3 -0
- package/dist/hub/commands/run.d.ts.map +1 -0
- package/dist/hub/commands/run.js +31 -0
- package/dist/hub/commands/run.js.map +1 -0
- package/dist/hub/commands/status.d.ts +3 -0
- package/dist/hub/commands/status.d.ts.map +1 -0
- package/dist/hub/commands/status.js +61 -0
- package/dist/hub/commands/status.js.map +1 -0
- package/dist/hub/commands/workflows.d.ts +3 -0
- package/dist/hub/commands/workflows.d.ts.map +1 -0
- package/dist/hub/commands/workflows.js +45 -0
- package/dist/hub/commands/workflows.js.map +1 -0
- package/dist/hub/config-loader.d.ts +4 -0
- package/dist/hub/config-loader.d.ts.map +1 -0
- package/dist/hub/config-loader.js +27 -0
- package/dist/hub/config-loader.js.map +1 -0
- package/dist/hub/event-listener.d.ts +6 -0
- package/dist/hub/event-listener.d.ts.map +1 -0
- package/dist/hub/event-listener.js +12 -0
- package/dist/hub/event-listener.js.map +1 -0
- package/dist/hub/history.d.ts +13 -0
- package/dist/hub/history.d.ts.map +1 -0
- package/dist/hub/history.js +59 -0
- package/dist/hub/history.js.map +1 -0
- package/dist/hub/index.d.ts +4 -0
- package/dist/hub/index.d.ts.map +1 -0
- package/dist/hub/index.js +114 -0
- package/dist/hub/index.js.map +1 -0
- package/dist/hub/parser.d.ts +4 -0
- package/dist/hub/parser.d.ts.map +1 -0
- package/dist/hub/parser.js +98 -0
- package/dist/hub/parser.js.map +1 -0
- package/dist/hub/styles/borders.d.ts +23 -0
- package/dist/hub/styles/borders.d.ts.map +1 -0
- package/dist/hub/styles/borders.js +64 -0
- package/dist/hub/styles/borders.js.map +1 -0
- package/dist/hub/styles/colors.d.ts +63 -0
- package/dist/hub/styles/colors.d.ts.map +1 -0
- package/dist/hub/styles/colors.js +115 -0
- package/dist/hub/styles/colors.js.map +1 -0
- package/dist/hub/styles/typography.d.ts +34 -0
- package/dist/hub/styles/typography.d.ts.map +1 -0
- package/dist/hub/styles/typography.js +60 -0
- package/dist/hub/styles/typography.js.map +1 -0
- package/dist/hub/types.d.ts +27 -0
- package/dist/hub/types.d.ts.map +1 -0
- package/dist/hub/types.js +2 -0
- package/dist/hub/types.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/{src/index.ts → dist/index.js} +1 -0
- package/dist/index.js.map +1 -0
- package/dist/init-host.d.ts +10 -0
- package/dist/init-host.d.ts.map +1 -0
- package/dist/init-host.js +232 -0
- package/dist/init-host.js.map +1 -0
- package/dist/install.d.ts +8 -0
- package/dist/install.d.ts.map +1 -0
- package/dist/install.js +99 -0
- package/dist/install.js.map +1 -0
- package/dist/run.d.ts +16 -0
- package/dist/run.d.ts.map +1 -0
- package/dist/run.js +238 -0
- package/dist/run.js.map +1 -0
- package/dist/setup/components/ApiKeyInput.d.ts +25 -0
- package/dist/setup/components/ApiKeyInput.d.ts.map +1 -0
- package/dist/setup/components/ApiKeyInput.js +54 -0
- package/dist/setup/components/ApiKeyInput.js.map +1 -0
- package/dist/setup/components/AsciiBanner.d.ts +22 -0
- package/dist/setup/components/AsciiBanner.d.ts.map +1 -0
- package/{src/setup/components/AsciiBanner.tsx → dist/setup/components/AsciiBanner.js} +24 -94
- package/dist/setup/components/AsciiBanner.js.map +1 -0
- package/dist/setup/components/CliDetector.d.ts +17 -0
- package/dist/setup/components/CliDetector.d.ts.map +1 -0
- package/dist/setup/components/CliDetector.js +79 -0
- package/dist/setup/components/CliDetector.js.map +1 -0
- package/dist/setup/components/ModeSelector.d.ts +8 -0
- package/dist/setup/components/ModeSelector.d.ts.map +1 -0
- package/dist/setup/components/ModeSelector.js +76 -0
- package/dist/setup/components/ModeSelector.js.map +1 -0
- package/dist/setup/components/ProviderSelector.d.ts +18 -0
- package/dist/setup/components/ProviderSelector.d.ts.map +1 -0
- package/dist/setup/components/ProviderSelector.js +98 -0
- package/dist/setup/components/ProviderSelector.js.map +1 -0
- package/dist/setup/components/SetupWizard.d.ts +2 -0
- package/dist/setup/components/SetupWizard.d.ts.map +1 -0
- package/dist/setup/components/SetupWizard.js +212 -0
- package/dist/setup/components/SetupWizard.js.map +1 -0
- package/dist/setup/components/StepIndicator.d.ts +13 -0
- package/dist/setup/components/StepIndicator.d.ts.map +1 -0
- package/dist/setup/components/StepIndicator.js +18 -0
- package/dist/setup/components/StepIndicator.js.map +1 -0
- package/dist/setup/components/SuccessScreen.d.ts +18 -0
- package/dist/setup/components/SuccessScreen.d.ts.map +1 -0
- package/dist/setup/components/SuccessScreen.js +38 -0
- package/dist/setup/components/SuccessScreen.js.map +1 -0
- package/dist/setup/index.d.ts +12 -0
- package/dist/setup/index.d.ts.map +1 -0
- package/{src/setup/index.ts → dist/setup/index.js} +14 -19
- package/dist/setup/index.js.map +1 -0
- package/dist/setup/utils/cli-detection.d.ts +12 -0
- package/dist/setup/utils/cli-detection.d.ts.map +1 -0
- package/dist/setup/utils/cli-detection.js +83 -0
- package/dist/setup/utils/cli-detection.js.map +1 -0
- package/dist/setup/utils/config-writer.d.ts +43 -0
- package/dist/setup/utils/config-writer.d.ts.map +1 -0
- package/dist/setup/utils/config-writer.js +180 -0
- package/dist/setup/utils/config-writer.js.map +1 -0
- package/dist/styles.d.ts +12 -0
- package/dist/styles.d.ts.map +1 -0
- package/dist/styles.js +12 -0
- package/dist/styles.js.map +1 -0
- package/dist/tui/App.d.ts +3 -0
- package/dist/tui/App.d.ts.map +1 -0
- package/dist/tui/App.js +136 -0
- package/dist/tui/App.js.map +1 -0
- package/dist/tui/components/AgentStateIcon.d.ts +18 -0
- package/dist/tui/components/AgentStateIcon.d.ts.map +1 -0
- package/dist/tui/components/AgentStateIcon.js +57 -0
- package/dist/tui/components/AgentStateIcon.js.map +1 -0
- package/dist/tui/components/AnimatedBranch.d.ts +39 -0
- package/dist/tui/components/AnimatedBranch.d.ts.map +1 -0
- package/dist/tui/components/AnimatedBranch.js +64 -0
- package/dist/tui/components/AnimatedBranch.js.map +1 -0
- package/dist/tui/components/ChatPanel.d.ts +17 -0
- package/dist/tui/components/ChatPanel.d.ts.map +1 -0
- package/dist/tui/components/ChatPanel.js +51 -0
- package/dist/tui/components/ChatPanel.js.map +1 -0
- package/dist/tui/components/DAGPanel.d.ts +37 -0
- package/dist/tui/components/DAGPanel.d.ts.map +1 -0
- package/dist/tui/components/DAGPanel.js +52 -0
- package/dist/tui/components/DAGPanel.js.map +1 -0
- package/dist/tui/components/ExecutionTimeline.d.ts +34 -0
- package/dist/tui/components/ExecutionTimeline.d.ts.map +1 -0
- package/dist/tui/components/ExecutionTimeline.js +67 -0
- package/dist/tui/components/ExecutionTimeline.js.map +1 -0
- package/dist/tui/components/Header.d.ts +12 -0
- package/dist/tui/components/Header.d.ts.map +1 -0
- package/dist/tui/components/Header.js +32 -0
- package/dist/tui/components/Header.js.map +1 -0
- package/dist/tui/components/HelpOverlay.d.ts +7 -0
- package/dist/tui/components/HelpOverlay.d.ts.map +1 -0
- package/dist/tui/components/HelpOverlay.js +60 -0
- package/dist/tui/components/HelpOverlay.js.map +1 -0
- package/dist/tui/components/InputBar.d.ts +10 -0
- package/dist/tui/components/InputBar.d.ts.map +1 -0
- package/dist/tui/components/InputBar.js +21 -0
- package/dist/tui/components/InputBar.js.map +1 -0
- package/dist/tui/components/LogsPanel.d.ts +10 -0
- package/dist/tui/components/MemoryPanel.d.ts +22 -0
- package/dist/tui/components/MetricsPanel.d.ts +19 -0
- package/dist/tui/components/StatusPanel.d.ts +24 -0
- package/dist/tui/components/TaskTree.d.ts +28 -0
- package/dist/tui/components/TaskTree.d.ts.map +1 -0
- package/dist/tui/components/TaskTree.js +29 -0
- package/dist/tui/components/TaskTree.js.map +1 -0
- package/dist/tui/components/animations/ProgressBar.d.ts +39 -0
- package/dist/tui/components/animations/ProgressBar.d.ts.map +1 -0
- package/dist/tui/components/animations/ProgressBar.js +39 -0
- package/dist/tui/components/animations/ProgressBar.js.map +1 -0
- package/dist/tui/components/animations/Pulse.d.ts +17 -0
- package/dist/tui/components/animations/Pulse.d.ts.map +1 -0
- package/dist/tui/components/animations/Pulse.js +47 -0
- package/dist/tui/components/animations/Pulse.js.map +1 -0
- package/dist/tui/components/animations/Spinner.d.ts +13 -0
- package/dist/tui/components/animations/Spinner.d.ts.map +1 -0
- package/dist/tui/components/animations/Spinner.js +36 -0
- package/dist/tui/components/animations/Spinner.js.map +1 -0
- package/dist/tui/components/animations/StatusAnimator.d.ts +27 -0
- package/dist/tui/components/animations/StatusAnimator.d.ts.map +1 -0
- package/dist/tui/components/animations/StatusAnimator.js +85 -0
- package/dist/tui/components/animations/StatusAnimator.js.map +1 -0
- package/dist/tui/components/animations/TypingEffect.d.ts +26 -0
- package/dist/tui/components/animations/TypingEffect.d.ts.map +1 -0
- package/dist/tui/components/animations/TypingEffect.js +59 -0
- package/dist/tui/components/animations/TypingEffect.js.map +1 -0
- package/{src/tui/components/animations/index.ts → dist/tui/components/animations/index.d.ts} +2 -10
- package/dist/tui/components/animations/index.d.ts.map +1 -0
- package/dist/tui/components/animations/index.js +6 -0
- package/dist/tui/components/animations/index.js.map +1 -0
- package/dist/tui/hooks/useAnimation.d.ts +42 -0
- package/dist/tui/hooks/useAnimation.d.ts.map +1 -0
- package/dist/tui/hooks/useAnimation.js +212 -0
- package/dist/tui/hooks/useAnimation.js.map +1 -0
- package/dist/tui/hooks/useAppState.d.ts +65 -0
- package/dist/tui/hooks/useAppState.d.ts.map +1 -0
- package/dist/tui/hooks/useAppState.js +293 -0
- package/dist/tui/hooks/useAppState.js.map +1 -0
- package/dist/tui/index.d.ts +3 -0
- package/dist/tui/index.d.ts.map +1 -0
- package/{src/tui/index.ts → dist/tui/index.js} +2 -3
- package/dist/tui/index.js.map +1 -0
- package/dist/tui/services/orchestrator.d.ts +16 -0
- package/dist/tui/services/orchestrator.d.ts.map +1 -0
- package/dist/tui/services/orchestrator.js +152 -0
- package/dist/tui/services/orchestrator.js.map +1 -0
- package/dist/tui/styles/borders.d.ts +31 -0
- package/dist/tui/styles/borders.d.ts.map +1 -0
- package/dist/tui/styles/borders.js +47 -0
- package/dist/tui/styles/borders.js.map +1 -0
- package/dist/tui/styles/colors.d.ts +18 -0
- package/dist/tui/styles/colors.d.ts.map +1 -0
- package/dist/tui/styles/colors.js +18 -0
- package/dist/tui/styles/colors.js.map +1 -0
- package/dist/tui/styles/index.d.ts +6 -0
- package/dist/tui/styles/index.d.ts.map +1 -0
- package/dist/tui/styles/index.js +6 -0
- package/dist/tui/styles/index.js.map +1 -0
- package/dist/tui/styles/indicators.d.ts +67 -0
- package/dist/tui/styles/indicators.d.ts.map +1 -0
- package/dist/tui/styles/indicators.js +42 -0
- package/dist/tui/styles/indicators.js.map +1 -0
- package/dist/tui/styles/layout.d.ts +21 -0
- package/dist/tui/styles/layout.d.ts.map +1 -0
- package/dist/tui/styles/layout.js +42 -0
- package/dist/tui/styles/layout.js.map +1 -0
- package/dist/tui/styles/providers.d.ts +77 -0
- package/dist/tui/styles/providers.d.ts.map +1 -0
- package/dist/tui/styles/providers.js +31 -0
- package/dist/tui/styles/providers.js.map +1 -0
- package/dist/tui/utils/animation.d.ts +44 -0
- package/dist/tui/utils/animation.d.ts.map +1 -0
- package/dist/tui/utils/animation.js +107 -0
- package/dist/tui/utils/animation.js.map +1 -0
- package/dist/vendor-manifests.d.ts +22 -0
- package/dist/vendor-manifests.d.ts.map +1 -0
- package/dist/vendor-manifests.js +94 -0
- package/dist/vendor-manifests.js.map +1 -0
- package/dist/ws-relay.d.ts +12 -0
- package/dist/ws-relay.d.ts.map +1 -0
- package/{src/ws-relay.ts → dist/ws-relay.js} +39 -47
- package/dist/ws-relay.js.map +1 -0
- package/package.json +5 -1
- package/dashboard/index.html +0 -420
- package/src/benchmark.ts +0 -156
- package/src/bin.ts +0 -156
- package/src/bootstrap.ts +0 -36
- package/src/bridge-adapter-templates.ts +0 -181
- package/src/bridge-test.ts +0 -107
- package/src/doctor.ts +0 -92
- package/src/host-init-templates.ts +0 -134
- package/src/hub/__tests__/commands.test.ts +0 -84
- package/src/hub/__tests__/history.test.ts +0 -137
- package/src/hub/__tests__/parser.test.ts +0 -105
- package/src/hub/commands/agents.ts +0 -53
- package/src/hub/commands/index.ts +0 -140
- package/src/hub/commands/logs.ts +0 -70
- package/src/hub/commands/memory.ts +0 -47
- package/src/hub/commands/metrics.ts +0 -49
- package/src/hub/commands/providers.ts +0 -39
- package/src/hub/commands/run.ts +0 -37
- package/src/hub/commands/status.ts +0 -69
- package/src/hub/commands/workflows.ts +0 -64
- package/src/hub/config-loader.ts +0 -37
- package/src/hub/event-listener.ts +0 -17
- package/src/hub/history.ts +0 -66
- package/src/hub/index.ts +0 -132
- package/src/hub/parser.ts +0 -107
- package/src/hub/styles/borders.ts +0 -74
- package/src/hub/styles/colors.ts +0 -129
- package/src/hub/styles/typography.ts +0 -68
- package/src/hub/types.ts +0 -31
- package/src/init-host.ts +0 -285
- package/src/install.ts +0 -118
- package/src/run.ts +0 -317
- package/src/setup/components/ApiKeyInput.tsx +0 -158
- package/src/setup/components/CliDetector.tsx +0 -230
- package/src/setup/components/ModeSelector.tsx +0 -137
- package/src/setup/components/ProviderSelector.tsx +0 -175
- package/src/setup/components/SetupWizard.tsx +0 -368
- package/src/setup/components/StepIndicator.tsx +0 -74
- package/src/setup/components/SuccessScreen.tsx +0 -229
- package/src/setup/utils/cli-detection.ts +0 -99
- package/src/setup/utils/config-writer.ts +0 -249
- package/src/styles.ts +0 -12
- package/src/tui/App.tsx +0 -183
- package/src/tui/components/AgentStateIcon.tsx +0 -84
- package/src/tui/components/AnimatedBranch.tsx +0 -134
- package/src/tui/components/ChatPanel.tsx +0 -128
- package/src/tui/components/DAGPanel.tsx +0 -212
- package/src/tui/components/ExecutionTimeline.tsx +0 -225
- package/src/tui/components/Header.tsx +0 -109
- package/src/tui/components/HelpOverlay.tsx +0 -140
- package/src/tui/components/InputBar.tsx +0 -69
- package/src/tui/components/LogsPanel.tsx +0 -132
- package/src/tui/components/MemoryPanel.tsx +0 -166
- package/src/tui/components/MetricsPanel.tsx +0 -152
- package/src/tui/components/StatusPanel.tsx +0 -140
- package/src/tui/components/TaskTree.tsx +0 -159
- package/src/tui/components/animations/ProgressBar.tsx +0 -160
- package/src/tui/components/animations/Pulse.tsx +0 -73
- package/src/tui/components/animations/Spinner.tsx +0 -54
- package/src/tui/components/animations/StatusAnimator.tsx +0 -153
- package/src/tui/components/animations/TypingEffect.tsx +0 -119
- package/src/tui/hooks/useAnimation.ts +0 -290
- package/src/tui/hooks/useAppState.ts +0 -403
- package/src/tui/services/orchestrator.ts +0 -195
- package/src/tui/styles/borders.ts +0 -51
- package/src/tui/styles/colors.ts +0 -19
- package/src/tui/styles/index.ts +0 -20
- package/src/tui/styles/indicators.ts +0 -54
- package/src/tui/styles/layout.ts +0 -44
- package/src/tui/styles/providers.ts +0 -32
- package/src/tui/utils/animation.ts +0 -124
- package/src/vendor-manifests.ts +0 -113
- package/tsconfig.json +0 -28
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const borders: {
|
|
2
|
+
horizontal: string;
|
|
3
|
+
vertical: string;
|
|
4
|
+
topLeft: string;
|
|
5
|
+
topRight: string;
|
|
6
|
+
bottomLeft: string;
|
|
7
|
+
bottomRight: string;
|
|
8
|
+
leftT: string;
|
|
9
|
+
rightT: string;
|
|
10
|
+
topT: string;
|
|
11
|
+
bottomT: string;
|
|
12
|
+
cross: string;
|
|
13
|
+
doubleHorizontal: string;
|
|
14
|
+
doubleVertical: string;
|
|
15
|
+
doubleTopLeft: string;
|
|
16
|
+
doubleTopRight: string;
|
|
17
|
+
doubleBottomLeft: string;
|
|
18
|
+
doubleBottomRight: string;
|
|
19
|
+
};
|
|
20
|
+
export declare function drawBox(content: string[], width: number, title?: string): string;
|
|
21
|
+
export declare function drawSeparator(width: number, title?: string): string;
|
|
22
|
+
export declare function drawProgressBar(percent: number, width?: number): string;
|
|
23
|
+
//# sourceMappingURL=borders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"borders.d.ts","sourceRoot":"","sources":["../../../src/hub/styles/borders.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;CAqBnB,CAAC;AAGF,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CA0BhF;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAYnE;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW,GAAG,MAAM,CAI3E"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// RAXFLOW Design System - Borders and Boxes
|
|
2
|
+
// Brutalist style: no border-radius, sharp corners
|
|
3
|
+
export const borders = {
|
|
4
|
+
// Border characters for ASCII boxes
|
|
5
|
+
horizontal: "─",
|
|
6
|
+
vertical: "│",
|
|
7
|
+
topLeft: "┌",
|
|
8
|
+
topRight: "┐",
|
|
9
|
+
bottomLeft: "└",
|
|
10
|
+
bottomRight: "┘",
|
|
11
|
+
leftT: "├",
|
|
12
|
+
rightT: "┤",
|
|
13
|
+
topT: "┬",
|
|
14
|
+
bottomT: "┴",
|
|
15
|
+
cross: "┼",
|
|
16
|
+
// Double line (for emphasis)
|
|
17
|
+
doubleHorizontal: "═",
|
|
18
|
+
doubleVertical: "║",
|
|
19
|
+
doubleTopLeft: "╔",
|
|
20
|
+
doubleTopRight: "╗",
|
|
21
|
+
doubleBottomLeft: "╚",
|
|
22
|
+
doubleBottomRight: "╝",
|
|
23
|
+
};
|
|
24
|
+
// Box drawing utilities
|
|
25
|
+
export function drawBox(content, width, title) {
|
|
26
|
+
const { topLeft, topRight, bottomLeft, bottomRight, horizontal, vertical } = borders;
|
|
27
|
+
const lines = [];
|
|
28
|
+
// Top border
|
|
29
|
+
if (title) {
|
|
30
|
+
const titleStr = ` ${title} `;
|
|
31
|
+
const sideWidth = Math.floor((width - titleStr.length - 2) / 2);
|
|
32
|
+
const leftSide = horizontal.repeat(sideWidth);
|
|
33
|
+
const rightSide = horizontal.repeat(width - titleStr.length - 2 - sideWidth);
|
|
34
|
+
lines.push(`${topLeft}${leftSide}${titleStr}${rightSide}${topRight}`);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
lines.push(`${topLeft}${horizontal.repeat(width - 2)}${topRight}`);
|
|
38
|
+
}
|
|
39
|
+
// Content
|
|
40
|
+
for (const line of content) {
|
|
41
|
+
const padded = line.padEnd(width - 2, " ").slice(0, width - 2);
|
|
42
|
+
lines.push(`${vertical}${padded}${vertical}`);
|
|
43
|
+
}
|
|
44
|
+
// Bottom border
|
|
45
|
+
lines.push(`${bottomLeft}${horizontal.repeat(width - 2)}${bottomRight}`);
|
|
46
|
+
return lines.join("\n");
|
|
47
|
+
}
|
|
48
|
+
export function drawSeparator(width, title) {
|
|
49
|
+
const { leftT, rightT, horizontal } = borders;
|
|
50
|
+
if (title) {
|
|
51
|
+
const titleStr = ` ${title} `;
|
|
52
|
+
const sideWidth = Math.floor((width - titleStr.length - 2) / 2);
|
|
53
|
+
const leftSide = horizontal.repeat(sideWidth);
|
|
54
|
+
const rightSide = horizontal.repeat(width - titleStr.length - 2 - sideWidth);
|
|
55
|
+
return `${leftT}${leftSide}${titleStr}${rightSide}${rightT}`;
|
|
56
|
+
}
|
|
57
|
+
return `${leftT}${horizontal.repeat(width - 2)}${rightT}`;
|
|
58
|
+
}
|
|
59
|
+
export function drawProgressBar(percent, width = 20) {
|
|
60
|
+
const filled = Math.floor((percent / 100) * width);
|
|
61
|
+
const empty = width - filled;
|
|
62
|
+
return "█".repeat(filled) + "░".repeat(empty);
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=borders.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"borders.js","sourceRoot":"","sources":["../../../src/hub/styles/borders.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,mDAAmD;AAEnD,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,oCAAoC;IACpC,UAAU,EAAE,GAAG;IACf,QAAQ,EAAE,GAAG;IACb,OAAO,EAAE,GAAG;IACZ,QAAQ,EAAE,GAAG;IACb,UAAU,EAAE,GAAG;IACf,WAAW,EAAE,GAAG;IAChB,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,GAAG;IACX,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,GAAG;IACZ,KAAK,EAAE,GAAG;IAE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,CAAC;IACnD,MAAM,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAC7B,OAAO,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
background: string;
|
|
3
|
+
surface: string;
|
|
4
|
+
surfaceElev: string;
|
|
5
|
+
primary: string;
|
|
6
|
+
primaryGlow: string;
|
|
7
|
+
primaryGlowHover: string;
|
|
8
|
+
textPrimary: string;
|
|
9
|
+
textSecondary: string;
|
|
10
|
+
textTertiary: string;
|
|
11
|
+
textQuaternary: string;
|
|
12
|
+
success: string;
|
|
13
|
+
warning: string;
|
|
14
|
+
error: string;
|
|
15
|
+
border: string;
|
|
16
|
+
mutation: string;
|
|
17
|
+
mutationGlow: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const ansiColors: {
|
|
20
|
+
reset: string;
|
|
21
|
+
bright: string;
|
|
22
|
+
dim: string;
|
|
23
|
+
black: string;
|
|
24
|
+
red: string;
|
|
25
|
+
green: string;
|
|
26
|
+
yellow: string;
|
|
27
|
+
blue: string;
|
|
28
|
+
magenta: string;
|
|
29
|
+
cyan: string;
|
|
30
|
+
white: string;
|
|
31
|
+
gray: string;
|
|
32
|
+
brightRed: string;
|
|
33
|
+
brightGreen: string;
|
|
34
|
+
brightYellow: string;
|
|
35
|
+
brightBlue: string;
|
|
36
|
+
brightMagenta: string;
|
|
37
|
+
brightCyan: string;
|
|
38
|
+
brightWhite: string;
|
|
39
|
+
bgBlack: string;
|
|
40
|
+
bgRed: string;
|
|
41
|
+
bgGreen: string;
|
|
42
|
+
bgYellow: string;
|
|
43
|
+
bgBlue: string;
|
|
44
|
+
bgMagenta: string;
|
|
45
|
+
bgCyan: string;
|
|
46
|
+
bgWhite: string;
|
|
47
|
+
bgGray: string;
|
|
48
|
+
};
|
|
49
|
+
export declare const statusIndicators: {
|
|
50
|
+
online: string;
|
|
51
|
+
offline: string;
|
|
52
|
+
running: string;
|
|
53
|
+
loading: string;
|
|
54
|
+
mutation: string;
|
|
55
|
+
checkpoint: string;
|
|
56
|
+
pending: string;
|
|
57
|
+
done: string;
|
|
58
|
+
};
|
|
59
|
+
export declare const providerIndicators: Record<string, string>;
|
|
60
|
+
export declare function colorize(text: string, color: keyof typeof ansiColors): string;
|
|
61
|
+
export declare function statusColor(status: string): string;
|
|
62
|
+
export declare function formatStatus(status: string): string;
|
|
63
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/hub/styles/colors.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;CA4BlB,CAAC;AAGF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCtB,CAAC;AAGF,eAAO,MAAM,gBAAgB;;;;;;;;;CAS5B,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAUrD,CAAC;AAGF,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,OAAO,UAAU,GAAG,MAAM,CAE7E;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAqBlD;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAInD"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// RAXFLOW Design System - Colors
|
|
2
|
+
// Based on cli-design.md specifications
|
|
3
|
+
export const colors = {
|
|
4
|
+
// Backgrounds
|
|
5
|
+
background: "#050505",
|
|
6
|
+
surface: "#0a0a0a",
|
|
7
|
+
surfaceElev: "#0d0d0d",
|
|
8
|
+
// Primary
|
|
9
|
+
primary: "#f97316", // Orange vif
|
|
10
|
+
primaryGlow: "rgba(249, 115, 22, 0.3)",
|
|
11
|
+
primaryGlowHover: "rgba(249, 115, 22, 0.5)",
|
|
12
|
+
// Text
|
|
13
|
+
textPrimary: "#ffffff",
|
|
14
|
+
textSecondary: "#a1a1aa",
|
|
15
|
+
textTertiary: "#71717a",
|
|
16
|
+
textQuaternary: "#3f3f46",
|
|
17
|
+
// Status
|
|
18
|
+
success: "#22c55e",
|
|
19
|
+
warning: "#f59e0b",
|
|
20
|
+
error: "#ef4444",
|
|
21
|
+
// Borders
|
|
22
|
+
border: "#27272a",
|
|
23
|
+
// Mutations
|
|
24
|
+
mutation: "#f59e0b",
|
|
25
|
+
mutationGlow: "rgba(245, 158, 11, 0.4)",
|
|
26
|
+
};
|
|
27
|
+
// ANSI color codes for terminal
|
|
28
|
+
export const ansiColors = {
|
|
29
|
+
reset: "\x1b[0m",
|
|
30
|
+
bright: "\x1b[1m",
|
|
31
|
+
dim: "\x1b[2m",
|
|
32
|
+
// Foreground colors
|
|
33
|
+
black: "\x1b[30m",
|
|
34
|
+
red: "\x1b[31m",
|
|
35
|
+
green: "\x1b[32m",
|
|
36
|
+
yellow: "\x1b[33m",
|
|
37
|
+
blue: "\x1b[34m",
|
|
38
|
+
magenta: "\x1b[35m",
|
|
39
|
+
cyan: "\x1b[36m",
|
|
40
|
+
white: "\x1b[37m",
|
|
41
|
+
gray: "\x1b[90m",
|
|
42
|
+
// Bright colors
|
|
43
|
+
brightRed: "\x1b[91m",
|
|
44
|
+
brightGreen: "\x1b[92m",
|
|
45
|
+
brightYellow: "\x1b[93m",
|
|
46
|
+
brightBlue: "\x1b[94m",
|
|
47
|
+
brightMagenta: "\x1b[95m",
|
|
48
|
+
brightCyan: "\x1b[96m",
|
|
49
|
+
brightWhite: "\x1b[97m",
|
|
50
|
+
// Background colors
|
|
51
|
+
bgBlack: "\x1b[40m",
|
|
52
|
+
bgRed: "\x1b[41m",
|
|
53
|
+
bgGreen: "\x1b[42m",
|
|
54
|
+
bgYellow: "\x1b[43m",
|
|
55
|
+
bgBlue: "\x1b[44m",
|
|
56
|
+
bgMagenta: "\x1b[45m",
|
|
57
|
+
bgCyan: "\x1b[46m",
|
|
58
|
+
bgWhite: "\x1b[47m",
|
|
59
|
+
bgGray: "\x1b[100m",
|
|
60
|
+
};
|
|
61
|
+
// Status indicators
|
|
62
|
+
export const statusIndicators = {
|
|
63
|
+
online: "●",
|
|
64
|
+
offline: "○",
|
|
65
|
+
running: "▶",
|
|
66
|
+
loading: "◐",
|
|
67
|
+
mutation: "◆",
|
|
68
|
+
checkpoint: "■",
|
|
69
|
+
pending: "○",
|
|
70
|
+
done: "✓",
|
|
71
|
+
};
|
|
72
|
+
// Provider indicators
|
|
73
|
+
export const providerIndicators = {
|
|
74
|
+
host: "[H]",
|
|
75
|
+
claude: "[C]",
|
|
76
|
+
opencode: "[O]",
|
|
77
|
+
kilo: "[K]",
|
|
78
|
+
anthropic: "[A]",
|
|
79
|
+
gemini: "[G]",
|
|
80
|
+
mistral: "[M]",
|
|
81
|
+
groq: "[Q]",
|
|
82
|
+
openai: "[O]",
|
|
83
|
+
};
|
|
84
|
+
// Utility functions
|
|
85
|
+
export function colorize(text, color) {
|
|
86
|
+
return `${ansiColors[color]}${text}${ansiColors.reset}`;
|
|
87
|
+
}
|
|
88
|
+
export function statusColor(status) {
|
|
89
|
+
switch (status.toLowerCase()) {
|
|
90
|
+
case "online":
|
|
91
|
+
case "ready":
|
|
92
|
+
case "active":
|
|
93
|
+
case "done":
|
|
94
|
+
case "success":
|
|
95
|
+
return ansiColors.green;
|
|
96
|
+
case "running":
|
|
97
|
+
case "busy":
|
|
98
|
+
return ansiColors.yellow;
|
|
99
|
+
case "error":
|
|
100
|
+
case "failed":
|
|
101
|
+
return ansiColors.red;
|
|
102
|
+
case "queued":
|
|
103
|
+
case "pending":
|
|
104
|
+
case "idle":
|
|
105
|
+
return ansiColors.gray;
|
|
106
|
+
default:
|
|
107
|
+
return ansiColors.reset;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
export function formatStatus(status) {
|
|
111
|
+
const indicator = statusIndicators[status.toLowerCase()] || "○";
|
|
112
|
+
const color = statusColor(status);
|
|
113
|
+
return `${color}${indicator}${ansiColors.reset}`;
|
|
114
|
+
}
|
|
115
|
+
//# sourceMappingURL=colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../../src/hub/styles/colors.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,wCAAwC;AAExC,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,cAAc;IACd,UAAU,EAAE,SAAS;IACrB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,SAAS;IAEtB,UAAU;IACV,OAAO,EAAE,SAAS,EAAE,aAAa;IACjC,WAAW,EAAE,yBAAyB;IACtC,gBAAgB,EAAE,yBAAyB;IAE3C,OAAO;IACP,WAAW,EAAE,SAAS;IACtB,aAAa,EAAE,SAAS;IACxB,YAAY,EAAE,SAAS;IACvB,cAAc,EAAE,SAAS;IAEzB,SAAS;IACT,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,SAAS;IAEhB,UAAU;IACV,MAAM,EAAE,SAAS;IAEjB,YAAY;IACZ,QAAQ,EAAE,SAAS;IACnB,YAAY,EAAE,yBAAyB;CACxC,CAAC;AAEF,gCAAgC;AAChC,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;IACjB,GAAG,EAAE,SAAS;IAEd,oBAAoB;IACpB,KAAK,EAAE,UAAU;IACjB,GAAG,EAAE,UAAU;IACf,KAAK,EAAE,UAAU;IACjB,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,UAAU;IACnB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,UAAU;IACjB,IAAI,EAAE,UAAU;IAEhB,gBAAgB;IAChB,SAAS,EAAE,UAA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K,QAAQ,CAAC;QACd,KAAK,MAAM,CAAC;QACZ,KAAK,SAAS;YACZ,OAAO,UAAU,CAAC,KAAK,CAAC;QAC1B,KAAK,SAAS,CAAC;QACf,KAAK,MAAM;YACT,OAAO,UAAU,CAAC,MAAM,CAAC;QAC3B,KAAK,OAAO,CAAC;QACb,KAAK,QAAQ;YACX,OAAO,UAAU,CAAC,GAAG,CAAC;QACxB,KAAK,QAAQ,CAAC;QACd,KAAK,SAAS,CAAC;QACf,KAAK,MAAM;YACT,OAAO,UAAU,CAAC,IAAI,CAAC;QACzB;YACE,OAAO,UAAU,CAAC,KAAK,CAAC;IAC5B,CAAC;AACH,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,MAAc;IACzC,MAAM,SAAS,GAAG,gBAAgB,CAAC,MAAM,CAAC,WAAW,EAAmC,CAAC,IAAI,GAAG,CAAC;IACjG,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,OAAO,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC;AACnD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const typography: {
|
|
2
|
+
primary: string;
|
|
3
|
+
monospace: string;
|
|
4
|
+
weights: {
|
|
5
|
+
light: number;
|
|
6
|
+
regular: number;
|
|
7
|
+
medium: number;
|
|
8
|
+
bold: number;
|
|
9
|
+
};
|
|
10
|
+
sizes: {
|
|
11
|
+
hero: number;
|
|
12
|
+
section: number;
|
|
13
|
+
label: number;
|
|
14
|
+
body: number;
|
|
15
|
+
code: number;
|
|
16
|
+
status: number;
|
|
17
|
+
agent: number;
|
|
18
|
+
provider: number;
|
|
19
|
+
};
|
|
20
|
+
tracking: {
|
|
21
|
+
none: string;
|
|
22
|
+
tight: string;
|
|
23
|
+
normal: string;
|
|
24
|
+
wide: string;
|
|
25
|
+
label: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare function upperCase(text: string): string;
|
|
29
|
+
export declare function padCenter(text: string, width: number): string;
|
|
30
|
+
export declare function padRight(text: string, width: number): string;
|
|
31
|
+
export declare function padLeft(text: string, width: number): string;
|
|
32
|
+
export declare function truncate(text: string, maxLength: number): string;
|
|
33
|
+
export declare function formatLabel(text: string): string;
|
|
34
|
+
//# sourceMappingURL=typography.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/hub/styles/typography.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCtB,CAAC;AAGF,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE9C;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAK7D;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAG5D;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAG3D;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAGhE;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// RAXFLOW Design System - Typography
|
|
2
|
+
// Space Grotesk for titles, Space Mono for system text
|
|
3
|
+
export const typography = {
|
|
4
|
+
// Font families
|
|
5
|
+
primary: "Space Grotesk",
|
|
6
|
+
monospace: "Space Mono",
|
|
7
|
+
// Font weights
|
|
8
|
+
weights: {
|
|
9
|
+
light: 300,
|
|
10
|
+
regular: 400,
|
|
11
|
+
medium: 500,
|
|
12
|
+
bold: 700,
|
|
13
|
+
},
|
|
14
|
+
// Sizes (in terminal columns roughly)
|
|
15
|
+
sizes: {
|
|
16
|
+
hero: 4, // text-4xl
|
|
17
|
+
section: 2, // text-2xl
|
|
18
|
+
label: 0, // text-[10px]
|
|
19
|
+
body: 1, // text-sm
|
|
20
|
+
code: 0, // text-xs
|
|
21
|
+
status: -1, // text-[9px]
|
|
22
|
+
agent: 0, // text-xs
|
|
23
|
+
provider: -1, // text-[9px]
|
|
24
|
+
},
|
|
25
|
+
// Tracking (letter-spacing)
|
|
26
|
+
tracking: {
|
|
27
|
+
none: "",
|
|
28
|
+
tight: "",
|
|
29
|
+
normal: "",
|
|
30
|
+
wide: " ",
|
|
31
|
+
label: " ", // 0.15em equivalent in monospace
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
// Text formatting utilities for terminal
|
|
35
|
+
export function upperCase(text) {
|
|
36
|
+
return text.toUpperCase();
|
|
37
|
+
}
|
|
38
|
+
export function padCenter(text, width) {
|
|
39
|
+
const padding = Math.max(0, width - text.length);
|
|
40
|
+
const leftPad = Math.floor(padding / 2);
|
|
41
|
+
const rightPad = padding - leftPad;
|
|
42
|
+
return " ".repeat(leftPad) + text + " ".repeat(rightPad);
|
|
43
|
+
}
|
|
44
|
+
export function padRight(text, width) {
|
|
45
|
+
const padding = Math.max(0, width - text.length);
|
|
46
|
+
return text + " ".repeat(padding);
|
|
47
|
+
}
|
|
48
|
+
export function padLeft(text, width) {
|
|
49
|
+
const padding = Math.max(0, width - text.length);
|
|
50
|
+
return " ".repeat(padding) + text;
|
|
51
|
+
}
|
|
52
|
+
export function truncate(text, maxLength) {
|
|
53
|
+
if (text.length <= maxLength)
|
|
54
|
+
return text;
|
|
55
|
+
return text.slice(0, maxLength - 3) + "...";
|
|
56
|
+
}
|
|
57
|
+
export function formatLabel(text) {
|
|
58
|
+
return upperCase(text).split("").join(" ");
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=typography.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography.js","sourceRoot":"","sources":["../../../src/hub/styles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GAAG,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,IAAY,EAAE,KAAa;IAClD,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC;IACjD,OAAO,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,IAAY,EAAE,KAAa;IACjD,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC;IACjD,OAAO,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,QAAQ,CAAC,IAAY,EAAE,SAAiB;IACtD,IAAI,IAAI,CAAC,MAAM,IAAI,SAAS;QAAE,OAAO,IAAI,CAAC;IAC1C,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,IAAY;IACtC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7C,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface HubOptions {
|
|
2
|
+
cwd: string;
|
|
3
|
+
config?: HubConfig;
|
|
4
|
+
}
|
|
5
|
+
export interface HubConfig {
|
|
6
|
+
project?: string;
|
|
7
|
+
providers?: string[];
|
|
8
|
+
theme?: 'industrial' | 'minimal' | 'high-contrast';
|
|
9
|
+
}
|
|
10
|
+
export interface Command {
|
|
11
|
+
name: string;
|
|
12
|
+
args: string[];
|
|
13
|
+
flags: Record<string, string | boolean>;
|
|
14
|
+
}
|
|
15
|
+
export interface HubContext {
|
|
16
|
+
currentWorkflow?: string;
|
|
17
|
+
currentRun?: string;
|
|
18
|
+
config: HubConfig;
|
|
19
|
+
}
|
|
20
|
+
export type CommandHandler = (args: string[], flags: Record<string, string | boolean>, context: HubContext) => Promise<void>;
|
|
21
|
+
export interface CommandDefinition {
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
handler: CommandHandler;
|
|
25
|
+
aliases?: string[];
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/hub/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,YAAY,GAAG,SAAS,GAAG,eAAe,CAAC;CACpD;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;CACzC;AAED,MAAM,WAAW,UAAU;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,EAAE,OAAO,EAAE,UAAU,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAE7H,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/hub/types.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./install.js";
|
|
2
|
+
export * from "./run.js";
|
|
3
|
+
export * from "./benchmark.js";
|
|
4
|
+
export * from "./doctor.js";
|
|
5
|
+
export * from "./bridge-test.js";
|
|
6
|
+
export * from "./init-host.js";
|
|
7
|
+
export * from "./bootstrap.js";
|
|
8
|
+
export * from "./host-init-templates.js";
|
|
9
|
+
export * from "./bridge-adapter-templates.js";
|
|
10
|
+
export * from "./vendor-manifests.js";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init-host.d.ts","sourceRoot":"","sources":["../src/init-host.ts"],"names":[],"mappings":"AAOA,UAAU,eAAe;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAsOD,wBAAsB,WAAW,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,MAAM,CAAC,CAyC3E"}
|