@roarkanalytics/cli 0.17.0 → 0.19.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.
- package/CHANGELOG.md +14 -0
- package/commands.js +66 -0
- package/completions.js +4 -4
- package/man/roark-simulation-plan-create.1 +6 -0
- package/man/roark-simulation-plan-update.1 +6 -0
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
- 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.19.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.18.0...v0.19.0) (2026-09-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **cli:** cli update ([#46](https://github.com/roarkhq/cli-roark-analytics/issues/46)) ([96425aa](https://github.com/roarkhq/cli-roark-analytics/commit/96425aaaffea39209f0286539902444bd7fae406))
|
|
9
|
+
|
|
10
|
+
## [0.18.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.17.0...v0.18.0) (2026-09-16)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **cli:** cli update ([#44](https://github.com/roarkhq/cli-roark-analytics/issues/44)) ([7031987](https://github.com/roarkhq/cli-roark-analytics/commit/7031987ffdb7d86d96bb4e38df626e5213c17387))
|
|
16
|
+
|
|
3
17
|
## [0.17.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.16.0...v0.17.0) (2026-09-15)
|
|
4
18
|
|
|
5
19
|
|
package/commands.js
CHANGED
|
@@ -4204,6 +4204,39 @@ exports.COMMANDS = [
|
|
|
4204
4204
|
valueKind: 'boolean',
|
|
4205
4205
|
repeatable: false,
|
|
4206
4206
|
},
|
|
4207
|
+
{
|
|
4208
|
+
name: 'comparison-property',
|
|
4209
|
+
path: ['comparisonProperty'],
|
|
4210
|
+
location: 'body',
|
|
4211
|
+
required: false,
|
|
4212
|
+
description: 'The property this run plan investigates: the one thing its arms differ by. Set it and the run report compares the arms on that property, so a run answers "what did background noise cost" rather than just "what did each arm score". Every value is a field already recorded on each call, so the report can label an arm `CRYING_BABY` rather than repeating a flow variant\'s title. Omit it and the report still compares when it can: it detects which property varies across the arms. Setting it is what tells the written summary what you were trying to find out, which detection cannot infer.',
|
|
4213
|
+
valueKind: 'string',
|
|
4214
|
+
enumValues: [
|
|
4215
|
+
'ACCENT',
|
|
4216
|
+
'AGE',
|
|
4217
|
+
'BACKGROUND_NOISE',
|
|
4218
|
+
'BACKGROUND_NOISE_VOLUME',
|
|
4219
|
+
'BASE_EMOTION',
|
|
4220
|
+
'CONFIRMATION_STYLE',
|
|
4221
|
+
'GENDER',
|
|
4222
|
+
'INTENT_CLARITY',
|
|
4223
|
+
'LANGUAGE',
|
|
4224
|
+
'MEMORY_RELIABILITY',
|
|
4225
|
+
'RESPONSE_TIMING',
|
|
4226
|
+
'SPEECH_CLARITY',
|
|
4227
|
+
'SPEECH_PACE',
|
|
4228
|
+
],
|
|
4229
|
+
repeatable: false,
|
|
4230
|
+
},
|
|
4231
|
+
{
|
|
4232
|
+
name: 'comparison-baseline',
|
|
4233
|
+
path: ['comparisonBaseline'],
|
|
4234
|
+
location: 'body',
|
|
4235
|
+
required: false,
|
|
4236
|
+
description: 'The value of `comparisonProperty` every other value is measured against, for example `NONE` for `BACKGROUND_NOISE` or `NORMAL` for `SPEECH_PACE`. Must be a value that property can take. Stored rather than assumed, so the report can say "compared against US accent" instead of implying Roark decided which value is normal. Most properties have an obvious baseline and the dashboard prefills it; `GENDER` has none, so choose the one you are testing against.',
|
|
4237
|
+
valueKind: 'string',
|
|
4238
|
+
repeatable: false,
|
|
4239
|
+
},
|
|
4207
4240
|
{
|
|
4208
4241
|
name: 'enrich-with-live-conversation',
|
|
4209
4242
|
path: ['enrichWithLiveConversation'],
|
|
@@ -4684,6 +4717,39 @@ exports.COMMANDS = [
|
|
|
4684
4717
|
valueKind: 'boolean',
|
|
4685
4718
|
repeatable: false,
|
|
4686
4719
|
},
|
|
4720
|
+
{
|
|
4721
|
+
name: 'comparison-property',
|
|
4722
|
+
path: ['comparisonProperty'],
|
|
4723
|
+
location: 'body',
|
|
4724
|
+
required: false,
|
|
4725
|
+
description: 'The property this plan investigates. Send `null` to clear the comparison; omit the field to leave it unchanged. See `POST /v1/simulation/plan`. The pair moves together. Sending `comparisonProperty` also sets `comparisonBaseline` to whatever this request carries, or to `null` if it carries none, because a baseline is a value of one specific property and keeping the old one would store a pair that is not valid.',
|
|
4726
|
+
valueKind: 'string',
|
|
4727
|
+
enumValues: [
|
|
4728
|
+
'ACCENT',
|
|
4729
|
+
'AGE',
|
|
4730
|
+
'BACKGROUND_NOISE',
|
|
4731
|
+
'BACKGROUND_NOISE_VOLUME',
|
|
4732
|
+
'BASE_EMOTION',
|
|
4733
|
+
'CONFIRMATION_STYLE',
|
|
4734
|
+
'GENDER',
|
|
4735
|
+
'INTENT_CLARITY',
|
|
4736
|
+
'LANGUAGE',
|
|
4737
|
+
'MEMORY_RELIABILITY',
|
|
4738
|
+
'RESPONSE_TIMING',
|
|
4739
|
+
'SPEECH_CLARITY',
|
|
4740
|
+
'SPEECH_PACE',
|
|
4741
|
+
],
|
|
4742
|
+
repeatable: false,
|
|
4743
|
+
},
|
|
4744
|
+
{
|
|
4745
|
+
name: 'comparison-baseline',
|
|
4746
|
+
path: ['comparisonBaseline'],
|
|
4747
|
+
location: 'body',
|
|
4748
|
+
required: false,
|
|
4749
|
+
description: 'The value every other value is measured against. See `POST /v1/simulation/plan`. A real value cannot be sent on its own: the property it belongs to decides which values are legal, and an omitted property means "leave unchanged", which this endpoint cannot check a baseline against. Send `comparisonProperty` with it, or get a `400`. `null` on its own IS allowed, and clears just the baseline while leaving the property set. Nothing needs validating when clearing, and a property with no baseline is a real state: the report falls back to that property\'s own norm, and `GENDER` has no norm to fall back to.',
|
|
4750
|
+
valueKind: 'string',
|
|
4751
|
+
repeatable: false,
|
|
4752
|
+
},
|
|
4687
4753
|
],
|
|
4688
4754
|
hasParams: true,
|
|
4689
4755
|
paramsAllOptional: true,
|
package/completions.js
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.COMPLETIONS = void 0;
|
|
8
8
|
exports.COMPLETIONS = {
|
|
9
|
-
bash: "# roark completion for bash. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent create') return 0 ;;\n 'agent endpoint') return 0 ;;\n 'agent endpoint create') return 0 ;;\n 'agent endpoint get') return 0 ;;\n 'agent endpoint list') return 0 ;;\n 'agent endpoint update') return 0 ;;\n 'agent get') return 0 ;;\n 'agent list') return 0 ;;\n 'agent prompt') return 0 ;;\n 'agent prompt list') return 0 ;;\n 'agent prompt update') return 0 ;;\n 'agent prompt version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') return 0 ;;\n 'benchmark') return 0 ;;\n 'benchmark leaderboard') return 0 ;;\n 'benchmark leaderboard get') return 0 ;;\n 'benchmark metric') return 0 ;;\n 'benchmark metric list') return 0 ;;\n 'benchmark suite') return 0 ;;\n 'benchmark suite list') return 0 ;;\n 'benchmark target') return 0 ;;\n 'benchmark target get') return 0 ;;\n 'benchmark target history') return 0 ;;\n 'benchmark target history list') return 0 ;;\n 'benchmark target score-sample') return 0 ;;\n 'benchmark target score-sample list') return 0 ;;\n 'call') return 0 ;;\n 'call create') return 0 ;;\n 'call get') return 0 ;;\n 'call list') return 0 ;;\n 'call metric') return 0 ;;\n 'call metric list') return 0 ;;\n 'call sentiment-run') return 0 ;;\n 'call sentiment-run list') return 0 ;;\n 'call tool-invocation') return 0 ;;\n 'call tool-invocation append') return 0 ;;\n 'call transcript') return 0 ;;\n 'call transcript get') return 0 ;;\n 'config') return 0 ;;\n 'config apply') return 0 ;;\n 'config diff') return 0 ;;\n 'customer-flow') return 0 ;;\n 'customer-flow create') return 0 ;;\n 'customer-flow delete') return 0 ;;\n 'customer-flow duplicate') return 0 ;;\n 'customer-flow edge-case') return 0 ;;\n 'customer-flow edge-case create') return 0 ;;\n 'customer-flow edge-case delete') return 0 ;;\n 'customer-flow edge-case promote') return 0 ;;\n 'customer-flow edge-case update') return 0 ;;\n 'customer-flow get') return 0 ;;\n 'customer-flow graph') return 0 ;;\n 'customer-flow graph replace') return 0 ;;\n 'customer-flow happy-path') return 0 ;;\n 'customer-flow happy-path update') return 0 ;;\n 'customer-flow list') return 0 ;;\n 'customer-flow update') return 0 ;;\n 'health') return 0 ;;\n 'http-request-definition') return 0 ;;\n 'http-request-definition create') return 0 ;;\n 'http-request-definition get') return 0 ;;\n 'http-request-definition list') return 0 ;;\n 'http-request-definition update') return 0 ;;\n 'metric') return 0 ;;\n 'metric collection-job') return 0 ;;\n 'metric collection-job create') return 0 ;;\n 'metric collection-job get') return 0 ;;\n 'metric collection-job list') return 0 ;;\n 'metric definition') return 0 ;;\n 'metric definition create') return 0 ;;\n 'metric definition list') return 0 ;;\n 'metric definition update') return 0 ;;\n 'metric policy') return 0 ;;\n 'metric policy create') return 0 ;;\n 'metric policy delete') return 0 ;;\n 'metric policy get') return 0 ;;\n 'metric policy list') return 0 ;;\n 'metric policy update') return 0 ;;\n 'metric variant') return 0 ;;\n 'metric variant create') return 0 ;;\n 'metric variant delete') return 0 ;;\n 'metric variant get') return 0 ;;\n 'metric variant list') return 0 ;;\n 'metric variant update') return 0 ;;\n 'simulation') return 0 ;;\n 'simulation environment') return 0 ;;\n 'simulation environment create') return 0 ;;\n 'simulation environment delete') return 0 ;;\n 'simulation environment get') return 0 ;;\n 'simulation environment list') return 0 ;;\n 'simulation environment update') return 0 ;;\n 'simulation job') return 0 ;;\n 'simulation job get') return 0 ;;\n 'simulation job lookup') return 0 ;;\n 'simulation persona') return 0 ;;\n 'simulation persona create') return 0 ;;\n 'simulation persona get') return 0 ;;\n 'simulation persona list') return 0 ;;\n 'simulation persona update') return 0 ;;\n 'simulation plan') return 0 ;;\n 'simulation plan create') return 0 ;;\n 'simulation plan delete') return 0 ;;\n 'simulation plan get') return 0 ;;\n 'simulation plan job') return 0 ;;\n 'simulation plan job cancel') return 0 ;;\n 'simulation plan job get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent api auth benchmark call completion config customer-flow health http-request-definition metric simulation webhook' ;;\n 'agent') echo 'create endpoint get list prompt update' ;;\n 'agent create') echo '' ;;\n 'agent endpoint') echo 'create get list update' ;;\n 'agent endpoint create') echo '' ;;\n 'agent endpoint get') echo '' ;;\n 'agent endpoint list') echo '' ;;\n 'agent endpoint update') echo '' ;;\n 'agent get') echo '' ;;\n 'agent list') echo '' ;;\n 'agent prompt') echo 'list update version' ;;\n 'agent prompt list') echo '' ;;\n 'agent prompt update') echo '' ;;\n 'agent prompt version') echo 'list' ;;\n 'agent prompt version list') echo '' ;;\n 'agent update') echo '' ;;\n 'benchmark') echo 'leaderboard metric suite target' ;;\n 'benchmark leaderboard') echo 'get' ;;\n 'benchmark leaderboard get') echo '' ;;\n 'benchmark metric') echo 'list' ;;\n 'benchmark metric list') echo '' ;;\n 'benchmark suite') echo 'list' ;;\n 'benchmark suite list') echo '' ;;\n 'benchmark target') echo 'get history score-sample' ;;\n 'benchmark target get') echo '' ;;\n 'benchmark target history') echo 'list' ;;\n 'benchmark target history list') echo '' ;;\n 'benchmark target score-sample') echo 'list' ;;\n 'benchmark target score-sample list') echo '' ;;\n 'call') echo 'create get list metric sentiment-run tool-invocation transcript' ;;\n 'call create') echo '' ;;\n 'call get') echo '' ;;\n 'call list') echo '' ;;\n 'call metric') echo 'list' ;;\n 'call metric list') echo '' ;;\n 'call sentiment-run') echo 'list' ;;\n 'call sentiment-run list') echo '' ;;\n 'call tool-invocation') echo 'append' ;;\n 'call tool-invocation append') echo '' ;;\n 'call transcript') echo 'get' ;;\n 'call transcript get') echo '' ;;\n 'config') echo 'apply diff' ;;\n 'config apply') echo '' ;;\n 'config diff') echo '' ;;\n 'customer-flow') echo 'create delete duplicate edge-case get graph happy-path list update' ;;\n 'customer-flow create') echo '' ;;\n 'customer-flow delete') echo '' ;;\n 'customer-flow duplicate') echo '' ;;\n 'customer-flow edge-case') echo 'create delete promote update' ;;\n 'customer-flow edge-case create') echo '' ;;\n 'customer-flow edge-case delete') echo '' ;;\n 'customer-flow edge-case promote') echo '' ;;\n 'customer-flow edge-case update') echo '' ;;\n 'customer-flow get') echo '' ;;\n 'customer-flow graph') echo 'replace' ;;\n 'customer-flow graph replace') echo '' ;;\n 'customer-flow happy-path') echo 'update' ;;\n 'customer-flow happy-path update') echo '' ;;\n 'customer-flow list') echo '' ;;\n 'customer-flow update') echo '' ;;\n 'health') echo '' ;;\n 'http-request-definition') echo 'create get list update' ;;\n 'http-request-definition create') echo '' ;;\n 'http-request-definition get') echo '' ;;\n 'http-request-definition list') echo '' ;;\n 'http-request-definition update') echo '' ;;\n 'metric') echo 'collection-job definition policy variant' ;;\n 'metric collection-job') echo 'create get list' ;;\n 'metric collection-job create') echo '' ;;\n 'metric collection-job get') echo '' ;;\n 'metric collection-job list') echo '' ;;\n 'metric definition') echo 'create list update' ;;\n 'metric definition create') echo '' ;;\n 'metric definition list') echo '' ;;\n 'metric definition update') echo '' ;;\n 'metric policy') echo 'create delete get list update' ;;\n 'metric policy create') echo '' ;;\n 'metric policy delete') echo '' ;;\n 'metric policy get') echo '' ;;\n 'metric policy list') echo '' ;;\n 'metric policy update') echo '' ;;\n 'metric variant') echo 'create delete get list update' ;;\n 'metric variant create') echo '' ;;\n 'metric variant delete') echo '' ;;\n 'metric variant get') echo '' ;;\n 'metric variant list') echo '' ;;\n 'metric variant update') echo '' ;;\n 'simulation') echo 'environment job persona plan run template' ;;\n 'simulation environment') echo 'create delete get list update' ;;\n 'simulation environment create') echo '' ;;\n 'simulation environment delete') echo '' ;;\n 'simulation environment get') echo '' ;;\n 'simulation environment list') echo '' ;;\n 'simulation environment update') echo '' ;;\n 'simulation job') echo 'get lookup' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation persona') echo 'create get list update' ;;\n 'simulation persona create') echo '' ;;\n 'simulation persona get') echo '' ;;\n 'simulation persona list') echo '' ;;\n 'simulation persona update') echo '' ;;\n 'simulation plan') echo 'create delete get job list update' ;;\n 'simulation plan create') echo '' ;;\n 'simulation plan delete') echo '' ;;\n 'simulation plan get') echo '' ;;\n 'simulation plan job') echo 'cancel get list start' ;;\n 'simulation plan job cancel') echo '' ;;\n 'simulation plan job get') echo '' ;;\n 'simulation plan job list') echo '' ;;\n 'simulation plan job start') echo '' ;;\n 'simulation plan list') echo '' ;;\n 'simulation plan update') echo '' ;;\n 'simulation run') echo '' ;;\n 'simulation template') echo 'list' ;;\n 'simulation template list') echo '' ;;\n 'webhook') echo 'create delete get list' ;;\n 'webhook create') echo '' ;;\n 'webhook delete') echo '' ;;\n 'webhook get') echo '' ;;\n 'webhook list') echo '' ;;\n *) echo '' ;;\n esac\n}\n\n_roark_flags() {\n case \"$1\" in\n '') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent create') echo '--name --description --custom-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint create') echo '--agent-id --value --environment --direction --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint list') echo '--limit --after --agent-id --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint update') echo '--environment --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt update') echo '--prompt --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent update') echo '--name --description --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark leaderboard') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark leaderboard get') echo '--suite --suite-version --condition-key --sort-by --order --metrics --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark metric list') echo '--suite --suite-version --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark suite') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark suite list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target get') echo '--suite --suite-version --publication-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target history') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target history list') echo '--suite --suite-version --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target score-sample') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target score-sample list') echo '--suite --suite-version --condition-key --metric-key --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call create') echo '--recording-url --stereo-recording-url --started-at --interface-type --call-direction --ended-status --transcript --tool-invocations --properties --vapi-call-id --livekit-room-id --external-id --agent --agent.endpoint --agent.prompt --agents --customer --customer.label --customer.phone-number-e164 --customers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call list') echo '--limit --after --sort-by --sort-direction --status --search-text --simulation-run-plan-job-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call metric list') echo '--flatten --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call sentiment-run') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call sentiment-run list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call tool-invocation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call tool-invocation append') echo '--tool-invocations --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call transcript') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call transcript get') echo '--source --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config apply') echo '--no-prune --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config diff') echo '--no-prune --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow duplicate') echo '--title --agent-ids --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case create') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona update') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan create') echo '--name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --include-flow-metrics --include-automatic-metrics --enrich-with-live-conversation --auto-run --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job cancel') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job list') echo '--limit --after --status --simulation-run-plan-id --label-id --label-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job start') echo '--variables --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan list') echo '--limit --after --search-text --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan update') echo '--is-hidden --name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --enrich-with-live-conversation --include-flow-metrics --include-automatic-metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation run') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local cur path candidate word i\n cur=\"${COMP_WORDS[COMP_CWORD]}\"\n path=\"\"\n\n for (( i = 1; i < COMP_CWORD; i++ )); do\n word=\"${COMP_WORDS[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [ -z \"$path\" ]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n case \"$cur\" in\n -*) COMPREPLY=( $(compgen -W \"$(_roark_flags \"$path\")\" -- \"$cur\") ) ;;\n *) COMPREPLY=( $(compgen -W \"$(_roark_children \"$path\")\" -- \"$cur\") ) ;;\n esac\n}\n\ncomplete -F _roark roark\n",
|
|
10
|
-
zsh: "#compdef roark\n# roark completion for zsh. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent create') return 0 ;;\n 'agent endpoint') return 0 ;;\n 'agent endpoint create') return 0 ;;\n 'agent endpoint get') return 0 ;;\n 'agent endpoint list') return 0 ;;\n 'agent endpoint update') return 0 ;;\n 'agent get') return 0 ;;\n 'agent list') return 0 ;;\n 'agent prompt') return 0 ;;\n 'agent prompt list') return 0 ;;\n 'agent prompt update') return 0 ;;\n 'agent prompt version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') return 0 ;;\n 'benchmark') return 0 ;;\n 'benchmark leaderboard') return 0 ;;\n 'benchmark leaderboard get') return 0 ;;\n 'benchmark metric') return 0 ;;\n 'benchmark metric list') return 0 ;;\n 'benchmark suite') return 0 ;;\n 'benchmark suite list') return 0 ;;\n 'benchmark target') return 0 ;;\n 'benchmark target get') return 0 ;;\n 'benchmark target history') return 0 ;;\n 'benchmark target history list') return 0 ;;\n 'benchmark target score-sample') return 0 ;;\n 'benchmark target score-sample list') return 0 ;;\n 'call') return 0 ;;\n 'call create') return 0 ;;\n 'call get') return 0 ;;\n 'call list') return 0 ;;\n 'call metric') return 0 ;;\n 'call metric list') return 0 ;;\n 'call sentiment-run') return 0 ;;\n 'call sentiment-run list') return 0 ;;\n 'call tool-invocation') return 0 ;;\n 'call tool-invocation append') return 0 ;;\n 'call transcript') return 0 ;;\n 'call transcript get') return 0 ;;\n 'config') return 0 ;;\n 'config apply') return 0 ;;\n 'config diff') return 0 ;;\n 'customer-flow') return 0 ;;\n 'customer-flow create') return 0 ;;\n 'customer-flow delete') return 0 ;;\n 'customer-flow duplicate') return 0 ;;\n 'customer-flow edge-case') return 0 ;;\n 'customer-flow edge-case create') return 0 ;;\n 'customer-flow edge-case delete') return 0 ;;\n 'customer-flow edge-case promote') return 0 ;;\n 'customer-flow edge-case update') return 0 ;;\n 'customer-flow get') return 0 ;;\n 'customer-flow graph') return 0 ;;\n 'customer-flow graph replace') return 0 ;;\n 'customer-flow happy-path') return 0 ;;\n 'customer-flow happy-path update') return 0 ;;\n 'customer-flow list') return 0 ;;\n 'customer-flow update') return 0 ;;\n 'health') return 0 ;;\n 'http-request-definition') return 0 ;;\n 'http-request-definition create') return 0 ;;\n 'http-request-definition get') return 0 ;;\n 'http-request-definition list') return 0 ;;\n 'http-request-definition update') return 0 ;;\n 'metric') return 0 ;;\n 'metric collection-job') return 0 ;;\n 'metric collection-job create') return 0 ;;\n 'metric collection-job get') return 0 ;;\n 'metric collection-job list') return 0 ;;\n 'metric definition') return 0 ;;\n 'metric definition create') return 0 ;;\n 'metric definition list') return 0 ;;\n 'metric definition update') return 0 ;;\n 'metric policy') return 0 ;;\n 'metric policy create') return 0 ;;\n 'metric policy delete') return 0 ;;\n 'metric policy get') return 0 ;;\n 'metric policy list') return 0 ;;\n 'metric policy update') return 0 ;;\n 'metric variant') return 0 ;;\n 'metric variant create') return 0 ;;\n 'metric variant delete') return 0 ;;\n 'metric variant get') return 0 ;;\n 'metric variant list') return 0 ;;\n 'metric variant update') return 0 ;;\n 'simulation') return 0 ;;\n 'simulation environment') return 0 ;;\n 'simulation environment create') return 0 ;;\n 'simulation environment delete') return 0 ;;\n 'simulation environment get') return 0 ;;\n 'simulation environment list') return 0 ;;\n 'simulation environment update') return 0 ;;\n 'simulation job') return 0 ;;\n 'simulation job get') return 0 ;;\n 'simulation job lookup') return 0 ;;\n 'simulation persona') return 0 ;;\n 'simulation persona create') return 0 ;;\n 'simulation persona get') return 0 ;;\n 'simulation persona list') return 0 ;;\n 'simulation persona update') return 0 ;;\n 'simulation plan') return 0 ;;\n 'simulation plan create') return 0 ;;\n 'simulation plan delete') return 0 ;;\n 'simulation plan get') return 0 ;;\n 'simulation plan job') return 0 ;;\n 'simulation plan job cancel') return 0 ;;\n 'simulation plan job get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent api auth benchmark call completion config customer-flow health http-request-definition metric simulation webhook' ;;\n 'agent') echo 'create endpoint get list prompt update' ;;\n 'agent create') echo '' ;;\n 'agent endpoint') echo 'create get list update' ;;\n 'agent endpoint create') echo '' ;;\n 'agent endpoint get') echo '' ;;\n 'agent endpoint list') echo '' ;;\n 'agent endpoint update') echo '' ;;\n 'agent get') echo '' ;;\n 'agent list') echo '' ;;\n 'agent prompt') echo 'list update version' ;;\n 'agent prompt list') echo '' ;;\n 'agent prompt update') echo '' ;;\n 'agent prompt version') echo 'list' ;;\n 'agent prompt version list') echo '' ;;\n 'agent update') echo '' ;;\n 'benchmark') echo 'leaderboard metric suite target' ;;\n 'benchmark leaderboard') echo 'get' ;;\n 'benchmark leaderboard get') echo '' ;;\n 'benchmark metric') echo 'list' ;;\n 'benchmark metric list') echo '' ;;\n 'benchmark suite') echo 'list' ;;\n 'benchmark suite list') echo '' ;;\n 'benchmark target') echo 'get history score-sample' ;;\n 'benchmark target get') echo '' ;;\n 'benchmark target history') echo 'list' ;;\n 'benchmark target history list') echo '' ;;\n 'benchmark target score-sample') echo 'list' ;;\n 'benchmark target score-sample list') echo '' ;;\n 'call') echo 'create get list metric sentiment-run tool-invocation transcript' ;;\n 'call create') echo '' ;;\n 'call get') echo '' ;;\n 'call list') echo '' ;;\n 'call metric') echo 'list' ;;\n 'call metric list') echo '' ;;\n 'call sentiment-run') echo 'list' ;;\n 'call sentiment-run list') echo '' ;;\n 'call tool-invocation') echo 'append' ;;\n 'call tool-invocation append') echo '' ;;\n 'call transcript') echo 'get' ;;\n 'call transcript get') echo '' ;;\n 'config') echo 'apply diff' ;;\n 'config apply') echo '' ;;\n 'config diff') echo '' ;;\n 'customer-flow') echo 'create delete duplicate edge-case get graph happy-path list update' ;;\n 'customer-flow create') echo '' ;;\n 'customer-flow delete') echo '' ;;\n 'customer-flow duplicate') echo '' ;;\n 'customer-flow edge-case') echo 'create delete promote update' ;;\n 'customer-flow edge-case create') echo '' ;;\n 'customer-flow edge-case delete') echo '' ;;\n 'customer-flow edge-case promote') echo '' ;;\n 'customer-flow edge-case update') echo '' ;;\n 'customer-flow get') echo '' ;;\n 'customer-flow graph') echo 'replace' ;;\n 'customer-flow graph replace') echo '' ;;\n 'customer-flow happy-path') echo 'update' ;;\n 'customer-flow happy-path update') echo '' ;;\n 'customer-flow list') echo '' ;;\n 'customer-flow update') echo '' ;;\n 'health') echo '' ;;\n 'http-request-definition') echo 'create get list update' ;;\n 'http-request-definition create') echo '' ;;\n 'http-request-definition get') echo '' ;;\n 'http-request-definition list') echo '' ;;\n 'http-request-definition update') echo '' ;;\n 'metric') echo 'collection-job definition policy variant' ;;\n 'metric collection-job') echo 'create get list' ;;\n 'metric collection-job create') echo '' ;;\n 'metric collection-job get') echo '' ;;\n 'metric collection-job list') echo '' ;;\n 'metric definition') echo 'create list update' ;;\n 'metric definition create') echo '' ;;\n 'metric definition list') echo '' ;;\n 'metric definition update') echo '' ;;\n 'metric policy') echo 'create delete get list update' ;;\n 'metric policy create') echo '' ;;\n 'metric policy delete') echo '' ;;\n 'metric policy get') echo '' ;;\n 'metric policy list') echo '' ;;\n 'metric policy update') echo '' ;;\n 'metric variant') echo 'create delete get list update' ;;\n 'metric variant create') echo '' ;;\n 'metric variant delete') echo '' ;;\n 'metric variant get') echo '' ;;\n 'metric variant list') echo '' ;;\n 'metric variant update') echo '' ;;\n 'simulation') echo 'environment job persona plan run template' ;;\n 'simulation environment') echo 'create delete get list update' ;;\n 'simulation environment create') echo '' ;;\n 'simulation environment delete') echo '' ;;\n 'simulation environment get') echo '' ;;\n 'simulation environment list') echo '' ;;\n 'simulation environment update') echo '' ;;\n 'simulation job') echo 'get lookup' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation persona') echo 'create get list update' ;;\n 'simulation persona create') echo '' ;;\n 'simulation persona get') echo '' ;;\n 'simulation persona list') echo '' ;;\n 'simulation persona update') echo '' ;;\n 'simulation plan') echo 'create delete get job list update' ;;\n 'simulation plan create') echo '' ;;\n 'simulation plan delete') echo '' ;;\n 'simulation plan get') echo '' ;;\n 'simulation plan job') echo 'cancel get list start' ;;\n 'simulation plan job cancel') echo '' ;;\n 'simulation plan job get') echo '' ;;\n 'simulation plan job list') echo '' ;;\n 'simulation plan job start') echo '' ;;\n 'simulation plan list') echo '' ;;\n 'simulation plan update') echo '' ;;\n 'simulation run') echo '' ;;\n 'simulation template') echo 'list' ;;\n 'simulation template list') echo '' ;;\n 'webhook') echo 'create delete get list' ;;\n 'webhook create') echo '' ;;\n 'webhook delete') echo '' ;;\n 'webhook get') echo '' ;;\n 'webhook list') echo '' ;;\n *) echo '' ;;\n esac\n}\n\n_roark_flags() {\n case \"$1\" in\n '') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent create') echo '--name --description --custom-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint create') echo '--agent-id --value --environment --direction --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint list') echo '--limit --after --agent-id --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint update') echo '--environment --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt update') echo '--prompt --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent update') echo '--name --description --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark leaderboard') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark leaderboard get') echo '--suite --suite-version --condition-key --sort-by --order --metrics --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark metric list') echo '--suite --suite-version --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark suite') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark suite list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target get') echo '--suite --suite-version --publication-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target history') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target history list') echo '--suite --suite-version --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target score-sample') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target score-sample list') echo '--suite --suite-version --condition-key --metric-key --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call create') echo '--recording-url --stereo-recording-url --started-at --interface-type --call-direction --ended-status --transcript --tool-invocations --properties --vapi-call-id --livekit-room-id --external-id --agent --agent.endpoint --agent.prompt --agents --customer --customer.label --customer.phone-number-e164 --customers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call list') echo '--limit --after --sort-by --sort-direction --status --search-text --simulation-run-plan-job-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call metric list') echo '--flatten --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call sentiment-run') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call sentiment-run list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call tool-invocation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call tool-invocation append') echo '--tool-invocations --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call transcript') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call transcript get') echo '--source --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config apply') echo '--no-prune --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config diff') echo '--no-prune --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow duplicate') echo '--title --agent-ids --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case create') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona update') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan create') echo '--name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --include-flow-metrics --include-automatic-metrics --enrich-with-live-conversation --auto-run --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job cancel') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job list') echo '--limit --after --status --simulation-run-plan-id --label-id --label-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job start') echo '--variables --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan list') echo '--limit --after --search-text --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan update') echo '--is-hidden --name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --enrich-with-live-conversation --include-flow-metrics --include-automatic-metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation run') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local path candidate word cur\n local -a walked\n path=\"\"\n cur=\"${words[CURRENT]}\"\n\n for (( i = 2; i < CURRENT; i++ )); do\n word=\"${words[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [[ -z \"$path\" ]]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n if [[ \"$cur\" == -* ]]; then\n compadd -- ${=$(_roark_flags \"$path\")}\n else\n compadd -- ${=$(_roark_children \"$path\")}\n fi\n}\n\ncompdef _roark roark\n",
|
|
11
|
-
fish: "# roark completion for fish. Generated by app-agent-codegen; do not edit.\n\nfunction __roark_is_node\n switch \"$argv[1]\"\n case ''; return 0\n case 'agent'; return 0\n case 'agent create'; return 0\n case 'agent endpoint'; return 0\n case 'agent endpoint create'; return 0\n case 'agent endpoint get'; return 0\n case 'agent endpoint list'; return 0\n case 'agent endpoint update'; return 0\n case 'agent get'; return 0\n case 'agent list'; return 0\n case 'agent prompt'; return 0\n case 'agent prompt list'; return 0\n case 'agent prompt update'; return 0\n case 'agent prompt version'; return 0\n case 'agent prompt version list'; return 0\n case 'agent update'; return 0\n case 'benchmark'; return 0\n case 'benchmark leaderboard'; return 0\n case 'benchmark leaderboard get'; return 0\n case 'benchmark metric'; return 0\n case 'benchmark metric list'; return 0\n case 'benchmark suite'; return 0\n case 'benchmark suite list'; return 0\n case 'benchmark target'; return 0\n case 'benchmark target get'; return 0\n case 'benchmark target history'; return 0\n case 'benchmark target history list'; return 0\n case 'benchmark target score-sample'; return 0\n case 'benchmark target score-sample list'; return 0\n case 'call'; return 0\n case 'call create'; return 0\n case 'call get'; return 0\n case 'call list'; return 0\n case 'call metric'; return 0\n case 'call metric list'; return 0\n case 'call sentiment-run'; return 0\n case 'call sentiment-run list'; return 0\n case 'call tool-invocation'; return 0\n case 'call tool-invocation append'; return 0\n case 'call transcript'; return 0\n case 'call transcript get'; return 0\n case 'config'; return 0\n case 'config apply'; return 0\n case 'config diff'; return 0\n case 'customer-flow'; return 0\n case 'customer-flow create'; return 0\n case 'customer-flow delete'; return 0\n case 'customer-flow duplicate'; return 0\n case 'customer-flow edge-case'; return 0\n case 'customer-flow edge-case create'; return 0\n case 'customer-flow edge-case delete'; return 0\n case 'customer-flow edge-case promote'; return 0\n case 'customer-flow edge-case update'; return 0\n case 'customer-flow get'; return 0\n case 'customer-flow graph'; return 0\n case 'customer-flow graph replace'; return 0\n case 'customer-flow happy-path'; return 0\n case 'customer-flow happy-path update'; return 0\n case 'customer-flow list'; return 0\n case 'customer-flow update'; return 0\n case 'health'; return 0\n case 'http-request-definition'; return 0\n case 'http-request-definition create'; return 0\n case 'http-request-definition get'; return 0\n case 'http-request-definition list'; return 0\n case 'http-request-definition update'; return 0\n case 'metric'; return 0\n case 'metric collection-job'; return 0\n case 'metric collection-job create'; return 0\n case 'metric collection-job get'; return 0\n case 'metric collection-job list'; return 0\n case 'metric definition'; return 0\n case 'metric definition create'; return 0\n case 'metric definition list'; return 0\n case 'metric definition update'; return 0\n case 'metric policy'; return 0\n case 'metric policy create'; return 0\n case 'metric policy delete'; return 0\n case 'metric policy get'; return 0\n case 'metric policy list'; return 0\n case 'metric policy update'; return 0\n case 'metric variant'; return 0\n case 'metric variant create'; return 0\n case 'metric variant delete'; return 0\n case 'metric variant get'; return 0\n case 'metric variant list'; return 0\n case 'metric variant update'; return 0\n case 'simulation'; return 0\n case 'simulation environment'; return 0\n case 'simulation environment create'; return 0\n case 'simulation environment delete'; return 0\n case 'simulation environment get'; return 0\n case 'simulation environment list'; return 0\n case 'simulation environment update'; return 0\n case 'simulation job'; return 0\n case 'simulation job get'; return 0\n case 'simulation job lookup'; return 0\n case 'simulation persona'; return 0\n case 'simulation persona create'; return 0\n case 'simulation persona get'; return 0\n case 'simulation persona list'; return 0\n case 'simulation persona update'; return 0\n case 'simulation plan'; return 0\n case 'simulation plan create'; return 0\n case 'simulation plan delete'; return 0\n case 'simulation plan get'; return 0\n case 'simulation plan job'; return 0\n case 'simulation plan job cancel'; return 0\n case 'simulation plan job get'; return 0\n case 'simulation plan job list'; return 0\n case 'simulation plan job start'; return 0\n case 'simulation plan list'; return 0\n case 'simulation plan update'; return 0\n case 'simulation run'; return 0\n case 'simulation template'; return 0\n case 'simulation template list'; return 0\n case 'webhook'; return 0\n case 'webhook create'; return 0\n case 'webhook delete'; return 0\n case 'webhook get'; return 0\n case 'webhook list'; return 0\n case '*'; return 1\n end\nend\n\nfunction __roark_children\n switch \"$argv[1]\"\n case ''; echo 'agent\napi\nauth\nbenchmark\ncall\ncompletion\nconfig\ncustomer-flow\nhealth\nhttp-request-definition\nmetric\nsimulation\nwebhook'\n case 'agent'; echo 'create\nendpoint\nget\nlist\nprompt\nupdate'\n case 'agent create'; echo ''\n case 'agent endpoint'; echo 'create\nget\nlist\nupdate'\n case 'agent endpoint create'; echo ''\n case 'agent endpoint get'; echo ''\n case 'agent endpoint list'; echo ''\n case 'agent endpoint update'; echo ''\n case 'agent get'; echo ''\n case 'agent list'; echo ''\n case 'agent prompt'; echo 'list\nupdate\nversion'\n case 'agent prompt list'; echo ''\n case 'agent prompt update'; echo ''\n case 'agent prompt version'; echo 'list'\n case 'agent prompt version list'; echo ''\n case 'agent update'; echo ''\n case 'benchmark'; echo 'leaderboard\nmetric\nsuite\ntarget'\n case 'benchmark leaderboard'; echo 'get'\n case 'benchmark leaderboard get'; echo ''\n case 'benchmark metric'; echo 'list'\n case 'benchmark metric list'; echo ''\n case 'benchmark suite'; echo 'list'\n case 'benchmark suite list'; echo ''\n case 'benchmark target'; echo 'get\nhistory\nscore-sample'\n case 'benchmark target get'; echo ''\n case 'benchmark target history'; echo 'list'\n case 'benchmark target history list'; echo ''\n case 'benchmark target score-sample'; echo 'list'\n case 'benchmark target score-sample list'; echo ''\n case 'call'; echo 'create\nget\nlist\nmetric\nsentiment-run\ntool-invocation\ntranscript'\n case 'call create'; echo ''\n case 'call get'; echo ''\n case 'call list'; echo ''\n case 'call metric'; echo 'list'\n case 'call metric list'; echo ''\n case 'call sentiment-run'; echo 'list'\n case 'call sentiment-run list'; echo ''\n case 'call tool-invocation'; echo 'append'\n case 'call tool-invocation append'; echo ''\n case 'call transcript'; echo 'get'\n case 'call transcript get'; echo ''\n case 'config'; echo 'apply\ndiff'\n case 'config apply'; echo ''\n case 'config diff'; echo ''\n case 'customer-flow'; echo 'create\ndelete\nduplicate\nedge-case\nget\ngraph\nhappy-path\nlist\nupdate'\n case 'customer-flow create'; echo ''\n case 'customer-flow delete'; echo ''\n case 'customer-flow duplicate'; echo ''\n case 'customer-flow edge-case'; echo 'create\ndelete\npromote\nupdate'\n case 'customer-flow edge-case create'; echo ''\n case 'customer-flow edge-case delete'; echo ''\n case 'customer-flow edge-case promote'; echo ''\n case 'customer-flow edge-case update'; echo ''\n case 'customer-flow get'; echo ''\n case 'customer-flow graph'; echo 'replace'\n case 'customer-flow graph replace'; echo ''\n case 'customer-flow happy-path'; echo 'update'\n case 'customer-flow happy-path update'; echo ''\n case 'customer-flow list'; echo ''\n case 'customer-flow update'; echo ''\n case 'health'; echo ''\n case 'http-request-definition'; echo 'create\nget\nlist\nupdate'\n case 'http-request-definition create'; echo ''\n case 'http-request-definition get'; echo ''\n case 'http-request-definition list'; echo ''\n case 'http-request-definition update'; echo ''\n case 'metric'; echo 'collection-job\ndefinition\npolicy\nvariant'\n case 'metric collection-job'; echo 'create\nget\nlist'\n case 'metric collection-job create'; echo ''\n case 'metric collection-job get'; echo ''\n case 'metric collection-job list'; echo ''\n case 'metric definition'; echo 'create\nlist\nupdate'\n case 'metric definition create'; echo ''\n case 'metric definition list'; echo ''\n case 'metric definition update'; echo ''\n case 'metric policy'; echo 'create\ndelete\nget\nlist\nupdate'\n case 'metric policy create'; echo ''\n case 'metric policy delete'; echo ''\n case 'metric policy get'; echo ''\n case 'metric policy list'; echo ''\n case 'metric policy update'; echo ''\n case 'metric variant'; echo 'create\ndelete\nget\nlist\nupdate'\n case 'metric variant create'; echo ''\n case 'metric variant delete'; echo ''\n case 'metric variant get'; echo ''\n case 'metric variant list'; echo ''\n case 'metric variant update'; echo ''\n case 'simulation'; echo 'environment\njob\npersona\nplan\nrun\ntemplate'\n case 'simulation environment'; echo 'create\ndelete\nget\nlist\nupdate'\n case 'simulation environment create'; echo ''\n case 'simulation environment delete'; echo ''\n case 'simulation environment get'; echo ''\n case 'simulation environment list'; echo ''\n case 'simulation environment update'; echo ''\n case 'simulation job'; echo 'get\nlookup'\n case 'simulation job get'; echo ''\n case 'simulation job lookup'; echo ''\n case 'simulation persona'; echo 'create\nget\nlist\nupdate'\n case 'simulation persona create'; echo ''\n case 'simulation persona get'; echo ''\n case 'simulation persona list'; echo ''\n case 'simulation persona update'; echo ''\n case 'simulation plan'; echo 'create\ndelete\nget\njob\nlist\nupdate'\n case 'simulation plan create'; echo ''\n case 'simulation plan delete'; echo ''\n case 'simulation plan get'; echo ''\n case 'simulation plan job'; echo 'cancel\nget\nlist\nstart'\n case 'simulation plan job cancel'; echo ''\n case 'simulation plan job get'; echo ''\n case 'simulation plan job list'; echo ''\n case 'simulation plan job start'; echo ''\n case 'simulation plan list'; echo ''\n case 'simulation plan update'; echo ''\n case 'simulation run'; echo ''\n case 'simulation template'; echo 'list'\n case 'simulation template list'; echo ''\n case 'webhook'; echo 'create\ndelete\nget\nlist'\n case 'webhook create'; echo ''\n case 'webhook delete'; echo ''\n case 'webhook get'; echo ''\n case 'webhook list'; echo ''\n case '*'; echo ''\n end\nend\n\nfunction __roark_flags\n switch \"$argv[1]\"\n case ''; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent create'; echo '--name\n--description\n--custom-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint create'; echo '--agent-id\n--value\n--environment\n--direction\n--outbound-dial-type\n--outbound-dial-http-request-definition-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint list'; echo '--limit\n--after\n--agent-id\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint update'; echo '--environment\n--outbound-dial-type\n--outbound-dial-http-request-definition-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent list'; echo '--limit\n--after\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt update'; echo '--prompt\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt version'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt version list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent update'; echo '--name\n--description\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark leaderboard'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark leaderboard get'; echo '--suite\n--suite-version\n--condition-key\n--sort-by\n--order\n--metrics\n--limit\n--offset\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark metric list'; echo '--suite\n--suite-version\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark suite'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark suite list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target get'; echo '--suite\n--suite-version\n--publication-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target history'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target history list'; echo '--suite\n--suite-version\n--limit\n--offset\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target score-sample'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target score-sample list'; echo '--suite\n--suite-version\n--condition-key\n--metric-key\n--limit\n--offset\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call create'; echo '--recording-url\n--stereo-recording-url\n--started-at\n--interface-type\n--call-direction\n--ended-status\n--transcript\n--tool-invocations\n--properties\n--vapi-call-id\n--livekit-room-id\n--external-id\n--agent\n--agent.endpoint\n--agent.prompt\n--agents\n--customer\n--customer.label\n--customer.phone-number-e164\n--customers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call list'; echo '--limit\n--after\n--sort-by\n--sort-direction\n--status\n--search-text\n--simulation-run-plan-job-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call metric list'; echo '--flatten\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call sentiment-run'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call sentiment-run list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call tool-invocation'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call tool-invocation append'; echo '--tool-invocations\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call transcript'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call transcript get'; echo '--source\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'config'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'config apply'; echo '--no-prune\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'config diff'; echo '--no-prune\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow create'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow duplicate'; echo '--title\n--agent-ids\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case create'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case promote'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph replace'; echo '--graph\n--allow-unmerge\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow list'; echo '--limit\n--after\n--search-text\n--type\n--include-system\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow update'; echo '--title\n--description\n--script-adherence\n--off-script-policy\n--off-script-policy.reaction\n--off-script-policy.say-line\n--off-script-policy.max-attempts\n--off-script-policy.then\n--off-script-policy.wait-seconds\n--branching-mode\n--agent-ids\n--agent-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'health'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition create'; echo '--scope\n--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition update'; echo '--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job create'; echo '--call-ids\n--chat-ids\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition create'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--scale-labels\n--boolean-true-label\n--boolean-false-label\n--classification-options\n--max-classifications\n--tool-definition-ids\n--supported-contexts\n--formula\n--sources\n--change-reason\n--slug\n--metric-id\n--source\n--organization-id\n--project-id\n--output-type\n--scope\n--participant-role\n--calc-type\n--supports-multiple-variants\n--analysis-package-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy create'; echo '--name\n--status\n--modality\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy update'; echo '--name\n--status\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant create'; echo '--name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--boolean-true-label\n--boolean-false-label\n--max-classifications\n--change-reason\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment create'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment update'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job lookup'; echo '--roark-phone-number\n--call-received-at\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona create'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--backstory-prompt\n--idle-messages\n--idle-timeout-seconds\n--idle-message-max-spoken-count\n--idle-message-reset-count-on-user-speech-enabled\n--properties\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona list'; echo '--limit\n--after\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona update'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--backstory-prompt\n--idle-messages\n--idle-timeout-seconds\n--idle-message-max-spoken-count\n--idle-message-reset-count-on-user-speech-enabled\n--properties\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan create'; echo '--name\n--description\n--direction\n--iteration-count\n--max-concurrent-jobs\n--max-simulation-duration-seconds\n--silence-timeout-seconds\n--end-call-phrases\n--end-call-reasons\n--execution-mode\n--scenarios\n--flows\n--personas\n--agent-endpoints\n--metrics\n--include-flow-metrics\n--include-automatic-metrics\n--enrich-with-live-conversation\n--auto-run\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job cancel'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job list'; echo '--limit\n--after\n--status\n--simulation-run-plan-id\n--label-id\n--label-name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job start'; echo '--variables\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan list'; echo '--limit\n--after\n--search-text\n--agent-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan update'; echo '--is-hidden\n--name\n--description\n--direction\n--iteration-count\n--max-concurrent-jobs\n--max-simulation-duration-seconds\n--silence-timeout-seconds\n--end-call-phrases\n--end-call-reasons\n--execution-mode\n--scenarios\n--flows\n--personas\n--agent-endpoints\n--metrics\n--enrich-with-live-conversation\n--include-flow-metrics\n--include-automatic-metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation run'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation template'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation template list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook create'; echo '--url\n--description\n--headers\n--events\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case '*'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n end\nend\n\nfunction __roark_path\n set -l tokens (commandline -opc)\n set -l path \"\"\n for word in $tokens[2..-1]\n if string match -q -- '-*' $word\n continue\n end\n set -l candidate\n if test -z \"$path\"\n set candidate $word\n else\n set candidate \"$path $word\"\n end\n if __roark_is_node \"$candidate\"\n set path \"$candidate\"\n else\n break\n end\n end\n echo $path\nend\n\nfunction __roark_complete\n set -l path (__roark_path)\n set -l token (commandline -ct)\n if string match -q -- '-*' $token\n __roark_flags \"$path\"\n else\n __roark_children \"$path\"\n end\nend\n\ncomplete -c roark -f -a \"(__roark_complete)\"\n",
|
|
12
|
-
powershell: '# roark completion for PowerShell. Generated by app-agent-codegen; do not edit.\n\n$roarkChildren = @{\n "" = @("agent", "api", "auth", "benchmark", "call", "completion", "config", "customer-flow", "health", "http-request-definition", "metric", "simulation", "webhook")\n "agent" = @("create", "endpoint", "get", "list", "prompt", "update")\n "agent create" = @()\n "agent endpoint" = @("create", "get", "list", "update")\n "agent endpoint create" = @()\n "agent endpoint get" = @()\n "agent endpoint list" = @()\n "agent endpoint update" = @()\n "agent get" = @()\n "agent list" = @()\n "agent prompt" = @("list", "update", "version")\n "agent prompt list" = @()\n "agent prompt update" = @()\n "agent prompt version" = @("list")\n "agent prompt version list" = @()\n "agent update" = @()\n "benchmark" = @("leaderboard", "metric", "suite", "target")\n "benchmark leaderboard" = @("get")\n "benchmark leaderboard get" = @()\n "benchmark metric" = @("list")\n "benchmark metric list" = @()\n "benchmark suite" = @("list")\n "benchmark suite list" = @()\n "benchmark target" = @("get", "history", "score-sample")\n "benchmark target get" = @()\n "benchmark target history" = @("list")\n "benchmark target history list" = @()\n "benchmark target score-sample" = @("list")\n "benchmark target score-sample list" = @()\n "call" = @("create", "get", "list", "metric", "sentiment-run", "tool-invocation", "transcript")\n "call create" = @()\n "call get" = @()\n "call list" = @()\n "call metric" = @("list")\n "call metric list" = @()\n "call sentiment-run" = @("list")\n "call sentiment-run list" = @()\n "call tool-invocation" = @("append")\n "call tool-invocation append" = @()\n "call transcript" = @("get")\n "call transcript get" = @()\n "config" = @("apply", "diff")\n "config apply" = @()\n "config diff" = @()\n "customer-flow" = @("create", "delete", "duplicate", "edge-case", "get", "graph", "happy-path", "list", "update")\n "customer-flow create" = @()\n "customer-flow delete" = @()\n "customer-flow duplicate" = @()\n "customer-flow edge-case" = @("create", "delete", "promote", "update")\n "customer-flow edge-case create" = @()\n "customer-flow edge-case delete" = @()\n "customer-flow edge-case promote" = @()\n "customer-flow edge-case update" = @()\n "customer-flow get" = @()\n "customer-flow graph" = @("replace")\n "customer-flow graph replace" = @()\n "customer-flow happy-path" = @("update")\n "customer-flow happy-path update" = @()\n "customer-flow list" = @()\n "customer-flow update" = @()\n "health" = @()\n "http-request-definition" = @("create", "get", "list", "update")\n "http-request-definition create" = @()\n "http-request-definition get" = @()\n "http-request-definition list" = @()\n "http-request-definition update" = @()\n "metric" = @("collection-job", "definition", "policy", "variant")\n "metric collection-job" = @("create", "get", "list")\n "metric collection-job create" = @()\n "metric collection-job get" = @()\n "metric collection-job list" = @()\n "metric definition" = @("create", "list", "update")\n "metric definition create" = @()\n "metric definition list" = @()\n "metric definition update" = @()\n "metric policy" = @("create", "delete", "get", "list", "update")\n "metric policy create" = @()\n "metric policy delete" = @()\n "metric policy get" = @()\n "metric policy list" = @()\n "metric policy update" = @()\n "metric variant" = @("create", "delete", "get", "list", "update")\n "metric variant create" = @()\n "metric variant delete" = @()\n "metric variant get" = @()\n "metric variant list" = @()\n "metric variant update" = @()\n "simulation" = @("environment", "job", "persona", "plan", "run", "template")\n "simulation environment" = @("create", "delete", "get", "list", "update")\n "simulation environment create" = @()\n "simulation environment delete" = @()\n "simulation environment get" = @()\n "simulation environment list" = @()\n "simulation environment update" = @()\n "simulation job" = @("get", "lookup")\n "simulation job get" = @()\n "simulation job lookup" = @()\n "simulation persona" = @("create", "get", "list", "update")\n "simulation persona create" = @()\n "simulation persona get" = @()\n "simulation persona list" = @()\n "simulation persona update" = @()\n "simulation plan" = @("create", "delete", "get", "job", "list", "update")\n "simulation plan create" = @()\n "simulation plan delete" = @()\n "simulation plan get" = @()\n "simulation plan job" = @("cancel", "get", "list", "start")\n "simulation plan job cancel" = @()\n "simulation plan job get" = @()\n "simulation plan job list" = @()\n "simulation plan job start" = @()\n "simulation plan list" = @()\n "simulation plan update" = @()\n "simulation run" = @()\n "simulation template" = @("list")\n "simulation template list" = @()\n "webhook" = @("create", "delete", "get", "list")\n "webhook create" = @()\n "webhook delete" = @()\n "webhook get" = @()\n "webhook list" = @()\n}\n\n$roarkFlags = @{\n "" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent create" = @("--name", "--description", "--custom-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint create" = @("--agent-id", "--value", "--environment", "--direction", "--outbound-dial-type", "--outbound-dial-http-request-definition-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint list" = @("--limit", "--after", "--agent-id", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint update" = @("--environment", "--outbound-dial-type", "--outbound-dial-http-request-definition-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent list" = @("--limit", "--after", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt update" = @("--prompt", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt version" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt version list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent update" = @("--name", "--description", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark leaderboard" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark leaderboard get" = @("--suite", "--suite-version", "--condition-key", "--sort-by", "--order", "--metrics", "--limit", "--offset", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark metric list" = @("--suite", "--suite-version", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark suite" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark suite list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target get" = @("--suite", "--suite-version", "--publication-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target history" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target history list" = @("--suite", "--suite-version", "--limit", "--offset", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target score-sample" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target score-sample list" = @("--suite", "--suite-version", "--condition-key", "--metric-key", "--limit", "--offset", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call create" = @("--recording-url", "--stereo-recording-url", "--started-at", "--interface-type", "--call-direction", "--ended-status", "--transcript", "--tool-invocations", "--properties", "--vapi-call-id", "--livekit-room-id", "--external-id", "--agent", "--agent.endpoint", "--agent.prompt", "--agents", "--customer", "--customer.label", "--customer.phone-number-e164", "--customers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call list" = @("--limit", "--after", "--sort-by", "--sort-direction", "--status", "--search-text", "--simulation-run-plan-job-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call metric list" = @("--flatten", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call sentiment-run" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call sentiment-run list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call tool-invocation" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call tool-invocation append" = @("--tool-invocations", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call transcript" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call transcript get" = @("--source", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "config" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "config apply" = @("--no-prune", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "config diff" = @("--no-prune", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow create" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow duplicate" = @("--title", "--agent-ids", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case create" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case promote" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph replace" = @("--graph", "--allow-unmerge", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow list" = @("--limit", "--after", "--search-text", "--type", "--include-system", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow update" = @("--title", "--description", "--script-adherence", "--off-script-policy", "--off-script-policy.reaction", "--off-script-policy.say-line", "--off-script-policy.max-attempts", "--off-script-policy.then", "--off-script-policy.wait-seconds", "--branching-mode", "--agent-ids", "--agent-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "health" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition create" = @("--scope", "--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition update" = @("--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job create" = @("--call-ids", "--chat-ids", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition create" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--scale-labels", "--boolean-true-label", "--boolean-false-label", "--classification-options", "--max-classifications", "--tool-definition-ids", "--supported-contexts", "--formula", "--sources", "--change-reason", "--slug", "--metric-id", "--source", "--organization-id", "--project-id", "--output-type", "--scope", "--participant-role", "--calc-type", "--supports-multiple-variants", "--analysis-package-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy create" = @("--name", "--status", "--modality", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy update" = @("--name", "--status", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant create" = @("--name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--boolean-true-label", "--boolean-false-label", "--max-classifications", "--change-reason", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment create" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment update" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job lookup" = @("--roark-phone-number", "--call-received-at", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona create" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--backstory-prompt", "--idle-messages", "--idle-timeout-seconds", "--idle-message-max-spoken-count", "--idle-message-reset-count-on-user-speech-enabled", "--properties", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona list" = @("--limit", "--after", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona update" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--backstory-prompt", "--idle-messages", "--idle-timeout-seconds", "--idle-message-max-spoken-count", "--idle-message-reset-count-on-user-speech-enabled", "--properties", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan create" = @("--name", "--description", "--direction", "--iteration-count", "--max-concurrent-jobs", "--max-simulation-duration-seconds", "--silence-timeout-seconds", "--end-call-phrases", "--end-call-reasons", "--execution-mode", "--scenarios", "--flows", "--personas", "--agent-endpoints", "--metrics", "--include-flow-metrics", "--include-automatic-metrics", "--enrich-with-live-conversation", "--auto-run", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job cancel" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job list" = @("--limit", "--after", "--status", "--simulation-run-plan-id", "--label-id", "--label-name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job start" = @("--variables", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan list" = @("--limit", "--after", "--search-text", "--agent-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan update" = @("--is-hidden", "--name", "--description", "--direction", "--iteration-count", "--max-concurrent-jobs", "--max-simulation-duration-seconds", "--silence-timeout-seconds", "--end-call-phrases", "--end-call-reasons", "--execution-mode", "--scenarios", "--flows", "--personas", "--agent-endpoints", "--metrics", "--enrich-with-live-conversation", "--include-flow-metrics", "--include-automatic-metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation run" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation template" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation template list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook create" = @("--url", "--description", "--headers", "--events", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n}\n\nRegister-ArgumentCompleter -Native -CommandName roark -ScriptBlock {\n param($wordToComplete, $commandAst, $cursorPosition)\n\n $tokens = @($commandAst.CommandElements | Select-Object -Skip 1 | ForEach-Object { $_.ToString() })\n $path = ""\n\n foreach ($token in $tokens) {\n if ($token.StartsWith("-")) { continue }\n if ($path -eq "") { $candidate = $token } else { $candidate = "$path $token" }\n # Extend only while the next word is a known node, so a flag\'s value is\n # never mistaken for a command.\n if ($roarkChildren.ContainsKey($candidate)) { $path = $candidate } else { break }\n }\n\n if ($wordToComplete.StartsWith("-")) {\n $candidates = $roarkFlags[$path]\n } else {\n $candidates = $roarkChildren[$path]\n }\n\n $candidates | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {\n [System.Management.Automation.CompletionResult]::new($_, $_, \'ParameterValue\', $_)\n }\n}\n',
|
|
9
|
+
bash: "# roark completion for bash. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent create') return 0 ;;\n 'agent endpoint') return 0 ;;\n 'agent endpoint create') return 0 ;;\n 'agent endpoint get') return 0 ;;\n 'agent endpoint list') return 0 ;;\n 'agent endpoint update') return 0 ;;\n 'agent get') return 0 ;;\n 'agent list') return 0 ;;\n 'agent prompt') return 0 ;;\n 'agent prompt list') return 0 ;;\n 'agent prompt update') return 0 ;;\n 'agent prompt version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') return 0 ;;\n 'benchmark') return 0 ;;\n 'benchmark leaderboard') return 0 ;;\n 'benchmark leaderboard get') return 0 ;;\n 'benchmark metric') return 0 ;;\n 'benchmark metric list') return 0 ;;\n 'benchmark suite') return 0 ;;\n 'benchmark suite list') return 0 ;;\n 'benchmark target') return 0 ;;\n 'benchmark target get') return 0 ;;\n 'benchmark target history') return 0 ;;\n 'benchmark target history list') return 0 ;;\n 'benchmark target score-sample') return 0 ;;\n 'benchmark target score-sample list') return 0 ;;\n 'call') return 0 ;;\n 'call create') return 0 ;;\n 'call get') return 0 ;;\n 'call list') return 0 ;;\n 'call metric') return 0 ;;\n 'call metric list') return 0 ;;\n 'call sentiment-run') return 0 ;;\n 'call sentiment-run list') return 0 ;;\n 'call tool-invocation') return 0 ;;\n 'call tool-invocation append') return 0 ;;\n 'call transcript') return 0 ;;\n 'call transcript get') return 0 ;;\n 'config') return 0 ;;\n 'config apply') return 0 ;;\n 'config diff') return 0 ;;\n 'customer-flow') return 0 ;;\n 'customer-flow create') return 0 ;;\n 'customer-flow delete') return 0 ;;\n 'customer-flow duplicate') return 0 ;;\n 'customer-flow edge-case') return 0 ;;\n 'customer-flow edge-case create') return 0 ;;\n 'customer-flow edge-case delete') return 0 ;;\n 'customer-flow edge-case promote') return 0 ;;\n 'customer-flow edge-case update') return 0 ;;\n 'customer-flow get') return 0 ;;\n 'customer-flow graph') return 0 ;;\n 'customer-flow graph replace') return 0 ;;\n 'customer-flow happy-path') return 0 ;;\n 'customer-flow happy-path update') return 0 ;;\n 'customer-flow list') return 0 ;;\n 'customer-flow update') return 0 ;;\n 'health') return 0 ;;\n 'http-request-definition') return 0 ;;\n 'http-request-definition create') return 0 ;;\n 'http-request-definition get') return 0 ;;\n 'http-request-definition list') return 0 ;;\n 'http-request-definition update') return 0 ;;\n 'metric') return 0 ;;\n 'metric collection-job') return 0 ;;\n 'metric collection-job create') return 0 ;;\n 'metric collection-job get') return 0 ;;\n 'metric collection-job list') return 0 ;;\n 'metric definition') return 0 ;;\n 'metric definition create') return 0 ;;\n 'metric definition list') return 0 ;;\n 'metric definition update') return 0 ;;\n 'metric policy') return 0 ;;\n 'metric policy create') return 0 ;;\n 'metric policy delete') return 0 ;;\n 'metric policy get') return 0 ;;\n 'metric policy list') return 0 ;;\n 'metric policy update') return 0 ;;\n 'metric variant') return 0 ;;\n 'metric variant create') return 0 ;;\n 'metric variant delete') return 0 ;;\n 'metric variant get') return 0 ;;\n 'metric variant list') return 0 ;;\n 'metric variant update') return 0 ;;\n 'simulation') return 0 ;;\n 'simulation environment') return 0 ;;\n 'simulation environment create') return 0 ;;\n 'simulation environment delete') return 0 ;;\n 'simulation environment get') return 0 ;;\n 'simulation environment list') return 0 ;;\n 'simulation environment update') return 0 ;;\n 'simulation job') return 0 ;;\n 'simulation job get') return 0 ;;\n 'simulation job lookup') return 0 ;;\n 'simulation persona') return 0 ;;\n 'simulation persona create') return 0 ;;\n 'simulation persona get') return 0 ;;\n 'simulation persona list') return 0 ;;\n 'simulation persona update') return 0 ;;\n 'simulation plan') return 0 ;;\n 'simulation plan create') return 0 ;;\n 'simulation plan delete') return 0 ;;\n 'simulation plan get') return 0 ;;\n 'simulation plan job') return 0 ;;\n 'simulation plan job cancel') return 0 ;;\n 'simulation plan job get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent api auth benchmark call completion config customer-flow health http-request-definition metric simulation webhook' ;;\n 'agent') echo 'create endpoint get list prompt update' ;;\n 'agent create') echo '' ;;\n 'agent endpoint') echo 'create get list update' ;;\n 'agent endpoint create') echo '' ;;\n 'agent endpoint get') echo '' ;;\n 'agent endpoint list') echo '' ;;\n 'agent endpoint update') echo '' ;;\n 'agent get') echo '' ;;\n 'agent list') echo '' ;;\n 'agent prompt') echo 'list update version' ;;\n 'agent prompt list') echo '' ;;\n 'agent prompt update') echo '' ;;\n 'agent prompt version') echo 'list' ;;\n 'agent prompt version list') echo '' ;;\n 'agent update') echo '' ;;\n 'benchmark') echo 'leaderboard metric suite target' ;;\n 'benchmark leaderboard') echo 'get' ;;\n 'benchmark leaderboard get') echo '' ;;\n 'benchmark metric') echo 'list' ;;\n 'benchmark metric list') echo '' ;;\n 'benchmark suite') echo 'list' ;;\n 'benchmark suite list') echo '' ;;\n 'benchmark target') echo 'get history score-sample' ;;\n 'benchmark target get') echo '' ;;\n 'benchmark target history') echo 'list' ;;\n 'benchmark target history list') echo '' ;;\n 'benchmark target score-sample') echo 'list' ;;\n 'benchmark target score-sample list') echo '' ;;\n 'call') echo 'create get list metric sentiment-run tool-invocation transcript' ;;\n 'call create') echo '' ;;\n 'call get') echo '' ;;\n 'call list') echo '' ;;\n 'call metric') echo 'list' ;;\n 'call metric list') echo '' ;;\n 'call sentiment-run') echo 'list' ;;\n 'call sentiment-run list') echo '' ;;\n 'call tool-invocation') echo 'append' ;;\n 'call tool-invocation append') echo '' ;;\n 'call transcript') echo 'get' ;;\n 'call transcript get') echo '' ;;\n 'config') echo 'apply diff' ;;\n 'config apply') echo '' ;;\n 'config diff') echo '' ;;\n 'customer-flow') echo 'create delete duplicate edge-case get graph happy-path list update' ;;\n 'customer-flow create') echo '' ;;\n 'customer-flow delete') echo '' ;;\n 'customer-flow duplicate') echo '' ;;\n 'customer-flow edge-case') echo 'create delete promote update' ;;\n 'customer-flow edge-case create') echo '' ;;\n 'customer-flow edge-case delete') echo '' ;;\n 'customer-flow edge-case promote') echo '' ;;\n 'customer-flow edge-case update') echo '' ;;\n 'customer-flow get') echo '' ;;\n 'customer-flow graph') echo 'replace' ;;\n 'customer-flow graph replace') echo '' ;;\n 'customer-flow happy-path') echo 'update' ;;\n 'customer-flow happy-path update') echo '' ;;\n 'customer-flow list') echo '' ;;\n 'customer-flow update') echo '' ;;\n 'health') echo '' ;;\n 'http-request-definition') echo 'create get list update' ;;\n 'http-request-definition create') echo '' ;;\n 'http-request-definition get') echo '' ;;\n 'http-request-definition list') echo '' ;;\n 'http-request-definition update') echo '' ;;\n 'metric') echo 'collection-job definition policy variant' ;;\n 'metric collection-job') echo 'create get list' ;;\n 'metric collection-job create') echo '' ;;\n 'metric collection-job get') echo '' ;;\n 'metric collection-job list') echo '' ;;\n 'metric definition') echo 'create list update' ;;\n 'metric definition create') echo '' ;;\n 'metric definition list') echo '' ;;\n 'metric definition update') echo '' ;;\n 'metric policy') echo 'create delete get list update' ;;\n 'metric policy create') echo '' ;;\n 'metric policy delete') echo '' ;;\n 'metric policy get') echo '' ;;\n 'metric policy list') echo '' ;;\n 'metric policy update') echo '' ;;\n 'metric variant') echo 'create delete get list update' ;;\n 'metric variant create') echo '' ;;\n 'metric variant delete') echo '' ;;\n 'metric variant get') echo '' ;;\n 'metric variant list') echo '' ;;\n 'metric variant update') echo '' ;;\n 'simulation') echo 'environment job persona plan run template' ;;\n 'simulation environment') echo 'create delete get list update' ;;\n 'simulation environment create') echo '' ;;\n 'simulation environment delete') echo '' ;;\n 'simulation environment get') echo '' ;;\n 'simulation environment list') echo '' ;;\n 'simulation environment update') echo '' ;;\n 'simulation job') echo 'get lookup' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation persona') echo 'create get list update' ;;\n 'simulation persona create') echo '' ;;\n 'simulation persona get') echo '' ;;\n 'simulation persona list') echo '' ;;\n 'simulation persona update') echo '' ;;\n 'simulation plan') echo 'create delete get job list update' ;;\n 'simulation plan create') echo '' ;;\n 'simulation plan delete') echo '' ;;\n 'simulation plan get') echo '' ;;\n 'simulation plan job') echo 'cancel get list start' ;;\n 'simulation plan job cancel') echo '' ;;\n 'simulation plan job get') echo '' ;;\n 'simulation plan job list') echo '' ;;\n 'simulation plan job start') echo '' ;;\n 'simulation plan list') echo '' ;;\n 'simulation plan update') echo '' ;;\n 'simulation run') echo '' ;;\n 'simulation template') echo 'list' ;;\n 'simulation template list') echo '' ;;\n 'webhook') echo 'create delete get list' ;;\n 'webhook create') echo '' ;;\n 'webhook delete') echo '' ;;\n 'webhook get') echo '' ;;\n 'webhook list') echo '' ;;\n *) echo '' ;;\n esac\n}\n\n_roark_flags() {\n case \"$1\" in\n '') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent create') echo '--name --description --custom-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint create') echo '--agent-id --value --environment --direction --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint list') echo '--limit --after --agent-id --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint update') echo '--environment --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt update') echo '--prompt --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent update') echo '--name --description --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark leaderboard') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark leaderboard get') echo '--suite --suite-version --condition-key --sort-by --order --metrics --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark metric list') echo '--suite --suite-version --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark suite') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark suite list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target get') echo '--suite --suite-version --publication-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target history') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target history list') echo '--suite --suite-version --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target score-sample') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target score-sample list') echo '--suite --suite-version --condition-key --metric-key --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call create') echo '--recording-url --stereo-recording-url --started-at --interface-type --call-direction --ended-status --transcript --tool-invocations --properties --vapi-call-id --livekit-room-id --external-id --agent --agent.endpoint --agent.prompt --agents --customer --customer.label --customer.phone-number-e164 --customers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call list') echo '--limit --after --sort-by --sort-direction --status --search-text --simulation-run-plan-job-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call metric list') echo '--flatten --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call sentiment-run') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call sentiment-run list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call tool-invocation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call tool-invocation append') echo '--tool-invocations --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call transcript') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call transcript get') echo '--source --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config apply') echo '--no-prune --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config diff') echo '--no-prune --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow duplicate') echo '--title --agent-ids --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case create') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona update') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan create') echo '--name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --include-flow-metrics --include-automatic-metrics --comparison-property --comparison-baseline --enrich-with-live-conversation --auto-run --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job cancel') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job list') echo '--limit --after --status --simulation-run-plan-id --label-id --label-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job start') echo '--variables --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan list') echo '--limit --after --search-text --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan update') echo '--is-hidden --name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --enrich-with-live-conversation --include-flow-metrics --include-automatic-metrics --comparison-property --comparison-baseline --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation run') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local cur path candidate word i\n cur=\"${COMP_WORDS[COMP_CWORD]}\"\n path=\"\"\n\n for (( i = 1; i < COMP_CWORD; i++ )); do\n word=\"${COMP_WORDS[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [ -z \"$path\" ]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n case \"$cur\" in\n -*) COMPREPLY=( $(compgen -W \"$(_roark_flags \"$path\")\" -- \"$cur\") ) ;;\n *) COMPREPLY=( $(compgen -W \"$(_roark_children \"$path\")\" -- \"$cur\") ) ;;\n esac\n}\n\ncomplete -F _roark roark\n",
|
|
10
|
+
zsh: "#compdef roark\n# roark completion for zsh. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent create') return 0 ;;\n 'agent endpoint') return 0 ;;\n 'agent endpoint create') return 0 ;;\n 'agent endpoint get') return 0 ;;\n 'agent endpoint list') return 0 ;;\n 'agent endpoint update') return 0 ;;\n 'agent get') return 0 ;;\n 'agent list') return 0 ;;\n 'agent prompt') return 0 ;;\n 'agent prompt list') return 0 ;;\n 'agent prompt update') return 0 ;;\n 'agent prompt version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') return 0 ;;\n 'benchmark') return 0 ;;\n 'benchmark leaderboard') return 0 ;;\n 'benchmark leaderboard get') return 0 ;;\n 'benchmark metric') return 0 ;;\n 'benchmark metric list') return 0 ;;\n 'benchmark suite') return 0 ;;\n 'benchmark suite list') return 0 ;;\n 'benchmark target') return 0 ;;\n 'benchmark target get') return 0 ;;\n 'benchmark target history') return 0 ;;\n 'benchmark target history list') return 0 ;;\n 'benchmark target score-sample') return 0 ;;\n 'benchmark target score-sample list') return 0 ;;\n 'call') return 0 ;;\n 'call create') return 0 ;;\n 'call get') return 0 ;;\n 'call list') return 0 ;;\n 'call metric') return 0 ;;\n 'call metric list') return 0 ;;\n 'call sentiment-run') return 0 ;;\n 'call sentiment-run list') return 0 ;;\n 'call tool-invocation') return 0 ;;\n 'call tool-invocation append') return 0 ;;\n 'call transcript') return 0 ;;\n 'call transcript get') return 0 ;;\n 'config') return 0 ;;\n 'config apply') return 0 ;;\n 'config diff') return 0 ;;\n 'customer-flow') return 0 ;;\n 'customer-flow create') return 0 ;;\n 'customer-flow delete') return 0 ;;\n 'customer-flow duplicate') return 0 ;;\n 'customer-flow edge-case') return 0 ;;\n 'customer-flow edge-case create') return 0 ;;\n 'customer-flow edge-case delete') return 0 ;;\n 'customer-flow edge-case promote') return 0 ;;\n 'customer-flow edge-case update') return 0 ;;\n 'customer-flow get') return 0 ;;\n 'customer-flow graph') return 0 ;;\n 'customer-flow graph replace') return 0 ;;\n 'customer-flow happy-path') return 0 ;;\n 'customer-flow happy-path update') return 0 ;;\n 'customer-flow list') return 0 ;;\n 'customer-flow update') return 0 ;;\n 'health') return 0 ;;\n 'http-request-definition') return 0 ;;\n 'http-request-definition create') return 0 ;;\n 'http-request-definition get') return 0 ;;\n 'http-request-definition list') return 0 ;;\n 'http-request-definition update') return 0 ;;\n 'metric') return 0 ;;\n 'metric collection-job') return 0 ;;\n 'metric collection-job create') return 0 ;;\n 'metric collection-job get') return 0 ;;\n 'metric collection-job list') return 0 ;;\n 'metric definition') return 0 ;;\n 'metric definition create') return 0 ;;\n 'metric definition list') return 0 ;;\n 'metric definition update') return 0 ;;\n 'metric policy') return 0 ;;\n 'metric policy create') return 0 ;;\n 'metric policy delete') return 0 ;;\n 'metric policy get') return 0 ;;\n 'metric policy list') return 0 ;;\n 'metric policy update') return 0 ;;\n 'metric variant') return 0 ;;\n 'metric variant create') return 0 ;;\n 'metric variant delete') return 0 ;;\n 'metric variant get') return 0 ;;\n 'metric variant list') return 0 ;;\n 'metric variant update') return 0 ;;\n 'simulation') return 0 ;;\n 'simulation environment') return 0 ;;\n 'simulation environment create') return 0 ;;\n 'simulation environment delete') return 0 ;;\n 'simulation environment get') return 0 ;;\n 'simulation environment list') return 0 ;;\n 'simulation environment update') return 0 ;;\n 'simulation job') return 0 ;;\n 'simulation job get') return 0 ;;\n 'simulation job lookup') return 0 ;;\n 'simulation persona') return 0 ;;\n 'simulation persona create') return 0 ;;\n 'simulation persona get') return 0 ;;\n 'simulation persona list') return 0 ;;\n 'simulation persona update') return 0 ;;\n 'simulation plan') return 0 ;;\n 'simulation plan create') return 0 ;;\n 'simulation plan delete') return 0 ;;\n 'simulation plan get') return 0 ;;\n 'simulation plan job') return 0 ;;\n 'simulation plan job cancel') return 0 ;;\n 'simulation plan job get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent api auth benchmark call completion config customer-flow health http-request-definition metric simulation webhook' ;;\n 'agent') echo 'create endpoint get list prompt update' ;;\n 'agent create') echo '' ;;\n 'agent endpoint') echo 'create get list update' ;;\n 'agent endpoint create') echo '' ;;\n 'agent endpoint get') echo '' ;;\n 'agent endpoint list') echo '' ;;\n 'agent endpoint update') echo '' ;;\n 'agent get') echo '' ;;\n 'agent list') echo '' ;;\n 'agent prompt') echo 'list update version' ;;\n 'agent prompt list') echo '' ;;\n 'agent prompt update') echo '' ;;\n 'agent prompt version') echo 'list' ;;\n 'agent prompt version list') echo '' ;;\n 'agent update') echo '' ;;\n 'benchmark') echo 'leaderboard metric suite target' ;;\n 'benchmark leaderboard') echo 'get' ;;\n 'benchmark leaderboard get') echo '' ;;\n 'benchmark metric') echo 'list' ;;\n 'benchmark metric list') echo '' ;;\n 'benchmark suite') echo 'list' ;;\n 'benchmark suite list') echo '' ;;\n 'benchmark target') echo 'get history score-sample' ;;\n 'benchmark target get') echo '' ;;\n 'benchmark target history') echo 'list' ;;\n 'benchmark target history list') echo '' ;;\n 'benchmark target score-sample') echo 'list' ;;\n 'benchmark target score-sample list') echo '' ;;\n 'call') echo 'create get list metric sentiment-run tool-invocation transcript' ;;\n 'call create') echo '' ;;\n 'call get') echo '' ;;\n 'call list') echo '' ;;\n 'call metric') echo 'list' ;;\n 'call metric list') echo '' ;;\n 'call sentiment-run') echo 'list' ;;\n 'call sentiment-run list') echo '' ;;\n 'call tool-invocation') echo 'append' ;;\n 'call tool-invocation append') echo '' ;;\n 'call transcript') echo 'get' ;;\n 'call transcript get') echo '' ;;\n 'config') echo 'apply diff' ;;\n 'config apply') echo '' ;;\n 'config diff') echo '' ;;\n 'customer-flow') echo 'create delete duplicate edge-case get graph happy-path list update' ;;\n 'customer-flow create') echo '' ;;\n 'customer-flow delete') echo '' ;;\n 'customer-flow duplicate') echo '' ;;\n 'customer-flow edge-case') echo 'create delete promote update' ;;\n 'customer-flow edge-case create') echo '' ;;\n 'customer-flow edge-case delete') echo '' ;;\n 'customer-flow edge-case promote') echo '' ;;\n 'customer-flow edge-case update') echo '' ;;\n 'customer-flow get') echo '' ;;\n 'customer-flow graph') echo 'replace' ;;\n 'customer-flow graph replace') echo '' ;;\n 'customer-flow happy-path') echo 'update' ;;\n 'customer-flow happy-path update') echo '' ;;\n 'customer-flow list') echo '' ;;\n 'customer-flow update') echo '' ;;\n 'health') echo '' ;;\n 'http-request-definition') echo 'create get list update' ;;\n 'http-request-definition create') echo '' ;;\n 'http-request-definition get') echo '' ;;\n 'http-request-definition list') echo '' ;;\n 'http-request-definition update') echo '' ;;\n 'metric') echo 'collection-job definition policy variant' ;;\n 'metric collection-job') echo 'create get list' ;;\n 'metric collection-job create') echo '' ;;\n 'metric collection-job get') echo '' ;;\n 'metric collection-job list') echo '' ;;\n 'metric definition') echo 'create list update' ;;\n 'metric definition create') echo '' ;;\n 'metric definition list') echo '' ;;\n 'metric definition update') echo '' ;;\n 'metric policy') echo 'create delete get list update' ;;\n 'metric policy create') echo '' ;;\n 'metric policy delete') echo '' ;;\n 'metric policy get') echo '' ;;\n 'metric policy list') echo '' ;;\n 'metric policy update') echo '' ;;\n 'metric variant') echo 'create delete get list update' ;;\n 'metric variant create') echo '' ;;\n 'metric variant delete') echo '' ;;\n 'metric variant get') echo '' ;;\n 'metric variant list') echo '' ;;\n 'metric variant update') echo '' ;;\n 'simulation') echo 'environment job persona plan run template' ;;\n 'simulation environment') echo 'create delete get list update' ;;\n 'simulation environment create') echo '' ;;\n 'simulation environment delete') echo '' ;;\n 'simulation environment get') echo '' ;;\n 'simulation environment list') echo '' ;;\n 'simulation environment update') echo '' ;;\n 'simulation job') echo 'get lookup' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation persona') echo 'create get list update' ;;\n 'simulation persona create') echo '' ;;\n 'simulation persona get') echo '' ;;\n 'simulation persona list') echo '' ;;\n 'simulation persona update') echo '' ;;\n 'simulation plan') echo 'create delete get job list update' ;;\n 'simulation plan create') echo '' ;;\n 'simulation plan delete') echo '' ;;\n 'simulation plan get') echo '' ;;\n 'simulation plan job') echo 'cancel get list start' ;;\n 'simulation plan job cancel') echo '' ;;\n 'simulation plan job get') echo '' ;;\n 'simulation plan job list') echo '' ;;\n 'simulation plan job start') echo '' ;;\n 'simulation plan list') echo '' ;;\n 'simulation plan update') echo '' ;;\n 'simulation run') echo '' ;;\n 'simulation template') echo 'list' ;;\n 'simulation template list') echo '' ;;\n 'webhook') echo 'create delete get list' ;;\n 'webhook create') echo '' ;;\n 'webhook delete') echo '' ;;\n 'webhook get') echo '' ;;\n 'webhook list') echo '' ;;\n *) echo '' ;;\n esac\n}\n\n_roark_flags() {\n case \"$1\" in\n '') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent create') echo '--name --description --custom-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint create') echo '--agent-id --value --environment --direction --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint list') echo '--limit --after --agent-id --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint update') echo '--environment --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt update') echo '--prompt --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent update') echo '--name --description --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark leaderboard') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark leaderboard get') echo '--suite --suite-version --condition-key --sort-by --order --metrics --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark metric list') echo '--suite --suite-version --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark suite') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark suite list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target get') echo '--suite --suite-version --publication-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target history') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target history list') echo '--suite --suite-version --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target score-sample') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'benchmark target score-sample list') echo '--suite --suite-version --condition-key --metric-key --limit --offset --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call create') echo '--recording-url --stereo-recording-url --started-at --interface-type --call-direction --ended-status --transcript --tool-invocations --properties --vapi-call-id --livekit-room-id --external-id --agent --agent.endpoint --agent.prompt --agents --customer --customer.label --customer.phone-number-e164 --customers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call list') echo '--limit --after --sort-by --sort-direction --status --search-text --simulation-run-plan-job-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call metric list') echo '--flatten --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call sentiment-run') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call sentiment-run list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call tool-invocation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call tool-invocation append') echo '--tool-invocations --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call transcript') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'call transcript get') echo '--source --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config apply') echo '--no-prune --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'config diff') echo '--no-prune --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow duplicate') echo '--title --agent-ids --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case create') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona update') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan create') echo '--name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --include-flow-metrics --include-automatic-metrics --comparison-property --comparison-baseline --enrich-with-live-conversation --auto-run --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job cancel') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job list') echo '--limit --after --status --simulation-run-plan-id --label-id --label-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job start') echo '--variables --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan list') echo '--limit --after --search-text --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan update') echo '--is-hidden --name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --enrich-with-live-conversation --include-flow-metrics --include-automatic-metrics --comparison-property --comparison-baseline --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation run') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local path candidate word cur\n local -a walked\n path=\"\"\n cur=\"${words[CURRENT]}\"\n\n for (( i = 2; i < CURRENT; i++ )); do\n word=\"${words[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [[ -z \"$path\" ]]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n if [[ \"$cur\" == -* ]]; then\n compadd -- ${=$(_roark_flags \"$path\")}\n else\n compadd -- ${=$(_roark_children \"$path\")}\n fi\n}\n\ncompdef _roark roark\n",
|
|
11
|
+
fish: "# roark completion for fish. Generated by app-agent-codegen; do not edit.\n\nfunction __roark_is_node\n switch \"$argv[1]\"\n case ''; return 0\n case 'agent'; return 0\n case 'agent create'; return 0\n case 'agent endpoint'; return 0\n case 'agent endpoint create'; return 0\n case 'agent endpoint get'; return 0\n case 'agent endpoint list'; return 0\n case 'agent endpoint update'; return 0\n case 'agent get'; return 0\n case 'agent list'; return 0\n case 'agent prompt'; return 0\n case 'agent prompt list'; return 0\n case 'agent prompt update'; return 0\n case 'agent prompt version'; return 0\n case 'agent prompt version list'; return 0\n case 'agent update'; return 0\n case 'benchmark'; return 0\n case 'benchmark leaderboard'; return 0\n case 'benchmark leaderboard get'; return 0\n case 'benchmark metric'; return 0\n case 'benchmark metric list'; return 0\n case 'benchmark suite'; return 0\n case 'benchmark suite list'; return 0\n case 'benchmark target'; return 0\n case 'benchmark target get'; return 0\n case 'benchmark target history'; return 0\n case 'benchmark target history list'; return 0\n case 'benchmark target score-sample'; return 0\n case 'benchmark target score-sample list'; return 0\n case 'call'; return 0\n case 'call create'; return 0\n case 'call get'; return 0\n case 'call list'; return 0\n case 'call metric'; return 0\n case 'call metric list'; return 0\n case 'call sentiment-run'; return 0\n case 'call sentiment-run list'; return 0\n case 'call tool-invocation'; return 0\n case 'call tool-invocation append'; return 0\n case 'call transcript'; return 0\n case 'call transcript get'; return 0\n case 'config'; return 0\n case 'config apply'; return 0\n case 'config diff'; return 0\n case 'customer-flow'; return 0\n case 'customer-flow create'; return 0\n case 'customer-flow delete'; return 0\n case 'customer-flow duplicate'; return 0\n case 'customer-flow edge-case'; return 0\n case 'customer-flow edge-case create'; return 0\n case 'customer-flow edge-case delete'; return 0\n case 'customer-flow edge-case promote'; return 0\n case 'customer-flow edge-case update'; return 0\n case 'customer-flow get'; return 0\n case 'customer-flow graph'; return 0\n case 'customer-flow graph replace'; return 0\n case 'customer-flow happy-path'; return 0\n case 'customer-flow happy-path update'; return 0\n case 'customer-flow list'; return 0\n case 'customer-flow update'; return 0\n case 'health'; return 0\n case 'http-request-definition'; return 0\n case 'http-request-definition create'; return 0\n case 'http-request-definition get'; return 0\n case 'http-request-definition list'; return 0\n case 'http-request-definition update'; return 0\n case 'metric'; return 0\n case 'metric collection-job'; return 0\n case 'metric collection-job create'; return 0\n case 'metric collection-job get'; return 0\n case 'metric collection-job list'; return 0\n case 'metric definition'; return 0\n case 'metric definition create'; return 0\n case 'metric definition list'; return 0\n case 'metric definition update'; return 0\n case 'metric policy'; return 0\n case 'metric policy create'; return 0\n case 'metric policy delete'; return 0\n case 'metric policy get'; return 0\n case 'metric policy list'; return 0\n case 'metric policy update'; return 0\n case 'metric variant'; return 0\n case 'metric variant create'; return 0\n case 'metric variant delete'; return 0\n case 'metric variant get'; return 0\n case 'metric variant list'; return 0\n case 'metric variant update'; return 0\n case 'simulation'; return 0\n case 'simulation environment'; return 0\n case 'simulation environment create'; return 0\n case 'simulation environment delete'; return 0\n case 'simulation environment get'; return 0\n case 'simulation environment list'; return 0\n case 'simulation environment update'; return 0\n case 'simulation job'; return 0\n case 'simulation job get'; return 0\n case 'simulation job lookup'; return 0\n case 'simulation persona'; return 0\n case 'simulation persona create'; return 0\n case 'simulation persona get'; return 0\n case 'simulation persona list'; return 0\n case 'simulation persona update'; return 0\n case 'simulation plan'; return 0\n case 'simulation plan create'; return 0\n case 'simulation plan delete'; return 0\n case 'simulation plan get'; return 0\n case 'simulation plan job'; return 0\n case 'simulation plan job cancel'; return 0\n case 'simulation plan job get'; return 0\n case 'simulation plan job list'; return 0\n case 'simulation plan job start'; return 0\n case 'simulation plan list'; return 0\n case 'simulation plan update'; return 0\n case 'simulation run'; return 0\n case 'simulation template'; return 0\n case 'simulation template list'; return 0\n case 'webhook'; return 0\n case 'webhook create'; return 0\n case 'webhook delete'; return 0\n case 'webhook get'; return 0\n case 'webhook list'; return 0\n case '*'; return 1\n end\nend\n\nfunction __roark_children\n switch \"$argv[1]\"\n case ''; echo 'agent\napi\nauth\nbenchmark\ncall\ncompletion\nconfig\ncustomer-flow\nhealth\nhttp-request-definition\nmetric\nsimulation\nwebhook'\n case 'agent'; echo 'create\nendpoint\nget\nlist\nprompt\nupdate'\n case 'agent create'; echo ''\n case 'agent endpoint'; echo 'create\nget\nlist\nupdate'\n case 'agent endpoint create'; echo ''\n case 'agent endpoint get'; echo ''\n case 'agent endpoint list'; echo ''\n case 'agent endpoint update'; echo ''\n case 'agent get'; echo ''\n case 'agent list'; echo ''\n case 'agent prompt'; echo 'list\nupdate\nversion'\n case 'agent prompt list'; echo ''\n case 'agent prompt update'; echo ''\n case 'agent prompt version'; echo 'list'\n case 'agent prompt version list'; echo ''\n case 'agent update'; echo ''\n case 'benchmark'; echo 'leaderboard\nmetric\nsuite\ntarget'\n case 'benchmark leaderboard'; echo 'get'\n case 'benchmark leaderboard get'; echo ''\n case 'benchmark metric'; echo 'list'\n case 'benchmark metric list'; echo ''\n case 'benchmark suite'; echo 'list'\n case 'benchmark suite list'; echo ''\n case 'benchmark target'; echo 'get\nhistory\nscore-sample'\n case 'benchmark target get'; echo ''\n case 'benchmark target history'; echo 'list'\n case 'benchmark target history list'; echo ''\n case 'benchmark target score-sample'; echo 'list'\n case 'benchmark target score-sample list'; echo ''\n case 'call'; echo 'create\nget\nlist\nmetric\nsentiment-run\ntool-invocation\ntranscript'\n case 'call create'; echo ''\n case 'call get'; echo ''\n case 'call list'; echo ''\n case 'call metric'; echo 'list'\n case 'call metric list'; echo ''\n case 'call sentiment-run'; echo 'list'\n case 'call sentiment-run list'; echo ''\n case 'call tool-invocation'; echo 'append'\n case 'call tool-invocation append'; echo ''\n case 'call transcript'; echo 'get'\n case 'call transcript get'; echo ''\n case 'config'; echo 'apply\ndiff'\n case 'config apply'; echo ''\n case 'config diff'; echo ''\n case 'customer-flow'; echo 'create\ndelete\nduplicate\nedge-case\nget\ngraph\nhappy-path\nlist\nupdate'\n case 'customer-flow create'; echo ''\n case 'customer-flow delete'; echo ''\n case 'customer-flow duplicate'; echo ''\n case 'customer-flow edge-case'; echo 'create\ndelete\npromote\nupdate'\n case 'customer-flow edge-case create'; echo ''\n case 'customer-flow edge-case delete'; echo ''\n case 'customer-flow edge-case promote'; echo ''\n case 'customer-flow edge-case update'; echo ''\n case 'customer-flow get'; echo ''\n case 'customer-flow graph'; echo 'replace'\n case 'customer-flow graph replace'; echo ''\n case 'customer-flow happy-path'; echo 'update'\n case 'customer-flow happy-path update'; echo ''\n case 'customer-flow list'; echo ''\n case 'customer-flow update'; echo ''\n case 'health'; echo ''\n case 'http-request-definition'; echo 'create\nget\nlist\nupdate'\n case 'http-request-definition create'; echo ''\n case 'http-request-definition get'; echo ''\n case 'http-request-definition list'; echo ''\n case 'http-request-definition update'; echo ''\n case 'metric'; echo 'collection-job\ndefinition\npolicy\nvariant'\n case 'metric collection-job'; echo 'create\nget\nlist'\n case 'metric collection-job create'; echo ''\n case 'metric collection-job get'; echo ''\n case 'metric collection-job list'; echo ''\n case 'metric definition'; echo 'create\nlist\nupdate'\n case 'metric definition create'; echo ''\n case 'metric definition list'; echo ''\n case 'metric definition update'; echo ''\n case 'metric policy'; echo 'create\ndelete\nget\nlist\nupdate'\n case 'metric policy create'; echo ''\n case 'metric policy delete'; echo ''\n case 'metric policy get'; echo ''\n case 'metric policy list'; echo ''\n case 'metric policy update'; echo ''\n case 'metric variant'; echo 'create\ndelete\nget\nlist\nupdate'\n case 'metric variant create'; echo ''\n case 'metric variant delete'; echo ''\n case 'metric variant get'; echo ''\n case 'metric variant list'; echo ''\n case 'metric variant update'; echo ''\n case 'simulation'; echo 'environment\njob\npersona\nplan\nrun\ntemplate'\n case 'simulation environment'; echo 'create\ndelete\nget\nlist\nupdate'\n case 'simulation environment create'; echo ''\n case 'simulation environment delete'; echo ''\n case 'simulation environment get'; echo ''\n case 'simulation environment list'; echo ''\n case 'simulation environment update'; echo ''\n case 'simulation job'; echo 'get\nlookup'\n case 'simulation job get'; echo ''\n case 'simulation job lookup'; echo ''\n case 'simulation persona'; echo 'create\nget\nlist\nupdate'\n case 'simulation persona create'; echo ''\n case 'simulation persona get'; echo ''\n case 'simulation persona list'; echo ''\n case 'simulation persona update'; echo ''\n case 'simulation plan'; echo 'create\ndelete\nget\njob\nlist\nupdate'\n case 'simulation plan create'; echo ''\n case 'simulation plan delete'; echo ''\n case 'simulation plan get'; echo ''\n case 'simulation plan job'; echo 'cancel\nget\nlist\nstart'\n case 'simulation plan job cancel'; echo ''\n case 'simulation plan job get'; echo ''\n case 'simulation plan job list'; echo ''\n case 'simulation plan job start'; echo ''\n case 'simulation plan list'; echo ''\n case 'simulation plan update'; echo ''\n case 'simulation run'; echo ''\n case 'simulation template'; echo 'list'\n case 'simulation template list'; echo ''\n case 'webhook'; echo 'create\ndelete\nget\nlist'\n case 'webhook create'; echo ''\n case 'webhook delete'; echo ''\n case 'webhook get'; echo ''\n case 'webhook list'; echo ''\n case '*'; echo ''\n end\nend\n\nfunction __roark_flags\n switch \"$argv[1]\"\n case ''; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent create'; echo '--name\n--description\n--custom-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint create'; echo '--agent-id\n--value\n--environment\n--direction\n--outbound-dial-type\n--outbound-dial-http-request-definition-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint list'; echo '--limit\n--after\n--agent-id\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint update'; echo '--environment\n--outbound-dial-type\n--outbound-dial-http-request-definition-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent list'; echo '--limit\n--after\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt update'; echo '--prompt\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt version'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt version list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent update'; echo '--name\n--description\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark leaderboard'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark leaderboard get'; echo '--suite\n--suite-version\n--condition-key\n--sort-by\n--order\n--metrics\n--limit\n--offset\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark metric list'; echo '--suite\n--suite-version\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark suite'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark suite list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target get'; echo '--suite\n--suite-version\n--publication-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target history'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target history list'; echo '--suite\n--suite-version\n--limit\n--offset\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target score-sample'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'benchmark target score-sample list'; echo '--suite\n--suite-version\n--condition-key\n--metric-key\n--limit\n--offset\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call create'; echo '--recording-url\n--stereo-recording-url\n--started-at\n--interface-type\n--call-direction\n--ended-status\n--transcript\n--tool-invocations\n--properties\n--vapi-call-id\n--livekit-room-id\n--external-id\n--agent\n--agent.endpoint\n--agent.prompt\n--agents\n--customer\n--customer.label\n--customer.phone-number-e164\n--customers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call list'; echo '--limit\n--after\n--sort-by\n--sort-direction\n--status\n--search-text\n--simulation-run-plan-job-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call metric list'; echo '--flatten\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call sentiment-run'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call sentiment-run list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call tool-invocation'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call tool-invocation append'; echo '--tool-invocations\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call transcript'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'call transcript get'; echo '--source\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'config'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'config apply'; echo '--no-prune\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'config diff'; echo '--no-prune\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow create'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow duplicate'; echo '--title\n--agent-ids\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case create'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case promote'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph replace'; echo '--graph\n--allow-unmerge\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow list'; echo '--limit\n--after\n--search-text\n--type\n--include-system\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow update'; echo '--title\n--description\n--script-adherence\n--off-script-policy\n--off-script-policy.reaction\n--off-script-policy.say-line\n--off-script-policy.max-attempts\n--off-script-policy.then\n--off-script-policy.wait-seconds\n--branching-mode\n--agent-ids\n--agent-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'health'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition create'; echo '--scope\n--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition update'; echo '--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job create'; echo '--call-ids\n--chat-ids\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition create'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--scale-labels\n--boolean-true-label\n--boolean-false-label\n--classification-options\n--max-classifications\n--tool-definition-ids\n--supported-contexts\n--formula\n--sources\n--change-reason\n--slug\n--metric-id\n--source\n--organization-id\n--project-id\n--output-type\n--scope\n--participant-role\n--calc-type\n--supports-multiple-variants\n--analysis-package-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy create'; echo '--name\n--status\n--modality\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy update'; echo '--name\n--status\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant create'; echo '--name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--boolean-true-label\n--boolean-false-label\n--max-classifications\n--change-reason\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment create'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment update'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job lookup'; echo '--roark-phone-number\n--call-received-at\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona create'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--backstory-prompt\n--idle-messages\n--idle-timeout-seconds\n--idle-message-max-spoken-count\n--idle-message-reset-count-on-user-speech-enabled\n--properties\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona list'; echo '--limit\n--after\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona update'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--backstory-prompt\n--idle-messages\n--idle-timeout-seconds\n--idle-message-max-spoken-count\n--idle-message-reset-count-on-user-speech-enabled\n--properties\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan create'; echo '--name\n--description\n--direction\n--iteration-count\n--max-concurrent-jobs\n--max-simulation-duration-seconds\n--silence-timeout-seconds\n--end-call-phrases\n--end-call-reasons\n--execution-mode\n--scenarios\n--flows\n--personas\n--agent-endpoints\n--metrics\n--include-flow-metrics\n--include-automatic-metrics\n--comparison-property\n--comparison-baseline\n--enrich-with-live-conversation\n--auto-run\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job cancel'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job list'; echo '--limit\n--after\n--status\n--simulation-run-plan-id\n--label-id\n--label-name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job start'; echo '--variables\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan list'; echo '--limit\n--after\n--search-text\n--agent-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan update'; echo '--is-hidden\n--name\n--description\n--direction\n--iteration-count\n--max-concurrent-jobs\n--max-simulation-duration-seconds\n--silence-timeout-seconds\n--end-call-phrases\n--end-call-reasons\n--execution-mode\n--scenarios\n--flows\n--personas\n--agent-endpoints\n--metrics\n--enrich-with-live-conversation\n--include-flow-metrics\n--include-automatic-metrics\n--comparison-property\n--comparison-baseline\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation run'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation template'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation template list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook create'; echo '--url\n--description\n--headers\n--events\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case '*'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n end\nend\n\nfunction __roark_path\n set -l tokens (commandline -opc)\n set -l path \"\"\n for word in $tokens[2..-1]\n if string match -q -- '-*' $word\n continue\n end\n set -l candidate\n if test -z \"$path\"\n set candidate $word\n else\n set candidate \"$path $word\"\n end\n if __roark_is_node \"$candidate\"\n set path \"$candidate\"\n else\n break\n end\n end\n echo $path\nend\n\nfunction __roark_complete\n set -l path (__roark_path)\n set -l token (commandline -ct)\n if string match -q -- '-*' $token\n __roark_flags \"$path\"\n else\n __roark_children \"$path\"\n end\nend\n\ncomplete -c roark -f -a \"(__roark_complete)\"\n",
|
|
12
|
+
powershell: '# roark completion for PowerShell. Generated by app-agent-codegen; do not edit.\n\n$roarkChildren = @{\n "" = @("agent", "api", "auth", "benchmark", "call", "completion", "config", "customer-flow", "health", "http-request-definition", "metric", "simulation", "webhook")\n "agent" = @("create", "endpoint", "get", "list", "prompt", "update")\n "agent create" = @()\n "agent endpoint" = @("create", "get", "list", "update")\n "agent endpoint create" = @()\n "agent endpoint get" = @()\n "agent endpoint list" = @()\n "agent endpoint update" = @()\n "agent get" = @()\n "agent list" = @()\n "agent prompt" = @("list", "update", "version")\n "agent prompt list" = @()\n "agent prompt update" = @()\n "agent prompt version" = @("list")\n "agent prompt version list" = @()\n "agent update" = @()\n "benchmark" = @("leaderboard", "metric", "suite", "target")\n "benchmark leaderboard" = @("get")\n "benchmark leaderboard get" = @()\n "benchmark metric" = @("list")\n "benchmark metric list" = @()\n "benchmark suite" = @("list")\n "benchmark suite list" = @()\n "benchmark target" = @("get", "history", "score-sample")\n "benchmark target get" = @()\n "benchmark target history" = @("list")\n "benchmark target history list" = @()\n "benchmark target score-sample" = @("list")\n "benchmark target score-sample list" = @()\n "call" = @("create", "get", "list", "metric", "sentiment-run", "tool-invocation", "transcript")\n "call create" = @()\n "call get" = @()\n "call list" = @()\n "call metric" = @("list")\n "call metric list" = @()\n "call sentiment-run" = @("list")\n "call sentiment-run list" = @()\n "call tool-invocation" = @("append")\n "call tool-invocation append" = @()\n "call transcript" = @("get")\n "call transcript get" = @()\n "config" = @("apply", "diff")\n "config apply" = @()\n "config diff" = @()\n "customer-flow" = @("create", "delete", "duplicate", "edge-case", "get", "graph", "happy-path", "list", "update")\n "customer-flow create" = @()\n "customer-flow delete" = @()\n "customer-flow duplicate" = @()\n "customer-flow edge-case" = @("create", "delete", "promote", "update")\n "customer-flow edge-case create" = @()\n "customer-flow edge-case delete" = @()\n "customer-flow edge-case promote" = @()\n "customer-flow edge-case update" = @()\n "customer-flow get" = @()\n "customer-flow graph" = @("replace")\n "customer-flow graph replace" = @()\n "customer-flow happy-path" = @("update")\n "customer-flow happy-path update" = @()\n "customer-flow list" = @()\n "customer-flow update" = @()\n "health" = @()\n "http-request-definition" = @("create", "get", "list", "update")\n "http-request-definition create" = @()\n "http-request-definition get" = @()\n "http-request-definition list" = @()\n "http-request-definition update" = @()\n "metric" = @("collection-job", "definition", "policy", "variant")\n "metric collection-job" = @("create", "get", "list")\n "metric collection-job create" = @()\n "metric collection-job get" = @()\n "metric collection-job list" = @()\n "metric definition" = @("create", "list", "update")\n "metric definition create" = @()\n "metric definition list" = @()\n "metric definition update" = @()\n "metric policy" = @("create", "delete", "get", "list", "update")\n "metric policy create" = @()\n "metric policy delete" = @()\n "metric policy get" = @()\n "metric policy list" = @()\n "metric policy update" = @()\n "metric variant" = @("create", "delete", "get", "list", "update")\n "metric variant create" = @()\n "metric variant delete" = @()\n "metric variant get" = @()\n "metric variant list" = @()\n "metric variant update" = @()\n "simulation" = @("environment", "job", "persona", "plan", "run", "template")\n "simulation environment" = @("create", "delete", "get", "list", "update")\n "simulation environment create" = @()\n "simulation environment delete" = @()\n "simulation environment get" = @()\n "simulation environment list" = @()\n "simulation environment update" = @()\n "simulation job" = @("get", "lookup")\n "simulation job get" = @()\n "simulation job lookup" = @()\n "simulation persona" = @("create", "get", "list", "update")\n "simulation persona create" = @()\n "simulation persona get" = @()\n "simulation persona list" = @()\n "simulation persona update" = @()\n "simulation plan" = @("create", "delete", "get", "job", "list", "update")\n "simulation plan create" = @()\n "simulation plan delete" = @()\n "simulation plan get" = @()\n "simulation plan job" = @("cancel", "get", "list", "start")\n "simulation plan job cancel" = @()\n "simulation plan job get" = @()\n "simulation plan job list" = @()\n "simulation plan job start" = @()\n "simulation plan list" = @()\n "simulation plan update" = @()\n "simulation run" = @()\n "simulation template" = @("list")\n "simulation template list" = @()\n "webhook" = @("create", "delete", "get", "list")\n "webhook create" = @()\n "webhook delete" = @()\n "webhook get" = @()\n "webhook list" = @()\n}\n\n$roarkFlags = @{\n "" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent create" = @("--name", "--description", "--custom-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint create" = @("--agent-id", "--value", "--environment", "--direction", "--outbound-dial-type", "--outbound-dial-http-request-definition-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint list" = @("--limit", "--after", "--agent-id", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint update" = @("--environment", "--outbound-dial-type", "--outbound-dial-http-request-definition-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent list" = @("--limit", "--after", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt update" = @("--prompt", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt version" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt version list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent update" = @("--name", "--description", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark leaderboard" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark leaderboard get" = @("--suite", "--suite-version", "--condition-key", "--sort-by", "--order", "--metrics", "--limit", "--offset", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark metric list" = @("--suite", "--suite-version", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark suite" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark suite list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target get" = @("--suite", "--suite-version", "--publication-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target history" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target history list" = @("--suite", "--suite-version", "--limit", "--offset", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target score-sample" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "benchmark target score-sample list" = @("--suite", "--suite-version", "--condition-key", "--metric-key", "--limit", "--offset", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call create" = @("--recording-url", "--stereo-recording-url", "--started-at", "--interface-type", "--call-direction", "--ended-status", "--transcript", "--tool-invocations", "--properties", "--vapi-call-id", "--livekit-room-id", "--external-id", "--agent", "--agent.endpoint", "--agent.prompt", "--agents", "--customer", "--customer.label", "--customer.phone-number-e164", "--customers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call list" = @("--limit", "--after", "--sort-by", "--sort-direction", "--status", "--search-text", "--simulation-run-plan-job-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call metric list" = @("--flatten", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call sentiment-run" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call sentiment-run list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call tool-invocation" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call tool-invocation append" = @("--tool-invocations", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call transcript" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "call transcript get" = @("--source", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "config" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "config apply" = @("--no-prune", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "config diff" = @("--no-prune", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow create" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow duplicate" = @("--title", "--agent-ids", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case create" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case promote" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph replace" = @("--graph", "--allow-unmerge", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow list" = @("--limit", "--after", "--search-text", "--type", "--include-system", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow update" = @("--title", "--description", "--script-adherence", "--off-script-policy", "--off-script-policy.reaction", "--off-script-policy.say-line", "--off-script-policy.max-attempts", "--off-script-policy.then", "--off-script-policy.wait-seconds", "--branching-mode", "--agent-ids", "--agent-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "health" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition create" = @("--scope", "--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition update" = @("--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job create" = @("--call-ids", "--chat-ids", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition create" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--scale-labels", "--boolean-true-label", "--boolean-false-label", "--classification-options", "--max-classifications", "--tool-definition-ids", "--supported-contexts", "--formula", "--sources", "--change-reason", "--slug", "--metric-id", "--source", "--organization-id", "--project-id", "--output-type", "--scope", "--participant-role", "--calc-type", "--supports-multiple-variants", "--analysis-package-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy create" = @("--name", "--status", "--modality", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy update" = @("--name", "--status", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant create" = @("--name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--boolean-true-label", "--boolean-false-label", "--max-classifications", "--change-reason", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment create" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment update" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job lookup" = @("--roark-phone-number", "--call-received-at", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona create" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--backstory-prompt", "--idle-messages", "--idle-timeout-seconds", "--idle-message-max-spoken-count", "--idle-message-reset-count-on-user-speech-enabled", "--properties", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona list" = @("--limit", "--after", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona update" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--backstory-prompt", "--idle-messages", "--idle-timeout-seconds", "--idle-message-max-spoken-count", "--idle-message-reset-count-on-user-speech-enabled", "--properties", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan create" = @("--name", "--description", "--direction", "--iteration-count", "--max-concurrent-jobs", "--max-simulation-duration-seconds", "--silence-timeout-seconds", "--end-call-phrases", "--end-call-reasons", "--execution-mode", "--scenarios", "--flows", "--personas", "--agent-endpoints", "--metrics", "--include-flow-metrics", "--include-automatic-metrics", "--comparison-property", "--comparison-baseline", "--enrich-with-live-conversation", "--auto-run", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job cancel" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job list" = @("--limit", "--after", "--status", "--simulation-run-plan-id", "--label-id", "--label-name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job start" = @("--variables", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan list" = @("--limit", "--after", "--search-text", "--agent-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan update" = @("--is-hidden", "--name", "--description", "--direction", "--iteration-count", "--max-concurrent-jobs", "--max-simulation-duration-seconds", "--silence-timeout-seconds", "--end-call-phrases", "--end-call-reasons", "--execution-mode", "--scenarios", "--flows", "--personas", "--agent-endpoints", "--metrics", "--enrich-with-live-conversation", "--include-flow-metrics", "--include-automatic-metrics", "--comparison-property", "--comparison-baseline", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation run" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation template" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation template list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook create" = @("--url", "--description", "--headers", "--events", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n}\n\nRegister-ArgumentCompleter -Native -CommandName roark -ScriptBlock {\n param($wordToComplete, $commandAst, $cursorPosition)\n\n $tokens = @($commandAst.CommandElements | Select-Object -Skip 1 | ForEach-Object { $_.ToString() })\n $path = ""\n\n foreach ($token in $tokens) {\n if ($token.StartsWith("-")) { continue }\n if ($path -eq "") { $candidate = $token } else { $candidate = "$path $token" }\n # Extend only while the next word is a known node, so a flag\'s value is\n # never mistaken for a command.\n if ($roarkChildren.ContainsKey($candidate)) { $path = $candidate } else { break }\n }\n\n if ($wordToComplete.StartsWith("-")) {\n $candidates = $roarkFlags[$path]\n } else {\n $candidates = $roarkChildren[$path]\n }\n\n $candidates | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {\n [System.Management.Automation.CompletionResult]::new($_, $_, \'ParameterValue\', $_)\n }\n}\n',
|
|
13
13
|
};
|
|
@@ -62,6 +62,12 @@ Also collect each attached flow's own metrics, on top of the `metrics` named her
|
|
|
62
62
|
\fB\-\-include\-automatic\-metrics\fR
|
|
63
63
|
Let the run add metrics by itself off the attached flows, on top of the `metrics` named here. Two attach this way today: Agent Expectations wherever an attached flow has agent expectations written on it, and Keypad Entry wherever one has steps where the agent is expected to press keys. Both grade something authored on the flow that nothing else measures, which is why it is on by default. Set false when the `metrics` list is meant to be exhaustive: a plan testing only whether the caller can complete the flow may not want the agent graded on its expectations as well. False also pins the plan against any automatic metric Roark adds later. Optional.
|
|
64
64
|
.TP
|
|
65
|
+
\fB\-\-comparison\-property\fR \fI<value>\fR
|
|
66
|
+
The property this run plan investigates: the one thing its arms differ by. Set it and the run report compares the arms on that property, so a run answers "what did background noise cost" rather than just "what did each arm score". Every value is a field already recorded on each call, so the report can label an arm `CRYING_BABY` rather than repeating a flow variant's title. Omit it and the report still compares when it can: it detects which property varies across the arms. Setting it is what tells the written summary what you were trying to find out, which detection cannot infer. One of: ACCENT, AGE, BACKGROUND_NOISE, BACKGROUND_NOISE_VOLUME, BASE_EMOTION, CONFIRMATION_STYLE, GENDER, INTENT_CLARITY, LANGUAGE, MEMORY_RELIABILITY, RESPONSE_TIMING, SPEECH_CLARITY, SPEECH_PACE. Optional.
|
|
67
|
+
.TP
|
|
68
|
+
\fB\-\-comparison\-baseline\fR \fI<value>\fR
|
|
69
|
+
The value of `comparisonProperty` every other value is measured against, for example `NONE` for `BACKGROUND_NOISE` or `NORMAL` for `SPEECH_PACE`. Must be a value that property can take. Stored rather than assumed, so the report can say "compared against US accent" instead of implying Roark decided which value is normal. Most properties have an obvious baseline and the dashboard prefills it; `GENDER` has none, so choose the one you are testing against. Optional.
|
|
70
|
+
.TP
|
|
65
71
|
\fB\-\-enrich\-with\-live\-conversation\fR
|
|
66
72
|
Merge the customer's own recording of the real call into each simulation, so metrics can be scored against the live leg as well as the simulated one. This is the API equivalent of the dashboard's live\-enrichment toggle. With this on, the run provisions a phone number and holds each call open for up to 15 minutes waiting for a matching call to be posted to POST /v1/call. A call matches on the provisioned number (`roarkPhoneNumber` on the job) with a start time inside the simulation window. If nothing arrives, the simulation still completes and any `LIVE`\-sourced metric produces no value. Required by any metric whose `requiresLiveConversation` is true: without it that metric is silently skipped. Optional.
|
|
67
73
|
.TP
|
|
@@ -71,6 +71,12 @@ Whether to also collect each attached flow's own metrics, on top of this plan's
|
|
|
71
71
|
.TP
|
|
72
72
|
\fB\-\-include\-automatic\-metrics\fR
|
|
73
73
|
Whether to let the run add metrics by itself off the attached flows. See `POST /v1/simulation/plan`. Optional.
|
|
74
|
+
.TP
|
|
75
|
+
\fB\-\-comparison\-property\fR \fI<value>\fR
|
|
76
|
+
The property this plan investigates. Send `null` to clear the comparison; omit the field to leave it unchanged. See `POST /v1/simulation/plan`. The pair moves together. Sending `comparisonProperty` also sets `comparisonBaseline` to whatever this request carries, or to `null` if it carries none, because a baseline is a value of one specific property and keeping the old one would store a pair that is not valid. One of: ACCENT, AGE, BACKGROUND_NOISE, BACKGROUND_NOISE_VOLUME, BASE_EMOTION, CONFIRMATION_STYLE, GENDER, INTENT_CLARITY, LANGUAGE, MEMORY_RELIABILITY, RESPONSE_TIMING, SPEECH_CLARITY, SPEECH_PACE. Optional.
|
|
77
|
+
.TP
|
|
78
|
+
\fB\-\-comparison\-baseline\fR \fI<value>\fR
|
|
79
|
+
The value every other value is measured against. See `POST /v1/simulation/plan`. A real value cannot be sent on its own: the property it belongs to decides which values are legal, and an omitted property means "leave unchanged", which this endpoint cannot check a baseline against. Send `comparisonProperty` with it, or get a `400`. `null` on its own IS allowed, and clears just the baseline while leaving the property set. Nothing needs validating when clearing, and a property with no baseline is a real state: the report falls back to that property's own norm, and `GENDER` has no norm to fall back to. Optional.
|
|
74
80
|
.SH "GLOBAL OPTIONS"
|
|
75
81
|
.TP
|
|
76
82
|
\fB\-\-data\fR \fI<json>\fR
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roarkanalytics/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@roarkanalytics/cli",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.19.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@roarkanalytics/sdk": "^3.2.1",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"node_modules/@roarkanalytics/sdk": {
|
|
24
|
-
"version": "3.
|
|
25
|
-
"resolved": "https://registry.npmjs.org/@roarkanalytics/sdk/-/sdk-3.
|
|
26
|
-
"integrity": "sha512-
|
|
24
|
+
"version": "3.16.0",
|
|
25
|
+
"resolved": "https://registry.npmjs.org/@roarkanalytics/sdk/-/sdk-3.16.0.tgz",
|
|
26
|
+
"integrity": "sha512-8YhiGaUfDU/dBUkKkD/Bfw9+Lyi8ws+JI7zfvQudK1agq7j4tdLuHRPCaJMnt4nABhPxuxpK7JUXDYFfZKUOcQ==",
|
|
27
27
|
"license": "Apache-2.0"
|
|
28
28
|
},
|
|
29
29
|
"node_modules/commander": {
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.19.0";
|
package/version.js
CHANGED