You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(cli): add --agents-allowed to coder templates push #32005
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 to `true` when the field isn't sent, so push only falls short when someone wants to opt a template out of Coder Agents.
What to change
New template: set CreateTemplateRequest.AgentsAllowed, but only when the user sets the flag.
Existing template: send UpdateTemplateMeta.AgentsAllowed only when the user sets the flag.
No license needed.
Scope: Extra small (XS), about 15 lines plus a test.
Activity
linear-code commentedon Nov 10, 2026
ENG-3530