Files
ai-memory/bin
João Matheus 22465addd8 fix(macos): make the Docker-wrapper quick-start work on Apple Silicon (#107)
The README Docker quick-start produced a non-working native-agent setup on
macOS. Three independent breakages are fixed here:

1. The macOS wrapper baked the container-only host.docker.internal URL into
   the *host* agent config (the MCP url + AI_MEMORY_HOOK_URL on every hook),
   so MCP and capture failed silently. install-mcp, install-hooks and
   setup-agent now render the host-reachable http://127.0.0.1:49374,
   decoupled from the host.docker.internal URL the wrapper still uses for
   its own in-container thin-client commands.

2. Those thin-client commands (status, ...) were rejected with
   "403 forbidden host" because the server's loopback-only Host allowlist
   excluded host.docker.internal. The Docker image now ships it in the
   default AI_MEMORY_ALLOWED_HOSTS; native installs stay loopback-only and
   exposed deployments still override the env entirely.

3. setup-agent/install-hooks could not locate the hooks bundle that ships
   beside the binary in the release tarball (the probe derived a bogus
   /private/hooks/...). The binary-sibling hooks/ dir is now on the search
   path, so --source is no longer required.

Issue point 1 (:latest single-arch) is already fixed on main: the release
manifest job publishes :latest as a multi-arch list; it ships with the next
tagged release.
2026-06-17 14:47:46 -03:00
..
2026-05-25 13:56:51 -03:00
2026-05-25 13:56:51 -03:00