Description
The AI explanation and solution output is currently printed as unformatted, flat text. It is difficult to distinguish the technical explanation from the suggested commands (which are typically enclosed in backticks or markdown code blocks by Gemini).
Proposed Solution
-
Colorizing Header Bars:
- Use a lightweight, zero-dependency terminal formatting method (or standard ANSI escape codes) to colorize the headers (e.g., make the line dividers and
EXPLANATION AND SOLUTION header green or blue).
-
Highlighting Code Snippets:
- Implement a simple parser/regex in
index.js to find text enclosed in backticks (e.g., `dir fake-folder`).
- Format these detected code snippets with a distinct terminal color (like cyan or yellow) to make recommended commands instantly recognizable to the user.
Definition of Done
- The visual separators and output headers are colorized in the terminal.
- Suggested code blocks and CLI commands are highlighted dynamically in a different color.
Description
The AI explanation and solution output is currently printed as unformatted, flat text. It is difficult to distinguish the technical explanation from the suggested commands (which are typically enclosed in backticks or markdown code blocks by Gemini).
Proposed Solution
Colorizing Header Bars:
EXPLANATION AND SOLUTIONheader green or blue).Highlighting Code Snippets:
index.jsto find text enclosed in backticks (e.g.,`dir fake-folder`).Definition of Done