@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.
- package/dist/assets/{hyperframes-player-D7LhzIg1.js → hyperframes-player-Oju91F6x.js} +2 -2
- package/dist/assets/{index-D3WxJaqm.js → index-B0VEzzD2.js} +180 -180
- package/dist/assets/index-Dv67Vrl6.js +74 -0
- package/dist/assets/{index-CQ7o0CBU.js → index-XEm_N45R.js} +1 -1
- package/dist/assets/{pausedVideoDecoder-BVUmBgn0.js → pausedVideoDecoder-p6zibxVM.js} +1 -1
- package/dist/{chunk-F6EHWNZU.js → chunk-K3IOYISK.js} +121 -94
- package/dist/{chunk-VHV2ZDKY.js → chunk-OOGQ5KCC.js} +7 -0
- package/dist/{chunk-GVW7AU57.js → chunk-UM4CLD4M.js} +1 -1
- package/dist/chunk-USW3YBOG.js +70 -0
- package/dist/{domEditingLayers-SA5KLSSS.js → domEditingLayers-IHYA42AJ.js} +2 -2
- package/dist/index.d.ts +14 -7
- package/dist/index.html +1 -1
- package/dist/index.js +110 -98
- package/dist/keys.d.ts +72 -1
- package/dist/keys.js +5 -4
- package/dist/player.d.ts +1 -0
- package/dist/player.js +2 -2
- package/package.json +9 -9
- package/src/captions/keyboard.ts +1 -1
- package/src/components/RightPanelTabs.test.tsx +1 -1
- package/src/components/StudioHeader.dom.test.tsx +1 -1
- package/src/components/TimelineHistoryButtons.dom.test.tsx +1 -1
- package/src/components/TimelineToolbar.tsx +1 -1
- package/src/components/editor/SnapToolbar.tsx +1 -1
- package/src/components/editor/gsapLivePreview.test.ts +19 -0
- package/src/components/editor/gsapLivePreview.ts +2 -0
- package/src/components/editor/manualEditingAvailability.ts +7 -0
- package/src/components/editor/useDomEditNudge.ts +1 -1
- package/src/components/nle/NLEPreview.test.ts +25 -0
- package/src/components/nle/NLEPreview.tsx +5 -0
- package/src/components/nle/PreviewPane.tsx +2 -0
- package/src/components/panels/SlideshowPanel.tsx +1 -1
- package/src/components/renders/RenderQueue.test.tsx +1 -1
- package/src/components/sidebar/CompositionsTab.tsx +4 -8
- package/src/components/ui/Button.test.tsx +1 -1
- package/src/components/ui/Menu.test.tsx +1 -1
- package/src/components/ui/valueControls.test.tsx +1 -1
- package/src/hooks/appHotkeysDispatch.ts +1 -1
- package/src/hooks/gsapParsedTween.test.ts +19 -0
- package/src/hooks/gsapParsedTween.ts +3 -1
- package/src/hooks/linkShortcuts.ts +1 -1
- package/src/hooks/useAutomationSelectionKeyboard.ts +1 -1
- package/src/hooks/useConsoleErrorCapture.test.tsx +69 -1
- package/src/hooks/useConsoleErrorCapture.ts +47 -11
- package/src/hooks/useKeyframeKeyboard.ts +1 -1
- package/src/index.ts +3 -2
- package/src/keys.test.ts +5 -7
- package/src/keys.ts +1 -6
- package/src/player/components/Player.test.ts +49 -0
- package/src/player/components/Player.tsx +13 -4
- package/src/player/components/ShortcutsPanel.tsx +1 -1
- package/src/player/components/studioCombo.test.ts +1 -1
- package/src/player/components/studioShortcuts.ts +1 -1
- package/src/player/lib/frameToken.ts +20 -0
- package/src/player/lib/playbackShortcuts.ts +3 -28
- package/src/player/lib/previewChannel.ts +10 -0
- package/src/utils/studioHelpers.ts +1 -1
- package/src/utils/studioPendingEdits.ts +1 -1
- package/src/utils/timelineDiscovery.ts +1 -1
- package/src/utils/typingTarget.test.ts +1 -1
- package/src/webmcp/polyfill.transport.test.ts +13 -3
- package/src/webmcp/types.ts +3 -3
- package/src/webmcp/useStudioAgentTools.polyfill.test.tsx +89 -121
- package/src/webmcp/useStudioAgentTools.test.tsx +2 -2
- package/src/webmcp/useStudioAgentTools.ts +2 -3
- package/dist/assets/index-BX3KHhGX.js +0 -71
- package/dist/chunk-5ZHKYODQ.js +0 -149
- package/dist/keys-B163OjLN.d.ts +0 -87
- package/src/player/components/studioCombo.ts +0 -108
- 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`
|
|
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`
|
|
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`
|
|
121
|
-
*
|
|
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
|