Releases: moduloTech/danger-claude
Releases · moduloTech/danger-claude
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.
v0.4.2
v0.4.1
v0.4.0
Added
- Stdin piping support: pipe any content into
danger-claudeas context. In print mode (-p), the piped content is prepended to the prompt. In interactive mode, it is mounted as/context/stdininside the container. Stdin is reopened from/dev/ttyafter consumption so interactive Docker sessions retain a working TTY. Example:issue-md <URL> | danger-claude -p "fix this bug". - Positional prompt argument:
danger-claude "explain this code"starts an interactive Claude session with that initial prompt, like theclaudeCLI itself. -s/--shellnow accepts an optional command:danger-claude -s "ls -la"runs the command in the container instead of opening a bash shell.-P/--port MAPPINGflag to expose container ports to the host (passed as-ptodocker run). Supports multiple-Pflags for multi-port setups.
Changed
- Breaking: bare arguments are now treated as a Claude prompt instead of a Docker command. Use
-s "command"to run arbitrary commands in the container (replaces-- command).
v0.3.1
v0.3.0
v0.2.1
v0.2.0
Added
- New
-m/--model MODELoption to select the Claude model (forwarded as--modelto theclaudeCLI). - New
-e/--effort LEVELoption to set effort level: low, medium, high (forwarded as--effortto theclaudeCLI).
Changed
-c(auto-commit) now instructs Claude to use Conventional Commits format (<type>: <description>) instead of free-form summary lines.