Kaoru0822 and Claude Opus 5.5
ca3131b36c
perf(cli): write compact JSON when output is not a terminal ( #1413 )
...
`--json` / `--format json` always indented its streamed result. Agents and
scripts read REA through pipes and redirects, where indentation carries no
information: on real application results it added 16-45% model tokens
(o200k proxy) and 25-73% bytes. The skill's CLI fallback uses `--json`.
Indent only when stdout is a TTY, as `gh --json` does; piped or redirected
JSON is compact. The JSON value, `jsonl`, `--filter-output`,
`--full-output` and the token-window paths are unchanged. `jq .` restores
indentation for files.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-09 20:29:48 -07:00
..
2026-10-10 04:09:45 +08:00
2026-10-10 06:20:28 +08:00
2026-10-09 20:29:48 -07:00
2026-09-29 08:45:36 +08:00
2026-10-07 12:24:36 +08:00
2026-10-06 16:53:33 +08:00
2026-07-16 19:51:25 +08:00
2026-07-15 17:43:52 +08:00
2026-10-09 20:11:17 +08:00
2026-10-08 05:11:47 +08:00
2026-10-09 06:49:02 +08:00
2026-10-09 06:49:02 +08:00
2026-10-08 22:43:51 +08:00
2026-10-06 01:59:19 +08:00
2026-10-09 20:11:17 +08:00
2026-10-07 00:57:08 +08:00
2026-10-08 22:43:51 +08:00
2026-10-08 22:43:51 +08:00
2026-10-10 04:47:10 +08:00
2026-10-07 23:16:48 +08:00
2026-07-22 16:06:28 +00:00
2026-10-09 21:46:05 +08:00
2026-07-22 16:06:28 +00:00
2026-07-17 00:16:46 +00:00
2026-10-09 20:11:17 +08:00
2026-10-09 00:49:30 +08:00
2026-10-09 20:11:17 +08:00
2026-10-09 20:11:17 +08:00
2026-10-09 20:11:17 +08:00
2026-07-23 03:42:41 +08:00
2026-10-09 21:46:05 +08:00
2026-10-09 14:49:09 +08:00
2026-10-09 20:00:11 -07:00
2026-10-09 04:12:49 +08:00
2026-10-07 14:59:52 +08:00
2026-10-07 04:35:49 +08:00
2026-10-07 21:45:07 +08:00
2026-10-07 05:24:32 +08:00
2026-10-09 02:01:29 +08:00
2026-09-29 08:45:36 +08:00
2026-10-09 20:18:52 +08:00
2026-07-22 14:01:47 +00:00
2026-08-05 19:07:46 +08:00
2026-10-07 13:02:28 +08:00
2026-10-10 04:39:17 +08:00
2026-10-09 20:18:52 +08:00
2026-09-30 00:41:05 +08:00
2026-10-09 20:18:52 +08:00
2026-10-06 00:00:15 +08:00
2026-10-06 00:00:15 +08:00
2026-07-24 03:31:26 +00:00
2026-10-09 08:51:12 -07:00
2026-07-18 05:49:14 +00:00
2026-10-09 04:12:49 +08:00
2026-10-10 04:09:45 +08:00
2026-10-09 13:54:32 +00:00
2026-10-09 20:11:17 +08:00
2026-09-08 10:59:13 +08:00
2026-09-29 07:08:46 +08:00
2026-07-14 04:55:38 +08:00
2026-10-09 12:57:00 +08:00
2026-07-18 05:49:14 +00:00
2026-10-09 08:51:12 -07:00
2026-10-09 04:12:49 +08:00
2026-10-09 20:18:52 +08:00
2026-10-09 05:54:10 +08:00
2026-10-09 08:51:12 -07:00
2026-10-10 01:45:00 +08:00
2026-10-09 20:18:52 +08:00
2026-10-09 22:46:09 +08:00
2026-10-09 20:18:52 +08:00
2026-10-09 20:18:52 +08:00
2026-10-10 06:58:29 +08:00
2026-09-30 00:41:05 +08:00
2026-10-09 20:18:52 +08:00
2026-10-09 20:18:52 +08:00
2026-10-05 22:54:17 +08:00
2026-10-06 01:59:19 +08:00
2026-10-09 20:18:52 +08:00
2026-10-09 22:46:09 +08:00
2026-10-10 06:58:29 +08:00
2026-10-09 22:46:09 +08:00
2026-10-09 22:46:09 +08:00
2026-07-22 14:01:47 +00:00
2026-10-09 22:46:09 +08:00
2026-10-09 13:54:32 +00:00
2026-09-29 09:22:44 +08:00
2026-10-08 16:50:31 +08:00
2026-10-08 10:13:05 +00:00
2026-10-09 04:12:49 +08:00
2026-10-09 04:12:49 +08:00
2026-10-09 20:18:52 +08:00
2026-10-09 21:46:05 +08:00
2026-10-06 16:53:33 +08:00
2026-10-09 21:01:53 +08:00
2026-10-09 08:51:12 -07:00
2026-07-17 03:05:19 +09:00