Skip to content

Gateway protocol parity with openclaw — one ecosystem of clients and tools #46

Open

Description

@melvincarvalho

Umbrella issue. jsclaw adopted openclaw's frame shape (req/res/event) and a handful of methods, and #45 proved the payoff is real: openclaw's pi-tui client already targets a jsclaw gateway and fails only on the auth handshake. Full protocol parity means every openclaw client, dashboard, and automation tool works against jsclaw unchanged — we share an ecosystem instead of growing a parallel one.

Scope

  • Auth handshake: accept openclaw's post-connect connect frame (password) alongside our ?token= upgrade param (openclaw client compatibility: run 'openclaw tui' against the jsclaw gateway #45 item 1)
  • Method namespaces: implement or gracefully stub the openclaw gateway surface — known so far from the TUI client: chat.send|history|abort, agents.list, sessions.list|reset|patch, models.list, commands.list; inventory the rest from openclaw's protocol schema (cron., approvals., …) and classify each: implement / stub / document-as-unsupported
  • Event shapes: verify our agent.output / hello against what openclaw clients actually consume (capture a real openclaw session with a logging proxy; implement against the recording)
  • Addressing: openclaw speaks sessionKey, jsclaw speaks agentId — accept both, document the mapping
  • Compatibility matrix in the README/docs: which openclaw clients work, which methods are stubs

Milestones

  1. openclaw tui connects and chats (openclaw client compatibility: run 'openclaw tui' against the jsclaw gateway #45)
  2. openclaw tui full feature set (history, abort, model display, sessions)
  3. Protocol doc + compatibility matrix published
  4. Stretch: jsclaw gateway passes whatever conformance checks openclaw's own clients rely on

Related: #44 (channels), #45 (first client milestone), jsclaw/docs#1 (ladder rungs become demonstrable via shared clients).

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