Skip to content

Commit 7c1b2a4

Browse files
chore: align directories to match up with examples and tasks
1 parent bb3cb02 commit 7c1b2a4

File tree

1 file changed

+7
-7
lines changed
  • registry/coder-labs/modules/copilot-cli

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module "copilot_cli" {
1515
source = "registry.coder.com/coder-labs/copilot-cli/coder"
1616
version = "0.1.0"
1717
agent_id = coder_agent.example.id
18-
workdir = "/home/coder/project"
18+
workdir = "/home/coder/projects"
1919
}
2020
```
2121

@@ -53,14 +53,14 @@ module "copilot_cli" {
5353
source = "registry.coder.com/coder-labs/copilot-cli/coder"
5454
version = "0.1.0"
5555
agent_id = coder_agent.example.id
56-
workdir = "/home/coder/project"
56+
workdir = "/home/coder/projects"
5757
5858
ai_prompt = data.coder_parameter.ai_prompt.value
5959
copilot_model = "claude-sonnet-4.5"
6060
allow_all_tools = true
6161
resume_session = true
6262
63-
trusted_directories = ["/home/coder", "/tmp"]
63+
trusted_directories = ["/home/coder/projects", "/tmp"]
6464
}
6565
```
6666

@@ -73,11 +73,11 @@ module "copilot_cli" {
7373
source = "registry.coder.com/coder-labs/copilot-cli/coder"
7474
version = "0.1.0"
7575
agent_id = coder_agent.example.id
76-
workdir = "/home/coder/project"
76+
workdir = "/home/coder/projects"
7777
7878
# Tool permissions
7979
allow_tools = ["shell(git)", "shell(npm)", "write"]
80-
trusted_directories = ["/home/coder/workspace", "/tmp"]
80+
trusted_directories = ["/home/coder/projects", "/tmp"]
8181
8282
# Custom Copilot CLI configuration
8383
copilot_config = jsonencode({
@@ -90,7 +90,7 @@ module "copilot_cli" {
9090
mcpServers = {
9191
filesystem = {
9292
command = "npx"
93-
args = ["-y", "@modelcontextprotocol/server-filesystem", "/home/coder/workspace"]
93+
args = ["-y", "@modelcontextprotocol/server-filesystem", "/home/coder/projects"]
9494
description = "Provides file system access to the workspace"
9595
name = "Filesystem"
9696
timeout = 3000
@@ -141,7 +141,7 @@ module "copilot_cli" {
141141
source = "registry.coder.com/coder-labs/copilot-cli/coder"
142142
version = "0.1.0"
143143
agent_id = coder_agent.example.id
144-
workdir = "/home/coder/project"
144+
workdir = "/home/coder/projects"
145145
github_token = var.github_token
146146
}
147147
```

0 commit comments

Comments
 (0)