Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,4 @@ gha-creds-*.json

# IDEs
.idea
.serena
6 changes: 3 additions & 3 deletions registry/coder-labs/modules/auggie/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run Auggie CLI in your workspace to access Augment's AI coding assistant with ad
```tf
module "auggie" {
source = "registry.coder.com/coder-labs/auggie/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.example.id
folder = "/home/coder/project"
}
Expand Down Expand Up @@ -47,7 +47,7 @@ module "coder-login" {

module "auggie" {
source = "registry.coder.com/coder-labs/auggie/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.example.id
folder = "/home/coder/project"

Expand Down Expand Up @@ -103,7 +103,7 @@ EOF
```tf
module "auggie" {
source = "registry.coder.com/coder-labs/auggie/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.example.id
folder = "/home/coder/project"

Expand Down
9 changes: 8 additions & 1 deletion registry/coder-labs/modules/auggie/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ variable "agentapi_version" {
}
}

variable "agentapi_cache_dir" {
type = string
description = "Path to a directory where the AgentAPI binary will be cached after download. On subsequent workspace starts, the cached binary is used instead of downloading again."
default = ""
}

variable "pre_install_script" {
type = string
description = "Custom script to run before installing Auggie."
Expand Down Expand Up @@ -179,7 +185,7 @@ locals {

module "agentapi" {
source = "registry.coder.com/coder/agentapi/coder"
version = "2.0.0"
version = "2.2.0"

agent_id = var.agent_id
folder = local.folder
Expand All @@ -194,6 +200,7 @@ module "agentapi" {
module_dir_name = local.module_dir_name
install_agentapi = var.install_agentapi
agentapi_version = var.agentapi_version
agentapi_cache_dir = var.agentapi_cache_dir
pre_install_script = var.pre_install_script
post_install_script = var.post_install_script
start_script = <<-EOT
Expand Down
10 changes: 5 additions & 5 deletions registry/coder-labs/modules/codex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run Codex CLI in your workspace to access OpenAI's models through the Codex inte
```tf
module "codex" {
source = "registry.coder.com/coder-labs/codex/coder"
version = "4.1.1"
version = "4.2.0"
agent_id = coder_agent.example.id
openai_api_key = var.openai_api_key
workdir = "/home/coder/project"
Expand All @@ -32,7 +32,7 @@ module "codex" {
module "codex" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder-labs/codex/coder"
version = "4.1.1"
version = "4.2.0"
agent_id = coder_agent.example.id
openai_api_key = "..."
workdir = "/home/coder/project"
Expand All @@ -51,7 +51,7 @@ For tasks integration with AI Bridge, add `enable_aibridge = true` to the [Usage
```tf
module "codex" {
source = "registry.coder.com/coder-labs/codex/coder"
version = "4.1.1"
version = "4.2.0"
agent_id = coder_agent.example.id
workdir = "/home/coder/project"
enable_aibridge = true
Expand Down Expand Up @@ -94,7 +94,7 @@ data "coder_task" "me" {}

module "codex" {
source = "registry.coder.com/coder-labs/codex/coder"
version = "4.1.1"
version = "4.2.0"
agent_id = coder_agent.example.id
openai_api_key = "..."
ai_prompt = data.coder_task.me.prompt
Expand All @@ -112,7 +112,7 @@ This example shows additional configuration options for custom models, MCP serve
```tf
module "codex" {
source = "registry.coder.com/coder-labs/codex/coder"
version = "4.1.1"
version = "4.2.0"
agent_id = coder_agent.example.id
openai_api_key = "..."
workdir = "/home/coder/project"
Expand Down
9 changes: 8 additions & 1 deletion registry/coder-labs/modules/codex/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ variable "agentapi_version" {
default = "v0.11.8"
}

variable "agentapi_cache_dir" {
type = string
description = "Path to a directory where the AgentAPI binary will be cached after download. On subsequent workspace starts, the cached binary is used instead of downloading again."
default = ""
}

variable "codex_model" {
type = string
description = "The model for Codex to use. Defaults to gpt-5.2-codex."
Expand Down Expand Up @@ -205,7 +211,7 @@ locals {

module "agentapi" {
source = "registry.coder.com/coder/agentapi/coder"
version = "2.0.0"
version = "2.2.0"

agent_id = var.agent_id
folder = local.workdir
Expand All @@ -221,6 +227,7 @@ module "agentapi" {
install_agentapi = var.install_agentapi
agentapi_subdomain = var.subdomain
agentapi_version = var.agentapi_version
agentapi_cache_dir = var.agentapi_cache_dir
pre_install_script = var.pre_install_script
post_install_script = var.post_install_script
start_script = <<-EOT
Expand Down
10 changes: 5 additions & 5 deletions registry/coder-labs/modules/copilot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run [GitHub Copilot CLI](https://docs.github.com/copilot/concepts/agents/about-c
```tf
module "copilot" {
source = "registry.coder.com/coder-labs/copilot/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.example.id
workdir = "/home/coder/projects"
}
Expand Down Expand Up @@ -51,7 +51,7 @@ data "coder_parameter" "ai_prompt" {

module "copilot" {
source = "registry.coder.com/coder-labs/copilot/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.example.id
workdir = "/home/coder/projects"

Expand All @@ -71,7 +71,7 @@ Customize tool permissions, MCP servers, and Copilot settings:
```tf
module "copilot" {
source = "registry.coder.com/coder-labs/copilot/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.example.id
workdir = "/home/coder/projects"

Expand Down Expand Up @@ -142,7 +142,7 @@ variable "github_token" {

module "copilot" {
source = "registry.coder.com/coder-labs/copilot/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.example.id
workdir = "/home/coder/projects"
github_token = var.github_token
Expand All @@ -156,7 +156,7 @@ Run Copilot as a command-line tool without task reporting or web interface. This
```tf
module "copilot" {
source = "registry.coder.com/coder-labs/copilot/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.example.id
workdir = "/home/coder"
report_tasks = false
Expand Down
9 changes: 8 additions & 1 deletion registry/coder-labs/modules/copilot/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ variable "agentapi_version" {
default = "v0.10.0"
}

variable "agentapi_cache_dir" {
type = string
description = "Path to a directory where the AgentAPI binary will be cached after download. On subsequent workspace starts, the cached binary is used instead of downloading again."
default = ""
}

variable "copilot_version" {
type = string
description = "The version of GitHub Copilot CLI to install. Use 'latest' for the latest version or specify a version like '0.0.334'."
Expand Down Expand Up @@ -242,7 +248,7 @@ resource "coder_env" "github_token" {

module "agentapi" {
source = "registry.coder.com/coder/agentapi/coder"
version = "2.0.0"
version = "2.2.0"

agent_id = var.agent_id
folder = local.workdir
Expand All @@ -259,6 +265,7 @@ module "agentapi" {
module_dir_name = local.module_dir_name
install_agentapi = var.install_agentapi
agentapi_version = var.agentapi_version
agentapi_cache_dir = var.agentapi_cache_dir
pre_install_script = var.pre_install_script
post_install_script = var.post_install_script

Expand Down
4 changes: 2 additions & 2 deletions registry/coder-labs/modules/cursor-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run the Cursor Agent CLI in your workspace for interactive coding assistance and
```tf
module "cursor_cli" {
source = "registry.coder.com/coder-labs/cursor-cli/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.main.id
folder = "/home/coder/project"
}
Expand Down Expand Up @@ -42,7 +42,7 @@ module "coder-login" {

module "cursor_cli" {
source = "registry.coder.com/coder-labs/cursor-cli/coder"
version = "0.3.0"
version = "0.4.0"
agent_id = coder_agent.main.id
folder = "/home/coder/project"

Expand Down
9 changes: 8 additions & 1 deletion registry/coder-labs/modules/cursor-cli/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ variable "agentapi_version" {
default = "v0.10.0"
}

variable "agentapi_cache_dir" {
type = string
description = "Path to a directory where the AgentAPI binary will be cached after download. On subsequent workspace starts, the cached binary is used instead of downloading again."
default = ""
}

variable "force" {
type = bool
description = "Force allow commands unless explicitly denied"
Expand Down Expand Up @@ -132,7 +138,7 @@ resource "coder_env" "cursor_api_key" {

module "agentapi" {
source = "registry.coder.com/coder/agentapi/coder"
version = "2.0.0"
version = "2.2.0"

agent_id = var.agent_id
folder = local.folder
Expand All @@ -146,6 +152,7 @@ module "agentapi" {
module_dir_name = local.module_dir_name
install_agentapi = var.install_agentapi
agentapi_version = var.agentapi_version
agentapi_cache_dir = var.agentapi_cache_dir
pre_install_script = var.pre_install_script
post_install_script = var.post_install_script
start_script = <<-EOT
Expand Down
8 changes: 4 additions & 4 deletions registry/coder-labs/modules/gemini/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run [Gemini CLI](https://github.com/google-gemini/gemini-cli) in your workspace
```tf
module "gemini" {
source = "registry.coder.com/coder-labs/gemini/coder"
version = "3.0.0"
version = "3.1.0"
agent_id = coder_agent.main.id
folder = "/home/coder/project"
}
Expand Down Expand Up @@ -46,7 +46,7 @@ variable "gemini_api_key" {

module "gemini" {
source = "registry.coder.com/coder-labs/gemini/coder"
version = "3.0.0"
version = "3.1.0"
agent_id = coder_agent.main.id
gemini_api_key = var.gemini_api_key
folder = "/home/coder/project"
Expand Down Expand Up @@ -94,7 +94,7 @@ data "coder_parameter" "ai_prompt" {
module "gemini" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder-labs/gemini/coder"
version = "3.0.0"
version = "3.1.0"
agent_id = coder_agent.main.id
gemini_api_key = var.gemini_api_key
gemini_model = "gemini-2.5-flash"
Expand All @@ -118,7 +118,7 @@ For enterprise users who prefer Google's Vertex AI platform:
```tf
module "gemini" {
source = "registry.coder.com/coder-labs/gemini/coder"
version = "3.0.0"
version = "3.1.0"
agent_id = coder_agent.main.id
gemini_api_key = var.gemini_api_key
folder = "/home/coder/project"
Expand Down
9 changes: 8 additions & 1 deletion registry/coder-labs/modules/gemini/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ variable "agentapi_version" {
default = "v0.10.0"
}

variable "agentapi_cache_dir" {
type = string
description = "Path to a directory where the AgentAPI binary will be cached after download. On subsequent workspace starts, the cached binary is used instead of downloading again."
default = ""
}

variable "gemini_model" {
type = string
description = "The model to use for Gemini (e.g., gemini-2.5-pro)."
Expand Down Expand Up @@ -177,7 +183,7 @@ EOT

module "agentapi" {
source = "registry.coder.com/coder/agentapi/coder"
version = "2.0.0"
version = "2.2.0"

agent_id = var.agent_id
folder = local.folder
Expand All @@ -191,6 +197,7 @@ module "agentapi" {
module_dir_name = local.module_dir_name
install_agentapi = var.install_agentapi
agentapi_version = var.agentapi_version
agentapi_cache_dir = var.agentapi_cache_dir
pre_install_script = var.pre_install_script
post_install_script = var.post_install_script
install_script = <<-EOT
Expand Down
6 changes: 3 additions & 3 deletions registry/coder-labs/modules/opencode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run [OpenCode](https://opencode.ai) AI coding assistant in your workspace for in
```tf
module "opencode" {
source = "registry.coder.com/coder-labs/opencode/coder"
version = "0.1.1"
version = "0.2.0"
agent_id = coder_agent.main.id
workdir = "/home/coder/project"
}
Expand All @@ -34,7 +34,7 @@ resource "coder_ai_task" "task" {

module "opencode" {
source = "registry.coder.com/coder-labs/opencode/coder"
version = "0.1.1"
version = "0.2.0"
agent_id = coder_agent.main.id
workdir = "/home/coder/project"

Expand Down Expand Up @@ -89,7 +89,7 @@ Run OpenCode as a command-line tool without web interface or task reporting:
```tf
module "opencode" {
source = "registry.coder.com/coder-labs/opencode/coder"
version = "0.1.1"
version = "0.2.0"
agent_id = coder_agent.main.id
workdir = "/home/coder"
report_tasks = false
Expand Down
9 changes: 8 additions & 1 deletion registry/coder-labs/modules/opencode/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ variable "agentapi_version" {
default = "v0.11.2"
}

variable "agentapi_cache_dir" {
type = string
description = "Path to a directory where the AgentAPI binary will be cached after download. On subsequent workspace starts, the cached binary is used instead of downloading again."
default = ""
}

variable "ai_prompt" {
type = string
description = "Initial task prompt for OpenCode."
Expand Down Expand Up @@ -147,7 +153,7 @@ locals {

module "agentapi" {
source = "registry.coder.com/coder/agentapi/coder"
version = "2.0.0"
version = "2.2.0"

agent_id = var.agent_id
web_app_slug = local.app_slug
Expand All @@ -163,6 +169,7 @@ module "agentapi" {
module_dir_name = local.module_dir_name
install_agentapi = var.install_agentapi
agentapi_version = var.agentapi_version
agentapi_cache_dir = var.agentapi_cache_dir
pre_install_script = var.pre_install_script
post_install_script = var.post_install_script
start_script = <<-EOT
Expand Down
2 changes: 1 addition & 1 deletion registry/coder-labs/modules/sourcegraph-amp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Run [Amp CLI](https://ampcode.com/) in your workspace to access Sourcegraph's AI
```tf
module "amp-cli" {
source = "registry.coder.com/coder-labs/sourcegraph-amp/coder"
version = "3.0.0"
version = "3.1.0"
agent_id = coder_agent.example.id
amp_api_key = var.amp_api_key
install_amp = true
Expand Down
Loading
Loading