Repository navigation
v0.1.3
Visual DAG explorer now ships inside the PyPI wheel
Previously, pip install agent-casuality gave you only explorer/*.py + demo JSONs — opening the explorer 404'd on / because the compiled frontend (frontend/out/) was gitignored and never packaged. 0.1.3 fixes that: the wheel and sdist now bundle the full Visual DAG frontend.
What's included
- Vendored frontend bundle —
explorer/static/(20 files:index.html+_next/JS/CSS), synced fromfrontend/out/viascripts/sync-explorer-static.py(CI-enforced with--check, so the bundle can never silently go stale). - CWD-independent asset resolution —
explorer.server.get_frontend_dir()serves the bundle from inside the installed package; no reliance on checkout layout (dev fallback tofrontend/out/kept). - New
casuality-explorerentry point (explorer.server:main), alongside the existingcasuality-opencode-ingestreceiver. - Packaging regression tests —
tests/test_packaging.pyfails if the bundle, asset references, entry points, or path resolution regress. - OpenCode plugin telemetry — batched delivery (up to
CASUALITY_OPENCODE_BATCH_MAX, default 25), quiet fail-open by default, per-request endpoint/timeout/batch config.
Try it with no repo clone
uvpip install agent-casuality
casuality-opencode-ingest --db .casuality/opencode.db # start receiver
# run OpenCode with the plugin, generate a trace, then:
casuality-explorer --db .casuality/opencode.db # open the Visual DAG