fleet-memory/hindsight-embed/hindsight_embed
Dewaldt Huysamen f0cb1925ec
fix(hindsight-embed): respect HINDSIGHT_API_DATABASE_URL if already set (#262)
The daemon_client unconditionally overwrites HINDSIGHT_API_DATABASE_URL
with pg0://hindsight-embed, preventing users from using an external
PostgreSQL instance.

This is a problem for VPS deployments running as root, where pg0's
embedded PostgreSQL fails with 'initdb: cannot be run as root'.

This change checks if the env var is already set before defaulting
to pg0, allowing users to point to an external PostgreSQL while
preserving the default embedded behavior.

Fixes #261
2026-01-31 09:27:57 +01:00
..
__init__.py Release v0.4.6 2026-01-30 17:37:50 +01:00
cli.py fix: openclaw binds embed versioning (#256) 2026-01-30 17:23:52 +01:00
daemon_client.py fix(hindsight-embed): respect HINDSIGHT_API_DATABASE_URL if already set (#262) 2026-01-31 09:27:57 +01:00