Expand description
Spill large / binary MCP payloads to $SKIFF_CACHE_DIR/spool/ for agent grep.
Constants§
- DEFAULT_
AGENT_ MAX_ BYTES - Default max rendered stdout bytes before spill (agent profile).
- DEFAULT_
SPOOL_ TTL_ SECS - Default spool file TTL (24h).
- PREVIEW_
BYTES - Preview size included in spool pointer JSON.
Functions§
- clean_
spool - Remove spool files older than
ttl_secs(0 = delete all). - maybe_
clean_ expired - Best-effort cleanup of expired spool files (ignore errors).
- pointer_
json - Build the small stdout pointer object for a spooled payload.
- sha256_
hex - spool_
dir - write_
spool - Write
bytesto a new spool file; returns absolute path.