Skip to content

[FEATURE] Implement AI side-panel UI #723

@mikejmorgan-ai

Description

@mikejmorgan-ai

Description

The AI side-panel is configured in Lua but the actual UI implementation is missing.

Current State

  • cx.lua has keybinding for Ctrl+Space AI panel toggle
  • cx fix-last-error and cx explain commands are defined
  • No actual panel rendering code exists

Required Implementation

  1. Create AI panel component in wezterm-gui/src/
  2. Implement panel toggle action
  3. Connect to AI providers (Claude/OpenAI/Ollama)
  4. Display AI responses in panel
  5. Handle streaming responses

Config Reference

-- cx.lua line 244
{ key = "Space", mods = "CTRL", action = cx.action.ShowLauncherArgs { flags = "COMMANDS" } },
{ key = "f", mods = "CTRL|SHIFT", action = cx.action.SendString("cx fix-last-error\n") },
{ key = "e", mods = "CTRL|SHIFT", action = cx.action.SendString("cx explain\n") },

Estimated Time

8+ hours

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions