@roarkanalytics/cli 0.24.0 → 0.25.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 +7 -0
- package/README.md +1 -0
- package/commands.js +45 -0
- package/completions.js +4 -4
- package/man/roark-agent-build.1 +99 -0
- package/man/roark.1 +3 -0
- package/npm-shrinkwrap.json +5 -5
- package/package.json +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.25.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.24.0...v0.25.0) (2026-09-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **cli:** cli update ([#62](https://github.com/roarkhq/cli-roark-analytics/issues/62)) ([940ab33](https://github.com/roarkhq/cli-roark-analytics/commit/940ab3309f5d28787e74d4644dabdbb81b6b5e45))
|
|
9
|
+
|
|
3
10
|
## [0.24.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.23.1...v0.24.0) (2026-09-22)
|
|
4
11
|
|
|
5
12
|
|
package/README.md
CHANGED
|
@@ -110,6 +110,7 @@ roark completion fish | source
|
|
|
110
110
|
|
|
111
111
|
| Command | Description |
|
|
112
112
|
| ------------------------------------------------------------------------------------ | --------------------------- |
|
|
113
|
+
| `roark agent build --name <value> --job-description <value>` | Build a Roark-hosted agent |
|
|
113
114
|
| `roark agent create --name <value>` | Create a new agent |
|
|
114
115
|
| `roark agent endpoint create --agent-id <value> --value <value> --direction <value>` | Create a new agent endpoint |
|
|
115
116
|
| `roark agent endpoint get <endpoint-id>` | Get agent endpoint by ID |
|
package/commands.js
CHANGED
|
@@ -50,6 +50,51 @@ exports.GROUPS = {
|
|
|
50
50
|
webhook: 'Manage webhooks',
|
|
51
51
|
};
|
|
52
52
|
exports.COMMANDS = [
|
|
53
|
+
{
|
|
54
|
+
commandPath: ['agent', 'build'],
|
|
55
|
+
clientProperty: 'agent',
|
|
56
|
+
methodName: 'build',
|
|
57
|
+
httpMethod: 'post',
|
|
58
|
+
httpPath: '/v1/agent/build',
|
|
59
|
+
summary: 'Build a Roark-hosted agent',
|
|
60
|
+
description: 'Creates a new Roark-hosted agent from a one-line job description. Roark authors the system prompt and hosts the config, so the agent is live and self-improvable from creation.',
|
|
61
|
+
positionals: [],
|
|
62
|
+
flags: [
|
|
63
|
+
{
|
|
64
|
+
name: 'name',
|
|
65
|
+
path: ['name'],
|
|
66
|
+
location: 'body',
|
|
67
|
+
required: true,
|
|
68
|
+
description: 'Name of the agent',
|
|
69
|
+
valueKind: 'string',
|
|
70
|
+
repeatable: false,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'job-description',
|
|
74
|
+
path: ['jobDescription'],
|
|
75
|
+
location: 'body',
|
|
76
|
+
required: true,
|
|
77
|
+
description: 'One-line description of what the agent should do. Roark authors the system prompt from this.',
|
|
78
|
+
valueKind: 'string',
|
|
79
|
+
repeatable: false,
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'voice',
|
|
83
|
+
path: ['voice'],
|
|
84
|
+
location: 'body',
|
|
85
|
+
required: false,
|
|
86
|
+
description: 'Optional voice label for the hosted agent',
|
|
87
|
+
valueKind: 'string',
|
|
88
|
+
repeatable: false,
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
hasParams: true,
|
|
92
|
+
paramsAllOptional: false,
|
|
93
|
+
bodyOpaque: false,
|
|
94
|
+
bodyVariants: [],
|
|
95
|
+
acceptsBody: true,
|
|
96
|
+
requiresAuth: true,
|
|
97
|
+
},
|
|
53
98
|
{
|
|
54
99
|
commandPath: ['agent', 'create'],
|
|
55
100
|
clientProperty: 'agent',
|
package/completions.js
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.COMPLETIONS = void 0;
|
|
8
8
|
exports.COMPLETIONS = {
|
|
9
|
-
bash: "# roark completion for bash. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent create') return 0 ;;\n 'agent endpoint') return 0 ;;\n 'agent endpoint create') return 0 ;;\n 'agent endpoint get') return 0 ;;\n 'agent endpoint list') return 0 ;;\n 'agent endpoint update') return 0 ;;\n 'agent get') return 0 ;;\n 'agent list') return 0 ;;\n 'agent prompt') return 0 ;;\n 'agent prompt list') return 0 ;;\n 'agent prompt update') return 0 ;;\n 'agent prompt version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') return 0 ;;\n '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 'simulation') return 0 ;;\n 'simulation environment') return 0 ;;\n 'simulation environment create') return 0 ;;\n 'simulation environment delete') return 0 ;;\n 'simulation environment get') return 0 ;;\n 'simulation environment list') return 0 ;;\n 'simulation environment update') return 0 ;;\n 'simulation job') return 0 ;;\n 'simulation job get') return 0 ;;\n 'simulation job lookup') return 0 ;;\n 'simulation persona') return 0 ;;\n 'simulation persona create') return 0 ;;\n 'simulation persona get') return 0 ;;\n 'simulation persona list') return 0 ;;\n 'simulation persona update') return 0 ;;\n 'simulation plan') return 0 ;;\n 'simulation plan create') return 0 ;;\n 'simulation plan delete') return 0 ;;\n 'simulation plan get') return 0 ;;\n 'simulation plan job') return 0 ;;\n 'simulation plan job cancel') return 0 ;;\n 'simulation plan job get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent agent-config api auth autoimprove benchmark call completion config customer-flow health http-request-definition metric simulation webhook' ;;\n 'agent') echo 'create endpoint get list prompt update' ;;\n 'agent create') echo '' ;;\n 'agent endpoint') echo 'create get list update' ;;\n 'agent endpoint create') echo '' ;;\n 'agent endpoint get') echo '' ;;\n 'agent endpoint list') echo '' ;;\n 'agent endpoint update') echo '' ;;\n 'agent get') echo '' ;;\n 'agent list') echo '' ;;\n 'agent prompt') echo 'list update version' ;;\n 'agent prompt list') echo '' ;;\n 'agent prompt update') echo '' ;;\n 'agent prompt version') echo 'list' ;;\n 'agent prompt version list') echo '' ;;\n 'agent update') echo '' ;;\n '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 'simulation') echo 'environment job persona plan run template' ;;\n 'simulation environment') echo 'create delete get list update' ;;\n 'simulation environment create') echo '' ;;\n 'simulation environment delete') echo '' ;;\n 'simulation environment get') echo '' ;;\n 'simulation environment list') echo '' ;;\n 'simulation environment update') echo '' ;;\n 'simulation job') echo 'get lookup' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation persona') echo 'create get list update' ;;\n 'simulation persona create') echo '' ;;\n 'simulation persona get') echo '' ;;\n 'simulation persona list') echo '' ;;\n 'simulation persona update') echo '' ;;\n 'simulation plan') echo 'create delete get job list update' ;;\n 'simulation plan create') echo '' ;;\n 'simulation plan delete') echo '' ;;\n 'simulation plan get') echo '' ;;\n 'simulation plan job') echo 'cancel get list start' ;;\n 'simulation plan job cancel') echo '' ;;\n 'simulation plan job get') echo '' ;;\n 'simulation plan job list') echo '' ;;\n 'simulation plan job start') echo '' ;;\n 'simulation plan list') echo '' ;;\n 'simulation plan update') echo '' ;;\n 'simulation run') echo '' ;;\n 'simulation template') echo 'list' ;;\n 'simulation template list') echo '' ;;\n 'webhook') echo 'create delete get list' ;;\n 'webhook create') echo '' ;;\n 'webhook delete') echo '' ;;\n 'webhook get') echo '' ;;\n 'webhook list') echo '' ;;\n *) echo '' ;;\n esac\n}\n\n_roark_flags() {\n case \"$1\" in\n '') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent create') echo '--name --description --custom-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint create') echo '--agent-id --value --environment --direction --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint list') echo '--limit --after --agent-id --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint update') echo '--environment --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt update') echo '--prompt --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent update') echo '--name --description --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n '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 --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --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 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local cur path candidate word i\n cur=\"${COMP_WORDS[COMP_CWORD]}\"\n path=\"\"\n\n for (( i = 1; i < COMP_CWORD; i++ )); do\n word=\"${COMP_WORDS[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [ -z \"$path\" ]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n case \"$cur\" in\n -*) COMPREPLY=( $(compgen -W \"$(_roark_flags \"$path\")\" -- \"$cur\") ) ;;\n *) COMPREPLY=( $(compgen -W \"$(_roark_children \"$path\")\" -- \"$cur\") ) ;;\n esac\n}\n\ncomplete -F _roark roark\n",
|
|
10
|
-
zsh: "#compdef roark\n# roark completion for zsh. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent create') return 0 ;;\n 'agent endpoint') return 0 ;;\n 'agent endpoint create') return 0 ;;\n 'agent endpoint get') return 0 ;;\n 'agent endpoint list') return 0 ;;\n 'agent endpoint update') return 0 ;;\n 'agent get') return 0 ;;\n 'agent list') return 0 ;;\n 'agent prompt') return 0 ;;\n 'agent prompt list') return 0 ;;\n 'agent prompt update') return 0 ;;\n 'agent prompt version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') return 0 ;;\n '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 'simulation') return 0 ;;\n 'simulation environment') return 0 ;;\n 'simulation environment create') return 0 ;;\n 'simulation environment delete') return 0 ;;\n 'simulation environment get') return 0 ;;\n 'simulation environment list') return 0 ;;\n 'simulation environment update') return 0 ;;\n 'simulation job') return 0 ;;\n 'simulation job get') return 0 ;;\n 'simulation job lookup') return 0 ;;\n 'simulation persona') return 0 ;;\n 'simulation persona create') return 0 ;;\n 'simulation persona get') return 0 ;;\n 'simulation persona list') return 0 ;;\n 'simulation persona update') return 0 ;;\n 'simulation plan') return 0 ;;\n 'simulation plan create') return 0 ;;\n 'simulation plan delete') return 0 ;;\n 'simulation plan get') return 0 ;;\n 'simulation plan job') return 0 ;;\n 'simulation plan job cancel') return 0 ;;\n 'simulation plan job get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent agent-config api auth autoimprove benchmark call completion config customer-flow health http-request-definition metric simulation webhook' ;;\n 'agent') echo 'create endpoint get list prompt update' ;;\n 'agent create') echo '' ;;\n 'agent endpoint') echo 'create get list update' ;;\n 'agent endpoint create') echo '' ;;\n 'agent endpoint get') echo '' ;;\n 'agent endpoint list') echo '' ;;\n 'agent endpoint update') echo '' ;;\n 'agent get') echo '' ;;\n 'agent list') echo '' ;;\n 'agent prompt') echo 'list update version' ;;\n 'agent prompt list') echo '' ;;\n 'agent prompt update') echo '' ;;\n 'agent prompt version') echo 'list' ;;\n 'agent prompt version list') echo '' ;;\n 'agent update') echo '' ;;\n '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 'simulation') echo 'environment job persona plan run template' ;;\n 'simulation environment') echo 'create delete get list update' ;;\n 'simulation environment create') echo '' ;;\n 'simulation environment delete') echo '' ;;\n 'simulation environment get') echo '' ;;\n 'simulation environment list') echo '' ;;\n 'simulation environment update') echo '' ;;\n 'simulation job') echo 'get lookup' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation persona') echo 'create get list update' ;;\n 'simulation persona create') echo '' ;;\n 'simulation persona get') echo '' ;;\n 'simulation persona list') echo '' ;;\n 'simulation persona update') echo '' ;;\n 'simulation plan') echo 'create delete get job list update' ;;\n 'simulation plan create') echo '' ;;\n 'simulation plan delete') echo '' ;;\n 'simulation plan get') echo '' ;;\n 'simulation plan job') echo 'cancel get list start' ;;\n 'simulation plan job cancel') echo '' ;;\n 'simulation plan job get') echo '' ;;\n 'simulation plan job list') echo '' ;;\n 'simulation plan job start') echo '' ;;\n 'simulation plan list') echo '' ;;\n 'simulation plan update') echo '' ;;\n 'simulation run') echo '' ;;\n 'simulation template') echo 'list' ;;\n 'simulation template list') echo '' ;;\n 'webhook') echo 'create delete get list' ;;\n 'webhook create') echo '' ;;\n 'webhook delete') echo '' ;;\n 'webhook get') echo '' ;;\n 'webhook list') echo '' ;;\n *) echo '' ;;\n esac\n}\n\n_roark_flags() {\n case \"$1\" in\n '') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent create') echo '--name --description --custom-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint create') echo '--agent-id --value --environment --direction --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint list') echo '--limit --after --agent-id --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent endpoint update') echo '--environment --outbound-dial-type --outbound-dial-http-request-definition-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt update') echo '--prompt --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent prompt version list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent update') echo '--name --description --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n '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 --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --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 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local path candidate word cur\n local -a walked\n path=\"\"\n cur=\"${words[CURRENT]}\"\n\n for (( i = 2; i < CURRENT; i++ )); do\n word=\"${words[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [[ -z \"$path\" ]]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n if [[ \"$cur\" == -* ]]; then\n compadd -- ${=$(_roark_flags \"$path\")}\n else\n compadd -- ${=$(_roark_children \"$path\")}\n fi\n}\n\ncompdef _roark roark\n",
|
|
11
|
-
fish: "# roark completion for fish. Generated by app-agent-codegen; do not edit.\n\nfunction __roark_is_node\n switch \"$argv[1]\"\n case ''; return 0\n case 'agent'; return 0\n case 'agent create'; return 0\n case 'agent endpoint'; return 0\n case 'agent endpoint create'; return 0\n case 'agent endpoint get'; return 0\n case 'agent endpoint list'; return 0\n case 'agent endpoint update'; return 0\n case 'agent get'; return 0\n case 'agent list'; return 0\n case 'agent prompt'; return 0\n case 'agent prompt list'; return 0\n case 'agent prompt update'; return 0\n case 'agent prompt version'; return 0\n case 'agent prompt version list'; return 0\n case 'agent update'; return 0\n case '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 'simulation'; return 0\n case 'simulation environment'; return 0\n case 'simulation environment create'; return 0\n case 'simulation environment delete'; return 0\n case 'simulation environment get'; return 0\n case 'simulation environment list'; return 0\n case 'simulation environment update'; return 0\n case 'simulation job'; return 0\n case 'simulation job get'; return 0\n case 'simulation job lookup'; return 0\n case 'simulation persona'; return 0\n case 'simulation persona create'; return 0\n case 'simulation persona get'; return 0\n case 'simulation persona list'; return 0\n case 'simulation persona update'; return 0\n case 'simulation plan'; return 0\n case 'simulation plan create'; return 0\n case 'simulation plan delete'; return 0\n case 'simulation plan get'; return 0\n case 'simulation plan job'; return 0\n case 'simulation plan job cancel'; return 0\n case 'simulation plan job get'; return 0\n case 'simulation plan job list'; return 0\n case 'simulation plan job start'; return 0\n case 'simulation plan list'; return 0\n case 'simulation plan update'; return 0\n case 'simulation run'; return 0\n case 'simulation template'; return 0\n case 'simulation template list'; return 0\n case 'webhook'; return 0\n case 'webhook create'; return 0\n case 'webhook delete'; return 0\n case 'webhook get'; return 0\n case 'webhook list'; return 0\n case '*'; return 1\n end\nend\n\nfunction __roark_children\n switch \"$argv[1]\"\n case ''; echo 'agent\nagent-config\napi\nauth\nautoimprove\nbenchmark\ncall\ncompletion\nconfig\ncustomer-flow\nhealth\nhttp-request-definition\nmetric\nsimulation\nwebhook'\n case 'agent'; echo 'create\nendpoint\nget\nlist\nprompt\nupdate'\n case 'agent create'; echo ''\n case 'agent endpoint'; echo 'create\nget\nlist\nupdate'\n case 'agent endpoint create'; echo ''\n case 'agent endpoint get'; echo ''\n case 'agent endpoint list'; echo ''\n case 'agent endpoint update'; echo ''\n case 'agent get'; echo ''\n case 'agent list'; echo ''\n case 'agent prompt'; echo 'list\nupdate\nversion'\n case 'agent prompt list'; echo ''\n case 'agent prompt update'; echo ''\n case 'agent prompt version'; echo 'list'\n case 'agent prompt version list'; echo ''\n case 'agent update'; echo ''\n case '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 'simulation'; echo 'environment\njob\npersona\nplan\nrun\ntemplate'\n case 'simulation environment'; echo 'create\ndelete\nget\nlist\nupdate'\n case 'simulation environment create'; echo ''\n case 'simulation environment delete'; echo ''\n case 'simulation environment get'; echo ''\n case 'simulation environment list'; echo ''\n case 'simulation environment update'; echo ''\n case 'simulation job'; echo 'get\nlookup'\n case 'simulation job get'; echo ''\n case 'simulation job lookup'; echo ''\n case 'simulation persona'; echo 'create\nget\nlist\nupdate'\n case 'simulation persona create'; echo ''\n case 'simulation persona get'; echo ''\n case 'simulation persona list'; echo ''\n case 'simulation persona update'; echo ''\n case 'simulation plan'; echo 'create\ndelete\nget\njob\nlist\nupdate'\n case 'simulation plan create'; echo ''\n case 'simulation plan delete'; echo ''\n case 'simulation plan get'; echo ''\n case 'simulation plan job'; echo 'cancel\nget\nlist\nstart'\n case 'simulation plan job cancel'; echo ''\n case 'simulation plan job get'; echo ''\n case 'simulation plan job list'; echo ''\n case 'simulation plan job start'; echo ''\n case 'simulation plan list'; echo ''\n case 'simulation plan update'; echo ''\n case 'simulation run'; echo ''\n case 'simulation template'; echo 'list'\n case 'simulation template list'; echo ''\n case 'webhook'; echo 'create\ndelete\nget\nlist'\n case 'webhook create'; echo ''\n case 'webhook delete'; echo ''\n case 'webhook get'; echo ''\n case 'webhook list'; echo ''\n case '*'; echo ''\n end\nend\n\nfunction __roark_flags\n switch \"$argv[1]\"\n case ''; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent create'; echo '--name\n--description\n--custom-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint create'; echo '--agent-id\n--value\n--environment\n--direction\n--outbound-dial-type\n--outbound-dial-http-request-definition-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint list'; echo '--limit\n--after\n--agent-id\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent endpoint update'; echo '--environment\n--outbound-dial-type\n--outbound-dial-http-request-definition-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent list'; echo '--limit\n--after\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt update'; echo '--prompt\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt version'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent prompt version list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent update'; echo '--name\n--description\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case '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--persona-override-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case promote'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph replace'; echo '--graph\n--allow-unmerge\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow list'; echo '--limit\n--after\n--search-text\n--type\n--include-system\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow update'; echo '--title\n--description\n--script-adherence\n--off-script-policy\n--off-script-policy.reaction\n--off-script-policy.say-line\n--off-script-policy.max-attempts\n--off-script-policy.then\n--off-script-policy.wait-seconds\n--branching-mode\n--agent-ids\n--agent-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'health'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition create'; echo '--scope\n--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition update'; echo '--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job create'; echo '--call-ids\n--chat-ids\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition create'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--scale-labels\n--boolean-true-label\n--boolean-false-label\n--classification-options\n--max-classifications\n--tool-definition-ids\n--supported-contexts\n--formula\n--sources\n--change-reason\n--slug\n--metric-id\n--source\n--organization-id\n--project-id\n--output-type\n--scope\n--participant-role\n--calc-type\n--supports-multiple-variants\n--analysis-package-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy create'; echo '--name\n--status\n--modality\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy update'; echo '--name\n--status\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant create'; echo '--name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--boolean-true-label\n--boolean-false-label\n--max-classifications\n--change-reason\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment create'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment update'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job lookup'; echo '--roark-phone-number\n--call-received-at\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona create'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--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 'webhook'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook create'; echo '--url\n--description\n--headers\n--events\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case '*'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n end\nend\n\nfunction __roark_path\n set -l tokens (commandline -opc)\n set -l path \"\"\n for word in $tokens[2..-1]\n if string match -q -- '-*' $word\n continue\n end\n set -l candidate\n if test -z \"$path\"\n set candidate $word\n else\n set candidate \"$path $word\"\n end\n if __roark_is_node \"$candidate\"\n set path \"$candidate\"\n else\n break\n end\n end\n echo $path\nend\n\nfunction __roark_complete\n set -l path (__roark_path)\n set -l token (commandline -ct)\n if string match -q -- '-*' $token\n __roark_flags \"$path\"\n else\n __roark_children \"$path\"\n end\nend\n\ncomplete -c roark -f -a \"(__roark_complete)\"\n",
|
|
12
|
-
powershell: '# roark completion for PowerShell. Generated by app-agent-codegen; do not edit.\n\n$roarkChildren = @{\n "" = @("agent", "agent-config", "api", "auth", "autoimprove", "benchmark", "call", "completion", "config", "customer-flow", "health", "http-request-definition", "metric", "simulation", "webhook")\n "agent" = @("create", "endpoint", "get", "list", "prompt", "update")\n "agent create" = @()\n "agent endpoint" = @("create", "get", "list", "update")\n "agent endpoint create" = @()\n "agent endpoint get" = @()\n "agent endpoint list" = @()\n "agent endpoint update" = @()\n "agent get" = @()\n "agent list" = @()\n "agent prompt" = @("list", "update", "version")\n "agent prompt list" = @()\n "agent prompt update" = @()\n "agent prompt version" = @("list")\n "agent prompt version list" = @()\n "agent update" = @()\n "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 "simulation" = @("environment", "job", "persona", "plan", "run", "template")\n "simulation environment" = @("create", "delete", "get", "list", "update")\n "simulation environment create" = @()\n "simulation environment delete" = @()\n "simulation environment get" = @()\n "simulation environment list" = @()\n "simulation environment update" = @()\n "simulation job" = @("get", "lookup")\n "simulation job get" = @()\n "simulation job lookup" = @()\n "simulation persona" = @("create", "get", "list", "update")\n "simulation persona create" = @()\n "simulation persona get" = @()\n "simulation persona list" = @()\n "simulation persona update" = @()\n "simulation plan" = @("create", "delete", "get", "job", "list", "update")\n "simulation plan create" = @()\n "simulation plan delete" = @()\n "simulation plan get" = @()\n "simulation plan job" = @("cancel", "get", "list", "start")\n "simulation plan job cancel" = @()\n "simulation plan job get" = @()\n "simulation plan job list" = @()\n "simulation plan job start" = @()\n "simulation plan list" = @()\n "simulation plan update" = @()\n "simulation run" = @()\n "simulation template" = @("list")\n "simulation template list" = @()\n "webhook" = @("create", "delete", "get", "list")\n "webhook create" = @()\n "webhook delete" = @()\n "webhook get" = @()\n "webhook list" = @()\n}\n\n$roarkFlags = @{\n "" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent create" = @("--name", "--description", "--custom-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint create" = @("--agent-id", "--value", "--environment", "--direction", "--outbound-dial-type", "--outbound-dial-http-request-definition-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint list" = @("--limit", "--after", "--agent-id", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent endpoint update" = @("--environment", "--outbound-dial-type", "--outbound-dial-http-request-definition-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent list" = @("--limit", "--after", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt update" = @("--prompt", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt version" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent prompt version list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent update" = @("--name", "--description", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "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", "--persona-override-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case promote" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph replace" = @("--graph", "--allow-unmerge", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow list" = @("--limit", "--after", "--search-text", "--type", "--include-system", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow update" = @("--title", "--description", "--script-adherence", "--off-script-policy", "--off-script-policy.reaction", "--off-script-policy.say-line", "--off-script-policy.max-attempts", "--off-script-policy.then", "--off-script-policy.wait-seconds", "--branching-mode", "--agent-ids", "--agent-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "health" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition create" = @("--scope", "--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition update" = @("--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job create" = @("--call-ids", "--chat-ids", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition create" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--scale-labels", "--boolean-true-label", "--boolean-false-label", "--classification-options", "--max-classifications", "--tool-definition-ids", "--supported-contexts", "--formula", "--sources", "--change-reason", "--slug", "--metric-id", "--source", "--organization-id", "--project-id", "--output-type", "--scope", "--participant-role", "--calc-type", "--supports-multiple-variants", "--analysis-package-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy create" = @("--name", "--status", "--modality", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy update" = @("--name", "--status", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant create" = @("--name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--boolean-true-label", "--boolean-false-label", "--max-classifications", "--change-reason", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment create" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment update" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job lookup" = @("--roark-phone-number", "--call-received-at", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona create" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--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 "webhook" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook create" = @("--url", "--description", "--headers", "--events", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n}\n\nRegister-ArgumentCompleter -Native -CommandName roark -ScriptBlock {\n param($wordToComplete, $commandAst, $cursorPosition)\n\n $tokens = @($commandAst.CommandElements | Select-Object -Skip 1 | ForEach-Object { $_.ToString() })\n $path = ""\n\n foreach ($token in $tokens) {\n if ($token.StartsWith("-")) { continue }\n if ($path -eq "") { $candidate = $token } else { $candidate = "$path $token" }\n # Extend only while the next word is a known node, so a flag\'s value is\n # never mistaken for a command.\n if ($roarkChildren.ContainsKey($candidate)) { $path = $candidate } else { break }\n }\n\n if ($wordToComplete.StartsWith("-")) {\n $candidates = $roarkFlags[$path]\n } else {\n $candidates = $roarkChildren[$path]\n }\n\n $candidates | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {\n [System.Management.Automation.CompletionResult]::new($_, $_, \'ParameterValue\', $_)\n }\n}\n',
|
|
9
|
+
bash: "# roark completion for bash. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent 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 'simulation') return 0 ;;\n 'simulation environment') return 0 ;;\n 'simulation environment create') return 0 ;;\n 'simulation environment delete') return 0 ;;\n 'simulation environment get') return 0 ;;\n 'simulation environment list') return 0 ;;\n 'simulation environment update') return 0 ;;\n 'simulation job') return 0 ;;\n 'simulation job get') return 0 ;;\n 'simulation job lookup') return 0 ;;\n 'simulation persona') return 0 ;;\n 'simulation persona create') return 0 ;;\n 'simulation persona get') return 0 ;;\n 'simulation persona list') return 0 ;;\n 'simulation persona update') return 0 ;;\n 'simulation plan') return 0 ;;\n 'simulation plan create') return 0 ;;\n 'simulation plan delete') return 0 ;;\n 'simulation plan get') return 0 ;;\n 'simulation plan job') return 0 ;;\n 'simulation plan job cancel') return 0 ;;\n 'simulation plan job get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent agent-config api auth autoimprove benchmark call completion config customer-flow health http-request-definition metric simulation webhook' ;;\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 'simulation') echo 'environment job persona plan run template' ;;\n 'simulation environment') echo 'create delete get list update' ;;\n 'simulation environment create') echo '' ;;\n 'simulation environment delete') echo '' ;;\n 'simulation environment get') echo '' ;;\n 'simulation environment list') echo '' ;;\n 'simulation environment update') echo '' ;;\n 'simulation job') echo 'get lookup' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation persona') echo 'create get list update' ;;\n 'simulation persona create') echo '' ;;\n 'simulation persona get') echo '' ;;\n 'simulation persona list') echo '' ;;\n 'simulation persona update') echo '' ;;\n 'simulation plan') echo 'create delete get job list update' ;;\n 'simulation plan create') echo '' ;;\n 'simulation plan delete') echo '' ;;\n 'simulation plan get') echo '' ;;\n 'simulation plan job') echo 'cancel get list start' ;;\n 'simulation plan job cancel') echo '' ;;\n 'simulation plan job get') echo '' ;;\n 'simulation plan job list') echo '' ;;\n 'simulation plan job start') echo '' ;;\n 'simulation plan list') echo '' ;;\n 'simulation plan update') echo '' ;;\n 'simulation run') echo '' ;;\n 'simulation template') echo 'list' ;;\n 'simulation template list') echo '' ;;\n 'webhook') echo 'create delete get list' ;;\n 'webhook create') echo '' ;;\n 'webhook delete') echo '' ;;\n 'webhook get') echo '' ;;\n 'webhook list') echo '' ;;\n *) echo '' ;;\n esac\n}\n\n_roark_flags() {\n case \"$1\" in\n '') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent 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 --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --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 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local cur path candidate word i\n cur=\"${COMP_WORDS[COMP_CWORD]}\"\n path=\"\"\n\n for (( i = 1; i < COMP_CWORD; i++ )); do\n word=\"${COMP_WORDS[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [ -z \"$path\" ]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n case \"$cur\" in\n -*) COMPREPLY=( $(compgen -W \"$(_roark_flags \"$path\")\" -- \"$cur\") ) ;;\n *) COMPREPLY=( $(compgen -W \"$(_roark_children \"$path\")\" -- \"$cur\") ) ;;\n esac\n}\n\ncomplete -F _roark roark\n",
|
|
10
|
+
zsh: "#compdef roark\n# roark completion for zsh. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent 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 'simulation') return 0 ;;\n 'simulation environment') return 0 ;;\n 'simulation environment create') return 0 ;;\n 'simulation environment delete') return 0 ;;\n 'simulation environment get') return 0 ;;\n 'simulation environment list') return 0 ;;\n 'simulation environment update') return 0 ;;\n 'simulation job') return 0 ;;\n 'simulation job get') return 0 ;;\n 'simulation job lookup') return 0 ;;\n 'simulation persona') return 0 ;;\n 'simulation persona create') return 0 ;;\n 'simulation persona get') return 0 ;;\n 'simulation persona list') return 0 ;;\n 'simulation persona update') return 0 ;;\n 'simulation plan') return 0 ;;\n 'simulation plan create') return 0 ;;\n 'simulation plan delete') return 0 ;;\n 'simulation plan get') return 0 ;;\n 'simulation plan job') return 0 ;;\n 'simulation plan job cancel') return 0 ;;\n 'simulation plan job get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent agent-config api auth autoimprove benchmark call completion config customer-flow health http-request-definition metric simulation webhook' ;;\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 'simulation') echo 'environment job persona plan run template' ;;\n 'simulation environment') echo 'create delete get list update' ;;\n 'simulation environment create') echo '' ;;\n 'simulation environment delete') echo '' ;;\n 'simulation environment get') echo '' ;;\n 'simulation environment list') echo '' ;;\n 'simulation environment update') echo '' ;;\n 'simulation job') echo 'get lookup' ;;\n 'simulation job get') echo '' ;;\n 'simulation job lookup') echo '' ;;\n 'simulation persona') echo 'create get list update' ;;\n 'simulation persona create') echo '' ;;\n 'simulation persona get') echo '' ;;\n 'simulation persona list') echo '' ;;\n 'simulation persona update') echo '' ;;\n 'simulation plan') echo 'create delete get job list update' ;;\n 'simulation plan create') echo '' ;;\n 'simulation plan delete') echo '' ;;\n 'simulation plan get') echo '' ;;\n 'simulation plan job') echo 'cancel get list start' ;;\n 'simulation plan job cancel') echo '' ;;\n 'simulation plan job get') echo '' ;;\n 'simulation plan job list') echo '' ;;\n 'simulation plan job start') echo '' ;;\n 'simulation plan list') echo '' ;;\n 'simulation plan update') echo '' ;;\n 'simulation run') echo '' ;;\n 'simulation template') echo 'list' ;;\n 'simulation template list') echo '' ;;\n 'webhook') echo 'create delete get list' ;;\n 'webhook create') echo '' ;;\n 'webhook delete') echo '' ;;\n 'webhook get') echo '' ;;\n 'webhook list') echo '' ;;\n *) echo '' ;;\n esac\n}\n\n_roark_flags() {\n case \"$1\" in\n '') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'agent 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 --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --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 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local path candidate word cur\n local -a walked\n path=\"\"\n cur=\"${words[CURRENT]}\"\n\n for (( i = 2; i < CURRENT; i++ )); do\n word=\"${words[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [[ -z \"$path\" ]]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n if [[ \"$cur\" == -* ]]; then\n compadd -- ${=$(_roark_flags \"$path\")}\n else\n compadd -- ${=$(_roark_children \"$path\")}\n fi\n}\n\ncompdef _roark roark\n",
|
|
11
|
+
fish: "# roark completion for fish. Generated by app-agent-codegen; do not edit.\n\nfunction __roark_is_node\n switch \"$argv[1]\"\n case ''; return 0\n case 'agent'; return 0\n case 'agent 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 'simulation'; return 0\n case 'simulation environment'; return 0\n case 'simulation environment create'; return 0\n case 'simulation environment delete'; return 0\n case 'simulation environment get'; return 0\n case 'simulation environment list'; return 0\n case 'simulation environment update'; return 0\n case 'simulation job'; return 0\n case 'simulation job get'; return 0\n case 'simulation job lookup'; return 0\n case 'simulation persona'; return 0\n case 'simulation persona create'; return 0\n case 'simulation persona get'; return 0\n case 'simulation persona list'; return 0\n case 'simulation persona update'; return 0\n case 'simulation plan'; return 0\n case 'simulation plan create'; return 0\n case 'simulation plan delete'; return 0\n case 'simulation plan get'; return 0\n case 'simulation plan job'; return 0\n case 'simulation plan job cancel'; return 0\n case 'simulation plan job get'; return 0\n case 'simulation plan job list'; return 0\n case 'simulation plan job start'; return 0\n case 'simulation plan list'; return 0\n case 'simulation plan update'; return 0\n case 'simulation run'; return 0\n case 'simulation template'; return 0\n case 'simulation template list'; return 0\n case 'webhook'; return 0\n case 'webhook create'; return 0\n case 'webhook delete'; return 0\n case 'webhook get'; return 0\n case 'webhook list'; return 0\n case '*'; return 1\n end\nend\n\nfunction __roark_children\n switch \"$argv[1]\"\n case ''; echo 'agent\nagent-config\napi\nauth\nautoimprove\nbenchmark\ncall\ncompletion\nconfig\ncustomer-flow\nhealth\nhttp-request-definition\nmetric\nsimulation\nwebhook'\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 'simulation'; echo 'environment\njob\npersona\nplan\nrun\ntemplate'\n case 'simulation environment'; echo 'create\ndelete\nget\nlist\nupdate'\n case 'simulation environment create'; echo ''\n case 'simulation environment delete'; echo ''\n case 'simulation environment get'; echo ''\n case 'simulation environment list'; echo ''\n case 'simulation environment update'; echo ''\n case 'simulation job'; echo 'get\nlookup'\n case 'simulation job get'; echo ''\n case 'simulation job lookup'; echo ''\n case 'simulation persona'; echo 'create\nget\nlist\nupdate'\n case 'simulation persona create'; echo ''\n case 'simulation persona get'; echo ''\n case 'simulation persona list'; echo ''\n case 'simulation persona update'; echo ''\n case 'simulation plan'; echo 'create\ndelete\nget\njob\nlist\nupdate'\n case 'simulation plan create'; echo ''\n case 'simulation plan delete'; echo ''\n case 'simulation plan get'; echo ''\n case 'simulation plan job'; echo 'cancel\nget\nlist\nstart'\n case 'simulation plan job cancel'; echo ''\n case 'simulation plan job get'; echo ''\n case 'simulation plan job list'; echo ''\n case 'simulation plan job start'; echo ''\n case 'simulation plan list'; echo ''\n case 'simulation plan update'; echo ''\n case 'simulation run'; echo ''\n case 'simulation template'; echo 'list'\n case 'simulation template list'; echo ''\n case 'webhook'; echo 'create\ndelete\nget\nlist'\n case 'webhook create'; echo ''\n case 'webhook delete'; echo ''\n case 'webhook get'; echo ''\n case 'webhook list'; echo ''\n case '*'; echo ''\n end\nend\n\nfunction __roark_flags\n switch \"$argv[1]\"\n case ''; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'agent 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--persona-override-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case promote'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph replace'; echo '--graph\n--allow-unmerge\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow list'; echo '--limit\n--after\n--search-text\n--type\n--include-system\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow update'; echo '--title\n--description\n--script-adherence\n--off-script-policy\n--off-script-policy.reaction\n--off-script-policy.say-line\n--off-script-policy.max-attempts\n--off-script-policy.then\n--off-script-policy.wait-seconds\n--branching-mode\n--agent-ids\n--agent-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'health'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition create'; echo '--scope\n--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition update'; echo '--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job create'; echo '--call-ids\n--chat-ids\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition create'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--scale-labels\n--boolean-true-label\n--boolean-false-label\n--classification-options\n--max-classifications\n--tool-definition-ids\n--supported-contexts\n--formula\n--sources\n--change-reason\n--slug\n--metric-id\n--source\n--organization-id\n--project-id\n--output-type\n--scope\n--participant-role\n--calc-type\n--supports-multiple-variants\n--analysis-package-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy create'; echo '--name\n--status\n--modality\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy update'; echo '--name\n--status\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant create'; echo '--name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--boolean-true-label\n--boolean-false-label\n--max-classifications\n--change-reason\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment create'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment update'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job lookup'; echo '--roark-phone-number\n--call-received-at\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona create'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--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 'webhook'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook create'; echo '--url\n--description\n--headers\n--events\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case '*'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n end\nend\n\nfunction __roark_path\n set -l tokens (commandline -opc)\n set -l path \"\"\n for word in $tokens[2..-1]\n if string match -q -- '-*' $word\n continue\n end\n set -l candidate\n if test -z \"$path\"\n set candidate $word\n else\n set candidate \"$path $word\"\n end\n if __roark_is_node \"$candidate\"\n set path \"$candidate\"\n else\n break\n end\n end\n echo $path\nend\n\nfunction __roark_complete\n set -l path (__roark_path)\n set -l token (commandline -ct)\n if string match -q -- '-*' $token\n __roark_flags \"$path\"\n else\n __roark_children \"$path\"\n end\nend\n\ncomplete -c roark -f -a \"(__roark_complete)\"\n",
|
|
12
|
+
powershell: '# roark completion for PowerShell. Generated by app-agent-codegen; do not edit.\n\n$roarkChildren = @{\n "" = @("agent", "agent-config", "api", "auth", "autoimprove", "benchmark", "call", "completion", "config", "customer-flow", "health", "http-request-definition", "metric", "simulation", "webhook")\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 "simulation" = @("environment", "job", "persona", "plan", "run", "template")\n "simulation environment" = @("create", "delete", "get", "list", "update")\n "simulation environment create" = @()\n "simulation environment delete" = @()\n "simulation environment get" = @()\n "simulation environment list" = @()\n "simulation environment update" = @()\n "simulation job" = @("get", "lookup")\n "simulation job get" = @()\n "simulation job lookup" = @()\n "simulation persona" = @("create", "get", "list", "update")\n "simulation persona create" = @()\n "simulation persona get" = @()\n "simulation persona list" = @()\n "simulation persona update" = @()\n "simulation plan" = @("create", "delete", "get", "job", "list", "update")\n "simulation plan create" = @()\n "simulation plan delete" = @()\n "simulation plan get" = @()\n "simulation plan job" = @("cancel", "get", "list", "start")\n "simulation plan job cancel" = @()\n "simulation plan job get" = @()\n "simulation plan job list" = @()\n "simulation plan job start" = @()\n "simulation plan list" = @()\n "simulation plan update" = @()\n "simulation run" = @()\n "simulation template" = @("list")\n "simulation template list" = @()\n "webhook" = @("create", "delete", "get", "list")\n "webhook create" = @()\n "webhook delete" = @()\n "webhook get" = @()\n "webhook list" = @()\n}\n\n$roarkFlags = @{\n "" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "agent 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", "--persona-override-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case promote" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph replace" = @("--graph", "--allow-unmerge", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow list" = @("--limit", "--after", "--search-text", "--type", "--include-system", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow update" = @("--title", "--description", "--script-adherence", "--off-script-policy", "--off-script-policy.reaction", "--off-script-policy.say-line", "--off-script-policy.max-attempts", "--off-script-policy.then", "--off-script-policy.wait-seconds", "--branching-mode", "--agent-ids", "--agent-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "health" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition create" = @("--scope", "--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition update" = @("--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job create" = @("--call-ids", "--chat-ids", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition create" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--scale-labels", "--boolean-true-label", "--boolean-false-label", "--classification-options", "--max-classifications", "--tool-definition-ids", "--supported-contexts", "--formula", "--sources", "--change-reason", "--slug", "--metric-id", "--source", "--organization-id", "--project-id", "--output-type", "--scope", "--participant-role", "--calc-type", "--supports-multiple-variants", "--analysis-package-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy create" = @("--name", "--status", "--modality", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy update" = @("--name", "--status", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant create" = @("--name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--boolean-true-label", "--boolean-false-label", "--max-classifications", "--change-reason", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment create" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment update" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job lookup" = @("--roark-phone-number", "--call-received-at", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona create" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--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 "webhook" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook create" = @("--url", "--description", "--headers", "--events", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n}\n\nRegister-ArgumentCompleter -Native -CommandName roark -ScriptBlock {\n param($wordToComplete, $commandAst, $cursorPosition)\n\n $tokens = @($commandAst.CommandElements | Select-Object -Skip 1 | ForEach-Object { $_.ToString() })\n $path = ""\n\n foreach ($token in $tokens) {\n if ($token.StartsWith("-")) { continue }\n if ($path -eq "") { $candidate = $token } else { $candidate = "$path $token" }\n # Extend only while the next word is a known node, so a flag\'s value is\n # never mistaken for a command.\n if ($roarkChildren.ContainsKey($candidate)) { $path = $candidate } else { break }\n }\n\n if ($wordToComplete.StartsWith("-")) {\n $candidates = $roarkFlags[$path]\n } else {\n $candidates = $roarkChildren[$path]\n }\n\n $candidates | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {\n [System.Management.Automation.CompletionResult]::new($_, $_, \'ParameterValue\', $_)\n }\n}\n',
|
|
13
13
|
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
.\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
|
|
2
|
+
.TH "ROARK\-AGENT\-BUILD" "1" "" "roark-agent-build" "Roark Analytics API Manual"
|
|
3
|
+
.SH "NAME"
|
|
4
|
+
roark\-agent\-build \- Build a Roark\-hosted agent
|
|
5
|
+
.SH "SYNOPSIS"
|
|
6
|
+
.B roark agent build
|
|
7
|
+
[\fIoptions\fR]
|
|
8
|
+
.SH "DESCRIPTION"
|
|
9
|
+
Creates a new Roark\-hosted agent from a one\-line job description. Roark authors the system prompt and hosts the config, so the agent is live and self\-improvable from creation.
|
|
10
|
+
.SH "API"
|
|
11
|
+
POST /v1/agent/build
|
|
12
|
+
.SH "OPTIONS"
|
|
13
|
+
.TP
|
|
14
|
+
\fB\-\-name\fR \fI<value>\fR
|
|
15
|
+
Name of the agent Required.
|
|
16
|
+
.TP
|
|
17
|
+
\fB\-\-job\-description\fR \fI<value>\fR
|
|
18
|
+
One\-line description of what the agent should do. Roark authors the system prompt from this. Required.
|
|
19
|
+
.TP
|
|
20
|
+
\fB\-\-voice\fR \fI<value>\fR
|
|
21
|
+
Optional voice label for the hosted agent Optional.
|
|
22
|
+
.SH "GLOBAL OPTIONS"
|
|
23
|
+
.TP
|
|
24
|
+
\fB\-\-data\fR \fI<json>\fR
|
|
25
|
+
Request body as JSON, or @file to read one (@\- for stdin).
|
|
26
|
+
.TP
|
|
27
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
28
|
+
Skip confirmation prompts.
|
|
29
|
+
.TP
|
|
30
|
+
\fB\-\-no\-input\fR
|
|
31
|
+
Never prompt; fail instead.
|
|
32
|
+
.TP
|
|
33
|
+
\fB\-\-base\-url\fR \fI<url>\fR
|
|
34
|
+
API base URL.
|
|
35
|
+
.TP
|
|
36
|
+
\fB\-\-token\fR \fI<token>\fR
|
|
37
|
+
Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
|
|
38
|
+
.TP
|
|
39
|
+
\fB\-\-timeout\fR \fI<ms>\fR
|
|
40
|
+
Request timeout in milliseconds.
|
|
41
|
+
.TP
|
|
42
|
+
\fB\-\-max\-retries\fR \fI<count>\fR
|
|
43
|
+
Retries for retryable failures.
|
|
44
|
+
.TP
|
|
45
|
+
\fB\-\-format\fR \fI<format>\fR
|
|
46
|
+
Output format: auto, json, jsonl, plain.
|
|
47
|
+
.TP
|
|
48
|
+
\fB\-\-json\fR
|
|
49
|
+
Shorthand for \-\-format json.
|
|
50
|
+
.TP
|
|
51
|
+
\fB\-\-no\-color\fR
|
|
52
|
+
Disable colour.
|
|
53
|
+
.TP
|
|
54
|
+
\fB\-q\fR, \fB\-\-quiet\fR
|
|
55
|
+
Suppress non\-essential output.
|
|
56
|
+
.TP
|
|
57
|
+
\fB\-\-allow\-project\-base\-url\fR
|
|
58
|
+
Send the stored credential to a base URL set by a project .roark.json. Refused by default.
|
|
59
|
+
.SH "EXAMPLES"
|
|
60
|
+
.PP
|
|
61
|
+
.RS 4
|
|
62
|
+
.nf
|
|
63
|
+
roark agent build \-\-name <value> \-\-job\-description <value>
|
|
64
|
+
.fi
|
|
65
|
+
.RE
|
|
66
|
+
.SH "ENVIRONMENT"
|
|
67
|
+
.TP
|
|
68
|
+
\fBROARK_API_BEARER_TOKEN\fR
|
|
69
|
+
Bearer token used when \-\-token is not given.
|
|
70
|
+
.TP
|
|
71
|
+
\fBROARK_BASE_URL\fR
|
|
72
|
+
API base URL.
|
|
73
|
+
.TP
|
|
74
|
+
\fBROARK_ALLOW_PROJECT_BASE_URL\fR
|
|
75
|
+
Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
|
|
76
|
+
.TP
|
|
77
|
+
\fBNO_COLOR\fR
|
|
78
|
+
Disables colour when set to any value.
|
|
79
|
+
.SH "EXIT STATUS"
|
|
80
|
+
.TP
|
|
81
|
+
\fB0\fR
|
|
82
|
+
The command succeeded.
|
|
83
|
+
.TP
|
|
84
|
+
\fB1\fR
|
|
85
|
+
The API rejected the request.
|
|
86
|
+
.TP
|
|
87
|
+
\fB2\fR
|
|
88
|
+
The command line was wrong.
|
|
89
|
+
.TP
|
|
90
|
+
\fB3\fR
|
|
91
|
+
No credential, or the credential was refused.
|
|
92
|
+
.TP
|
|
93
|
+
\fB4\fR
|
|
94
|
+
The addressed resource does not exist.
|
|
95
|
+
.TP
|
|
96
|
+
\fB5\fR
|
|
97
|
+
The request never completed: connection, timeout, or abort.
|
|
98
|
+
.SH "SEE ALSO"
|
|
99
|
+
.BR roark (1)
|
package/man/roark.1
CHANGED
|
@@ -60,6 +60,9 @@ Call any endpoint directly, including ones without a generated command.
|
|
|
60
60
|
\fBroark completion\fR
|
|
61
61
|
Print a shell completion script.
|
|
62
62
|
.TP
|
|
63
|
+
\fBroark agent build\fR
|
|
64
|
+
Build a Roark\-hosted agent See roark\-agent\-build(1).
|
|
65
|
+
.TP
|
|
63
66
|
\fBroark agent create\fR
|
|
64
67
|
Create a new agent See roark\-agent\-create(1).
|
|
65
68
|
.TP
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roarkanalytics/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@roarkanalytics/cli",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.25.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@roarkanalytics/sdk": "^4.0.0",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"node_modules/@roarkanalytics/sdk": {
|
|
24
|
-
"version": "4.
|
|
25
|
-
"resolved": "https://registry.npmjs.org/@roarkanalytics/sdk/-/sdk-4.
|
|
26
|
-
"integrity": "sha512-
|
|
24
|
+
"version": "4.2.0",
|
|
25
|
+
"resolved": "https://registry.npmjs.org/@roarkanalytics/sdk/-/sdk-4.2.0.tgz",
|
|
26
|
+
"integrity": "sha512-PQQLEbsJbXrR1kLZ62dFbHLkezZbNh8QT6D1zCpEsPZFTiLmyRu2nbGtDwup5XeE9IkHduj7GoTGClul5QQ6CA==",
|
|
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.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "The official command line interface for the Roark API",
|
|
5
5
|
"author": "Roark <james@roark.ai>",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
},
|
|
36
36
|
"man": [
|
|
37
37
|
"./man/roark.1",
|
|
38
|
+
"./man/roark-agent-build.1",
|
|
38
39
|
"./man/roark-agent-create.1",
|
|
39
40
|
"./man/roark-agent-endpoint-create.1",
|
|
40
41
|
"./man/roark-agent-endpoint-get.1",
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.25.0";
|
package/version.js
CHANGED