This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Repository navigation
feat(ui): improve shell spacing, link highlighting and notification duration - #2230
Merged
Merged
Conversation
- fix content block paragraph separation loss - add blank line spacing after message echo, tool calls, and notifications - add underline to h2 headings and adjust table border style - restore markdown link highlight styles - sync related tests
- include completion time and elapsed duration in background task notification body\n- add finished_at and duration_s to notification payload\n- add debug logging around task state transitions and notification publishing\n- add blank line spacing after user input echo in shell UI\n- update tests for new notification format and shell output
…ation duration - Add changelog entries for shell UI spacing fixes, markdown link/heading/table rendering improvements\n- Add entry for background task terminal notification duration and timestamp\n- Sync English and Chinese docs changelogs via sync script
RealKai42
approved these changes
May 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes shell UI spacing and link highlighting issues, adds task duration to background notifications, and updates the changelog with unreleased entries.
1. Shell UI spacing and link highlighting fixes
Problem: The shell UI had inconsistent spacing and broken link highlighting in certain rendering paths.
What was done:
src/kimi_cli/ui/shell/console.py.src/kimi_cli/ui/shell/visualize/_blocks.py.src/kimi_cli/ui/shell/visualize/_live_view.py.src/kimi_cli/utils/rich/markdown.py.tests/ui_and_conv/test_visualize_running_prompt.py.2. Background notification duration
Problem: Background task completion notifications did not include task duration, making it hard for users to gauge how long operations took.
What was done:
src/kimi_cli/background/manager.py.tests/background/test_manager.pyand related shell prompt tests.3. Changelog updates
What was done:
CHANGELOG.mdand both English and Chinese release notes.Related Issue
Resolve #(issue_number)
Description
Checklist
make gen-changelogto update the changelog.make gen-docsto update the user documentation.