Skip to content

WebSocket server drops binary frames #162

Description

@ayushin

agent-client-protocol 1.0.0rc2.

The WebSocket server transport ignores binary frames: receive() in acp/ws/server.py skips any event without text. A client that sends newline-delimited JSON as binary frames (the TypeScript SDK's ndjson stream over a WebSocket bridge does this) never gets an answer to initialize.

Expected: accept binary frames as UTF-8 newline-delimited JSON as well, possibly several records per frame.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions