github alexanderwanyoike/the0 v1.7.0

latest releases: v1.13.4, the0-0.8.3, v1.13.3...
2 months ago

What's New

Real-time Log Streaming (NATS + SSE)

  • Realtime bots now stream logs live via NATS → SSE — no more manual refreshing
  • Connection status indicator shows "Live" when streaming is active
  • Automatic fallback to REST polling after 4s if SSE fails to connect

Scheduled Bot Polling Fix

  • Scheduled bots now correctly use REST polling instead of broken SSE streaming
  • shouldUseLogStreaming() utility determines the right mode based on bot config type
  • Neither hook fires until the bot type is known, avoiding unnecessary requests

Log Console Improvements

  • Pagination with 2000-entry buffer cap and "Load Earlier" support
  • Fetch-based SSE replaces EventSource for authenticated streaming
  • Hardened hook lifecycle: fixed stale closures, reconnection, and cleanup leaks

Runtime & API Hardening

  • Chunked log reads on newline boundaries to preserve log lines
  • Idempotent NATS stream setup, Result-based error flow
  • Safe fan-out writes, bot ID allowlisting, UTC dates in SSE
  • Nil-guard publish, drain on close, credential redaction

What's Changed

Full Changelog: v1.6.2...v1.7.0

Don't miss a new the0 release

NewReleases is sending notifications on new releases.