Skip to content

Fix five bugs: model picker, Ctrl+W tokens, // in strings, /status memory, OSC in output - #101

Merged
LudaLunizz merged 1 commit into
Silvertree2010:mainfrom
LudaLunizz:96-five-fixes
Nov 30, 2026
Merged

LudaLunizz merged 1 commit into
Silvertree2010:mainfrom
LudaLunizz:96-five-fixes

Conversation

@LudaLunizz

Copy link
Copy Markdown
Collaborator

Closes #96
Closes #97
Closes #98
Closes #99
Closes #100

Five small bug fixes, each with a test:

Checked locally: cargo fmt --check, clippy -D warnings (no-default + all-features, Linux and x86_64-pc-windows-gnu), cargo doc, cargo test (123 tests, 5 new).

🤖 Generated with Claude Code

…mory, OSC in output

- /model picker: match the exact model id first, so Opus 5 no longer
  highlights Opus 5.5 (prefix match hit the earlier entry).
- Ctrl+W: delete a [pasted #N] or [image #N] token as one unit
  instead of leaving a broken half token in the prompt.
- Code highlighting: a // inside a string literal ("https://...") is
  no longer coloured as the start of a comment.
- /status Memory row: expand the "~/..." folder before walking it, so
  the project's CLAUDE.md files are listed again.
- strip(): remove OSC escape sequences (hyperlinks, titles) whole,
  so hook/command/task output no longer shows "8;;https://...".

Tests for each fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 89bbd53b-c5dc-49de-99f8-d801ae81f613
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@LudaLunizz
LudaLunizz merged commit 47d32c0 into Silvertree2010:main Nov 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant