Acknowledge serialized MCP browser commands - #156
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3d40267a-0b85-4e25-a99e-e61fd1a5c5f7
This was referenced Aug 11, 2026
Merged
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
Adds the Ascii-Motion browser companion for #153 and the shared targeted cell-batch support needed by #152.
set_cells_batchto an exact active-layer content-frame entry, including inactive entries, while keepingcanvasStoresynchronized for the installed frametimelineStore.setFrameRate(fps, false)and reflows legacy frame-duration sequencesWire contract
Server to browser:
Browser to server:
Acknowledged requests execute and emit results strictly FIFO, including async handlers. Supported command payloads added here are:
Dependency
This is the browser half of the cross-repository #153 fix. It can merge independently, but acknowledged live mutations require the pending
CameronFoxly/ascii-motion-mcp#153 companion PR to emitcommand_requestand awaitcommand_resultusing the exact contract above. The targetedset_cells_batch.frameIndexbehavior is also the shared browser primitive for the ascii-motion-mcp #152 image-import companion; no import-specific browser command is introduced.The navigation-specific atomic completion required by #154 is intentionally excluded and will be added in a stacked browser companion using this dispatcher's async
executeCommandextension point.Refs #153
Refs #152
Validation
npm test -- --run src/__tests__/mcpClient.test.ts src/__tests__/sessionMigration.test.ts src/__tests__/phase6Integration.test.ts(58 tests)npm run build