mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
- paseo.db and its WAL files are set to mode 0600 on every open. They hold every prompt and reply. - Internal agents keep their history in memory. Before this change it went to paseo.db and outlived a crash, which broke the rule that nothing about an internal agent is on disk. - Text chunks are stored as JSON strings. node:sqlite reads a TEXT value only up to its first NUL, and a chunk can end inside a surrogate pair. - A turn's handler now changes the agent's state before any timeline write. Before, a failed metrics stamp skipped the turn_completed handler, so a turn the provider started stayed running. - Node 22.13, which has node:sqlite but not isTransaction, is refused at open. - If the checkpoint worker cannot start, the daemon logs it and falls back to SQLite's auto-checkpoint. Before, the error reported an already committed write as failed.