@hyperframes/studio 0.9.52 → 0.9.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/assets/{hyperframes-player-D7LhzIg1.js → hyperframes-player-Oju91F6x.js} +2 -2
  2. package/dist/assets/{index-D3WxJaqm.js → index-B0VEzzD2.js} +180 -180
  3. package/dist/assets/index-Dv67Vrl6.js +74 -0
  4. package/dist/assets/{index-CQ7o0CBU.js → index-XEm_N45R.js} +1 -1
  5. package/dist/assets/{pausedVideoDecoder-BVUmBgn0.js → pausedVideoDecoder-p6zibxVM.js} +1 -1
  6. package/dist/{chunk-F6EHWNZU.js → chunk-K3IOYISK.js} +121 -94
  7. package/dist/{chunk-VHV2ZDKY.js → chunk-OOGQ5KCC.js} +7 -0
  8. package/dist/{chunk-GVW7AU57.js → chunk-UM4CLD4M.js} +1 -1
  9. package/dist/chunk-USW3YBOG.js +70 -0
  10. package/dist/{domEditingLayers-SA5KLSSS.js → domEditingLayers-IHYA42AJ.js} +2 -2
  11. package/dist/index.d.ts +14 -7
  12. package/dist/index.html +1 -1
  13. package/dist/index.js +110 -98
  14. package/dist/keys.d.ts +72 -1
  15. package/dist/keys.js +5 -4
  16. package/dist/player.d.ts +1 -0
  17. package/dist/player.js +2 -2
  18. package/package.json +9 -9
  19. package/src/captions/keyboard.ts +1 -1
  20. package/src/components/RightPanelTabs.test.tsx +1 -1
  21. package/src/components/StudioHeader.dom.test.tsx +1 -1
  22. package/src/components/TimelineHistoryButtons.dom.test.tsx +1 -1
  23. package/src/components/TimelineToolbar.tsx +1 -1
  24. package/src/components/editor/SnapToolbar.tsx +1 -1
  25. package/src/components/editor/gsapLivePreview.test.ts +19 -0
  26. package/src/components/editor/gsapLivePreview.ts +2 -0
  27. package/src/components/editor/manualEditingAvailability.ts +7 -0
  28. package/src/components/editor/useDomEditNudge.ts +1 -1
  29. package/src/components/nle/NLEPreview.test.ts +25 -0
  30. package/src/components/nle/NLEPreview.tsx +5 -0
  31. package/src/components/nle/PreviewPane.tsx +2 -0
  32. package/src/components/panels/SlideshowPanel.tsx +1 -1
  33. package/src/components/renders/RenderQueue.test.tsx +1 -1
  34. package/src/components/sidebar/CompositionsTab.tsx +4 -8
  35. package/src/components/ui/Button.test.tsx +1 -1
  36. package/src/components/ui/Menu.test.tsx +1 -1
  37. package/src/components/ui/valueControls.test.tsx +1 -1
  38. package/src/hooks/appHotkeysDispatch.ts +1 -1
  39. package/src/hooks/gsapParsedTween.test.ts +19 -0
  40. package/src/hooks/gsapParsedTween.ts +3 -1
  41. package/src/hooks/linkShortcuts.ts +1 -1
  42. package/src/hooks/useAutomationSelectionKeyboard.ts +1 -1
  43. package/src/hooks/useConsoleErrorCapture.test.tsx +69 -1
  44. package/src/hooks/useConsoleErrorCapture.ts +47 -11
  45. package/src/hooks/useKeyframeKeyboard.ts +1 -1
  46. package/src/index.ts +3 -2
  47. package/src/keys.test.ts +5 -7
  48. package/src/keys.ts +1 -6
  49. package/src/player/components/Player.test.ts +49 -0
  50. package/src/player/components/Player.tsx +13 -4
  51. package/src/player/components/ShortcutsPanel.tsx +1 -1
  52. package/src/player/components/studioCombo.test.ts +1 -1
  53. package/src/player/components/studioShortcuts.ts +1 -1
  54. package/src/player/lib/frameToken.ts +20 -0
  55. package/src/player/lib/playbackShortcuts.ts +3 -28
  56. package/src/player/lib/previewChannel.ts +10 -0
  57. package/src/utils/studioHelpers.ts +1 -1
  58. package/src/utils/studioPendingEdits.ts +1 -1
  59. package/src/utils/timelineDiscovery.ts +1 -1
  60. package/src/utils/typingTarget.test.ts +1 -1
  61. package/src/webmcp/polyfill.transport.test.ts +13 -3
  62. package/src/webmcp/types.ts +3 -3
  63. package/src/webmcp/useStudioAgentTools.polyfill.test.tsx +89 -121
  64. package/src/webmcp/useStudioAgentTools.test.tsx +2 -2
  65. package/src/webmcp/useStudioAgentTools.ts +2 -3
  66. package/dist/assets/index-BX3KHhGX.js +0 -71
  67. package/dist/chunk-5ZHKYODQ.js +0 -149
  68. package/dist/keys-B163OjLN.d.ts +0 -87
  69. package/src/player/components/studioCombo.ts +0 -108
  70. package/src/utils/typingTarget.ts +0 -56
@@ -26,7 +26,7 @@ async function executeRegistered<T>(
26
26
  return (await tool.execute(input, { signal })) as T;
27
27
  }
28
28
 
29
- /** The call shape `@mcp-b/global` uses: the input and nothing else. */
29
+ /** The call shape `@mcp-b/global` used before 6.0: the input and nothing else. */
30
30
  async function executeRegisteredWithoutOptions<T>(
31
31
  registered: ModelContextTool[],
32
32
  name: string,
@@ -362,7 +362,7 @@ describe("useStudioAgentTools", () => {
362
362
  });
363
363
 
364
364
  it("runs every write tool when execute is called with the input alone", async () => {
365
- // `@mcp-b/global` invokes `execute(input)` with no options object, both from
365
+ // `@mcp-b/global` before 6.0 invoked `execute(input)` with no options object, both from
366
366
  // its in-page server and from the descriptor it mirrors into a native
367
367
  // `document.modelContext`. Handlers that destructured `{ signal }` threw a
368
368
  // TypeError before running, which `runToolBody` reports as `internal`.
@@ -117,9 +117,8 @@ export function buildStudioTools(depsRef: {
117
117
  /**
118
118
  * `execute` for a tool whose handler takes the caller's abort signal.
119
119
  *
120
- * The spec shape is `execute(input, { signal })`, but `@mcp-b/global` (5.0.1
121
- * through 5.1.0; the polyfill chunk is byte-identical across them) invokes a
122
- * registered `execute` with the input ALONE, both from its in-page
120
+ * The spec shape is `execute(input, { signal })`, but `@mcp-b/global` before
121
+ * 6.0 invoked a registered `execute` with the input ALONE, both from its in-page
123
122
  * `BrowserMcpServer` wrapper and from the descriptor it mirrors into a native
124
123
  * `document.modelContext`. A handler that destructures its second argument
125
124
  * throws before it runs, so every write tool failed with "Cannot destructure