@tokentop/ttop 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -5
- package/package.json +8 -5
- package/src/agents/aggregator.ts +39 -19
- package/src/agents/costing.ts +11 -9
- package/src/agents/index.ts +7 -9
- package/src/agents/types.ts +2 -2
- package/src/cli.ts +28 -23
- package/src/config/schema.test.ts +42 -40
- package/src/config/schema.ts +26 -26
- package/src/demo/simulator.ts +161 -122
- package/src/plugins/agents/index.ts +2 -2
- package/src/plugins/auth-sources.ts +42 -38
- package/src/plugins/lifecycle.ts +32 -32
- package/src/plugins/loader.test.ts +49 -49
- package/src/plugins/loader.ts +67 -63
- package/src/plugins/notification-bus.ts +21 -16
- package/src/plugins/notifications/index.ts +2 -2
- package/src/plugins/notifications/terminal-bell.ts +29 -23
- package/src/plugins/notifications/visual-flash.ts +21 -19
- package/src/plugins/npm-installer.ts +23 -25
- package/src/plugins/plugin-context-factory.ts +10 -10
- package/src/plugins/plugin-host.ts +12 -5
- package/src/plugins/providers/anthropic.ts +64 -57
- package/src/plugins/providers/antigravity.ts +81 -69
- package/src/plugins/providers/codex.ts +42 -42
- package/src/plugins/providers/gemini.ts +106 -87
- package/src/plugins/providers/github-copilot.ts +49 -45
- package/src/plugins/providers/index.ts +10 -12
- package/src/plugins/providers/minimax.ts +50 -44
- package/src/plugins/providers/openai-api.ts +82 -62
- package/src/plugins/providers/opencode-zen.ts +46 -39
- package/src/plugins/providers/perplexity.ts +55 -46
- package/src/plugins/providers/zai.ts +66 -57
- package/src/plugins/registry.ts +47 -43
- package/src/plugins/sandbox-guard.test.ts +45 -48
- package/src/plugins/sandbox-guard.ts +20 -25
- package/src/plugins/sandbox.ts +26 -48
- package/src/plugins/themes/catppuccin-latte.ts +29 -29
- package/src/plugins/themes/catppuccin-mocha.ts +29 -29
- package/src/plugins/themes/claude-code.ts +29 -29
- package/src/plugins/themes/dracula.ts +29 -29
- package/src/plugins/themes/github-light.ts +29 -29
- package/src/plugins/themes/gruvbox-dark.ts +29 -29
- package/src/plugins/themes/gruvbox-light.ts +29 -29
- package/src/plugins/themes/index.ts +15 -15
- package/src/plugins/themes/kanagawa.ts +29 -29
- package/src/plugins/themes/nord.ts +29 -29
- package/src/plugins/themes/one-dark.ts +29 -29
- package/src/plugins/themes/opencode.ts +31 -31
- package/src/plugins/themes/rose-pine-dawn.ts +29 -29
- package/src/plugins/themes/rose-pine.ts +29 -29
- package/src/plugins/themes/solarized-light.ts +29 -29
- package/src/plugins/themes/tokyo-night.ts +29 -29
- package/src/plugins/types/agent.ts +5 -5
- package/src/plugins/types/base.ts +35 -24
- package/src/plugins/types/index.ts +9 -9
- package/src/plugins/types/notification.ts +12 -12
- package/src/plugins/types/provider.ts +12 -8
- package/src/plugins/types/theme.ts +31 -23
- package/src/plugins/update-checker.ts +6 -6
- package/src/pricing/estimator.test.ts +39 -44
- package/src/pricing/estimator.ts +7 -13
- package/src/pricing/fallback.test.ts +30 -34
- package/src/pricing/fallback.ts +54 -27
- package/src/pricing/index.ts +18 -12
- package/src/pricing/models-dev.ts +6 -6
- package/src/storage/database.ts +56 -46
- package/src/storage/db.ts +12 -12
- package/src/storage/index.ts +44 -45
- package/src/storage/migrations/index.ts +2 -2
- package/src/storage/paths.ts +13 -13
- package/src/storage/repos/agentSessions.ts +33 -23
- package/src/storage/repos/providerSnapshots.ts +5 -5
- package/src/storage/repos/usageEvents.ts +40 -28
- package/src/storage/types.ts +5 -5
- package/src/tui/App.tsx +180 -137
- package/src/tui/components/CommandPalette.tsx +46 -34
- package/src/tui/components/DebugConsole.tsx +39 -33
- package/src/tui/components/DebugPanel.tsx +295 -177
- package/src/tui/components/FooterHints.tsx +2 -2
- package/src/tui/components/GhostProviderCard.tsx +37 -35
- package/src/tui/components/Header.tsx +68 -35
- package/src/tui/components/HelpOverlay.tsx +99 -29
- package/src/tui/components/InlineGauge.tsx +10 -7
- package/src/tui/components/InlineSparkline.tsx +17 -11
- package/src/tui/components/KpiStrip.tsx +128 -98
- package/src/tui/components/LimitGauge.tsx +96 -59
- package/src/tui/components/ModalBackdrop.tsx +4 -4
- package/src/tui/components/ProviderAggregateStrip.tsx +69 -38
- package/src/tui/components/ProviderCard.tsx +232 -226
- package/src/tui/components/ProviderDetailPanel.tsx +133 -58
- package/src/tui/components/ProviderLimitsPanel.tsx +126 -89
- package/src/tui/components/ProvidersList.tsx +215 -126
- package/src/tui/components/SessionDetailsDrawer.tsx +191 -94
- package/src/tui/components/SessionsTable.tsx +313 -166
- package/src/tui/components/SettingsModal.tsx +231 -214
- package/src/tui/components/SidebarBreakdown.tsx +30 -16
- package/src/tui/components/Skeleton.tsx +24 -17
- package/src/tui/components/SmartSidebar.tsx +360 -258
- package/src/tui/components/Sparkline.tsx +64 -52
- package/src/tui/components/Spinner.tsx +3 -3
- package/src/tui/components/StatusBar.tsx +27 -27
- package/src/tui/components/ThemePicker.tsx +67 -66
- package/src/tui/components/Toast.tsx +9 -6
- package/src/tui/components/UsageGauge.tsx +10 -13
- package/src/tui/components/index.ts +5 -5
- package/src/tui/contexts/AgentSessionContext.tsx +193 -144
- package/src/tui/contexts/ConfigContext.tsx +15 -13
- package/src/tui/contexts/DashboardRuntimeContext.tsx +26 -26
- package/src/tui/contexts/DemoModeContext.tsx +22 -15
- package/src/tui/contexts/DrawerContext.tsx +11 -9
- package/src/tui/contexts/InputContext.tsx +2 -2
- package/src/tui/contexts/LogContext.tsx +62 -47
- package/src/tui/contexts/PluginContext.tsx +232 -183
- package/src/tui/contexts/RealTimeActivityContext.tsx +70 -36
- package/src/tui/contexts/StorageContext.tsx +151 -117
- package/src/tui/contexts/ThemeContext.tsx +21 -16
- package/src/tui/contexts/TimeWindowContext.tsx +72 -61
- package/src/tui/contexts/ToastContext.tsx +10 -7
- package/src/tui/contexts/index.ts +9 -5
- package/src/tui/createApp.tsx +8 -12
- package/src/tui/debug/captureFrame.ts +25 -28
- package/src/tui/debug/snapshot.tsx +179 -162
- package/src/tui/driver/assertions.ts +30 -22
- package/src/tui/driver/cli.ts +231 -221
- package/src/tui/driver/coverage.ts +27 -44
- package/src/tui/driver/demo-snapshot.ts +33 -33
- package/src/tui/driver/diff.ts +26 -32
- package/src/tui/driver/driver.ts +43 -48
- package/src/tui/driver/index.ts +36 -40
- package/src/tui/driver/recorder.ts +37 -48
- package/src/tui/driver/test-workflow.ts +51 -51
- package/src/tui/driver/test.ts +25 -25
- package/src/tui/hooks/index.ts +24 -20
- package/src/tui/hooks/useAnimatedValue.ts +13 -18
- package/src/tui/hooks/useDashboardKeyboard.ts +118 -98
- package/src/tui/hooks/useDashboardState.ts +26 -24
- package/src/tui/hooks/useEmaActivity.ts +82 -74
- package/src/tui/hooks/useEntranceAnimation.ts +11 -11
- package/src/tui/hooks/useExitAnimation.ts +3 -3
- package/src/tui/hooks/usePulse.ts +4 -4
- package/src/tui/hooks/useSafeRenderer.ts +5 -5
- package/src/tui/hooks/useSessionEnrichedProviders.ts +150 -0
- package/src/tui/hooks/useValueFlash.ts +10 -14
- package/src/tui/index.tsx +29 -6
- package/src/tui/shutdown.ts +19 -0
- package/src/tui/utils/providerColor.ts +1 -1
- package/src/tui/views/Dashboard.tsx +127 -102
- package/src/tui/views/HistoricalTrendsView.tsx +579 -250
- package/src/tui/views/ProjectsView.tsx +466 -237
- package/src/tui/views/RealTimeDashboard.tsx +150 -111
- package/src/tui/views/SettingsView.tsx +222 -191
- package/src/tui/views/index.ts +2 -2
- package/src/types/opentui-test-utils.d.ts +7 -7
- package/src/utils/clipboard.ts +29 -29
- package/src/utils/currency.test.ts +53 -53
- package/src/utils/currency.ts +35 -32
- package/src/version.ts +1 -1
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import type { ThemePlugin } from
|
|
1
|
+
import type { ThemePlugin } from "../types/theme.ts";
|
|
2
2
|
|
|
3
3
|
export const claudeCodeTheme: ThemePlugin = {
|
|
4
4
|
apiVersion: 2,
|
|
5
|
-
id:
|
|
6
|
-
type:
|
|
7
|
-
name:
|
|
8
|
-
family:
|
|
9
|
-
version:
|
|
5
|
+
id: "claude-code",
|
|
6
|
+
type: "theme",
|
|
7
|
+
name: "Claude Code",
|
|
8
|
+
family: "claude-code",
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
permissions: {},
|
|
11
11
|
|
|
12
|
-
colorScheme:
|
|
12
|
+
colorScheme: "dark",
|
|
13
13
|
|
|
14
14
|
colors: {
|
|
15
|
-
background:
|
|
16
|
-
foreground:
|
|
17
|
-
text:
|
|
18
|
-
textMuted:
|
|
19
|
-
textSubtle:
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
22
|
-
accent:
|
|
23
|
-
success:
|
|
24
|
-
warning:
|
|
25
|
-
error:
|
|
26
|
-
info:
|
|
27
|
-
border:
|
|
28
|
-
borderMuted:
|
|
29
|
-
selection:
|
|
30
|
-
highlight:
|
|
31
|
-
gaugeBackground:
|
|
32
|
-
gaugeFill:
|
|
33
|
-
gaugeWarning:
|
|
34
|
-
gaugeDanger:
|
|
15
|
+
background: "#000000",
|
|
16
|
+
foreground: "#373737",
|
|
17
|
+
text: "#ffffff",
|
|
18
|
+
textMuted: "#999999",
|
|
19
|
+
textSubtle: "#505050",
|
|
20
|
+
primary: "#D77757",
|
|
21
|
+
secondary: "#B1B9F9",
|
|
22
|
+
accent: "#EB9F7F",
|
|
23
|
+
success: "#4EBA65",
|
|
24
|
+
warning: "#FFC107",
|
|
25
|
+
error: "#FF6B80",
|
|
26
|
+
info: "#93A5FF",
|
|
27
|
+
border: "#505050",
|
|
28
|
+
borderMuted: "#373737",
|
|
29
|
+
selection: "#413C41",
|
|
30
|
+
highlight: "#374146",
|
|
31
|
+
gaugeBackground: "#373737",
|
|
32
|
+
gaugeFill: "#D77757",
|
|
33
|
+
gaugeWarning: "#FFC107",
|
|
34
|
+
gaugeDanger: "#FF6B80",
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
components: {
|
|
38
38
|
header: {
|
|
39
|
-
background:
|
|
39
|
+
background: "#000000",
|
|
40
40
|
},
|
|
41
41
|
statusBar: {
|
|
42
|
-
background:
|
|
42
|
+
background: "#373737",
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import type { ThemePlugin } from
|
|
1
|
+
import type { ThemePlugin } from "../types/theme.ts";
|
|
2
2
|
|
|
3
3
|
export const draculaTheme: ThemePlugin = {
|
|
4
4
|
apiVersion: 2,
|
|
5
|
-
id:
|
|
6
|
-
type:
|
|
7
|
-
name:
|
|
8
|
-
family:
|
|
9
|
-
version:
|
|
5
|
+
id: "dracula",
|
|
6
|
+
type: "theme",
|
|
7
|
+
name: "Dracula",
|
|
8
|
+
family: "dracula",
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
permissions: {},
|
|
11
11
|
|
|
12
|
-
colorScheme:
|
|
12
|
+
colorScheme: "dark",
|
|
13
13
|
|
|
14
14
|
colors: {
|
|
15
|
-
background:
|
|
16
|
-
foreground:
|
|
17
|
-
text:
|
|
18
|
-
textMuted:
|
|
19
|
-
textSubtle:
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
22
|
-
accent:
|
|
23
|
-
success:
|
|
24
|
-
warning:
|
|
25
|
-
error:
|
|
26
|
-
info:
|
|
27
|
-
border:
|
|
28
|
-
borderMuted:
|
|
29
|
-
selection:
|
|
30
|
-
highlight:
|
|
31
|
-
gaugeBackground:
|
|
32
|
-
gaugeFill:
|
|
33
|
-
gaugeWarning:
|
|
34
|
-
gaugeDanger:
|
|
15
|
+
background: "#282a36",
|
|
16
|
+
foreground: "#44475a",
|
|
17
|
+
text: "#f8f8f2",
|
|
18
|
+
textMuted: "#bfbfbf",
|
|
19
|
+
textSubtle: "#6272a4",
|
|
20
|
+
primary: "#bd93f9",
|
|
21
|
+
secondary: "#ff79c6",
|
|
22
|
+
accent: "#8be9fd",
|
|
23
|
+
success: "#50fa7b",
|
|
24
|
+
warning: "#ffb86c",
|
|
25
|
+
error: "#ff5555",
|
|
26
|
+
info: "#8be9fd",
|
|
27
|
+
border: "#44475a",
|
|
28
|
+
borderMuted: "#383a46",
|
|
29
|
+
selection: "#44475a",
|
|
30
|
+
highlight: "#383a46",
|
|
31
|
+
gaugeBackground: "#44475a",
|
|
32
|
+
gaugeFill: "#bd93f9",
|
|
33
|
+
gaugeWarning: "#ffb86c",
|
|
34
|
+
gaugeDanger: "#ff5555",
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
components: {
|
|
38
38
|
header: {
|
|
39
|
-
background:
|
|
39
|
+
background: "#21222c",
|
|
40
40
|
},
|
|
41
41
|
statusBar: {
|
|
42
|
-
background:
|
|
42
|
+
background: "#191a21",
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import type { ThemePlugin } from
|
|
1
|
+
import type { ThemePlugin } from "../types/theme.ts";
|
|
2
2
|
|
|
3
3
|
export const githubLightTheme: ThemePlugin = {
|
|
4
4
|
apiVersion: 2,
|
|
5
|
-
id:
|
|
6
|
-
type:
|
|
7
|
-
name:
|
|
8
|
-
family:
|
|
9
|
-
version:
|
|
5
|
+
id: "github-light",
|
|
6
|
+
type: "theme",
|
|
7
|
+
name: "GitHub Light",
|
|
8
|
+
family: "github",
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
permissions: {},
|
|
11
11
|
|
|
12
|
-
colorScheme:
|
|
12
|
+
colorScheme: "light",
|
|
13
13
|
|
|
14
14
|
colors: {
|
|
15
|
-
background:
|
|
16
|
-
foreground:
|
|
17
|
-
text:
|
|
18
|
-
textMuted:
|
|
19
|
-
textSubtle:
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
22
|
-
accent:
|
|
23
|
-
success:
|
|
24
|
-
warning:
|
|
25
|
-
error:
|
|
26
|
-
info:
|
|
27
|
-
border:
|
|
28
|
-
borderMuted:
|
|
29
|
-
selection:
|
|
30
|
-
highlight:
|
|
31
|
-
gaugeBackground:
|
|
32
|
-
gaugeFill:
|
|
33
|
-
gaugeWarning:
|
|
34
|
-
gaugeDanger:
|
|
15
|
+
background: "#ffffff",
|
|
16
|
+
foreground: "#f6f8fa",
|
|
17
|
+
text: "#1f2328",
|
|
18
|
+
textMuted: "#59636e",
|
|
19
|
+
textSubtle: "#656d76",
|
|
20
|
+
primary: "#0969da",
|
|
21
|
+
secondary: "#8250df",
|
|
22
|
+
accent: "#0550ae",
|
|
23
|
+
success: "#1a7f37",
|
|
24
|
+
warning: "#9a6700",
|
|
25
|
+
error: "#cf222e",
|
|
26
|
+
info: "#0969da",
|
|
27
|
+
border: "#d0d7de",
|
|
28
|
+
borderMuted: "#d8dee4",
|
|
29
|
+
selection: "#ddf4ff",
|
|
30
|
+
highlight: "#f6f8fa",
|
|
31
|
+
gaugeBackground: "#d0d7de",
|
|
32
|
+
gaugeFill: "#0969da",
|
|
33
|
+
gaugeWarning: "#9a6700",
|
|
34
|
+
gaugeDanger: "#cf222e",
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
components: {
|
|
38
38
|
header: {
|
|
39
|
-
background:
|
|
39
|
+
background: "#f6f8fa",
|
|
40
40
|
},
|
|
41
41
|
statusBar: {
|
|
42
|
-
background:
|
|
42
|
+
background: "#f6f8fa",
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import type { ThemePlugin } from
|
|
1
|
+
import type { ThemePlugin } from "../types/theme.ts";
|
|
2
2
|
|
|
3
3
|
export const gruvboxDarkTheme: ThemePlugin = {
|
|
4
4
|
apiVersion: 2,
|
|
5
|
-
id:
|
|
6
|
-
type:
|
|
7
|
-
name:
|
|
8
|
-
family:
|
|
9
|
-
version:
|
|
5
|
+
id: "gruvbox-dark",
|
|
6
|
+
type: "theme",
|
|
7
|
+
name: "Gruvbox Dark",
|
|
8
|
+
family: "gruvbox",
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
permissions: {},
|
|
11
11
|
|
|
12
|
-
colorScheme:
|
|
12
|
+
colorScheme: "dark",
|
|
13
13
|
|
|
14
14
|
colors: {
|
|
15
|
-
background:
|
|
16
|
-
foreground:
|
|
17
|
-
text:
|
|
18
|
-
textMuted:
|
|
19
|
-
textSubtle:
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
22
|
-
accent:
|
|
23
|
-
success:
|
|
24
|
-
warning:
|
|
25
|
-
error:
|
|
26
|
-
info:
|
|
27
|
-
border:
|
|
28
|
-
borderMuted:
|
|
29
|
-
selection:
|
|
30
|
-
highlight:
|
|
31
|
-
gaugeBackground:
|
|
32
|
-
gaugeFill:
|
|
33
|
-
gaugeWarning:
|
|
34
|
-
gaugeDanger:
|
|
15
|
+
background: "#282828",
|
|
16
|
+
foreground: "#3c3836",
|
|
17
|
+
text: "#ebdbb2",
|
|
18
|
+
textMuted: "#bdae93",
|
|
19
|
+
textSubtle: "#665c54",
|
|
20
|
+
primary: "#83a598",
|
|
21
|
+
secondary: "#d3869b",
|
|
22
|
+
accent: "#8ec07c",
|
|
23
|
+
success: "#b8bb26",
|
|
24
|
+
warning: "#fabd2f",
|
|
25
|
+
error: "#fb4934",
|
|
26
|
+
info: "#83a598",
|
|
27
|
+
border: "#504945",
|
|
28
|
+
borderMuted: "#3c3836",
|
|
29
|
+
selection: "#504945",
|
|
30
|
+
highlight: "#3c3836",
|
|
31
|
+
gaugeBackground: "#3c3836",
|
|
32
|
+
gaugeFill: "#83a598",
|
|
33
|
+
gaugeWarning: "#fabd2f",
|
|
34
|
+
gaugeDanger: "#fb4934",
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
components: {
|
|
38
38
|
header: {
|
|
39
|
-
background:
|
|
39
|
+
background: "#1d2021",
|
|
40
40
|
},
|
|
41
41
|
statusBar: {
|
|
42
|
-
background:
|
|
42
|
+
background: "#1d2021",
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import type { ThemePlugin } from
|
|
1
|
+
import type { ThemePlugin } from "../types/theme.ts";
|
|
2
2
|
|
|
3
3
|
export const gruvboxLightTheme: ThemePlugin = {
|
|
4
4
|
apiVersion: 2,
|
|
5
|
-
id:
|
|
6
|
-
type:
|
|
7
|
-
name:
|
|
8
|
-
family:
|
|
9
|
-
version:
|
|
5
|
+
id: "gruvbox-light",
|
|
6
|
+
type: "theme",
|
|
7
|
+
name: "Gruvbox Light",
|
|
8
|
+
family: "gruvbox",
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
permissions: {},
|
|
11
11
|
|
|
12
|
-
colorScheme:
|
|
12
|
+
colorScheme: "light",
|
|
13
13
|
|
|
14
14
|
colors: {
|
|
15
|
-
background:
|
|
16
|
-
foreground:
|
|
17
|
-
text:
|
|
18
|
-
textMuted:
|
|
19
|
-
textSubtle:
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
22
|
-
accent:
|
|
23
|
-
success:
|
|
24
|
-
warning:
|
|
25
|
-
error:
|
|
26
|
-
info:
|
|
27
|
-
border:
|
|
28
|
-
borderMuted:
|
|
29
|
-
selection:
|
|
30
|
-
highlight:
|
|
31
|
-
gaugeBackground:
|
|
32
|
-
gaugeFill:
|
|
33
|
-
gaugeWarning:
|
|
34
|
-
gaugeDanger:
|
|
15
|
+
background: "#fbf1c7",
|
|
16
|
+
foreground: "#ebdbb2",
|
|
17
|
+
text: "#3c3836",
|
|
18
|
+
textMuted: "#504945",
|
|
19
|
+
textSubtle: "#928374",
|
|
20
|
+
primary: "#076678",
|
|
21
|
+
secondary: "#8f3f71",
|
|
22
|
+
accent: "#427b58",
|
|
23
|
+
success: "#79740e",
|
|
24
|
+
warning: "#b57614",
|
|
25
|
+
error: "#9d0006",
|
|
26
|
+
info: "#076678",
|
|
27
|
+
border: "#bdae93",
|
|
28
|
+
borderMuted: "#d5c4a1",
|
|
29
|
+
selection: "#ebdbb2",
|
|
30
|
+
highlight: "#ebdbb2",
|
|
31
|
+
gaugeBackground: "#d5c4a1",
|
|
32
|
+
gaugeFill: "#076678",
|
|
33
|
+
gaugeWarning: "#b57614",
|
|
34
|
+
gaugeDanger: "#9d0006",
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
components: {
|
|
38
38
|
header: {
|
|
39
|
-
background:
|
|
39
|
+
background: "#f2e5bc",
|
|
40
40
|
},
|
|
41
41
|
statusBar: {
|
|
42
|
-
background:
|
|
42
|
+
background: "#ebdbb2",
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export { gruvboxDarkTheme } from
|
|
7
|
-
export { gruvboxLightTheme } from
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export { oneDarkTheme } from
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
1
|
+
export { catppuccinLatteTheme } from "./catppuccin-latte.ts";
|
|
2
|
+
export { catppuccinMochaTheme } from "./catppuccin-mocha.ts";
|
|
3
|
+
export { claudeCodeTheme } from "./claude-code.ts";
|
|
4
|
+
export { draculaTheme } from "./dracula.ts";
|
|
5
|
+
export { githubLightTheme } from "./github-light.ts";
|
|
6
|
+
export { gruvboxDarkTheme } from "./gruvbox-dark.ts";
|
|
7
|
+
export { gruvboxLightTheme } from "./gruvbox-light.ts";
|
|
8
|
+
export { kanagawaTheme } from "./kanagawa.ts";
|
|
9
|
+
export { nordTheme } from "./nord.ts";
|
|
10
|
+
export { oneDarkTheme } from "./one-dark.ts";
|
|
11
|
+
export { opencodeTheme } from "./opencode.ts";
|
|
12
|
+
export { rosePineTheme } from "./rose-pine.ts";
|
|
13
|
+
export { rosePineDawnTheme } from "./rose-pine-dawn.ts";
|
|
14
|
+
export { solarizedLightTheme } from "./solarized-light.ts";
|
|
15
|
+
export { tokyoNightTheme } from "./tokyo-night.ts";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import type { ThemePlugin } from
|
|
1
|
+
import type { ThemePlugin } from "../types/theme.ts";
|
|
2
2
|
|
|
3
3
|
export const kanagawaTheme: ThemePlugin = {
|
|
4
4
|
apiVersion: 2,
|
|
5
|
-
id:
|
|
6
|
-
type:
|
|
7
|
-
name:
|
|
8
|
-
family:
|
|
9
|
-
version:
|
|
5
|
+
id: "kanagawa",
|
|
6
|
+
type: "theme",
|
|
7
|
+
name: "Kanagawa",
|
|
8
|
+
family: "kanagawa",
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
permissions: {},
|
|
11
11
|
|
|
12
|
-
colorScheme:
|
|
12
|
+
colorScheme: "dark",
|
|
13
13
|
|
|
14
14
|
colors: {
|
|
15
|
-
background:
|
|
16
|
-
foreground:
|
|
17
|
-
text:
|
|
18
|
-
textMuted:
|
|
19
|
-
textSubtle:
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
22
|
-
accent:
|
|
23
|
-
success:
|
|
24
|
-
warning:
|
|
25
|
-
error:
|
|
26
|
-
info:
|
|
27
|
-
border:
|
|
28
|
-
borderMuted:
|
|
29
|
-
selection:
|
|
30
|
-
highlight:
|
|
31
|
-
gaugeBackground:
|
|
32
|
-
gaugeFill:
|
|
33
|
-
gaugeWarning:
|
|
34
|
-
gaugeDanger:
|
|
15
|
+
background: "#1f1f28",
|
|
16
|
+
foreground: "#2a2a37",
|
|
17
|
+
text: "#dcd7ba",
|
|
18
|
+
textMuted: "#c8c093",
|
|
19
|
+
textSubtle: "#727169",
|
|
20
|
+
primary: "#7e9cd8",
|
|
21
|
+
secondary: "#957fb8",
|
|
22
|
+
accent: "#7fb4ca",
|
|
23
|
+
success: "#76946a",
|
|
24
|
+
warning: "#e6c384",
|
|
25
|
+
error: "#c34043",
|
|
26
|
+
info: "#7fb4ca",
|
|
27
|
+
border: "#54546d",
|
|
28
|
+
borderMuted: "#363646",
|
|
29
|
+
selection: "#2d4f67",
|
|
30
|
+
highlight: "#2a2a37",
|
|
31
|
+
gaugeBackground: "#2a2a37",
|
|
32
|
+
gaugeFill: "#7e9cd8",
|
|
33
|
+
gaugeWarning: "#e6c384",
|
|
34
|
+
gaugeDanger: "#c34043",
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
components: {
|
|
38
38
|
header: {
|
|
39
|
-
background:
|
|
39
|
+
background: "#16161d",
|
|
40
40
|
},
|
|
41
41
|
statusBar: {
|
|
42
|
-
background:
|
|
42
|
+
background: "#16161d",
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import type { ThemePlugin } from
|
|
1
|
+
import type { ThemePlugin } from "../types/theme.ts";
|
|
2
2
|
|
|
3
3
|
export const nordTheme: ThemePlugin = {
|
|
4
4
|
apiVersion: 2,
|
|
5
|
-
id:
|
|
6
|
-
type:
|
|
7
|
-
name:
|
|
8
|
-
family:
|
|
9
|
-
version:
|
|
5
|
+
id: "nord",
|
|
6
|
+
type: "theme",
|
|
7
|
+
name: "Nord",
|
|
8
|
+
family: "nord",
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
permissions: {},
|
|
11
11
|
|
|
12
|
-
colorScheme:
|
|
12
|
+
colorScheme: "dark",
|
|
13
13
|
|
|
14
14
|
colors: {
|
|
15
|
-
background:
|
|
16
|
-
foreground:
|
|
17
|
-
text:
|
|
18
|
-
textMuted:
|
|
19
|
-
textSubtle:
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
22
|
-
accent:
|
|
23
|
-
success:
|
|
24
|
-
warning:
|
|
25
|
-
error:
|
|
26
|
-
info:
|
|
27
|
-
border:
|
|
28
|
-
borderMuted:
|
|
29
|
-
selection:
|
|
30
|
-
highlight:
|
|
31
|
-
gaugeBackground:
|
|
32
|
-
gaugeFill:
|
|
33
|
-
gaugeWarning:
|
|
34
|
-
gaugeDanger:
|
|
15
|
+
background: "#2e3440",
|
|
16
|
+
foreground: "#3b4252",
|
|
17
|
+
text: "#eceff4",
|
|
18
|
+
textMuted: "#d8dee9",
|
|
19
|
+
textSubtle: "#4c566a",
|
|
20
|
+
primary: "#88c0d0",
|
|
21
|
+
secondary: "#81a1c1",
|
|
22
|
+
accent: "#5e81ac",
|
|
23
|
+
success: "#a3be8c",
|
|
24
|
+
warning: "#ebcb8b",
|
|
25
|
+
error: "#bf616a",
|
|
26
|
+
info: "#88c0d0",
|
|
27
|
+
border: "#4c566a",
|
|
28
|
+
borderMuted: "#434c5e",
|
|
29
|
+
selection: "#434c5e",
|
|
30
|
+
highlight: "#3b4252",
|
|
31
|
+
gaugeBackground: "#3b4252",
|
|
32
|
+
gaugeFill: "#88c0d0",
|
|
33
|
+
gaugeWarning: "#ebcb8b",
|
|
34
|
+
gaugeDanger: "#bf616a",
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
components: {
|
|
38
38
|
header: {
|
|
39
|
-
background:
|
|
39
|
+
background: "#242933",
|
|
40
40
|
},
|
|
41
41
|
statusBar: {
|
|
42
|
-
background:
|
|
42
|
+
background: "#242933",
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
};
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import type { ThemePlugin } from
|
|
1
|
+
import type { ThemePlugin } from "../types/theme.ts";
|
|
2
2
|
|
|
3
3
|
export const oneDarkTheme: ThemePlugin = {
|
|
4
4
|
apiVersion: 2,
|
|
5
|
-
id:
|
|
6
|
-
type:
|
|
7
|
-
name:
|
|
8
|
-
family:
|
|
9
|
-
version:
|
|
5
|
+
id: "one-dark",
|
|
6
|
+
type: "theme",
|
|
7
|
+
name: "One Dark",
|
|
8
|
+
family: "one-dark",
|
|
9
|
+
version: "1.0.0",
|
|
10
10
|
permissions: {},
|
|
11
11
|
|
|
12
|
-
colorScheme:
|
|
12
|
+
colorScheme: "dark",
|
|
13
13
|
|
|
14
14
|
colors: {
|
|
15
|
-
background:
|
|
16
|
-
foreground:
|
|
17
|
-
text:
|
|
18
|
-
textMuted:
|
|
19
|
-
textSubtle:
|
|
20
|
-
primary:
|
|
21
|
-
secondary:
|
|
22
|
-
accent:
|
|
23
|
-
success:
|
|
24
|
-
warning:
|
|
25
|
-
error:
|
|
26
|
-
info:
|
|
27
|
-
border:
|
|
28
|
-
borderMuted:
|
|
29
|
-
selection:
|
|
30
|
-
highlight:
|
|
31
|
-
gaugeBackground:
|
|
32
|
-
gaugeFill:
|
|
33
|
-
gaugeWarning:
|
|
34
|
-
gaugeDanger:
|
|
15
|
+
background: "#282c34",
|
|
16
|
+
foreground: "#31353f",
|
|
17
|
+
text: "#abb2bf",
|
|
18
|
+
textMuted: "#828997",
|
|
19
|
+
textSubtle: "#5c6370",
|
|
20
|
+
primary: "#61afef",
|
|
21
|
+
secondary: "#c678dd",
|
|
22
|
+
accent: "#56b6c2",
|
|
23
|
+
success: "#98c379",
|
|
24
|
+
warning: "#e5c07b",
|
|
25
|
+
error: "#e06c75",
|
|
26
|
+
info: "#61afef",
|
|
27
|
+
border: "#3e4451",
|
|
28
|
+
borderMuted: "#2c313a",
|
|
29
|
+
selection: "#3e4451",
|
|
30
|
+
highlight: "#2c313a",
|
|
31
|
+
gaugeBackground: "#31353f",
|
|
32
|
+
gaugeFill: "#61afef",
|
|
33
|
+
gaugeWarning: "#e5c07b",
|
|
34
|
+
gaugeDanger: "#e06c75",
|
|
35
35
|
},
|
|
36
36
|
|
|
37
37
|
components: {
|
|
38
38
|
header: {
|
|
39
|
-
background:
|
|
39
|
+
background: "#21252b",
|
|
40
40
|
},
|
|
41
41
|
statusBar: {
|
|
42
|
-
background:
|
|
42
|
+
background: "#21252b",
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
45
|
};
|