From 97f7a365e81c68c9ca8fd778c536e64f101081e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Boschi?= Date: Fri, 20 Mar 2026 13:26:34 +0100 Subject: [PATCH] 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. --- hindsight-api/pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hindsight-api/pyproject.toml b/hindsight-api/pyproject.toml index 09d534c4..77a1e32c 100644 --- a/hindsight-api/pyproject.toml +++ b/hindsight-api/pyproject.toml @@ -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 = []