Skip to content

Commit 8de587b

Browse files
feat: remove deprecated code
1 parent 8404e1e commit 8de587b

File tree

1 file changed

+0
-9
lines changed
  • registry/coder/modules/claude-code/scripts

1 file changed

+0
-9
lines changed

registry/coder/modules/claude-code/scripts/start.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff 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[@]}"

0 commit comments

Comments
 (0)