Shell 15: fluxer-core status payload gaps and companion control #807

Closed
opened 2026-11-17 23:02:53 +00:00 by charles · 0 comments
Owner

Task 15 of the Desktop shell plan (docs/superpowers/plans/2026-11-17-desktop-shell.md, section "### Task 15:"). The plan on the shell branch is the source of truth; this copy is for reading.

Closes: — (#734 is closed by Task 31) Depends on: 6

Files:

  • Modify: crates/fluxer-core/src/selectors/voice_status.rs, crates/fluxer-core/src/shell/mod.rs (a companion.rs), README · Test: crates/fluxer-core/tests/voice_status.rs (extended), shell_companion.rs

Interfaces:

  • Produces (#734, against feat/platform/utils/DesktopVoiceStatusBridge.ts:65-144): self_video / self_stream from the local switches; the local participant's camera_on / streaming from the switches before the echo; avatar_url for a default avatar as AvatarRef::Default(index) resolved by the server task into a loopback URL (the selector takes the base as a parameter, no I/O).

  • CompanionOp::{SetMute(bool), SetDeaf(bool), ToggleMute, ToggleDeaf, Disconnect} → the existing actions, only when ShellSettings::status_api_control; otherwise ignored; companion_section(app) gains the switch "Let companion apps control your voice" (new string) and the port warning "The status API can't start because another program is using port {port}." (DesktopStatusApiSection.tsx).

  • Step 1: failing tests: self_stream_follows_local_share, local_camera_and_stream_before_echo, default_avatar_gets_local_url, control_ops_only_when_enabled, set_mute_is_idempotent, port_warning_shown_when_bind_failed.

  • Step 2–5: FAIL → implement → PASS → commit feat(core): status payload gaps and companion control.

Task 15 of the Desktop shell plan (`docs/superpowers/plans/2026-11-17-desktop-shell.md`, section "### Task 15:"). The plan on the `shell` branch is the source of truth; this copy is for reading. **Closes:** — (#734 is closed by Task 31) **Depends on:** 6 **Files:** - Modify: `crates/fluxer-core/src/selectors/voice_status.rs`, `crates/fluxer-core/src/shell/mod.rs` (a `companion.rs`), README · Test: `crates/fluxer-core/tests/voice_status.rs` (extended), `shell_companion.rs` **Interfaces:** - Produces (#734, against `feat/platform/utils/DesktopVoiceStatusBridge.ts:65-144`): `self_video` / `self_stream` from the local switches; the local participant's `camera_on` / `streaming` from the switches before the echo; `avatar_url` for a default avatar as `AvatarRef::Default(index)` resolved by the server task into a loopback URL (the selector takes the base as a parameter, no I/O). - `CompanionOp::{SetMute(bool), SetDeaf(bool), ToggleMute, ToggleDeaf, Disconnect}` → the existing actions, only when `ShellSettings::status_api_control`; otherwise ignored; `companion_section(app)` gains the switch "Let companion apps control your voice" (new string) and the port warning "The status API can't start because another program is using port {port}." (`DesktopStatusApiSection.tsx`). - [ ] **Step 1: failing tests**: `self_stream_follows_local_share`, `local_camera_and_stream_before_echo`, `default_avatar_gets_local_url`, `control_ops_only_when_enabled`, `set_mute_is_idempotent`, `port_warning_shown_when_bind_failed`. - [ ] **Step 2–5:** FAIL → implement → PASS → commit `feat(core): status payload gaps and companion control`.
charles added this to the Desktop shell milestone 2026-11-17 23:02:53 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#807
No description provided.