From 48e8f70e09498584706146dd1c197e1d4012ba8c Mon Sep 17 00:00:00 2001 From: Jeremy Ruppel Date: Mon, 29 Jun 2026 16:52:41 -0400 Subject: [PATCH] fix: remove Goose module from catalog (#26833) Removes the Goose AI agent module from the template builder backend catalog. ## Changes - Deleted `coderd/templatebuilder/modules/goose/` (Terraform template and module metadata) - Removed the `"goose"` entry from `scripts/templatebuildermodulegen/main.go` Frontend assets (`goose.svg`, `icons.json`) are intentionally left in place as other parts of the app still reference them. > Generated by Coder Agents on behalf of @jeremyruppel --- .../modules/goose/goose.tf.tmpl | 17 --- .../templatebuilder/modules/goose/module.json | 122 ------------------ scripts/templatebuildermodulegen/main.go | 1 - 3 files changed, 140 deletions(-) delete mode 100644 coderd/templatebuilder/modules/goose/goose.tf.tmpl delete mode 100644 coderd/templatebuilder/modules/goose/module.json diff --git a/coderd/templatebuilder/modules/goose/goose.tf.tmpl b/coderd/templatebuilder/modules/goose/goose.tf.tmpl deleted file mode 100644 index 7ada2df65f..0000000000 --- a/coderd/templatebuilder/modules/goose/goose.tf.tmpl +++ /dev/null @@ -1,17 +0,0 @@ -module "goose" { - count = data.coder_workspace.me.start_count - source = "{{ .RegistryBase }}/coder/goose/coder" - version = "{{ .PinnedVersion }}" - agent_id = coder_agent.{{ .AgentResourceName }}.id - additional_extensions = {{ .Variables.additional_extensions }} - agentapi_version = {{ .Variables.agentapi_version }} - folder = {{ .Variables.folder }} - goose_model = {{ .Variables.goose_model }} - goose_provider = {{ .Variables.goose_provider }} - goose_version = {{ .Variables.goose_version }} - icon = {{ .Variables.icon }} - install_agentapi = {{ .Variables.install_agentapi }} - install_goose = {{ .Variables.install_goose }} - post_install_script = {{ .Variables.post_install_script }} - pre_install_script = {{ .Variables.pre_install_script }} -} diff --git a/coderd/templatebuilder/modules/goose/module.json b/coderd/templatebuilder/modules/goose/module.json deleted file mode 100644 index c78252c45e..0000000000 --- a/coderd/templatebuilder/modules/goose/module.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "id": "goose", - "display_name": "Goose", - "description": "Run Goose in your workspace", - "icon": "/icon/goose.svg", - "category": "AI Agent", - "tags": [ - "agent", - "goose", - "ai", - "tasks" - ], - "compatible_os": [ - "linux" - ], - "conflicts_with": [], - "pinned_version": "3.0.1", - "variables": [ - { - "name": "additional_extensions", - "type": "string", - "description": "Additional extensions configuration in YAML format to append to the config.", - "required": false, - "sensitive": false, - "computed": false - }, - { - "name": "agent_id", - "type": "string", - "description": "The ID of a Coder agent.", - "required": false, - "sensitive": false, - "computed": true - }, - { - "name": "agentapi_version", - "type": "string", - "description": "The version of AgentAPI to install.", - "default": "v0.10.0", - "required": false, - "sensitive": false, - "computed": false - }, - { - "name": "folder", - "type": "string", - "description": "The folder to run Goose in.", - "default": "/home/coder", - "required": false, - "sensitive": false, - "computed": false - }, - { - "name": "goose_model", - "type": "string", - "description": "The model to use for Goose (e.g., claude-3-5-sonnet-latest).", - "required": true, - "sensitive": false, - "computed": false - }, - { - "name": "goose_provider", - "type": "string", - "description": "The provider to use for Goose (e.g., anthropic).", - "required": true, - "sensitive": false, - "computed": false - }, - { - "name": "goose_version", - "type": "string", - "description": "The version of Goose to install.", - "default": "stable", - "required": false, - "sensitive": false, - "computed": false - }, - { - "name": "icon", - "type": "string", - "description": "The icon to use for the app.", - "default": "/icon/goose.svg", - "required": false, - "sensitive": false, - "computed": false - }, - { - "name": "install_agentapi", - "type": "bool", - "description": "Whether to install AgentAPI.", - "default": true, - "required": false, - "sensitive": false, - "computed": false - }, - { - "name": "install_goose", - "type": "bool", - "description": "Whether to install Goose.", - "default": true, - "required": false, - "sensitive": false, - "computed": false - }, - { - "name": "post_install_script", - "type": "string", - "description": "Custom script to run after installing Goose.", - "required": false, - "sensitive": false, - "computed": false - }, - { - "name": "pre_install_script", - "type": "string", - "description": "Custom script to run before installing Goose.", - "required": false, - "sensitive": false, - "computed": false - } - ] -} diff --git a/scripts/templatebuildermodulegen/main.go b/scripts/templatebuildermodulegen/main.go index 016446a9b2..d8ca735ad0 100644 --- a/scripts/templatebuildermodulegen/main.go +++ b/scripts/templatebuildermodulegen/main.go @@ -30,7 +30,6 @@ var moduleConfigs = map[string]ModuleConfig{ "kiro": {Category: "IDE", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}}, "claude-code": {Category: "AI Agent", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}}, "aider": {Category: "AI Agent", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}}, - "goose": {Category: "AI Agent", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}}, "amazon-q": {Category: "AI Agent", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}}, "git-clone": {Category: "Source Control", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}}, "git-config": {Category: "Source Control", CompatibleOS: []string{"linux"}, ConflictsWith: []string{}},