Recording submits at stop; composer edits the report by token
An MV3 service worker is killed after ~30 s of idle time, so parking the
recording buffer in background memory (pending + 10-min auto-save timer)
was unreliable: the timer never fired and Save could hit a restarted
worker with an empty buffer. Now recorderStop uploads the media, submits
the report with the auto-title right away, and only then opens the
composer. Save patches title/description (PATCH /api/reports/{token}),
Discard deletes the report — both are token-based and survive worker
restarts. recorder_submit is replaced by recorder_edit/recorder_discard
{token}.

Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent 0eefc92 commit 6dc12ac37b512a58300545937436832ea5ea7b10
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 5 hours ago
Showing 8 changed files
View
packages/extension/e2e.mjs
View
packages/extension/src/background/api.ts
View
packages/extension/src/background/index.ts
View
packages/extension/src/content/index.ts
View
packages/extension/src/content/overlay/App.vue
View
packages/extension/src/content/overlay/RecordingComposer.vue
View
packages/extension/src/content/overlay/mount.ts
View
packages/extension/src/lib/messages.ts