File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
registry/coder/modules/claude-code/scripts Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,14 @@ echo "--------------------------------"
4747# avoid exiting if the script fails
4848bash " /tmp/remove-last-session-id.sh" " $( pwd) " 2> /dev/null || true
4949
50+ function install_boundary() {
51+ # Install boundary from public github repo
52+ git clone https://github.com/coder/boundary
53+ cd boundary
54+ git checkout $ARG_BOUNDARY_VERSION
55+ go install ./cmd/...
56+ }
57+
5058function validate_claude_installation() {
5159 if command_exists claude; then
5260 printf " Claude Code is installed\n"
@@ -90,11 +98,7 @@ function start_agentapi() {
9098 printf " Running claude code with args: %s\n" " $( printf ' %q ' " ${ARGS[@]} " ) "
9199
92100 if [ " ${ARG_ENABLE_BOUNDARY:- false} " = " true" ]; then
93- # Install boundary from public github repo
94- git clone https://github.com/coder/boundary
95- cd boundary
96- git checkout $ARG_BOUNDARY_VERSION
97- go install ./cmd/...
101+ install_boundary
98102
99103 mkdir -p " $ARG_BOUNDARY_LOG_DIR "
100104 printf " Starting with coder boundary enabled\n"
You can’t perform that action at this time.
0 commit comments