@roarkanalytics/cli 0.43.0 → 0.44.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 +14 -0
- package/README.md +1 -0
- package/commands.js +42 -0
- package/completions.js +4 -4
- package/man/roark-call-property-update.1 +100 -0
- package/man/roark.1 +3 -0
- package/npm-shrinkwrap.json +6 -6
- package/package.json +3 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.44.1](https://github.com/roarkhq/cli-roark-analytics/compare/v0.44.0...v0.44.1) (2026-10-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **deps:** raise the @roarkanalytics/sdk floor to 5.6.0 ([#113](https://github.com/roarkhq/cli-roark-analytics/issues/113)) ([48595aa](https://github.com/roarkhq/cli-roark-analytics/commit/48595aa454760b5c942aace02a9749855a0a214d))
|
|
9
|
+
|
|
10
|
+
## [0.44.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.43.0...v0.44.0) (2026-10-16)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **cli:** cli update ([#111](https://github.com/roarkhq/cli-roark-analytics/issues/111)) ([ee68852](https://github.com/roarkhq/cli-roark-analytics/commit/ee68852248d3701e599d4a8c9e8653c1de6eeb86))
|
|
16
|
+
|
|
3
17
|
## [0.43.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.42.1...v0.43.0) (2026-10-15)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -166,6 +166,7 @@ roark completion fish | source
|
|
|
166
166
|
| `roark call get <call-id>` | Get a call by ID |
|
|
167
167
|
| `roark call list` | List calls |
|
|
168
168
|
| `roark call metric list <call-id>` | List call metrics |
|
|
169
|
+
| `roark call property update <call-id> --properties <value>` | Update the properties of a call |
|
|
169
170
|
| `roark call sentiment-run list <call-id>` | List call sentiment runs |
|
|
170
171
|
| `roark call tool-invocation append <call-id> --tool-invocations <value>` | Append tool invocations to a call |
|
|
171
172
|
| `roark call transcript get <call-id>` | Get call transcript |
|
package/commands.js
CHANGED
|
@@ -26,6 +26,7 @@ exports.GROUPS = {
|
|
|
26
26
|
'benchmark target score-sample': 'Read benchmark target score samples',
|
|
27
27
|
call: 'Manage calls',
|
|
28
28
|
'call metric': 'Read call metrics',
|
|
29
|
+
'call property': 'Manage call property',
|
|
29
30
|
'call sentiment-run': 'Read call sentiment runs',
|
|
30
31
|
'call tool-invocation': 'Manage call tool invocations',
|
|
31
32
|
'call transcript': 'Read call transcript',
|
|
@@ -1738,6 +1739,47 @@ exports.COMMANDS = [
|
|
|
1738
1739
|
acceptsBody: false,
|
|
1739
1740
|
requiresAuth: true,
|
|
1740
1741
|
},
|
|
1742
|
+
{
|
|
1743
|
+
commandPath: ['call', 'property', 'update'],
|
|
1744
|
+
clientProperty: 'call',
|
|
1745
|
+
methodName: 'updateProperties',
|
|
1746
|
+
httpMethod: 'patch',
|
|
1747
|
+
httpPath: '/v1/call/{callId}/properties',
|
|
1748
|
+
summary: 'Update the properties of a call',
|
|
1749
|
+
description: 'Add, overwrite or remove custom properties on an already-existing call. Use this for data that becomes available after the call was created, e.g. an outcome your system validates a few minutes later. Merge semantics: a value adds or overwrites the property, null removes it, and properties left out are untouched. The patch is applied whole or not at all: a property Roark sets itself, or a value whose type differs from the type the project already stores that property as, rejects the request with a 400 and nothing is written. A 409 means another request created one of the properties with a different value type at the same moment; nothing was written. Optionally pass `metrics` to (re)score metrics over the updated properties, which triggers a billed metric collection job and requires the `metric:create` permission.',
|
|
1750
|
+
positionals: [
|
|
1751
|
+
{
|
|
1752
|
+
name: 'call-id',
|
|
1753
|
+
paramKey: 'callId',
|
|
1754
|
+
},
|
|
1755
|
+
],
|
|
1756
|
+
flags: [
|
|
1757
|
+
{
|
|
1758
|
+
name: 'properties',
|
|
1759
|
+
path: ['properties'],
|
|
1760
|
+
location: 'body',
|
|
1761
|
+
required: true,
|
|
1762
|
+
description: "Properties to change on the call. A string, number or boolean value adds the property or overwrites it; null removes it. Properties left out are untouched. Keys are stored in snake_case, as on POST /v1/call. A property keeps the value type it was first stored with in the project, so a value of another type is rejected. Properties Roark sets itself (direction, duration_seconds, agent_id, ...) can't be changed. Max 100 per request.",
|
|
1763
|
+
valueKind: 'object',
|
|
1764
|
+
repeatable: false,
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
name: 'metrics',
|
|
1768
|
+
path: ['metrics'],
|
|
1769
|
+
location: 'body',
|
|
1770
|
+
required: false,
|
|
1771
|
+
description: "Optional. Metric definitions to (re)score on this call once the properties are written, e.g. metrics that read the call's properties. Triggers a metric collection job (billed, credit-gated) and requires the 'metric:create' permission. Omit to update properties without scoring. Max 20.",
|
|
1772
|
+
valueKind: 'array',
|
|
1773
|
+
repeatable: false,
|
|
1774
|
+
},
|
|
1775
|
+
],
|
|
1776
|
+
hasParams: true,
|
|
1777
|
+
paramsAllOptional: false,
|
|
1778
|
+
bodyOpaque: false,
|
|
1779
|
+
bodyVariants: [],
|
|
1780
|
+
acceptsBody: true,
|
|
1781
|
+
requiresAuth: true,
|
|
1782
|
+
},
|
|
1741
1783
|
{
|
|
1742
1784
|
commandPath: ['call', 'sentiment-run', 'list'],
|
|
1743
1785
|
clientProperty: 'call',
|