File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
registry/coder/modules/claude-code Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ resource "coder_script" "claude_code" {
173173
174174 # use low width to fit in the tasks UI sidebar. height is adjusted to ~match the default 80k (80x1000) characters
175175 # visible in the terminal screen.
176- tmux new-session -d -s claude-code-agentapi -c ${ var . folder } 'agentapi server --term-width 67 --term-height 1190 -- bash -c "claude --dangerously-skip-permissions \"$CODER_MCP_CLAUDE_TASK_PROMPT\" | tee -a \"$HOME/.claude-code.log\" "; exec bash'
176+ tmux new-session -d -s claude-code-agentapi -c ${ var . folder } 'agentapi server --term-width 67 --term-height 1190 -- bash -c "claude --dangerously-skip-permissions \"$CODER_MCP_CLAUDE_TASK_PROMPT\""; exec bash'
177177 echo "Waiting for agentapi server to start on port 3284..."
178178 for i in $(seq 1 15); do
179179 if lsof -i :3284 | grep -q 'LISTEN'; then
@@ -264,7 +264,7 @@ resource "coder_app" "claude_code" {
264264 echo "Starting a new Claude Code agentapi tmux session." | tee -a "$HOME/.claude-code.log"
265265 # use low width to fit in the tasks UI sidebar. height is adjusted to ~match the default 80k (80x1000) characters
266266 # visible in the terminal screen.
267- tmux new-session -d -s claude-code-agentapi -c ${ var . folder } 'agentapi server --term-width 67 --term-height 1190 -- bash -c "claude --dangerously-skip-permissions | tee -a \"$HOME/.claude-code.log\" "; exec bash'
267+ tmux new-session -d -s claude-code-agentapi -c ${ var . folder } 'agentapi server --term-width 67 --term-height 1190 -- bash -c "claude --dangerously-skip-permissions"; exec bash'
268268 fi
269269
270270 if tmux has-session -t claude-code 2>/dev/null; then
You can’t perform that action at this time.
0 commit comments