Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 32 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,35 @@ jobs:
path: output/release-evidence/
if-no-files-found: warn

receiver-node26:
name: Receiver regression / Node 26 / ${{ matrix.os }}
if: github.event_name != 'schedule'
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# Issue #55 was reported on Node 26. This additive renderer check keeps
# the maintained Node 22/24 platform and playback matrix unchanged.
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 26.x
cache: npm

- name: Install
run: npm ci

- name: Receiver output, memory and terminal compatibility
env:
VITEST_MAX_WORKERS: '1'
run: npx vitest run src/cli-tui-runtime.test.ts src/ui/components/ReceiverVisualRow.test.tsx src/ui/visual-baseline.test.tsx src/ui/portable-render.test.tsx src/ui/receiver-animation.test.tsx

playback-smoke:
name: Playback Smoke
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -272,16 +301,17 @@ jobs:

required-release-checks:
name: Required Release Checks
needs: [verify, playback-smoke, docs]
needs: [verify, receiver-node26, playback-smoke, docs]
if: always() && github.event_name != 'schedule'
runs-on: ubuntu-latest
steps:
- name: Require all maintained-platform jobs
env:
VERIFY: ${{ needs.verify.result }}
RECEIVER_NODE26: ${{ needs.receiver-node26.result }}
PLAYBACK: ${{ needs.playback-smoke.result }}
DOCS: ${{ needs.docs.result }}
run: test "$VERIFY" = success && test "$PLAYBACK" = success && test "$DOCS" = success
run: test "$VERIFY" = success && test "$RECEIVER_NODE26" = success && test "$PLAYBACK" = success && test "$DOCS" = success

# Experimental jobs run in full guest kernels, not Linux containers. They are
# opt-in/weekly and do not establish maintained or audible-playback support.
Expand Down
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,38 @@

All notable changes to RadioCLI are documented in this file.

## [0.2.6] - 2026-10-28

### Added

- Added the Boat Lake receiver, bringing the collection to 64 animated styles.
- Expanded the display palette from 14 to 48 colors, with matching listening
activity shades and color choices in the website receiver gallery.

### Changed

- Refined Sumi Ocean with a clearer moon, moving water, and wider reflections
that remain readable in compact and micro layouts.
- Updated the website receiver previews and project demos to match the terminal
renderers, including Boat Lake, Sumi Ocean, and the expanded color palette.

### Fixed

- Prevented long-running animated receiver sessions from exhausting Node.js
memory, including Manhattan and the other scenery styles, across full,
compact, and micro layouts.
- Kept normal TUI launches on the production React runtime while preserving
explicitly enabled development diagnostics.
- Preserved new colors and receiver selections while older RadioCLI and MCP
processes continue reading and writing the same library.
- Avoided transient library-lock failures on Windows while another writer
releases its lock.

### Security

- Updated Zod and Undici to patched versions within their existing dependency
ranges.

## [0.2.5] - 2026-10-18

### Added
Expand Down Expand Up @@ -546,3 +578,4 @@ Initial public release.
[0.1.2]: https://github.com/Ciphore/RadioCLI/releases/tag/v0.1.2
[0.1.1]: https://github.com/Ciphore/RadioCLI/releases/tag/v0.1.1
[0.2.5]: https://github.com/Ciphore/RadioCLI/releases/tag/v0.2.5
[0.2.6]: https://github.com/Ciphore/RadioCLI/releases/tag/v0.2.6
18 changes: 18 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,24 @@ major screens, and receiver styles. Preserve Unicode captures. When rendering
changes intentionally, describe the visible effect in the pull request and do
not update snapshots merely to hide failures.

Receiver changes also run an isolated real-Ink memory regression in the normal
test suite. For a longer accelerated soak (frames run without the 80 ms delay):

```bash
node --expose-gc --import tsx scripts/receiver-memory-smoke.mjs --frames=10000
```

The harness updates one persistent Ink root, discards terminal output, waits
for each frame to flush, and compares
post-GC JavaScript heap after warmup; RSS includes allocator high-water memory
and is recorded separately. It cycles scenery, sizes, themes, ASCII, and
background settings. Like the CLI, it defaults to the production React runtime
before loading the renderer. An explicit `NODE_ENV=development` keeps React's
developer diagnostics, including profiling entries retained by Node; use the
production runtime for memory acceptance. Node 26 has an additional receiver-only CI check on Linux,
macOS, and Windows for issue #55; this does not replace the full Node 22/24
platform matrix or establish full Node 26 platform verification.

## Issue Triage

Playback issues should include station name, country, backend, and
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ world without leaving your terminal. No account. No cloud library.
codec, and bitrate, or browse country lists. The interactive world map uses a
cached station atlas to find broadcasts around the map cursor and sort them by
distance. Cached directory results remain available during provider outages.
- **63 receiver styles:** Switch between braille animation, ASCII geometry,
- **64 receiver styles:** Switch between braille animation, ASCII geometry,
waves, fire, cityscapes, and the Gallop display without interrupting
playback. Color themes are selected independently. Receivers animate during
playback. Choose from 48 color themes independently. Receivers animate during
active playback and return to a zero-signal display when audio is inactive.
- **Listening stats:** A 52-week activity graph, listening time, session counts,
active days, streaks, and your most-listened station. Stats are recorded locally
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function HomePage() {
</div>

<ReceiverGallery preview />
<Link className="rc-text-link rc-gallery-link" href="/receivers">Try all 63 receiver styles →</Link>
<Link className="rc-text-link rc-gallery-link" href="/receivers">Try all 64 receiver styles →</Link>

<div className="rc-visual-features">
{features.filter((_, index) => index > 1 && index !== 4).map(feature => <VisualFeature key={feature.demo} feature={feature} />)}
Expand Down
6 changes: 3 additions & 3 deletions apps/docs/app/(home)/receivers/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import './receiver-names.css';
import { ReceiverGallery } from '@/components/receiver-gallery';

export const metadata: Metadata = {
title: '63 Receiver Styles',
description: 'Explore all 63 RadioCLI receiver styles, with their original palettes and supported theme colors. Animated directly from the terminal renderer.',
title: '64 Receiver Styles',
description: 'Explore all 64 RadioCLI receiver styles, with their original palettes and supported theme colors. Animated directly from the terminal renderer.',
alternates: { canonical: '/receivers' },
openGraph: { title: 'RadioCLI Receiver Styles', url: '/receivers', description: '63 animated receiver styles, original palettes, and supported theme colors.' },
openGraph: { title: 'RadioCLI Receiver Styles', url: '/receivers', description: '64 animated receiver styles, original palettes, and supported theme colors.' },
};

export default function ReceiversPage() {
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/components/receiver-gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ export function ReceiverGallery({ preview = false }: { preview?: boolean }) {
<section id="receivers" className="rc-section rc-receivers" aria-labelledby="receiver-heading">
<div className="rc-receiver-heading">
<div className="rc-heading">
<h2 id="receiver-heading">{preview ? '63 animated receiver styles' : 'Receiver styles'}</h2>
<p>{preview ? 'Choose from ASCII patterns, waves, cityscapes, and more.' : '63 animated playback visuals, from flowing patterns to cityscapes and landscapes.'}</p>
<h2 id="receiver-heading">{preview ? '64 animated receiver styles' : 'Receiver styles'}</h2>
<p>{preview ? 'Choose from ASCII patterns, waves, cityscapes, and more.' : '64 animated playback visuals, from flowing patterns to cityscapes and landscapes.'}</p>
</div>
{!preview && <div className="rc-receiver-controls">
<button className="rc-color-toggle" type="button" onClick={cycleTheme} aria-label={`Receiver color: ${theme}. Next color`}>
Expand Down
32 changes: 32 additions & 0 deletions apps/docs/content/docs/changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@ title: Changelog
description: Release history for RadioCLI.
---

## 0.2.6 - 2026-10-28

### Added

- Added the Boat Lake receiver, bringing the collection to 64 animated styles.
- Expanded the display palette from 14 to 48 colors, with matching listening
activity shades and color choices in the website receiver gallery.

### Changed

- Refined Sumi Ocean with a clearer moon, moving water, and wider reflections
that remain readable in compact and micro layouts.
- Updated the website receiver previews and project demos to match the terminal
renderers, including Boat Lake, Sumi Ocean, and the expanded color palette.

### Fixed

- Prevented long-running animated receiver sessions from exhausting Node.js
memory, including Manhattan and the other scenery styles, across full,
compact, and micro layouts.
- Kept normal TUI launches on the production React runtime while preserving
explicitly enabled development diagnostics.
- Preserved new colors and receiver selections while older RadioCLI and MCP
processes continue reading and writing the same library.
- Avoided transient library-lock failures on Windows while another writer
releases its lock.

### Security

- Updated Zod and Undici to patched versions within their existing dependency
ranges.

## 0.2.5 - 2026-10-18

### Added
Expand Down
12 changes: 6 additions & 6 deletions apps/docs/content/docs/release-packaging.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ recorded evidence; npm cannot rerun the source verification from that artifact.
Test the packed tarball locally:

```bash
VERSION=0.2.5
VERSION=0.2.6
npm pack
npm install -g "./ciphore-radiocli-$VERSION.tgz"
radiocli --help
Expand All @@ -63,7 +63,7 @@ Publish:

```bash
npm login
npm publish ./output/release-evidence/ciphore-radiocli-0.2.5.tgz --access public
npm publish ./output/release-evidence/ciphore-radiocli-0.2.6.tgz --access public
```

After publishing, `npm install -g @ciphore/radiocli` should install the
Expand Down Expand Up @@ -99,9 +99,9 @@ The evidence directory also retains the tested tarball and a `candidate.json`
source record. `--require-clean` rejects a dirty or unknown source state when
running the fresh-install harness directly.

The same harness upgrades separate installations of published versions 0.2.3
and 0.2.4 to the candidate tarball. It keeps each older storage implementation
running throughout the replacement, then checks all 63 supported receivers while
The same harness upgrades separate installations of published versions 0.2.3, 0.2.4,
and 0.2.5 to the candidate tarball. It keeps each older storage implementation
running throughout the replacement, then checks all 64 supported receivers while
old and new processes read and write one library. Favorites, recent stations,
track/search history, alarms, and the previously selected receiver must survive.
Each `upgrade-<version>.json` record is bound to the tested artifact, source, and
Expand Down Expand Up @@ -200,7 +200,7 @@ The reusable formula template lives in `packaging/homebrew/radiocli.rb.template`
After each npm publish, fetch the npm tarball URL and SHA:

```bash
VERSION=0.2.5
VERSION=0.2.6
TARBALL="$(npm view @ciphore/radiocli@$VERSION dist.tarball)"
curl -L "$TARBALL" -o "/tmp/radiocli-$VERSION.tgz"
shasum -a 256 "/tmp/radiocli-$VERSION.tgz"
Expand Down
15 changes: 15 additions & 0 deletions apps/docs/lib/receiver-canvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const cellHeight = 20;
const playback = {state: 'playing', ready: true} as PlaybackState;
let surface: HTMLCanvasElement | undefined;
const brailleBits = [[1, 8], [2, 16], [4, 32], [64, 128]];
const triangles: Record<string, readonly (readonly [number, number])[]> = {
'◢': [[1, 0], [1, 1], [0, 1]], '◣': [[0, 0], [0, 1], [1, 1]],
'◤': [[0, 0], [1, 0], [0, 1]], '◥': [[0, 0], [1, 0], [1, 1]],
};
const quadrants: Record<string, number> = {
'▘': 1, '▝': 2, '▖': 4, '▗': 8, '▌': 5, '▐': 10, '▀': 3, '▄': 12,
'▚': 9, '▞': 6, '▛': 7, '▜': 11, '▙': 13, '▟': 14, '█': 15,
Expand Down Expand Up @@ -51,6 +55,17 @@ export function drawReceiver(canvas: HTMLCanvasElement, style: ReceiverStyle, pu
}
}
context.fill();
} else if (style === 'sumi-ocean' && glyph === '●') {
context.beginPath();
context.arc(left + cellWidth / 2, top + cellHeight / 2, cellWidth / 2, 0, Math.PI * 2);
context.fill();
} else if (glyph in triangles) {
context.beginPath();
triangles[glyph].forEach(([dx, dy], index) => {
if (index === 0) context.moveTo(left + dx * cellWidth, top + dy * cellHeight);
else context.lineTo(left + dx * cellWidth, top + dy * cellHeight);
});
context.fill();
} else if (glyph in quadrants) {
const mask = quadrants[glyph];
for (let dy = 0; dy < 2; dy++) for (let dx = 0; dx < 2; dx++) {
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/lib/seo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export function getHomeJsonLd() {
codeRepository: repositoryUrl,
downloadUrl: 'https://www.npmjs.com/package/@ciphore/radiocli',
installUrl: absoluteUrl('/docs/getting-started/install'),
softwareVersion: '0.2.5',
softwareVersion: '0.2.6',
license: licenseUrl,
isAccessibleForFree: true,
author: {
Expand Down
10 changes: 5 additions & 5 deletions apps/docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "radiocli-docs",
"version": "0.2.5",
"version": "0.2.6",
"private": true,
"description": "Public website and documentation for RadioCLI.",
"type": "module",
Expand Down
Binary file added apps/docs/public/demo/radiocli-alarm-editor.webm
Binary file not shown.
Binary file added apps/docs/public/demo/radiocli-explore-map.webm
Binary file not shown.
Binary file added apps/docs/public/demo/radiocli-layout-micro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/docs/public/demo/radiocli-library.webm
Binary file not shown.
Binary file added apps/docs/public/demo/radiocli-mcp-controls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/docs/public/demo/radiocli-nearby.webm
Binary file not shown.
Binary file added apps/docs/public/demo/radiocli-search.webm
Binary file not shown.
Binary file added apps/docs/public/demo/radiocli-stats-colors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/docs/public/demo/radiocli-stats-colors.webm
Binary file not shown.
Binary file added apps/docs/public/demo/radiocli-stats-ruby.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading