@roarkanalytics/cli 0.34.0 → 0.35.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.35.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.34.0...v0.35.0) (2026-10-02)
4
+
5
+
6
+ ### Features
7
+
8
+ * **cli:** cli update ([#87](https://github.com/roarkhq/cli-roark-analytics/issues/87)) ([5638f3c](https://github.com/roarkhq/cli-roark-analytics/commit/5638f3c98037668adf8d41820b966ce301f133ff))
9
+
3
10
  ## [0.34.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.33.0...v0.34.0) (2026-10-02)
4
11
 
5
12
 
package/commands.js CHANGED
@@ -4714,6 +4714,24 @@ exports.COMMANDS = [
4714
4714
  valueKind: 'integer',
4715
4715
  repeatable: false,
4716
4716
  },
4717
+ {
4718
+ name: 'max-no-response-retries',
4719
+ path: ['maxNoResponseRetries'],
4720
+ location: 'body',
4721
+ required: false,
4722
+ description: 'How many more times to run a test case when the agent under test never responds: it never speaks on a call or never replies in a chat (0-10). 0 turns retries off. Failed checks and failures on Roark’s side are never retried. Each retry is a separate attempt, billed like any other, so a plan retrying N times can place up to N + 1 calls per test case. Every silent attempt stays on the run with its own call; the run settles once each test case has a final attempt, and the agent never spoke verdict is judged on each test case’s last attempt.',
4723
+ valueKind: 'integer',
4724
+ repeatable: false,
4725
+ },
4726
+ {
4727
+ name: 'no-response-retry-backoff-seconds',
4728
+ path: ['noResponseRetryBackoffSeconds'],
4729
+ location: 'body',
4730
+ required: false,
4731
+ description: 'Seconds a retry waits before it dials (30-600). Only used when `maxNoResponseRetries` is above 0.',
4732
+ valueKind: 'integer',
4733
+ repeatable: false,
4734
+ },
4717
4735
  {
4718
4736
  name: 'end-call-phrases',
4719
4737
  path: ['endCallPhrases'],
@@ -5228,6 +5246,24 @@ exports.COMMANDS = [
5228
5246
  valueKind: 'integer',
5229
5247
  repeatable: false,
5230
5248
  },
5249
+ {
5250
+ name: 'max-no-response-retries',
5251
+ path: ['maxNoResponseRetries'],
5252
+ location: 'body',
5253
+ required: false,
5254
+ description: 'How many more times to run a test case when the agent under test never responds: it never speaks on a call or never replies in a chat (0-10). 0 turns retries off. Failed checks and failures on Roark’s side are never retried. Each retry is a separate attempt, billed like any other, so a plan retrying N times can place up to N + 1 calls per test case. Every silent attempt stays on the run with its own call; the run settles once each test case has a final attempt, and the agent never spoke verdict is judged on each test case’s last attempt.',
5255
+ valueKind: 'integer',
5256
+ repeatable: false,
5257
+ },
5258
+ {
5259
+ name: 'no-response-retry-backoff-seconds',
5260
+ path: ['noResponseRetryBackoffSeconds'],
5261
+ location: 'body',
5262
+ required: false,
5263
+ description: 'Seconds a retry waits before it dials (30-600). Only used when `maxNoResponseRetries` is above 0.',
5264
+ valueKind: 'integer',
5265
+ repeatable: false,
5266
+ },
5231
5267
  {
5232
5268
  name: 'end-call-phrases',
5233
5269
  path: ['endCallPhrases'],
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 build') 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 'agent-config') return 0 ;;\n 'agent-config get') return 0 ;;\n 'agent-config list') return 0 ;;\n 'agent-config promote') return 0 ;;\n 'agent-config resolve') return 0 ;;\n 'agent-config staging') return 0 ;;\n 'agent-config staging delete') return 0 ;;\n 'agent-config update') return 0 ;;\n 'autoimprove') return 0 ;;\n 'autoimprove job') return 0 ;;\n 'autoimprove job answer') return 0 ;;\n 'autoimprove job cancel') return 0 ;;\n 'autoimprove job create') return 0 ;;\n 'autoimprove job dismiss') return 0 ;;\n 'autoimprove job get') return 0 ;;\n 'autoimprove job guidance') return 0 ;;\n 'autoimprove job guidance send') return 0 ;;\n 'autoimprove job list') return 0 ;;\n 'autoimprove job promote') 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 'project') return 0 ;;\n 'project list') 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 job tool-mock') return 0 ;;\n 'simulation job tool-mock list') 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 'simulation tool') return 0 ;;\n 'simulation tool mock') return 0 ;;\n 'simulation tool-fixture') return 0 ;;\n 'simulation tool-fixture create') return 0 ;;\n 'simulation tool-fixture delete') return 0 ;;\n 'simulation tool-fixture list') return 0 ;;\n 'simulation tool-fixture update') 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 'whoami') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent agent-config api auth autoimprove benchmark call completion config customer-flow health http-request-definition metric project simulation webhook whoami' ;;\n 'agent') echo 'build create endpoint get list prompt update' ;;\n 'agent build') echo '' ;;\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 'agent-config') echo 'get list promote resolve staging update' ;;\n 'agent-config get') echo '' ;;\n 'agent-config list') echo '' ;;\n 'agent-config promote') echo '' ;;\n 'agent-config resolve') echo '' ;;\n 'agent-config staging') echo 'delete' ;;\n 'agent-config staging delete') echo '' ;;\n 'agent-config update') echo '' ;;\n 'autoimprove') echo 'job' ;;\n 'autoimprove job') echo 'answer cancel create dismiss get guidance list promote' ;;\n 'autoimprove job answer') echo '' ;;\n 'autoimprove job cancel') echo '' ;;\n 'autoimprove job create') echo '' ;;\n 'autoimprove job dismiss') echo '' ;;\n 'autoimprove job get') echo '' ;;\n 'autoimprove job guidance') echo 'send' ;;\n 'autoimprove job guidance send') echo '' ;;\n 'autoimprove job list') echo '' ;;\n 'autoimprove job promote') 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 'project') echo 'list' ;;\n 'project list') echo '' ;;\n 'simulation') echo 'environment job persona plan run template tool tool-fixture' ;;\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 tool-mock' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation job tool-mock') echo 'list' ;;\n 'simulation job tool-mock list') 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 'simulation tool') echo 'mock' ;;\n 'simulation tool mock') echo '' ;;\n 'simulation tool-fixture') echo 'create delete list update' ;;\n 'simulation tool-fixture create') echo '' ;;\n 'simulation tool-fixture delete') echo '' ;;\n 'simulation tool-fixture list') echo '' ;;\n 'simulation tool-fixture update') 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 'whoami') 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 build') echo '--name --job-description --voice --data --yes --no-input --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 'agent-config') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config resolve') echo '--defaults --session --session.session-id --session.caller-number --session.called-number --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config staging') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config staging delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config update') echo '--channel --document --summary --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job answer') echo '--text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job cancel') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job create') echo '--agent-id --objective-metric-definition-id --objective-label --target-value --staging-agent-id --customer-integration-id --validation-run-plan-id --max-iterations --max-sim-calls --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job dismiss') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job guidance') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job guidance send') echo '--text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job promote') echo '--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 --additional-expectations --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 'project') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'project list') echo '--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 job tool-mock') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job tool-mock list') echo '--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 --interruption --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 --interruption --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 --comparison-values --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 --comparison-values --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 'simulation tool') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool mock') echo '--simulation-job-id --session-id --tool-name --tool-description --arguments --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture create') echo '--tool-name --response --customer-flow-variant-id --description --enabled --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture list') echo '--tool-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture update') echo '--response --description --enabled --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 'whoami') echo '--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 build') 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 'agent-config') return 0 ;;\n 'agent-config get') return 0 ;;\n 'agent-config list') return 0 ;;\n 'agent-config promote') return 0 ;;\n 'agent-config resolve') return 0 ;;\n 'agent-config staging') return 0 ;;\n 'agent-config staging delete') return 0 ;;\n 'agent-config update') return 0 ;;\n 'autoimprove') return 0 ;;\n 'autoimprove job') return 0 ;;\n 'autoimprove job answer') return 0 ;;\n 'autoimprove job cancel') return 0 ;;\n 'autoimprove job create') return 0 ;;\n 'autoimprove job dismiss') return 0 ;;\n 'autoimprove job get') return 0 ;;\n 'autoimprove job guidance') return 0 ;;\n 'autoimprove job guidance send') return 0 ;;\n 'autoimprove job list') return 0 ;;\n 'autoimprove job promote') 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 'project') return 0 ;;\n 'project list') 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 job tool-mock') return 0 ;;\n 'simulation job tool-mock list') 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 'simulation tool') return 0 ;;\n 'simulation tool mock') return 0 ;;\n 'simulation tool-fixture') return 0 ;;\n 'simulation tool-fixture create') return 0 ;;\n 'simulation tool-fixture delete') return 0 ;;\n 'simulation tool-fixture list') return 0 ;;\n 'simulation tool-fixture update') 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 'whoami') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent agent-config api auth autoimprove benchmark call completion config customer-flow health http-request-definition metric project simulation webhook whoami' ;;\n 'agent') echo 'build create endpoint get list prompt update' ;;\n 'agent build') echo '' ;;\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 'agent-config') echo 'get list promote resolve staging update' ;;\n 'agent-config get') echo '' ;;\n 'agent-config list') echo '' ;;\n 'agent-config promote') echo '' ;;\n 'agent-config resolve') echo '' ;;\n 'agent-config staging') echo 'delete' ;;\n 'agent-config staging delete') echo '' ;;\n 'agent-config update') echo '' ;;\n 'autoimprove') echo 'job' ;;\n 'autoimprove job') echo 'answer cancel create dismiss get guidance list promote' ;;\n 'autoimprove job answer') echo '' ;;\n 'autoimprove job cancel') echo '' ;;\n 'autoimprove job create') echo '' ;;\n 'autoimprove job dismiss') echo '' ;;\n 'autoimprove job get') echo '' ;;\n 'autoimprove job guidance') echo 'send' ;;\n 'autoimprove job guidance send') echo '' ;;\n 'autoimprove job list') echo '' ;;\n 'autoimprove job promote') 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 'project') echo 'list' ;;\n 'project list') echo '' ;;\n 'simulation') echo 'environment job persona plan run template tool tool-fixture' ;;\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 tool-mock' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation job tool-mock') echo 'list' ;;\n 'simulation job tool-mock list') 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 'simulation tool') echo 'mock' ;;\n 'simulation tool mock') echo '' ;;\n 'simulation tool-fixture') echo 'create delete list update' ;;\n 'simulation tool-fixture create') echo '' ;;\n 'simulation tool-fixture delete') echo '' ;;\n 'simulation tool-fixture list') echo '' ;;\n 'simulation tool-fixture update') 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 'whoami') 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 build') echo '--name --job-description --voice --data --yes --no-input --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 'agent-config') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config resolve') echo '--defaults --session --session.session-id --session.caller-number --session.called-number --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config staging') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config staging delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config update') echo '--channel --document --summary --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job answer') echo '--text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job cancel') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job create') echo '--agent-id --objective-metric-definition-id --objective-label --target-value --staging-agent-id --customer-integration-id --validation-run-plan-id --max-iterations --max-sim-calls --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job dismiss') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job guidance') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job guidance send') echo '--text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job promote') echo '--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 --additional-expectations --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 'project') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'project list') echo '--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 job tool-mock') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job tool-mock list') echo '--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 --interruption --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 --interruption --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 --comparison-values --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 --comparison-values --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 'simulation tool') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool mock') echo '--simulation-job-id --session-id --tool-name --tool-description --arguments --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture create') echo '--tool-name --response --customer-flow-variant-id --description --enabled --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture list') echo '--tool-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture update') echo '--response --description --enabled --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 'whoami') echo '--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 build'; 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 'agent-config'; return 0\n case 'agent-config get'; return 0\n case 'agent-config list'; return 0\n case 'agent-config promote'; return 0\n case 'agent-config resolve'; return 0\n case 'agent-config staging'; return 0\n case 'agent-config staging delete'; return 0\n case 'agent-config update'; return 0\n case 'autoimprove'; return 0\n case 'autoimprove job'; return 0\n case 'autoimprove job answer'; return 0\n case 'autoimprove job cancel'; return 0\n case 'autoimprove job create'; return 0\n case 'autoimprove job dismiss'; return 0\n case 'autoimprove job get'; return 0\n case 'autoimprove job guidance'; return 0\n case 'autoimprove job guidance send'; return 0\n case 'autoimprove job list'; return 0\n case 'autoimprove job promote'; 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 'project'; return 0\n case 'project list'; 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 job tool-mock'; return 0\n case 'simulation job tool-mock list'; 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 'simulation tool'; return 0\n case 'simulation tool mock'; return 0\n case 'simulation tool-fixture'; return 0\n case 'simulation tool-fixture create'; return 0\n case 'simulation tool-fixture delete'; return 0\n case 'simulation tool-fixture list'; return 0\n case 'simulation tool-fixture update'; 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 'whoami'; return 0\n case '*'; return 1\n end\nend\n\nfunction __roark_children\n switch \"$argv[1]\"\n case ''; echo 'agent\nagent-config\napi\nauth\nautoimprove\nbenchmark\ncall\ncompletion\nconfig\ncustomer-flow\nhealth\nhttp-request-definition\nmetric\nproject\nsimulation\nwebhook\nwhoami'\n case 'agent'; echo 'build\ncreate\nendpoint\nget\nlist\nprompt\nupdate'\n case 'agent build'; echo ''\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 'agent-config'; echo 'get\nlist\npromote\nresolve\nstaging\nupdate'\n case 'agent-config get'; echo ''\n case 'agent-config list'; echo ''\n case 'agent-config promote'; echo ''\n case 'agent-config resolve'; echo ''\n case 'agent-config staging'; echo 'delete'\n case 'agent-config staging delete'; echo ''\n case 'agent-config update'; echo ''\n case 'autoimprove'; echo 'job'\n case 'autoimprove job'; echo 'answer\ncancel\ncreate\ndismiss\nget\nguidance\nlist\npromote'\n case 'autoimprove job answer'; echo ''\n case 'autoimprove job cancel'; echo ''\n case 'autoimprove job create'; echo ''\n case 'autoimprove job dismiss'; echo ''\n case 'autoimprove job get'; echo ''\n case 'autoimprove job guidance'; echo 'send'\n case 'autoimprove job guidance send'; echo ''\n case 'autoimprove job list'; echo ''\n case 'autoimprove job promote'; 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 'project'; echo 'list'\n case 'project list'; echo ''\n case 'simulation'; echo 'environment\njob\npersona\nplan\nrun\ntemplate\ntool\ntool-fixture'\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\ntool-mock'\n case 'simulation job get'; echo ''\n case 'simulation job lookup'; echo ''\n case 'simulation job tool-mock'; echo 'list'\n case 'simulation job tool-mock list'; 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 'simulation tool'; echo 'mock'\n case 'simulation tool mock'; echo ''\n case 'simulation tool-fixture'; echo 'create\ndelete\nlist\nupdate'\n case 'simulation tool-fixture create'; echo ''\n case 'simulation tool-fixture delete'; echo ''\n case 'simulation tool-fixture list'; echo ''\n case 'simulation tool-fixture update'; 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 'whoami'; 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 build'; echo '--name\n--job-description\n--voice\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 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 'agent-config'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent-config 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-config 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-config 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 'agent-config resolve'; echo '--defaults\n--session\n--session.session-id\n--session.caller-number\n--session.called-number\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-config staging'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent-config staging 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 'agent-config update'; echo '--channel\n--document\n--summary\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 'autoimprove'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'autoimprove job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'autoimprove job answer'; echo '--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 'autoimprove 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 'autoimprove job create'; echo '--agent-id\n--objective-metric-definition-id\n--objective-label\n--target-value\n--staging-agent-id\n--customer-integration-id\n--validation-run-plan-id\n--max-iterations\n--max-sim-calls\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 'autoimprove job dismiss'; 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 'autoimprove 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 'autoimprove job guidance'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'autoimprove job guidance send'; echo '--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 'autoimprove job 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 'autoimprove job 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 '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--additional-expectations\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 'project'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'project 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 '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 job tool-mock'; 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 tool-mock 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 '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--interruption\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--interruption\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--comparison-values\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--comparison-values\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 'simulation tool'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation tool mock'; echo '--simulation-job-id\n--session-id\n--tool-name\n--tool-description\n--arguments\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 tool-fixture'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation tool-fixture create'; echo '--tool-name\n--response\n--customer-flow-variant-id\n--description\n--enabled\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 tool-fixture 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 tool-fixture list'; echo '--tool-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 tool-fixture update'; echo '--response\n--description\n--enabled\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'; 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 'whoami'; 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 '*'; 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", "agent-config", "api", "auth", "autoimprove", "benchmark", "call", "completion", "config", "customer-flow", "health", "http-request-definition", "metric", "project", "simulation", "webhook", "whoami")\n "agent" = @("build", "create", "endpoint", "get", "list", "prompt", "update")\n "agent build" = @()\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 "agent-config" = @("get", "list", "promote", "resolve", "staging", "update")\n "agent-config get" = @()\n "agent-config list" = @()\n "agent-config promote" = @()\n "agent-config resolve" = @()\n "agent-config staging" = @("delete")\n "agent-config staging delete" = @()\n "agent-config update" = @()\n "autoimprove" = @("job")\n "autoimprove job" = @("answer", "cancel", "create", "dismiss", "get", "guidance", "list", "promote")\n "autoimprove job answer" = @()\n "autoimprove job cancel" = @()\n "autoimprove job create" = @()\n "autoimprove job dismiss" = @()\n "autoimprove job get" = @()\n "autoimprove job guidance" = @("send")\n "autoimprove job guidance send" = @()\n "autoimprove job list" = @()\n "autoimprove job promote" = @()\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 "project" = @("list")\n "project list" = @()\n "simulation" = @("environment", "job", "persona", "plan", "run", "template", "tool", "tool-fixture")\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", "tool-mock")\n "simulation job get" = @()\n "simulation job lookup" = @()\n "simulation job tool-mock" = @("list")\n "simulation job tool-mock list" = @()\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 "simulation tool" = @("mock")\n "simulation tool mock" = @()\n "simulation tool-fixture" = @("create", "delete", "list", "update")\n "simulation tool-fixture create" = @()\n "simulation tool-fixture delete" = @()\n "simulation tool-fixture list" = @()\n "simulation tool-fixture update" = @()\n "webhook" = @("create", "delete", "get", "list")\n "webhook create" = @()\n "webhook delete" = @()\n "webhook get" = @()\n "webhook list" = @()\n "whoami" = @()\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 build" = @("--name", "--job-description", "--voice", "--data", "--yes", "--no-input", "--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 "agent-config" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config promote" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config resolve" = @("--defaults", "--session", "--session.session-id", "--session.caller-number", "--session.called-number", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config staging" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config staging delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config update" = @("--channel", "--document", "--summary", "--agent-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job answer" = @("--text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job cancel" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job create" = @("--agent-id", "--objective-metric-definition-id", "--objective-label", "--target-value", "--staging-agent-id", "--customer-integration-id", "--validation-run-plan-id", "--max-iterations", "--max-sim-calls", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job dismiss" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job guidance" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job guidance send" = @("--text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job promote" = @("--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", "--additional-expectations", "--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 "project" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "project list" = @("--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 job tool-mock" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job tool-mock list" = @("--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", "--interruption", "--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", "--interruption", "--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", "--comparison-values", "--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", "--comparison-values", "--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 "simulation tool" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool mock" = @("--simulation-job-id", "--session-id", "--tool-name", "--tool-description", "--arguments", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture create" = @("--tool-name", "--response", "--customer-flow-variant-id", "--description", "--enabled", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture list" = @("--tool-name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture update" = @("--response", "--description", "--enabled", "--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 "whoami" = @("--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 build') 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 'agent-config') return 0 ;;\n 'agent-config get') return 0 ;;\n 'agent-config list') return 0 ;;\n 'agent-config promote') return 0 ;;\n 'agent-config resolve') return 0 ;;\n 'agent-config staging') return 0 ;;\n 'agent-config staging delete') return 0 ;;\n 'agent-config update') return 0 ;;\n 'autoimprove') return 0 ;;\n 'autoimprove job') return 0 ;;\n 'autoimprove job answer') return 0 ;;\n 'autoimprove job cancel') return 0 ;;\n 'autoimprove job create') return 0 ;;\n 'autoimprove job dismiss') return 0 ;;\n 'autoimprove job get') return 0 ;;\n 'autoimprove job guidance') return 0 ;;\n 'autoimprove job guidance send') return 0 ;;\n 'autoimprove job list') return 0 ;;\n 'autoimprove job promote') 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 'project') return 0 ;;\n 'project list') 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 job tool-mock') return 0 ;;\n 'simulation job tool-mock list') 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 'simulation tool') return 0 ;;\n 'simulation tool mock') return 0 ;;\n 'simulation tool-fixture') return 0 ;;\n 'simulation tool-fixture create') return 0 ;;\n 'simulation tool-fixture delete') return 0 ;;\n 'simulation tool-fixture list') return 0 ;;\n 'simulation tool-fixture update') 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 'whoami') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent agent-config api auth autoimprove benchmark call completion config customer-flow health http-request-definition metric project simulation webhook whoami' ;;\n 'agent') echo 'build create endpoint get list prompt update' ;;\n 'agent build') echo '' ;;\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 'agent-config') echo 'get list promote resolve staging update' ;;\n 'agent-config get') echo '' ;;\n 'agent-config list') echo '' ;;\n 'agent-config promote') echo '' ;;\n 'agent-config resolve') echo '' ;;\n 'agent-config staging') echo 'delete' ;;\n 'agent-config staging delete') echo '' ;;\n 'agent-config update') echo '' ;;\n 'autoimprove') echo 'job' ;;\n 'autoimprove job') echo 'answer cancel create dismiss get guidance list promote' ;;\n 'autoimprove job answer') echo '' ;;\n 'autoimprove job cancel') echo '' ;;\n 'autoimprove job create') echo '' ;;\n 'autoimprove job dismiss') echo '' ;;\n 'autoimprove job get') echo '' ;;\n 'autoimprove job guidance') echo 'send' ;;\n 'autoimprove job guidance send') echo '' ;;\n 'autoimprove job list') echo '' ;;\n 'autoimprove job promote') 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 'project') echo 'list' ;;\n 'project list') echo '' ;;\n 'simulation') echo 'environment job persona plan run template tool tool-fixture' ;;\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 tool-mock' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation job tool-mock') echo 'list' ;;\n 'simulation job tool-mock list') 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 'simulation tool') echo 'mock' ;;\n 'simulation tool mock') echo '' ;;\n 'simulation tool-fixture') echo 'create delete list update' ;;\n 'simulation tool-fixture create') echo '' ;;\n 'simulation tool-fixture delete') echo '' ;;\n 'simulation tool-fixture list') echo '' ;;\n 'simulation tool-fixture update') 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 'whoami') 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 build') echo '--name --job-description --voice --data --yes --no-input --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 'agent-config') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config resolve') echo '--defaults --session --session.session-id --session.caller-number --session.called-number --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config staging') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config staging delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config update') echo '--channel --document --summary --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job answer') echo '--text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job cancel') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job create') echo '--agent-id --objective-metric-definition-id --objective-label --target-value --staging-agent-id --customer-integration-id --validation-run-plan-id --max-iterations --max-sim-calls --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job dismiss') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job guidance') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job guidance send') echo '--text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job promote') echo '--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 --additional-expectations --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 'project') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'project list') echo '--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 job tool-mock') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job tool-mock list') echo '--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 --interruption --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 --interruption --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 --max-no-response-retries --no-response-retry-backoff-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 --comparison-values --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 --max-no-response-retries --no-response-retry-backoff-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 --comparison-values --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 'simulation tool') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool mock') echo '--simulation-job-id --session-id --tool-name --tool-description --arguments --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture create') echo '--tool-name --response --customer-flow-variant-id --description --enabled --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture list') echo '--tool-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture update') echo '--response --description --enabled --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 'whoami') echo '--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 build') 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 'agent-config') return 0 ;;\n 'agent-config get') return 0 ;;\n 'agent-config list') return 0 ;;\n 'agent-config promote') return 0 ;;\n 'agent-config resolve') return 0 ;;\n 'agent-config staging') return 0 ;;\n 'agent-config staging delete') return 0 ;;\n 'agent-config update') return 0 ;;\n 'autoimprove') return 0 ;;\n 'autoimprove job') return 0 ;;\n 'autoimprove job answer') return 0 ;;\n 'autoimprove job cancel') return 0 ;;\n 'autoimprove job create') return 0 ;;\n 'autoimprove job dismiss') return 0 ;;\n 'autoimprove job get') return 0 ;;\n 'autoimprove job guidance') return 0 ;;\n 'autoimprove job guidance send') return 0 ;;\n 'autoimprove job list') return 0 ;;\n 'autoimprove job promote') 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 'project') return 0 ;;\n 'project list') 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 job tool-mock') return 0 ;;\n 'simulation job tool-mock list') 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 'simulation tool') return 0 ;;\n 'simulation tool mock') return 0 ;;\n 'simulation tool-fixture') return 0 ;;\n 'simulation tool-fixture create') return 0 ;;\n 'simulation tool-fixture delete') return 0 ;;\n 'simulation tool-fixture list') return 0 ;;\n 'simulation tool-fixture update') 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 'whoami') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent agent-config api auth autoimprove benchmark call completion config customer-flow health http-request-definition metric project simulation webhook whoami' ;;\n 'agent') echo 'build create endpoint get list prompt update' ;;\n 'agent build') echo '' ;;\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 'agent-config') echo 'get list promote resolve staging update' ;;\n 'agent-config get') echo '' ;;\n 'agent-config list') echo '' ;;\n 'agent-config promote') echo '' ;;\n 'agent-config resolve') echo '' ;;\n 'agent-config staging') echo 'delete' ;;\n 'agent-config staging delete') echo '' ;;\n 'agent-config update') echo '' ;;\n 'autoimprove') echo 'job' ;;\n 'autoimprove job') echo 'answer cancel create dismiss get guidance list promote' ;;\n 'autoimprove job answer') echo '' ;;\n 'autoimprove job cancel') echo '' ;;\n 'autoimprove job create') echo '' ;;\n 'autoimprove job dismiss') echo '' ;;\n 'autoimprove job get') echo '' ;;\n 'autoimprove job guidance') echo 'send' ;;\n 'autoimprove job guidance send') echo '' ;;\n 'autoimprove job list') echo '' ;;\n 'autoimprove job promote') 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 'project') echo 'list' ;;\n 'project list') echo '' ;;\n 'simulation') echo 'environment job persona plan run template tool tool-fixture' ;;\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 tool-mock' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation job tool-mock') echo 'list' ;;\n 'simulation job tool-mock list') 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 'simulation tool') echo 'mock' ;;\n 'simulation tool mock') echo '' ;;\n 'simulation tool-fixture') echo 'create delete list update' ;;\n 'simulation tool-fixture create') echo '' ;;\n 'simulation tool-fixture delete') echo '' ;;\n 'simulation tool-fixture list') echo '' ;;\n 'simulation tool-fixture update') 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 'whoami') 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 build') echo '--name --job-description --voice --data --yes --no-input --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 'agent-config') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config resolve') echo '--defaults --session --session.session-id --session.caller-number --session.called-number --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config staging') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config staging delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent-config update') echo '--channel --document --summary --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job answer') echo '--text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job cancel') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job create') echo '--agent-id --objective-metric-definition-id --objective-label --target-value --staging-agent-id --customer-integration-id --validation-run-plan-id --max-iterations --max-sim-calls --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job dismiss') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job guidance') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job guidance send') echo '--text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'autoimprove job promote') echo '--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 --additional-expectations --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 'project') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'project list') echo '--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 job tool-mock') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job tool-mock list') echo '--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 --interruption --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 --interruption --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 --max-no-response-retries --no-response-retry-backoff-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 --comparison-values --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 --max-no-response-retries --no-response-retry-backoff-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 --comparison-values --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 'simulation tool') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool mock') echo '--simulation-job-id --session-id --tool-name --tool-description --arguments --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture create') echo '--tool-name --response --customer-flow-variant-id --description --enabled --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture list') echo '--tool-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation tool-fixture update') echo '--response --description --enabled --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 'whoami') echo '--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 build'; 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 'agent-config'; return 0\n case 'agent-config get'; return 0\n case 'agent-config list'; return 0\n case 'agent-config promote'; return 0\n case 'agent-config resolve'; return 0\n case 'agent-config staging'; return 0\n case 'agent-config staging delete'; return 0\n case 'agent-config update'; return 0\n case 'autoimprove'; return 0\n case 'autoimprove job'; return 0\n case 'autoimprove job answer'; return 0\n case 'autoimprove job cancel'; return 0\n case 'autoimprove job create'; return 0\n case 'autoimprove job dismiss'; return 0\n case 'autoimprove job get'; return 0\n case 'autoimprove job guidance'; return 0\n case 'autoimprove job guidance send'; return 0\n case 'autoimprove job list'; return 0\n case 'autoimprove job promote'; 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 'project'; return 0\n case 'project list'; 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 job tool-mock'; return 0\n case 'simulation job tool-mock list'; 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 'simulation tool'; return 0\n case 'simulation tool mock'; return 0\n case 'simulation tool-fixture'; return 0\n case 'simulation tool-fixture create'; return 0\n case 'simulation tool-fixture delete'; return 0\n case 'simulation tool-fixture list'; return 0\n case 'simulation tool-fixture update'; 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 'whoami'; return 0\n case '*'; return 1\n end\nend\n\nfunction __roark_children\n switch \"$argv[1]\"\n case ''; echo 'agent\nagent-config\napi\nauth\nautoimprove\nbenchmark\ncall\ncompletion\nconfig\ncustomer-flow\nhealth\nhttp-request-definition\nmetric\nproject\nsimulation\nwebhook\nwhoami'\n case 'agent'; echo 'build\ncreate\nendpoint\nget\nlist\nprompt\nupdate'\n case 'agent build'; echo ''\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 'agent-config'; echo 'get\nlist\npromote\nresolve\nstaging\nupdate'\n case 'agent-config get'; echo ''\n case 'agent-config list'; echo ''\n case 'agent-config promote'; echo ''\n case 'agent-config resolve'; echo ''\n case 'agent-config staging'; echo 'delete'\n case 'agent-config staging delete'; echo ''\n case 'agent-config update'; echo ''\n case 'autoimprove'; echo 'job'\n case 'autoimprove job'; echo 'answer\ncancel\ncreate\ndismiss\nget\nguidance\nlist\npromote'\n case 'autoimprove job answer'; echo ''\n case 'autoimprove job cancel'; echo ''\n case 'autoimprove job create'; echo ''\n case 'autoimprove job dismiss'; echo ''\n case 'autoimprove job get'; echo ''\n case 'autoimprove job guidance'; echo 'send'\n case 'autoimprove job guidance send'; echo ''\n case 'autoimprove job list'; echo ''\n case 'autoimprove job promote'; 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 'project'; echo 'list'\n case 'project list'; echo ''\n case 'simulation'; echo 'environment\njob\npersona\nplan\nrun\ntemplate\ntool\ntool-fixture'\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\ntool-mock'\n case 'simulation job get'; echo ''\n case 'simulation job lookup'; echo ''\n case 'simulation job tool-mock'; echo 'list'\n case 'simulation job tool-mock list'; 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 'simulation tool'; echo 'mock'\n case 'simulation tool mock'; echo ''\n case 'simulation tool-fixture'; echo 'create\ndelete\nlist\nupdate'\n case 'simulation tool-fixture create'; echo ''\n case 'simulation tool-fixture delete'; echo ''\n case 'simulation tool-fixture list'; echo ''\n case 'simulation tool-fixture update'; 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 'whoami'; 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 build'; echo '--name\n--job-description\n--voice\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 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 'agent-config'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent-config 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-config 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-config 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 'agent-config resolve'; echo '--defaults\n--session\n--session.session-id\n--session.caller-number\n--session.called-number\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-config staging'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent-config staging 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 'agent-config update'; echo '--channel\n--document\n--summary\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 'autoimprove'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'autoimprove job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'autoimprove job answer'; echo '--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 'autoimprove 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 'autoimprove job create'; echo '--agent-id\n--objective-metric-definition-id\n--objective-label\n--target-value\n--staging-agent-id\n--customer-integration-id\n--validation-run-plan-id\n--max-iterations\n--max-sim-calls\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 'autoimprove job dismiss'; 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 'autoimprove 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 'autoimprove job guidance'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'autoimprove job guidance send'; echo '--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 'autoimprove job 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 'autoimprove job 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 '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--additional-expectations\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 'project'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'project 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 '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 job tool-mock'; 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 tool-mock 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 '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--interruption\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--interruption\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--max-no-response-retries\n--no-response-retry-backoff-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--comparison-values\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--max-no-response-retries\n--no-response-retry-backoff-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--comparison-values\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 'simulation tool'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation tool mock'; echo '--simulation-job-id\n--session-id\n--tool-name\n--tool-description\n--arguments\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 tool-fixture'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation tool-fixture create'; echo '--tool-name\n--response\n--customer-flow-variant-id\n--description\n--enabled\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 tool-fixture 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 tool-fixture list'; echo '--tool-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 tool-fixture update'; echo '--response\n--description\n--enabled\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'; 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 'whoami'; 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 '*'; 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", "agent-config", "api", "auth", "autoimprove", "benchmark", "call", "completion", "config", "customer-flow", "health", "http-request-definition", "metric", "project", "simulation", "webhook", "whoami")\n "agent" = @("build", "create", "endpoint", "get", "list", "prompt", "update")\n "agent build" = @()\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 "agent-config" = @("get", "list", "promote", "resolve", "staging", "update")\n "agent-config get" = @()\n "agent-config list" = @()\n "agent-config promote" = @()\n "agent-config resolve" = @()\n "agent-config staging" = @("delete")\n "agent-config staging delete" = @()\n "agent-config update" = @()\n "autoimprove" = @("job")\n "autoimprove job" = @("answer", "cancel", "create", "dismiss", "get", "guidance", "list", "promote")\n "autoimprove job answer" = @()\n "autoimprove job cancel" = @()\n "autoimprove job create" = @()\n "autoimprove job dismiss" = @()\n "autoimprove job get" = @()\n "autoimprove job guidance" = @("send")\n "autoimprove job guidance send" = @()\n "autoimprove job list" = @()\n "autoimprove job promote" = @()\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 "project" = @("list")\n "project list" = @()\n "simulation" = @("environment", "job", "persona", "plan", "run", "template", "tool", "tool-fixture")\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", "tool-mock")\n "simulation job get" = @()\n "simulation job lookup" = @()\n "simulation job tool-mock" = @("list")\n "simulation job tool-mock list" = @()\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 "simulation tool" = @("mock")\n "simulation tool mock" = @()\n "simulation tool-fixture" = @("create", "delete", "list", "update")\n "simulation tool-fixture create" = @()\n "simulation tool-fixture delete" = @()\n "simulation tool-fixture list" = @()\n "simulation tool-fixture update" = @()\n "webhook" = @("create", "delete", "get", "list")\n "webhook create" = @()\n "webhook delete" = @()\n "webhook get" = @()\n "webhook list" = @()\n "whoami" = @()\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 build" = @("--name", "--job-description", "--voice", "--data", "--yes", "--no-input", "--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 "agent-config" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config promote" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config resolve" = @("--defaults", "--session", "--session.session-id", "--session.caller-number", "--session.called-number", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config staging" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config staging delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent-config update" = @("--channel", "--document", "--summary", "--agent-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job answer" = @("--text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job cancel" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job create" = @("--agent-id", "--objective-metric-definition-id", "--objective-label", "--target-value", "--staging-agent-id", "--customer-integration-id", "--validation-run-plan-id", "--max-iterations", "--max-sim-calls", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job dismiss" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job guidance" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job guidance send" = @("--text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "autoimprove job promote" = @("--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", "--additional-expectations", "--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 "project" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "project list" = @("--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 job tool-mock" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job tool-mock list" = @("--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", "--interruption", "--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", "--interruption", "--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", "--max-no-response-retries", "--no-response-retry-backoff-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", "--comparison-values", "--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", "--max-no-response-retries", "--no-response-retry-backoff-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", "--comparison-values", "--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 "simulation tool" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool mock" = @("--simulation-job-id", "--session-id", "--tool-name", "--tool-description", "--arguments", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture create" = @("--tool-name", "--response", "--customer-flow-variant-id", "--description", "--enabled", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture list" = @("--tool-name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation tool-fixture update" = @("--response", "--description", "--enabled", "--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 "whoami" = @("--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
  };
@@ -32,6 +32,12 @@ Maximum duration in seconds for each simulation Required.
32
32
  \fB\-\-silence\-timeout\-seconds\fR \fI<value>\fR
33
33
  Timeout in seconds for silence detection Optional.
34
34
  .TP
35
+ \fB\-\-max\-no\-response\-retries\fR \fI<value>\fR
36
+ How many more times to run a test case when the agent under test never responds: it never speaks on a call or never replies in a chat (0\-10). 0 turns retries off. Failed checks and failures on Roark’s side are never retried. Each retry is a separate attempt, billed like any other, so a plan retrying N times can place up to N + 1 calls per test case. Every silent attempt stays on the run with its own call; the run settles once each test case has a final attempt, and the agent never spoke verdict is judged on each test case’s last attempt. Optional.
37
+ .TP
38
+ \fB\-\-no\-response\-retry\-backoff\-seconds\fR \fI<value>\fR
39
+ Seconds a retry waits before it dials (30\-600). Only used when `maxNoResponseRetries` is above 0. Optional.
40
+ .TP
35
41
  \fB\-\-end\-call\-phrases\fR \fI<value>\fR
36
42
  Phrases that trigger end of call. Empty array disables the feature. Repeatable. Optional.
37
43
  .TP
@@ -39,6 +39,12 @@ Maximum duration in seconds for each simulation Optional.
39
39
  \fB\-\-silence\-timeout\-seconds\fR \fI<value>\fR
40
40
  Timeout in seconds for silence detection Optional.
41
41
  .TP
42
+ \fB\-\-max\-no\-response\-retries\fR \fI<value>\fR
43
+ How many more times to run a test case when the agent under test never responds: it never speaks on a call or never replies in a chat (0\-10). 0 turns retries off. Failed checks and failures on Roark’s side are never retried. Each retry is a separate attempt, billed like any other, so a plan retrying N times can place up to N + 1 calls per test case. Every silent attempt stays on the run with its own call; the run settles once each test case has a final attempt, and the agent never spoke verdict is judged on each test case’s last attempt. Optional.
44
+ .TP
45
+ \fB\-\-no\-response\-retry\-backoff\-seconds\fR \fI<value>\fR
46
+ Seconds a retry waits before it dials (30\-600). Only used when `maxNoResponseRetries` is above 0. Optional.
47
+ .TP
42
48
  \fB\-\-end\-call\-phrases\fR \fI<value>\fR
43
49
  Phrases that trigger end of call. Empty array disables the feature. Repeatable. Optional.
44
50
  .TP
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@roarkanalytics/cli",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@roarkanalytics/cli",
9
- "version": "0.34.0",
9
+ "version": "0.35.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@roarkanalytics/sdk": "^4.15.0",
@@ -21,9 +21,9 @@
21
21
  }
22
22
  },
23
23
  "node_modules/@roarkanalytics/sdk": {
24
- "version": "4.19.0",
25
- "resolved": "https://registry.npmjs.org/@roarkanalytics/sdk/-/sdk-4.19.0.tgz",
26
- "integrity": "sha512-m9y4PKaC7pn2CFpWCOHJFSDruyOYlcEK4QQdLU0semjNqZcW9ZRCrMAN+XctPC5ulEfq0W8zmi8bKyMrYbXzyg==",
24
+ "version": "4.20.0",
25
+ "resolved": "https://registry.npmjs.org/@roarkanalytics/sdk/-/sdk-4.20.0.tgz",
26
+ "integrity": "sha512-IclxkzUd8WpjX3W5yhI/rUFcMbCXaVqym67A91pXzb2woGOsYMbH58GIj3Xvd24EChL14wjcLrH1Ev8lVGoxUA==",
27
27
  "license": "Apache-2.0"
28
28
  },
29
29
  "node_modules/commander": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roarkanalytics/cli",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "description": "The official command line interface for the Roark API",
5
5
  "author": "Roark <james@roark.ai>",
6
6
  "type": "commonjs",
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.34.0";
1
+ export declare const version = "0.35.0";
package/version.js CHANGED
@@ -10,4 +10,4 @@ exports.version = void 0;
10
10
  //
11
11
  // Do not edit: an edit here is overwritten, and the published number is whatever
12
12
  // package.json says.
13
- exports.version = '0.34.0'; // x-release-please-version
13
+ exports.version = '0.35.0'; // x-release-please-version