docs(models): add claude-code Docker recipe with host Max Plan auth#1526
Open
benfrank241 wants to merge 1 commit into
Open
docs(models): add claude-code Docker recipe with host Max Plan auth#1526benfrank241 wants to merge 1 commit into
benfrank241 wants to merge 1 commit into
Conversation
Adds a 'Running with host Max Plan auth in Docker (Linux)' subsection under the existing Claude Code Setup docs. Documents the bind-mount surface required to run HINDSIGHT_API_LLM_PROVIDER=claude-code inside the standalone image: host claude CLI, single-file credential mounts, the v2.1.128+ binary override for the bundled-binary protocol issue, and the post-run chown/symlink steps. Restates the personal-use-only constraint inline so the Docker recipe isn't read as a production pattern. Verified on linux/amd64 per the contributor's report; macOS and Windows paths are noted as not yet covered. Closes #1480
nicoloboschi
requested changes
May 8, 2026
Collaborator
nicoloboschi
left a comment
There was a problem hiding this comment.
instead of putting this into the docs, why don't we just create a docker compose in docker/compose directory for it?
we usually showcase setup in there
adding it to the docs it's a little bit too much
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hindsight-docs/docs/developer/models.mdx.HINDSIGHT_API_LLM_PROVIDER=claude-codeinside the standalone image: hostclaudeCLI, single-file credential mounts (~/.claude.json+~/.claude/.credentials.json), v2.1.128+ binary override for the bundled-binary protocol issue inclaude-agent-sdk0.5.x, and the post-docker runchown/symlink one-time setup.:romounts of~/.claudesilently break the CLI (must be single-file mounts); the host directory bind-mounted at/home/hindsight/.pg0must be writable by UID 1000 or the host UID under--user..pg0).Closes #1480
Test plan
npm run buildinhindsight-docs/succeeds (no broken anchors, no MDX parse errors)claude auth loginpreviously run, the documenteddocker runinvocation + post-run setup brings up Hindsight successfullycurl http://127.0.0.1:8888/v1/default/banks/test/reflect -X POST -H "Content-Type: application/json" -d '{"query":"hello"}'returns a 200 with text generated via the Max Plan subscription:romount of~/.claude(anti-example) reproduces the silent CLI breakage as described