@popcraft/cli 0.9.0 → 0.9.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.
- package/dist/popcraft.mjs +9 -4
- package/package.json +2 -2
package/dist/popcraft.mjs
CHANGED
|
@@ -1173,7 +1173,7 @@ function operations(spec = openapi) {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
async function call(target2, method, path, opts = {}) {
|
|
1175
1175
|
const qs = new URLSearchParams(opts.query ?? {}).toString();
|
|
1176
|
-
const headers = { "user-agent": `popcraft-cli/${"0.9.
|
|
1176
|
+
const headers = { "user-agent": `popcraft-cli/${"0.9.1"}`, ...opts.headers };
|
|
1177
1177
|
if (target2.token) headers.authorization = `Bearer ${target2.token}`;
|
|
1178
1178
|
if (opts.contentType) headers["content-type"] = opts.contentType;
|
|
1179
1179
|
try {
|
|
@@ -254042,6 +254042,7 @@ function activeTeamWorkspaceId() {
|
|
|
254042
254042
|
var STORAGE_KEY2, useHyperyTeam, useTeamPrompt;
|
|
254043
254043
|
var init_team = __esm({
|
|
254044
254044
|
"lib/client/cloud/team.ts"() {
|
|
254045
|
+
"use strict";
|
|
254045
254046
|
init_esm();
|
|
254046
254047
|
init_api4();
|
|
254047
254048
|
init_session();
|
|
@@ -303482,6 +303483,7 @@ function applyTextPath(layout2, path, tp, rebase = true) {
|
|
|
303482
303483
|
var defaultCircleRadius, ownsPath, mapPoint;
|
|
303483
303484
|
var init_text_path = __esm({
|
|
303484
303485
|
"lib/engine/text/text-path.ts"() {
|
|
303486
|
+
"use strict";
|
|
303485
303487
|
init_scene_graph();
|
|
303486
303488
|
init_transform();
|
|
303487
303489
|
init_shape_to_path();
|
|
@@ -307830,6 +307832,7 @@ async function exportSettingFile(renderer, node2, setting, doc2, styles) {
|
|
|
307830
307832
|
var MIME, DEFAULT_EXPORT, exportSettingsOf;
|
|
307831
307833
|
var init_export = __esm({
|
|
307832
307834
|
"lib/io/export.ts"() {
|
|
307835
|
+
"use strict";
|
|
307833
307836
|
init_download();
|
|
307834
307837
|
init_scene_graph();
|
|
307835
307838
|
init_codecs();
|
|
@@ -308206,7 +308209,6 @@ function videoPixelSize(resolution, aspect) {
|
|
|
308206
308209
|
var VIDEO_ASPECTS, VIDEO_RESOLUTIONS, SEEDANCE_ASPECTS, range, VIDEO_MODELS, DEFAULT_VIDEO_MODEL, videoModel, VIDEO_LIMITS;
|
|
308207
308210
|
var init_video_models = __esm({
|
|
308208
308211
|
"lib/ai/video-models.ts"() {
|
|
308209
|
-
"use strict";
|
|
308210
308212
|
VIDEO_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
308211
308213
|
VIDEO_RESOLUTIONS = ["480p", "720p", "1080p"];
|
|
308212
308214
|
SEEDANCE_ASPECTS = ["16:9", "9:16", "1:1", "4:3", "3:4", "21:9"];
|
|
@@ -308695,6 +308697,7 @@ function agentToolList() {
|
|
|
308695
308697
|
var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
|
|
308696
308698
|
var init_agent = __esm({
|
|
308697
308699
|
"lib/commands/agent.ts"() {
|
|
308700
|
+
"use strict";
|
|
308698
308701
|
init_types5();
|
|
308699
308702
|
init_registry();
|
|
308700
308703
|
init_errors();
|
|
@@ -317228,7 +317231,7 @@ var init_package = __esm({
|
|
|
317228
317231
|
"packages/runtime/package.json"() {
|
|
317229
317232
|
package_default = {
|
|
317230
317233
|
name: "@popcraft/runtime",
|
|
317231
|
-
version: "0.9.
|
|
317234
|
+
version: "0.9.1",
|
|
317232
317235
|
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.",
|
|
317233
317236
|
license: "MIT",
|
|
317234
317237
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -348913,6 +348916,7 @@ function publishSite(key5, files, opts = {}) {
|
|
|
348913
348916
|
var siteStatus, setSiteVersion, renameSite;
|
|
348914
348917
|
var init_sites = __esm({
|
|
348915
348918
|
"lib/client/cloud/sites.ts"() {
|
|
348919
|
+
"use strict";
|
|
348916
348920
|
init_files();
|
|
348917
348921
|
init_upload2();
|
|
348918
348922
|
init_api4();
|
|
@@ -349426,6 +349430,7 @@ function designRecorder() {
|
|
|
349426
349430
|
var installed;
|
|
349427
349431
|
var init_recorders = __esm({
|
|
349428
349432
|
"lib/agent/design-script/recorders.ts"() {
|
|
349433
|
+
"use strict";
|
|
349429
349434
|
installed = null;
|
|
349430
349435
|
}
|
|
349431
349436
|
});
|
|
@@ -397792,7 +397797,7 @@ init_resources();
|
|
|
397792
397797
|
init_desktop();
|
|
397793
397798
|
init_hypery();
|
|
397794
397799
|
import { createInterface } from "node:readline";
|
|
397795
|
-
var VERSION2 = "0.9.
|
|
397800
|
+
var VERSION2 = "0.9.1";
|
|
397796
397801
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
397797
397802
|
|
|
397798
397803
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.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.9.
|
|
37
|
+
"@popcraft/kit": "0.9.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|