@nodetool-ai/protocol 0.8.18 → 0.8.20
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/.nodetool-build-stamp +1 -1
- package/dist/api-schemas/assets.d.ts +13 -0
- package/dist/api-schemas/assets.d.ts.map +1 -1
- package/dist/api-schemas/assets.js +13 -1
- package/dist/api-schemas/assets.js.map +1 -1
- package/dist/api-schemas/index.d.ts +1 -0
- package/dist/api-schemas/index.d.ts.map +1 -1
- package/dist/api-schemas/index.js +1 -0
- package/dist/api-schemas/index.js.map +1 -1
- package/dist/api-schemas/mcp-config.d.ts +13 -0
- package/dist/api-schemas/mcp-config.d.ts.map +1 -1
- package/dist/api-schemas/mcp-config.js +5 -3
- package/dist/api-schemas/mcp-config.js.map +1 -1
- package/dist/api-schemas/openverse.d.ts +1 -0
- package/dist/api-schemas/openverse.d.ts.map +1 -1
- package/dist/api-schemas/sdk-execution-v1.d.ts +3 -0
- package/dist/api-schemas/sdk-execution-v1.d.ts.map +1 -1
- package/dist/api-schemas/storage.d.ts +42 -1
- package/dist/api-schemas/storage.d.ts.map +1 -1
- package/dist/api-schemas/storage.js +42 -2
- package/dist/api-schemas/storage.js.map +1 -1
- package/dist/api-schemas/timeline-tool-contracts.d.ts +4354 -157
- package/dist/api-schemas/timeline-tool-contracts.d.ts.map +1 -1
- package/dist/api-schemas/timeline-tool-contracts.js +398 -20
- package/dist/api-schemas/timeline-tool-contracts.js.map +1 -1
- package/dist/api-schemas/timeline-tool-params.d.ts +6719 -144
- package/dist/api-schemas/timeline-tool-params.d.ts.map +1 -1
- package/dist/api-schemas/timeline-tool-params.js +1780 -44
- package/dist/api-schemas/timeline-tool-params.js.map +1 -1
- package/dist/api-schemas/timeline.d.ts +8907 -100
- package/dist/api-schemas/timeline.d.ts.map +1 -1
- package/dist/api-schemas/timeline.js +782 -43
- package/dist/api-schemas/timeline.js.map +1 -1
- package/dist/api-schemas/triggers.d.ts +99 -0
- package/dist/api-schemas/triggers.d.ts.map +1 -0
- package/dist/api-schemas/triggers.js +48 -0
- package/dist/api-schemas/triggers.js.map +1 -0
- package/dist/api-schemas/workflows.d.ts +54 -0
- package/dist/api-schemas/workflows.d.ts.map +1 -1
- package/dist/api-schemas/workflows.js +13 -1
- package/dist/api-schemas/workflows.js.map +1 -1
- package/dist/api-types.d.ts +1 -0
- package/dist/api-types.d.ts.map +1 -1
- package/dist/api-types.js +2 -0
- package/dist/api-types.js.map +1 -1
- package/dist/cloud-profile.d.ts.map +1 -1
- package/dist/cloud-profile.js +2 -0
- package/dist/cloud-profile.js.map +1 -1
- package/dist/creative.d.ts +8 -0
- package/dist/creative.d.ts.map +1 -1
- package/dist/creative.js.map +1 -1
- package/dist/game-design.d.ts +6 -4
- package/dist/game-design.d.ts.map +1 -1
- package/dist/game-design.js +178 -51
- package/dist/game-design.js.map +1 -1
- package/dist/local-providers.d.ts.map +1 -1
- package/dist/local-providers.js +9 -0
- package/dist/local-providers.js.map +1 -1
- package/dist/markdown-blocks.d.ts.map +1 -1
- package/dist/markdown-blocks.js +31 -4
- package/dist/markdown-blocks.js.map +1 -1
- package/dist/messages.d.ts +30 -0
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js.map +1 -1
- package/dist/missing-runtime-package.d.ts +4 -1
- package/dist/missing-runtime-package.d.ts.map +1 -1
- package/dist/missing-runtime-package.js +17 -0
- package/dist/missing-runtime-package.js.map +1 -1
- package/dist/native-game-templates.d.ts.map +1 -1
- package/dist/native-game-templates.js +18 -4
- package/dist/native-game-templates.js.map +1 -1
- package/dist/nodetool-models.d.ts.map +1 -1
- package/dist/nodetool-models.js +7 -0
- package/dist/nodetool-models.js.map +1 -1
- package/dist/processing-messages.schema.json +3 -0
- package/dist/project-directories.d.ts +1 -0
- package/dist/project-directories.d.ts.map +1 -1
- package/dist/project-directories.js +12 -2
- package/dist/project-directories.js.map +1 -1
- package/dist/render-record.d.ts +17 -0
- package/dist/render-record.d.ts.map +1 -1
- package/dist/render-record.js +19 -0
- package/dist/render-record.js.map +1 -1
- package/dist/sandbox-capability.d.ts +9 -2
- package/dist/sandbox-capability.d.ts.map +1 -1
- package/dist/sandbox-capability.js +12 -3
- package/dist/sandbox-capability.js.map +1 -1
- package/dist/ws-commands.d.ts +496 -1
- package/dist/ws-commands.d.ts.map +1 -1
- package/dist/ws-commands.js +262 -3
- package/dist/ws-commands.js.map +1 -1
- package/package.json +1 -1
- package/schema/sdk-v1.execution.schema.json +6 -0
- package/schema/sdk-v1.manifest.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline-tool-contracts.d.ts","sourceRoot":"","sources":["../../src/api-schemas/timeline-tool-contracts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EA2CL,gCAAgC,EAGjC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,YAAY,EACZ,KAAK,UAAU,EAEhB,MAAM,uBAAuB,CAAC;AAI/B;;;;;;GAMG;AACH,uFAAuF;AACvF,MAAM,WAAW,sBAAsB;IACrC,0EAA0E;IAC1E,YAAY,EAAE,SAAS,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;IAC7C,6DAA6D;IAC7D,kBAAkB,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,6EAA6E;IAC7E,eAAe,EAAE,MAAM,CAAC;CACzB;AA0CD,QAAA,MAAM,cAAc,UAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4CpD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC;AAEhF;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,CAAC,SAAS;IACR,MAAM,CA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C,EAC1C,qCAAqC,CAC7B,CAAC"}
|
|
@@ -22,8 +22,10 @@
|
|
|
22
22
|
* `ui_timeline_*` tool that is in neither.
|
|
23
23
|
*/
|
|
24
24
|
import { z } from "zod";
|
|
25
|
+
import { isRecord } from "../predicates.js";
|
|
26
|
+
import { BLEND_MODE_TUPLE } from "../blend-modes.js";
|
|
25
27
|
import { clipAudioEffect, clipFadeShapeEnum } from "./timeline.js";
|
|
26
|
-
import { ADD_MODEL3D_CLIP_DESCRIPTION, ADD_SHAPE_CLIP_DESCRIPTION, ADD_TEXT_CLIP_DESCRIPTION, ADD_TRACK_DESCRIPTION, DELETE_TRACK_DESCRIPTION, MOVE_TRACK_DESCRIPTION, QUANTIZE_NOTES_DESCRIPTION, SCALE_VELOCITY_DESCRIPTION, SET_TEMPO_DESCRIPTION, SET_TRACK_INSTRUMENT_DESCRIPTION, TRANSPOSE_CLIP_DESCRIPTION, addGroupParams, addMidiClipParams, captionStyleParams, clipOpacityParam, clipTransformPatchParam, deleteTrackShape, effectParams, maskParams, matteParams, model3dStyleParams, moveTrackShape, partialTextStyleParams, quantizeNotesParams, scaleVelocityParams, setNotesParams, setParentParams, setTempoParams, setTimeRemapParams, setTrackInstrumentParams, SET_MODEL3D_STYLE_DESCRIPTION, BAKE_MODEL3D_CLIP_DESCRIPTION, shapeStyleParams, transposeClipParams, targetParam, textStyleParams, transitionParams, retargetFormatParams, setReframeSubjectParams, addReframeKeyframeParams, clearReframeParams, generativelyEditClipParams, strictGenerativelyEditClipParams, applyTakeParams, withTextClipRemedies } from "./timeline-tool-params.js";
|
|
28
|
+
import { ADD_MODEL3D_CLIP_DESCRIPTION, APPLY_MODEL3D_CAMERA_MOVE_DESCRIPTION, MODEL3D_CAMERA_MOVE_IDS, ADD_SHAPE_CLIP_DESCRIPTION, ADD_TEXT_CLIP_DESCRIPTION, ADD_TRACK_DESCRIPTION, DELETE_TRACK_DESCRIPTION, MOVE_TRACK_DESCRIPTION, APPLY_PROGRESSION_DESCRIPTION, CLEAR_CHORDS_DESCRIPTION, LOOP_CLIP_DESCRIPTION, loopClipParams, insertTimeParams, deleteTimeParams, duplicateRangeParams, pasteRangeParams, joinClipsParams, JOIN_CLIPS_DESCRIPTION, INSERT_TIME_DESCRIPTION, DELETE_TIME_DESCRIPTION, DUPLICATE_RANGE_DESCRIPTION, PASTE_RANGE_DESCRIPTION, DETECT_CHORDS_DESCRIPTION, FIT_NOTES_TO_CHORDS_DESCRIPTION, LIST_HARMONY_PRESETS_DESCRIPTION, LIST_PROGRESSIONS_DESCRIPTION, SET_CHORDS_DESCRIPTION, SET_CLIP_HARMONY_DESCRIPTION, TRANSPOSE_CHORDS_DESCRIPTION, applyProgressionParams, clearChordsParams, detectChordsParams, fitNotesToChordsParams, setChordsParams, setClipHarmonyParams, transposeChordsParams, QUANTIZE_NOTES_DESCRIPTION, SCALE_VELOCITY_DESCRIPTION, SET_TEMPO_DESCRIPTION, SET_TRACK_INSTRUMENT_DESCRIPTION, TRANSPOSE_CLIP_DESCRIPTION, addGroupParams, addMidiClipParams, captionStyleParams, clipOpacityParam, clipTransformPatchParam, deleteTrackShape, effectParams, maskParams, matteParams, model3dStyleParams, moveTrackShape, partialTextStyleParams, quantizeNotesParams, scaleVelocityParams, setNotesParams, setParentParams, setTempoParams, setTimeRemapParams, setTrackInstrumentParams, SET_MODEL3D_STYLE_DESCRIPTION, BAKE_MODEL3D_CLIP_DESCRIPTION, RENDER_MODEL3D_REFERENCE_DESCRIPTION, shapeStyleParams, transposeClipParams, targetParam, barTimeShape, textStyleParams, transitionParams, retargetFormatParams, setReframeSubjectParams, addReframeKeyframeParams, clearReframeParams, generativelyEditClipParams, strictGenerativelyEditClipParams, applyTakeParams, withTextClipRemedies, QUANTIZE_DIVISION_VALUES, SET_NOTES_DESCRIPTION, setTrackMixShape, getPatternParams, GET_PATTERN_DESCRIPTION, createPatternRegionParams, CREATE_PATTERN_REGION_DESCRIPTION, convertPatternToMidiParams, CONVERT_PATTERN_TO_MIDI_DESCRIPTION, convertMidiToPatternParams, CONVERT_MIDI_TO_PATTERN_DESCRIPTION, separatePatternRowsParams, SEPARATE_PATTERN_ROWS_DESCRIPTION, setPatternParams, SET_PATTERN_DESCRIPTION, setPatternSeedParams, SET_PATTERN_SEED_DESCRIPTION, addPatternRowsParams, ADD_PATTERN_ROWS_DESCRIPTION, setPatternRowParams, SET_PATTERN_ROW_DESCRIPTION, removePatternRowsParams, REMOVE_PATTERN_ROWS_DESCRIPTION, movePatternRowParams, MOVE_PATTERN_ROW_DESCRIPTION, sortPatternRowsParams, SORT_PATTERN_ROWS_DESCRIPTION, setPatternRowSortParams, SET_PATTERN_ROW_SORT_DESCRIPTION, copyPatternRowParams, COPY_PATTERN_ROW_DESCRIPTION, setStepsParams, SET_STEPS_DESCRIPTION, setPatternTextParams, SET_PATTERN_TEXT_DESCRIPTION, clearPatternParams, CLEAR_PATTERN_DESCRIPTION, copyStepsParams, COPY_STEPS_DESCRIPTION, repeatStepParams, REPEAT_STEP_DESCRIPTION, rotatePatternParams, ROTATE_PATTERN_DESCRIPTION, transposePatternParams, TRANSPOSE_PATTERN_DESCRIPTION, randomizePatternParams, RANDOMIZE_PATTERN_DESCRIPTION, nudgePatternValuesParams, NUDGE_PATTERN_VALUES_DESCRIPTION, tieStepsParams, TIE_STEPS_DESCRIPTION, listStepPatternsParams, LIST_STEP_PATTERNS_DESCRIPTION, applyStepPatternParams, APPLY_STEP_PATTERN_DESCRIPTION, saveStepPatternParams, SAVE_STEP_PATTERN_DESCRIPTION, setTrackStepTemplateParams, SET_TRACK_STEP_TEMPLATE_DESCRIPTION, createStepPatternFolderParams, CREATE_STEP_PATTERN_FOLDER_DESCRIPTION, renameStepPatternFolderParams, RENAME_STEP_PATTERN_FOLDER_DESCRIPTION, deleteStepPatternFolderParams, DELETE_STEP_PATTERN_FOLDER_DESCRIPTION, moveStepPatternParams, MOVE_STEP_PATTERN_DESCRIPTION, listPluginsParams, LIST_PLUGINS_DESCRIPTION, loadPluginParams, LOAD_PLUGIN_DESCRIPTION, listPluginPresetsParams, LIST_PLUGIN_PRESETS_DESCRIPTION, selectPluginPresetParams, SELECT_PLUGIN_PRESET_DESCRIPTION, getPluginParametersParams, GET_PLUGIN_PARAMETERS_DESCRIPTION, setPluginParametersShape, setPluginParametersParams, SET_PLUGIN_PARAMETERS_DESCRIPTION } from "./timeline-tool-params.js";
|
|
27
29
|
import { strictParams } from "./ui-tool-contract.js";
|
|
28
30
|
const animationRole = z.enum(["in", "out", "emphasis", "loop"]);
|
|
29
31
|
const customCurvesParam = (animatedProperties) => z
|
|
@@ -118,6 +120,7 @@ export const CLIP_PARAM_KEYS = [
|
|
|
118
120
|
"durationMs",
|
|
119
121
|
"inPointMs",
|
|
120
122
|
"outPointMs",
|
|
123
|
+
"maxSourceDurationMs",
|
|
121
124
|
"opacity",
|
|
122
125
|
"transform",
|
|
123
126
|
"speedMultiplier",
|
|
@@ -166,8 +169,17 @@ export function rejectUnknownClipParams(patch) {
|
|
|
166
169
|
function makeTimelineToolContracts(vocab) {
|
|
167
170
|
return {
|
|
168
171
|
ui_timeline_get_state: {
|
|
169
|
-
description: "Read the specified timeline sequence: resolution + fps + duration, the playhead position, the current selection, every track, and every clip with its timing, media type, generation binding (prompt/provider/model/status) and render params. Call this first to discover what's on the timeline and to get the ids/names other timeline tools need.",
|
|
170
|
-
shape: {
|
|
172
|
+
description: "Read the specified timeline sequence: resolution + fps + duration, the playhead position, the current selection, every track, and every clip with its timing, media type, generation binding (prompt/provider/model/status) and render params. Call this first to discover what's on the timeline and to get the ids/names other timeline tools need. It also reports the master bus and the project key. Send `clip` to read a midi clip's notes and controller lanes, or `track` to read a track's automation, effects and instrument.",
|
|
173
|
+
shape: {
|
|
174
|
+
clip: z
|
|
175
|
+
.string()
|
|
176
|
+
.optional()
|
|
177
|
+
.describe("A midi clip to read in full: every note with its id, tick, pitch and velocity, and every controller lane. Send the id or name."),
|
|
178
|
+
track: z
|
|
179
|
+
.string()
|
|
180
|
+
.optional()
|
|
181
|
+
.describe("A track to read in full: its automation lanes with every point, its insert effects and its instrument. Send the id or name.")
|
|
182
|
+
}
|
|
171
183
|
},
|
|
172
184
|
ui_timeline_add_track: {
|
|
173
185
|
description: ADD_TRACK_DESCRIPTION,
|
|
@@ -187,7 +199,7 @@ function makeTimelineToolContracts(vocab) {
|
|
|
187
199
|
finalize: strictParams
|
|
188
200
|
},
|
|
189
201
|
ui_timeline_set_track: {
|
|
190
|
-
description: "Change a track's own settings: `name`, `muted`, `solo`, `locked`, `visible`, `volumeDb` (the channel fader, audio and midi tracks only), `pan` (-1 left to 1 right, audio and midi tracks only)
|
|
202
|
+
description: "Change a track's own settings: `name`, `muted`, `solo`, `locked`, `visible`, `volumeDb` (the channel fader, audio and midi tracks only), `pan` (-1 left to 1 right, audio and midi tracks only), `heightPx` (the row height in the editor), `effects` (the track's whole insert chain, in order; `[]` removes it), `folder` (a track folder by name, created when missing; `null` takes the track out of its folder), `musicRole` (the stem the track holds in a music project, `null` clears it), `automationMode` and `automation` (its automation lanes, each replaced by target; an empty `points` removes the lane). Name the track `master` for the master bus, which takes `volumeDb`, `pan` and `effects` only. Send only the fields to change. Mute and volume here apply to every clip on the track; use ui_timeline_set_clip_params for one clip. A locked track refuses every other edit, so unlock it in its own call first.",
|
|
191
203
|
shape: {
|
|
192
204
|
track: z.string().describe("Track id or name (case-insensitive)."),
|
|
193
205
|
name: z.string().min(1).optional(),
|
|
@@ -197,9 +209,21 @@ function makeTimelineToolContracts(vocab) {
|
|
|
197
209
|
visible: z.boolean().optional(),
|
|
198
210
|
volumeDb: z.number().min(-60).max(12).optional(),
|
|
199
211
|
pan: z.number().min(-1).max(1).optional(),
|
|
200
|
-
heightPx: z.number().min(24).max(300).optional()
|
|
212
|
+
heightPx: z.number().min(24).max(300).optional(),
|
|
213
|
+
...setTrackMixShape
|
|
201
214
|
},
|
|
202
|
-
finalize: strictParams
|
|
215
|
+
finalize: (schema) => strictParams(schema).superRefine((p, ctx) => {
|
|
216
|
+
if (isRecord(p) &&
|
|
217
|
+
p.automationEdit !== undefined &&
|
|
218
|
+
Object.entries(p).some(([key, value]) => !["track", "automationEdit"].includes(key) &&
|
|
219
|
+
value !== undefined)) {
|
|
220
|
+
ctx.addIssue({
|
|
221
|
+
code: "custom",
|
|
222
|
+
message: "automationEdit must be sent alone with track.",
|
|
223
|
+
path: ["automationEdit"]
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
})
|
|
203
227
|
},
|
|
204
228
|
ui_timeline_ripple_delete: {
|
|
205
229
|
description: "Delete clips and close the hole they leave: every clip on an unlocked track that starts after a removed span moves left by its length, on every track, so voiceover and captions stay in sync with the picture. Use ui_timeline_delete_clip to leave the gap. Link groups move whole; when closing a span would separate one, the clips are still removed and that span stays open, and the result says so.",
|
|
@@ -229,11 +253,12 @@ function makeTimelineToolContracts(vocab) {
|
|
|
229
253
|
finalize: strictParams
|
|
230
254
|
},
|
|
231
255
|
ui_timeline_add_media_clip: {
|
|
232
|
-
description: "Place an existing asset — a video, image, or audio file already in the library — on the specified timeline sequence. `asset` is an asset id or `asset://<id>.<ext>` URI (list_assets returns both). Without a track the clip lands on a track matching its media kind, creating one when needed; without `startMs` it is appended after that track's existing content, so calling this once per asset lays them end to end. Duration comes from the asset unless `durationMs` overrides it.",
|
|
256
|
+
description: "Place an existing asset — a video, image, or audio file already in the library — on the specified timeline sequence. `asset` is an asset id or `asset://<id>.<ext>` URI (list_assets returns both). Without a track the clip lands on a track matching its media kind, creating one when needed; without `startMs` it is appended after that track's existing content, so calling this once per asset lays them end to end. Duration comes from the asset unless `durationMs` overrides it. `atBar` (with optional `beat`) places the clip at a bar position instead of `startMs`.",
|
|
233
257
|
shape: {
|
|
234
258
|
asset: z.string().trim().min(1),
|
|
235
259
|
trackId: z.string().optional(),
|
|
236
260
|
startMs: z.number().nonnegative().optional(),
|
|
261
|
+
...barTimeShape,
|
|
237
262
|
durationMs: z.number().positive().optional(),
|
|
238
263
|
name: z.string().optional(),
|
|
239
264
|
transform: clipTransformPatchParam
|
|
@@ -291,7 +316,52 @@ function makeTimelineToolContracts(vocab) {
|
|
|
291
316
|
description: SET_MODEL3D_STYLE_DESCRIPTION,
|
|
292
317
|
shape: {
|
|
293
318
|
target: targetParam,
|
|
294
|
-
patch: model3dStyleParams
|
|
319
|
+
patch: model3dStyleParams,
|
|
320
|
+
keyAtMs: z
|
|
321
|
+
.number()
|
|
322
|
+
.nonnegative()
|
|
323
|
+
.optional()
|
|
324
|
+
.describe("Key the free camera at this time, in milliseconds from the " +
|
|
325
|
+
"clip's start, instead of changing its resting pose. Needs " +
|
|
326
|
+
'camera mode "free".'),
|
|
327
|
+
keyEasing: z
|
|
328
|
+
.string()
|
|
329
|
+
.optional()
|
|
330
|
+
.describe("With keyAtMs: the easing of the move arriving at this key, " +
|
|
331
|
+
'such as "easeInOut". Linear when absent.')
|
|
332
|
+
},
|
|
333
|
+
finalize: strictParams
|
|
334
|
+
},
|
|
335
|
+
ui_timeline_apply_model3d_camera_move: {
|
|
336
|
+
description: APPLY_MODEL3D_CAMERA_MOVE_DESCRIPTION,
|
|
337
|
+
shape: {
|
|
338
|
+
target: targetParam,
|
|
339
|
+
move: z
|
|
340
|
+
.enum(MODEL3D_CAMERA_MOVE_IDS)
|
|
341
|
+
.describe("The move to key."),
|
|
342
|
+
amount: z
|
|
343
|
+
.number()
|
|
344
|
+
.optional()
|
|
345
|
+
.describe("How far, in the move's unit: degrees, a fraction of the " +
|
|
346
|
+
"eye-to-target distance, or a focal-length multiplier. The " +
|
|
347
|
+
"move's default when absent."),
|
|
348
|
+
startMs: z
|
|
349
|
+
.number()
|
|
350
|
+
.nonnegative()
|
|
351
|
+
.optional()
|
|
352
|
+
.describe("When the move starts, in milliseconds from the clip's start. " +
|
|
353
|
+
"Default 0."),
|
|
354
|
+
durationMs: z
|
|
355
|
+
.number()
|
|
356
|
+
.positive()
|
|
357
|
+
.optional()
|
|
358
|
+
.describe("How long the move runs, in milliseconds. Default the rest of " +
|
|
359
|
+
"the clip."),
|
|
360
|
+
easing: z
|
|
361
|
+
.string()
|
|
362
|
+
.optional()
|
|
363
|
+
.describe('Easing over the whole move, such as "easeInOut". Linear ' +
|
|
364
|
+
"when absent.")
|
|
295
365
|
},
|
|
296
366
|
finalize: strictParams
|
|
297
367
|
},
|
|
@@ -302,6 +372,21 @@ function makeTimelineToolContracts(vocab) {
|
|
|
302
372
|
},
|
|
303
373
|
finalize: strictParams
|
|
304
374
|
},
|
|
375
|
+
ui_timeline_render_model3d_reference: {
|
|
376
|
+
description: RENDER_MODEL3D_REFERENCE_DESCRIPTION,
|
|
377
|
+
shape: {
|
|
378
|
+
target: targetParam,
|
|
379
|
+
pass: z
|
|
380
|
+
.enum(["clay", "depth", "normal"])
|
|
381
|
+
.optional()
|
|
382
|
+
.describe('What each frame draws. "clay" when absent.'),
|
|
383
|
+
force: z
|
|
384
|
+
.boolean()
|
|
385
|
+
.optional()
|
|
386
|
+
.describe("Render even when the stored reference reads as current.")
|
|
387
|
+
},
|
|
388
|
+
finalize: strictParams
|
|
389
|
+
},
|
|
305
390
|
ui_timeline_generate_clip: {
|
|
306
391
|
description: 'Generate a new media clip from a text prompt and place it on the specified timeline sequence. `kind` is text-to-video, text-to-image, or text-to-audio (TTS). Provide `provider` and `model` (discover valid ones with the model-search tool); when omitted the last-used model for that media kind is reused. `voice` is required for text-to-audio. Without a track the clip lands on a sensible track for its media kind; without `startMs` it is appended after the track\'s existing content. Generation starts immediately unless `autoGenerate` is false. For text-to-video, `aspectRatio` (e.g. "16:9") and `resolution` (e.g. "720p") and `durationMs` are honoured by video models.',
|
|
307
392
|
shape: {
|
|
@@ -340,26 +425,31 @@ function makeTimelineToolContracts(vocab) {
|
|
|
340
425
|
finalize: strictParams
|
|
341
426
|
},
|
|
342
427
|
ui_timeline_split_clip: {
|
|
343
|
-
description: "Cut a clip in two at the given time (the razor tool). `atMs` is an absolute time on the timeline and must fall inside the clip; omit it to split at the current playhead. Returns the two resulting halves.",
|
|
428
|
+
description: "Cut a clip in two at the given time (the razor tool). `atMs` is an absolute time on the timeline and must fall inside the clip; omit it to split at the current playhead. `atBar` (with optional `beat`) names the cut as a bar position instead of `atMs`. A midi clip splits its content: the left clip keeps the notes, controllers and expression that start before the cut, the right clip the rest, re-based to its own start. A note that crosses the cut ends at the cut (`crossing` \"shorten\", the default) or, with `crossing` \"split\", also continues as a note at the start of the right clip. Returns the two resulting halves.",
|
|
344
429
|
shape: {
|
|
345
430
|
target: targetParam,
|
|
346
|
-
atMs: z.number().optional()
|
|
431
|
+
atMs: z.number().optional(),
|
|
432
|
+
...barTimeShape,
|
|
433
|
+
crossing: z.enum(["shorten", "split"]).optional()
|
|
347
434
|
}
|
|
348
435
|
},
|
|
349
436
|
ui_timeline_trim_clip: {
|
|
350
|
-
description: "Trim a clip's length or its source in/out points. `durationMs` sets the on-timeline length; `inPointMs`/`outPointMs` set the trimmed source window (ms into the source media). Omit a field to leave it unchanged.",
|
|
437
|
+
description: "Trim a clip's length or its source in/out points. `startMs` trims the clip's left edge (head) to that timeline position while keeping its end fixed (advancing `inPointMs`, or `patternPhaseTicks` on a pattern region); `durationMs` sets the on-timeline length; `inPointMs`/`outPointMs` set the trimmed source window (ms into the source media). `atBar` (with optional `beat`) ends the clip at that bar position instead of `durationMs`. Omit a field to leave it unchanged.",
|
|
351
438
|
shape: {
|
|
352
439
|
target: targetParam,
|
|
440
|
+
startMs: z.number().finite().min(0).optional(),
|
|
353
441
|
durationMs: z.number().optional(),
|
|
354
442
|
inPointMs: z.number().optional(),
|
|
355
|
-
outPointMs: z.number().optional()
|
|
443
|
+
outPointMs: z.number().optional(),
|
|
444
|
+
...barTimeShape
|
|
356
445
|
}
|
|
357
446
|
},
|
|
358
447
|
ui_timeline_move_clip: {
|
|
359
|
-
description: "Move a clip to a new absolute start time and/or onto a different track. `startMs` is the new start on the timeline (ms, clamped to >= 0); `trackId` reassigns the track. Omit a field to leave it unchanged.",
|
|
448
|
+
description: "Move a clip to a new absolute start time and/or onto a different track. `startMs` is the new start on the timeline (ms, clamped to >= 0); `trackId` reassigns the track. `atBar` (with optional `beat`) gives the new start as a bar position instead of `startMs`. Omit a field to leave it unchanged.",
|
|
360
449
|
shape: {
|
|
361
450
|
target: targetParam,
|
|
362
451
|
startMs: z.number().optional(),
|
|
452
|
+
...barTimeShape,
|
|
363
453
|
trackId: z.string().optional()
|
|
364
454
|
}
|
|
365
455
|
},
|
|
@@ -368,14 +458,16 @@ function makeTimelineToolContracts(vocab) {
|
|
|
368
458
|
shape: { target: targetParam }
|
|
369
459
|
},
|
|
370
460
|
ui_timeline_duplicate_clip: {
|
|
371
|
-
description: "Duplicate a clip. The copy is placed immediately after the source (add `gapMs` for a gap) and keeps its generation binding so you can tweak the copy for a variation.",
|
|
461
|
+
description: "Duplicate a clip. The copy is placed immediately after the source (add `gapMs` for a gap) and keeps its generation binding so you can tweak the copy for a variation. `count` (1..64, default 1) makes that many copies back to back, each starting where the previous ends. `atBar` (with optional `beat`) places the first copy at a bar position instead of right after the source.",
|
|
372
462
|
shape: {
|
|
373
463
|
target: targetParam,
|
|
374
|
-
gapMs: z.number().finite().optional()
|
|
464
|
+
gapMs: z.number().finite().optional(),
|
|
465
|
+
count: z.number().int().min(1).max(64).optional(),
|
|
466
|
+
...barTimeShape
|
|
375
467
|
}
|
|
376
468
|
},
|
|
377
469
|
ui_timeline_set_clip_params: {
|
|
378
|
-
description: "Change a clip's render/audio params: `name`, `opacity` (0..1), `speedMultiplier` (0.1..8), `volumeDb`, `fadeInMs`, `fadeOutMs` (fade the audio and, on a visual clip, the picture), `fadeInShape`/`fadeOutShape` (`linear`, `sCurve`, `plus3dB`, `minus3dB`), `audioEffects` (the clip's whole real-time audio chain, in order: `gain`, `eq3`, `filter`, `compressor`, `echo`, `reverb`, `distortion`; `[]` removes them), `blendMode`, `borderRadius`, `hidden`, `muted`, `locked`, a text clip's `textStyle`, a shape clip's `shapeStyle`, or a caption clip's `captionStyle`. `fontSizePx` is shorthand for `textStyle.fontSizePx`. Timing is accepted too and applied as trim_clip/move_clip would: `durationMs`, `inPointMs`, `outPointMs`, `startMs`, `trackId`. A key this tool does not know is refused by name rather than ignored. Omit a field to leave it unchanged.",
|
|
470
|
+
description: "Change a clip's render/audio params: `name`, `opacity` (0..1), `speedMultiplier` (0.1..8), `volumeDb`, `fadeInMs`, `fadeOutMs` (fade the audio and, on a visual clip, the picture), `fadeInShape`/`fadeOutShape` (`linear`, `sCurve`, `plus3dB`, `minus3dB`), `audioEffects` (the clip's whole real-time audio chain, in order: `gain`, `eq3`, `filter`, `compressor`, `echo`, `reverb`, `distortion`; `[]` removes them), `blendMode`, `borderRadius`, `hidden`, `muted`, `locked`, `labelColor` (a CSS colour that tags the clip, `null` clears it; it does not change the picture), the non-destructive midi region params `transpose` (-48..48 semitones), `velocityOffset` (-127..127) and `quantize` (`{ grid: 1/4|1/8|1/16|1/32|1/8T|1/16T, strength: 0..100 }`), each cleared with `null`; they change what the clip plays and exports, not its stored notes, a text clip's `textStyle`, a shape clip's `shapeStyle`, or a caption clip's `captionStyle`. `fontSizePx` is shorthand for `textStyle.fontSizePx`. Timing is accepted too and applied as trim_clip/move_clip would: `durationMs`, `inPointMs`, `outPointMs`, `startMs`, `trackId`. A key this tool does not know is refused by name rather than ignored. Omit a field to leave it unchanged.",
|
|
379
471
|
shape: {
|
|
380
472
|
target: targetParam,
|
|
381
473
|
startMs: z.number().optional(),
|
|
@@ -383,7 +475,8 @@ function makeTimelineToolContracts(vocab) {
|
|
|
383
475
|
durationMs: z.number().optional(),
|
|
384
476
|
inPointMs: z.number().optional(),
|
|
385
477
|
outPointMs: z.number().optional(),
|
|
386
|
-
|
|
478
|
+
maxSourceDurationMs: z.number().finite().positive().optional(),
|
|
479
|
+
fontSizePx: z.number().finite().positive().optional(),
|
|
387
480
|
name: z.string().optional(),
|
|
388
481
|
opacity: z.number().min(0).max(1).optional(),
|
|
389
482
|
transform: clipTransformPatchParam,
|
|
@@ -394,11 +487,21 @@ function makeTimelineToolContracts(vocab) {
|
|
|
394
487
|
fadeInShape: clipFadeShapeEnum.optional(),
|
|
395
488
|
fadeOutShape: clipFadeShapeEnum.optional(),
|
|
396
489
|
audioEffects: z.array(clipAudioEffect).optional(),
|
|
397
|
-
blendMode: z.
|
|
398
|
-
borderRadius: z.number().optional(),
|
|
490
|
+
blendMode: z.enum(BLEND_MODE_TUPLE).nullable().optional(),
|
|
491
|
+
borderRadius: z.number().finite().min(0).optional(),
|
|
399
492
|
hidden: z.boolean().optional(),
|
|
400
493
|
muted: z.boolean().optional(),
|
|
401
494
|
locked: z.boolean().optional(),
|
|
495
|
+
labelColor: z.string().min(1).max(64).nullable().optional(),
|
|
496
|
+
transpose: z.number().int().min(-48).max(48).nullable().optional(),
|
|
497
|
+
velocityOffset: z.number().int().min(-127).max(127).nullable().optional(),
|
|
498
|
+
quantize: z
|
|
499
|
+
.object({
|
|
500
|
+
grid: z.enum(QUANTIZE_DIVISION_VALUES),
|
|
501
|
+
strength: z.number().min(0).max(100)
|
|
502
|
+
})
|
|
503
|
+
.nullable()
|
|
504
|
+
.optional(),
|
|
402
505
|
textStyle: textStyleParams.optional(),
|
|
403
506
|
shapeStyle: shapeStyleParams.optional(),
|
|
404
507
|
captionStyle: captionStyleParams.optional()
|
|
@@ -675,7 +778,7 @@ function makeTimelineToolContracts(vocab) {
|
|
|
675
778
|
shape: addMidiClipParams.shape
|
|
676
779
|
},
|
|
677
780
|
ui_timeline_set_notes: {
|
|
678
|
-
description:
|
|
781
|
+
description: SET_NOTES_DESCRIPTION,
|
|
679
782
|
shape: setNotesParams.shape
|
|
680
783
|
},
|
|
681
784
|
ui_timeline_set_tempo: {
|
|
@@ -698,6 +801,79 @@ function makeTimelineToolContracts(vocab) {
|
|
|
698
801
|
description: SCALE_VELOCITY_DESCRIPTION,
|
|
699
802
|
shape: scaleVelocityParams.shape
|
|
700
803
|
},
|
|
804
|
+
ui_timeline_set_chords: {
|
|
805
|
+
description: SET_CHORDS_DESCRIPTION,
|
|
806
|
+
shape: setChordsParams.shape,
|
|
807
|
+
finalize: strictParams
|
|
808
|
+
},
|
|
809
|
+
ui_timeline_clear_chords: {
|
|
810
|
+
description: CLEAR_CHORDS_DESCRIPTION,
|
|
811
|
+
shape: clearChordsParams.shape,
|
|
812
|
+
finalize: strictParams
|
|
813
|
+
},
|
|
814
|
+
ui_timeline_loop_clip: {
|
|
815
|
+
description: LOOP_CLIP_DESCRIPTION,
|
|
816
|
+
shape: loopClipParams.shape,
|
|
817
|
+
finalize: strictParams
|
|
818
|
+
},
|
|
819
|
+
ui_timeline_join_clips: {
|
|
820
|
+
description: JOIN_CLIPS_DESCRIPTION,
|
|
821
|
+
shape: joinClipsParams.shape,
|
|
822
|
+
finalize: strictParams
|
|
823
|
+
},
|
|
824
|
+
ui_timeline_insert_time: {
|
|
825
|
+
description: INSERT_TIME_DESCRIPTION,
|
|
826
|
+
shape: insertTimeParams.shape,
|
|
827
|
+
finalize: strictParams
|
|
828
|
+
},
|
|
829
|
+
ui_timeline_delete_time: {
|
|
830
|
+
description: DELETE_TIME_DESCRIPTION,
|
|
831
|
+
shape: deleteTimeParams.shape,
|
|
832
|
+
finalize: strictParams
|
|
833
|
+
},
|
|
834
|
+
ui_timeline_duplicate_range: {
|
|
835
|
+
description: DUPLICATE_RANGE_DESCRIPTION,
|
|
836
|
+
shape: duplicateRangeParams.shape,
|
|
837
|
+
finalize: strictParams
|
|
838
|
+
},
|
|
839
|
+
ui_timeline_paste_range: {
|
|
840
|
+
description: PASTE_RANGE_DESCRIPTION,
|
|
841
|
+
shape: pasteRangeParams.shape,
|
|
842
|
+
finalize: strictParams
|
|
843
|
+
},
|
|
844
|
+
ui_timeline_list_progressions: {
|
|
845
|
+
description: LIST_PROGRESSIONS_DESCRIPTION,
|
|
846
|
+
shape: {}
|
|
847
|
+
},
|
|
848
|
+
ui_timeline_apply_progression: {
|
|
849
|
+
description: APPLY_PROGRESSION_DESCRIPTION,
|
|
850
|
+
shape: applyProgressionParams.shape,
|
|
851
|
+
finalize: strictParams
|
|
852
|
+
},
|
|
853
|
+
ui_timeline_transpose_chords: {
|
|
854
|
+
description: TRANSPOSE_CHORDS_DESCRIPTION,
|
|
855
|
+
shape: transposeChordsParams.shape,
|
|
856
|
+
finalize: strictParams
|
|
857
|
+
},
|
|
858
|
+
ui_timeline_detect_chords: {
|
|
859
|
+
description: DETECT_CHORDS_DESCRIPTION,
|
|
860
|
+
shape: detectChordsParams.shape,
|
|
861
|
+
finalize: strictParams
|
|
862
|
+
},
|
|
863
|
+
ui_timeline_set_clip_harmony: {
|
|
864
|
+
description: SET_CLIP_HARMONY_DESCRIPTION,
|
|
865
|
+
shape: setClipHarmonyParams.shape,
|
|
866
|
+
finalize: strictParams
|
|
867
|
+
},
|
|
868
|
+
ui_timeline_list_harmony_presets: {
|
|
869
|
+
description: LIST_HARMONY_PRESETS_DESCRIPTION,
|
|
870
|
+
shape: {}
|
|
871
|
+
},
|
|
872
|
+
ui_timeline_fit_notes_to_chords: {
|
|
873
|
+
description: FIT_NOTES_TO_CHORDS_DESCRIPTION,
|
|
874
|
+
shape: fitNotesToChordsParams.shape,
|
|
875
|
+
finalize: strictParams
|
|
876
|
+
},
|
|
701
877
|
ui_timeline_retarget_format: {
|
|
702
878
|
description: "Create a new sequence adapted to another aspect ratio without changing the source sequence. Center uses a static centered crop. Smart derives source-time framing paths from current subject tracks or authored framing and refuses clips with neither signal. Track follows the per-clip MediaTrack ids in `track_ids`. Timing, audio, cuts, effects, takes, captions, markers and tracking are preserved.",
|
|
703
879
|
shape: retargetFormatParams.shape,
|
|
@@ -717,6 +893,208 @@ function makeTimelineToolContracts(vocab) {
|
|
|
717
893
|
description: "Remove Smart Reframe state from one clip while leaving its source asset, timing, static crop, transform and every other editorial property unchanged.",
|
|
718
894
|
shape: clearReframeParams.shape,
|
|
719
895
|
finalize: strictParams
|
|
896
|
+
},
|
|
897
|
+
// ── Step Sequencer (SQ48–SQ54) ───────────────────────────────────────
|
|
898
|
+
ui_timeline_get_pattern: {
|
|
899
|
+
description: GET_PATTERN_DESCRIPTION,
|
|
900
|
+
shape: getPatternParams.shape,
|
|
901
|
+
finalize: strictParams
|
|
902
|
+
},
|
|
903
|
+
ui_timeline_create_pattern_region: {
|
|
904
|
+
description: CREATE_PATTERN_REGION_DESCRIPTION,
|
|
905
|
+
shape: createPatternRegionParams.shape,
|
|
906
|
+
finalize: strictParams
|
|
907
|
+
},
|
|
908
|
+
ui_timeline_convert_pattern_to_midi: {
|
|
909
|
+
description: CONVERT_PATTERN_TO_MIDI_DESCRIPTION,
|
|
910
|
+
shape: convertPatternToMidiParams.shape,
|
|
911
|
+
finalize: strictParams
|
|
912
|
+
},
|
|
913
|
+
ui_timeline_convert_midi_to_pattern: {
|
|
914
|
+
description: CONVERT_MIDI_TO_PATTERN_DESCRIPTION,
|
|
915
|
+
shape: convertMidiToPatternParams.shape,
|
|
916
|
+
finalize: strictParams
|
|
917
|
+
},
|
|
918
|
+
ui_timeline_separate_pattern_rows: {
|
|
919
|
+
description: SEPARATE_PATTERN_ROWS_DESCRIPTION,
|
|
920
|
+
shape: separatePatternRowsParams.shape,
|
|
921
|
+
finalize: strictParams
|
|
922
|
+
},
|
|
923
|
+
ui_timeline_set_pattern: {
|
|
924
|
+
description: SET_PATTERN_DESCRIPTION,
|
|
925
|
+
shape: setPatternParams.shape,
|
|
926
|
+
finalize: strictParams
|
|
927
|
+
},
|
|
928
|
+
ui_timeline_set_pattern_seed: {
|
|
929
|
+
description: SET_PATTERN_SEED_DESCRIPTION,
|
|
930
|
+
shape: setPatternSeedParams.shape,
|
|
931
|
+
finalize: strictParams
|
|
932
|
+
},
|
|
933
|
+
ui_timeline_add_pattern_rows: {
|
|
934
|
+
description: ADD_PATTERN_ROWS_DESCRIPTION,
|
|
935
|
+
shape: addPatternRowsParams.shape,
|
|
936
|
+
finalize: strictParams
|
|
937
|
+
},
|
|
938
|
+
ui_timeline_set_pattern_row: {
|
|
939
|
+
description: SET_PATTERN_ROW_DESCRIPTION,
|
|
940
|
+
shape: setPatternRowParams.shape,
|
|
941
|
+
finalize: strictParams
|
|
942
|
+
},
|
|
943
|
+
ui_timeline_remove_pattern_rows: {
|
|
944
|
+
description: REMOVE_PATTERN_ROWS_DESCRIPTION,
|
|
945
|
+
shape: removePatternRowsParams.shape,
|
|
946
|
+
finalize: strictParams
|
|
947
|
+
},
|
|
948
|
+
ui_timeline_move_pattern_row: {
|
|
949
|
+
description: MOVE_PATTERN_ROW_DESCRIPTION,
|
|
950
|
+
shape: movePatternRowParams.shape,
|
|
951
|
+
finalize: strictParams
|
|
952
|
+
},
|
|
953
|
+
ui_timeline_sort_pattern_rows: {
|
|
954
|
+
description: SORT_PATTERN_ROWS_DESCRIPTION,
|
|
955
|
+
shape: sortPatternRowsParams.shape,
|
|
956
|
+
finalize: strictParams
|
|
957
|
+
},
|
|
958
|
+
ui_timeline_set_pattern_row_sort: {
|
|
959
|
+
description: SET_PATTERN_ROW_SORT_DESCRIPTION,
|
|
960
|
+
shape: setPatternRowSortParams.shape,
|
|
961
|
+
finalize: strictParams
|
|
962
|
+
},
|
|
963
|
+
ui_timeline_copy_pattern_row: {
|
|
964
|
+
description: COPY_PATTERN_ROW_DESCRIPTION,
|
|
965
|
+
shape: copyPatternRowParams.shape,
|
|
966
|
+
finalize: strictParams
|
|
967
|
+
},
|
|
968
|
+
ui_timeline_set_steps: {
|
|
969
|
+
description: SET_STEPS_DESCRIPTION,
|
|
970
|
+
shape: setStepsParams.shape,
|
|
971
|
+
finalize: strictParams
|
|
972
|
+
},
|
|
973
|
+
ui_timeline_set_pattern_text: {
|
|
974
|
+
description: SET_PATTERN_TEXT_DESCRIPTION,
|
|
975
|
+
shape: setPatternTextParams.shape,
|
|
976
|
+
finalize: strictParams
|
|
977
|
+
},
|
|
978
|
+
ui_timeline_clear_pattern: {
|
|
979
|
+
description: CLEAR_PATTERN_DESCRIPTION,
|
|
980
|
+
shape: clearPatternParams.shape,
|
|
981
|
+
finalize: strictParams
|
|
982
|
+
},
|
|
983
|
+
ui_timeline_copy_steps: {
|
|
984
|
+
description: COPY_STEPS_DESCRIPTION,
|
|
985
|
+
shape: copyStepsParams.shape,
|
|
986
|
+
finalize: strictParams
|
|
987
|
+
},
|
|
988
|
+
ui_timeline_repeat_step: {
|
|
989
|
+
description: REPEAT_STEP_DESCRIPTION,
|
|
990
|
+
shape: repeatStepParams.shape,
|
|
991
|
+
finalize: strictParams
|
|
992
|
+
},
|
|
993
|
+
ui_timeline_rotate_pattern: {
|
|
994
|
+
description: ROTATE_PATTERN_DESCRIPTION,
|
|
995
|
+
shape: rotatePatternParams.shape,
|
|
996
|
+
finalize: strictParams
|
|
997
|
+
},
|
|
998
|
+
ui_timeline_transpose_pattern: {
|
|
999
|
+
description: TRANSPOSE_PATTERN_DESCRIPTION,
|
|
1000
|
+
shape: transposePatternParams.shape,
|
|
1001
|
+
finalize: strictParams
|
|
1002
|
+
},
|
|
1003
|
+
ui_timeline_randomize_pattern: {
|
|
1004
|
+
description: RANDOMIZE_PATTERN_DESCRIPTION,
|
|
1005
|
+
shape: randomizePatternParams.shape,
|
|
1006
|
+
finalize: strictParams
|
|
1007
|
+
},
|
|
1008
|
+
ui_timeline_nudge_pattern_values: {
|
|
1009
|
+
description: NUDGE_PATTERN_VALUES_DESCRIPTION,
|
|
1010
|
+
shape: nudgePatternValuesParams.shape,
|
|
1011
|
+
finalize: strictParams
|
|
1012
|
+
},
|
|
1013
|
+
ui_timeline_tie_steps: {
|
|
1014
|
+
description: TIE_STEPS_DESCRIPTION,
|
|
1015
|
+
shape: tieStepsParams.shape,
|
|
1016
|
+
finalize: strictParams
|
|
1017
|
+
},
|
|
1018
|
+
ui_timeline_list_step_patterns: {
|
|
1019
|
+
description: LIST_STEP_PATTERNS_DESCRIPTION,
|
|
1020
|
+
shape: listStepPatternsParams.shape,
|
|
1021
|
+
finalize: strictParams
|
|
1022
|
+
},
|
|
1023
|
+
ui_timeline_apply_step_pattern: {
|
|
1024
|
+
description: APPLY_STEP_PATTERN_DESCRIPTION,
|
|
1025
|
+
shape: applyStepPatternParams.shape,
|
|
1026
|
+
finalize: strictParams
|
|
1027
|
+
},
|
|
1028
|
+
ui_timeline_save_step_pattern: {
|
|
1029
|
+
description: SAVE_STEP_PATTERN_DESCRIPTION,
|
|
1030
|
+
shape: saveStepPatternParams.shape,
|
|
1031
|
+
finalize: strictParams
|
|
1032
|
+
},
|
|
1033
|
+
ui_timeline_set_track_step_template: {
|
|
1034
|
+
description: SET_TRACK_STEP_TEMPLATE_DESCRIPTION,
|
|
1035
|
+
shape: setTrackStepTemplateParams.shape,
|
|
1036
|
+
finalize: strictParams
|
|
1037
|
+
},
|
|
1038
|
+
ui_timeline_create_step_pattern_folder: {
|
|
1039
|
+
description: CREATE_STEP_PATTERN_FOLDER_DESCRIPTION,
|
|
1040
|
+
shape: createStepPatternFolderParams.shape,
|
|
1041
|
+
finalize: strictParams
|
|
1042
|
+
},
|
|
1043
|
+
ui_timeline_rename_step_pattern_folder: {
|
|
1044
|
+
description: RENAME_STEP_PATTERN_FOLDER_DESCRIPTION,
|
|
1045
|
+
shape: renameStepPatternFolderParams.shape,
|
|
1046
|
+
finalize: strictParams
|
|
1047
|
+
},
|
|
1048
|
+
ui_timeline_delete_step_pattern_folder: {
|
|
1049
|
+
description: DELETE_STEP_PATTERN_FOLDER_DESCRIPTION,
|
|
1050
|
+
shape: deleteStepPatternFolderParams.shape,
|
|
1051
|
+
finalize: strictParams
|
|
1052
|
+
},
|
|
1053
|
+
ui_timeline_move_step_pattern: {
|
|
1054
|
+
description: MOVE_STEP_PATTERN_DESCRIPTION,
|
|
1055
|
+
shape: moveStepPatternParams.shape,
|
|
1056
|
+
finalize: strictParams
|
|
1057
|
+
},
|
|
1058
|
+
ui_timeline_list_plugins: {
|
|
1059
|
+
description: LIST_PLUGINS_DESCRIPTION,
|
|
1060
|
+
shape: listPluginsParams.shape,
|
|
1061
|
+
finalize: strictParams
|
|
1062
|
+
},
|
|
1063
|
+
ui_timeline_load_plugin: {
|
|
1064
|
+
description: LOAD_PLUGIN_DESCRIPTION,
|
|
1065
|
+
shape: loadPluginParams.shape,
|
|
1066
|
+
finalize: strictParams
|
|
1067
|
+
},
|
|
1068
|
+
ui_timeline_list_plugin_presets: {
|
|
1069
|
+
description: LIST_PLUGIN_PRESETS_DESCRIPTION,
|
|
1070
|
+
shape: listPluginPresetsParams.shape,
|
|
1071
|
+
finalize: strictParams
|
|
1072
|
+
},
|
|
1073
|
+
ui_timeline_select_plugin_preset: {
|
|
1074
|
+
description: SELECT_PLUGIN_PRESET_DESCRIPTION,
|
|
1075
|
+
shape: selectPluginPresetParams.shape,
|
|
1076
|
+
finalize: strictParams
|
|
1077
|
+
},
|
|
1078
|
+
ui_timeline_get_plugin_parameters: {
|
|
1079
|
+
description: GET_PLUGIN_PARAMETERS_DESCRIPTION,
|
|
1080
|
+
shape: getPluginParametersParams.shape,
|
|
1081
|
+
finalize: strictParams
|
|
1082
|
+
},
|
|
1083
|
+
ui_timeline_set_plugin_parameters: {
|
|
1084
|
+
description: SET_PLUGIN_PARAMETERS_DESCRIPTION,
|
|
1085
|
+
shape: setPluginParametersShape,
|
|
1086
|
+
finalize: (schema) => schema.strict().superRefine((input, ctx) => {
|
|
1087
|
+
const parsed = setPluginParametersParams.safeParse(input);
|
|
1088
|
+
if (!parsed.success) {
|
|
1089
|
+
for (const issue of parsed.error.issues) {
|
|
1090
|
+
ctx.addIssue({
|
|
1091
|
+
code: "custom",
|
|
1092
|
+
path: issue.path,
|
|
1093
|
+
message: issue.message
|
|
1094
|
+
});
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
})
|
|
720
1098
|
}
|
|
721
1099
|
};
|
|
722
1100
|
}
|