Skip to content

feat(ui,audio): add /theme palette engine, /commit assistant, and authentic companion audio - #2

Merged
404kernel merged 1 commit into
mainfrom
feat/theme-commit-and-audio
Oct 20, 2026
Merged

404kernel merged 1 commit into
mainfrom
feat/theme-commit-and-audio

Conversation

@404kernel

Copy link
Copy Markdown
Owner

⚡ Summary of Changes

This PR introduces three major upgrades to Kernel:

1. 🎨 Dynamic Cyberpunk Theme Engine (/theme [name])

  • Adds ThemePalette registry supporting 6 distinct terminal aesthetics:
    • cyberpunk (Default neon cyan/violet)
    • matrix (Phosphor green mainframe)
    • dracula (Gothic vampire purple & pastel)
    • nord (Arctic blue & icy aurora)
    • tokyo (Tokyo night storm & lavender)
    • synthwave (Sunset magenta & neon grid)
  • Dynamic Lip Gloss style recalculation at runtime via ApplyTheme().
  • Persists theme selection to ~/.kernel/config.json.

2. ⚡ AI Conventional Commit Assistant (/commit [-y])

  • Inspects git status and git diff across the active workspace.
  • Generates professional Conventional Commit messages (feat(...), fix(...), refactor(...)).
  • Supports /commit for preview and /commit -y to auto-stage and commit in one step.
  • Offline heuristic fallback ensures instantaneous responses even in demo mode.

3. 🐶 Authentic Canine & Feline Audio Engine

  • Replaced synthetic SAPI speech imitation with authentic embedded .wav animal recordings.
  • Uses native Windows WinMM API (winmm.dll -> PlaySoundW) with SND_MEMORY | SND_ASYNC for zero-latency, in-memory playback.
  • Added cross-platform audio fallbacks for macOS (afplay) and Linux (aplay).

🧪 Verification

  • All test suites passing (go test ./... -> 100% green).
  • Clean compilation verified on Windows amd64.

@404kernel
404kernel merged commit 0ff6d99 into main Oct 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant