Skip to content

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

Closed
mafredri wants to merge 1 commit into
mainfrom
mafredri/fix-agentapi-claude-tmp-conflict
Closed

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

Conversation

@mafredri

Copy link
Copy Markdown
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
@DevelopmentCats

Copy link
Copy Markdown
Collaborator

@mafredri This looks fine to me I think we just need to deal with the conflicts and then any prereq PR's

@DevelopmentCats

Copy link
Copy Markdown
Collaborator

closing because of agentapi no longer being supported within the agent modules

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.

2 participants