@remotion/studio-shared 4.0.507 → 4.0.508

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.
@@ -7,8 +7,10 @@ import type { EffectClipboardParam, EffectClipboardPasteType, EffectClipboardSna
7
7
  import type { PackageManager } from './package-manager';
8
8
  import type { ProjectInfo } from './project-info';
9
9
  import type { CompletedClientRender, RequiredChromiumOptions } from './render-job';
10
+ import type { SequenceNodePathMutation } from './sequence-node-path-mutation';
10
11
  import type { SymbolicatedStackFrame } from './stack-types';
11
12
  import type { EnumPath } from './stringify-default-props';
13
+ import type { TerminalId } from './terminal';
12
14
  type KeyframeEasing = Extract<CanUpdateSequencePropStatus, {
13
15
  status: 'keyframed';
14
16
  }>['easing'][number];
@@ -29,6 +31,13 @@ export type OpenInCodingAgentRequest = {
29
31
  export type OpenInCodingAgentResponse = {
30
32
  success: boolean;
31
33
  };
34
+ export type OpenInTerminalRequest = {
35
+ directory: string;
36
+ terminalId: TerminalId;
37
+ };
38
+ export type OpenInTerminalResponse = {
39
+ success: boolean;
40
+ };
32
41
  export type FindInFileRequest = {
33
42
  fileName: string;
34
43
  lineNumber: number;
@@ -409,6 +418,7 @@ export type ReorderSequenceRequest = {
409
418
  };
410
419
  export type ReorderSequenceResponse = {
411
420
  success: true;
421
+ nodePathMutation: SequenceNodePathMutation;
412
422
  } | {
413
423
  success: false;
414
424
  reason: string;
@@ -579,6 +589,7 @@ export type DeleteJsxNodeRequest = {
579
589
  };
580
590
  export type DeleteJsxNodeResponse = {
581
591
  success: true;
592
+ nodePathMutation: SequenceNodePathMutation;
582
593
  } | {
583
594
  success: false;
584
595
  reason: string;
@@ -590,6 +601,7 @@ export type DuplicateJsxNodeRequest = {
590
601
  };
591
602
  export type DuplicateJsxNodeResponse = {
592
603
  success: true;
604
+ nodePathMutation: SequenceNodePathMutation;
593
605
  } | {
594
606
  success: false;
595
607
  reason: string;
@@ -602,6 +614,7 @@ export type SplitJsxSequenceRequest = {
602
614
  };
603
615
  export type SplitJsxSequenceResponse = {
604
616
  success: true;
617
+ nodePathMutation: SequenceNodePathMutation;
605
618
  } | {
606
619
  success: false;
607
620
  reason: string;
@@ -656,6 +669,7 @@ export type InsertJsxElementRequest = {
656
669
  };
657
670
  export type InsertJsxElementResponse = {
658
671
  success: true;
672
+ nodePathMutation: SequenceNodePathMutation;
659
673
  } | {
660
674
  success: false;
661
675
  reason: string;
@@ -709,6 +723,7 @@ export type InsertElementFileConflict = {
709
723
  };
710
724
  export type InsertElementResponse = {
711
725
  success: true;
726
+ nodePathMutation: SequenceNodePathMutation;
712
727
  } | {
713
728
  success: false;
714
729
  type: 'file-conflict';
@@ -810,7 +825,10 @@ export type GetDefaultCodingAgentInfoResponse = {
810
825
  id: DefaultCodingAgent;
811
826
  name: string;
812
827
  nameWithType: string;
813
- iconDataUrl: string | null;
828
+ }[];
829
+ installedTerminals: {
830
+ id: TerminalId;
831
+ name: string;
814
832
  }[];
815
833
  };
816
834
  export type PackageInstallSpec = {
@@ -824,6 +842,7 @@ export type InstallPackageResponse = {};
824
842
  export type UndoRequest = {};
825
843
  export type UndoResponse = {
826
844
  success: true;
845
+ nodePathMutation: SequenceNodePathMutation | null;
827
846
  } | {
828
847
  success: false;
829
848
  reason: string;
@@ -831,6 +850,7 @@ export type UndoResponse = {
831
850
  export type RedoRequest = {};
832
851
  export type RedoResponse = {
833
852
  success: true;
853
+ nodePathMutation: SequenceNodePathMutation | null;
834
854
  } | {
835
855
  success: false;
836
856
  reason: string;
@@ -854,6 +874,7 @@ export type ApiRoutes = {
854
874
  '/api/default-coding-agent-info': ReqAndRes<GetDefaultCodingAgentInfoRequest, GetDefaultCodingAgentInfoResponse>;
855
875
  '/api/find-in-file': ReqAndRes<FindInFileRequest, FindInFileResponse>;
856
876
  '/api/open-in-file-explorer': ReqAndRes<OpenInFileExplorerRequest, void>;
877
+ '/api/open-in-terminal': ReqAndRes<OpenInTerminalRequest, OpenInTerminalResponse>;
857
878
  '/api/register-client-render': ReqAndRes<CompletedClientRender, void>;
858
879
  '/api/unregister-client-render': ReqAndRes<{
859
880
  id: string;
@@ -89,6 +89,17 @@ exports.EFFECT_CATALOG = [
89
89
  config: {},
90
90
  },
91
91
  },
92
+ {
93
+ id: 'effects-exposure',
94
+ category: 'Color',
95
+ label: 'exposure()',
96
+ description: 'Stop-based exposure adjustment',
97
+ effect: {
98
+ name: 'exposure',
99
+ importPath: '@remotion/effects/exposure',
100
+ config: {},
101
+ },
102
+ },
92
103
  {
93
104
  id: 'effects-grayscale',
94
105
  category: 'Color',
@@ -122,6 +133,17 @@ exports.EFFECT_CATALOG = [
122
133
  config: {},
123
134
  },
124
135
  },
136
+ {
137
+ id: 'effects-levels',
138
+ category: 'Color',
139
+ label: 'levels()',
140
+ description: 'Black point, white point, and gamma',
141
+ effect: {
142
+ name: 'levels',
143
+ importPath: '@remotion/effects/levels',
144
+ config: {},
145
+ },
146
+ },
125
147
  {
126
148
  id: 'effects-saturation',
127
149
  category: 'Color',
@@ -133,6 +155,17 @@ exports.EFFECT_CATALOG = [
133
155
  config: {},
134
156
  },
135
157
  },
158
+ {
159
+ id: 'effects-shadows-highlights',
160
+ category: 'Color',
161
+ label: 'shadowsHighlights()',
162
+ description: 'Recover dark and bright tonal regions',
163
+ effect: {
164
+ name: 'shadowsHighlights',
165
+ importPath: '@remotion/effects/shadows-highlights',
166
+ config: {},
167
+ },
168
+ },
136
169
  {
137
170
  id: 'effects-tint',
138
171
  category: 'Color',
@@ -146,6 +179,28 @@ exports.EFFECT_CATALOG = [
146
179
  },
147
180
  },
148
181
  },
182
+ {
183
+ id: 'effects-white-balance',
184
+ category: 'Color',
185
+ label: 'whiteBalance()',
186
+ description: 'Temperature and tint correction',
187
+ effect: {
188
+ name: 'whiteBalance',
189
+ importPath: '@remotion/effects/white-balance',
190
+ config: {},
191
+ },
192
+ },
193
+ {
194
+ id: 'effects-vibrance',
195
+ category: 'Color',
196
+ label: 'vibrance()',
197
+ description: 'Selective saturation adjustment',
198
+ effect: {
199
+ name: 'vibrance',
200
+ importPath: '@remotion/effects/vibrance',
201
+ config: {},
202
+ },
203
+ },
149
204
  {
150
205
  id: 'effects-linear-gradient',
151
206
  category: 'Color',
@@ -50,6 +50,8 @@ var compositionDragDataToSymbolicatedStack = (dragData) => {
50
50
  originalScriptCode: null
51
51
  };
52
52
  };
53
+ // src/react-refresh-event.ts
54
+ var REACT_REFRESH_FINISHED_EVENT = "remotion-react-refresh-finished";
53
55
  // src/config-file-change.ts
54
56
  var getConfigFileChangeMessage = (changeType) => {
55
57
  if (changeType === "restart") {
@@ -599,6 +601,17 @@ var EFFECT_CATALOG = [
599
601
  config: {}
600
602
  }
601
603
  },
604
+ {
605
+ id: "effects-exposure",
606
+ category: "Color",
607
+ label: "exposure()",
608
+ description: "Stop-based exposure adjustment",
609
+ effect: {
610
+ name: "exposure",
611
+ importPath: "@remotion/effects/exposure",
612
+ config: {}
613
+ }
614
+ },
602
615
  {
603
616
  id: "effects-grayscale",
604
617
  category: "Color",
@@ -632,6 +645,17 @@ var EFFECT_CATALOG = [
632
645
  config: {}
633
646
  }
634
647
  },
648
+ {
649
+ id: "effects-levels",
650
+ category: "Color",
651
+ label: "levels()",
652
+ description: "Black point, white point, and gamma",
653
+ effect: {
654
+ name: "levels",
655
+ importPath: "@remotion/effects/levels",
656
+ config: {}
657
+ }
658
+ },
635
659
  {
636
660
  id: "effects-saturation",
637
661
  category: "Color",
@@ -643,6 +667,17 @@ var EFFECT_CATALOG = [
643
667
  config: {}
644
668
  }
645
669
  },
670
+ {
671
+ id: "effects-shadows-highlights",
672
+ category: "Color",
673
+ label: "shadowsHighlights()",
674
+ description: "Recover dark and bright tonal regions",
675
+ effect: {
676
+ name: "shadowsHighlights",
677
+ importPath: "@remotion/effects/shadows-highlights",
678
+ config: {}
679
+ }
680
+ },
646
681
  {
647
682
  id: "effects-tint",
648
683
  category: "Color",
@@ -656,6 +691,28 @@ var EFFECT_CATALOG = [
656
691
  }
657
692
  }
658
693
  },
694
+ {
695
+ id: "effects-white-balance",
696
+ category: "Color",
697
+ label: "whiteBalance()",
698
+ description: "Temperature and tint correction",
699
+ effect: {
700
+ name: "whiteBalance",
701
+ importPath: "@remotion/effects/white-balance",
702
+ config: {}
703
+ }
704
+ },
705
+ {
706
+ id: "effects-vibrance",
707
+ category: "Color",
708
+ label: "vibrance()",
709
+ description: "Selective saturation adjustment",
710
+ effect: {
711
+ name: "vibrance",
712
+ importPath: "@remotion/effects/vibrance",
713
+ config: {}
714
+ }
715
+ },
659
716
  {
660
717
  id: "effects-linear-gradient",
661
718
  category: "Color",
@@ -2081,6 +2138,7 @@ var allPackages = [
2081
2138
  "design",
2082
2139
  "studio-protocol",
2083
2140
  "light-leaks",
2141
+ "mac-cursors",
2084
2142
  "rough-notation",
2085
2143
  "starburst",
2086
2144
  "vercel",
@@ -2213,6 +2271,7 @@ var descriptions = {
2213
2271
  design: "Design system",
2214
2272
  "studio-protocol": "Create Element payloads and request installation into Remotion Studio",
2215
2273
  "light-leaks": "Light leak effects for Remotion",
2274
+ "mac-cursors": "Internal macOS cursor components for Remotion",
2216
2275
  "rough-notation": "Rough annotation primitives for Remotion",
2217
2276
  "player-a11y": "Internal accessibility wrapper around @remotion/player",
2218
2277
  starburst: "Starburst ray effect for Remotion",
@@ -2326,6 +2385,7 @@ var installableMap = {
2326
2385
  packageName: "@remotion/light-leaks",
2327
2386
  releaseVersion: VERSION
2328
2387
  }),
2388
+ "mac-cursors": false,
2329
2389
  "rough-notation": true,
2330
2390
  starburst: shouldReleasePackage({
2331
2391
  packageName: "@remotion/starburst",
@@ -2432,6 +2492,7 @@ var apiDocs = {
2432
2492
  design: "https://www.remotion.dev/design",
2433
2493
  "studio-protocol": "https://www.remotion.dev/docs/studio-protocol",
2434
2494
  "light-leaks": "https://www.remotion.dev/docs/light-leaks",
2495
+ "mac-cursors": null,
2435
2496
  "rough-notation": "https://www.remotion.dev/docs/rough-notation",
2436
2497
  starburst: "https://www.remotion.dev/docs/starburst",
2437
2498
  vercel: "https://www.remotion.dev/docs/vercel/api",
@@ -3809,6 +3870,7 @@ export {
3809
3870
  apiDocs,
3810
3871
  SCHEMA_FIELD_ROW_HEIGHT,
3811
3872
  SCHEMA_FIELD_GROUPS,
3873
+ REACT_REFRESH_FINISHED_EVENT,
3812
3874
  QUAD_KEYFRAME_EASING,
3813
3875
  LINEAR_KEYFRAME_EASING,
3814
3876
  KEYFRAME_EASING_PRESETS,
@@ -4,6 +4,7 @@ import type { ConfigFileChangeType } from './config-file-change';
4
4
  import type { HotMiddlewareMessage } from './hot-middleware';
5
5
  import type { RenderDefaults } from './render-defaults';
6
6
  import type { CompletedClientRender, RenderJob } from './render-job';
7
+ import type { SequenceNodePathMutation } from './sequence-node-path-mutation';
7
8
  import type { StudioRuntimeConfig } from './studio-runtime-config';
8
9
  export type EventSourceEvent = {
9
10
  type: 'new-input-props';
@@ -53,6 +54,9 @@ export type EventSourceEvent = {
53
54
  fileName: string;
54
55
  nodePath: SequencePropsSubscriptionKey;
55
56
  result: CanUpdateSequencePropsResponse;
57
+ } | {
58
+ type: 'sequence-node-paths-remapped';
59
+ mutation: SequenceNodePathMutation;
56
60
  } | {
57
61
  type: 'lost-node-path';
58
62
  fileName: string;
package/dist/index.d.ts CHANGED
@@ -1,8 +1,11 @@
1
1
  export { splitAnsi, stripAnsi } from './ansi';
2
- export { AddEffectKeyframeRequest, AddEffectKeyframeResponse, AddEffectRequest, AddEffectResponse, AddKeyframesRequest, AddKeyframesResponse, AddRenderRequest, AddSequenceKeyframeRequest, AddSequenceKeyframeResponse, ApiRoutes, ApplyCodemodRequest, ApplyCodemodResponse, ApplyVisualControlRequest, ApplyVisualControlResponse, BatchUpdateEffectKeyframeSettings, BatchUpdateKeyframeSettingsRequest, BatchUpdateKeyframeSettingsResponse, BatchUpdateSequenceKeyframeSettings, CanUpdateDefaultPropsResponse, CanUpdateSequencePropsRequest, CancelRenderRequest, CancelRenderResponse, CaptionPatch, CompositionComponentInfoRequest, CompositionComponentInfoResponse, ConvertFigmaClipboardToSvgRequest, ConvertFigmaClipboardToSvgResponse, CopyRenderOutputToAssetRequest, CopyRenderOutputToAssetResponse, CopyStillToClipboardRequest, DeleteEffectKeyframe, DeleteEffectRequest, DeleteEffectRequestItem, DeleteEffectResponse, DeleteJsxNodeRequest, DeleteJsxNodeRequestItem, DeleteJsxNodeResponse, DeleteKeyframesRequest, DeleteKeyframesResponse, DeleteSequenceKeyframe, DeleteStaticFileRequest, DeleteStaticFileResponse, DownloadRemoteAssetRequest, DownloadRemoteAssetResponse, DuplicateEffectRequest, DuplicateEffectRequestItem, DuplicateEffectResponse, DuplicateJsxNodeRequest, DuplicateJsxNodeResponse, EditorPickerId, ElementInstallExpectedFileState, ElementInstallRequest, ElementInstallSource, FindInFileRequest, FindInFileResponse, GetDefaultCodingAgentInfoRequest, GetDefaultCodingAgentInfoResponse, GetDefaultEditorInfoRequest, GetDefaultEditorInfoResponse, GoogleFontSourceEdit, InsertElementFileConflict, InsertElementRequest, InsertElementResponse, InsertJsxElementRequest, InsertJsxElementResponse, InsertableCompositionElement, InsertableCompositionElementPosition, InstallPackageRequest, InstallPackageResponse, LogStudioErrorRequest, LogStudioErrorResponse, MoveEffectKeyframe, MoveKeyframesRequest, MoveKeyframesResponse, MoveSequenceKeyframe, OpenInCodingAgentRequest, OpenInCodingAgentResponse, OpenInEditorRequest, OpenInEditorResponse, OpenInFileExplorerRequest, PackageInstallSpec, PasteEffectsRequest, PasteEffectsResponse, PrepareElementInstallRequest, PrepareElementInstallResponse, ProjectInfoRequest, ProjectInfoResponse, RedoRequest, RedoResponse, RemoveRenderRequest, RenameStaticFileRequest, RenameStaticFileResponse, ReorderEffectRequest, ReorderEffectResponse, ReorderSequencePosition, ReorderSequenceRequest, ReorderSequenceResponse, RestartStudioRequest, RestartStudioResponse, SaveEffectPropsRequest, SaveEffectPropsResponse, SaveInlineCaptionPatchesRequest, SaveMultipleEffectPropsEdit, SaveMultipleEffectPropsRequest, SaveMultipleEffectPropsResponse, SaveMultipleEffectPropsResult, SaveSequencePropEdit, SaveSequencePropSourceEdit, SaveSequencePropsRequest, SaveSequencePropsResponse, SaveSequencePropsResult, SimpleDiff, SplitJsxSequenceRequest, SplitJsxSequenceResponse, SubscribeToDefaultPropsRequest, SubscribeToDefaultPropsResponse, SubscribeToFileExistenceRequest, SubscribeToFileExistenceResponse, SubscribeToSequencePropsRequest, SubscribeToSequencePropsResponse, UndoRequest, UndoResponse, UnsubscribeFromDefaultPropsRequest, UnsubscribeFromFileExistenceRequest, UnsubscribeFromSequencePropsRequest, UpdateAvailableRequest, UpdateAvailableResponse, UpdateConfigRequest, UpdateConfigResponse, UpdateDefaultPropsRequest, UpdateDefaultPropsResponse, UpdateEffectKeyframeSettingsRequest, UpdateEffectKeyframeSettingsResponse, UpdateElementInstallTargetRequest, UpdateElementInstallTargetResponse, UpdateSequenceKeyframeSettingsRequest, UpdateSequenceKeyframeSettingsResponse, type AddEffectKeyframe, type AddSequenceKeyframe, type ConfigUpdate, type ConfigValue, type KeyframeSettings, } from './api-requests';
2
+ export type { TerminalId } from './terminal';
3
+ export { AddEffectKeyframeRequest, AddEffectKeyframeResponse, AddEffectRequest, AddEffectResponse, AddKeyframesRequest, AddKeyframesResponse, AddRenderRequest, AddSequenceKeyframeRequest, AddSequenceKeyframeResponse, ApiRoutes, ApplyCodemodRequest, ApplyCodemodResponse, ApplyVisualControlRequest, ApplyVisualControlResponse, BatchUpdateEffectKeyframeSettings, BatchUpdateKeyframeSettingsRequest, BatchUpdateKeyframeSettingsResponse, BatchUpdateSequenceKeyframeSettings, CanUpdateDefaultPropsResponse, CanUpdateSequencePropsRequest, CancelRenderRequest, CancelRenderResponse, CaptionPatch, CompositionComponentInfoRequest, CompositionComponentInfoResponse, ConvertFigmaClipboardToSvgRequest, ConvertFigmaClipboardToSvgResponse, CopyRenderOutputToAssetRequest, CopyRenderOutputToAssetResponse, CopyStillToClipboardRequest, DeleteEffectKeyframe, DeleteEffectRequest, DeleteEffectRequestItem, DeleteEffectResponse, DeleteJsxNodeRequest, DeleteJsxNodeRequestItem, DeleteJsxNodeResponse, DeleteKeyframesRequest, DeleteKeyframesResponse, DeleteSequenceKeyframe, DeleteStaticFileRequest, DeleteStaticFileResponse, DownloadRemoteAssetRequest, DownloadRemoteAssetResponse, DuplicateEffectRequest, DuplicateEffectRequestItem, DuplicateEffectResponse, DuplicateJsxNodeRequest, DuplicateJsxNodeResponse, EditorPickerId, ElementInstallExpectedFileState, ElementInstallRequest, ElementInstallSource, FindInFileRequest, FindInFileResponse, GetDefaultCodingAgentInfoRequest, GetDefaultCodingAgentInfoResponse, GetDefaultEditorInfoRequest, GetDefaultEditorInfoResponse, GoogleFontSourceEdit, InsertElementFileConflict, InsertElementRequest, InsertElementResponse, InsertJsxElementRequest, InsertJsxElementResponse, InsertableCompositionElement, InsertableCompositionElementPosition, InstallPackageRequest, InstallPackageResponse, LogStudioErrorRequest, LogStudioErrorResponse, MoveEffectKeyframe, MoveKeyframesRequest, MoveKeyframesResponse, MoveSequenceKeyframe, OpenInCodingAgentRequest, OpenInCodingAgentResponse, OpenInEditorRequest, OpenInEditorResponse, OpenInFileExplorerRequest, OpenInTerminalRequest, OpenInTerminalResponse, PackageInstallSpec, PasteEffectsRequest, PasteEffectsResponse, PrepareElementInstallRequest, PrepareElementInstallResponse, ProjectInfoRequest, ProjectInfoResponse, RedoRequest, RedoResponse, RemoveRenderRequest, RenameStaticFileRequest, RenameStaticFileResponse, ReorderEffectRequest, ReorderEffectResponse, ReorderSequencePosition, ReorderSequenceRequest, ReorderSequenceResponse, RestartStudioRequest, RestartStudioResponse, SaveEffectPropsRequest, SaveEffectPropsResponse, SaveInlineCaptionPatchesRequest, SaveMultipleEffectPropsEdit, SaveMultipleEffectPropsRequest, SaveMultipleEffectPropsResponse, SaveMultipleEffectPropsResult, SaveSequencePropEdit, SaveSequencePropSourceEdit, SaveSequencePropsRequest, SaveSequencePropsResponse, SaveSequencePropsResult, SimpleDiff, SplitJsxSequenceRequest, SplitJsxSequenceResponse, SubscribeToDefaultPropsRequest, SubscribeToDefaultPropsResponse, SubscribeToFileExistenceRequest, SubscribeToFileExistenceResponse, SubscribeToSequencePropsRequest, SubscribeToSequencePropsResponse, UndoRequest, UndoResponse, UnsubscribeFromDefaultPropsRequest, UnsubscribeFromFileExistenceRequest, UnsubscribeFromSequencePropsRequest, UpdateAvailableRequest, UpdateAvailableResponse, UpdateConfigRequest, UpdateConfigResponse, UpdateDefaultPropsRequest, UpdateDefaultPropsResponse, UpdateEffectKeyframeSettingsRequest, UpdateEffectKeyframeSettingsResponse, UpdateElementInstallTargetRequest, UpdateElementInstallTargetResponse, UpdateSequenceKeyframeSettingsRequest, UpdateSequenceKeyframeSettingsResponse, type AddEffectKeyframe, type AddSequenceKeyframe, type ConfigUpdate, type ConfigValue, type KeyframeSettings, } from './api-requests';
3
4
  export type { BrowserStudioOperations } from './browser-studio-operations';
5
+ export type { SequenceNodePathMutation, SequenceNodePathRemapping, } from './sequence-node-path-mutation';
4
6
  export type { ApplyVisualControlCodemod, RecastCodemod } from './codemods';
5
7
  export { compositionDragDataToSymbolicatedStack } from './composition-drag-data';
8
+ export { REACT_REFRESH_FINISHED_EVENT } from './react-refresh-event';
6
9
  export { getConfigFileChangeMessage, type ConfigFileChangeType, } from './config-file-change';
7
10
  export { configMethodLifecycles } from './config-method-lifecycles';
8
11
  export { DEFAULT_BUFFER_STATE_DELAY_IN_MILLISECONDS } from './default-buffer-state-delay-in-milliseconds';
package/dist/index.js CHANGED
@@ -14,14 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.extraPackages = exports.descriptions = exports.apiDocs = exports.DEFAULT_TIMELINE_TRACKS = exports.keyframeInterpolationFunctions = exports.isSchemaFieldKeyframable = exports.isKeyframeInterpolationFunction = exports.isInteractivitySchemaFieldKeyframable = exports.getKeyframeInterpolationFunctionForSchemaField = exports.getKeyframeInterpolationFunction = exports.canEditEasingForInterpolationFunction = exports.getPolyKeyframeEasing = exports.getOutKeyframeEasing = exports.getBackKeyframeEasing = exports.QUAD_KEYFRAME_EASING = exports.LINEAR_KEYFRAME_EASING = exports.KEYFRAME_EASING_PRESETS = exports.HOLD_KEYFRAME_EASING = exports.EASE_KEYFRAME_EASING = exports.CUBIC_KEYFRAME_EASING = exports.parseKeyframeClipboardDataResult = exports.parseKeyframeClipboardData = exports.isKeyframeClipboardFieldType = exports.hotMiddlewareOptions = exports.getProjectName = exports.getLocationFromBuildError = exports.getDefaultOutLocation = exports.getAssetSchemaKeys = exports.getAllSchemaKeys = exports.formatBytes = exports.parseEffectPropClipboardDataResult = exports.parseEffectPropClipboardData = exports.parseEffectClipboardDataResult = exports.parseEffectClipboardData = exports.getEffectPreviewSource = exports.getEffectPreviewAlt = exports.getEffectDocumentationPath = exports.getEffectDocumentationLink = exports.getEffectCatalogCategories = exports.EFFECT_CATALOG = exports.parseEasingClipboardDataResult = exports.parseEasingClipboardData = exports.isImageFileType = exports.detectFileType = exports.DEFAULT_BUFFER_STATE_DELAY_IN_MILLISECONDS = exports.configMethodLifecycles = exports.getConfigFileChangeMessage = exports.compositionDragDataToSymbolicatedStack = exports.stripAnsi = exports.splitAnsi = void 0;
18
- exports.isUrl = exports.stringifySequenceSubscriptionKey = exports.stringifySequenceExpandedRowKey = exports.optimisticUpdateSequenceKeyframeSettings = exports.optimisticUpdateEffectKeyframeSettings = exports.optimisticUpdateForPropStatuses = exports.optimisticUpdateForEffectPropStatuses = exports.optimisticMoveSequenceKeyframes = exports.optimisticMoveEffectKeyframes = exports.moveKeyframesInPropStatus = exports.canMoveKeyframesWithoutCollisions = exports.optimisticDeleteSequenceKeyframes = exports.optimisticDeleteSequenceKeyframe = exports.optimisticDeleteEffectKeyframes = exports.optimisticDeleteEffectKeyframe = exports.optimisticAddSequenceKeyframe = exports.optimisticAddEffectKeyframe = exports.getStylePropertyLonghandKeys = exports.BORDER_RADIUS_SHORTHAND_KEY = exports.BORDER_RADIUS_LONGHAND_KEYS = exports.studioHtml = exports.getStudioEntryPoints = exports.stringifyDefaultProps = exports.getSchemaFieldGroup = exports.getFieldsToShow = exports.getEffectFieldsToShow = exports.SCHEMA_FIELD_ROW_HEIGHT = exports.SCHEMA_FIELD_GROUPS = exports.isValidPackageName = exports.getRequiredPackageForInsertableElement = exports.getRequiredPackageForEffectImportPath = exports.parseSpringEasingConfig = exports.DEFAULT_SPRING_EASING = exports.packages = exports.installableMap = void 0;
17
+ exports.descriptions = exports.apiDocs = exports.DEFAULT_TIMELINE_TRACKS = exports.keyframeInterpolationFunctions = exports.isSchemaFieldKeyframable = exports.isKeyframeInterpolationFunction = exports.isInteractivitySchemaFieldKeyframable = exports.getKeyframeInterpolationFunctionForSchemaField = exports.getKeyframeInterpolationFunction = exports.canEditEasingForInterpolationFunction = exports.getPolyKeyframeEasing = exports.getOutKeyframeEasing = exports.getBackKeyframeEasing = exports.QUAD_KEYFRAME_EASING = exports.LINEAR_KEYFRAME_EASING = exports.KEYFRAME_EASING_PRESETS = exports.HOLD_KEYFRAME_EASING = exports.EASE_KEYFRAME_EASING = exports.CUBIC_KEYFRAME_EASING = exports.parseKeyframeClipboardDataResult = exports.parseKeyframeClipboardData = exports.isKeyframeClipboardFieldType = exports.hotMiddlewareOptions = exports.getProjectName = exports.getLocationFromBuildError = exports.getDefaultOutLocation = exports.getAssetSchemaKeys = exports.getAllSchemaKeys = exports.formatBytes = exports.parseEffectPropClipboardDataResult = exports.parseEffectPropClipboardData = exports.parseEffectClipboardDataResult = exports.parseEffectClipboardData = exports.getEffectPreviewSource = exports.getEffectPreviewAlt = exports.getEffectDocumentationPath = exports.getEffectDocumentationLink = exports.getEffectCatalogCategories = exports.EFFECT_CATALOG = exports.parseEasingClipboardDataResult = exports.parseEasingClipboardData = exports.isImageFileType = exports.detectFileType = exports.DEFAULT_BUFFER_STATE_DELAY_IN_MILLISECONDS = exports.configMethodLifecycles = exports.getConfigFileChangeMessage = exports.REACT_REFRESH_FINISHED_EVENT = exports.compositionDragDataToSymbolicatedStack = exports.stripAnsi = exports.splitAnsi = void 0;
18
+ exports.isUrl = exports.stringifySequenceSubscriptionKey = exports.stringifySequenceExpandedRowKey = exports.optimisticUpdateSequenceKeyframeSettings = exports.optimisticUpdateEffectKeyframeSettings = exports.optimisticUpdateForPropStatuses = exports.optimisticUpdateForEffectPropStatuses = exports.optimisticMoveSequenceKeyframes = exports.optimisticMoveEffectKeyframes = exports.moveKeyframesInPropStatus = exports.canMoveKeyframesWithoutCollisions = exports.optimisticDeleteSequenceKeyframes = exports.optimisticDeleteSequenceKeyframe = exports.optimisticDeleteEffectKeyframes = exports.optimisticDeleteEffectKeyframe = exports.optimisticAddSequenceKeyframe = exports.optimisticAddEffectKeyframe = exports.getStylePropertyLonghandKeys = exports.BORDER_RADIUS_SHORTHAND_KEY = exports.BORDER_RADIUS_LONGHAND_KEYS = exports.studioHtml = exports.getStudioEntryPoints = exports.stringifyDefaultProps = exports.getSchemaFieldGroup = exports.getFieldsToShow = exports.getEffectFieldsToShow = exports.SCHEMA_FIELD_ROW_HEIGHT = exports.SCHEMA_FIELD_GROUPS = exports.isValidPackageName = exports.getRequiredPackageForInsertableElement = exports.getRequiredPackageForEffectImportPath = exports.parseSpringEasingConfig = exports.DEFAULT_SPRING_EASING = exports.packages = exports.installableMap = exports.extraPackages = void 0;
19
19
  const ansi_1 = require("./ansi");
20
20
  Object.defineProperty(exports, "splitAnsi", { enumerable: true, get: function () { return ansi_1.splitAnsi; } });
21
21
  Object.defineProperty(exports, "stripAnsi", { enumerable: true, get: function () { return ansi_1.stripAnsi; } });
22
22
  __exportStar(require("./api-requests"), exports);
23
23
  const composition_drag_data_1 = require("./composition-drag-data");
24
24
  Object.defineProperty(exports, "compositionDragDataToSymbolicatedStack", { enumerable: true, get: function () { return composition_drag_data_1.compositionDragDataToSymbolicatedStack; } });
25
+ const react_refresh_event_1 = require("./react-refresh-event");
26
+ Object.defineProperty(exports, "REACT_REFRESH_FINISHED_EVENT", { enumerable: true, get: function () { return react_refresh_event_1.REACT_REFRESH_FINISHED_EVENT; } });
25
27
  const config_file_change_1 = require("./config-file-change");
26
28
  Object.defineProperty(exports, "getConfigFileChangeMessage", { enumerable: true, get: function () { return config_file_change_1.getConfigFileChangeMessage; } });
27
29
  const config_method_lifecycles_1 = require("./config-method-lifecycles");
@@ -1,6 +1,6 @@
1
- declare const allPackages: readonly ["svg-3d-engine", "animation-utils", "animated-emoji", "astro-example", "babel-loader", "bugs", "brand", "bundler", "browser-studio", "claude-code-plugin", "cli", "cloudrun", "codex-plugin", "kimi-code-plugin", "compositor-darwin-arm64", "compositor-darwin-x64", "compositor-linux-arm64-gnu", "compositor-linux-arm64-musl", "compositor-linux-x64-gnu", "compositor-linux-x64-musl", "compositor-win32-x64-msvc", "core", "create-video", "discord-poster", "docusaurus-plugin", "docs", "enable-scss", "eslint-config", "eslint-config-flat", "eslint-config-internal", "eslint-plugin", "example-without-zod", "example", "fonts", "gif", "google-fonts", "install-whisper-cpp", "it-tests", "react18-tests", "lambda-go-example", "lambda-go", "lambda-php", "lambda-ruby", "lambda-python", "lambda", "lambda-client", "layout-utils", "rounded-text-box", "licensing", "lottie", "mcp", "media-utils", "motion-blur", "noise", "paths", "player-a11y", "player-example", "player", "preload", "renderer", "rive", "shapes", "skia", "promo-pages", "streaming", "serverless", "serverless-client", "skills", "skills-evals", "studio-codemods", "studio-server", "studio-shared", "studio", "tailwind", "tailwind-v4", "timeline-utils", "test-utils", "three", "transitions", "media-parser", "zod-types", "zod-types-v3", "webcodecs", "convert", "captions", "openai-whisper", "elevenlabs", "compositor", "example-videos", "whisper-web", "media", "remotion-media", "web-renderer", "design", "studio-protocol", "light-leaks", "rough-notation", "starburst", "vercel", "sfx", "effects"];
1
+ declare const allPackages: readonly ["svg-3d-engine", "animation-utils", "animated-emoji", "astro-example", "babel-loader", "bugs", "brand", "bundler", "browser-studio", "claude-code-plugin", "cli", "cloudrun", "codex-plugin", "kimi-code-plugin", "compositor-darwin-arm64", "compositor-darwin-x64", "compositor-linux-arm64-gnu", "compositor-linux-arm64-musl", "compositor-linux-x64-gnu", "compositor-linux-x64-musl", "compositor-win32-x64-msvc", "core", "create-video", "discord-poster", "docusaurus-plugin", "docs", "enable-scss", "eslint-config", "eslint-config-flat", "eslint-config-internal", "eslint-plugin", "example-without-zod", "example", "fonts", "gif", "google-fonts", "install-whisper-cpp", "it-tests", "react18-tests", "lambda-go-example", "lambda-go", "lambda-php", "lambda-ruby", "lambda-python", "lambda", "lambda-client", "layout-utils", "rounded-text-box", "licensing", "lottie", "mcp", "media-utils", "motion-blur", "noise", "paths", "player-a11y", "player-example", "player", "preload", "renderer", "rive", "shapes", "skia", "promo-pages", "streaming", "serverless", "serverless-client", "skills", "skills-evals", "studio-codemods", "studio-server", "studio-shared", "studio", "tailwind", "tailwind-v4", "timeline-utils", "test-utils", "three", "transitions", "media-parser", "zod-types", "zod-types-v3", "webcodecs", "convert", "captions", "openai-whisper", "elevenlabs", "compositor", "example-videos", "whisper-web", "media", "remotion-media", "web-renderer", "design", "studio-protocol", "light-leaks", "mac-cursors", "rough-notation", "starburst", "vercel", "sfx", "effects"];
2
2
  export type Pkgs = (typeof allPackages)[number];
3
- export declare const packages: ("animated-emoji" | "animation-utils" | "astro-example" | "babel-loader" | "brand" | "browser-studio" | "bugs" | "bundler" | "captions" | "claude-code-plugin" | "cli" | "cloudrun" | "codex-plugin" | "compositor" | "compositor-darwin-arm64" | "compositor-darwin-x64" | "compositor-linux-arm64-gnu" | "compositor-linux-arm64-musl" | "compositor-linux-x64-gnu" | "compositor-linux-x64-musl" | "compositor-win32-x64-msvc" | "convert" | "core" | "create-video" | "design" | "discord-poster" | "docs" | "docusaurus-plugin" | "effects" | "elevenlabs" | "enable-scss" | "eslint-config" | "eslint-config-flat" | "eslint-config-internal" | "eslint-plugin" | "example" | "example-videos" | "example-without-zod" | "fonts" | "gif" | "google-fonts" | "install-whisper-cpp" | "it-tests" | "kimi-code-plugin" | "lambda" | "lambda-client" | "lambda-go" | "lambda-go-example" | "lambda-php" | "lambda-python" | "lambda-ruby" | "layout-utils" | "licensing" | "light-leaks" | "lottie" | "mcp" | "media" | "media-parser" | "media-utils" | "motion-blur" | "noise" | "openai-whisper" | "paths" | "player" | "player-a11y" | "player-example" | "preload" | "promo-pages" | "react18-tests" | "remotion-media" | "renderer" | "rive" | "rough-notation" | "rounded-text-box" | "serverless" | "serverless-client" | "sfx" | "shapes" | "skia" | "skills" | "skills-evals" | "starburst" | "streaming" | "studio" | "studio-codemods" | "studio-protocol" | "studio-server" | "studio-shared" | "svg-3d-engine" | "tailwind" | "tailwind-v4" | "test-utils" | "three" | "timeline-utils" | "transitions" | "vercel" | "web-renderer" | "webcodecs" | "whisper-web" | "zod-types" | "zod-types-v3")[];
3
+ export declare const packages: ("animated-emoji" | "animation-utils" | "astro-example" | "babel-loader" | "brand" | "browser-studio" | "bugs" | "bundler" | "captions" | "claude-code-plugin" | "cli" | "cloudrun" | "codex-plugin" | "compositor" | "compositor-darwin-arm64" | "compositor-darwin-x64" | "compositor-linux-arm64-gnu" | "compositor-linux-arm64-musl" | "compositor-linux-x64-gnu" | "compositor-linux-x64-musl" | "compositor-win32-x64-msvc" | "convert" | "core" | "create-video" | "design" | "discord-poster" | "docs" | "docusaurus-plugin" | "effects" | "elevenlabs" | "enable-scss" | "eslint-config" | "eslint-config-flat" | "eslint-config-internal" | "eslint-plugin" | "example" | "example-videos" | "example-without-zod" | "fonts" | "gif" | "google-fonts" | "install-whisper-cpp" | "it-tests" | "kimi-code-plugin" | "lambda" | "lambda-client" | "lambda-go" | "lambda-go-example" | "lambda-php" | "lambda-python" | "lambda-ruby" | "layout-utils" | "licensing" | "light-leaks" | "lottie" | "mac-cursors" | "mcp" | "media" | "media-parser" | "media-utils" | "motion-blur" | "noise" | "openai-whisper" | "paths" | "player" | "player-a11y" | "player-example" | "preload" | "promo-pages" | "react18-tests" | "remotion-media" | "renderer" | "rive" | "rough-notation" | "rounded-text-box" | "serverless" | "serverless-client" | "sfx" | "shapes" | "skia" | "skills" | "skills-evals" | "starburst" | "streaming" | "studio" | "studio-codemods" | "studio-protocol" | "studio-server" | "studio-shared" | "svg-3d-engine" | "tailwind" | "tailwind-v4" | "test-utils" | "three" | "timeline-utils" | "transitions" | "vercel" | "web-renderer" | "webcodecs" | "whisper-web" | "zod-types" | "zod-types-v3")[];
4
4
  export type ExtraPackage = {
5
5
  name: string;
6
6
  version: string;
@@ -100,6 +100,7 @@ const allPackages = [
100
100
  'design',
101
101
  'studio-protocol',
102
102
  'light-leaks',
103
+ 'mac-cursors',
103
104
  'rough-notation',
104
105
  'starburst',
105
106
  'vercel',
@@ -232,6 +233,7 @@ exports.descriptions = {
232
233
  design: 'Design system',
233
234
  'studio-protocol': 'Create Element payloads and request installation into Remotion Studio',
234
235
  'light-leaks': 'Light leak effects for Remotion',
236
+ 'mac-cursors': 'Internal macOS cursor components for Remotion',
235
237
  'rough-notation': 'Rough annotation primitives for Remotion',
236
238
  'player-a11y': 'Internal accessibility wrapper around @remotion/player',
237
239
  starburst: 'Starburst ray effect for Remotion',
@@ -345,6 +347,7 @@ exports.installableMap = {
345
347
  packageName: '@remotion/light-leaks',
346
348
  releaseVersion: remotion_1.VERSION,
347
349
  }),
350
+ 'mac-cursors': false,
348
351
  'rough-notation': true,
349
352
  starburst: (0, release_package_policy_1.shouldReleasePackage)({
350
353
  packageName: '@remotion/starburst',
@@ -451,6 +454,7 @@ exports.apiDocs = {
451
454
  design: 'https://www.remotion.dev/design',
452
455
  'studio-protocol': 'https://www.remotion.dev/docs/studio-protocol',
453
456
  'light-leaks': 'https://www.remotion.dev/docs/light-leaks',
457
+ 'mac-cursors': null,
454
458
  'rough-notation': 'https://www.remotion.dev/docs/rough-notation',
455
459
  starburst: 'https://www.remotion.dev/docs/starburst',
456
460
  vercel: 'https://www.remotion.dev/docs/vercel/api',
@@ -0,0 +1 @@
1
+ export declare const REACT_REFRESH_FINISHED_EVENT = "remotion-react-refresh-finished";
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REACT_REFRESH_FINISHED_EVENT = void 0;
4
+ exports.REACT_REFRESH_FINISHED_EVENT = 'remotion-react-refresh-finished';
@@ -35,6 +35,7 @@ export type BrowserDownloadState = {
35
35
  progress: number;
36
36
  doneIn: number | null;
37
37
  alreadyAvailable: boolean;
38
+ error?: boolean;
38
39
  };
39
40
  export type BrowserProgressLog = {
40
41
  logLevel: LogLevel;
@@ -0,0 +1,13 @@
1
+ import type { SequenceNodePath } from 'remotion';
2
+ export type SequenceNodePathRemapping = {
3
+ oldNodePath: SequenceNodePath;
4
+ newNodePath: SequenceNodePath | null;
5
+ };
6
+ export type SequenceNodePathMutation = {
7
+ mutationId: string;
8
+ files: Array<{
9
+ absolutePath: string;
10
+ remappings: SequenceNodePathRemapping[];
11
+ restoredNodePaths: SequenceNodePath[];
12
+ }>;
13
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type TerminalId = 'terminal' | 'iterm2' | 'ghostty' | 'warp' | 'wezterm' | 'alacritty' | 'windows-terminal' | 'gnome-terminal';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio-shared"
4
4
  },
5
5
  "name": "@remotion/studio-shared",
6
- "version": "4.0.507",
6
+ "version": "4.0.508",
7
7
  "description": "Internal package for shared objects between the Studio backend and frontend",
8
8
  "main": "dist",
9
9
  "module": "dist/esm/index.mjs",
@@ -21,12 +21,12 @@
21
21
  "url": "https://github.com/remotion-dev/remotion/issues"
22
22
  },
23
23
  "dependencies": {
24
- "@remotion/studio-protocol": "4.0.507",
25
- "remotion": "4.0.507"
24
+ "@remotion/studio-protocol": "4.0.508",
25
+ "remotion": "4.0.508"
26
26
  },
27
27
  "devDependencies": {
28
- "@remotion/renderer": "4.0.507",
29
- "@remotion/eslint-config-internal": "4.0.507",
28
+ "@remotion/renderer": "4.0.508",
29
+ "@remotion/eslint-config-internal": "4.0.508",
30
30
  "eslint": "9.19.0",
31
31
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
32
32
  },