@popcraft/cli 0.44.0 → 0.44.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 +6 -6
- 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.44.
|
|
1199
|
+
const headers = { "user-agent": `popcraft-cli/${"0.44.1"}`, ...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 {
|
|
@@ -97535,7 +97535,6 @@ function relinkCopies(doc2, copies) {
|
|
|
97535
97535
|
var TEXT_PATH_SOURCE_TYPES, isPathSource;
|
|
97536
97536
|
var init_text_links = __esm({
|
|
97537
97537
|
"lib/document/text-links.ts"() {
|
|
97538
|
-
"use strict";
|
|
97539
97538
|
init_transform();
|
|
97540
97539
|
TEXT_PATH_SOURCE_TYPES = ["VECTOR", "ELLIPSE", "RECTANGLE", "POLYGON", "STAR", "LINE", "ARROW", "FRAME"];
|
|
97541
97540
|
isPathSource = (n) => !!n && TEXT_PATH_SOURCE_TYPES.includes(n.type);
|
|
@@ -247905,7 +247904,6 @@ function repairCompositions(comps, nodes) {
|
|
|
247905
247904
|
var isObj5, finite6, optFinite, isVec2, TIMELINE_COLOR_IDS, TIMELINE_COLORS, UNITS, ORDERS, PROP_KEYS, ANIMATOR_ID, MOTION_TYPES, TRANSITIONS, isFraction, MEDIA_HASH;
|
|
247906
247905
|
var init_invariants = __esm({
|
|
247907
247906
|
"lib/motion/invariants.ts"() {
|
|
247908
|
-
"use strict";
|
|
247909
247907
|
init_easing();
|
|
247910
247908
|
init_properties();
|
|
247911
247909
|
init_markers();
|
|
@@ -255964,6 +255962,7 @@ fn shade(uv: vec2<f32>, res: vec2<f32>, tm: f32) -> vec4<f32> {
|
|
|
255964
255962
|
var SHADER_PRESETS, shaderPreset, legacyPresetOf, DEFAULT_SHADER_PRESET, DEFAULT_TEXTURE_PARAMS, f, vec4, NOISE_LIB;
|
|
255965
255963
|
var init_shader_presets = __esm({
|
|
255966
255964
|
"lib/engine/shader-presets.ts"() {
|
|
255965
|
+
"use strict";
|
|
255967
255966
|
init_shader_graph();
|
|
255968
255967
|
init_shader_graph_presets();
|
|
255969
255968
|
init_shader_presets_legacy();
|
|
@@ -262408,6 +262407,7 @@ function formatDate(date5, opts = { month: "short", day: "numeric", year: "numer
|
|
|
262408
262407
|
var cache5, nf;
|
|
262409
262408
|
var init_format = __esm({
|
|
262410
262409
|
"lib/i18n/format.ts"() {
|
|
262410
|
+
"use strict";
|
|
262411
262411
|
init_runtime();
|
|
262412
262412
|
cache5 = /* @__PURE__ */ new Map();
|
|
262413
262413
|
nf = (opts) => cached2("n", opts, (l) => new Intl.NumberFormat(l, opts));
|
|
@@ -318087,6 +318087,7 @@ function agentToolList() {
|
|
|
318087
318087
|
var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
|
|
318088
318088
|
var init_agent = __esm({
|
|
318089
318089
|
"lib/commands/agent.ts"() {
|
|
318090
|
+
"use strict";
|
|
318090
318091
|
init_types5();
|
|
318091
318092
|
init_registry();
|
|
318092
318093
|
init_errors();
|
|
@@ -327950,7 +327951,7 @@ var init_package = __esm({
|
|
|
327950
327951
|
"packages/runtime/package.json"() {
|
|
327951
327952
|
package_default = {
|
|
327952
327953
|
name: "@popcraft/runtime",
|
|
327953
|
-
version: "0.44.
|
|
327954
|
+
version: "0.44.1",
|
|
327954
327955
|
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.",
|
|
327955
327956
|
license: "MIT",
|
|
327956
327957
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -367310,7 +367311,6 @@ var init_doc2 = __esm({
|
|
|
367310
367311
|
var POSTER_KEY, MAX_PREVIEW_BYTES2, PREVIEW_STILL_TYPE, previewPath;
|
|
367311
367312
|
var init_motion3 = __esm({
|
|
367312
367313
|
"lib/marketplace/motion.ts"() {
|
|
367313
|
-
"use strict";
|
|
367314
367314
|
init_instances2();
|
|
367315
367315
|
POSTER_KEY = "poster";
|
|
367316
367316
|
MAX_PREVIEW_BYTES2 = 4 * 1024 * 1024;
|
|
@@ -413504,7 +413504,7 @@ init_resources();
|
|
|
413504
413504
|
init_desktop();
|
|
413505
413505
|
init_hypery();
|
|
413506
413506
|
import { createInterface } from "node:readline";
|
|
413507
|
-
var VERSION2 = "0.44.
|
|
413507
|
+
var VERSION2 = "0.44.1";
|
|
413508
413508
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
413509
413509
|
|
|
413510
413510
|
Files (headless, on .popcraft files):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@popcraft/cli",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.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.44.
|
|
37
|
+
"@popcraft/kit": "0.44.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|