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
The Agents API replaced the template submission `branch` field with `ref`
(full ref form like refs/heads/main or refs/tags/v1.0.0; bare names treated
as branches) and added `path` for monorepo subdirectories. The CLI still
sent `branch`, so validating/submitting/updating a template from a branch or
subfolder failed.
- Send ref/path (plus optional nameOverride/slugOverride) for
validate/submit/update; keep --branch/-b as aliases for --ref
- Add `templates refs` and `templates search-refs` commands
- Surface API error messages (string or ZodError object) instead of a
generic status code
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,17 @@ All notable changes to this project will be documented in this file.
4
4
5
5
## [Unreleased]
6
6
7
+
### 🚀 Features
8
+
9
+
- Add `agents templates refs` and `agents templates search-refs` to list/search branches and tags for a repo
10
+
- Support submitting/updating templates from a subdirectory via `--path` (monorepos)
11
+
- Support `--name`/`--slug` overrides when submitting templates
12
+
7
13
### 🐛 Bug Fixes
8
14
9
15
- Allow flags to be passed after positional arguments (e.g. `files get <id> --network public`); previously such flags were silently ignored
16
+
- Fix `agents templates update`/`submit`/`validate` for templates from a branch or subfolder: send the API's `ref` (with `path` for monorepos) instead of the removed `branch` field; `--branch`/`-b` remain as aliases for `--ref`
17
+
- Surface server error messages (including validation errors) for the templates API instead of a generic "server returned status N"
0 commit comments