mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
> [!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.
32 lines
1.3 KiB
Cheetah
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 }}
|
|
}
|