Commit Graph

7 Commits

Author SHA1 Message Date
Hermes Agent 468af211ad feat: rename to qr-stream, add --serve web preview, include src in package
- Rename CLI entry from qr-terminal.ts to qr-stream.ts
- Rename package to qr-stream, version 0.6.0
- Add --serve / -s flag to start built-in static file server for web UI preview
- Include dist/ and src/ in npm files so consumers get both bundled CLI and source code
- Add static_server.ts helper using Node built-in http module
- Update help text and tests for new name and --serve flag
- Remove old qr-terminal.js from deployment
2026-05-04 01:47:10 +00:00
Hermes Agent e1261ca927 chore: prepare package for npm publishing
- Add MIT LICENSE
- Remove "private": true
- Set name to qr-transfer-terminal, version 0.5.0
- Add files, engines, keywords, repository, bugs, homepage fields
- Move typescript from peerDependencies to devDependencies
- Add prepublishOnly script to ensure fresh CLI bundle
2026-05-04 01:29:09 +00:00
Hermes Agent a7773b5c0a feat(cli): make installable as qr-terminal bin; fix cursor positioning
- Add 'bin' field to package.json so npm/npx/bunx can invoke it as
  'qr-terminal'. The bin points to dist/qr-terminal.js.
- Change shebang to '#!/usr/bin/env node' for universal compatibility.
- Fix displaced chars: each frame write now ends with '\n' and
  moveCursorUp() appends '\x1b[G' to move to column 0. Previously the
  cursor stayed at the end of the previous last line, causing redraws
  to start mid-line.
- Position QR at top-left (removed padTop/padLeft centre logic) since
  the alt-buffer is clean and only the QR is shown.
- Update help text to show npx/bunx invocations.
2026-05-03 22:27:30 +00:00
Hermes Agent c0baff8d42 build: include CLI bundle in default build step 2026-05-03 22:06:56 +00:00
Hermes Agent 73ae264e4d v0.5: CLI terminal QR frontend + tests + deploy to /qr-transfer/ 2026-05-03 19:44:16 +00:00
Hermes Agent 87bd318adc v0.4: outer RS error correction, scanner timer, generation-based progress
- Add outer Reed-Solomon error correction across generations
  (3% overhead, 1 parity gen per ~33 source gens)
- Fix progress display: show generations solved/needed instead of
  raw packet counts, making outer EC benefit visible
- Add decode timer: tracks elapsed time from first frame to completion
  and shows throughput in KB/s
- Add benchmark test confirming outer EC reduces tail waiting time
  under biased frame loss
- Remove per-generation hash verification (superseded by outer RS)
- Update deployment base path to /hermes-web-demos/qr/
2026-05-03 19:04:06 +00:00
Hermes Agent b20e5c9c17 Initial implementation: QR-over-GIF Transfer System
- Protocol: packet format, CRC32C, CBOR manifest, fragmentation
- FEC: GF(256) arithmetic, xoshiro128** PRNG, systematic RLNC encoder/decoder
- QR: generation (qrcode-generator), rasterization (3px/module), decoding (jsQR)
- GIF: animated GIF generation (gifenc) with 2-colour palette
- Preprocessing: deflate compression, SHA-256 hashing
- Sender pipeline: packetizer, frame scheduler with interleaving
- Workers: encode, gif generation, decode/reconstruction in Web Workers
- UI: Preact SPA with Sender/Receiver tabs, dark theme
- Tests: 93 passing (unit, property-based, integration, E2E)
- Default profile: Robust (V31-Q, K=24, R=12)
- Deployed to /hermes-web-demos/qr-transfer/
2026-05-02 21:37:06 +00:00