@denizokcu/haze 1.1.0 → 1.1.1

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.
Files changed (118) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/README.md +9 -5
  3. package/dist/buildInfo.json +3 -3
  4. package/dist/cli/chat/busyIndicator.d.ts +11 -0
  5. package/dist/cli/chat/busyIndicator.js +34 -0
  6. package/dist/cli/chat/chatMetrics.d.ts +0 -1
  7. package/dist/cli/chat/chatMetrics.js +1 -7
  8. package/dist/cli/chat/followUpQueue.d.ts +11 -0
  9. package/dist/cli/chat/followUpQueue.js +38 -0
  10. package/dist/cli/chat/messages.d.ts +0 -22
  11. package/dist/cli/chat/messages.js +40 -85
  12. package/dist/cli/chat/sessionLifecycle.d.ts +3 -1
  13. package/dist/cli/chat/sessionLifecycle.js +6 -1
  14. package/dist/cli/chat/sessionRecorder.d.ts +2 -0
  15. package/dist/cli/chat/sessionRecorder.js +6 -0
  16. package/dist/cli/chat/startupSequence.d.ts +29 -0
  17. package/dist/cli/chat/startupSequence.js +59 -0
  18. package/dist/cli/chat/transcriptPartition.d.ts +23 -0
  19. package/dist/cli/chat/transcriptPartition.js +78 -0
  20. package/dist/cli/chat/wizard/fieldTransitions.d.ts +38 -0
  21. package/dist/cli/chat/wizard/fieldTransitions.js +43 -0
  22. package/dist/cli/chat/wizard/lspHandlers.d.ts +4 -0
  23. package/dist/cli/chat/wizard/lspHandlers.js +85 -0
  24. package/dist/cli/chat/wizard/mcpHandlers.d.ts +8 -0
  25. package/dist/cli/chat/wizard/mcpHandlers.js +82 -0
  26. package/dist/cli/chat/wizard/providerHandlers.d.ts +12 -0
  27. package/dist/cli/chat/wizard/providerHandlers.js +420 -0
  28. package/dist/cli/chat/wizard/sessionThemeHandlers.d.ts +4 -0
  29. package/dist/cli/chat/wizard/sessionThemeHandlers.js +48 -0
  30. package/dist/cli/chat/wizard/skillsHandlers.d.ts +4 -0
  31. package/dist/cli/chat/wizard/skillsHandlers.js +125 -0
  32. package/dist/cli/chat/wizard/types.d.ts +63 -0
  33. package/dist/cli/chat/wizard/types.js +24 -0
  34. package/dist/cli/chat/wizard/uiState.d.ts +56 -0
  35. package/dist/cli/chat/wizard/uiState.js +15 -0
  36. package/dist/cli/chat/wizardDispatch.d.ts +11 -113
  37. package/dist/cli/chat/wizardDispatch.js +41 -815
  38. package/dist/cli/commands/chat.js +45 -108
  39. package/dist/cli/commands/formatters.d.ts +0 -3
  40. package/dist/cli/commands/formatters.js +0 -29
  41. package/dist/cli/commands/runCommand.d.ts +2 -0
  42. package/dist/cli/commands/runCommand.js +67 -4
  43. package/dist/cli/commands/streaming/assistantSegments.d.ts +19 -0
  44. package/dist/cli/commands/streaming/assistantSegments.js +48 -0
  45. package/dist/cli/commands/streaming/attemptOutcome.d.ts +2 -2
  46. package/dist/cli/commands/streaming/attemptOutcome.js +17 -7
  47. package/dist/cli/commands/streaming/goalCheckpoint.d.ts +69 -8
  48. package/dist/cli/commands/streaming/goalCheckpoint.js +36 -1
  49. package/dist/cli/commands/streaming/goalSupervisor.d.ts +17 -2
  50. package/dist/cli/commands/streaming/goalSupervisor.js +62 -12
  51. package/dist/cli/commands/streaming/prepareStep.d.ts +35 -0
  52. package/dist/cli/commands/streaming/prepareStep.js +100 -0
  53. package/dist/cli/commands/streaming/recoverySlices.d.ts +15 -0
  54. package/dist/cli/commands/streaming/recoverySlices.js +29 -0
  55. package/dist/cli/commands/streaming/stallRecovery.d.ts +0 -1
  56. package/dist/cli/commands/streaming/stallRecovery.js +0 -4
  57. package/dist/cli/commands/streaming/streamLoop.js +9 -230
  58. package/dist/cli/commands/streaming/toolGroupRenderer.js +2 -1
  59. package/dist/cli/commands/streaming/toolPartHandlers.d.ts +19 -0
  60. package/dist/cli/commands/streaming/toolPartHandlers.js +95 -0
  61. package/dist/cli/commands/streaming.d.ts +4 -1
  62. package/dist/cli/commands/streaming.js +6 -21
  63. package/dist/cli/index.js +3 -1
  64. package/dist/config/providerPresets.d.ts +7 -0
  65. package/dist/config/providerPresets.js +195 -391
  66. package/dist/core/agent/completionController.d.ts +14 -7
  67. package/dist/core/agent/completionController.js +12 -6
  68. package/dist/core/agent/events.d.ts +12 -0
  69. package/dist/core/agent/goalPolicy.d.ts +4 -3
  70. package/dist/core/agent/goalPolicy.js +9 -4
  71. package/dist/core/agent/workState.d.ts +25 -15
  72. package/dist/core/agent/workState.js +71 -43
  73. package/dist/core/session/sessionSlimming.js +8 -0
  74. package/dist/core/session/sessionStore.d.ts +61 -1
  75. package/dist/core/session/sessionStore.js +115 -6
  76. package/dist/llm/hazeTools.d.ts +64 -208
  77. package/dist/llm/tools/taskTool.d.ts +64 -208
  78. package/dist/llm/tools/taskTool.js +22 -10
  79. package/dist/ui/components/TextInput.js +6 -67
  80. package/dist/ui/components/useInputSuggestions.d.ts +27 -0
  81. package/dist/ui/components/useInputSuggestions.js +98 -0
  82. package/dist/ui/theme.d.ts +8 -8
  83. package/dist/ui/theme.js +11 -12
  84. package/dist/ui/themes/registry.d.ts +5 -0
  85. package/dist/ui/themes/registry.js +436 -0
  86. package/dist/utils/format.d.ts +10 -0
  87. package/dist/utils/format.js +45 -0
  88. package/package.json +1 -1
  89. package/dist/ui/themes/af-magic.d.ts +0 -7
  90. package/dist/ui/themes/af-magic.js +0 -25
  91. package/dist/ui/themes/agnoster.d.ts +0 -10
  92. package/dist/ui/themes/agnoster.js +0 -40
  93. package/dist/ui/themes/bira.d.ts +0 -10
  94. package/dist/ui/themes/bira.js +0 -28
  95. package/dist/ui/themes/bureau.d.ts +0 -10
  96. package/dist/ui/themes/bureau.js +0 -28
  97. package/dist/ui/themes/clean.d.ts +0 -9
  98. package/dist/ui/themes/clean.js +0 -27
  99. package/dist/ui/themes/cloud.d.ts +0 -6
  100. package/dist/ui/themes/cloud.js +0 -24
  101. package/dist/ui/themes/dst.d.ts +0 -10
  102. package/dist/ui/themes/dst.js +0 -28
  103. package/dist/ui/themes/fishy.d.ts +0 -7
  104. package/dist/ui/themes/fishy.js +0 -25
  105. package/dist/ui/themes/index.d.ts +0 -8
  106. package/dist/ui/themes/index.js +0 -36
  107. package/dist/ui/themes/light.d.ts +0 -3
  108. package/dist/ui/themes/light.js +0 -21
  109. package/dist/ui/themes/purple.d.ts +0 -7
  110. package/dist/ui/themes/purple.js +0 -26
  111. package/dist/ui/themes/robbyrussell.d.ts +0 -8
  112. package/dist/ui/themes/robbyrussell.js +0 -26
  113. package/dist/ui/themes/solarized-dark.d.ts +0 -16
  114. package/dist/ui/themes/solarized-dark.js +0 -44
  115. package/dist/ui/themes/solarized-light.d.ts +0 -12
  116. package/dist/ui/themes/solarized-light.js +0 -40
  117. package/dist/ui/themes/steeef.d.ts +0 -11
  118. package/dist/ui/themes/steeef.js +0 -29
@@ -1,7 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of af-magic.zsh-theme, which uses xterm-256 slots — kept numeric so
4
- * the port stays a transliteration of ${FG[105]}», ${FG[032]}%~, ${FG[075]}(,
5
- * ${FG[078]}branch, ${FG[214]}*, ${FG[237]}dashes, $fg[red]%? ↵.
6
- */
7
- export declare const afMagic: HazeThemeSpec;
@@ -1,25 +0,0 @@
1
- /**
2
- * Port of af-magic.zsh-theme, which uses xterm-256 slots — kept numeric so
3
- * the port stays a transliteration of ${FG[105]}», ${FG[032]}%~, ${FG[075]}(,
4
- * ${FG[078]}branch, ${FG[214]}*, ${FG[237]}dashes, $fg[red]%? ↵.
5
- */
6
- export const afMagic = {
7
- roles: {
8
- // Classic dark-terminal canvas, one step under the xterm-256 234 surfaces.
9
- background: '#121212',
10
- accent: '105',
11
- accentDim: '61',
12
- border: '237',
13
- info: '75',
14
- muted: '237',
15
- foreground: '251',
16
- command: '32',
17
- success: '78',
18
- successBg: '22',
19
- danger: 'red',
20
- dangerBg: '52',
21
- warning: '214',
22
- surfaceBg: '234',
23
- codeBg: '234',
24
- },
25
- };
@@ -1,10 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of agnoster.zsh-theme (Powerline segments): AGNOSTER_GIT_CLEAN_BG=green,
4
- * AGNOSTER_DIR_BG=blue, AGNOSTER_GIT_DIRTY_BG=yellow, AGNOSTER_STATUS_RETVAL_FG=red,
5
- * AGNOSTER_STATUS_JOB_FG=cyan. The theme's README recommends Solarized, so the
6
- * port pins a Solarized-dark palette instead of the default Tango approximation.
7
- * haze has no background segments, so the segment colors become the foreground
8
- * identity.
9
- */
10
- export declare const agnoster: HazeThemeSpec;
@@ -1,40 +0,0 @@
1
- /**
2
- * Port of agnoster.zsh-theme (Powerline segments): AGNOSTER_GIT_CLEAN_BG=green,
3
- * AGNOSTER_DIR_BG=blue, AGNOSTER_GIT_DIRTY_BG=yellow, AGNOSTER_STATUS_RETVAL_FG=red,
4
- * AGNOSTER_STATUS_JOB_FG=cyan. The theme's README recommends Solarized, so the
5
- * port pins a Solarized-dark palette instead of the default Tango approximation.
6
- * haze has no background segments, so the segment colors become the foreground
7
- * identity.
8
- */
9
- export const agnoster = {
10
- palette: {
11
- black: '#073642',
12
- red: '#dc322f',
13
- green: '#859900',
14
- yellow: '#b58900',
15
- blue: '#268bd2',
16
- magenta: '#d33682',
17
- cyan: '#2aa198',
18
- white: '#93a1a1',
19
- default: '#eee8d5',
20
- },
21
- roles: {
22
- // The theme's README recommends Solarized Dark, so the canvas is base03 and
23
- // the surfaces move to base02 to stay inside that palette.
24
- background: '#002b36',
25
- accent: 'green',
26
- accentDim: '236',
27
- border: '236',
28
- info: 'cyan',
29
- muted: '245',
30
- foreground: 'default',
31
- command: 'blue',
32
- success: 'green',
33
- successBg: '22',
34
- danger: 'red',
35
- dangerBg: '52',
36
- warning: 'yellow',
37
- surfaceBg: '#073642', // base02
38
- codeBg: '#073642', // base02
39
- },
40
- };
@@ -1,10 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of bira.zsh-theme (the ╭─/╰─ two-line prompt):
4
- * $fg[green]%n@%m (user, non-root) → accent 'green'
5
- * %B$fg[blue]%~ (cwd, bold) → command 'blue'
6
- * $fg[yellow]‹branch› → info 'yellow'
7
- * $fg[red]● (dirty), %? ↵ → danger 'red'
8
- * $fg[green]‹venv› → success 'green'
9
- */
10
- export declare const bira: HazeThemeSpec;
@@ -1,28 +0,0 @@
1
- /**
2
- * Port of bira.zsh-theme (the ╭─/╰─ two-line prompt):
3
- * $fg[green]%n@%m (user, non-root) → accent 'green'
4
- * %B$fg[blue]%~ (cwd, bold) → command 'blue'
5
- * $fg[yellow]‹branch› → info 'yellow'
6
- * $fg[red]● (dirty), %? ↵ → danger 'red'
7
- * $fg[green]‹venv› → success 'green'
8
- */
9
- export const bira = {
10
- roles: {
11
- // Classic dark-terminal canvas, one step under the xterm-256 234 surfaces.
12
- background: '#121212',
13
- accent: 'green',
14
- accentDim: 'green',
15
- border: '236',
16
- info: 'yellow',
17
- muted: '245',
18
- foreground: 'default',
19
- command: 'blue',
20
- success: 'green',
21
- successBg: '22',
22
- danger: 'red',
23
- dangerBg: '52',
24
- warning: 'yellow',
25
- surfaceBg: '234',
26
- codeBg: '234',
27
- },
28
- };
@@ -1,10 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of bureau.zsh-theme [±master ▾●]:
4
- * $fg_bold[green]± ✓ $ (prompt) → accent 'green'
5
- * $fg_bold[white]%n %~ (user/path) → command 'white' (cwd), foreground
6
- * $fg[cyan]▴ (ahead) → info 'cyan'
7
- * $fg_bold[yellow]● (unstaged) → warning 'yellow'
8
- * $fg_bold[red]● (untracked) → danger 'red'
9
- */
10
- export declare const bureau: HazeThemeSpec;
@@ -1,28 +0,0 @@
1
- /**
2
- * Port of bureau.zsh-theme [±master ▾●]:
3
- * $fg_bold[green]± ✓ $ (prompt) → accent 'green'
4
- * $fg_bold[white]%n %~ (user/path) → command 'white' (cwd), foreground
5
- * $fg[cyan]▴ (ahead) → info 'cyan'
6
- * $fg_bold[yellow]● (unstaged) → warning 'yellow'
7
- * $fg_bold[red]● (untracked) → danger 'red'
8
- */
9
- export const bureau = {
10
- roles: {
11
- // Classic dark-terminal canvas, one step under the xterm-256 234 surfaces.
12
- background: '#121212',
13
- accent: 'green',
14
- accentDim: '236',
15
- border: '236',
16
- info: 'cyan',
17
- muted: '245',
18
- foreground: 'default',
19
- command: 'white',
20
- success: 'green',
21
- successBg: '22',
22
- danger: 'red',
23
- dangerBg: '52',
24
- warning: 'yellow',
25
- surfaceBg: '234',
26
- codeBg: '235',
27
- },
28
- };
@@ -1,9 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of clean.zsh-theme:
4
- * $fg_bold[white]%n (user) → accent 'white'
5
- * $fg_bold[blue]%c/ (cwd) → command 'blue'
6
- * $fg_bold[blue]( git branch → info 'blue', branch $fg[yellow] → warning
7
- * $fg_bold[red]✗ (dirty) → danger 'red'
8
- */
9
- export declare const clean: HazeThemeSpec;
@@ -1,27 +0,0 @@
1
- /**
2
- * Port of clean.zsh-theme:
3
- * $fg_bold[white]%n (user) → accent 'white'
4
- * $fg_bold[blue]%c/ (cwd) → command 'blue'
5
- * $fg_bold[blue]( git branch → info 'blue', branch $fg[yellow] → warning
6
- * $fg_bold[red]✗ (dirty) → danger 'red'
7
- */
8
- export const clean = {
9
- roles: {
10
- // Classic dark-terminal canvas, one step under the xterm-256 234 surfaces.
11
- background: '#121212',
12
- accent: 'white',
13
- accentDim: '236',
14
- border: '236',
15
- info: 'blue',
16
- muted: '245',
17
- foreground: 'default',
18
- command: 'blue',
19
- success: 'green',
20
- successBg: '22',
21
- danger: 'red',
22
- dangerBg: '52',
23
- warning: 'yellow',
24
- surfaceBg: '234',
25
- codeBg: '234',
26
- },
27
- };
@@ -1,6 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of cloud.zsh-theme: $fg_bold[cyan]☁, $fg[green]%c,
4
- * $fg[green][$fg[cyan]branch, $fg[yellow]⚡ dirty.
5
- */
6
- export declare const cloud: HazeThemeSpec;
@@ -1,24 +0,0 @@
1
- /**
2
- * Port of cloud.zsh-theme: $fg_bold[cyan]☁, $fg[green]%c,
3
- * $fg[green][$fg[cyan]branch, $fg[yellow]⚡ dirty.
4
- */
5
- export const cloud = {
6
- roles: {
7
- // Classic dark-terminal canvas, one step under the xterm-256 234 surfaces.
8
- background: '#121212',
9
- accent: 'cyan',
10
- accentDim: '236',
11
- border: '236',
12
- info: 'blue',
13
- muted: '245',
14
- foreground: 'default',
15
- command: 'green',
16
- success: 'green',
17
- successBg: '22',
18
- danger: 'red',
19
- dangerBg: '52',
20
- warning: 'yellow',
21
- surfaceBg: '234',
22
- codeBg: '234',
23
- },
24
- };
@@ -1,10 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of dst.zsh-theme:
4
- * $fg[magenta]%n (user) → accent 'magenta'
5
- * $fg[yellow]%m (host) → warning 'yellow'
6
- * $fg_bold[blue]%~ (cwd) → command 'blue'
7
- * $fg[green]branch prefix → info 'green' $fg[red]! (dirty) → danger 'red'
8
- * $fg[green][%*] (clock) → success 'green'
9
- */
10
- export declare const dst: HazeThemeSpec;
@@ -1,28 +0,0 @@
1
- /**
2
- * Port of dst.zsh-theme:
3
- * $fg[magenta]%n (user) → accent 'magenta'
4
- * $fg[yellow]%m (host) → warning 'yellow'
5
- * $fg_bold[blue]%~ (cwd) → command 'blue'
6
- * $fg[green]branch prefix → info 'green' $fg[red]! (dirty) → danger 'red'
7
- * $fg[green][%*] (clock) → success 'green'
8
- */
9
- export const dst = {
10
- roles: {
11
- // Classic dark-terminal canvas, one step under the xterm-256 234 surfaces.
12
- background: '#121212',
13
- accent: 'magenta',
14
- accentDim: 'magenta',
15
- border: '236',
16
- info: 'green',
17
- muted: '245',
18
- foreground: 'default',
19
- command: 'blue',
20
- success: 'green',
21
- successBg: '22',
22
- danger: 'red',
23
- dangerBg: '52',
24
- warning: 'yellow',
25
- surfaceBg: '234',
26
- codeBg: '234',
27
- },
28
- };
@@ -1,7 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of fishy.zsh-theme: $fg[green]%n and cwd (user_color='green'),
4
- * $fg_bold[red] exit status, and its git-status markers (+ green, ! blue,
5
- * - red, > magenta, # yellow, ? cyan).
6
- */
7
- export declare const fishy: HazeThemeSpec;
@@ -1,25 +0,0 @@
1
- /**
2
- * Port of fishy.zsh-theme: $fg[green]%n and cwd (user_color='green'),
3
- * $fg_bold[red] exit status, and its git-status markers (+ green, ! blue,
4
- * - red, > magenta, # yellow, ? cyan).
5
- */
6
- export const fishy = {
7
- roles: {
8
- // Classic dark-terminal canvas, one step under the xterm-256 234 surfaces.
9
- background: '#121212',
10
- accent: 'green',
11
- accentDim: 'green',
12
- border: '236',
13
- info: 'cyan',
14
- muted: '245',
15
- foreground: 'default',
16
- command: 'green',
17
- success: 'green',
18
- successBg: '22',
19
- danger: 'red',
20
- dangerBg: '52',
21
- warning: 'yellow',
22
- surfaceBg: '234',
23
- codeBg: '235',
24
- },
25
- };
@@ -1,8 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Every built-in theme, keyed by its settings name. Keys must equal their file
4
- * names (minus `.ts`), mirroring how oh-my-zsh discovers `themes/<name>.zsh-theme`
5
- * by `ZSH_THEME=<name>`; `tests/ui/theme.test.ts` enforces folder↔registry parity.
6
- * See AGENTS.md in this folder for how to add/convert themes.
7
- */
8
- export declare const BUILT_IN_THEME_SPECS: Record<string, HazeThemeSpec>;
@@ -1,36 +0,0 @@
1
- import { purple } from './purple.js';
2
- import { light } from './light.js';
3
- import { afMagic } from './af-magic.js';
4
- import { agnoster } from './agnoster.js';
5
- import { bira } from './bira.js';
6
- import { bureau } from './bureau.js';
7
- import { clean } from './clean.js';
8
- import { cloud } from './cloud.js';
9
- import { dst } from './dst.js';
10
- import { fishy } from './fishy.js';
11
- import { robbyrussell } from './robbyrussell.js';
12
- import { solarizedDark } from './solarized-dark.js';
13
- import { solarizedLight } from './solarized-light.js';
14
- import { steeef } from './steeef.js';
15
- /**
16
- * Every built-in theme, keyed by its settings name. Keys must equal their file
17
- * names (minus `.ts`), mirroring how oh-my-zsh discovers `themes/<name>.zsh-theme`
18
- * by `ZSH_THEME=<name>`; `tests/ui/theme.test.ts` enforces folder↔registry parity.
19
- * See AGENTS.md in this folder for how to add/convert themes.
20
- */
21
- export const BUILT_IN_THEME_SPECS = {
22
- purple,
23
- light,
24
- 'af-magic': afMagic,
25
- agnoster,
26
- bira,
27
- bureau,
28
- clean,
29
- cloud,
30
- dst,
31
- fishy,
32
- robbyrussell,
33
- 'solarized-dark': solarizedDark,
34
- 'solarized-light': solarizedLight,
35
- steeef,
36
- };
@@ -1,3 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /** Light-terminal variant of the haze `purple` palette: every fg/bg pair re-tuned together. */
3
- export declare const light: HazeThemeSpec;
@@ -1,21 +0,0 @@
1
- /** Light-terminal variant of the haze `purple` palette: every fg/bg pair re-tuned together. */
2
- export const light = {
3
- roles: {
4
- // Pure white terminal background; layered surfaces stay slightly off-white.
5
- background: '#ffffff',
6
- accent: '#a78bfa',
7
- accentDim: '#c4b5fd',
8
- border: '#6b7280',
9
- info: '#3b82f6',
10
- muted: '#6b7280',
11
- foreground: '#1e293b',
12
- command: '#f59e0b',
13
- success: '#10b981',
14
- successBg: '#f0fdf4',
15
- danger: '#ef4444',
16
- dangerBg: '#fef2f2',
17
- warning: '#f59e0b',
18
- surfaceBg: '#f8fafc',
19
- codeBg: '#f1f5f9',
20
- },
21
- };
@@ -1,7 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * haze's own brand palette and the default theme: the purple-fog look that
4
- * shipped as haze 1.0's hard-coded colors. Selected when `theme` is unset in
5
- * settings, and the fallback base for roles another theme omits.
6
- */
7
- export declare const purple: HazeThemeSpec;
@@ -1,26 +0,0 @@
1
- /**
2
- * haze's own brand palette and the default theme: the purple-fog look that
3
- * shipped as haze 1.0's hard-coded colors. Selected when `theme` is unset in
4
- * settings, and the fallback base for roles another theme omits.
5
- */
6
- export const purple = {
7
- roles: {
8
- // Terminal background: the docs site's darkest haze tone (--terminal-quote),
9
- // one step under surfaceBg so the user-message block stays visible on it.
10
- background: '#171127',
11
- accent: '#a78bfa',
12
- accentDim: '#6d28d9',
13
- border: '#6d28d9',
14
- info: '#60a5fa',
15
- muted: '#9ca3af',
16
- foreground: '#f0eef6',
17
- command: '#ffb86c',
18
- success: '#39ff14',
19
- successBg: '#14331f',
20
- danger: '#fb7185',
21
- dangerBg: '#3a1720',
22
- warning: '#fbbf24',
23
- surfaceBg: '#1f1633',
24
- codeBg: '#202124',
25
- },
26
- };
@@ -1,8 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of robbyrussell.zsh-theme (the oh-my-zsh default):
4
- * $fg_bold[green]➜ → accent 'green' $fg[cyan]%c → command 'cyan'
5
- * $fg_bold[blue]git:→ info 'blue' $fg[red]branch → danger 'red'
6
- * $fg[yellow]✗ → warning 'yellow'
7
- */
8
- export declare const robbyrussell: HazeThemeSpec;
@@ -1,26 +0,0 @@
1
- /**
2
- * Port of robbyrussell.zsh-theme (the oh-my-zsh default):
3
- * $fg_bold[green]➜ → accent 'green' $fg[cyan]%c → command 'cyan'
4
- * $fg_bold[blue]git:→ info 'blue' $fg[red]branch → danger 'red'
5
- * $fg[yellow]✗ → warning 'yellow'
6
- */
7
- export const robbyrussell = {
8
- roles: {
9
- // Classic dark-terminal canvas, one step under the xterm-256 234 surfaces.
10
- background: '#121212',
11
- accent: 'green',
12
- accentDim: 'green',
13
- border: 'black',
14
- info: 'blue',
15
- muted: '245',
16
- foreground: 'default',
17
- command: 'cyan',
18
- success: 'green',
19
- successBg: '22',
20
- danger: 'red',
21
- dangerBg: '52',
22
- warning: 'yellow',
23
- surfaceBg: '234',
24
- codeBg: '234',
25
- },
26
- };
@@ -1,16 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of Solarized Dark (Ethan Schoonover, ethanschoonover.com/solarized).
4
- * Solarized is a terminal *palette*, not a prompt theme, so the port pins the
5
- * canonical 16-color mapping as `palette` and writes roles as zsh names.
6
- *
7
- * Base tones (dark mode): bg base03, emphasis bg base02, body base0,
8
- * comments base01. Accent colors are identical in both modes by design —
9
- * each Solarized accent maps to exactly one haze role:
10
- * blue #268bd2 → accent violet #6c71c4 → accentDim yellow #b58900 → command
11
- * cyan #2aa198 → info green #859900 → success orange #cb4b16 → warning
12
- * red #dc322f → danger
13
- * All backgrounds use base02 ("bg highlight"), Solarized's own surface tone
14
- * for selection/diff regions: the accent foreground carries the meaning.
15
- */
16
- export declare const solarizedDark: HazeThemeSpec;
@@ -1,44 +0,0 @@
1
- /**
2
- * Port of Solarized Dark (Ethan Schoonover, ethanschoonover.com/solarized).
3
- * Solarized is a terminal *palette*, not a prompt theme, so the port pins the
4
- * canonical 16-color mapping as `palette` and writes roles as zsh names.
5
- *
6
- * Base tones (dark mode): bg base03, emphasis bg base02, body base0,
7
- * comments base01. Accent colors are identical in both modes by design —
8
- * each Solarized accent maps to exactly one haze role:
9
- * blue #268bd2 → accent violet #6c71c4 → accentDim yellow #b58900 → command
10
- * cyan #2aa198 → info green #859900 → success orange #cb4b16 → warning
11
- * red #dc322f → danger
12
- * All backgrounds use base02 ("bg highlight"), Solarized's own surface tone
13
- * for selection/diff regions: the accent foreground carries the meaning.
14
- */
15
- export const solarizedDark = {
16
- palette: {
17
- black: '#002b36', // base03 (ANSI slot 0)
18
- red: '#dc322f',
19
- green: '#859900',
20
- yellow: '#b58900',
21
- blue: '#268bd2',
22
- magenta: '#d33682',
23
- cyan: '#2aa198',
24
- white: '#eee8d5', // base2 (ANSI slot 7)
25
- default: '#839496', // base0 — dark-mode body text
26
- },
27
- roles: {
28
- background: '#002b36', // base03 — the dark-mode canvas
29
- accent: 'blue',
30
- accentDim: '#6c71c4', // violet
31
- border: '#586e75', // base01 — chrome structure
32
- info: 'cyan',
33
- muted: '#586e75', // base01 — dark-mode comments
34
- foreground: 'default',
35
- command: 'yellow',
36
- success: 'green',
37
- successBg: '#073642', // base02
38
- danger: 'red',
39
- dangerBg: '#073642', // base02
40
- warning: '#cb4b16', // orange
41
- surfaceBg: '#073642', // base02
42
- codeBg: '#073642', // base02
43
- },
44
- };
@@ -1,12 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of Solarized Light (Ethan Schoonover, ethanschoonover.com/solarized).
4
- * Same accent palette as `solarized-dark` — Solarized's two modes swap only
5
- * the base tones, never the accent colors:
6
- * dark: bg base03, surfaces base02, body base0, comments base01
7
- * light: bg base3, surfaces base2, body base00, comments base1
8
- * Role → accent mapping is identical to solarized-dark (see its comment);
9
- * orange/red gain contrast on light while yellow softens, exactly as in the
10
- * source palette.
11
- */
12
- export declare const solarizedLight: HazeThemeSpec;
@@ -1,40 +0,0 @@
1
- /**
2
- * Port of Solarized Light (Ethan Schoonover, ethanschoonover.com/solarized).
3
- * Same accent palette as `solarized-dark` — Solarized's two modes swap only
4
- * the base tones, never the accent colors:
5
- * dark: bg base03, surfaces base02, body base0, comments base01
6
- * light: bg base3, surfaces base2, body base00, comments base1
7
- * Role → accent mapping is identical to solarized-dark (see its comment);
8
- * orange/red gain contrast on light while yellow softens, exactly as in the
9
- * source palette.
10
- */
11
- export const solarizedLight = {
12
- palette: {
13
- black: '#002b36', // base03 (ANSI slot 0)
14
- red: '#dc322f',
15
- green: '#859900',
16
- yellow: '#b58900',
17
- blue: '#268bd2',
18
- magenta: '#d33682',
19
- cyan: '#2aa198',
20
- white: '#eee8d5', // base2 (ANSI slot 7)
21
- default: '#657b83', // base00 — light-mode body text
22
- },
23
- roles: {
24
- background: '#fdf6e3', // base3 — the light-mode canvas (full Solarized Light)
25
- accent: 'blue',
26
- accentDim: '#6c71c4', // violet
27
- border: '#93a1a1', // base1 — chrome structure on light
28
- info: 'cyan',
29
- muted: '#93a1a1', // base1 — light-mode comments
30
- foreground: 'default',
31
- command: 'yellow',
32
- success: 'green',
33
- successBg: '#eee8d5', // base2
34
- danger: 'red',
35
- dangerBg: '#eee8d5', // base2
36
- warning: '#cb4b16', // orange
37
- surfaceBg: '#eee8d5', // base2
38
- codeBg: '#eee8d5', // base2
39
- },
40
- };
@@ -1,11 +0,0 @@
1
- import type { HazeThemeSpec } from '../theme.js';
2
- /**
3
- * Port of steeef.zsh-theme (Steve Losh's Prose style), using its 256-color
4
- * branch — kept numeric so the port stays a transliteration:
5
- * %F{135}%n (user, purple) → accent '135'
6
- * %F{166}%m (host, orange), unstaged ● → warning '166'
7
- * %F{118}%~ (cwd, limegreen) → command/success '118'
8
- * %F{81}branch (turquoise) → info '81'
9
- * %F{161}● (untracked, hotpink) → danger '161'
10
- */
11
- export declare const steeef: HazeThemeSpec;
@@ -1,29 +0,0 @@
1
- /**
2
- * Port of steeef.zsh-theme (Steve Losh's Prose style), using its 256-color
3
- * branch — kept numeric so the port stays a transliteration:
4
- * %F{135}%n (user, purple) → accent '135'
5
- * %F{166}%m (host, orange), unstaged ● → warning '166'
6
- * %F{118}%~ (cwd, limegreen) → command/success '118'
7
- * %F{81}branch (turquoise) → info '81'
8
- * %F{161}● (untracked, hotpink) → danger '161'
9
- */
10
- export const steeef = {
11
- roles: {
12
- // Classic dark-terminal canvas, one step under the xterm-256 234 surfaces.
13
- background: '#121212',
14
- accent: '135',
15
- accentDim: '61',
16
- border: '236',
17
- info: '81',
18
- muted: '245',
19
- foreground: 'default',
20
- command: '118',
21
- success: '118',
22
- successBg: '22',
23
- danger: '161',
24
- dangerBg: '52',
25
- warning: '166',
26
- surfaceBg: '234',
27
- codeBg: '235',
28
- },
29
- };