idx-cli/docs
hermes ec2e870c6a fix(cli): output contract, terminal-safe text, char-safe truncation, cache symlinks
From the full-repo Codex audit:
- Provider and KSEI text reached the terminal raw, so an escape sequence
  in a news title or insight could clear or rewrite the screen. Every
  table cell, insight line, and graph label now has control characters
  and bidirectional overrides replaced.
- Table rendering sliced strings by byte (a description at 200, a URL at
  72, an earnings period), panicking when a multi-byte character such as
  "’" or "é" fell on the cut. Truncate by character.
- In JSON mode, argument errors were clap's plain text and warnings were
  plain lines ahead of the JSON error. Argument errors are now the usual
  JSON error (INVALIDINPUT, exit 2) when JSON output is selected, and
  diagnostics are JSON lines; --help and --version are unchanged.
- `config` commands ignored the output format; they follow it like every
  other command (JSON when piped or with -o json, text on a terminal).
- Ownership argument mistakes (--limit 0, --format, missing or
  conflicting import sources, --family, an empty graph root) returned
  PARSEERROR / exit 1; they are INVALIDINPUT / exit 2 as documented.
- `cache clear` followed symlinked directories and deleted files outside
  the cache; it now removes links without following them.

Output change, intentional: goldens regenerated for the JSON argument
error and the five config commands, which run with stdout piped.

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
..
ARCHITECTURE.md fix(cli): output contract, terminal-safe text, char-safe truncation, cache symlinks 2026-10-17 13:24:28 +00:00
CONVENTIONS.md refactor(core): compile the mock provider only with a testing feature 2026-10-14 09:31:12 +00:00
DESIGN.md chore: release 0.3.0 with idx-mcp 2026-10-14 19:01:29 +00:00
IDX_NEWS.md docs: news sources research: one publisher, Google News, greencloud test 2026-10-16 09:54:30 +00:00
INSTALL.md chore: release 0.3.2 2026-10-16 09:54:31 +00:00
NPM_DISTRIBUTION.md docs: release notes format in the release order 2026-10-16 10:01:47 +00:00
OWNERSHIP_PUBLISH.md fix(ownership): update syncs when a same-date snapshot is rebuilt 2026-10-14 18:52:13 +00:00
OWNERSHIP_SYNC.md fix(sync): atomic install, stored-row validation, no local artifacts from remote manifests 2026-10-17 12:23:58 +00:00
SMOKE.md test(agents): run opencode 2 as well as opencode 1 2026-10-16 07:40:04 +00:00