Skip to content

feat(room): add captureLanes? to HumanParticipant (type-only)#1300

Open
itskai-dev wants to merge 1 commit into
mainfrom
feat/room-capture-lanes-types
Open

feat(room): add captureLanes? to HumanParticipant (type-only)#1300
itskai-dev wants to merge 1 commit into
mainfrom
feat/room-capture-lanes-types

Conversation

@itskai-dev
Copy link
Copy Markdown
Collaborator

Summary

Forward-compat type-only addition for cloud's Capture Lanes v0 slice (https://github.com/reflectt/reflectt-cloud/pull/new/feat/room-capture-lanes-mic-cam).

Humans publish real mic/camera state via Realtime presence. The presence-state spread in recompute() passes the new field through unchanged — no logic changes needed in this slice. Reflectt-node will gain read-side surfacing (room/participants response, room_list_participants MCP tool) once the cloud side is shipping the data and we have a real consumer for it.

Field is optional on the wire so older cloud builds that don't publish lanes continue to validate against this type.

Test plan

  • Build succeeds (verified locally — npm run build clean)
  • Existing room-presence tests still pass
  • Once cloud PR merges and rolls to a managed host, confirm room_list_participants shows the field on humans whose tabs have a lane on

🤖 Generated with Claude Code

Forward-compat for cloud Capture Lanes v0 — humans publish real mic/camera
state via Realtime presence (on/off/denied; only when the browser actually
opens the device, not intent). Field is optional so existing cloud builds
that never publish lanes continue to validate.

The presence-state spread in recompute() passes the new field through
unchanged; no logic changes needed in this slice. Reflectt-node will gain
read-side surfacing (room/participants response, MCP tool) once the cloud
side is shipping the data.

Co-Authored-By: Claude Opus 4.7 <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