Text chat 21: apps/fluxer text chat runtime wiring #271

Closed
opened 2026-11-12 11:07:42 +00:00 by charles · 0 comments
Owner

Plan: docs/superpowers/plans/2026-11-12-textchat.md, section "Task 21". Spec: docs/superpowers/specs/2026-11-12-fluxer-native-textchat-design.md.

Task 21: apps/fluxer text chat runtime wiring

Issue: #TBD

Files:

  • Create: apps/fluxer/src/{upload_rt.rs,desktop_rt.rs}
  • Modify: apps/fluxer/src/{runtime.rs,record.rs,main.rs,audio_rt.rs}, apps/fluxer/Cargo.toml, crates/fluxer-audio/src/clip.rs if attachment clips need a longer limit (serialised with this task)
  • Test: apps/fluxer/tests/textchat_runtime.rs

Interfaces:

  • Consumes: Text chat 5, 6, 7, 10, 12; the devserver textchat scenario.

  • Produces: execution of every new ApiRequest; Effect::Upload → upload_rt (multipart with progress events throttled to 100 ms, or presigned with 4 parallel parts, 4 attempts, 500–8000 ms backoff; cancellation); Effect::Clipboard (text via iced, images via ArboardClipboard); Effect::OpenFileDialog → RfdDialogs → CoreEvent::Files; PlaybackSource::Attachment fetch + play; SaveAttachment download + write; injects Dialogs and ClipboardImages into fluxer_ui::run; --record redacts upload URLs, signed attachment URLs and paths.

  • Step 1: Write failing tests (devserver + fakes): send_with_two_files_multipart_progress_and_done, presigned_scenario_uploads_parts, cancel_aborts_upload, react_round_trip_through_gateway, search_indexing_then_results, play_audio_attachment_reaches_mixer, record_mode_never_contains_upload_or_signed_urls, clipboard_text_effect_executes (fake clipboard).

  • Step 2–5: FAIL → implement → PASS → commit feat(app): text chat runtime.


Phase 3 — UI

Every UI task: clone the fork component named in spec §3.2–§3.8/§9, add the Phosphor icons it needs through theme::icons, a headless model test, and a screenshot test (Linux) against the devserver textchat scenario's data. PRs attach the screenshot next to a reference from the Electron app where available; otherwise state which fork component and CSS file the dimensions came from. Strings are the original's.

🤖 Generated with Claude Code

Plan: `docs/superpowers/plans/2026-11-12-textchat.md`, section "Task 21". Spec: `docs/superpowers/specs/2026-11-12-fluxer-native-textchat-design.md`. ### Task 21: `apps/fluxer` text chat runtime wiring **Issue:** #TBD **Files:** - Create: `apps/fluxer/src/{upload_rt.rs,desktop_rt.rs}` - Modify: `apps/fluxer/src/{runtime.rs,record.rs,main.rs,audio_rt.rs}`, `apps/fluxer/Cargo.toml`, `crates/fluxer-audio/src/clip.rs` if attachment clips need a longer limit (serialised with this task) - Test: `apps/fluxer/tests/textchat_runtime.rs` **Interfaces:** - Consumes: Text chat 5, 6, 7, 10, 12; the devserver `textchat` scenario. - Produces: execution of every new `ApiRequest`; `Effect::Upload` → `upload_rt` (multipart with progress events throttled to 100 ms, or presigned with 4 parallel parts, 4 attempts, 500–8000 ms backoff; cancellation); `Effect::Clipboard` (text via iced, images via `ArboardClipboard`); `Effect::OpenFileDialog` → `RfdDialogs` → `CoreEvent::Files`; `PlaybackSource::Attachment` fetch + play; `SaveAttachment` download + write; injects `Dialogs` and `ClipboardImages` into `fluxer_ui::run`; `--record` redacts upload URLs, signed attachment URLs and paths. - [ ] **Step 1: Write failing tests** (devserver + fakes): `send_with_two_files_multipart_progress_and_done`, `presigned_scenario_uploads_parts`, `cancel_aborts_upload`, `react_round_trip_through_gateway`, `search_indexing_then_results`, `play_audio_attachment_reaches_mixer`, `record_mode_never_contains_upload_or_signed_urls`, `clipboard_text_effect_executes` (fake clipboard). - [ ] **Step 2–5:** FAIL → implement → PASS → commit `feat(app): text chat runtime`. --- ## Phase 3 — UI Every UI task: clone the fork component named in spec §3.2–§3.8/§9, add the Phosphor icons it needs through `theme::icons`, a headless model test, and a screenshot test (Linux) against the devserver `textchat` scenario's data. PRs attach the screenshot next to a reference from the Electron app where available; otherwise state which fork component and CSS file the dimensions came from. Strings are the original's. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
charles added this to the Text chat milestone 2026-11-12 11:07:42 +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#271
No description provided.