Skip to content

CC stream-json parser warns on unrecognized 'user' event type #3167

@CKickertz

Description

@CKickertz

Summary

The CC subprocess stream-json parser logs warnings for event types it doesn't recognize:
```
hermeneus::cc::parse: failed to parse CC stream-json event
```

The Claude Code CLI emits `{"type":"user",...}` events in the stream that the parser doesn't handle. These should be silently ignored rather than logged as parse failures.

Environment

  • Claude Code 2.1.104
  • aletheia 0.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions