@popcraft/cli 0.9.6 → 0.9.7
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 +3 -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.7"}`, ...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 {
|
|
@@ -308729,7 +308729,6 @@ function agentToolList() {
|
|
|
308729
308729
|
var AGENT_CAPABILITIES, legacyCommandId, legacyTools, blobToDataUrl3, provided, legacyTool, legacyToolList;
|
|
308730
308730
|
var init_agent = __esm({
|
|
308731
308731
|
"lib/commands/agent.ts"() {
|
|
308732
|
-
"use strict";
|
|
308733
308732
|
init_types5();
|
|
308734
308733
|
init_registry();
|
|
308735
308734
|
init_errors();
|
|
@@ -317263,7 +317262,7 @@ var init_package = __esm({
|
|
|
317263
317262
|
"packages/runtime/package.json"() {
|
|
317264
317263
|
package_default = {
|
|
317265
317264
|
name: "@popcraft/runtime",
|
|
317266
|
-
version: "0.9.
|
|
317265
|
+
version: "0.9.7",
|
|
317267
317266
|
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.",
|
|
317268
317267
|
license: "MIT",
|
|
317269
317268
|
homepage: "https://popcraft.app/docs/exporting/nextjs",
|
|
@@ -397828,7 +397827,7 @@ init_resources();
|
|
|
397828
397827
|
init_desktop();
|
|
397829
397828
|
init_hypery();
|
|
397830
397829
|
import { createInterface } from "node:readline";
|
|
397831
|
-
var VERSION2 = "0.9.
|
|
397830
|
+
var VERSION2 = "0.9.7";
|
|
397832
397831
|
var HELP = `popcraft ${VERSION2} \u2014 the PopCraft command line
|
|
397833
397832
|
|
|
397834
397833
|
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.7",
|
|
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.7"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "node build.mjs",
|