Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

fix(claude-code): add dangerously-skip-permissions #442

Merged
merged 5 commits into from
Apr 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions claude-code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude
```tf
module "claude-code" {
source = "registry.coder.com/modules/claude-code/coder"
version = "1.2.0"
version = "1.2.1"
agent_id = coder_agent.example.id
folder = "/home/coder"
install_claude_code = true
Expand Down Expand Up @@ -102,7 +102,7 @@ Run Claude Code as a standalone app in your workspace. This will install Claude
```tf
module "claude-code" {
source = "registry.coder.com/modules/claude-code/coder"
version = "1.2.0"
version = "1.2.1"
agent_id = coder_agent.example.id
folder = "/home/coder"
install_claude_code = true
Expand Down
2 changes: 1 addition & 1 deletion claude-code/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ resource "coder_script" "claude_code" {
export LC_ALL=en_US.UTF-8

# Create a new tmux session in detached mode
tmux new-session -d -s claude-code -c ${var.folder} "claude"
tmux new-session -d -s claude-code -c ${var.folder} "claude --dangerously-skip-permissions"

# Send the prompt to the tmux session if needed
if [ -n "$CODER_MCP_CLAUDE_TASK_PROMPT" ]; then
Expand Down