v0.4.2
Hot-fix over v0.4.1. The 0.4.1 wheel shipped only .py files + skill
markdown, but the runtime needs three other on-disk asset bundles: the
FastAPI static directory, the Jinja2 templates, and sql/sqlite/schema.sql
for the SQLite bootstrap. Without them, e2er run on a fresh
pip install e2er crashed at uvicorn startup with RuntimeError: Directory '.../src/api/static' does not exist.
Cross-lane
- Ship runtime assets in the wheel:
pyproject.tomlnow declares
src.apipackage-data (static/*,templates/*) andsql/sql.sqlite
package-data (*.sql). Emptysql/__init__.pyandsql/sqlite/__init__.py
makesql/discoverable bysetuptools.packages.find. Verified by
fresh-venv install +uvicorn src.api.app:appboot,GET /static/style.css
serving 5,182 bytes, and an end-to-ende2er runreaching terminal
failedstatus (cost-cap test) with~/.e2er/papers.dband the
workspace directory both created via the SQLite zero-config path.