Skip to content

v0.4.0

Choose a tag to compare

@NikolayS NikolayS released this 30 May 23:53

What's new in v0.4.0

Features

  • WebSocket frame capture on by defaultsamoagent join now enables in-memory frame capture automatically. No RTMP, no ngrok TCP, no card verification needed. Use --no-ws-video to opt out.
  • --version / -v / -V flagssamoagent --version prints the installed version.
  • Improved --help output — documents the RECALL_API_KEY requirement and available flags upfront.
  • samoagent frame --archive now also updates latest.png (previously wrote only the timestamped copy).

Bug fixes

  • server.ts body-size check now uses byte length (not UTF-16 string length).
  • Port validation: --port 0, --port 99999, --port abc all fail with a clear error.
  • samoagent watch prints No active session. Run 'samoagent join' first. to stderr instead of silently exiting when no session is active.

Test coverage

  • 200 tests (was 187): added cmdTranscript, cmdStatus, cmdJoin edge cases (ngrok null path, --rtmp failure branches, --rtmp-url localhost).

Packaging

  • CLAUDE.md removed from npm tarball (was internal agent instructions, not for consumers).
  • .npmignore added.
  • Apache-2.0 license.

Housekeeping

  • Python legacy test suite deleted (1,367 lines testing code that no longer exists).
  • README accuracy audit: all commands, flags, defaults, and failure modes verified against the running code.
  • samoagent.dev live on HTTPS.

Install

npm install -g samoagent

Requires: RECALL_API_KEY env var and ngrok installed and authenticated.