Title: feat(cli): add `--agents-allowed` to `coder templates push` · Issue #32005 · coder/coder · GitHub
Open Graph Title: feat(cli): add `--agents-allowed` to `coder templates push` · Issue #32005 · coder/coder
X Title: feat(cli): add `--agents-allowed` to `coder templates push` · Issue #32005 · coder/coder
Description: Part of #31998. coder templates create --agents-allowed controls whether Coder Agents can create workspaces from the template. coder templates push has no equivalent flag. This gap is smaller than the others. The server already defaults ...
Open Graph Description: Part of #31998. coder templates create --agents-allowed controls whether Coder Agents can create workspaces from the template. coder templates push has no equivalent flag. This gap is smaller than ...
X Description: Part of #31998. coder templates create --agents-allowed controls whether Coder Agents can create workspaces from the template. coder templates push has no equivalent flag. This gap is smaller than ...
Opengraph URL: https://github.com/coder/coder/issues/32005
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(cli): add `--agents-allowed` to `coder templates push`","articleBody":"Part of #31998.\n\n`coder templates create --agents-allowed` controls whether Coder Agents can create workspaces from the template. `coder templates push` has no equivalent flag.\n\nThis gap is smaller than the others. The server [already defaults to \\`true\\`](https://github.com/coder/coder/blob/e6a795b4c3b00a5c1e576137f3540e9a9fdbbe76/coderd/templates.go#L215) when the field isn't sent, so `push` only falls short when someone wants to opt a template out of Coder Agents.\n\n**What to change**\n- New template: set `CreateTemplateRequest.AgentsAllowed`, but only when the user sets the flag.\n- Existing template: send `UpdateTemplateMeta.AgentsAllowed` only when the user sets the flag.\n- No license needed.\n\n**Scope:** Extra small (XS), about 15 lines plus a test.\n\nCreated on behalf of @angrycub\n","author":{"url":"https://github.com/apps/coder","@type":"Person","name":"coder"},"datePublished":"2026-11-10T16:36:05Z","url":"https://github.com/coder/coder/issues/32005"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0bab3d89-33d6-8323-cc3c-f5ae43298a6c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A14A:1525E:AA9807:EECE1D:6B0430A7 |
| html-safe-nonce | bba54d73b3f9277b58329531a0adbbfe75a3b133e17379325bd139aa6373cea0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTRBOjE1MjVFOkFBOTgwNzpFRUNFMUQ6NkIwNDMwQTciLCJ2aXNpdG9yX2lkIjoiMzE4NTYxMTc1OTU5NTgyNzM2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1d0f553b8cea444b59e144338c9ceedf4a103f3d4aeb9cf21a7d4cac6747a9fe |
| hovercard-subject-tag | issue:6311275199 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/32005/issue_layout |
| twitter:image | https://opengraph.githubassets.com/463839671b50d6d1d417d6a7bab7c2c4750892c7ebfe1fee15a42df0ac48c6c2/coder/coder/issues/32005 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/463839671b50d6d1d417d6a7bab7c2c4750892c7ebfe1fee15a42df0ac48c6c2/coder/coder/issues/32005 |
| og:image:alt | Part of #31998. coder templates create --agents-allowed controls whether Coder Agents can create workspaces from the template. coder templates push has no equivalent flag. This gap is smaller than ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | coder[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width