File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
registry/coder/modules/claude-code/scripts Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -163,15 +163,6 @@ function start_agentapi() {
163163 BOUNDARY_ARGS+=(--pprof-port ${ARG_BOUNDARY_PPROF_PORT} )
164164 fi
165165
166- # Remove --dangerously-skip-permissions from ARGS when using boundary (it doesn't work with elevated permissions)
167- # Create a new array without the dangerous permissions flag
168- CLAUDE_ARGS=()
169- for arg in " ${ARGS[@]} " ; do
170- if [ " $arg " != " --dangerously-skip-permissions" ]; then
171- CLAUDE_ARGS+=(" $arg " )
172- fi
173- done
174-
175166 agentapi server --allowed-hosts=" *" --type claude --term-width 67 --term-height 1190 -- \
176167 sudo -E env PATH=$PATH setpriv --inh-caps=+net_admin --ambient-caps=+net_admin --bounding-set=+net_admin boundary " ${BOUNDARY_ARGS[@]} " -- \
177168 claude " ${ARGS[@]} "
You can’t perform that action at this time.
0 commit comments