Conversation
Fix 6 bugs across Chrome and Firefox builds - Trace tool events now carry their step number (thread `steps` through _executeToolBatch to recordToolCall) instead of recording null. - _emergencyTrim: drop leading orphaned `tool` messages so the overflow recovery retry does not re-send a conversation the OpenAI/Anthropic APIs reject, which previously killed the run instead of recovering. - Offscreen recorder: release tab/mic streams + close AudioContext if start() throws before `session` is assigned (was leaving the tab captured + muted with no way to recover). - Offscreen recorder: stop() short-circuits an already-inactive recorder and adds a 5s timeout so a wedged recorder can no longer hang the stop message and stick the recording banner. - Markdown rendering: restore inline/fenced code via function replacers so `$&`, `$\`` etc. in code snippets are no longer interpreted by String.replace and corrupting the output. - HLS implicit IV: replace BigInt(seq | 0) (signed 32-bit truncation → all-zero IV for sequences >= 2^31) with a safe non-negative coercion, fixing AES-128 segment decryption on long live streams. Applied to all three byte-identical downloader copies; added a regression test. Also marked TODOs #3 (resolved) and #10 (already implemented). 242/242 tests pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> @
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
esokullu
added a commit
that referenced
this pull request
Jul 14, 2026
…uidance Fix Gmail whole-draft replacement guidance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A bug-hunting pass (full test suite + parallel deep-review across every major subsystem) that fixes 6 distinct real bugs, each in both the Chrome and Firefox builds where applicable.
_executeToolBatchpassednulltorecordToolCall)_emergencyTrimcould emit an orphanedtoolmessage (slice starts mid-turn)start()threw beforesessionwas setstop()awaited thestopevent with no timeoutString.replace(str, str)interpreted$&/$`/$'in snippetsBigInt(seq | 0)truncated to signed 32-bitNotes
extraBodygap was already implemented) updated to match reality.🤖 Generated with Claude Code