memlnaut-nisps/playground
w1n5t0n ebd5dba4c0 feat(playground/modes): ModeShell + runtime + switcher scaffolding (meml-yt7)
Stream 9 (part 1/2) — shared infrastructure for the per-mode TSX layer.

  - ModeShell.tsx: common chrome (header, voice-space PillToggle, audio
    start/stop, control axes, training controls, drawer, status line).
    Modes only have to author primary input + output JSX.
  - mode-runtime.ts: useModeRuntime(schema) hook. Owns input pipeline,
    WASM ML calls, output pipeline, and a 50ms-throttled engine-host
    bridge. Exposes setInput/processedOutputs/training/audio surfaces
    so mode TSX stays declarative.
  - mode-helpers.ts: schema → SliderBank config + Float32Array →
    slider-range value mapping. Pure functions.
  - ModeSwitcher.tsx: top-of-page <select> wired to modeStore.

ModeShell and the runtime read controlStore (Boldness/Memory/Precision)
to derive learning rate + RL noise cap so axes affect training without
needing per-mode plumbing.
2026-04-29 17:00:43 +03:00
..
public feat(playground/wasm): WASM bridge between C++ core and SolidJS playground (meml-tgm) 2026-04-29 16:36:29 +03:00
src feat(playground/modes): ModeShell + runtime + switcher scaffolding (meml-yt7) 2026-04-29 17:00:43 +03:00
.gitignore feat(playground): scaffold vite + solid + ts 2026-04-29 15:37:23 +03:00
index.html feat(playground): scaffold vite + solid + ts 2026-04-29 15:37:23 +03:00
package.json feat(playground): scaffold vite + solid + ts 2026-04-29 15:37:23 +03:00
tsconfig.json feat(playground): scaffold vite + solid + ts 2026-04-29 15:37:23 +03:00
vite.config.ts feat(playground): scaffold vite + solid + ts 2026-04-29 15:37:23 +03:00