Skip to content

memoryblock@0.1.10 (Live Tailing & Unified Engine)

Latest

Choose a tag to compare

@mgks mgks released this 06 Apr 18:29
· 3 commits to main since this release

memoryblock logo

This release brings perfect functional parity between foreground blocks and attached background daemons. We've entirely unified the CLI rendering architecture.

  • Background Real-time Streaming: Attaching to a running daemon via mblk start <block> now features flawless, real-time "live typing" streaming, syncing LLM stream byte chunks identically to the raw foreground architecture via a persistent .stream OS layer.
  • Unified Engine: Scrapped 150+ lines of duplicate rendering UI from the "thin-client". Daemons now directly inject into a pristine, single-source-of-truth CLIChannel rendering engine. Background daemon chats natively share exact theming, formatting, and responsive UX without redundancy.
  • Architectural Cleanup (SharedChannel): Refactored the technically inaccurate WebChannel into SharedChannel. Daemons write background states explicitly to disk for seamless, multi-client, any-platform UI hydration. (Fully backwards compatible for existing saved daemon configs under ~/.memoryblock/blocks).

✨ Highlights

⚡ True Daemon Streaming (Live Typing)

Previously, tailing an autonomous daemon resulted in slightly degraded formatting without live-typing.

Now, reading a daemon block intelligently tracks byte-buffer boundaries in the background utilizing the .stream OS pipeline, syncing the headless CLIChannel to replicate a localized streaming aesthetic natively.
You can dynamically pause reading and catch back up.

Also fixed severe CLI double-printing and deduplicated multi-channel race conditions for robust file tracking.

Complete Tool Observability UI

When a daemon runs multiple background tasks invisibly, the thin client now brilliantly maps OS-level tool executions dynamically to your Assistant's UI wrapper.
Tools explicitly output underneath the Monitor's specific persona label and emoji instead of floating arbitrarily as a loose System message.

Dependency Standardization

  • Replaced WebChannel implementations with SharedChannel. The block UI architecture accurately reflects memoryblock's vision: Daemons dump pure structural output to disk headers, and decoupled "Thin Client" Frontends instantly hydrate via CLI/Web/Telegram UI rendering hooks asynchronously!

Test Results

Test Status Notes
Foreground Streaming Native chunks verified cleanly.
Background Daemon Live Tailing .stream buffer truncates/retains state correctly globally.
Daemon Dual Interface CLI Read Tools map visually inside CLIChannel engine natively.
WebChannel to SharedChannel Migration Auto-maps legacy configured "web" strings seamlessly.
Build (all packages) TypeScript typings strictly validated via dev:build.

🚀 How to Upgrade

bun install -g memoryblock  # For Bun (recommended)
npm install -g memoryblock  # For Node/NPM

mblk init

Full Changelog: 0.1.9...0.1.10