Files
coder/coderd/templatebuilder/modules/aider/aider.tf.tmpl
T
Jeremy Ruppel 1cdb7ed9f7 feat(coderd/templatebuilder): author initial module catalog for 19 modules (#26194)
> [!NOTE]
> This PR was authored by Coder Agents on behalf of @jeremyruppel.

Runs the `scripts/modulegen` generator against the coder/registry to produce the initial module catalog for the template builder. Generates `module.json` and `.tf.tmpl` files for 19 modules across four categories:

- **IDE**: code-server, jetbrains, vscode-desktop, vscode-web, cursor, windsurf, zed, kiro
- **AI Agent**: claude-code, aider, goose, amazon-q
- **Source Control**: git-clone, git-config, git-commit-signing
- **Utility**: dotfiles, personalize, filebrowser, jupyterlab

Also updates `catalog_test.go` to validate the new embedded modules load correctly.
2026-06-15 09:26:39 -04:00

32 lines
1.3 KiB
Cheetah

variable "api_key" {
description = "API key for the selected AI provider. This will be set as the appropriate environment variable based on the provider."
type = string
sensitive = true
}
module "aider" {
count = data.coder_workspace.me.start_count
source = "{{ .RegistryBase }}/coder/aider/coder"
version = "{{ .PinnedVersion }}"
agent_id = coder_agent.{{ .AgentResourceName }}.id
agentapi_version = {{ .Variables.agentapi_version }}
ai_prompt = {{ .Variables.ai_prompt }}
ai_provider = {{ .Variables.ai_provider }}
api_key = var.api_key
base_aider_config = {{ .Variables.base_aider_config }}
cli_app = {{ .Variables.cli_app }}
cli_app_display_name = {{ .Variables.cli_app_display_name }}
custom_env_var_name = {{ .Variables.custom_env_var_name }}
experiment_additional_extensions = {{ .Variables.experiment_additional_extensions }}
icon = {{ .Variables.icon }}
install_agentapi = {{ .Variables.install_agentapi }}
install_aider = {{ .Variables.install_aider }}
model = {{ .Variables.model }}
post_install_script = {{ .Variables.post_install_script }}
pre_install_script = {{ .Variables.pre_install_script }}
report_tasks = {{ .Variables.report_tasks }}
system_prompt = {{ .Variables.system_prompt }}
web_app_display_name = {{ .Variables.web_app_display_name }}
workdir = {{ .Variables.workdir }}
}