Skip to content

feat(relay): typed stream event passthrough - #120

Merged
Codename-11 merged 3 commits into
devfrom
feat/typed-stream-events
Jun 23, 2026
Merged

Codename-11 merged 3 commits into
devfrom
feat/typed-stream-events

Conversation

@Codename-11

@Codename-11 Codename-11 commented Jun 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • add Relay chat stream.event passthrough behind supports.typed_stream_events / schema v1 capability negotiation
  • preserve legacy chat text/tool fallback for older clients
  • document the typed stream protocol, schema/versioning, event families, no-resume v1 semantics, and add a golden JSONL stream fixture
  • add Android typed event model/handler coverage and advertise support from Android/Desktop auth
  • bump Android modules to compileSdk 37 so current AndroidX/Markdown deps pass AAR metadata without changing targetSdk

Verification

  • PYTHONPATH=$PWD python -m unittest discover -s plugin/tests -p test_chat_typed_stream.py
  • python -m py_compile plugin/relay/channels/chat.py plugin/relay/server.py plugin/tests/test_chat_typed_stream.py
  • cd desktop && npm ci && npm run type-check
  • Manual local relay smoke: aiohttp fake Hermes API-server SSE -> Relay WSS paired typed client; observed ordered stream.event events for session/message/assistant/tool.failed/done and legacy chat.session session notice.
  • PR CI: plugin tests, Python syntax, Desktop type-check/build, Android test/build/lint, tray checks, route contract, and claude-review are green.

Known follow-up

@Codename-11
Codename-11 force-pushed the feat/typed-stream-events branch from c2affa7 to 206d182 Compare June 23, 2026 00:16
@Codename-11
Codename-11 merged commit 0dfc581 into dev Jun 23, 2026
15 checks passed
@Codename-11
Codename-11 deleted the feat/typed-stream-events branch June 23, 2026 00:55
Codename-11 added a commit that referenced this pull request Jun 23, 2026
…m events)

Catch up the local 1.2.2 work with origin/dev, which moved to compileSdk 37
(206d182) and added typed stream.event passthrough (PR #120). Dropped the
local markdown-renderer 0.41.0 / lifecycle 2.10.0 pins (a compileSdk-36
workaround) for compileSdk 37 + the 0.42.0 / 2.11.0 deps origin adopted.
Kept the 1.2.2 version bump (code 16) and all feature/fix work; both
2026-06-22 DEVLOG entries retained.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant