You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(doctor): prevent clack note box from breaking copy-sensitive paths
The wrapNoteMessage function correctly preserves copy-sensitive tokens
(paths, URLs) as intact tokens, but the downstream clackNote renderer
performs its own width-based wrapping inside the bordered box and is
unaware of copy-sensitive token semantics. A path such as:
~/.openclaw/agents/main/sessions/uuid.jsonl.lock
would land exactly at the box's right edge and get broken mid-extension.
Add a second pass after the first-pass word wrap: any line that still
exceeds the clack note box inner width is split at path-separator
boundaries so each segment fits within the box without mid-word breaks.
The fix benefits all doctor panels that use note() for paths:
doctor-session-locks, doctor-state-integrity, doctor-volatile-fs, etc.
Closes: #94730
Co-Authored-By: Claude <[email protected]>
0 commit comments