Repository navigation
feat(macos): add realtime Talk relay - #119321
vincentkoc wants to merge 15 commits into
Conversation
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: blocked before merge. Reviewed October 2, 2026, 8:46 PM ET / October 3, 2026, 00:46 UTC (Revision 18). ClawSweeper reviewWhat this changesAdds opt-in macOS realtime voice conversations through the Gateway, shares the Apple relay session with iOS, and updates lifecycle handling, settings, translations, tests, and documentation. Merge readiness⛔ Blocked before merge - 5 items remain Keep open for an explicit maintainer disposition: the central capability already landed through #128204, but MEMBER authorship and the protected maintainer label prevent automated closure. Two source-backed blockers remain in this branch. Priority: P2 Review scores
Verification
How this fits togetherApple Talk clients capture microphone audio and exchange it with a Gateway-owned voice session. The shared relay handles transcripts, agent requests, playback, and session teardown while each platform owns its audio devices. flowchart LR
A[Local Talk preference] --> C[Native Talk runtime]
B[Gateway voice configuration] --> C
C --> D[Shared Apple relay]
E[Microphone capture] --> D
D --> F[Gateway voice session]
F --> D
D --> G[Speaker playback and transcripts]
Decision needed
Why: The central capability is landed, but this protected maintainer-authored branch requires an explicit disposition of its remaining settings and localization work. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceDocs +10, Other +2748. Total +2758 across 43 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the canonical relay already on main and preserve only demonstrably unique, still-needed settings or localization work in a focused follow-up. Do we have a high-confidence way to reproduce the issue? Yes, source establishes both branch defects: microphone frames return before barge-in during playback, and unrounded Mac timestamps reach integer-only provider truncation. Neither was executed in this read-only review. Is this the best way to solve the issue? No, this broader branch is no longer the best integration path: the canonical relay is merged and includes stronger route and lifecycle handling. Any unique remainder should build on that implementation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 2fce08dfd775. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (17 earlier review cycles; latest 8 shown)
|
d1d38f9 to
a5bc302
Compare
b7063f6 to
751329c
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
a5bc302 to
3fb3668
Compare
751329c to
098f5d2
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
3fb3668 to
cb51356
Compare
098f5d2 to
b0e1b36
Compare
f59272d to
cad6aa8
Compare
d74b40c to
1829fff
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Thanks for the PR. We're closing older pull requests that have gone stale against current The central macOS realtime Talk capability already landed through #128204, and this draft has had no commits since August 5. If this change is still needed, please open a fresh PR against current |
What Problem This Solves
macOS Talk could not use the Gateway-owned realtime relay, so native microphone and playback sessions could not share the canonical Talk lifecycle, agent consult ownership, or GPT-Live path. Earlier prototype behavior also hid startup and microphone recovery failures.
Why This Change Was Made
This adds a macOS realtime relay built on a shared
OpenClawKitsession used by Apple clients. The native runtime owns microphone capture and playback; the Gateway remains the canonical Talk and agent-work owner. Startup failure, reconnect, pause/resume, audio teardown, stale generation, and device-recovery paths have explicit lifecycle outcomes.The relay is deliberately default-off. It requires both the local Settings > Voice & Talk > Use Gateway realtime relay toggle and the exact Gateway realtime tuple. Existing users remain on native Talk until they opt in; there is no automatic migration.
User Impact
Operators can explicitly opt macOS Talk into the Gateway realtime relay and use native microphone/playback with the same durable agent-consult behavior as other Talk clients. Failures are surfaced instead of flashing or silently leaving stale state.
Evidence
1829fffb4e7ac0e39028e5b5efbbd71a8f6836e1, based onmain1f3d45b76f51298699423b8a3331b42b6d51b962.OpenClawKitrelay lifecycle tests: 17 passed.git diff --checkand private-data scan: clean.Stack
Depends on #119212. The initial integration preserves Zhilong Zheng's contributor credit.
Punchcard-Session: calm-cedar-river-aa