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.streamOS 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
CLIChannelrendering engine. Background daemon chats natively share exact theming, formatting, and responsive UX without redundancy. - Architectural Cleanup (
SharedChannel): Refactored the technically inaccurateWebChannelintoSharedChannel. 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
WebChannelimplementations withSharedChannel. 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 initFull Changelog: 0.1.9...0.1.10
