feat: import new modules and refactor codegen script - #26838
Merged
Conversation
…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
commented
Jun 29, 2026
| @@ -0,0 +1,251 @@ | |||
| package main | |||
Contributor
Author
There was a problem hiding this comment.
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!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Imports three new modules into the template builder catalog and refactors the codegen script to prevent accidental overwrites.
Changes
Commit 1: Refactor codegen script
namespace/slugarguments (e.g.coder/antigravity,coder-labs/codex) instead of regenerating all modulesNamespacefield toModuleConfigandModuleManifestto support non-coderregistry namespacesmoduleConfigsresolveModuleArgs,normalizeIcon,latestVersion,convertVariables, andmoduleConfigsconsistencyCommit 2: Import new modules
coder/antigravity(AI Agent)coder-labs/codex(AI Agent)coder/kasmvnc(Utility)