@popcraft/cli 0.55.0 → 0.55.2
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/popcraft.mjs +58 -5
- 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.55.
|
|
1201
|
+
const headers = { "user-agent": `popcraft-cli/${"0.55.2"}`, ...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 {
|
|
@@ -183654,6 +183654,7 @@ var init_en2 = __esm({
|
|
|
183654
183654
|
"edit.clipsCount": "{count, plural, =0 {Empty} one {# clip} other {# clips}}",
|
|
183655
183655
|
"edit.clipsSelected": "{count, plural, one {# clip selected} other {# clips selected}}",
|
|
183656
183656
|
"edit.crossfadeNext": "Crossfade into {name}",
|
|
183657
|
+
"edit.curve": "Curve",
|
|
183657
183658
|
"edit.cut": "Cut",
|
|
183658
183659
|
"edit.db": "{value} dB",
|
|
183659
183660
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -183737,6 +183738,7 @@ var init_en2 = __esm({
|
|
|
183737
183738
|
"edit.sceneMenu": "Scene actions",
|
|
183738
183739
|
"edit.scenes": "Scenes",
|
|
183739
183740
|
"edit.sequences": "Sequences",
|
|
183741
|
+
"edit.sequenceSettings": "Sequence settings",
|
|
183740
183742
|
"edit.showBin": "Show bin",
|
|
183741
183743
|
"edit.showInspector": "Show clip inspector",
|
|
183742
183744
|
"edit.showTrack": "Show track",
|
|
@@ -188702,6 +188704,7 @@ var require_es = __commonJS({
|
|
|
188702
188704
|
"edit.clipsCount": "{count, plural, =0 {Vac\xEDo} one {# clip} other {# clips}}",
|
|
188703
188705
|
"edit.clipsSelected": "{count, plural, one {# clip seleccionado} other {# clips seleccionados}}",
|
|
188704
188706
|
"edit.crossfadeNext": "Fundido encadenado a {name}",
|
|
188707
|
+
"edit.curve": "Curva",
|
|
188705
188708
|
"edit.cut": "Cortar",
|
|
188706
188709
|
"edit.db": "{value} dB",
|
|
188707
188710
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -188785,6 +188788,7 @@ var require_es = __commonJS({
|
|
|
188785
188788
|
"edit.sceneMenu": "Acciones de escena",
|
|
188786
188789
|
"edit.scenes": "Escenas",
|
|
188787
188790
|
"edit.sequences": "Secuencias",
|
|
188791
|
+
"edit.sequenceSettings": "Ajustes de secuencia",
|
|
188788
188792
|
"edit.showBin": "Mostrar bandeja",
|
|
188789
188793
|
"edit.showInspector": "Mostrar inspector de clip",
|
|
188790
188794
|
"edit.showTrack": "Mostrar pista",
|
|
@@ -193750,6 +193754,7 @@ var require_fr = __commonJS({
|
|
|
193750
193754
|
"edit.clipsCount": "{count, plural, =0 {Vide} one {# clip} other {# clips}}",
|
|
193751
193755
|
"edit.clipsSelected": "{count, plural, one {# clip s\xE9lectionn\xE9} other {# clips s\xE9lectionn\xE9s}}",
|
|
193752
193756
|
"edit.crossfadeNext": "Fondu encha\xEEn\xE9 vers {name}",
|
|
193757
|
+
"edit.curve": "Courbe",
|
|
193753
193758
|
"edit.cut": "Couper",
|
|
193754
193759
|
"edit.db": "{value} dB",
|
|
193755
193760
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -193833,6 +193838,7 @@ var require_fr = __commonJS({
|
|
|
193833
193838
|
"edit.sceneMenu": "Actions de sc\xE8ne",
|
|
193834
193839
|
"edit.scenes": "Sc\xE8nes",
|
|
193835
193840
|
"edit.sequences": "S\xE9quences",
|
|
193841
|
+
"edit.sequenceSettings": "Param\xE8tres de s\xE9quence",
|
|
193836
193842
|
"edit.showBin": "Afficher le chutier",
|
|
193837
193843
|
"edit.showInspector": "Afficher l\u2019inspecteur de clip",
|
|
193838
193844
|
"edit.showTrack": "Afficher la piste",
|
|
@@ -198798,6 +198804,7 @@ var require_de = __commonJS({
|
|
|
198798
198804
|
"edit.clipsCount": "{count, plural, =0 {Leer} one {# Clip} other {# Clips}}",
|
|
198799
198805
|
"edit.clipsSelected": "{count, plural, one {# Clip ausgew\xE4hlt} other {# Clips ausgew\xE4hlt}}",
|
|
198800
198806
|
"edit.crossfadeNext": "\xDCberblenden in {name}",
|
|
198807
|
+
"edit.curve": "Kurve",
|
|
198801
198808
|
"edit.cut": "Ausschneiden",
|
|
198802
198809
|
"edit.db": "{value} dB",
|
|
198803
198810
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -198881,6 +198888,7 @@ var require_de = __commonJS({
|
|
|
198881
198888
|
"edit.sceneMenu": "Szenenaktionen",
|
|
198882
198889
|
"edit.scenes": "Szenen",
|
|
198883
198890
|
"edit.sequences": "Sequenzen",
|
|
198891
|
+
"edit.sequenceSettings": "Sequenzeinstellungen",
|
|
198884
198892
|
"edit.showBin": "Ablage anzeigen",
|
|
198885
198893
|
"edit.showInspector": "Clip-Inspektor anzeigen",
|
|
198886
198894
|
"edit.showTrack": "Spur anzeigen",
|
|
@@ -203846,6 +203854,7 @@ var require_it = __commonJS({
|
|
|
203846
203854
|
"edit.clipsCount": "{count, plural, =0 {Vuoto} one {# clip} other {# clip}}",
|
|
203847
203855
|
"edit.clipsSelected": "{count, plural, one {# clip selezionata} other {# clip selezionate}}",
|
|
203848
203856
|
"edit.crossfadeNext": "Dissolvenza incrociata in {name}",
|
|
203857
|
+
"edit.curve": "Curva",
|
|
203849
203858
|
"edit.cut": "Taglia",
|
|
203850
203859
|
"edit.db": "{value} dB",
|
|
203851
203860
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -203929,6 +203938,7 @@ var require_it = __commonJS({
|
|
|
203929
203938
|
"edit.sceneMenu": "Azioni scena",
|
|
203930
203939
|
"edit.scenes": "Scene",
|
|
203931
203940
|
"edit.sequences": "Sequenze",
|
|
203941
|
+
"edit.sequenceSettings": "Impostazioni sequenza",
|
|
203932
203942
|
"edit.showBin": "Mostra cestino",
|
|
203933
203943
|
"edit.showInspector": "Mostra ispettore clip",
|
|
203934
203944
|
"edit.showTrack": "Mostra traccia",
|
|
@@ -208894,6 +208904,7 @@ var require_pt_BR = __commonJS({
|
|
|
208894
208904
|
"edit.clipsCount": "{count, plural, =0 {Vazio} one {# clipe} other {# clipes}}",
|
|
208895
208905
|
"edit.clipsSelected": "{count, plural, one {# clipe selecionado} other {# clipes selecionados}}",
|
|
208896
208906
|
"edit.crossfadeNext": "Transi\xE7\xE3o para {name}",
|
|
208907
|
+
"edit.curve": "Curva",
|
|
208897
208908
|
"edit.cut": "Cortar",
|
|
208898
208909
|
"edit.db": "{value} dB",
|
|
208899
208910
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -208977,6 +208988,7 @@ var require_pt_BR = __commonJS({
|
|
|
208977
208988
|
"edit.sceneMenu": "A\xE7\xF5es da cena",
|
|
208978
208989
|
"edit.scenes": "Cenas",
|
|
208979
208990
|
"edit.sequences": "Sequ\xEAncias",
|
|
208991
|
+
"edit.sequenceSettings": "Configura\xE7\xF5es da sequ\xEAncia",
|
|
208980
208992
|
"edit.showBin": "Mostrar compartimento",
|
|
208981
208993
|
"edit.showInspector": "Mostrar inspetor de clipe",
|
|
208982
208994
|
"edit.showTrack": "Mostrar trilha",
|
|
@@ -213942,6 +213954,7 @@ var require_ja = __commonJS({
|
|
|
213942
213954
|
"edit.clipsCount": "{count, plural, =0 {\u7A7A} other {# \u30AF\u30EA\u30C3\u30D7}}",
|
|
213943
213955
|
"edit.clipsSelected": "{count, plural, other {# \u30AF\u30EA\u30C3\u30D7\u3092\u9078\u629E\u4E2D}}",
|
|
213944
213956
|
"edit.crossfadeNext": "{name} \u306B\u30AF\u30ED\u30B9\u30D5\u30A7\u30FC\u30C9",
|
|
213957
|
+
"edit.curve": "\u30AB\u30FC\u30D6",
|
|
213945
213958
|
"edit.cut": "\u30AB\u30C3\u30C8",
|
|
213946
213959
|
"edit.db": "{value} dB",
|
|
213947
213960
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -214025,6 +214038,7 @@ var require_ja = __commonJS({
|
|
|
214025
214038
|
"edit.sceneMenu": "\u30B7\u30FC\u30F3\u30A2\u30AF\u30B7\u30E7\u30F3",
|
|
214026
214039
|
"edit.scenes": "\u30B7\u30FC\u30F3",
|
|
214027
214040
|
"edit.sequences": "\u30B7\u30FC\u30B1\u30F3\u30B9",
|
|
214041
|
+
"edit.sequenceSettings": "\u30B7\u30FC\u30B1\u30F3\u30B9\u8A2D\u5B9A",
|
|
214028
214042
|
"edit.showBin": "\u30D3\u30F3\u3092\u8868\u793A",
|
|
214029
214043
|
"edit.showInspector": "\u30AF\u30EA\u30C3\u30D7\u30A4\u30F3\u30B9\u30DA\u30AF\u30BF\u30FC\u3092\u8868\u793A",
|
|
214030
214044
|
"edit.showTrack": "\u30C8\u30E9\u30C3\u30AF\u3092\u8868\u793A",
|
|
@@ -218990,6 +219004,7 @@ var require_ko = __commonJS({
|
|
|
218990
219004
|
"edit.clipsCount": "{count, plural, =0 {\uBE44\uC5B4 \uC788\uC74C} other {# \uD074\uB9BD}}",
|
|
218991
219005
|
"edit.clipsSelected": "{count, plural, other {# \uD074\uB9BD \uC120\uD0DD\uB428}}",
|
|
218992
219006
|
"edit.crossfadeNext": "{name}\uC73C\uB85C \uD06C\uB85C\uC2A4\uD398\uC774\uB4DC",
|
|
219007
|
+
"edit.curve": "\uACE1\uC120",
|
|
218993
219008
|
"edit.cut": "\uC798\uB77C\uB0B4\uAE30",
|
|
218994
219009
|
"edit.db": "{value} dB",
|
|
218995
219010
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -219073,6 +219088,7 @@ var require_ko = __commonJS({
|
|
|
219073
219088
|
"edit.sceneMenu": "\uC7A5\uBA74 \uC791\uC5C5",
|
|
219074
219089
|
"edit.scenes": "\uC7A5\uBA74",
|
|
219075
219090
|
"edit.sequences": "\uC2DC\uD000\uC2A4",
|
|
219091
|
+
"edit.sequenceSettings": "\uC2DC\uD000\uC2A4 \uC124\uC815",
|
|
219076
219092
|
"edit.showBin": "\uBE48 \uD45C\uC2DC",
|
|
219077
219093
|
"edit.showInspector": "\uD074\uB9BD \uAC80\uC0AC\uAE30 \uD45C\uC2DC",
|
|
219078
219094
|
"edit.showTrack": "\uD2B8\uB799 \uD45C\uC2DC",
|
|
@@ -224038,6 +224054,7 @@ var require_zh_CN = __commonJS({
|
|
|
224038
224054
|
"edit.clipsCount": "{count, plural, =0 {\u7A7A} other {# \u4E2A\u7247\u6BB5}}",
|
|
224039
224055
|
"edit.clipsSelected": "{count, plural, other {\u5DF2\u9009\u62E9 # \u4E2A\u7247\u6BB5}}",
|
|
224040
224056
|
"edit.crossfadeNext": "\u4EA4\u53C9\u6DE1\u5316\u5230 {name}",
|
|
224057
|
+
"edit.curve": "\u66F2\u7EBF",
|
|
224041
224058
|
"edit.cut": "\u526A\u5207",
|
|
224042
224059
|
"edit.db": "{value} dB",
|
|
224043
224060
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -224121,6 +224138,7 @@ var require_zh_CN = __commonJS({
|
|
|
224121
224138
|
"edit.sceneMenu": "\u573A\u666F\u64CD\u4F5C",
|
|
224122
224139
|
"edit.scenes": "\u573A\u666F",
|
|
224123
224140
|
"edit.sequences": "\u5E8F\u5217",
|
|
224141
|
+
"edit.sequenceSettings": "\u5E8F\u5217\u8BBE\u7F6E",
|
|
224124
224142
|
"edit.showBin": "\u663E\u793A\u7D20\u6750\u7BB1",
|
|
224125
224143
|
"edit.showInspector": "\u663E\u793A\u7247\u6BB5\u68C0\u67E5\u5668",
|
|
224126
224144
|
"edit.showTrack": "\u663E\u793A\u8F68\u9053",
|
|
@@ -229086,6 +229104,7 @@ var require_zh_TW = __commonJS({
|
|
|
229086
229104
|
"edit.clipsCount": "{count, plural, =0 {\u7A7A\u767D} other {# \u500B\u7247\u6BB5}}",
|
|
229087
229105
|
"edit.clipsSelected": "{count, plural, other {\u5DF2\u9078\u53D6 # \u500B\u7247\u6BB5}}",
|
|
229088
229106
|
"edit.crossfadeNext": "\u4EA4\u53C9\u6DE1\u5316\u81F3 {name}",
|
|
229107
|
+
"edit.curve": "\u66F2\u7DDA",
|
|
229089
229108
|
"edit.cut": "\u526A\u4E0B",
|
|
229090
229109
|
"edit.db": "{value} dB",
|
|
229091
229110
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -229169,6 +229188,7 @@ var require_zh_TW = __commonJS({
|
|
|
229169
229188
|
"edit.sceneMenu": "\u5834\u666F\u52D5\u4F5C",
|
|
229170
229189
|
"edit.scenes": "\u5834\u666F",
|
|
229171
229190
|
"edit.sequences": "\u5E8F\u5217",
|
|
229191
|
+
"edit.sequenceSettings": "\u5E8F\u5217\u8A2D\u5B9A",
|
|
229172
229192
|
"edit.showBin": "\u986F\u793A\u7D20\u6750\u5EAB",
|
|
229173
229193
|
"edit.showInspector": "\u986F\u793A\u7247\u6BB5\u6AA2\u8996\u5668",
|
|
229174
229194
|
"edit.showTrack": "\u986F\u793A\u8ECC\u9053",
|
|
@@ -234134,6 +234154,7 @@ var require_ru = __commonJS({
|
|
|
234134
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}}",
|
|
234135
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}}",
|
|
234136
234156
|
"edit.crossfadeNext": "\u041D\u0430\u043F\u043B\u044B\u0432 \u0432 {name}",
|
|
234157
|
+
"edit.curve": "\u041A\u0440\u0438\u0432\u0430\u044F",
|
|
234137
234158
|
"edit.cut": "\u0412\u044B\u0440\u0435\u0437\u0430\u0442\u044C",
|
|
234138
234159
|
"edit.db": "{value} \u0434\u0411",
|
|
234139
234160
|
"edit.dbSilent": "\u2212\u221E \u0434\u0411",
|
|
@@ -234217,6 +234238,7 @@ var require_ru = __commonJS({
|
|
|
234217
234238
|
"edit.sceneMenu": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0441\u043E \u0441\u0446\u0435\u043D\u043E\u0439",
|
|
234218
234239
|
"edit.scenes": "\u0421\u0446\u0435\u043D\u044B",
|
|
234219
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",
|
|
234220
234242
|
"edit.showBin": "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u043E\u0440\u0437\u0438\u043D\u0443",
|
|
234221
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",
|
|
234222
234244
|
"edit.showTrack": "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0434\u043E\u0440\u043E\u0436\u043A\u0443",
|
|
@@ -239182,6 +239204,7 @@ var require_ar = __commonJS({
|
|
|
239182
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}}",
|
|
239183
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}}",
|
|
239184
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",
|
|
239185
239208
|
"edit.cut": "\u0642\u0635",
|
|
239186
239209
|
"edit.db": "{value} \u062F\u064A\u0633\u064A\u0628\u0644",
|
|
239187
239210
|
"edit.dbSilent": "\u2212\u221E \u062F\u064A\u0633\u064A\u0628\u0644",
|
|
@@ -239265,6 +239288,7 @@ var require_ar = __commonJS({
|
|
|
239265
239288
|
"edit.sceneMenu": "\u0625\u062C\u0631\u0627\u0621\u0627\u062A \u0627\u0644\u0645\u0634\u0647\u062F",
|
|
239266
239289
|
"edit.scenes": "\u0645\u0634\u0627\u0647\u062F",
|
|
239267
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",
|
|
239268
239292
|
"edit.showBin": "\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0633\u0644\u0629",
|
|
239269
239293
|
"edit.showInspector": "\u0625\u0638\u0647\u0627\u0631 \u0645\u0641\u062A\u0634 \u0627\u0644\u0645\u0642\u0637\u0639",
|
|
239270
239294
|
"edit.showTrack": "\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0645\u0633\u0627\u0631",
|
|
@@ -244230,6 +244254,7 @@ var require_hi = __commonJS({
|
|
|
244230
244254
|
"edit.clipsCount": "{count, plural, =0 {\u0916\u093E\u0932\u0940} one {# \u0915\u094D\u0932\u093F\u092A} other {# \u0915\u094D\u0932\u093F\u092A\u094D\u0938}}",
|
|
244231
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}}",
|
|
244232
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",
|
|
244233
244258
|
"edit.cut": "\u0915\u091F \u0915\u0930\u0947\u0902",
|
|
244234
244259
|
"edit.db": "{value} dB",
|
|
244235
244260
|
"edit.dbSilent": "\u2212\u221E dB",
|
|
@@ -244313,6 +244338,7 @@ var require_hi = __commonJS({
|
|
|
244313
244338
|
"edit.sceneMenu": "\u0926\u0943\u0936\u094D\u092F \u0915\u094D\u0930\u093F\u092F\u093E\u090F\u0901",
|
|
244314
244339
|
"edit.scenes": "\u0926\u0943\u0936\u094D\u092F",
|
|
244315
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",
|
|
244316
244342
|
"edit.showBin": "\u092C\u093F\u0928 \u0926\u093F\u0916\u093E\u090F\u0901",
|
|
244317
244343
|
"edit.showInspector": "\u0915\u094D\u0932\u093F\u092A \u0907\u0902\u0938\u094D\u092A\u0947\u0915\u094D\u091F\u0930 \u0926\u093F\u0916\u093E\u090F\u0901",
|
|
244318
244344
|
"edit.showTrack": "\u091F\u094D\u0930\u0948\u0915 \u0926\u093F\u0916\u093E\u090F\u0901",
|
|
@@ -257311,6 +257337,7 @@ function fillPhotoFrame(doc2, groupId, imageUrl, size6, name2 = "Photo", credit)
|
|
|
257311
257337
|
var isPhotoFrame;
|
|
257312
257338
|
var init_photo_frames = __esm({
|
|
257313
257339
|
"lib/document/photo-frames.ts"() {
|
|
257340
|
+
"use strict";
|
|
257314
257341
|
init_dist_node();
|
|
257315
257342
|
init_scene_graph();
|
|
257316
257343
|
init_types();
|
|
@@ -323069,7 +323096,6 @@ async function selectionReferenceImages(doc2, selection, opts = {}) {
|
|
|
323069
323096
|
var FIT_QUALITIES, FIT_SCALES, blobToDataUrl;
|
|
323070
323097
|
var init_reference_images = __esm({
|
|
323071
323098
|
"lib/ai/reference-images.ts"() {
|
|
323072
|
-
"use strict";
|
|
323073
323099
|
init_export();
|
|
323074
323100
|
init_selection_bounds();
|
|
323075
323101
|
init_renderer_registry();
|
|
@@ -333970,7 +333996,7 @@ var init_package = __esm({
|
|
|
333970
333996
|
"packages/runtime/package.json"() {
|
|
333971
333997
|
package_default = {
|
|
333972
333998
|
name: "@popcraft/runtime",
|
|
333973
|
-
version: "0.55.
|
|
333999
|
+
version: "0.55.2",
|
|
333974
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.",
|
|
333975
334001
|
license: "MIT",
|
|
333976
334002
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -406558,6 +406584,7 @@ function placeDesign(doc2, built, source3, size6, name2, at5) {
|
|
|
406558
406584
|
var DESIGN_NAMESPACES, DERIVED2, templateOfBuild;
|
|
406559
406585
|
var init_build3 = __esm({
|
|
406560
406586
|
"lib/agent/design-script/build.ts"() {
|
|
406587
|
+
"use strict";
|
|
406561
406588
|
init_hash();
|
|
406562
406589
|
init_scene_graph();
|
|
406563
406590
|
init_libraries();
|
|
@@ -406587,6 +406614,7 @@ function designFrameOf(doc2, id3) {
|
|
|
406587
406614
|
}
|
|
406588
406615
|
var init_locate = __esm({
|
|
406589
406616
|
"lib/agent/design-script/locate.ts"() {
|
|
406617
|
+
"use strict";
|
|
406590
406618
|
}
|
|
406591
406619
|
});
|
|
406592
406620
|
|
|
@@ -409686,7 +409714,7 @@ __export(reference_exports, {
|
|
|
409686
409714
|
exampleMarkdown: () => exampleMarkdown,
|
|
409687
409715
|
referenceIndex: () => referenceIndex
|
|
409688
409716
|
});
|
|
409689
|
-
var START, COLOR_TYPE, LAYOUT2, COMPONENTS, MOTION, SIZES, WEB, EDITING, DECISIONS, REFERENCE_TOPICS, exampleMarkdown, referenceIndex, DESIGN_REFERENCE;
|
|
409717
|
+
var START, COLOR_TYPE, LAYOUT2, COMPONENTS, MOTION, SEQUENCES, SIZES, WEB, EDITING, DECISIONS, REFERENCE_TOPICS, exampleMarkdown, referenceIndex, DESIGN_REFERENCE;
|
|
409690
409718
|
var init_reference = __esm({
|
|
409691
409719
|
"lib/agent/design-script/reference.ts"() {
|
|
409692
409720
|
init_examples();
|
|
@@ -409821,6 +409849,30 @@ Set the timeline first, then add moves. Times are ms on the frame's timeline.
|
|
|
409821
409849
|
\`motion.appear\`, \`motion.blink\`.
|
|
409822
409850
|
- Rules: the hook within the first second, entrances on beats, the one loud moment on the music's loudest, the frame
|
|
409823
409851
|
at rest is the finished picture, a loop ends where it began.`;
|
|
409852
|
+
SEQUENCES = `## Sequences: cutting scenes into a video
|
|
409853
|
+
|
|
409854
|
+
A design script builds frames; a video of several scenes is then cut from them as a **sequence** (Edit mode). The kit
|
|
409855
|
+
does not write sequences: run \`create_composition\` and \`edit_sequence\` after the script builds (see
|
|
409856
|
+
[Designing with an AI agent](/docs/api/agents#cutting-a-video-sequences)), or, in a template, add the sequence to the
|
|
409857
|
+
document the template returns, as the *PopCraft AI trailer* does:
|
|
409858
|
+
|
|
409859
|
+
\`\`\`js
|
|
409860
|
+
// A sequence: shots back to back on V1, title cards on V2, the music bed on A1.
|
|
409861
|
+
const sequence = {
|
|
409862
|
+
...comp, // from createComposition({ frames, \u2026 })
|
|
409863
|
+
layers: titles.map((t, i) => ({ id: \`title-\${i + 1}\`, track: 1, kind: 'scene', frameId: t.frame, start: t.at, in: 0, out: t.ms })),
|
|
409864
|
+
audio: [{ id: 'music', mediaHash: MUSIC, name: 'Music', start: 0, in: 0, out: END, lane: 0 }],
|
|
409865
|
+
tracks: { V1: { name: 'Shots' }, V2: { name: 'Titles' }, A1: { name: 'Music' } },
|
|
409866
|
+
}
|
|
409867
|
+
return { ...doc, compositions: { [sequence.id]: sequence } }
|
|
409868
|
+
\`\`\`
|
|
409869
|
+
|
|
409870
|
+
- \`clips\` is V1: scenes, each \`{ frameId, start, in, out, transitionIn? }\`, back to back.
|
|
409871
|
+
- \`layers\` is V2 and up: \`{ track (1 is V2), kind: 'scene', frameId, start, in, out, opacity?, blend?, fadeIn?, fadeOut?, speed?, reverse?, disabled? }\`.
|
|
409872
|
+
- \`audio\` is A1 and down: \`{ mediaHash, start, in, out, lane (0 is A1), gain?, pan?, fadeIn?, fadeOut?, loop? }\`.
|
|
409873
|
+
- \`tracks\` names and sets each track: \`{ name?, locked?, hidden?, muted?, solo?, gain?, pan? }\`; \`marks\` is the in and
|
|
409874
|
+
out; \`markers\` are on the ruler (put one on each downbeat to cut to).
|
|
409875
|
+
- Cut on the music: with a tempo of \`bpm\`, a bar is \`240000 / bpm\` ms; land every cut and every title on one.`;
|
|
409824
409876
|
SIZES = `## Other sizes
|
|
409825
409877
|
|
|
409826
409878
|
- \`k.variants(k.sheet, [{ preset: 'ig-post', adjust: (kit, id) => { \u2026 } }, \u2026])\` \u2014 copies of the design at other sizes,
|
|
@@ -409901,6 +409953,7 @@ How the gallery's designs were decided, in order. Make every decision yourself;
|
|
|
409901
409953
|
{ id: "layout", title: "Layers and layout", summary: "flowSheet, stacks, frames, text, shapes, vectors and path helpers, photos, patch", body: LAYOUT2 },
|
|
409902
409954
|
{ id: "components", title: "Components, variants and interaction", summary: "components and props, variant sets, variables and switches, prototype links", body: COMPONENTS },
|
|
409903
409955
|
{ id: "motion", title: "Motion and music", summary: "timeline, music beds, cues and presets, counters, swaps, keys, behaviours", body: MOTION },
|
|
409956
|
+
{ 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 },
|
|
409904
409957
|
{ id: "sizes", title: "Other sizes", summary: "variants and recomposing each size", body: SIZES },
|
|
409905
409958
|
{ id: "web", title: "Web pages", summary: "page, nav, buttons, sections, the hero loop, responsive sizes", body: WEB },
|
|
409906
409959
|
{ id: "editing", title: "Editing designs that already exist", summary: "run_script over the document, batched tool calls, looking at the result", body: EDITING },
|
|
@@ -419358,7 +419411,7 @@ init_resources();
|
|
|
419358
419411
|
init_desktop();
|
|
419359
419412
|
init_hypery();
|
|
419360
419413
|
import { createInterface } from "node:readline";
|
|
419361
|
-
var VERSION2 = "0.55.
|
|
419414
|
+
var VERSION2 = "0.55.2";
|
|
419362
419415
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
419363
419416
|
|
|
419364
419417
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.2",
|
|
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.55.
|
|
37
|
+
"@popcraft/kit": "0.55.2"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|