Status: in_progress
Include the static debug UI assets in installed package builds.
The FastAPI app serves index.html, app.js, and styles.css from agent_lab.presentation.static. Local source runs work because those files are present in the checkout. A built wheel needs explicit setuptools package-data configuration so installed console usage can still serve the UI.
This todo covers:
This todo does not cover:
pyproject.tomltests/test_packaging.pydocs/plans/todos.mdpyproject.toml and asserts agent_lab.presentation includes static/*.html, static/*.js, and static/*.css package data.[tool.setuptools.package-data] to pyproject.toml.Run:
uv run pytest tests/test_packaging.py
uv run pytest
Build and inspect package contents:
uv build
unzip -l dist/agent_lab-0.1.0-py3-none-any.whl | rg "agent_lab/presentation/static/(index.html|app.js|styles.css)"
Update this plan and docs/plans/todos.md, then commit.
Expected result: