@curviate/cli 0.7.0 → 0.7.1

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.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,16 @@ a new command or flag is a minor; a breaking command/flag/exit-code change is a
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [0.7.1] - 2026-07-01
12
+
13
+ ### Fixed
14
+
15
+ - `recruiter message new` — the `--to` recipient ID is now sent as `attendees_ids` (plural) in the request body, matching the updated server contract. A prior version used the old `attendee_ids` (singular) field name which the API no longer accepts.
16
+
17
+ ### Changed
18
+
19
+ - Updated `@curviate/sdk` dependency to `^0.6.0`.
20
+
11
21
  ## [0.7.0] - 2026-07-01
12
22
 
13
23
  ### Added
package/dist/cli.js CHANGED
@@ -153,7 +153,7 @@ var main = defineCommand({
153
153
  account: () => import("./account-O5GZNE72.js").then((m) => m.accountCommand),
154
154
  webhook: () => import("./webhook-F6CRIISR.js").then((m) => m.webhookCommand),
155
155
  "sales-nav": () => import("./sales-nav-LSBARRGL.js").then((m) => m.salesNavCommand),
156
- recruiter: () => import("./recruiter-7UEBT3JZ.js").then((m) => m.recruiterCommand)
156
+ recruiter: () => import("./recruiter-3JHYSZPL.js").then((m) => m.recruiterCommand)
157
157
  },
158
158
  async run() {
159
159
  const { runMain } = await import("citty");
@@ -158,13 +158,13 @@ async function runRecruiterMessageNew(client, flags, out) {
158
158
  throw err;
159
159
  }
160
160
  const body = {
161
- attendee_ids: [to],
161
+ attendees_ids: [to],
162
162
  text
163
163
  };
164
164
  if (flags.preview) {
165
165
  const preview = buildPreviewOutput({
166
166
  method: "recruiter.startChat",
167
- args: { attendee_ids: [to] },
167
+ args: { attendees_ids: [to] },
168
168
  body: { ...body },
169
169
  account: accountId,
170
170
  attachments: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curviate/cli",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "private": false,
5
5
  "description": "Official command-line interface for the Curviate API.",
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  "clean": "rm -rf dist *.tsbuildinfo"
41
41
  },
42
42
  "dependencies": {
43
- "@curviate/sdk": "^0.5.0",
43
+ "@curviate/sdk": "^0.6.0",
44
44
  "citty": "^0.1.6"
45
45
  },
46
46
  "devDependencies": {