aiden-runtime 4.9.0 → 4.9.2

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 (44) hide show
  1. package/README.md +1 -1
  2. package/dist/cli/v4/aidenCLI.js +2 -2
  3. package/dist/cli/v4/aidenPrompt.js +12 -0
  4. package/dist/cli/v4/chatSession.js +43 -17
  5. package/dist/cli/v4/commands/channel.js +4 -6
  6. package/dist/cli/v4/commands/cron.js +6 -1
  7. package/dist/cli/v4/commands/daemon.js +6 -1
  8. package/dist/cli/v4/commands/daemonDoctor.js +6 -6
  9. package/dist/cli/v4/commands/daemonStatus.js +46 -27
  10. package/dist/cli/v4/commands/help.js +3 -0
  11. package/dist/cli/v4/commands/hooks.js +39 -1
  12. package/dist/cli/v4/commands/hooksSlash.js +33 -0
  13. package/dist/cli/v4/commands/index.js +9 -1
  14. package/dist/cli/v4/commands/mcp.js +2 -2
  15. package/dist/cli/v4/commands/memory.js +6 -1
  16. package/dist/cli/v4/commands/memorySlash.js +38 -0
  17. package/dist/cli/v4/commands/plugins.js +4 -6
  18. package/dist/cli/v4/commands/trigger.js +18 -18
  19. package/dist/cli/v4/confirmPrompt.js +67 -0
  20. package/dist/cli/v4/ui/progressBar.js +179 -0
  21. package/dist/cli/v4/util/closestAction.js +48 -0
  22. package/dist/core/v4/daemon/db/migrations.js +398 -398
  23. package/dist/core/v4/daemon/idempotency/runIdempotencyStore.js +10 -10
  24. package/dist/core/v4/daemon/incarnationStore.js +9 -9
  25. package/dist/core/v4/daemon/runs/attemptStore.js +8 -8
  26. package/dist/core/v4/daemon/runs/reclaim.js +12 -12
  27. package/dist/core/v4/daemon/runs/stuckAttemptWatchdog.js +19 -19
  28. package/dist/core/v4/daemon/spans/spanStore.js +14 -14
  29. package/dist/core/v4/daemon/triggerBus.js +61 -61
  30. package/dist/core/v4/hooks/auditQuery.js +11 -11
  31. package/dist/core/v4/hooks/dispatcher.js +13 -13
  32. package/dist/core/v4/hooks/registry.js +8 -8
  33. package/dist/core/v4/mcp/transport.js +9 -9
  34. package/dist/core/v4/update/depWarningFilter.js +76 -0
  35. package/dist/core/v4/update/executeInstall.js +70 -53
  36. package/dist/core/v4/update/platformInstructions.js +128 -0
  37. package/dist/core/v4/update/recoveryScript.js +70 -0
  38. package/dist/core/v4/util/spawnCommand.js +151 -0
  39. package/package.json +1 -1
  40. package/themes/default.yaml +52 -52
  41. package/themes/dracula.yaml +32 -32
  42. package/themes/light.yaml +32 -32
  43. package/themes/monochrome.yaml +31 -31
  44. package/themes/tokyo-night.yaml +32 -32
@@ -1,52 +1,52 @@
1
- # Aiden Theme — Default
2
- # This is the bundled default theme. To customise, copy this file to
3
- # ~/.aiden/theme.yaml and edit any field. Aiden hot-reloads on save.
4
- # Bad values warn + fall back per-field; the theme system never crashes
5
- # Aiden on a typo. Slash commands: /theme reload, /theme reset, /theme edit.
6
-
7
- name: "default"
8
- description: "Aiden's signature brand-orange theme on a dark terminal."
9
-
10
- # ── Colors — hex strings ───────────────────────────────────────────────
11
- colors:
12
- brand:
13
- primary: "#FF6B35" # signature brand orange
14
- muted: "#7a3119" # 30%-luma brand for borders + dim brand surfaces
15
- content:
16
- primary: "#e8ebf0" # brightest text — replies, headings on dark bg
17
- secondary: "#b8a89a" # warm muted — gutter, secondary detail
18
- tertiary: "#6a6a6a" # captions, deprecated rows, dim status
19
- semantic:
20
- success: "#7fc28b"
21
- warn: "#e0a040"
22
- error: "#e05a5a"
23
- info: "#7da7c7"
24
- metrics:
25
- model: "#9cdcfe" # status bar — model name (cyan)
26
- tokens: "#e0a040" # status bar — token ratio (amber)
27
- turnCount: "#a48be0" # status bar — turn counter (purple)
28
- timer: "#7fc28b" # status bar — per-turn elapsed (teal/green)
29
- surface:
30
- bg: "#0d0e10"
31
- elevated: "#16181b"
32
- border: "#2a2a2a"
33
- divider: "#3a3a3a"
34
-
35
- # ── Glyphs ─────────────────────────────────────────────────────────────
36
- glyphs:
37
- panel:
38
- bar: "│" # left-edge bar on /help, approval, Aiden reply chrome
39
- trail:
40
- gutter: "┊" # tool-trail row gutter
41
- status:
42
- triangle: "▲" # user-prompt prefix + brand mark
43
- dot: "●"
44
- dotOpen: "○"
45
- sep: "│" # status footer column separator
46
- timer: "⌛"
47
- bar:
48
- filled: "●" # context-bar filled cell
49
- empty: "○" # context-bar empty cell
50
- shimmer:
51
- block: "█" # activity-indicator sliding block
52
- track: "─" # activity-indicator track
1
+ # Aiden Theme — Default
2
+ # This is the bundled default theme. To customise, copy this file to
3
+ # ~/.aiden/theme.yaml and edit any field. Aiden hot-reloads on save.
4
+ # Bad values warn + fall back per-field; the theme system never crashes
5
+ # Aiden on a typo. Slash commands: /theme reload, /theme reset, /theme edit.
6
+
7
+ name: "default"
8
+ description: "Aiden's signature brand-orange theme on a dark terminal."
9
+
10
+ # ── Colors — hex strings ───────────────────────────────────────────────
11
+ colors:
12
+ brand:
13
+ primary: "#FF6B35" # signature brand orange
14
+ muted: "#7a3119" # 30%-luma brand for borders + dim brand surfaces
15
+ content:
16
+ primary: "#e8ebf0" # brightest text — replies, headings on dark bg
17
+ secondary: "#b8a89a" # warm muted — gutter, secondary detail
18
+ tertiary: "#6a6a6a" # captions, deprecated rows, dim status
19
+ semantic:
20
+ success: "#7fc28b"
21
+ warn: "#e0a040"
22
+ error: "#e05a5a"
23
+ info: "#7da7c7"
24
+ metrics:
25
+ model: "#9cdcfe" # status bar — model name (cyan)
26
+ tokens: "#e0a040" # status bar — token ratio (amber)
27
+ turnCount: "#a48be0" # status bar — turn counter (purple)
28
+ timer: "#7fc28b" # status bar — per-turn elapsed (teal/green)
29
+ surface:
30
+ bg: "#0d0e10"
31
+ elevated: "#16181b"
32
+ border: "#2a2a2a"
33
+ divider: "#3a3a3a"
34
+
35
+ # ── Glyphs ─────────────────────────────────────────────────────────────
36
+ glyphs:
37
+ panel:
38
+ bar: "│" # left-edge bar on /help, approval, Aiden reply chrome
39
+ trail:
40
+ gutter: "┊" # tool-trail row gutter
41
+ status:
42
+ triangle: "▲" # user-prompt prefix + brand mark
43
+ dot: "●"
44
+ dotOpen: "○"
45
+ sep: "│" # status footer column separator
46
+ timer: "⌛"
47
+ bar:
48
+ filled: "●" # context-bar filled cell
49
+ empty: "○" # context-bar empty cell
50
+ shimmer:
51
+ block: "█" # activity-indicator sliding block
52
+ track: "─" # activity-indicator track
@@ -1,32 +1,32 @@
1
- # Aiden Theme — Dracula
2
- # Palette inspired by the public Dracula theme by Zeno Rocha
3
- # (draculatheme.com). High-contrast dark with vivid accents, widely
4
- # re-implemented across editors and terminals. Hex values are the
5
- # public palette. Glyphs unchanged from default.
6
-
7
- name: "dracula"
8
- description: "Inspired by Dracula (draculatheme.com). High-contrast dark with vivid accents."
9
-
10
- colors:
11
- brand:
12
- primary: "#FF79C6"
13
- muted: "#BD7AA3"
14
- content:
15
- primary: "#F8F8F2"
16
- secondary: "#BFBFBF"
17
- tertiary: "#6272A4"
18
- semantic:
19
- success: "#50FA7B"
20
- warn: "#F1FA8C"
21
- error: "#FF5555"
22
- info: "#8BE9FD"
23
- metrics:
24
- model: "#8BE9FD"
25
- tokens: "#F1FA8C"
26
- timer: "#8BE9FD"
27
- turnCount: "#BD93F9"
28
- surface:
29
- bg: "#282A36"
30
- elevated: "#21222C"
31
- border: "#44475A"
32
- divider: "#1E1F29"
1
+ # Aiden Theme — Dracula
2
+ # Palette inspired by the public Dracula theme by Zeno Rocha
3
+ # (draculatheme.com). High-contrast dark with vivid accents, widely
4
+ # re-implemented across editors and terminals. Hex values are the
5
+ # public palette. Glyphs unchanged from default.
6
+
7
+ name: "dracula"
8
+ description: "Inspired by Dracula (draculatheme.com). High-contrast dark with vivid accents."
9
+
10
+ colors:
11
+ brand:
12
+ primary: "#FF79C6"
13
+ muted: "#BD7AA3"
14
+ content:
15
+ primary: "#F8F8F2"
16
+ secondary: "#BFBFBF"
17
+ tertiary: "#6272A4"
18
+ semantic:
19
+ success: "#50FA7B"
20
+ warn: "#F1FA8C"
21
+ error: "#FF5555"
22
+ info: "#8BE9FD"
23
+ metrics:
24
+ model: "#8BE9FD"
25
+ tokens: "#F1FA8C"
26
+ timer: "#8BE9FD"
27
+ turnCount: "#BD93F9"
28
+ surface:
29
+ bg: "#282A36"
30
+ elevated: "#21222C"
31
+ border: "#44475A"
32
+ divider: "#1E1F29"
package/themes/light.yaml CHANGED
@@ -1,32 +1,32 @@
1
- # Aiden Theme — Light
2
- # Dark text on light terminal background. Brand orange retained as the
3
- # single warm accent. For users on light-theme terminals (Apple Terminal
4
- # default profile, Windows Terminal Light, light VS Code integrated, etc.).
5
- # Glyphs unchanged from default.
6
-
7
- name: "light"
8
- description: "Light terminal. Dark text on light background. Brand orange accent."
9
-
10
- colors:
11
- brand:
12
- primary: "#D9531E"
13
- muted: "#A03D0E"
14
- content:
15
- primary: "#1A1A1A"
16
- secondary: "#555555"
17
- tertiary: "#888888"
18
- semantic:
19
- success: "#2E8B2E"
20
- warn: "#B8860B"
21
- error: "#C8202C"
22
- info: "#1F5FA8"
23
- metrics:
24
- model: "#1F5FA8"
25
- tokens: "#B8860B"
26
- timer: "#1F5FA8"
27
- turnCount: "#7B3FBF"
28
- surface:
29
- bg: "#F8F8F8"
30
- elevated: "#EFEFEF"
31
- border: "#D0D0D0"
32
- divider: "#E5E5E5"
1
+ # Aiden Theme — Light
2
+ # Dark text on light terminal background. Brand orange retained as the
3
+ # single warm accent. For users on light-theme terminals (Apple Terminal
4
+ # default profile, Windows Terminal Light, light VS Code integrated, etc.).
5
+ # Glyphs unchanged from default.
6
+
7
+ name: "light"
8
+ description: "Light terminal. Dark text on light background. Brand orange accent."
9
+
10
+ colors:
11
+ brand:
12
+ primary: "#D9531E"
13
+ muted: "#A03D0E"
14
+ content:
15
+ primary: "#1A1A1A"
16
+ secondary: "#555555"
17
+ tertiary: "#888888"
18
+ semantic:
19
+ success: "#2E8B2E"
20
+ warn: "#B8860B"
21
+ error: "#C8202C"
22
+ info: "#1F5FA8"
23
+ metrics:
24
+ model: "#1F5FA8"
25
+ tokens: "#B8860B"
26
+ timer: "#1F5FA8"
27
+ turnCount: "#7B3FBF"
28
+ surface:
29
+ bg: "#F8F8F8"
30
+ elevated: "#EFEFEF"
31
+ border: "#D0D0D0"
32
+ divider: "#E5E5E5"
@@ -1,31 +1,31 @@
1
- # Aiden Theme — Monochrome
2
- # Pure greyscale. Two semantic accents (error red + success green) are
3
- # retained for readability of state signals. Everything else greyscale.
4
- # Glyphs unchanged from default — themes change colors, not shapes.
5
-
6
- name: "monochrome"
7
- description: "Pure greyscale. Semantic accents retained for error/success readability."
8
-
9
- colors:
10
- brand:
11
- primary: "#C8CCD4"
12
- muted: "#888888"
13
- content:
14
- primary: "#C8CCD4"
15
- secondary: "#888888"
16
- tertiary: "#555555"
17
- semantic:
18
- success: "#7DC97D"
19
- warn: "#999999"
20
- error: "#D97777"
21
- info: "#AAAAAA"
22
- metrics:
23
- model: "#AAAAAA"
24
- tokens: "#AAAAAA"
25
- timer: "#888888"
26
- turnCount: "#BBBBBB"
27
- surface:
28
- bg: "#0A0A0A"
29
- elevated: "#1A1A1A"
30
- border: "#444444"
31
- divider: "#3A3A3A"
1
+ # Aiden Theme — Monochrome
2
+ # Pure greyscale. Two semantic accents (error red + success green) are
3
+ # retained for readability of state signals. Everything else greyscale.
4
+ # Glyphs unchanged from default — themes change colors, not shapes.
5
+
6
+ name: "monochrome"
7
+ description: "Pure greyscale. Semantic accents retained for error/success readability."
8
+
9
+ colors:
10
+ brand:
11
+ primary: "#C8CCD4"
12
+ muted: "#888888"
13
+ content:
14
+ primary: "#C8CCD4"
15
+ secondary: "#888888"
16
+ tertiary: "#555555"
17
+ semantic:
18
+ success: "#7DC97D"
19
+ warn: "#999999"
20
+ error: "#D97777"
21
+ info: "#AAAAAA"
22
+ metrics:
23
+ model: "#AAAAAA"
24
+ tokens: "#AAAAAA"
25
+ timer: "#888888"
26
+ turnCount: "#BBBBBB"
27
+ surface:
28
+ bg: "#0A0A0A"
29
+ elevated: "#1A1A1A"
30
+ border: "#444444"
31
+ divider: "#3A3A3A"
@@ -1,32 +1,32 @@
1
- # Aiden Theme — Tokyo Night
2
- # Palette inspired by the public Tokyo Night theme by Folke Lemaitre
3
- # (folke/tokyonight.nvim). Cool nocturnal palette widely re-implemented
4
- # across editors and terminals. Hex values are the public palette.
5
- # Glyphs unchanged from default.
6
-
7
- name: "tokyo-night"
8
- description: "Inspired by Tokyo Night (folke/tokyonight.nvim). Cool nocturnal palette."
9
-
10
- colors:
11
- brand:
12
- primary: "#7AA2F7"
13
- muted: "#3D59A1"
14
- content:
15
- primary: "#C0CAF5"
16
- secondary: "#9AA5CE"
17
- tertiary: "#565F89"
18
- semantic:
19
- success: "#9ECE6A"
20
- warn: "#E0AF68"
21
- error: "#F7768E"
22
- info: "#7DCFFF"
23
- metrics:
24
- model: "#7DCFFF"
25
- tokens: "#E0AF68"
26
- timer: "#7DCFFF"
27
- turnCount: "#BB9AF7"
28
- surface:
29
- bg: "#1A1B26"
30
- elevated: "#24283B"
31
- border: "#3B4261"
32
- divider: "#1F2335"
1
+ # Aiden Theme — Tokyo Night
2
+ # Palette inspired by the public Tokyo Night theme by Folke Lemaitre
3
+ # (folke/tokyonight.nvim). Cool nocturnal palette widely re-implemented
4
+ # across editors and terminals. Hex values are the public palette.
5
+ # Glyphs unchanged from default.
6
+
7
+ name: "tokyo-night"
8
+ description: "Inspired by Tokyo Night (folke/tokyonight.nvim). Cool nocturnal palette."
9
+
10
+ colors:
11
+ brand:
12
+ primary: "#7AA2F7"
13
+ muted: "#3D59A1"
14
+ content:
15
+ primary: "#C0CAF5"
16
+ secondary: "#9AA5CE"
17
+ tertiary: "#565F89"
18
+ semantic:
19
+ success: "#9ECE6A"
20
+ warn: "#E0AF68"
21
+ error: "#F7768E"
22
+ info: "#7DCFFF"
23
+ metrics:
24
+ model: "#7DCFFF"
25
+ tokens: "#E0AF68"
26
+ timer: "#7DCFFF"
27
+ turnCount: "#BB9AF7"
28
+ surface:
29
+ bg: "#1A1B26"
30
+ elevated: "#24283B"
31
+ border: "#3B4261"
32
+ divider: "#1F2335"