Description
After updating Claude Code to Opus 4.6 (claude-opus-4-6), ccline v1.1.2 crashes on startup with a deserialization error. The statusline no longer renders.
Error
Error("invalid type: string \"claude-opus-4-6\", expected struct Model", line: 1, column: 26)
Cause
It appears Claude Code now sends the model field as a plain string (e.g. "claude-opus-4-6") in the statusline JSON, whereas ccline expects it to be a struct/object.
Steps to Reproduce
- Update Claude Code to latest version (model:
claude-opus-4-6[1m])
- Have ccline v1.1.2 configured as the statusline
- Start a Claude Code session → statusline is blank / not rendered
Environment
- ccline version: 1.1.2
- Platform: Windows 11
- Claude Code model:
claude-opus-4-6 (Opus 4.6, 1M context)
Expected Behavior
ccline should gracefully handle the model field as either a string or a struct, and display the model name correctly.
Description
After updating Claude Code to Opus 4.6 (
claude-opus-4-6), ccline v1.1.2 crashes on startup with a deserialization error. The statusline no longer renders.Error
Cause
It appears Claude Code now sends the
modelfield as a plain string (e.g."claude-opus-4-6") in the statusline JSON, whereas ccline expects it to be a struct/object.Steps to Reproduce
claude-opus-4-6[1m])Environment
claude-opus-4-6(Opus 4.6, 1M context)Expected Behavior
ccline should gracefully handle the model field as either a string or a struct, and display the model name correctly.