Skip to content

Commit 7c4ef92

Browse files
authored
chore: update all module READMEs to use main agent id (#567)
1 parent 7b84d91 commit 7c4ef92

File tree

58 files changed

+434
-398
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+434
-398
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module "cursor" {
3939
count = data.coder_workspace.me.start_count
4040
source = "registry.coder.com/coder/cursor/coder"
4141
version = "1.0.19"
42-
agent_id = coder_agent.example.id
42+
agent_id = coder_agent.main.id
4343
}
4444
```
4545

cmd/readmevalidation/testSamples/sampleReadmeBody.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Run the [Goose](https://block.github.io/goose/) agent in your workspace to gener
66
module "goose" {
77
source = "registry.coder.com/coder/goose/coder"
88
version = "1.0.31"
9-
agent_id = coder_agent.example.id
9+
agent_id = coder_agent.main.id
1010
folder = "/home/coder"
1111
install_goose = true
1212
goose_version = "v1.0.16"
@@ -40,7 +40,7 @@ module "coder-login" {
4040
count = data.coder_workspace.me.start_count
4141
source = "registry.coder.com/coder/coder-login/coder"
4242
version = "1.0.15"
43-
agent_id = coder_agent.example.id
43+
agent_id = coder_agent.main.id
4444
}
4545
4646
variable "anthropic_api_key" {
@@ -82,7 +82,7 @@ module "goose" {
8282
count = data.coder_workspace.me.start_count
8383
source = "registry.coder.com/coder/goose/coder"
8484
version = "1.0.31"
85-
agent_id = coder_agent.example.id
85+
agent_id = coder_agent.main.id
8686
folder = "/home/coder"
8787
install_goose = true
8888
goose_version = "v1.0.16"
@@ -110,7 +110,7 @@ Run Goose as a standalone app in your workspace. This will install Goose and run
110110
module "goose" {
111111
source = "registry.coder.com/coder/goose/coder"
112112
version = "1.0.31"
113-
agent_id = coder_agent.example.id
113+
agent_id = coder_agent.main.id
114114
folder = "/home/coder"
115115
install_goose = true
116116
goose_version = "v1.0.16"

examples/modules/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module "MODULE_NAME" {
3131
count = data.coder_workspace.me.start_count
3232
source = "registry.coder.com/NAMESPACE/MODULE_NAME/coder"
3333
version = "1.0.0"
34-
agent_id = coder_agent.example.id
34+
agent_id = coder_agent.main.id
3535
extensions = [
3636
"dracula-theme.theme-dracula"
3737
]
@@ -49,7 +49,7 @@ module "MODULE_NAME" {
4949
count = data.coder_workspace.me.start_count
5050
source = "registry.coder.com/NAMESPACE/MODULE_NAME/coder"
5151
version = "1.0.0"
52-
agent_id = coder_agent.example.id
52+
agent_id = coder_agent.main.id
5353
extensions = ["dracula-theme.theme-dracula"]
5454
settings = {
5555
"workbench.colorTheme" = "Dracula"
@@ -65,7 +65,7 @@ Run code-server in the background, don't fetch it from GitHub:
6565
module "MODULE_NAME" {
6666
source = "registry.coder.com/NAMESPACE/MODULE_NAME/coder"
6767
version = "1.0.0"
68-
agent_id = coder_agent.example.id
68+
agent_id = coder_agent.main.id
6969
offline = true
7070
}
7171
```

registry/AJ0070/modules/pgadmin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ It can be served on a Coder subdomain for easy access, or on `localhost` if you
1717
module "pgadmin" {
1818
count = data.coder_workspace.me.start_count
1919
source = "registry.coder.com/AJ0070/pgadmin/coder"
20-
version = "1.0.0"
21-
agent_id = coder_agent.example.id
20+
version = "1.0.1"
21+
agent_id = coder_agent.main.id
2222
}
2323
```

registry/BenraouaneSoufiane/modules/rustdesk/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Launches RustDesk within your workspace with a virtual display to provide remote
1414
module "rustdesk" {
1515
count = data.coder_workspace.me.start_count
1616
source = "registry.coder.com/BenraouaneSoufiane/rustdesk/coder"
17-
version = "1.0.0"
18-
agent_id = coder_agent.example.id
17+
version = "1.0.1"
18+
agent_id = coder_agent.main.id
1919
}
2020
```
2121

@@ -41,8 +41,8 @@ module "rustdesk" {
4141
module "rustdesk" {
4242
count = data.coder_workspace.me.start_count
4343
source = "registry.coder.com/BenraouaneSoufiane/rustdesk/coder"
44-
version = "1.0.0"
45-
agent_id = coder_agent.example.id
44+
version = "1.0.1"
45+
agent_id = coder_agent.main.id
4646
rustdesk_password = "mycustompass"
4747
xvfb_resolution = "1920x1080x24"
4848
rustdesk_version = "1.4.1"

registry/anomaly/modules/tmux/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ up a default or custom tmux configuration with session save/restore capabilities
1515
```tf
1616
module "tmux" {
1717
source = "registry.coder.com/anomaly/tmux/coder"
18-
version = "1.0.1"
19-
agent_id = coder_agent.example.id
18+
version = "1.0.2"
19+
agent_id = coder_agent.main.id
2020
}
2121
```
2222

@@ -39,8 +39,8 @@ module "tmux" {
3939
```tf
4040
module "tmux" {
4141
source = "registry.coder.com/anomaly/tmux/coder"
42-
version = "1.0.1"
43-
agent_id = coder_agent.example.id
42+
version = "1.0.2"
43+
agent_id = coder_agent.main.id
4444
tmux_config = "" # Optional: custom tmux.conf content
4545
save_interval = 1 # Optional: save interval in minutes
4646
sessions = ["default", "dev", "ops"] # Optional: list of tmux sessions
@@ -78,7 +78,7 @@ This module can provision multiple tmux sessions, each as a separate app in the
7878
```tf
7979
module "tmux" {
8080
source = "registry.coder.com/anomaly/tmux/coder"
81-
version = "1.0.1"
81+
version = "1.0.2"
8282
agent_id = var.agent_id
8383
sessions = ["default", "dev", "anomaly"]
8484
tmux_config = <<-EOT

registry/coder-labs/modules/archive/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ This module installs small, robust scripts in your workspace to create and extra
1414
module "archive" {
1515
count = data.coder_workspace.me.start_count
1616
source = "registry.coder.com/coder-labs/archive/coder"
17-
version = "0.0.1"
18-
agent_id = coder_agent.example.id
17+
version = "0.0.2"
18+
agent_id = coder_agent.main.id
1919
2020
paths = ["./projects", "./code"]
2121
}
@@ -43,8 +43,8 @@ Basic example:
4343
module "archive" {
4444
count = data.coder_workspace.me.start_count
4545
source = "registry.coder.com/coder-labs/archive/coder"
46-
version = "0.0.1"
47-
agent_id = coder_agent.example.id
46+
version = "0.0.2"
47+
agent_id = coder_agent.main.id
4848
4949
# Paths to include in the archive (files or directories).
5050
directory = "~"
@@ -61,8 +61,8 @@ Customize compression and output:
6161
module "archive" {
6262
count = data.coder_workspace.me.start_count
6363
source = "registry.coder.com/coder-labs/archive/coder"
64-
version = "0.0.1"
65-
agent_id = coder_agent.example.id
64+
version = "0.0.2"
65+
agent_id = coder_agent.main.id
6666
6767
directory = "/"
6868
paths = ["/etc", "/home"]
@@ -78,8 +78,8 @@ Enable auto-archive on stop:
7878
module "archive" {
7979
count = data.coder_workspace.me.start_count
8080
source = "registry.coder.com/coder-labs/archive/coder"
81-
version = "0.0.1"
82-
agent_id = coder_agent.example.id
81+
version = "0.0.2"
82+
agent_id = coder_agent.main.id
8383
8484
# Creates /tmp/coder-archive.tar.gz of the users home directory (defaults).
8585
create_on_stop = true
@@ -92,8 +92,8 @@ Extract on start:
9292
module "archive" {
9393
count = data.coder_workspace.me.start_count
9494
source = "registry.coder.com/coder-labs/archive/coder"
95-
version = "0.0.1"
96-
agent_id = coder_agent.example.id
95+
version = "0.0.2"
96+
agent_id = coder_agent.main.id
9797
9898
# Where to look for the archive file to extract:
9999
output_dir = "/tmp"

registry/coder-labs/modules/auggie/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Run Auggie CLI in your workspace to access Augment's AI coding assistant with ad
1313
```tf
1414
module "auggie" {
1515
source = "registry.coder.com/coder-labs/auggie/coder"
16-
version = "0.2.1"
17-
agent_id = coder_agent.example.id
16+
version = "0.2.2"
17+
agent_id = coder_agent.main.id
1818
folder = "/home/coder/project"
1919
}
2020
```
@@ -42,13 +42,13 @@ module "coder-login" {
4242
count = data.coder_workspace.me.start_count
4343
source = "registry.coder.com/coder/coder-login/coder"
4444
version = "1.0.31"
45-
agent_id = coder_agent.example.id
45+
agent_id = coder_agent.main.id
4646
}
4747
4848
module "auggie" {
4949
source = "registry.coder.com/coder-labs/auggie/coder"
50-
version = "0.2.1"
51-
agent_id = coder_agent.example.id
50+
version = "0.2.2"
51+
agent_id = coder_agent.main.id
5252
folder = "/home/coder/project"
5353
5454
# Authentication
@@ -74,6 +74,7 @@ EOF # Required for tasks
7474
"command": "npx",
7575
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/coder/project"]
7676
}
77+
7778
}
7879
}
7980
EOF
@@ -103,8 +104,8 @@ EOF
103104
```tf
104105
module "auggie" {
105106
source = "registry.coder.com/coder-labs/auggie/coder"
106-
version = "0.2.1"
107-
agent_id = coder_agent.example.id
107+
version = "0.2.2"
108+
agent_id = coder_agent.main.id
108109
folder = "/home/coder/project"
109110
110111
# Multiple MCP configuration files
@@ -127,6 +128,7 @@ module "auggie" {
127128
],
128129
"timeout": 600
129130
}
131+
130132
}
131133
}
132134
EOF

registry/coder-labs/modules/codex/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Run Codex CLI in your workspace to access OpenAI's models through the Codex inte
1313
```tf
1414
module "codex" {
1515
source = "registry.coder.com/coder-labs/codex/coder"
16-
version = "3.1.0"
17-
agent_id = coder_agent.example.id
16+
version = "3.1.1"
17+
agent_id = coder_agent.main.id
1818
openai_api_key = var.openai_api_key
1919
workdir = "/home/coder/project"
2020
}
@@ -33,8 +33,8 @@ module "codex" {
3333
module "codex" {
3434
count = data.coder_workspace.me.start_count
3535
source = "registry.coder.com/coder-labs/codex/coder"
36-
version = "3.1.0"
37-
agent_id = coder_agent.example.id
36+
version = "3.1.1"
37+
agent_id = coder_agent.main.id
3838
openai_api_key = "..."
3939
workdir = "/home/coder/project"
4040
report_tasks = false
@@ -56,13 +56,13 @@ module "coder-login" {
5656
count = data.coder_workspace.me.start_count
5757
source = "registry.coder.com/coder/coder-login/coder"
5858
version = "1.0.31"
59-
agent_id = coder_agent.example.id
59+
agent_id = coder_agent.main.id
6060
}
6161
6262
module "codex" {
6363
source = "registry.coder.com/coder-labs/codex/coder"
64-
version = "3.1.0"
65-
agent_id = coder_agent.example.id
64+
version = "3.1.1"
65+
agent_id = coder_agent.main.id
6666
openai_api_key = "..."
6767
ai_prompt = data.coder_parameter.ai_prompt.value
6868
workdir = "/home/coder/project"
@@ -108,7 +108,7 @@ For custom Codex configuration, use `base_config_toml` and/or `additional_mcp_se
108108
```tf
109109
module "codex" {
110110
source = "registry.coder.com/coder-labs/codex/coder"
111-
version = "3.1.0"
111+
version = "3.1.1"
112112
# ... other variables ...
113113
114114
# Override default configuration

registry/coder-labs/modules/copilot/README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Run [GitHub Copilot CLI](https://docs.github.com/copilot/concepts/agents/about-c
1313
```tf
1414
module "copilot" {
1515
source = "registry.coder.com/coder-labs/copilot/coder"
16-
version = "0.2.2"
17-
agent_id = coder_agent.example.id
16+
version = "0.2.3"
17+
agent_id = coder_agent.main.id
1818
workdir = "/home/coder/projects"
1919
}
2020
```
@@ -51,8 +51,8 @@ data "coder_parameter" "ai_prompt" {
5151
5252
module "copilot" {
5353
source = "registry.coder.com/coder-labs/copilot/coder"
54-
version = "0.2.2"
55-
agent_id = coder_agent.example.id
54+
version = "0.2.3"
55+
agent_id = coder_agent.main.id
5656
workdir = "/home/coder/projects"
5757
5858
ai_prompt = data.coder_parameter.ai_prompt.value
@@ -71,8 +71,8 @@ Customize tool permissions, MCP servers, and Copilot settings:
7171
```tf
7272
module "copilot" {
7373
source = "registry.coder.com/coder-labs/copilot/coder"
74-
version = "0.2.2"
75-
agent_id = coder_agent.example.id
74+
version = "0.2.3"
75+
agent_id = coder_agent.main.id
7676
workdir = "/home/coder/projects"
7777
7878
# Version pinning (defaults to "latest", use specific version if desired)
@@ -101,6 +101,7 @@ module "copilot" {
101101
tools = ["*"]
102102
trust = true
103103
}
104+
104105
playwright = {
105106
command = "npx"
106107
args = ["-y", "@playwright/mcp@latest", "--headless", "--isolated"]
@@ -142,8 +143,8 @@ variable "github_token" {
142143
143144
module "copilot" {
144145
source = "registry.coder.com/coder-labs/copilot/coder"
145-
version = "0.2.2"
146-
agent_id = coder_agent.example.id
146+
version = "0.2.3"
147+
agent_id = coder_agent.main.id
147148
workdir = "/home/coder/projects"
148149
github_token = var.github_token
149150
}
@@ -156,8 +157,8 @@ Run Copilot as a command-line tool without task reporting or web interface. This
156157
```tf
157158
module "copilot" {
158159
source = "registry.coder.com/coder-labs/copilot/coder"
159-
version = "0.2.2"
160-
agent_id = coder_agent.example.id
160+
version = "0.2.3"
161+
agent_id = coder_agent.main.id
161162
workdir = "/home/coder"
162163
report_tasks = false
163164
cli_app = true

0 commit comments

Comments
 (0)