You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c5ff4de
Browse filesBrowse the repository at this point in the historyBrowse files
feat(coder/modules/agent-helper): add agent-helper module to help run scripts (#704)
## Description
The Agent Helper module is a building block for modules that need to run
multiple scripts in a specific order. It uses `coder exp sync` for
dependency management and is designed for orchestrating pre-install,
install, post-install, and start scripts.
## Type of Change
- [x] New module
- [ ] New template
- [ ] Bug fix
- [ ] Feature/enhancement
- [ ] Documentation
- [ ] Other
## Module Information
<!-- Delete this section if not applicable -->
**Path:** `registry/coder/modules/agent-helper`
**New version:** `v1.0.0`
**Breaking change:** [x] Yes [ ] No
## Testing & Validation
- [x] Tests pass (`bun test`)
- [x] Code formatted (`bun fmt`)
- [x] Changes tested locally
## Related Issues
Closes: #696Closes: #698
---------
Co-authored-by: DevCats <[email protected]>
description: Building block for modules that need orchestrated script execution
4
+
icon: ../../../../.icons/coder.svg
5
+
verified: false
6
+
tags: [internal, library]
7
+
---
8
+
9
+
# Agent Helper
10
+
11
+
> [!CAUTION]
12
+
> We do not recommend using this module directly. It is intended primarily for internal use by Coder to create modules with orchestrated script execution.
13
+
14
+
The Agent Helper module is a building block for modules that need to run multiple scripts in a specific order. It uses `coder exp sync` for dependency management and is designed for orchestrating pre-install, install, post-install, and start scripts.
15
+
16
+
> [!NOTE]
17
+
>
18
+
> - The `agent_name` should be the same as that of the agentapi module's `agent_name` if used together.
0 commit comments