@@ -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