v0.4.0
What's new in v0.4.0
Features
- WebSocket frame capture on by default —
samoagent joinnow enables in-memory frame capture automatically. No RTMP, no ngrok TCP, no card verification needed. Use--no-ws-videoto opt out. --version/-v/-Vflags —samoagent --versionprints the installed version.- Improved
--helpoutput — documents theRECALL_API_KEYrequirement and available flags upfront. samoagent frame --archivenow also updateslatest.png(previously wrote only the timestamped copy).
Bug fixes
server.tsbody-size check now uses byte length (not UTF-16 string length).- Port validation:
--port 0,--port 99999,--port abcall fail with a clear error. samoagent watchprintsNo 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,cmdJoinedge cases (ngrok null path,--rtmpfailure branches,--rtmp-url localhost).
Packaging
CLAUDE.mdremoved from npm tarball (was internal agent instructions, not for consumers)..npmignoreadded.Apache-2.0license.
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.devlive on HTTPS.
Install
npm install -g samoagent
Requires: RECALL_API_KEY env var and ngrok installed and authenticated.