idx-cli/crates/idx-cli
hermes e3df327f31 fix(cli): keep idx's own colors; sanitize remaining provider text; no UTF-8 panic
From the Codex re-gate of the 0.3.3 fixes:
- Colored signal cells (Bullish/Bearish, ratings, ownership change and
  flow labels) were painted before the new cell sanitizer, which turned
  their escape codes into U+FFFD on every color terminal; the goldens run
  without color and missed it. Labels idx produces itself go into cells
  untouched (`painted`), with the label made safe before styling.
- Statement dates and currency, and the entity name in `ownership
  entity`, still reached the terminal unsanitized.
- The JSON-mode argument handler read std::env::args(), which panics on
  a non-UTF-8 argument (exit 101 instead of 2); use args_os.
- A missing subcommand printed help as plain text in JSON mode; it is an
  error (exit 2), so it is a JSON error there too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V3syn2fN2LNo5pvTSqc6eh
2026-10-17 13:24:28 +00:00
..
src fix(cli): keep idx's own colors; sanitize remaining provider text; no UTF-8 panic 2026-10-17 13:24:28 +00:00
tests fix(cli): output contract, terminal-safe text, char-safe truncation, cache symlinks 2026-10-17 13:24:28 +00:00
Cargo.toml fix(output): align tables whose cells carry color codes 2026-10-14 11:32:11 +00:00
LICENSE refactor: split into idx-core library and idx-cli binary workspace 2026-10-14 09:13:46 +00:00