Uh oh!
There was an error while loading. Please reload this page.
Improve LogViewer mobile scrolling - #161
Conversation
🤖 My Senior Dev — Analysis Complete👤 For @khaliqgant📁 Expert in View your contributor analytics → 📊 1 file reviewed • 1 high risk • 1 need attention
🚀 Open Interactive Review →The full interface unlocks features not available in GitHub:
💬 Chat here: 📖 View all 12 personas & slash commandsYou can interact with me by mentioning In PR comments or on any line of code:
Slash commands:
AI Personas (mention to get their perspective):
For the best experience, view this PR on myseniordev.com — includes AI chat, file annotations, and interactive reviews. |
Uh oh!
There was an error while loading. Please reload this page.
Server-side telemetry on the relaycast backend recorded `harness: "unknown"` for 100% of events, even though the broker already detects the orchestrator harness (claude-code / codex / cursor / …) for its own PostHog events. The detected value was siloed in TelemetryClient and never forwarded to the relaycast SDK, so the `X-Relaycast-Harness` header (HTTP) and `?harness=` query (WS) were never sent and the backend defaulted to "unknown". Forwarding requires SDK >= 2.3.0 (`with_harness` was added in relaycast #161, published as 2.3.0). Bumping `=2.0.0` -> `=2.3.0` also pulls in the v8 event contract the gateway already emits, which is a net fix: the broker at 2.0.0 only recognized the pre-v8 `reaction.added` / `agent.online` event types, while the deployed gateway sends `message.reacted` / `agent.status.*` — so reactions and presence were being silently dropped. Changes: - Bump `relaycast` SDK `=2.0.0` -> `=2.3.0`. - Cache the detected harness in `telemetry::orchestrator_harness{,_opt}()` (process-tree detection walks parent PIDs; resolve once) and reuse it for both our PostHog events and the forwarded value. - Forward the harness at all three relaycast client sites: the WS handshake (`WsClientOptions::with_harness`) and both HTTP `build_relay_client` helpers (`RelayCastOptions::with_harness`). - Inject `AGENT_RELAY_HARNESS` into spawned-agent env via `spawn_env_vars` so JS-SDK agents (`@relaycast/sdk`, env-only harness resolution, no process-tree fallback) report it too. Threaded as a parameter for deterministic tests. - Update 3 stale bridge fixtures to the v8 event names the gateway emits (`message.reacted` with `action`, `agent.status.active`); fix `drops_reaction_without_channel` to exercise the no-channel drop rather than an unknown-type drop. Tests: 701 broker lib tests pass (+2 new harness env tests); clippy clean; fmt clean. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Summary\n- allow touch scroll gestures to reach the xterm viewport on coarse pointers\n- avoid canvas intercepting scroll on mobile devices\n\n## Testing\n- not run