Skip to content

Commit 0e4f3cf

Browse files
authored
Merge branch 'main' into main
2 parents 0085699 + 2de6a57 commit 0e4f3cf

File tree

7 files changed

+24
-25
lines changed

7 files changed

+24
-25
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Validate formatting
4949
run: bun fmt:ci
5050
- name: Check for typos
51-
uses: crate-ci/[email protected].2
51+
uses: crate-ci/[email protected].3
5252
with:
5353
config: .github/typos.toml
5454
validate-readme-files:

registry/coder/modules/claude-code/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Run the [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude
1313
```tf
1414
module "claude-code" {
1515
source = "registry.coder.com/coder/claude-code/coder"
16-
version = "3.0.0"
16+
version = "3.0.1"
1717
agent_id = coder_agent.example.id
1818
workdir = "/home/coder/project"
1919
claude_api_key = "xxxx-xxxxx-xxxx"
@@ -49,7 +49,7 @@ data "coder_parameter" "ai_prompt" {
4949
5050
module "claude-code" {
5151
source = "registry.coder.com/coder/claude-code/coder"
52-
version = "3.0.0"
52+
version = "3.0.1"
5353
agent_id = coder_agent.example.id
5454
workdir = "/home/coder/project"
5555
@@ -85,7 +85,7 @@ Run and configure Claude Code as a standalone CLI in your workspace.
8585
```tf
8686
module "claude-code" {
8787
source = "registry.coder.com/coder/claude-code/coder"
88-
version = "3.0.0"
88+
version = "3.0.1"
8989
agent_id = coder_agent.example.id
9090
workdir = "/home/coder"
9191
install_claude_code = true
@@ -108,7 +108,7 @@ variable "claude_code_oauth_token" {
108108
109109
module "claude-code" {
110110
source = "registry.coder.com/coder/claude-code/coder"
111-
version = "3.0.0"
111+
version = "3.0.1"
112112
agent_id = coder_agent.example.id
113113
workdir = "/home/coder/project"
114114
claude_code_oauth_token = var.claude_code_oauth_token

registry/coder/modules/claude-code/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ module "agentapi" {
244244
web_app_group = var.group
245245
web_app_icon = var.icon
246246
web_app_display_name = var.web_app_display_name
247+
folder = local.workdir
247248
cli_app = var.cli_app
248249
cli_app_slug = var.cli_app ? "${local.app_slug}-cli" : null
249250
cli_app_display_name = var.cli_app ? var.cli_app_display_name : null

registry/coder/modules/claude-code/main.tftest.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ run "test_claude_code_with_api_key" {
4242
}
4343

4444
assert {
45-
condition = coder_env.claude_api_key.value == "test-api-key-123"
45+
condition = coder_env.claude_api_key[0].value == "test-api-key-123"
4646
error_message = "Claude API key value should match the input"
4747
}
4848
}

registry/coder/modules/jetbrains-gateway/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ tags: [ide, jetbrains, parameter, gateway]
1010

1111
This module adds a JetBrains Gateway Button to open any workspace with a single click.
1212

13+
> We recommend using the [Coder Toolbox module](https://registry.coder.com/modules/coder/jetbrains), which offers significant stability and connectivity benefits over Gateway. Reference our [documentation](https://coder.com/docs/user-guides/workspace-access/jetbrains/toolbox) for more information.
14+
1315
JetBrains recommends a minimum of 4 CPU cores and 8GB of RAM.
1416
Consult the [JetBrains documentation](https://www.jetbrains.com/help/idea/prerequisites.html#min_requirements) to confirm other system requirements.
1517

1618
```tf
1719
module "jetbrains_gateway" {
1820
count = data.coder_workspace.me.start_count
1921
source = "registry.coder.com/coder/jetbrains-gateway/coder"
20-
version = "1.2.2"
22+
version = "1.2.3"
2123
agent_id = coder_agent.example.id
2224
folder = "/home/coder/example"
2325
jetbrains_ides = ["CL", "GO", "IU", "PY", "WS"]
@@ -35,7 +37,7 @@ module "jetbrains_gateway" {
3537
module "jetbrains_gateway" {
3638
count = data.coder_workspace.me.start_count
3739
source = "registry.coder.com/coder/jetbrains-gateway/coder"
38-
version = "1.2.2"
40+
version = "1.2.3"
3941
agent_id = coder_agent.example.id
4042
folder = "/home/coder/example"
4143
jetbrains_ides = ["GO", "WS"]
@@ -49,7 +51,7 @@ module "jetbrains_gateway" {
4951
module "jetbrains_gateway" {
5052
count = data.coder_workspace.me.start_count
5153
source = "registry.coder.com/coder/jetbrains-gateway/coder"
52-
version = "1.2.2"
54+
version = "1.2.3"
5355
agent_id = coder_agent.example.id
5456
folder = "/home/coder/example"
5557
jetbrains_ides = ["IU", "PY"]
@@ -64,7 +66,7 @@ module "jetbrains_gateway" {
6466
module "jetbrains_gateway" {
6567
count = data.coder_workspace.me.start_count
6668
source = "registry.coder.com/coder/jetbrains-gateway/coder"
67-
version = "1.2.2"
69+
version = "1.2.3"
6870
agent_id = coder_agent.example.id
6971
folder = "/home/coder/example"
7072
jetbrains_ides = ["IU", "PY"]
@@ -89,7 +91,7 @@ module "jetbrains_gateway" {
8991
module "jetbrains_gateway" {
9092
count = data.coder_workspace.me.start_count
9193
source = "registry.coder.com/coder/jetbrains-gateway/coder"
92-
version = "1.2.2"
94+
version = "1.2.3"
9395
agent_id = coder_agent.example.id
9496
folder = "/home/coder/example"
9597
jetbrains_ides = ["GO", "WS"]
@@ -107,7 +109,7 @@ Due to the highest priority of the `ide_download_link` parameter in the `(jetbra
107109
module "jetbrains_gateway" {
108110
count = data.coder_workspace.me.start_count
109111
source = "registry.coder.com/coder/jetbrains-gateway/coder"
110-
version = "1.2.2"
112+
version = "1.2.3"
111113
agent_id = coder_agent.example.id
112114
folder = "/home/coder/example"
113115
jetbrains_ides = ["GO", "WS"]

registry/coder/modules/jfrog-oauth/main.test.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ describe("jfrog-oauth", async () => {
2424
const fakeFrogUrl = "http://localhost:8081";
2525
const user = "default";
2626

27-
it("can run apply with required variables", async () => {
28-
testRequiredVariables<TestVariables>(import.meta.dir, {
29-
agent_id: "some-agent-id",
30-
jfrog_url: fakeFrogUrl,
31-
package_managers: "{}",
32-
});
27+
testRequiredVariables<TestVariables>(import.meta.dir, {
28+
agent_id: "some-agent-id",
29+
jfrog_url: fakeFrogUrl,
30+
package_managers: "{}",
3331
});
3432

3533
it("generates an npmrc with scoped repos", async () => {

registry/coder/modules/jfrog-token/main.test.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,11 @@ describe("jfrog-token", async () => {
5555
const user = "default";
5656
const token = "xxx";
5757

58-
it("can run apply with required variables", async () => {
59-
testRequiredVariables<TestVariables>(import.meta.dir, {
60-
agent_id: "some-agent-id",
61-
jfrog_url: fakeFrogUrl,
62-
artifactory_access_token: "XXXX",
63-
package_managers: "{}",
64-
});
58+
testRequiredVariables<TestVariables>(import.meta.dir, {
59+
agent_id: "some-agent-id",
60+
jfrog_url: fakeFrogUrl,
61+
artifactory_access_token: "XXXX",
62+
package_managers: "{}",
6563
});
6664

6765
it("generates an npmrc with scoped repos", async () => {

0 commit comments

Comments
 (0)