Files
graphify/graphify
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
..