From 0273bf68ae3327f9499280cfacdd1b0c17bdc9a2 Mon Sep 17 00:00:00 2001 From: DevelopmentCats Date: Thu, 26 Mar 2026 16:17:41 -0500 Subject: [PATCH 1/2] chore: rename agent-helper to coder-helper --- .../modules/{agent-helper => coder-helper}/README.md | 10 +++++----- .../{agent-helper => coder-helper}/main.test.ts | 2 +- .../modules/{agent-helper => coder-helper}/main.tf | 0 .../{agent-helper => coder-helper}/main.tftest.hcl | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename registry/coder/modules/{agent-helper => coder-helper}/README.md (90%) rename registry/coder/modules/{agent-helper => coder-helper}/main.test.ts (89%) rename registry/coder/modules/{agent-helper => coder-helper}/main.tf (100%) rename registry/coder/modules/{agent-helper => coder-helper}/main.tftest.hcl (99%) diff --git a/registry/coder/modules/agent-helper/README.md b/registry/coder/modules/coder-helper/README.md similarity index 90% rename from registry/coder/modules/agent-helper/README.md rename to registry/coder/modules/coder-helper/README.md index 62eb3573d..da798db42 100644 --- a/registry/coder/modules/agent-helper/README.md +++ b/registry/coder/modules/coder-helper/README.md @@ -1,25 +1,25 @@ --- -display_name: Agent Helper +display_name: Coder Helper description: Building block for modules that need orchestrated script execution icon: ../../../../.icons/coder.svg verified: false tags: [internal, library] --- -# Agent Helper +# Coder Helper > [!CAUTION] > We do not recommend using this module directly. It is intended primarily for internal use by Coder to create modules with orchestrated script execution. -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. +The Coder 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. > [!NOTE] > > - The `agent_name` should be the same as that of the agentapi module's `agent_name` if used together. ```tf -module "agent_helper" { - source = "registry.coder.com/coder/agent-helper/coder" +module "coder_helper" { + source = "registry.coder.com/coder/coder-helper/coder" version = "1.0.0" agent_id = coder_agent.main.id diff --git a/registry/coder/modules/agent-helper/main.test.ts b/registry/coder/modules/coder-helper/main.test.ts similarity index 89% rename from registry/coder/modules/agent-helper/main.test.ts rename to registry/coder/modules/coder-helper/main.test.ts index 6c1325896..a245b5297 100644 --- a/registry/coder/modules/agent-helper/main.test.ts +++ b/registry/coder/modules/coder-helper/main.test.ts @@ -1,7 +1,7 @@ import { describe } from "bun:test"; import { runTerraformInit, testRequiredVariables } from "~test"; -describe("agent-helper", async () => { +describe("coder-helper", async () => { await runTerraformInit(import.meta.dir); testRequiredVariables(import.meta.dir, { diff --git a/registry/coder/modules/agent-helper/main.tf b/registry/coder/modules/coder-helper/main.tf similarity index 100% rename from registry/coder/modules/agent-helper/main.tf rename to registry/coder/modules/coder-helper/main.tf diff --git a/registry/coder/modules/agent-helper/main.tftest.hcl b/registry/coder/modules/coder-helper/main.tftest.hcl similarity index 99% rename from registry/coder/modules/agent-helper/main.tftest.hcl rename to registry/coder/modules/coder-helper/main.tftest.hcl index 91546fb0a..cd4b3b045 100644 --- a/registry/coder/modules/agent-helper/main.tftest.hcl +++ b/registry/coder/modules/coder-helper/main.tftest.hcl @@ -1,4 +1,4 @@ -# Test for agent-helper module +# Test for coder-helper module # Test with all scripts provided run "test_with_all_scripts" { From bb5554cae65108c9bf479243daee14fc5ffba856 Mon Sep 17 00:00:00 2001 From: DevelopmentCats Date: Wed, 1 Apr 2026 11:31:57 -0500 Subject: [PATCH 2/2] chore: rename coder-helper to coder-utils --- .../coder/modules/{coder-helper => coder-utils}/README.md | 8 ++++---- .../modules/{coder-helper => coder-utils}/main.test.ts | 2 +- .../coder/modules/{coder-helper => coder-utils}/main.tf | 0 .../modules/{coder-helper => coder-utils}/main.tftest.hcl | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename registry/coder/modules/{coder-helper => coder-utils}/README.md (81%) rename registry/coder/modules/{coder-helper => coder-utils}/main.test.ts (89%) rename registry/coder/modules/{coder-helper => coder-utils}/main.tf (100%) rename registry/coder/modules/{coder-helper => coder-utils}/main.tftest.hcl (99%) diff --git a/registry/coder/modules/coder-helper/README.md b/registry/coder/modules/coder-utils/README.md similarity index 81% rename from registry/coder/modules/coder-helper/README.md rename to registry/coder/modules/coder-utils/README.md index da798db42..7d87353e0 100644 --- a/registry/coder/modules/coder-helper/README.md +++ b/registry/coder/modules/coder-utils/README.md @@ -1,17 +1,17 @@ --- -display_name: Coder Helper +display_name: Coder Utils description: Building block for modules that need orchestrated script execution icon: ../../../../.icons/coder.svg verified: false tags: [internal, library] --- -# Coder Helper +# Coder Utils > [!CAUTION] > We do not recommend using this module directly. It is intended primarily for internal use by Coder to create modules with orchestrated script execution. -The Coder 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. +The Coder Utils 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. > [!NOTE] > @@ -19,7 +19,7 @@ The Coder Helper module is a building block for modules that need to run multipl ```tf module "coder_helper" { - source = "registry.coder.com/coder/coder-helper/coder" + source = "registry.coder.com/coder/coder-utils/coder" version = "1.0.0" agent_id = coder_agent.main.id diff --git a/registry/coder/modules/coder-helper/main.test.ts b/registry/coder/modules/coder-utils/main.test.ts similarity index 89% rename from registry/coder/modules/coder-helper/main.test.ts rename to registry/coder/modules/coder-utils/main.test.ts index a245b5297..5987c3288 100644 --- a/registry/coder/modules/coder-helper/main.test.ts +++ b/registry/coder/modules/coder-utils/main.test.ts @@ -1,7 +1,7 @@ import { describe } from "bun:test"; import { runTerraformInit, testRequiredVariables } from "~test"; -describe("coder-helper", async () => { +describe("coder-utils", async () => { await runTerraformInit(import.meta.dir); testRequiredVariables(import.meta.dir, { diff --git a/registry/coder/modules/coder-helper/main.tf b/registry/coder/modules/coder-utils/main.tf similarity index 100% rename from registry/coder/modules/coder-helper/main.tf rename to registry/coder/modules/coder-utils/main.tf diff --git a/registry/coder/modules/coder-helper/main.tftest.hcl b/registry/coder/modules/coder-utils/main.tftest.hcl similarity index 99% rename from registry/coder/modules/coder-helper/main.tftest.hcl rename to registry/coder/modules/coder-utils/main.tftest.hcl index cd4b3b045..d1228a6d4 100644 --- a/registry/coder/modules/coder-helper/main.tftest.hcl +++ b/registry/coder/modules/coder-utils/main.tftest.hcl @@ -1,4 +1,4 @@ -# Test for coder-helper module +# Test for coder-utils module # Test with all scripts provided run "test_with_all_scripts" {