-
Notifications
You must be signed in to change notification settings - Fork 123
feat(agentapi,claude-code): expose hidden parameter for web app #730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -59,6 +59,12 @@ variable "web_app_display_name" { | |
| default = "Claude Code" | ||
| } | ||
|
|
||
| variable "web_app_hidden" { | ||
| type = bool | ||
| description = "Whether to hide the web app from the dashboard UI. The app still exists and functions (healthchecks, task status reporting), but is not visible in the workspace app list. Requires Coder v2.16+." | ||
| default = false | ||
| } | ||
|
|
||
| variable "cli_app_display_name" { | ||
| type = string | ||
| description = "Display name for the CLI app" | ||
|
|
@@ -364,6 +370,7 @@ module "agentapi" { | |
| web_app_group = var.group | ||
| web_app_icon = var.icon | ||
| web_app_display_name = var.web_app_display_name | ||
| web_app_hidden = var.web_app_hidden | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This forwards Useful? React with 👍 / 👎. |
||
| folder = local.workdir | ||
| cli_app = var.cli_app | ||
| cli_app_slug = var.cli_app ? "${local.app_slug}-cli" : null | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The module now sets
coder_app.hidden, butrequired_providers.coderin this file still allows>= 2.13; users with lockfiles or environments pinned below the version that introducedhiddenwill fail during planning with an unsupported argument/schema mismatch. Bumping the minimum provider version to the first release that supportshiddenavoids this compatibility break.Useful? React with 👍 / 👎.