rowboat/apps/x/packages/core/src
Ramnique Singh fa6943e905 feat(x): llm_usage analytics for turn model calls + voice-output parity
Analytics: the new runtime emitted usage into durable events but never
reported it to PostHog (only the permission classifier self-reported).
New IUsageReporter seam on the turn loop — invoked once per completed
model call, after the durable append, failure-isolated. The real bridge
emits the same llm_usage event as the old loop; useCase/subUseCase come
from the AsyncLocalStorage context the stage-6 headless runners already
establish via withUseCase, defaulting to copilot_chat for UI-driven
session turns (matching the old createRun default). Capturing at the
loop covers ALL turns — the session bus never sees headless ones.

Voice: the new renderer path rendered <voice> tags literally and never
fired TTS. The live overlay now extracts completed <voice> blocks
(robust to tags split across deltas) into chatState.voiceSegments;
App speaks new segments via the existing useVoiceTTS when voice output
is on, skipping segments streamed before a session became active. Tags
are stripped from both the streaming message and persisted assistant
messages, mirroring the legacy display-time strip.

Tests: usage report assertion in the runtime suite; four voice tests
(split-delta extraction, per-call scan reset, state stripping+segments,
persisted-message stripping).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 14:20:44 +05:30
..
account use rowboat model gateway when logged in 2026-03-12 23:29:42 +05:30
agent-schedule feat(x): stage 6 — migrate headless callers to the turn runtime 2026-07-02 14:20:44 +05:30
agents feat(x): stage 6 — migrate headless callers to the turn runtime 2026-07-02 14:20:44 +05:30
analytics Meeting prep: attendee notes + proactive 6h-ahead prep briefs (#636) 2026-07-02 00:35:35 +05:30
application fix: suppress notification spam on app re-open (#623) 2026-06-24 01:36:06 +05:30
auth Drive (#583) 2026-06-23 03:13:58 +05:30
background-tasks feat(x): stage 6 — migrate headless callers to the turn runtime 2026-07-02 14:20:44 +05:30
billing feat(billing): consume plan variant catalog 2026-06-19 16:52:22 +05:30
code-mode fix codex unresponsive 2026-06-30 22:28:15 +05:30
composio feat: native google sign-in for signed-in users 2026-05-05 14:29:13 +05:30
config feat: add user-configurable notification settings (#601) 2026-06-11 19:43:26 +05:30
di feat(x): llm_usage analytics for turn model calls + voice-output parity 2026-07-02 14:20:44 +05:30
events send LLM use-case metadata through Rowboat gateway 2026-05-20 07:11:06 +05:30
filesystem Refactor builtin file tools beyond workspace scope 2026-05-25 16:21:51 +05:30
knowledge feat(x): stage 6 — migrate headless callers to the turn runtime 2026-07-02 14:20:44 +05:30
local-sites Iframe (#502) 2026-04-18 12:10:40 +05:30
mcp remove default exa server 2026-03-19 18:46:08 +05:30
migrations feat: native google sign-in for signed-in users 2026-05-05 14:29:13 +05:30
models fix(onboarding): filter non-chat models from provider list using models.dev 2026-06-22 12:49:48 +05:30
pre_built feat(x): stage 6 — migrate headless callers to the turn runtime 2026-07-02 14:20:44 +05:30
runs Show previous chats related to the workspace in the workspace section. 2026-06-29 12:27:43 +05:30
schedule feat: background tasks 2026-05-12 17:43:25 +05:30
search Add global search across knowledge and chats 2026-02-18 18:08:24 +05:30
security Add run-level auto permission mode 2026-06-03 07:58:04 +05:30
services code clean up 2026-02-06 23:17:32 +05:30
sessions feat(x): agent snapshot inheritance, session inspection, runtime docs 2026-07-02 14:20:44 +05:30
slack feat: ship Slack as a knowledge source, hardened for production (#596) 2026-06-17 12:52:27 -07:00
turns feat(x): llm_usage analytics for turn model calls + voice-output parity 2026-07-02 14:20:44 +05:30
voice fix workdir everywhere (#475) 2026-04-10 10:40:46 +05:30
workspace add code mode: coding-agent workspace with sessions, direct/Rowboat drive, diffs, and worktrees 2026-06-12 23:57:44 +05:30
index.ts voice mode with TTS input/output 2026-03-13 10:39:05 +05:30