@pixelvibing/cli 0.13.0 → 0.14.0
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/pixel-vibing-cli.js +11 -8
- package/package.json +1 -1
package/dist/pixel-vibing-cli.js
CHANGED
|
@@ -3683,18 +3683,21 @@ function jobDelay(elapsedMs) {
|
|
|
3683
3683
|
return 1e4;
|
|
3684
3684
|
}
|
|
3685
3685
|
const jobEnded = (job) => job.state === "done" || job.state === "failed";
|
|
3686
|
-
function
|
|
3686
|
+
function jobStage(job) {
|
|
3687
|
+
if (job.progress !== void 0) return job.progress.stage;
|
|
3687
3688
|
switch (job.state) {
|
|
3688
3689
|
case "queued":
|
|
3689
|
-
return job.attempts > 0 ? "waiting
|
|
3690
|
+
return job.attempts > 0 ? "waiting" : "queued";
|
|
3690
3691
|
case "running":
|
|
3691
|
-
return "
|
|
3692
|
-
|
|
3693
|
-
return
|
|
3694
|
-
case "failed":
|
|
3695
|
-
return job.reason === null ? "failed" : `failed: ${job.reason}`;
|
|
3692
|
+
return "generating";
|
|
3693
|
+
default:
|
|
3694
|
+
return job.state;
|
|
3696
3695
|
}
|
|
3697
3696
|
}
|
|
3697
|
+
function jobWords(job) {
|
|
3698
|
+
const stage = jobStage(job);
|
|
3699
|
+
return stage === "failed" && job.reason !== null ? `failed: ${job.reason}` : stage;
|
|
3700
|
+
}
|
|
3698
3701
|
function costOf(prices, request) {
|
|
3699
3702
|
return costIn(prices, request.kind);
|
|
3700
3703
|
}
|
|
@@ -4576,7 +4579,7 @@ const move = {
|
|
|
4576
4579
|
);
|
|
4577
4580
|
}
|
|
4578
4581
|
};
|
|
4579
|
-
const version = "0.
|
|
4582
|
+
const version = "0.14.0";
|
|
4580
4583
|
const manifest = {
|
|
4581
4584
|
version
|
|
4582
4585
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixelvibing/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "PixelVibing: pixel art game assets from the command line, and the Skills that teach coding assistants to make them.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://pixelvibing.com",
|