Releases: moduloTech/danger-claude
Releases · moduloTech/danger-claude
v0.5.9
Fixed
- glab persistence was broken in 0.5.8: the volume was mounted at
/home/claude/.config/glabbut glab actually writes to/home/claude/.config/glab-cliper its upstreamConfigDir()which joinsxdg.ConfigHomewith the hardcoded"glab-cli"directory name (verified ininternal/config/config_file.go). Mount point and pre-created dir both corrected to.config/glab-cli. Anyone who already ranglab auth loginin 0.5.8 must redo it after upgrade. The Docker volume name (danger-claude-glab) is unchanged — only its mount target moved.
Requires a rebuild: danger-claude --build after upgrade.
v0.5.8
Added
- Install
glab(GitLab CLI) in the Docker image, mirroring the existingghsetup. No Debian package is published for arm64, so the upstream tarball is used for both amd64 and arm64 — same pattern as typst — installed to/usr/local/bin/glab. Pinned to v1.97.0 to keep the build reproducible. - Persist
glabconfig acrossdanger-claudeinvocations via a new named Docker volumedanger-claude-glabmounted at/home/claude/.config/glab(parallel todanger-claude-ghforgh). The volume is auto-created on first run viaensure_volume, and the mount point is pre-created withclaude:claudeownership in the image so Docker copies the correct permissions into the volume on first attach. After runningglab auth loginonce inside the container, subsequent sessions skip the prompt — same UX asgh.
Requires a rebuild of the image: danger-claude --build after upgrade.
v0.5.7
Added
- Forward
--resume SESSION_IDand--output-formattoclaudein commit mode (-c), so a commit can continue a session that was started by an earlier-pinvocation. Previously only the print mode branch (-p) wired these flags through; the commit branch built its own stripped-downclaudecommand that ignored them, breaking any caller that tried to chainimplement (-p -r X)→commit (-c -r X). The--resumepropagation lets a wrapper like autodev keep the cache warm across the implement → commit boundary; the--output-formatpropagation lets the caller parsesession_idout of the commit's response too. No flag added — both options already existed at the OptionParser layer, only the commit-mode dispatch ignored them.
v0.5.6
v0.5.5
Fixed
- SSH host key verification (
Host key verification failed) when pushing/pulling from git remotes inside the container. The host's~/.ssh/known_hostsis now bind-mounted read-only at/home/claude/.ssh/known_hosts, so any host the user trusts on their machine (github.com, gitlab.com, internal forges likesource.modulotech.fr) is also trusted in the container. The Dockerfile pre-creates/home/claude/.sshwith mode 700 so SSH accepts the mounted file. Requires an image rebuild (danger-claude --build).
v0.5.4
Fixed
- Git worktrees (including
wtclone-style bare-repo layouts) now work inside the container. When.gitis a file pointing to an external gitdir (e.g./Users/.../.bare/worktrees/<name>), that host path is unreachable in the container and git fails withfatal: not a git repository. The launcher now detects worktrees and bind-mounts the worktree's gitdir and common gitdir at the same paths inside the container so the.gitpointer resolves. Read-only / read-write follows the existing.gitmount policy (-c/-gfor rw).
v0.5.3
Added
- Install
pandoc(universal document converter) in the Docker image. - Install
typst(modern typesetting system) in the Docker image via the upstream static musl binary (Typst is not packaged in Debian bookworm). Architecture-aware: amd64 and arm64 supported.
v0.5.2
v0.5.1
v0.5.0
Added
- Automatically append a container-awareness system prompt to every
claudeinvocation (interactive,-p,-c,-r). Informs Claude that it runs in a Docker container, that host services (databases, Redis, etc. from docker-compose) are reachable viahost.docker.internal, and that non-interactive Ruby/Node commands should be prefixed withmise x ruby --/mise x node --since mise shims are not on PATH outside login shells. --append-system-prompt TEXTCLI option that overrides the default container-awareness prompt with a custom text, forwarded as-is toclaude --append-system-prompt.