@curviate/cli 0.27.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -6,6 +6,53 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
  Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html):
7
7
  a new command or flag is a minor; a breaking command/flag/exit-code change is a major; a fix is a patch.
8
8
 
9
+ ## [0.28.0] - 2026-09-06
10
+
11
+ Pins `@curviate/sdk` at `0.27.0` and re-vendors the OpenAPI fixture from it
12
+ (`server_git_sha 2a86542f...`). No command, flag or exit code changes meaning,
13
+ and no source change was needed: everything below is a consequence of the API
14
+ the CLI talks to, surfaced here because it changes what some calls answer.
15
+
16
+ ### Changed
17
+
18
+ - **`message.delivered` is no longer a subscribable webhook event.** The
19
+ platform never emitted it. `curviate webhook events` now lists 27 events,
20
+ 7 of them messaging, where it listed 28 and 8.
21
+
22
+ `--events` on `webhook create` and `webhook update` is a free-form
23
+ comma-separated string that the CLI passes through unvalidated, so this is
24
+ not a client-side usage error (exit `2`): sending `message.delivered` now
25
+ gets a `400` from the API and exits on the request-error path like any other
26
+ rejected value. Drop it from the list.
27
+
28
+ **Reading an existing subscription is unaffected.** `events` on
29
+ `webhook list` and `webhook get` is a plain string array, not the create
30
+ enum. A subscription created before 2026-09-06 may still echo
31
+ `message.delivered` in its stored `events` until the server-side cleanup
32
+ migration lands; it was never delivered. It renders as an ordinary value and
33
+ nothing throws.
34
+
35
+ The read-path replacement is `is_delivered` on the message resource.
36
+ - **`notices[]` can now carry `EXPANSION_WITHHELD_CEILING`** on the reads that
37
+ accept `--expand public_identifier`, alongside `EXPANSION_LIMIT_REACHED` and
38
+ `EXPANSION_WITHHELD_ACTIVITY_WINDOW`: the expansion was withheld because the
39
+ account is at an account-safety ceiling. It renders through the same
40
+ `notice [CODE] message` line as its two siblings, on stderr in human mode and
41
+ carried on the response in `--json`, so no output shape changes and no
42
+ branch on the existing codes breaks.
43
+ - **The warn-posture safety hint reads differently.** On a `2xx` that carries
44
+ `safety_warning`, `hint.message` now says the action went through and how far
45
+ past the ceiling the row stands, rather than restating the ceiling. The CLI
46
+ prints the server's string verbatim, in both human and `--json` output, so
47
+ this is prose only: no field moved and nothing needs re-parsing. An agent
48
+ matching on the old sentence should match on `safety_warning.blocked` or
49
+ `hint.parameter` instead.
50
+ - **A `502` whose upstream response could not be interpreted is not worth
51
+ retrying.** The API documents `retry_likely_to_succeed` as the field that
52
+ separates the two `502` cases, and the do-not-retry one carries
53
+ `retry_hint: {"kind": "never"}`. Both fields were already on the wire and the
54
+ CLI already surfaces them; nothing about its own behaviour changes here.
55
+
9
56
  ## [0.27.0] - 2026-09-06
10
57
 
11
58
  Pins `@curviate/sdk` at `0.26.0`, which is what makes the last two items of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curviate/cli",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "private": false,
5
5
  "description": "Official command-line interface for the Curviate API.",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "clean": "rm -rf dist *.tsbuildinfo"
47
47
  },
48
48
  "dependencies": {
49
- "@curviate/sdk": "0.26.0",
49
+ "@curviate/sdk": "0.27.0",
50
50
  "citty": "^0.1.6",
51
51
  "open": "^10.1.0"
52
52
  },