🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

feat: import new modules and refactor codegen script - #26838

Merged
jeremyruppel merged 2 commits into
mainfrom
jeremy/templatebuilder-module-gen
Jun 29, 2026
Merged

feat: import new modules and refactor codegen script#26838
jeremyruppel merged 2 commits into
mainfrom
jeremy/templatebuilder-module-gen

Conversation

@jeremyruppel

Copy link
Copy Markdown
Contributor

Imports three new modules into the template builder catalog and refactors the codegen script to prevent accidental overwrites.

Changes

Commit 1: Refactor codegen script

  • Require explicit namespace/slug arguments (e.g. coder/antigravity, coder-labs/codex) instead of regenerating all modules
  • Add Namespace field to ModuleConfig and ModuleManifest to support non-coder registry namespaces
  • Validate namespace in CLI args matches moduleConfigs
  • Add tests for resolveModuleArgs, normalizeIcon, latestVersion, convertVariables, and moduleConfigs consistency

Commit 2: Import new modules

  • coder/antigravity (AI Agent)
  • coder-labs/codex (AI Agent)
  • coder/kasmvnc (Utility)
  • Uncomment these IDs in the frontend priority list

Generated by Coder Agents on behalf of @jeremyruppel

…e/slug args

Refactor the codegen script to require explicit module IDs in
namespace/slug format (e.g. coder/antigravity, coder-labs/codex)
instead of regenerating all modules. This prevents accidental
overwrites of hand-edited module files.

Also adds Namespace field to ModuleConfig and ModuleManifest to
support non-coder registry namespaces, and adds tests for
resolveModuleArgs, normalizeIcon, latestVersion, convertVariables,
and moduleConfigs consistency.
…modules

Generate module files for three new template builder modules:
- coder/antigravity (AI Agent)
- coder-labs/codex (AI Agent)
- coder/kasmvnc (Utility)

Also uncomments these module IDs in the frontend priority list.
@jeremyruppel jeremyruppel changed the title feat(coderd/templatebuilder): import new modules and refactor codegen script feat: import new modules and refactor codegen script Jun 29, 2026
@@ -0,0 +1,251 @@
package main

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as main.go grew in complexity I became curious as to whether we test our scripts or not, particularly the go ones. turns out we do!

@jeremyruppel
jeremyruppel requested a review from matifali June 29, 2026 21:35

@matifali matifali left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@jeremyruppel
jeremyruppel requested a review from aslilac June 29, 2026 21:36
@jeremyruppel
jeremyruppel merged commit 7daf312 into main Jun 29, 2026
53 of 55 checks passed
@jeremyruppel
jeremyruppel deleted the jeremy/templatebuilder-module-gen branch June 29, 2026 21:47
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants