mirror of
https://github.com/lWolvesl/claw-code.git
synced 2026-04-02 21:01:52 +08:00
Add terminal markdown rendering support in the Rust CLI by extending the existing renderer with ordered lists, aligned tables, and ANSI-styled code/inline formatting. Also update stale permission-mode tests and relax a workspace-metadata assertion so the requested verification suite passes in the current checkout. Constraint: Keep the existing renderer integration path used by main.rs and app.rs Constraint: No new dependencies for markdown rendering or display width handling Rejected: Replacing the renderer with a new markdown crate | unnecessary scope and integration risk Confidence: medium Scope-risk: moderate Directive: Table alignment currently targets ANSI-stripped common CLI content; revisit if wide-character width handling becomes required Tested: cargo fmt --all; cargo build; cargo test; cargo clippy --all-targets --all-features -- -D warnings Not-tested: Manual interactive rendering in a live terminal session