June 11th, 2026

v0.9 — Observability & Execution History

Every execution now leaves a trace. jhansi.io gains a full run model — structured results, persistent history, and a metrics endpoint so you can see exactly what's happening inside your sandbox.

What's in it:

  • Structured execution results — AI agents now receive typed SSE events. output events stream lines in real time. A done event closes the stream with exit code, duration, and the last error line on failure. No more text parsing.

  • Run history — every execution is stored. Exit code, duration, error, and full output captured per run. Never lose what ran.

  • Sandbox history — sandboxes are soft-deleted, not hard-deleted. Full history preserved.

  • Agent tracking — tag sandboxes with agent and created_by at creation time. Know which AI agent created what.

  • Metrics endpoint — GET /v1/metrics returns live counts: active sandboxes, total runs, success rate, average duration, broken down by agent.

  • Rolling log retention — PETRI_LOG_MAX_MB caps log storage. Oldest logs auto-evicted when the limit is hit.