Skip to content

feat(shell): simplify prompt display and clean up shell console output#1257

Merged
RealKai42 merged 3 commits intomainfrom
kaiyi/chat-input-ui
Feb 26, 2026
Merged

feat(shell): simplify prompt display and clean up shell console output#1257
RealKai42 merged 3 commits intomainfrom
kaiyi/chat-input-ui

Conversation

@RealKai42
Copy link
Copy Markdown
Collaborator

@RealKai42 RealKai42 commented Feb 26, 2026

PR Description

  • Simplify shell prompts by removing username/workdir prefixes and using minimal mode symbols.
  • Improve status bar readability with a top divider and adaptive shortcut hints.
  • Clean up console rendering by adding spacing after soul commands and removing redundant user-input panels in live view/replay.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked the related issue, if any.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have run make gen-changelog to update the changelog.
  • I have run make gen-docs to update the user documentation.

Open with Devin

Copilot AI review requested due to automatic review settings February 26, 2026 11:05
@RealKai42 RealKai42 changed the title feat(shell): enhance console output and clean up user information in … feat(shell): simplify prompt display and clean up shell console output Feb 26, 2026
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the shell UI by removing user-specific information from prompts and improving the console output formatting. The changes clean up the visual presentation by removing username and working directory information from prompt displays, and adding better spacing in output.

Changes:

  • Removed username and working directory path from prompt displays across multiple UI files
  • Removed redundant Panel display of user input in the visualization flow
  • Enhanced bottom toolbar shortcuts with graceful degradation for narrow terminals
  • Added blank line after soul command execution for better output readability

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/kimi_cli/ui/shell/visualize.py Removed unused imports (Message, Panel, message_stringify), removed user input Panel display on TurnBegin, added formatting blank line
src/kimi_cli/ui/shell/replay.py Removed getpass import and username from replay history prompt display
src/kimi_cli/ui/shell/prompt.py Removed getpass import, simplified prompt message rendering to remove username@directory prefix, enhanced bottom toolbar with horizontal separator and adaptive shortcut display
src/kimi_cli/ui/shell/init.py Added blank line after soul command execution for output spacing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RealKai42 RealKai42 merged commit 4c28b6d into main Feb 26, 2026
14 checks passed
@RealKai42 RealKai42 deleted the kaiyi/chat-input-ui branch February 26, 2026 15:22
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.

2 participants