singularity-forge/packages
Juan Francisco Lebrero 334a7cf076 refactor: extract slash command handlers from interactive-mode (#1485)
Move slash command dispatch logic and 12 individual command handlers
(/export, /share, /copy, /name, /session, /changelog, /hotkeys,
/compact, /thinking, /edit-mode, /arminsayshi, plus showThinkingSelector)
into a new slash-command-handlers.ts module.

InteractiveMode now delegates to dispatchSlashCommand() via a
SlashCommandContext interface, keeping the integration surface minimal.
Handlers that are also invoked from keybindings/events remain on
InteractiveMode and are accessed through the context.

Reduces interactive-mode.ts from 4,783 to 4,272 lines (-511).
2026-03-19 15:34:14 -06:00
..
native refactor: remove dead code (unused exports) (#1486) 2026-03-19 15:33:32 -06:00
pi-agent-core refactor: remove dead code (unused exports) (#1486) 2026-03-19 15:33:32 -06:00
pi-ai refactor: remove dead code (unused exports) (#1486) 2026-03-19 15:33:32 -06:00
pi-coding-agent refactor: extract slash command handlers from interactive-mode (#1485) 2026-03-19 15:34:14 -06:00
pi-tui refactor: remove dead code (unused exports) (#1486) 2026-03-19 15:33:32 -06:00