accelr8 3.5.0 → 3.6.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/chunks/{app-RF2DF5XE.js → app-RLI7EJGK.js} +11 -12
- package/dist/chunks/{chunk-HXKHZMYJ.js → chunk-HXMWH7DE.js} +1 -1
- package/dist/chunks/{client-LW44RAH4.js → client-HEB5PQCT.js} +1 -1
- package/dist/chunks/{server-2YXWW32W.js → server-43CHBWWU.js} +1 -1
- package/dist/cli.js +4 -4
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-HY6ULYGH.js";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_SERVER
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HXMWH7DE.js";
|
|
10
10
|
|
|
11
11
|
// src/radio/app.ts
|
|
12
12
|
import tk from "terminal-kit";
|
|
@@ -4672,8 +4672,8 @@ function makeVignette4(def) {
|
|
|
4672
4672
|
durationMs: clamp4(totalMs, 18e3, 26e3),
|
|
4673
4673
|
frame(tMs, w, h) {
|
|
4674
4674
|
const out = new Array(w * h);
|
|
4675
|
-
const
|
|
4676
|
-
out.fill(
|
|
4675
|
+
const BG3 = { ch: " ", color: 16 };
|
|
4676
|
+
out.fill(BG3);
|
|
4677
4677
|
if (w <= 0 || h <= 0) return out;
|
|
4678
4678
|
const setCell = (x, y, ch, color) => {
|
|
4679
4679
|
if (x >= 0 && x < w && y >= 0 && y < h) out[y * w + x] = { ch, color };
|
|
@@ -4966,8 +4966,10 @@ var CUT = /* @__PURE__ */ new Set([
|
|
|
4966
4966
|
"bump-build-green",
|
|
4967
4967
|
"socratic-retrieval",
|
|
4968
4968
|
"platonic-cache",
|
|
4969
|
-
"bloom"
|
|
4969
|
+
"bloom",
|
|
4970
4970
|
// Pat's original reject: value-noise blob mush
|
|
4971
|
+
"spectrum"
|
|
4972
|
+
// Pat's reject: the spectrum-analyzer visualizer
|
|
4971
4973
|
]);
|
|
4972
4974
|
var originals = VISUALIZERS.map((v) => ({ name: v.name, kind: "visualizer", frame: v.frame }));
|
|
4973
4975
|
var ALL_SCENES = [
|
|
@@ -5695,26 +5697,23 @@ function drawVolToast() {
|
|
|
5695
5697
|
for (let i = 0; i < s.length && x + i < screen.width; i++)
|
|
5696
5698
|
screen.put({ x: x + i, y, attr: { color: 231, bgColor: 16, bold: true }, dx: 1, dy: 0, wrap: false }, s[i]);
|
|
5697
5699
|
}
|
|
5700
|
+
var BG2 = 16;
|
|
5698
5701
|
function blitVideo() {
|
|
5699
5702
|
const w = screen.width, h = screen.height;
|
|
5700
5703
|
if (lastFrame && frameW === w && frameH === h) {
|
|
5701
5704
|
for (let y = 0; y < h; y++) {
|
|
5702
5705
|
for (let x = 0; x < w; x++) {
|
|
5703
5706
|
const c = lastFrame[y * w + x];
|
|
5704
|
-
if (c) screen.put({ x, y, attr: { color: c.color, bgColor:
|
|
5707
|
+
if (c) screen.put({ x, y, attr: { color: c.color, bgColor: BG2 }, dx: 1, dy: 0, wrap: false }, c.ch);
|
|
5705
5708
|
}
|
|
5706
5709
|
}
|
|
5707
5710
|
} else {
|
|
5708
5711
|
for (let y = 0; y < h; y++)
|
|
5709
|
-
screen.put({ x: 0, y, attr: { color:
|
|
5712
|
+
screen.put({ x: 0, y, attr: { color: BG2, bgColor: BG2 }, dx: 1, dy: 0, wrap: false }, " ".repeat(w));
|
|
5710
5713
|
}
|
|
5711
5714
|
}
|
|
5712
|
-
function videoColorAt(
|
|
5713
|
-
|
|
5714
|
-
const c = lastFrame[y * frameW + x];
|
|
5715
|
-
if (c) return c.color;
|
|
5716
|
-
}
|
|
5717
|
-
return 233;
|
|
5715
|
+
function videoColorAt(_x, _y) {
|
|
5716
|
+
return BG2;
|
|
5718
5717
|
}
|
|
5719
5718
|
function blitOverlay(cells) {
|
|
5720
5719
|
const w = screen.width, h = screen.height;
|
package/dist/cli.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
DEFAULT_SERVER,
|
|
4
4
|
PORT,
|
|
5
5
|
VERSION
|
|
6
|
-
} from "./chunks/chunk-
|
|
6
|
+
} from "./chunks/chunk-HXMWH7DE.js";
|
|
7
7
|
|
|
8
8
|
// src/cli.ts
|
|
9
9
|
var HELP = `
|
|
@@ -53,7 +53,7 @@ async function main() {
|
|
|
53
53
|
console.error(`invalid port: ${argVal(args, "--port")}`);
|
|
54
54
|
process.exit(1);
|
|
55
55
|
}
|
|
56
|
-
const { runServer } = await import("./chunks/server-
|
|
56
|
+
const { runServer } = await import("./chunks/server-43CHBWWU.js");
|
|
57
57
|
runServer(port);
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
@@ -67,7 +67,7 @@ async function main() {
|
|
|
67
67
|
console.error("accelr8 radio needs an interactive terminal (TTY).");
|
|
68
68
|
process.exit(1);
|
|
69
69
|
}
|
|
70
|
-
const { runRadio } = await import("./chunks/app-
|
|
70
|
+
const { runRadio } = await import("./chunks/app-RLI7EJGK.js");
|
|
71
71
|
runRadio({
|
|
72
72
|
name: argVal(args, "--name"),
|
|
73
73
|
server: argVal(args, "--server"),
|
|
@@ -90,7 +90,7 @@ async function main() {
|
|
|
90
90
|
const { cachedUpdate, refreshUpdateCache } = await import("./chunks/update-UEPNGB6Y.js");
|
|
91
91
|
refreshUpdateCache();
|
|
92
92
|
const update = cachedUpdate(VERSION);
|
|
93
|
-
const { runClient } = await import("./chunks/client-
|
|
93
|
+
const { runClient } = await import("./chunks/client-HEB5PQCT.js");
|
|
94
94
|
runClient({
|
|
95
95
|
name: argVal(args, "--name"),
|
|
96
96
|
server: argVal(args, "--server"),
|