@roarkanalytics/cli 0.50.1 → 0.51.2

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
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.51.2](https://github.com/roarkhq/cli-roark-analytics/compare/v0.51.1...v0.51.2) (2026-10-23)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **confirm:** name the calls a batch delete will remove, not the command typed ([#133](https://github.com/roarkhq/cli-roark-analytics/issues/133)) ([e9a7d2f](https://github.com/roarkhq/cli-roark-analytics/commit/e9a7d2fab4fd074ce7be34e01f69c80e98aa09c2))
9
+
10
+ ## [0.51.1](https://github.com/roarkhq/cli-roark-analytics/compare/v0.51.0...v0.51.1) (2026-10-22)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **deps:** raise the @roarkanalytics/sdk floor to 5.12.0 ([#131](https://github.com/roarkhq/cli-roark-analytics/issues/131)) ([bcf90b1](https://github.com/roarkhq/cli-roark-analytics/commit/bcf90b111ee6e57b21a6fd02bf20271dae8500fd))
16
+
17
+ ## [0.51.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.50.1...v0.51.0) (2026-10-22)
18
+
19
+
20
+ ### Features
21
+
22
+ * **cli:** cli update ([#129](https://github.com/roarkhq/cli-roark-analytics/issues/129)) ([1860719](https://github.com/roarkhq/cli-roark-analytics/commit/1860719923037b0ad74b3612e6332ff5b8ef9c6d))
23
+
3
24
  ## [0.50.1](https://github.com/roarkhq/cli-roark-analytics/compare/v0.50.0...v0.50.1) (2026-10-21)
4
25
 
5
26
 
package/README.md CHANGED
@@ -247,6 +247,7 @@ roark completion fish | source
247
247
 
248
248
  | Command | Description |
249
249
  | -------------------------------------------------------------------------------- | -------------------------------------- |
250
+ | `roark metric collection-job cancel <job-id>` | Cancel a metric collection job |
250
251
  | `roark metric collection-job create` | Create and run a metric collection job |
251
252
  | `roark metric collection-job get <job-id>` | Get metric collection job by ID |
252
253
  | `roark metric collection-job list` | List metric collection jobs |
package/commands.js CHANGED
@@ -3698,6 +3698,29 @@ exports.COMMANDS = [
3698
3698
  acceptsBody: true,
3699
3699
  requiresAuth: true,
3700
3700
  },
3701
+ {
3702
+ commandPath: ['metric', 'collection-job', 'cancel'],
3703
+ clientProperty: 'metricCollectionJob',
3704
+ methodName: 'cancel',
3705
+ httpMethod: 'post',
3706
+ httpPath: '/v1/metric/collection-jobs/{jobId}/cancel',
3707
+ summary: 'Cancel a metric collection job',
3708
+ description: 'Stops a metric collection job that has not finished. No further conversations are processed and the job ends in CANCELED. Items the job had not reached are marked SKIPPED. Metric values already produced are kept, and items that were mid-computation when the cancel arrived may still complete. Only the items that completed are billed. Safe to call more than once: a job that has already finished (COMPLETED, FAILED, or CANCELED) is returned unchanged.',
3709
+ positionals: [
3710
+ {
3711
+ name: 'job-id',
3712
+ paramKey: 'jobId',
3713
+ description: 'The ID of the metric collection job to cancel',
3714
+ },
3715
+ ],
3716
+ flags: [],
3717
+ hasParams: false,
3718
+ paramsAllOptional: true,
3719
+ bodyOpaque: false,
3720
+ bodyVariants: [],
3721
+ acceptsBody: false,
3722
+ requiresAuth: true,
3723
+ },
3701
3724
  {
3702
3725
  commandPath: ['metric', 'collection-job', 'create'],
3703
3726
  clientProperty: 'metricCollectionJob',