@popcraft/cli 0.40.2 → 0.40.3
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 +16 -8
- package/package.json +2 -2
package/dist/popcraft.mjs
CHANGED
|
@@ -1196,7 +1196,7 @@ function operations(spec = openapi) {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
async function call(target2, method, path, opts = {}) {
|
|
1198
1198
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1199
|
-
const headers = { "user-agent": `popcraft-cli/${"0.40.
|
|
1199
|
+
const headers = { "user-agent": `popcraft-cli/${"0.40.3"}`, ...opts.headers };
|
|
1200
1200
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1201
1201
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1202
1202
|
try {
|
|
@@ -35032,6 +35032,7 @@ var init_en2 = __esm({
|
|
|
35032
35032
|
"planDialog.studioFor": "For teams",
|
|
35033
35033
|
"planDialog.studioIsForTeamsSwitch": "Studio is for teams \u2014 it appears here for a team's files.",
|
|
35034
35034
|
"planDialog.subscribeOnTheWeb": "Subscribe on the web",
|
|
35035
|
+
"planDialog.switchAtRenewal": "Switch to {plan} at renewal",
|
|
35035
35036
|
"planDialog.switchTeamsInTheAccount": "Your role in this team can't change its plan.",
|
|
35036
35037
|
"planDialog.switchToPlan": "Switch to {plan}",
|
|
35037
35038
|
"planDialog.teamEditors": "Team editors",
|
|
@@ -39799,6 +39800,7 @@ var require_es = __commonJS({
|
|
|
39799
39800
|
"planDialog.studioFor": "Para equipos",
|
|
39800
39801
|
"planDialog.studioIsForTeamsSwitch": "Studio es para equipos \u2014 aparece aqu\xED para los archivos de un equipo.",
|
|
39801
39802
|
"planDialog.subscribeOnTheWeb": "Suscribirse en la web",
|
|
39803
|
+
"planDialog.switchAtRenewal": "Cambiar a {plan} en la renovaci\xF3n",
|
|
39802
39804
|
"planDialog.switchTeamsInTheAccount": "Tu rol en este equipo no puede cambiar su plan.",
|
|
39803
39805
|
"planDialog.switchToPlan": "Cambiar a {plan}",
|
|
39804
39806
|
"planDialog.teamEditors": "Editores de equipo",
|
|
@@ -44566,6 +44568,7 @@ var require_fr = __commonJS({
|
|
|
44566
44568
|
"planDialog.studioFor": "Pour les \xE9quipes",
|
|
44567
44569
|
"planDialog.studioIsForTeamsSwitch": "Studio est pour les \xE9quipes \u2014 il appara\xEEt ici pour les fichiers d\u2019une \xE9quipe.",
|
|
44568
44570
|
"planDialog.subscribeOnTheWeb": "S\u2019abonner sur le web",
|
|
44571
|
+
"planDialog.switchAtRenewal": "Passer \xE0 {plan} au renouvellement",
|
|
44569
44572
|
"planDialog.switchTeamsInTheAccount": "Votre r\xF4le dans cette \xE9quipe ne vous permet pas de modifier son forfait.",
|
|
44570
44573
|
"planDialog.switchToPlan": "Passer \xE0 {plan}",
|
|
44571
44574
|
"planDialog.teamEditors": "\xC9diteurs d\u2019\xE9quipe",
|
|
@@ -49333,6 +49336,7 @@ var require_de = __commonJS({
|
|
|
49333
49336
|
"planDialog.studioFor": "F\xFCr Teams",
|
|
49334
49337
|
"planDialog.studioIsForTeamsSwitch": "Studio ist f\xFCr Teams \u2013 es erscheint hier f\xFCr die Dateien eines Teams.",
|
|
49335
49338
|
"planDialog.subscribeOnTheWeb": "Im Web abonnieren",
|
|
49339
|
+
"planDialog.switchAtRenewal": "Bei Verl\xE4ngerung zu {plan} wechseln",
|
|
49336
49340
|
"planDialog.switchTeamsInTheAccount": "Deine Rolle in diesem Team erlaubt es nicht, den Plan zu \xE4ndern.",
|
|
49337
49341
|
"planDialog.switchToPlan": "Wechseln zu {plan}",
|
|
49338
49342
|
"planDialog.teamEditors": "Team-Editoren",
|
|
@@ -54100,6 +54104,7 @@ var require_it = __commonJS({
|
|
|
54100
54104
|
"planDialog.studioFor": "Per i team",
|
|
54101
54105
|
"planDialog.studioIsForTeamsSwitch": "Studio \xE8 per i team \u2014 appare qui per i file di un team.",
|
|
54102
54106
|
"planDialog.subscribeOnTheWeb": "Abbonati sul web",
|
|
54107
|
+
"planDialog.switchAtRenewal": "Passa a {plan} al rinnovo",
|
|
54103
54108
|
"planDialog.switchTeamsInTheAccount": "Il tuo ruolo in questo team non pu\xF2 modificare il suo piano.",
|
|
54104
54109
|
"planDialog.switchToPlan": "Passa a {plan}",
|
|
54105
54110
|
"planDialog.teamEditors": "Editor del team",
|
|
@@ -58867,6 +58872,7 @@ var require_pt_BR = __commonJS({
|
|
|
58867
58872
|
"planDialog.studioFor": "Para equipes",
|
|
58868
58873
|
"planDialog.studioIsForTeamsSwitch": "O Studio \xE9 para equipes \u2014 ele aparece aqui para os arquivos de uma equipe.",
|
|
58869
58874
|
"planDialog.subscribeOnTheWeb": "Assinar na web",
|
|
58875
|
+
"planDialog.switchAtRenewal": "Mudar para {plan} na renova\xE7\xE3o",
|
|
58870
58876
|
"planDialog.switchTeamsInTheAccount": "Sua fun\xE7\xE3o nesta equipe n\xE3o permite alterar o plano.",
|
|
58871
58877
|
"planDialog.switchToPlan": "Mudar para {plan}",
|
|
58872
58878
|
"planDialog.teamEditors": "Editores de equipe",
|
|
@@ -63634,6 +63640,7 @@ var require_ja = __commonJS({
|
|
|
63634
63640
|
"planDialog.studioFor": "\u30C1\u30FC\u30E0\u5411\u3051",
|
|
63635
63641
|
"planDialog.studioIsForTeamsSwitch": "Studio \u306F\u30C1\u30FC\u30E0\u5411\u3051\u3067\u3059 \u2014 \u3053\u3053\u306B\u306F\u30C1\u30FC\u30E0\u306E\u30D5\u30A1\u30A4\u30EB\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002",
|
|
63636
63642
|
"planDialog.subscribeOnTheWeb": "\u30A6\u30A7\u30D6\u3067\u8CFC\u8AAD",
|
|
63643
|
+
"planDialog.switchAtRenewal": "\u66F4\u65B0\u6642\u306B{plan}\u306B\u5207\u308A\u66FF\u3048\u308B",
|
|
63637
63644
|
"planDialog.switchTeamsInTheAccount": "\u3053\u306E\u30C1\u30FC\u30E0\u3067\u306E\u3042\u306A\u305F\u306E\u5F79\u5272\u3067\u306F\u3001\u30D7\u30E9\u30F3\u3092\u5909\u66F4\u3067\u304D\u307E\u305B\u3093\u3002",
|
|
63638
63645
|
"planDialog.switchToPlan": "{plan}\u30D7\u30E9\u30F3\u306B\u5207\u308A\u66FF\u3048\u308B",
|
|
63639
63646
|
"planDialog.teamEditors": "\u30C1\u30FC\u30E0\u30A8\u30C7\u30A3\u30BF\u30FC",
|
|
@@ -68401,6 +68408,7 @@ var require_ko = __commonJS({
|
|
|
68401
68408
|
"planDialog.studioFor": "\uD300\uC6A9",
|
|
68402
68409
|
"planDialog.studioIsForTeamsSwitch": "\uC2A4\uD29C\uB514\uC624\uB294 \uD300\uC744 \uC704\uD55C \uAE30\uB2A5\uC785\uB2C8\uB2E4. \uD300 \uD30C\uC77C\uC5D0 \uB300\uD574 \uC5EC\uAE30\uC5D0 \uD45C\uC2DC\uB429\uB2C8\uB2E4.",
|
|
68403
68410
|
"planDialog.subscribeOnTheWeb": "\uC6F9\uC5D0\uC11C \uAD6C\uB3C5\uD558\uAE30",
|
|
68411
|
+
"planDialog.switchAtRenewal": "\uAC31\uC2E0 \uC2DC {plan}\uC73C\uB85C \uC804\uD658",
|
|
68404
68412
|
"planDialog.switchTeamsInTheAccount": "\uC774 \uD300\uC5D0\uC11C\uC758 \uADC0\uD558\uC758 \uC5ED\uD560\uB85C\uB294 \uD50C\uB79C\uC744 \uBCC0\uACBD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
68405
68413
|
"planDialog.switchToPlan": "{plan} \uD50C\uB79C\uC73C\uB85C \uC804\uD658",
|
|
68406
68414
|
"planDialog.teamEditors": "\uD300 \uD3B8\uC9D1\uC790",
|
|
@@ -73168,6 +73176,7 @@ var require_zh_CN = __commonJS({
|
|
|
73168
73176
|
"planDialog.studioFor": "\u9002\u7528\u4E8E\u56E2\u961F",
|
|
73169
73177
|
"planDialog.studioIsForTeamsSwitch": "Studio \u9002\u7528\u4E8E\u56E2\u961F \u2014 \u5B83\u4F1A\u5728\u6B64\u5904\u663E\u793A\u56E2\u961F\u6587\u4EF6\u3002",
|
|
73170
73178
|
"planDialog.subscribeOnTheWeb": "\u5728\u7F51\u9875\u4E0A\u8BA2\u9605",
|
|
73179
|
+
"planDialog.switchAtRenewal": "\u7EED\u8BA2\u65F6\u5207\u6362\u5230 {plan}",
|
|
73171
73180
|
"planDialog.switchTeamsInTheAccount": "\u60A8\u5728\u6B64\u56E2\u961F\u4E2D\u7684\u89D2\u8272\u65E0\u6CD5\u66F4\u6539\u5176\u5957\u9910\u3002",
|
|
73172
73181
|
"planDialog.switchToPlan": "\u5207\u6362\u5230 {plan}",
|
|
73173
73182
|
"planDialog.teamEditors": "\u56E2\u961F\u7F16\u8F91\u8005",
|
|
@@ -77935,6 +77944,7 @@ var require_zh_TW = __commonJS({
|
|
|
77935
77944
|
"planDialog.studioFor": "\u9069\u7528\u65BC\u5718\u968A",
|
|
77936
77945
|
"planDialog.studioIsForTeamsSwitch": "Studio \u9069\u7528\u65BC\u5718\u968A \u2014 \u9019\u88E1\u986F\u793A\u7684\u662F\u5718\u968A\u6A94\u6848\u3002",
|
|
77937
77946
|
"planDialog.subscribeOnTheWeb": "\u5728\u7DB2\u9801\u4E0A\u8A02\u95B1",
|
|
77947
|
+
"planDialog.switchAtRenewal": "\u5728\u7E8C\u8A02\u6642\u5207\u63DB\u81F3 {plan}",
|
|
77938
77948
|
"planDialog.switchTeamsInTheAccount": "\u60A8\u5728\u6B64\u5718\u968A\u4E2D\u7684\u89D2\u8272\u7121\u6CD5\u66F4\u6539\u5176\u65B9\u6848\u3002",
|
|
77939
77949
|
"planDialog.switchToPlan": "\u5207\u63DB\u81F3 {plan}",
|
|
77940
77950
|
"planDialog.teamEditors": "\u5718\u968A\u7DE8\u8F2F\u8005",
|
|
@@ -82702,6 +82712,7 @@ var require_ru = __commonJS({
|
|
|
82702
82712
|
"planDialog.studioFor": "\u0414\u043B\u044F \u043A\u043E\u043C\u0430\u043D\u0434",
|
|
82703
82713
|
"planDialog.studioIsForTeamsSwitch": "Studio \u043F\u0440\u0435\u0434\u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0430 \u0434\u043B\u044F \u043A\u043E\u043C\u0430\u043D\u0434 \u2014 \u043E\u043D\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u0437\u0434\u0435\u0441\u044C \u0434\u043B\u044F \u0444\u0430\u0439\u043B\u043E\u0432 \u043A\u043E\u043C\u0430\u043D\u0434\u044B.",
|
|
82704
82714
|
"planDialog.subscribeOnTheWeb": "\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u0442\u044C\u0441\u044F \u043D\u0430 \u0441\u0430\u0439\u0442\u0435",
|
|
82715
|
+
"planDialog.switchAtRenewal": "\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u043D\u0430 {plan} \u043F\u0440\u0438 \u043F\u0440\u043E\u0434\u043B\u0435\u043D\u0438\u0438",
|
|
82705
82716
|
"planDialog.switchTeamsInTheAccount": "\u0412\u0430\u0448\u0430 \u0440\u043E\u043B\u044C \u0432 \u044D\u0442\u043E\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u0435 \u043D\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0435\u0435 \u043F\u043B\u0430\u043D.",
|
|
82706
82717
|
"planDialog.switchToPlan": "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 {plan}",
|
|
82707
82718
|
"planDialog.teamEditors": "\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u044B \u043A\u043E\u043C\u0430\u043D\u0434\u044B",
|
|
@@ -87469,6 +87480,7 @@ var require_ar = __commonJS({
|
|
|
87469
87480
|
"planDialog.studioFor": "\u0644\u0644\u0641\u0631\u0642",
|
|
87470
87481
|
"planDialog.studioIsForTeamsSwitch": "\u0627\u0644\u0627\u0633\u062A\u0648\u062F\u064A\u0648 \u0645\u062E\u0635\u0635 \u0644\u0644\u0641\u0631\u0642 \u2014 \u064A\u0638\u0647\u0631 \u0647\u0646\u0627 \u0644\u0645\u0644\u0641\u0627\u062A \u0627\u0644\u0641\u0631\u064A\u0642.",
|
|
87471
87482
|
"planDialog.subscribeOnTheWeb": "\u0627\u0634\u062A\u0631\u0643 \u0639\u0628\u0631 \u0627\u0644\u0648\u064A\u0628",
|
|
87483
|
+
"planDialog.switchAtRenewal": "\u0627\u0644\u062A\u0628\u062F\u064A\u0644 \u0625\u0644\u0649 {plan} \u0639\u0646\u062F \u0627\u0644\u062A\u062C\u062F\u064A\u062F",
|
|
87472
87484
|
"planDialog.switchTeamsInTheAccount": "\u062F\u0648\u0631\u0643 \u0641\u064A \u0647\u0630\u0627 \u0627\u0644\u0641\u0631\u064A\u0642 \u0644\u0627 \u064A\u0633\u0645\u062D \u0628\u062A\u063A\u064A\u064A\u0631 \u062E\u0637\u062A\u0647.",
|
|
87473
87485
|
"planDialog.switchToPlan": "\u0627\u0644\u062A\u0628\u062F\u064A\u0644 \u0625\u0644\u0649 {plan}",
|
|
87474
87486
|
"planDialog.teamEditors": "\u0645\u062D\u0631\u0631\u0648 \u0627\u0644\u0641\u0631\u064A\u0642",
|
|
@@ -92236,6 +92248,7 @@ var require_hi = __commonJS({
|
|
|
92236
92248
|
"planDialog.studioFor": "\u091F\u0940\u092E\u094B\u0902 \u0915\u0947 \u0932\u093F\u090F",
|
|
92237
92249
|
"planDialog.studioIsForTeamsSwitch": "\u0938\u094D\u091F\u0942\u0921\u093F\u092F\u094B \u091F\u0940\u092E\u094B\u0902 \u0915\u0947 \u0932\u093F\u090F \u0939\u0948 \u2014 \u092F\u0939 \u092F\u0939\u093E\u0901 \u0915\u093F\u0938\u0940 \u091F\u0940\u092E \u0915\u0940 \u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0947 \u0932\u093F\u090F \u0926\u093F\u0916\u093E\u0908 \u0926\u0947\u0924\u093E \u0939\u0948\u0964",
|
|
92238
92250
|
"planDialog.subscribeOnTheWeb": "\u0935\u0947\u092C \u092A\u0930 \u0938\u0926\u0938\u094D\u092F\u0924\u093E \u0932\u0947\u0902",
|
|
92251
|
+
"planDialog.switchAtRenewal": "\u0928\u0935\u0940\u0928\u0940\u0915\u0930\u0923 \u092A\u0930 {plan} \u092A\u0930 \u0938\u094D\u0935\u093F\u091A \u0915\u0930\u0947\u0902",
|
|
92239
92252
|
"planDialog.switchTeamsInTheAccount": "\u0907\u0938 \u091F\u0940\u092E \u092E\u0947\u0902 \u0906\u092A\u0915\u0940 \u092D\u0942\u092E\u093F\u0915\u093E \u0907\u0938\u0915\u093E \u092A\u094D\u0932\u093E\u0928 \u0928\u0939\u0940\u0902 \u092C\u0926\u0932 \u0938\u0915\u0924\u0940\u0964",
|
|
92240
92253
|
"planDialog.switchToPlan": "{plan} \u092A\u0930 \u0938\u094D\u0935\u093F\u091A \u0915\u0930\u0947\u0902",
|
|
92241
92254
|
"planDialog.teamEditors": "\u091F\u0940\u092E \u0938\u0902\u092A\u093E\u0926\u0915",
|
|
@@ -262744,7 +262757,6 @@ function planEntryAction({ home }) {
|
|
|
262744
262757
|
var STORAGE_KEY2, useHyperyTeam, TEAM_PROMPT_ENABLED, TEAM_PROMPTED_KEY, PROMPTED_KEY, useTeamPrompt, started;
|
|
262745
262758
|
var init_team = __esm({
|
|
262746
262759
|
"lib/client/cloud/team.ts"() {
|
|
262747
|
-
"use strict";
|
|
262748
262760
|
init_esm();
|
|
262749
262761
|
init_api4();
|
|
262750
262762
|
init_session();
|
|
@@ -312455,7 +312467,6 @@ function areaBounds(rings) {
|
|
|
312455
312467
|
}
|
|
312456
312468
|
var init_text_area = __esm({
|
|
312457
312469
|
"lib/engine/text/text-area.ts"() {
|
|
312458
|
-
"use strict";
|
|
312459
312470
|
}
|
|
312460
312471
|
});
|
|
312461
312472
|
|
|
@@ -327597,7 +327608,7 @@ var init_package = __esm({
|
|
|
327597
327608
|
"packages/runtime/package.json"() {
|
|
327598
327609
|
package_default = {
|
|
327599
327610
|
name: "@popcraft/runtime",
|
|
327600
|
-
version: "0.40.
|
|
327611
|
+
version: "0.40.3",
|
|
327601
327612
|
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.",
|
|
327602
327613
|
license: "MIT",
|
|
327603
327614
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -360809,7 +360820,6 @@ function publishSite(key5, files, opts = {}) {
|
|
|
360809
360820
|
var siteStatus, setSiteVersion, workspaceSites, deleteSite, renameSite;
|
|
360810
360821
|
var init_sites = __esm({
|
|
360811
360822
|
"lib/client/cloud/sites.ts"() {
|
|
360812
|
-
"use strict";
|
|
360813
360823
|
init_files();
|
|
360814
360824
|
init_upload2();
|
|
360815
360825
|
init_api4();
|
|
@@ -361337,7 +361347,6 @@ var init_delete_current_file = __esm({
|
|
|
361337
361347
|
var storeOpsSeam;
|
|
361338
361348
|
var init_seams = __esm({
|
|
361339
361349
|
"lib/commands/seams.ts"() {
|
|
361340
|
-
"use strict";
|
|
361341
361350
|
storeOpsSeam = (st) => ({
|
|
361342
361351
|
booleanOperation: (op4) => st().booleanOperation(op4),
|
|
361343
361352
|
flatten: () => st().flattenSelection(),
|
|
@@ -398396,7 +398405,6 @@ function record(source, namespaces, globals, limits) {
|
|
|
398396
398405
|
var HELPER_NAMES;
|
|
398397
398406
|
var init_helper_names = __esm({
|
|
398398
398407
|
"lib/agent/design-script/helper-names.ts"() {
|
|
398399
|
-
"use strict";
|
|
398400
398408
|
HELPER_NAMES = ["draw", "marks", "fit", "motion", "captions", "overlays", "texture", "pointer", "windows", "devices", "type", "beat", "web", "social", "video", "site", "effects"];
|
|
398401
398409
|
}
|
|
398402
398410
|
});
|
|
@@ -411187,7 +411195,7 @@ init_resources();
|
|
|
411187
411195
|
init_desktop();
|
|
411188
411196
|
init_hypery();
|
|
411189
411197
|
import { createInterface } from "node:readline";
|
|
411190
|
-
var VERSION2 = "0.40.
|
|
411198
|
+
var VERSION2 = "0.40.3";
|
|
411191
411199
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
411192
411200
|
|
|
411193
411201
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.3",
|
|
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.40.
|
|
37
|
+
"@popcraft/kit": "0.40.3"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|