PCeltide
edfe5812f7
fix(claude-cli): handle JSON-array envelope from Claude Code CLI >= 2.1
...
`claude -p --output-format json` now emits a JSON array of streamed event
objects instead of a single envelope dict, so `_call_claude_cli` crashed
with `'list' object has no attribute 'get'` on every chunk. Add a shared
`_claude_cli_envelope` helper that normalizes both shapes (extracts the
terminal {"type":"result"} object from an array) and use it at both CLI
call sites.
2026-06-11 04:09:21 +05:30
..
2026-06-02 20:48:13 +01:00
2026-06-07 14:26:14 +01:00
2026-04-06 16:06:31 +01:00
2026-06-10 12:45:20 +01:00
2026-06-10 15:50:38 +01:00
2026-06-07 12:40:44 +01:00
2026-06-10 12:45:20 +01:00
2026-05-22 13:22:51 +01:00
2026-06-08 23:22:15 +01:00
2026-06-03 21:03:06 +01:00
2026-05-29 02:28:52 +01:00
2026-06-01 21:54:11 +01:00
2026-06-01 16:05:07 +01:00
2026-06-10 15:50:38 +01:00
2026-06-10 19:31:47 +01:00
2026-05-22 13:22:51 +01:00
2026-06-10 19:31:47 +01:00
2026-06-10 19:31:47 +01:00
2026-05-22 13:22:51 +01:00
2026-05-07 20:07:57 +01:00
2026-06-07 12:40:44 +01:00
2026-05-07 16:32:26 +01:00
2026-06-11 04:09:21 +05:30
2026-04-04 18:56:38 +01:00
2026-05-26 20:16:41 +01:00
2026-05-22 13:22:51 +01:00
2026-06-07 01:20:38 +01:00
2026-05-31 00:06:35 +01:00
2026-06-03 21:04:01 +01:00
2026-05-30 21:37:47 +01:00
2026-05-22 13:22:51 +01:00
2026-06-10 12:45:20 +01:00
2026-05-22 13:22:51 +01:00
2026-06-08 23:22:15 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 12:40:44 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 12:40:44 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 12:40:44 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 15:49:52 +01:00
2026-06-07 15:49:52 +01:00
2026-05-31 12:23:56 +01:00
2026-05-02 14:32:16 +01:00
2026-05-22 13:22:51 +01:00
2026-04-29 08:51:53 +01:00
2026-06-07 01:20:38 +01:00
2026-05-26 09:06:43 +01:00