@sirenodeck/sirenodeck 0.2.5 → 0.2.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/capture-file-C11RW9NA.mjs +47 -0
- package/dist/darwin-B1ECvuGg.mjs +15 -0
- package/dist/darwin-Bs7hyOFv.mjs +78 -0
- package/dist/darwin-Cm-RiXMK.mjs +56 -0
- package/dist/darwin-DCTL6wDT.mjs +39 -0
- package/dist/darwin-RFhh5cL5.mjs +122 -0
- package/dist/install-yAoVCzK1.mjs +198 -0
- package/dist/linux-BDSwIJbc.mjs +577 -0
- package/dist/linux-CS_pCg0V.mjs +158 -0
- package/dist/linux-Dq07aXcR.mjs +119 -0
- package/dist/linux-OyPmXbFE.mjs +51 -0
- package/dist/live-metrics-CMf02ncg.mjs +975 -0
- package/dist/main.mjs +170 -10
- package/dist/spawn-IWeEQPpd.mjs +69 -0
- package/dist/windows-CRWdUgCn.mjs +45 -0
- package/dist/windows-CTAfiwO_.mjs +361 -0
- package/dist/windows-DeS97h4f.mjs +74 -0
- package/dist/windows-zhWiv_h8.mjs +55 -0
- package/package.json +2 -2
- package/src/cli/commands/run.ts +28 -1
- package/src/cli/commands/start.ts +17 -0
- package/src/cli/startup-display.ts +1 -1
- package/src/core/settings.ts +5 -3
- package/src/device/black-frame.ts +2 -7
- package/src/outputClient/real.ts +2 -0
|
@@ -23,13 +23,8 @@ export const pushBlackFrame = async (
|
|
|
23
23
|
for (let i = 0; i < device.getKeyCount(); i++) {
|
|
24
24
|
await device.fillKeyBuffer(i, buf.subarray(0, 3 * 8 * 8))
|
|
25
25
|
}
|
|
26
|
-
// ponytail:
|
|
27
|
-
// device
|
|
28
|
-
// queued image writes above are dropped at USB disconnect.
|
|
29
|
-
await device.setBrightness(0)
|
|
30
|
-
// ponytail: give the queued USB writes a moment to drain before the caller
|
|
31
|
-
// closes the device; otherwise node-hid may flush to a closed handle and
|
|
32
|
-
// the panel keeps the last fully-rendered frame.
|
|
26
|
+
// ponytail: allow queued image writes to drain before the caller closes
|
|
27
|
+
// the device; brightness is intentionally left unchanged.
|
|
33
28
|
await new Promise<void>((r) => setTimeout(r, 200))
|
|
34
29
|
logger.info("black-frame: pushed")
|
|
35
30
|
} catch (err) {
|
package/src/outputClient/real.ts
CHANGED
|
@@ -147,6 +147,8 @@ export class RealOutputClient implements OutputClient {
|
|
|
147
147
|
let configUiSupervisor: SuperviseHandle | null = null
|
|
148
148
|
|
|
149
149
|
try {
|
|
150
|
+
this.deviceBrightness = opts.runtime.getBrightness()
|
|
151
|
+
await device.setBrightness(this.deviceBrightness)
|
|
150
152
|
// ponytail: paint the waiting state directly to hardware before Vite or
|
|
151
153
|
// Playwright starts; the deck must remain useful when its frontend is down.
|
|
152
154
|
const logoCandidates = [
|