@popcraft/cli 0.54.0 → 0.55.1

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 (2) hide show
  1. package/dist/popcraft.mjs +61 -15
  2. package/package.json +2 -2
package/dist/popcraft.mjs CHANGED
@@ -1198,7 +1198,7 @@ function operations(spec = openapi) {
1198
1198
  }
1199
1199
  async function call(target2, method, path, opts = {}) {
1200
1200
  const qs = new URLSearchParams(opts.query ?? {}).toString();
1201
- const headers = { "user-agent": `popcraft-cli/${"0.54.0"}`, ...opts.headers };
1201
+ const headers = { "user-agent": `popcraft-cli/${"0.55.1"}`, ...opts.headers };
1202
1202
  if (target2.token) headers.authorization = `Bearer ${target2.token}`;
1203
1203
  if (opts.contentType) headers["content-type"] = opts.contentType;
1204
1204
  try {
@@ -29235,7 +29235,6 @@ function selectionWorldBounds(nodes, ids2, scrollState) {
29235
29235
  }
29236
29236
  var init_selection_bounds = __esm({
29237
29237
  "lib/editor/selection-bounds.ts"() {
29238
- "use strict";
29239
29238
  init_scene_graph();
29240
29239
  init_transform();
29241
29240
  }
@@ -183655,6 +183654,7 @@ var init_en2 = __esm({
183655
183654
  "edit.clipsCount": "{count, plural, =0 {Empty} one {# clip} other {# clips}}",
183656
183655
  "edit.clipsSelected": "{count, plural, one {# clip selected} other {# clips selected}}",
183657
183656
  "edit.crossfadeNext": "Crossfade into {name}",
183657
+ "edit.curve": "Curve",
183658
183658
  "edit.cut": "Cut",
183659
183659
  "edit.db": "{value} dB",
183660
183660
  "edit.dbSilent": "\u2212\u221E dB",
@@ -183738,6 +183738,7 @@ var init_en2 = __esm({
183738
183738
  "edit.sceneMenu": "Scene actions",
183739
183739
  "edit.scenes": "Scenes",
183740
183740
  "edit.sequences": "Sequences",
183741
+ "edit.sequenceSettings": "Sequence settings",
183741
183742
  "edit.showBin": "Show bin",
183742
183743
  "edit.showInspector": "Show clip inspector",
183743
183744
  "edit.showTrack": "Show track",
@@ -188703,6 +188704,7 @@ var require_es = __commonJS({
188703
188704
  "edit.clipsCount": "{count, plural, =0 {Vac\xEDo} one {# clip} other {# clips}}",
188704
188705
  "edit.clipsSelected": "{count, plural, one {# clip seleccionado} other {# clips seleccionados}}",
188705
188706
  "edit.crossfadeNext": "Fundido encadenado a {name}",
188707
+ "edit.curve": "Curva",
188706
188708
  "edit.cut": "Cortar",
188707
188709
  "edit.db": "{value} dB",
188708
188710
  "edit.dbSilent": "\u2212\u221E dB",
@@ -188786,6 +188788,7 @@ var require_es = __commonJS({
188786
188788
  "edit.sceneMenu": "Acciones de escena",
188787
188789
  "edit.scenes": "Escenas",
188788
188790
  "edit.sequences": "Secuencias",
188791
+ "edit.sequenceSettings": "Ajustes de secuencia",
188789
188792
  "edit.showBin": "Mostrar bandeja",
188790
188793
  "edit.showInspector": "Mostrar inspector de clip",
188791
188794
  "edit.showTrack": "Mostrar pista",
@@ -193751,6 +193754,7 @@ var require_fr = __commonJS({
193751
193754
  "edit.clipsCount": "{count, plural, =0 {Vide} one {# clip} other {# clips}}",
193752
193755
  "edit.clipsSelected": "{count, plural, one {# clip s\xE9lectionn\xE9} other {# clips s\xE9lectionn\xE9s}}",
193753
193756
  "edit.crossfadeNext": "Fondu encha\xEEn\xE9 vers {name}",
193757
+ "edit.curve": "Courbe",
193754
193758
  "edit.cut": "Couper",
193755
193759
  "edit.db": "{value} dB",
193756
193760
  "edit.dbSilent": "\u2212\u221E dB",
@@ -193834,6 +193838,7 @@ var require_fr = __commonJS({
193834
193838
  "edit.sceneMenu": "Actions de sc\xE8ne",
193835
193839
  "edit.scenes": "Sc\xE8nes",
193836
193840
  "edit.sequences": "S\xE9quences",
193841
+ "edit.sequenceSettings": "Param\xE8tres de s\xE9quence",
193837
193842
  "edit.showBin": "Afficher le chutier",
193838
193843
  "edit.showInspector": "Afficher l\u2019inspecteur de clip",
193839
193844
  "edit.showTrack": "Afficher la piste",
@@ -198799,6 +198804,7 @@ var require_de = __commonJS({
198799
198804
  "edit.clipsCount": "{count, plural, =0 {Leer} one {# Clip} other {# Clips}}",
198800
198805
  "edit.clipsSelected": "{count, plural, one {# Clip ausgew\xE4hlt} other {# Clips ausgew\xE4hlt}}",
198801
198806
  "edit.crossfadeNext": "\xDCberblenden in {name}",
198807
+ "edit.curve": "Kurve",
198802
198808
  "edit.cut": "Ausschneiden",
198803
198809
  "edit.db": "{value} dB",
198804
198810
  "edit.dbSilent": "\u2212\u221E dB",
@@ -198882,6 +198888,7 @@ var require_de = __commonJS({
198882
198888
  "edit.sceneMenu": "Szenenaktionen",
198883
198889
  "edit.scenes": "Szenen",
198884
198890
  "edit.sequences": "Sequenzen",
198891
+ "edit.sequenceSettings": "Sequenzeinstellungen",
198885
198892
  "edit.showBin": "Ablage anzeigen",
198886
198893
  "edit.showInspector": "Clip-Inspektor anzeigen",
198887
198894
  "edit.showTrack": "Spur anzeigen",
@@ -203847,6 +203854,7 @@ var require_it = __commonJS({
203847
203854
  "edit.clipsCount": "{count, plural, =0 {Vuoto} one {# clip} other {# clip}}",
203848
203855
  "edit.clipsSelected": "{count, plural, one {# clip selezionata} other {# clip selezionate}}",
203849
203856
  "edit.crossfadeNext": "Dissolvenza incrociata in {name}",
203857
+ "edit.curve": "Curva",
203850
203858
  "edit.cut": "Taglia",
203851
203859
  "edit.db": "{value} dB",
203852
203860
  "edit.dbSilent": "\u2212\u221E dB",
@@ -203930,6 +203938,7 @@ var require_it = __commonJS({
203930
203938
  "edit.sceneMenu": "Azioni scena",
203931
203939
  "edit.scenes": "Scene",
203932
203940
  "edit.sequences": "Sequenze",
203941
+ "edit.sequenceSettings": "Impostazioni sequenza",
203933
203942
  "edit.showBin": "Mostra cestino",
203934
203943
  "edit.showInspector": "Mostra ispettore clip",
203935
203944
  "edit.showTrack": "Mostra traccia",
@@ -208895,6 +208904,7 @@ var require_pt_BR = __commonJS({
208895
208904
  "edit.clipsCount": "{count, plural, =0 {Vazio} one {# clipe} other {# clipes}}",
208896
208905
  "edit.clipsSelected": "{count, plural, one {# clipe selecionado} other {# clipes selecionados}}",
208897
208906
  "edit.crossfadeNext": "Transi\xE7\xE3o para {name}",
208907
+ "edit.curve": "Curva",
208898
208908
  "edit.cut": "Cortar",
208899
208909
  "edit.db": "{value} dB",
208900
208910
  "edit.dbSilent": "\u2212\u221E dB",
@@ -208978,6 +208988,7 @@ var require_pt_BR = __commonJS({
208978
208988
  "edit.sceneMenu": "A\xE7\xF5es da cena",
208979
208989
  "edit.scenes": "Cenas",
208980
208990
  "edit.sequences": "Sequ\xEAncias",
208991
+ "edit.sequenceSettings": "Configura\xE7\xF5es da sequ\xEAncia",
208981
208992
  "edit.showBin": "Mostrar compartimento",
208982
208993
  "edit.showInspector": "Mostrar inspetor de clipe",
208983
208994
  "edit.showTrack": "Mostrar trilha",
@@ -213943,6 +213954,7 @@ var require_ja = __commonJS({
213943
213954
  "edit.clipsCount": "{count, plural, =0 {\u7A7A} other {# \u30AF\u30EA\u30C3\u30D7}}",
213944
213955
  "edit.clipsSelected": "{count, plural, other {# \u30AF\u30EA\u30C3\u30D7\u3092\u9078\u629E\u4E2D}}",
213945
213956
  "edit.crossfadeNext": "{name} \u306B\u30AF\u30ED\u30B9\u30D5\u30A7\u30FC\u30C9",
213957
+ "edit.curve": "\u30AB\u30FC\u30D6",
213946
213958
  "edit.cut": "\u30AB\u30C3\u30C8",
213947
213959
  "edit.db": "{value} dB",
213948
213960
  "edit.dbSilent": "\u2212\u221E dB",
@@ -214026,6 +214038,7 @@ var require_ja = __commonJS({
214026
214038
  "edit.sceneMenu": "\u30B7\u30FC\u30F3\u30A2\u30AF\u30B7\u30E7\u30F3",
214027
214039
  "edit.scenes": "\u30B7\u30FC\u30F3",
214028
214040
  "edit.sequences": "\u30B7\u30FC\u30B1\u30F3\u30B9",
214041
+ "edit.sequenceSettings": "\u30B7\u30FC\u30B1\u30F3\u30B9\u8A2D\u5B9A",
214029
214042
  "edit.showBin": "\u30D3\u30F3\u3092\u8868\u793A",
214030
214043
  "edit.showInspector": "\u30AF\u30EA\u30C3\u30D7\u30A4\u30F3\u30B9\u30DA\u30AF\u30BF\u30FC\u3092\u8868\u793A",
214031
214044
  "edit.showTrack": "\u30C8\u30E9\u30C3\u30AF\u3092\u8868\u793A",
@@ -218991,6 +219004,7 @@ var require_ko = __commonJS({
218991
219004
  "edit.clipsCount": "{count, plural, =0 {\uBE44\uC5B4 \uC788\uC74C} other {# \uD074\uB9BD}}",
218992
219005
  "edit.clipsSelected": "{count, plural, other {# \uD074\uB9BD \uC120\uD0DD\uB428}}",
218993
219006
  "edit.crossfadeNext": "{name}\uC73C\uB85C \uD06C\uB85C\uC2A4\uD398\uC774\uB4DC",
219007
+ "edit.curve": "\uACE1\uC120",
218994
219008
  "edit.cut": "\uC798\uB77C\uB0B4\uAE30",
218995
219009
  "edit.db": "{value} dB",
218996
219010
  "edit.dbSilent": "\u2212\u221E dB",
@@ -219074,6 +219088,7 @@ var require_ko = __commonJS({
219074
219088
  "edit.sceneMenu": "\uC7A5\uBA74 \uC791\uC5C5",
219075
219089
  "edit.scenes": "\uC7A5\uBA74",
219076
219090
  "edit.sequences": "\uC2DC\uD000\uC2A4",
219091
+ "edit.sequenceSettings": "\uC2DC\uD000\uC2A4 \uC124\uC815",
219077
219092
  "edit.showBin": "\uBE48 \uD45C\uC2DC",
219078
219093
  "edit.showInspector": "\uD074\uB9BD \uAC80\uC0AC\uAE30 \uD45C\uC2DC",
219079
219094
  "edit.showTrack": "\uD2B8\uB799 \uD45C\uC2DC",
@@ -224039,6 +224054,7 @@ var require_zh_CN = __commonJS({
224039
224054
  "edit.clipsCount": "{count, plural, =0 {\u7A7A} other {# \u4E2A\u7247\u6BB5}}",
224040
224055
  "edit.clipsSelected": "{count, plural, other {\u5DF2\u9009\u62E9 # \u4E2A\u7247\u6BB5}}",
224041
224056
  "edit.crossfadeNext": "\u4EA4\u53C9\u6DE1\u5316\u5230 {name}",
224057
+ "edit.curve": "\u66F2\u7EBF",
224042
224058
  "edit.cut": "\u526A\u5207",
224043
224059
  "edit.db": "{value} dB",
224044
224060
  "edit.dbSilent": "\u2212\u221E dB",
@@ -224122,6 +224138,7 @@ var require_zh_CN = __commonJS({
224122
224138
  "edit.sceneMenu": "\u573A\u666F\u64CD\u4F5C",
224123
224139
  "edit.scenes": "\u573A\u666F",
224124
224140
  "edit.sequences": "\u5E8F\u5217",
224141
+ "edit.sequenceSettings": "\u5E8F\u5217\u8BBE\u7F6E",
224125
224142
  "edit.showBin": "\u663E\u793A\u7D20\u6750\u7BB1",
224126
224143
  "edit.showInspector": "\u663E\u793A\u7247\u6BB5\u68C0\u67E5\u5668",
224127
224144
  "edit.showTrack": "\u663E\u793A\u8F68\u9053",
@@ -229087,6 +229104,7 @@ var require_zh_TW = __commonJS({
229087
229104
  "edit.clipsCount": "{count, plural, =0 {\u7A7A\u767D} other {# \u500B\u7247\u6BB5}}",
229088
229105
  "edit.clipsSelected": "{count, plural, other {\u5DF2\u9078\u53D6 # \u500B\u7247\u6BB5}}",
229089
229106
  "edit.crossfadeNext": "\u4EA4\u53C9\u6DE1\u5316\u81F3 {name}",
229107
+ "edit.curve": "\u66F2\u7DDA",
229090
229108
  "edit.cut": "\u526A\u4E0B",
229091
229109
  "edit.db": "{value} dB",
229092
229110
  "edit.dbSilent": "\u2212\u221E dB",
@@ -229170,6 +229188,7 @@ var require_zh_TW = __commonJS({
229170
229188
  "edit.sceneMenu": "\u5834\u666F\u52D5\u4F5C",
229171
229189
  "edit.scenes": "\u5834\u666F",
229172
229190
  "edit.sequences": "\u5E8F\u5217",
229191
+ "edit.sequenceSettings": "\u5E8F\u5217\u8A2D\u5B9A",
229173
229192
  "edit.showBin": "\u986F\u793A\u7D20\u6750\u5EAB",
229174
229193
  "edit.showInspector": "\u986F\u793A\u7247\u6BB5\u6AA2\u8996\u5668",
229175
229194
  "edit.showTrack": "\u986F\u793A\u8ECC\u9053",
@@ -234135,6 +234154,7 @@ var require_ru = __commonJS({
234135
234154
  "edit.clipsCount": "{count, plural, =0 {\u041F\u0443\u0441\u0442\u043E} one {# \u043A\u043B\u0438\u043F} few {# \u043A\u043B\u0438\u043F\u0430} many {# \u043A\u043B\u0438\u043F\u043E\u0432} other {# \u043A\u043B\u0438\u043F\u0430}}",
234136
234155
  "edit.clipsSelected": "{count, plural, one {# \u043A\u043B\u0438\u043F \u0432\u044B\u0431\u0440\u0430\u043D} few {# \u043A\u043B\u0438\u043F\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043E} many {# \u043A\u043B\u0438\u043F\u043E\u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043E} other {# \u043A\u043B\u0438\u043F\u0430 \u0432\u044B\u0431\u0440\u0430\u043D\u043E}}",
234137
234156
  "edit.crossfadeNext": "\u041D\u0430\u043F\u043B\u044B\u0432 \u0432 {name}",
234157
+ "edit.curve": "\u041A\u0440\u0438\u0432\u0430\u044F",
234138
234158
  "edit.cut": "\u0412\u044B\u0440\u0435\u0437\u0430\u0442\u044C",
234139
234159
  "edit.db": "{value} \u0434\u0411",
234140
234160
  "edit.dbSilent": "\u2212\u221E \u0434\u0411",
@@ -234218,6 +234238,7 @@ var require_ru = __commonJS({
234218
234238
  "edit.sceneMenu": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0441\u043E \u0441\u0446\u0435\u043D\u043E\u0439",
234219
234239
  "edit.scenes": "\u0421\u0446\u0435\u043D\u044B",
234220
234240
  "edit.sequences": "\u0421\u0435\u043A\u0432\u0435\u043D\u0446\u0438\u0438",
234241
+ "edit.sequenceSettings": "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438",
234221
234242
  "edit.showBin": "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u043E\u0440\u0437\u0438\u043D\u0443",
234222
234243
  "edit.showInspector": "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0438\u043D\u0441\u043F\u0435\u043A\u0442\u043E\u0440 \u043A\u043B\u0438\u043F\u0430",
234223
234244
  "edit.showTrack": "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0434\u043E\u0440\u043E\u0436\u043A\u0443",
@@ -239183,6 +239204,7 @@ var require_ar = __commonJS({
239183
239204
  "edit.clipsCount": "{count, plural, zero {\u0641\u0627\u0631\u063A} one {# \u0645\u0642\u0637\u0639} two {# \u0645\u0642\u0637\u0639\u0627\u0646} few {# \u0645\u0642\u0627\u0637\u0639} many {# \u0645\u0642\u0637\u0639\u064B\u0627} other {# \u0645\u0642\u0637\u0639}}",
239184
239205
  "edit.clipsSelected": "{count, plural, zero {\u0644\u0627 \u064A\u0648\u062C\u062F \u0645\u0642\u0627\u0637\u0639 \u0645\u062D\u062F\u062F\u0629} one {\u0645\u0642\u0637\u0639 \u0648\u0627\u062D\u062F \u0645\u062D\u062F\u062F} two {\u0645\u0642\u0637\u0639\u0627\u0646 \u0645\u062D\u062F\u062F\u0627\u0646} few {# \u0645\u0642\u0627\u0637\u0639 \u0645\u062D\u062F\u062F\u0629} many {# \u0645\u0642\u0637\u0639\u064B\u0627 \u0645\u062D\u062F\u062F\u064B\u0627} other {# \u0645\u0642\u0637\u0639\u064B\u0627 \u0645\u062D\u062F\u062F\u064B\u0627}}",
239185
239206
  "edit.crossfadeNext": "\u062A\u0644\u0627\u0634\u064D \u0645\u062A\u0642\u0627\u0637\u0639 \u0625\u0644\u0649 {name}",
239207
+ "edit.curve": "\u0645\u0646\u062D\u0646\u0649",
239186
239208
  "edit.cut": "\u0642\u0635",
239187
239209
  "edit.db": "{value} \u062F\u064A\u0633\u064A\u0628\u0644",
239188
239210
  "edit.dbSilent": "\u2212\u221E \u062F\u064A\u0633\u064A\u0628\u0644",
@@ -239266,6 +239288,7 @@ var require_ar = __commonJS({
239266
239288
  "edit.sceneMenu": "\u0625\u062C\u0631\u0627\u0621\u0627\u062A \u0627\u0644\u0645\u0634\u0647\u062F",
239267
239289
  "edit.scenes": "\u0645\u0634\u0627\u0647\u062F",
239268
239290
  "edit.sequences": "\u062A\u0633\u0644\u0633\u0644\u0627\u062A",
239291
+ "edit.sequenceSettings": "\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u0627\u0644\u062A\u0633\u0644\u0633\u0644",
239269
239292
  "edit.showBin": "\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0633\u0644\u0629",
239270
239293
  "edit.showInspector": "\u0625\u0638\u0647\u0627\u0631 \u0645\u0641\u062A\u0634 \u0627\u0644\u0645\u0642\u0637\u0639",
239271
239294
  "edit.showTrack": "\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0645\u0633\u0627\u0631",
@@ -244231,6 +244254,7 @@ var require_hi = __commonJS({
244231
244254
  "edit.clipsCount": "{count, plural, =0 {\u0916\u093E\u0932\u0940} one {# \u0915\u094D\u0932\u093F\u092A} other {# \u0915\u094D\u0932\u093F\u092A\u094D\u0938}}",
244232
244255
  "edit.clipsSelected": "{count, plural, one {# \u0915\u094D\u0932\u093F\u092A \u091A\u092F\u0928\u093F\u0924} other {# \u0915\u094D\u0932\u093F\u092A\u094D\u0938 \u091A\u092F\u0928\u093F\u0924}}",
244233
244256
  "edit.crossfadeNext": "{name} \u092E\u0947\u0902 \u0915\u094D\u0930\u0949\u0938\u092B\u093C\u0947\u0921 \u0915\u0930\u0947\u0902",
244257
+ "edit.curve": "\u0935\u0915\u094D\u0930",
244234
244258
  "edit.cut": "\u0915\u091F \u0915\u0930\u0947\u0902",
244235
244259
  "edit.db": "{value} dB",
244236
244260
  "edit.dbSilent": "\u2212\u221E dB",
@@ -244314,6 +244338,7 @@ var require_hi = __commonJS({
244314
244338
  "edit.sceneMenu": "\u0926\u0943\u0936\u094D\u092F \u0915\u094D\u0930\u093F\u092F\u093E\u090F\u0901",
244315
244339
  "edit.scenes": "\u0926\u0943\u0936\u094D\u092F",
244316
244340
  "edit.sequences": "\u0905\u0928\u0941\u0915\u094D\u0930\u092E",
244341
+ "edit.sequenceSettings": "\u0905\u0928\u0941\u0915\u094D\u0930\u092E \u0938\u0947\u091F\u093F\u0902\u0917\u094D\u0938",
244317
244342
  "edit.showBin": "\u092C\u093F\u0928 \u0926\u093F\u0916\u093E\u090F\u0901",
244318
244343
  "edit.showInspector": "\u0915\u094D\u0932\u093F\u092A \u0907\u0902\u0938\u094D\u092A\u0947\u0915\u094D\u091F\u0930 \u0926\u093F\u0916\u093E\u090F\u0901",
244319
244344
  "edit.showTrack": "\u091F\u094D\u0930\u0948\u0915 \u0926\u093F\u0916\u093E\u090F\u0901",
@@ -248055,6 +248080,7 @@ function hasMessage(key5) {
248055
248080
  var current2, loading2, listeners, formats, asts;
248056
248081
  var init_runtime = __esm({
248057
248082
  "lib/i18n/runtime.ts"() {
248083
+ "use strict";
248058
248084
  init_intl_messageformat();
248059
248085
  init_icu_messageformat_parser();
248060
248086
  init_catalogs();
@@ -249757,6 +249783,7 @@ function repairDocumentPaints(doc2) {
249757
249783
  var broken;
249758
249784
  var init_paint_repair = __esm({
249759
249785
  "lib/document/paint-repair.ts"() {
249786
+ "use strict";
249760
249787
  init_shader_graph();
249761
249788
  broken = (p2) => {
249762
249789
  if (!p2 || typeof p2 !== "object") return false;
@@ -259132,7 +259159,6 @@ function resizeWindow(doc2, target2, rect) {
259132
259159
  }
259133
259160
  var init_crop = __esm({
259134
259161
  "lib/editor/crop.ts"() {
259135
- "use strict";
259136
259162
  init_dist_node();
259137
259163
  init_scene_graph();
259138
259164
  init_photo_frames();
@@ -263967,7 +263993,6 @@ async function docExists(id3) {
263967
263993
  var INDEX_KEY, docKey, thumbKey, THUMB_MAX_BYTES, THUMB_TYPES, LEGACY_DATA_URL, migrating, SPLIT_LAYOUT, nodeKey, WRITER, persisted, saving, deletedHere, keyval, keyvalStore;
263968
263994
  var init_document_library = __esm({
263969
263995
  "lib/storage/document-library.ts"() {
263970
- "use strict";
263971
263996
  init_idb();
263972
263997
  init_media_types();
263973
263998
  init_collapse_duplicates();
@@ -264039,7 +264064,6 @@ function onTabMessage(fn) {
264039
264064
  var EDITOR_HOME, localDocPath, cloudFilePath, CHANNEL2, channel2;
264040
264065
  var init_tab_mode = __esm({
264041
264066
  "lib/desktop/tab-mode.ts"() {
264042
- "use strict";
264043
264067
  EDITOR_HOME = "/home";
264044
264068
  localDocPath = (docId) => `${EDITOR_HOME}?doc=${encodeURIComponent(docId)}`;
264045
264069
  cloudFilePath = (key5) => `/pop/${encodeURIComponent(key5)}`;
@@ -266447,6 +266471,7 @@ function retuneShaderAudio(node2, fillId) {
266447
266471
  }
266448
266472
  var init_shader_audio = __esm({
266449
266473
  "lib/motion/shader-audio.ts"() {
266474
+ "use strict";
266450
266475
  init_shader_params();
266451
266476
  init_modifier_edit();
266452
266477
  init_keys();
@@ -267211,7 +267236,6 @@ function breakpointView(state, doc2 = state.document) {
267211
267236
  var storedDocument;
267212
267237
  var init_view = __esm({
267213
267238
  "lib/motion/view.ts"() {
267214
- "use strict";
267215
267239
  init_registry2();
267216
267240
  init_motion_slice();
267217
267241
  init_transport_clock();
@@ -268386,7 +268410,6 @@ function networkSignal(signal, timeoutMs = NETWORK_TIMEOUT_MS) {
268386
268410
  var import_react3, NETWORK_TIMEOUT_MS, OfflineError;
268387
268411
  var init_network = __esm({
268388
268412
  "lib/client/network.ts"() {
268389
- "use strict";
268390
268413
  import_react3 = __toESM(require_react());
268391
268414
  NETWORK_TIMEOUT_MS = 8e3;
268392
268415
  OfflineError = class extends Error {
@@ -317694,7 +317717,6 @@ async function dispatchShaped(key5, options) {
317694
317717
  var onViolation;
317695
317718
  var init_dispatch = __esm({
317696
317719
  "lib/commands/dispatch.ts"() {
317697
- "use strict";
317698
317720
  init_errors();
317699
317721
  init_registry();
317700
317722
  init_confirm();
@@ -318756,6 +318778,7 @@ function applyTextPath(layout2, path, tp, rebase = true) {
318756
318778
  var defaultCircleRadius, ownsPath, mapPoint;
318757
318779
  var init_text_path = __esm({
318758
318780
  "lib/engine/text/text-path.ts"() {
318781
+ "use strict";
318759
318782
  init_scene_graph();
318760
318783
  init_transform();
318761
318784
  init_shape_to_path();
@@ -318873,6 +318896,7 @@ function areaBounds(rings) {
318873
318896
  }
318874
318897
  var init_text_area = __esm({
318875
318898
  "lib/engine/text/text-area.ts"() {
318899
+ "use strict";
318876
318900
  }
318877
318901
  });
318878
318902
 
@@ -323072,7 +323096,6 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
323072
323096
  var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
323073
323097
  var init_reference_images = __esm({
323074
323098
  "lib/ai/reference-images.ts"() {
323075
- "use strict";
323076
323099
  init_export();
323077
323100
  init_selection_bounds();
323078
323101
  init_renderer_registry();
@@ -333973,7 +333996,7 @@ var init_package = __esm({
333973
333996
  "packages/runtime/package.json"() {
333974
333997
  package_default = {
333975
333998
  name: "@popcraft/runtime",
333976
- version: "0.54.0",
333999
+ version: "0.55.1",
333977
334000
  description: "What code exported from PopCraft shares: the meaning of expressions (operators and functions) and, as it grows, the parts of a design's behaviour that are common code rather than generated React.",
333978
334001
  license: "MIT",
333979
334002
  homepage: "https://popcraft.app/docs/exporting/nextjs",
@@ -366891,6 +366914,7 @@ function publishSite(key5, files, opts = {}) {
366891
366914
  var siteStatus, setSiteVersion, workspaceSites, deleteSite, renameSite;
366892
366915
  var init_sites = __esm({
366893
366916
  "lib/client/cloud/sites.ts"() {
366917
+ "use strict";
366894
366918
  init_files();
366895
366919
  init_upload2();
366896
366920
  init_api4();
@@ -367491,7 +367515,6 @@ var init_edit_open = __esm({
367491
367515
  var storeOpsSeam;
367492
367516
  var init_seams = __esm({
367493
367517
  "lib/commands/seams.ts"() {
367494
- "use strict";
367495
367518
  storeOpsSeam = (st2) => ({
367496
367519
  booleanOperation: (op4) => st2().booleanOperation(op4),
367497
367520
  flatten: () => st2().flattenSelection(),
@@ -373113,7 +373136,6 @@ var init_doc2 = __esm({
373113
373136
  var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
373114
373137
  var init_motion3 = __esm({
373115
373138
  "lib/marketplace/motion.ts"() {
373116
- "use strict";
373117
373139
  init_instances2();
373118
373140
  POSTER_KEY = "poster";
373119
373141
  MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
@@ -409691,7 +409713,7 @@ __export(reference_exports, {
409691
409713
  exampleMarkdown: () => exampleMarkdown,
409692
409714
  referenceIndex: () => referenceIndex
409693
409715
  });
409694
- var START, COLOR_TYPE, LAYOUT2, COMPONENTS, MOTION, SIZES, WEB, EDITING, DECISIONS, REFERENCE_TOPICS, exampleMarkdown, referenceIndex, DESIGN_REFERENCE;
409716
+ var START, COLOR_TYPE, LAYOUT2, COMPONENTS, MOTION, SEQUENCES, SIZES, WEB, EDITING, DECISIONS, REFERENCE_TOPICS, exampleMarkdown, referenceIndex, DESIGN_REFERENCE;
409695
409717
  var init_reference = __esm({
409696
409718
  "lib/agent/design-script/reference.ts"() {
409697
409719
  init_examples();
@@ -409826,6 +409848,30 @@ Set the timeline first, then add moves. Times are ms on the frame's timeline.
409826
409848
  \`motion.appear\`, \`motion.blink\`.
409827
409849
  - Rules: the hook within the first second, entrances on beats, the one loud moment on the music's loudest, the frame
409828
409850
  at rest is the finished picture, a loop ends where it began.`;
409851
+ SEQUENCES = `## Sequences: cutting scenes into a video
409852
+
409853
+ A design script builds frames; a video of several scenes is then cut from them as a **sequence** (Edit mode). The kit
409854
+ does not write sequences: run \`create_composition\` and \`edit_sequence\` after the script builds (see
409855
+ [Designing with an AI agent](/docs/api/agents#cutting-a-video-sequences)), or, in a template, add the sequence to the
409856
+ document the template returns, as the *PopCraft AI trailer* does:
409857
+
409858
+ \`\`\`js
409859
+ // A sequence: shots back to back on V1, title cards on V2, the music bed on A1.
409860
+ const sequence = {
409861
+ ...comp, // from createComposition({ frames, \u2026 })
409862
+ layers: titles.map((t, i) => ({ id: \`title-\${i + 1}\`, track: 1, kind: 'scene', frameId: t.frame, start: t.at, in: 0, out: t.ms })),
409863
+ audio: [{ id: 'music', mediaHash: MUSIC, name: 'Music', start: 0, in: 0, out: END, lane: 0 }],
409864
+ tracks: { V1: { name: 'Shots' }, V2: { name: 'Titles' }, A1: { name: 'Music' } },
409865
+ }
409866
+ return { ...doc, compositions: { [sequence.id]: sequence } }
409867
+ \`\`\`
409868
+
409869
+ - \`clips\` is V1: scenes, each \`{ frameId, start, in, out, transitionIn? }\`, back to back.
409870
+ - \`layers\` is V2 and up: \`{ track (1 is V2), kind: 'scene', frameId, start, in, out, opacity?, blend?, fadeIn?, fadeOut?, speed?, reverse?, disabled? }\`.
409871
+ - \`audio\` is A1 and down: \`{ mediaHash, start, in, out, lane (0 is A1), gain?, pan?, fadeIn?, fadeOut?, loop? }\`.
409872
+ - \`tracks\` names and sets each track: \`{ name?, locked?, hidden?, muted?, solo?, gain?, pan? }\`; \`marks\` is the in and
409873
+ out; \`markers\` are on the ruler (put one on each downbeat to cut to).
409874
+ - Cut on the music: with a tempo of \`bpm\`, a bar is \`240000 / bpm\` ms; land every cut and every title on one.`;
409829
409875
  SIZES = `## Other sizes
409830
409876
 
409831
409877
  - \`k.variants(k.sheet, [{ preset: 'ig-post', adjust: (kit, id) => { \u2026 } }, \u2026])\` \u2014 copies of the design at other sizes,
@@ -409906,6 +409952,7 @@ How the gallery's designs were decided, in order. Make every decision yourself;
409906
409952
  { id: "layout", title: "Layers and layout", summary: "flowSheet, stacks, frames, text, shapes, vectors and path helpers, photos, patch", body: LAYOUT2 },
409907
409953
  { id: "components", title: "Components, variants and interaction", summary: "components and props, variant sets, variables and switches, prototype links", body: COMPONENTS },
409908
409954
  { id: "motion", title: "Motion and music", summary: "timeline, music beds, cues and presets, counters, swaps, keys, behaviours", body: MOTION },
409955
+ { id: "sequences", title: "Sequences: cutting scenes into a video", summary: "a sequence of frames, layers on V2, music on A1, cutting on the beat", body: SEQUENCES },
409909
409956
  { id: "sizes", title: "Other sizes", summary: "variants and recomposing each size", body: SIZES },
409910
409957
  { id: "web", title: "Web pages", summary: "page, nav, buttons, sections, the hero loop, responsive sizes", body: WEB },
409911
409958
  { id: "editing", title: "Editing designs that already exist", summary: "run_script over the document, batched tool calls, looking at the result", body: EDITING },
@@ -411763,7 +411810,6 @@ function registerBuiltinCommands() {
411763
411810
  var builtinCommands, uiOnlyCommands;
411764
411811
  var init_builtin4 = __esm({
411765
411812
  "lib/commands/builtin.ts"() {
411766
- "use strict";
411767
411813
  init_registry();
411768
411814
  init_node();
411769
411815
  init_node();
@@ -419364,7 +419410,7 @@ init_resources();
419364
419410
  init_desktop();
419365
419411
  init_hypery();
419366
419412
  import { createInterface } from "node:readline";
419367
- var VERSION2 = "0.54.0";
419413
+ var VERSION2 = "0.55.1";
419368
419414
  var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
419369
419415
 
419370
419416
  Files (headless, on .popcraft files):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@popcraft/cli",
3
- "version": "0.54.0",
3
+ "version": "0.55.1",
4
4
  "description": "The PopCraft command line: edit .popcraft files headlessly, call the REST API, publish to the marketplace and manage the desktop app's local plugins, themes, fonts, skills and agents.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://popcraft.app/docs/api/cli",
@@ -34,7 +34,7 @@
34
34
  "esbuild": "0.28.2"
35
35
  },
36
36
  "dependencies": {
37
- "@popcraft/kit": "0.54.0"
37
+ "@popcraft/kit": "0.55.1"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "node build.mjs",