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
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update main.tf
  • Loading branch information
bpmct authored Apr 23, 2025
commit 1d762f8263b19df7560825960becb1dbbdb09d5a
3 changes: 2 additions & 1 deletion claude-code/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ 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 --dangerously-skip-permissions"
cd ${var.folder}
tmux new-session -d -s claude-code "claude --dangerously-skip-permissions"

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