fix(hindsight-api): add script entry points so uvx hindsight-api works directly (#629)

The hindsight-api meta-package was missing [project.scripts], causing
`uvx hindsight-api@{version}` to fail with exit code 28 when used in
hindsight-embed's daemon launcher.

Re-export the same scripts defined in hindsight-api-slim so uvx can
resolve the executable without requiring --from.
This commit is contained in:
Nicolò Boschi 2026-03-20 13:26:34 +01:00 committed by GitHub
parent 20e17f28ad
commit 97f7a365e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,5 +15,11 @@ dependencies = [
[tool.uv.sources]
hindsight-api-slim = { workspace = true }
[project.scripts]
hindsight-api = "hindsight_api.main:main"
hindsight-worker = "hindsight_api.worker.main:main"
hindsight-local-mcp = "hindsight_api.mcp_local:main"
hindsight-admin = "hindsight_api.admin.cli:main"
[tool.setuptools]
packages = []