Skip to content

fix(registry/coder/modules): write bootstrap scripts to module dir instead of /tmp#771

Draft
mafredri wants to merge 1 commit intomainfrom
mafredri/fix-agentapi-claude-tmp-conflict
Draft

fix(registry/coder/modules): write bootstrap scripts to module dir instead of /tmp#771
mafredri wants to merge 1 commit intomainfrom
mafredri/fix-agentapi-claude-tmp-conflict

Conversation

@mafredri
Copy link
Member

Bootstrap scripts used fixed /tmp paths with generic names like
/tmp/main.sh, making them easy to collide with or accidentally
overwrite. Write them into $HOME/<module_dir_name>/scripts/ instead,
following the pattern used by the agent-helper module.

Also fix install.sh hardcoding port 3284 instead of using
ARG_AGENTAPI_PORT.

Refs #736

…stead of /tmp

Bootstrap scripts used fixed /tmp paths with generic names like
/tmp/main.sh, making them easy to collide with or accidentally
overwrite. Write them into $HOME/<module_dir_name>/scripts/ instead,
following the pattern used by the agent-helper module.

Also fix install.sh hardcoding port 3284 instead of using
ARG_AGENTAPI_PORT.

Refs #736
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant