@roarkanalytics/cli 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +15 -14
- package/commands.js +93 -1
- package/completions.js +4 -4
- package/man/roark-agent-prompt-update.1 +97 -0
- package/man/roark-customer-flow-update.1 +22 -1
- package/man/roark.1 +3 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.11.0...v0.12.0) (2026-09-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **cli:** cli update ([#32](https://github.com/roarkhq/cli-roark-analytics/issues/32)) ([37ef1c1](https://github.com/roarkhq/cli-roark-analytics/commit/37ef1c196ff8f14f27fbbf9970e3540d2b52eac9))
|
|
9
|
+
|
|
10
|
+
## [0.11.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.10.0...v0.11.0) (2026-09-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **cli:** cli update ([#30](https://github.com/roarkhq/cli-roark-analytics/issues/30)) ([16d451c](https://github.com/roarkhq/cli-roark-analytics/commit/16d451c393532f739a56eb438de793dbf6c73cd9))
|
|
16
|
+
|
|
3
17
|
## [0.10.0](https://github.com/roarkhq/cli-roark-analytics/compare/v0.9.0...v0.10.0) (2026-09-10)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
|
@@ -118,6 +118,7 @@ roark completion fish | source
|
|
|
118
118
|
| `roark agent get <agent-id>` | Get agent by ID |
|
|
119
119
|
| `roark agent list` | List agents |
|
|
120
120
|
| `roark agent prompt list <agent-id>` | List an agent's prompts |
|
|
121
|
+
| `roark agent prompt update <agent-id> --prompt <value>` | Set an agent's prompt |
|
|
121
122
|
| `roark agent prompt version list <agent-id> <prompt-id>` | List a prompt's versions |
|
|
122
123
|
| `roark agent update <agent-id>` | Update an agent |
|
|
123
124
|
|
|
@@ -142,20 +143,20 @@ roark completion fish | source
|
|
|
142
143
|
|
|
143
144
|
### customer-flow
|
|
144
145
|
|
|
145
|
-
| Command
|
|
146
|
-
|
|
|
147
|
-
| `roark customer-flow create --data '{ ... }'`
|
|
148
|
-
| `roark customer-flow delete <flow-id>`
|
|
149
|
-
| `roark customer-flow duplicate <flow-id>`
|
|
150
|
-
| `roark customer-flow edge-case create <flow-id> --title <value>`
|
|
151
|
-
| `roark customer-flow edge-case delete <flow-id> <edge-case-id>`
|
|
152
|
-
| `roark customer-flow edge-case promote <flow-id> <edge-case-id>`
|
|
153
|
-
| `roark customer-flow edge-case update <flow-id> <edge-case-id>`
|
|
154
|
-
| `roark customer-flow get <flow-id>`
|
|
155
|
-
| `roark customer-flow graph replace <flow-id> --graph <value>`
|
|
156
|
-
| `roark customer-flow happy-path update <flow-id>`
|
|
157
|
-
| `roark customer-flow list`
|
|
158
|
-
| `roark customer-flow update <flow-id>`
|
|
146
|
+
| Command | Description |
|
|
147
|
+
| ----------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- |
|
|
148
|
+
| `roark customer-flow create --data '{ ... }'` | Create a customer flow |
|
|
149
|
+
| `roark customer-flow delete <flow-id>` | Delete a customer flow |
|
|
150
|
+
| `roark customer-flow duplicate <flow-id>` | Duplicate a customer flow |
|
|
151
|
+
| `roark customer-flow edge-case create <flow-id> --title <value>` | Add an edge case |
|
|
152
|
+
| `roark customer-flow edge-case delete <flow-id> <edge-case-id>` | Remove an edge case |
|
|
153
|
+
| `roark customer-flow edge-case promote <flow-id> <edge-case-id>` | Promote an edge case to the happy path |
|
|
154
|
+
| `roark customer-flow edge-case update <flow-id> <edge-case-id>` | Update an edge case |
|
|
155
|
+
| `roark customer-flow get <flow-id>` | Get customer flow by ID |
|
|
156
|
+
| `roark customer-flow graph replace <flow-id> --graph <value>` | Replace a scripted flow's steps |
|
|
157
|
+
| `roark customer-flow happy-path update <flow-id>` | Update a flow's happy path |
|
|
158
|
+
| `roark customer-flow list` | List customer flows |
|
|
159
|
+
| `roark customer-flow update <flow-id> --off-script-policy.reaction <value> --off-script-policy.max-attempts <value> --off-script-policy.then <value>` | Update a customer flow |
|
|
159
160
|
|
|
160
161
|
### health
|
|
161
162
|
|
package/commands.js
CHANGED
|
@@ -10,7 +10,7 @@ exports.DESCRIPTION = 'Command line interface for the Roark Analytics API';
|
|
|
10
10
|
exports.GROUPS = {
|
|
11
11
|
agent: 'Manage agents',
|
|
12
12
|
'agent endpoint': 'Manage agent endpoints',
|
|
13
|
-
'agent prompt': '
|
|
13
|
+
'agent prompt': 'Manage agent prompts',
|
|
14
14
|
'agent prompt version': 'Read agent prompt versions',
|
|
15
15
|
call: 'Manage calls',
|
|
16
16
|
'call metric': 'Read call metrics',
|
|
@@ -373,6 +373,38 @@ exports.COMMANDS = [
|
|
|
373
373
|
acceptsBody: false,
|
|
374
374
|
requiresAuth: true,
|
|
375
375
|
},
|
|
376
|
+
{
|
|
377
|
+
commandPath: ['agent', 'prompt', 'update'],
|
|
378
|
+
clientProperty: 'agentPrompt',
|
|
379
|
+
methodName: 'update',
|
|
380
|
+
httpMethod: 'put',
|
|
381
|
+
httpPath: '/v1/agent/{agentId}/prompts',
|
|
382
|
+
summary: "Set an agent's prompt",
|
|
383
|
+
description: "Sets the agent's API-managed prompt. This is its own version history (`source: API_MANAGED`), separate from prompts observed on calls, edited in the app, or managed by config-as-code. Setting the same content twice is a no-op (no new version). Roark does not run your agent and no metric reads this prompt: it is stored and versioned for your reference.",
|
|
384
|
+
positionals: [
|
|
385
|
+
{
|
|
386
|
+
name: 'agent-id',
|
|
387
|
+
paramKey: 'agentId',
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
flags: [
|
|
391
|
+
{
|
|
392
|
+
name: 'prompt',
|
|
393
|
+
path: ['prompt'],
|
|
394
|
+
location: 'body',
|
|
395
|
+
required: true,
|
|
396
|
+
description: 'The prompt content to set.',
|
|
397
|
+
valueKind: 'string',
|
|
398
|
+
repeatable: false,
|
|
399
|
+
},
|
|
400
|
+
],
|
|
401
|
+
hasParams: true,
|
|
402
|
+
paramsAllOptional: false,
|
|
403
|
+
bodyOpaque: false,
|
|
404
|
+
bodyVariants: [],
|
|
405
|
+
acceptsBody: true,
|
|
406
|
+
requiresAuth: true,
|
|
407
|
+
},
|
|
376
408
|
{
|
|
377
409
|
commandPath: ['agent', 'prompt', 'version', 'list'],
|
|
378
410
|
clientProperty: 'agentPrompt',
|
|
@@ -1486,6 +1518,66 @@ exports.COMMANDS = [
|
|
|
1486
1518
|
valueKind: 'string',
|
|
1487
1519
|
repeatable: false,
|
|
1488
1520
|
},
|
|
1521
|
+
{
|
|
1522
|
+
name: 'script-adherence',
|
|
1523
|
+
path: ['scriptAdherence'],
|
|
1524
|
+
location: 'body',
|
|
1525
|
+
required: false,
|
|
1526
|
+
description: 'Scripted flows only. How closely a run follows the script. LOOSE (default) hands the whole script to the simulated customer as one prompt; it keeps the call moving whatever your agent says. STRICT runs the script as a state machine on the agent service: at every agent step the simulated customer waits, silent, until your agent has said the expected line, and only then moves on. Scripted flows only; STRICT needs the agent-service transport and is not available on realtime models.',
|
|
1527
|
+
valueKind: 'string',
|
|
1528
|
+
enumValues: ['LOOSE', 'STRICT'],
|
|
1529
|
+
repeatable: false,
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
name: 'off-script-policy',
|
|
1533
|
+
path: ['offScriptPolicy'],
|
|
1534
|
+
location: 'body',
|
|
1535
|
+
required: false,
|
|
1536
|
+
description: 'STRICT only. What the simulated customer does when your agent does not say the expected line. Each unmatched agent utterance is a strike: `reaction` runs per strike (STAY_SILENT, REPEAT its last scripted line, RESPOND once in character without moving on, or SAY `sayLine`), and `then` runs when strikes reach `maxAttempts` or your agent stays silent for `waitSeconds` (HANG_UP ends the call with ended reason SCRIPT_DIVERGED, MOVE_ON advances anyway, ADAPT hands the rest of the call to loose behaviour). Null: stay silent, 3 attempts, hang up.',
|
|
1537
|
+
valueKind: 'object',
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
name: 'off-script-policy.reaction',
|
|
1541
|
+
path: ['offScriptPolicy', 'reaction'],
|
|
1542
|
+
location: 'body',
|
|
1543
|
+
required: true,
|
|
1544
|
+
valueKind: 'string',
|
|
1545
|
+
enumValues: ['STAY_SILENT', 'REPEAT', 'RESPOND', 'SAY'],
|
|
1546
|
+
repeatable: false,
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
name: 'off-script-policy.say-line',
|
|
1550
|
+
path: ['offScriptPolicy', 'sayLine'],
|
|
1551
|
+
location: 'body',
|
|
1552
|
+
required: false,
|
|
1553
|
+
valueKind: 'string',
|
|
1554
|
+
repeatable: false,
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
name: 'off-script-policy.max-attempts',
|
|
1558
|
+
path: ['offScriptPolicy', 'maxAttempts'],
|
|
1559
|
+
location: 'body',
|
|
1560
|
+
required: true,
|
|
1561
|
+
valueKind: 'integer',
|
|
1562
|
+
repeatable: false,
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
name: 'off-script-policy.then',
|
|
1566
|
+
path: ['offScriptPolicy', 'then'],
|
|
1567
|
+
location: 'body',
|
|
1568
|
+
required: true,
|
|
1569
|
+
valueKind: 'string',
|
|
1570
|
+
enumValues: ['HANG_UP', 'MOVE_ON', 'ADAPT'],
|
|
1571
|
+
repeatable: false,
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
name: 'off-script-policy.wait-seconds',
|
|
1575
|
+
path: ['offScriptPolicy', 'waitSeconds'],
|
|
1576
|
+
location: 'body',
|
|
1577
|
+
required: false,
|
|
1578
|
+
valueKind: 'integer',
|
|
1579
|
+
repeatable: false,
|
|
1580
|
+
},
|
|
1489
1581
|
{
|
|
1490
1582
|
name: 'branching-mode',
|
|
1491
1583
|
path: ['branchingMode'],
|
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 version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') 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 get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent api auth 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 version' ;;\n 'agent prompt list') echo '' ;;\n 'agent prompt version') echo 'list' ;;\n 'agent prompt version list') echo '' ;;\n 'agent update') 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 'get list start' ;;\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 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 '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 '--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 --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona update') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan create') echo '--name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --include-flow-metrics --include-automatic-metrics --enrich-with-live-conversation --auto-run --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job list') echo '--limit --after --status --simulation-run-plan-id --label-id --label-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job start') echo '--variables --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan list') echo '--limit --after --search-text --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan update') echo '--is-hidden --name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --enrich-with-live-conversation --include-flow-metrics --include-automatic-metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation run') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local cur path candidate word i\n cur=\"${COMP_WORDS[COMP_CWORD]}\"\n path=\"\"\n\n for (( i = 1; i < COMP_CWORD; i++ )); do\n word=\"${COMP_WORDS[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [ -z \"$path\" ]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n case \"$cur\" in\n -*) COMPREPLY=( $(compgen -W \"$(_roark_flags \"$path\")\" -- \"$cur\") ) ;;\n *) COMPREPLY=( $(compgen -W \"$(_roark_children \"$path\")\" -- \"$cur\") ) ;;\n esac\n}\n\ncomplete -F _roark roark\n",
|
|
10
|
-
zsh: "#compdef roark\n# roark completion for zsh. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent create') return 0 ;;\n 'agent endpoint') return 0 ;;\n 'agent endpoint create') return 0 ;;\n 'agent endpoint get') return 0 ;;\n 'agent endpoint list') return 0 ;;\n 'agent endpoint update') return 0 ;;\n 'agent get') return 0 ;;\n 'agent list') return 0 ;;\n 'agent prompt') return 0 ;;\n 'agent prompt list') return 0 ;;\n 'agent prompt version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') 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 get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent api auth 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 version' ;;\n 'agent prompt list') echo '' ;;\n 'agent prompt version') echo 'list' ;;\n 'agent prompt version list') echo '' ;;\n 'agent update') 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 'get list start' ;;\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 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 '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 '--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 --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona update') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan create') echo '--name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --include-flow-metrics --include-automatic-metrics --enrich-with-live-conversation --auto-run --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job list') echo '--limit --after --status --simulation-run-plan-id --label-id --label-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job start') echo '--variables --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan list') echo '--limit --after --search-text --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan update') echo '--is-hidden --name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --enrich-with-live-conversation --include-flow-metrics --include-automatic-metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation run') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local path candidate word cur\n local -a walked\n path=\"\"\n cur=\"${words[CURRENT]}\"\n\n for (( i = 2; i < CURRENT; i++ )); do\n word=\"${words[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [[ -z \"$path\" ]]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n if [[ \"$cur\" == -* ]]; then\n compadd -- ${=$(_roark_flags \"$path\")}\n else\n compadd -- ${=$(_roark_children \"$path\")}\n fi\n}\n\ncompdef _roark roark\n",
|
|
11
|
-
fish: "# roark completion for fish. Generated by app-agent-codegen; do not edit.\n\nfunction __roark_is_node\n switch \"$argv[1]\"\n case ''; return 0\n case 'agent'; return 0\n case 'agent create'; return 0\n case 'agent endpoint'; return 0\n case 'agent endpoint create'; return 0\n case 'agent endpoint get'; return 0\n case 'agent endpoint list'; return 0\n case 'agent endpoint update'; return 0\n case 'agent get'; return 0\n case 'agent list'; return 0\n case 'agent prompt'; return 0\n case 'agent prompt list'; return 0\n case 'agent prompt version'; return 0\n case 'agent prompt version list'; return 0\n case 'agent update'; 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 get'; return 0\n case 'simulation plan job list'; return 0\n case 'simulation plan job start'; return 0\n case 'simulation plan list'; return 0\n case 'simulation plan update'; return 0\n case 'simulation run'; return 0\n case 'simulation template'; return 0\n case 'simulation template list'; return 0\n case 'webhook'; return 0\n case 'webhook create'; return 0\n case 'webhook delete'; return 0\n case 'webhook get'; return 0\n case 'webhook list'; return 0\n case '*'; return 1\n end\nend\n\nfunction __roark_children\n switch \"$argv[1]\"\n case ''; echo 'agent\napi\nauth\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\nversion'\n case 'agent prompt list'; echo ''\n case 'agent prompt version'; echo 'list'\n case 'agent prompt version list'; echo ''\n case 'agent update'; 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 'get\nlist\nstart'\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 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 '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 '--data\n--yes\n--no-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--branching-mode\n--agent-ids\n--agent-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'health'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition create'; echo '--scope\n--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition update'; echo '--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job create'; echo '--call-ids\n--chat-ids\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition create'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--scale-labels\n--boolean-true-label\n--boolean-false-label\n--classification-options\n--max-classifications\n--tool-definition-ids\n--supported-contexts\n--formula\n--sources\n--change-reason\n--slug\n--metric-id\n--source\n--organization-id\n--project-id\n--output-type\n--scope\n--participant-role\n--calc-type\n--supports-multiple-variants\n--analysis-package-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy create'; echo '--name\n--status\n--modality\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy update'; echo '--name\n--status\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant create'; echo '--name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--boolean-true-label\n--boolean-false-label\n--max-classifications\n--change-reason\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment create'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment update'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job lookup'; echo '--roark-phone-number\n--call-received-at\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona create'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--backstory-prompt\n--idle-messages\n--idle-timeout-seconds\n--idle-message-max-spoken-count\n--idle-message-reset-count-on-user-speech-enabled\n--properties\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona list'; echo '--limit\n--after\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona update'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--backstory-prompt\n--idle-messages\n--idle-timeout-seconds\n--idle-message-max-spoken-count\n--idle-message-reset-count-on-user-speech-enabled\n--properties\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan create'; echo '--name\n--description\n--direction\n--iteration-count\n--max-concurrent-jobs\n--max-simulation-duration-seconds\n--silence-timeout-seconds\n--end-call-phrases\n--end-call-reasons\n--execution-mode\n--scenarios\n--flows\n--personas\n--agent-endpoints\n--metrics\n--include-flow-metrics\n--include-automatic-metrics\n--enrich-with-live-conversation\n--auto-run\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job list'; echo '--limit\n--after\n--status\n--simulation-run-plan-id\n--label-id\n--label-name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job start'; echo '--variables\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan list'; echo '--limit\n--after\n--search-text\n--agent-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan update'; echo '--is-hidden\n--name\n--description\n--direction\n--iteration-count\n--max-concurrent-jobs\n--max-simulation-duration-seconds\n--silence-timeout-seconds\n--end-call-phrases\n--end-call-reasons\n--execution-mode\n--scenarios\n--flows\n--personas\n--agent-endpoints\n--metrics\n--enrich-with-live-conversation\n--include-flow-metrics\n--include-automatic-metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation run'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation template'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation template list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook create'; echo '--url\n--description\n--headers\n--events\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case '*'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n end\nend\n\nfunction __roark_path\n set -l tokens (commandline -opc)\n set -l path \"\"\n for word in $tokens[2..-1]\n if string match -q -- '-*' $word\n continue\n end\n set -l candidate\n if test -z \"$path\"\n set candidate $word\n else\n set candidate \"$path $word\"\n end\n if __roark_is_node \"$candidate\"\n set path \"$candidate\"\n else\n break\n end\n end\n echo $path\nend\n\nfunction __roark_complete\n set -l path (__roark_path)\n set -l token (commandline -ct)\n if string match -q -- '-*' $token\n __roark_flags \"$path\"\n else\n __roark_children \"$path\"\n end\nend\n\ncomplete -c roark -f -a \"(__roark_complete)\"\n",
|
|
12
|
-
powershell: '# roark completion for PowerShell. Generated by app-agent-codegen; do not edit.\n\n$roarkChildren = @{\n "" = @("agent", "api", "auth", "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", "version")\n "agent prompt list" = @()\n "agent prompt version" = @("list")\n "agent prompt version list" = @()\n "agent update" = @()\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" = @("get", "list", "start")\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 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 "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" = @("--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", "--branching-mode", "--agent-ids", "--agent-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "health" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition create" = @("--scope", "--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition update" = @("--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job create" = @("--call-ids", "--chat-ids", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition create" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--scale-labels", "--boolean-true-label", "--boolean-false-label", "--classification-options", "--max-classifications", "--tool-definition-ids", "--supported-contexts", "--formula", "--sources", "--change-reason", "--slug", "--metric-id", "--source", "--organization-id", "--project-id", "--output-type", "--scope", "--participant-role", "--calc-type", "--supports-multiple-variants", "--analysis-package-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy create" = @("--name", "--status", "--modality", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy update" = @("--name", "--status", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant create" = @("--name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--boolean-true-label", "--boolean-false-label", "--max-classifications", "--change-reason", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment create" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment update" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job lookup" = @("--roark-phone-number", "--call-received-at", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona create" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--backstory-prompt", "--idle-messages", "--idle-timeout-seconds", "--idle-message-max-spoken-count", "--idle-message-reset-count-on-user-speech-enabled", "--properties", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona list" = @("--limit", "--after", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona update" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--backstory-prompt", "--idle-messages", "--idle-timeout-seconds", "--idle-message-max-spoken-count", "--idle-message-reset-count-on-user-speech-enabled", "--properties", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan create" = @("--name", "--description", "--direction", "--iteration-count", "--max-concurrent-jobs", "--max-simulation-duration-seconds", "--silence-timeout-seconds", "--end-call-phrases", "--end-call-reasons", "--execution-mode", "--scenarios", "--flows", "--personas", "--agent-endpoints", "--metrics", "--include-flow-metrics", "--include-automatic-metrics", "--enrich-with-live-conversation", "--auto-run", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job list" = @("--limit", "--after", "--status", "--simulation-run-plan-id", "--label-id", "--label-name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job start" = @("--variables", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan list" = @("--limit", "--after", "--search-text", "--agent-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan update" = @("--is-hidden", "--name", "--description", "--direction", "--iteration-count", "--max-concurrent-jobs", "--max-simulation-duration-seconds", "--silence-timeout-seconds", "--end-call-phrases", "--end-call-reasons", "--execution-mode", "--scenarios", "--flows", "--personas", "--agent-endpoints", "--metrics", "--enrich-with-live-conversation", "--include-flow-metrics", "--include-automatic-metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation run" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation template" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation template list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook create" = @("--url", "--description", "--headers", "--events", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n}\n\nRegister-ArgumentCompleter -Native -CommandName roark -ScriptBlock {\n param($wordToComplete, $commandAst, $cursorPosition)\n\n $tokens = @($commandAst.CommandElements | Select-Object -Skip 1 | ForEach-Object { $_.ToString() })\n $path = ""\n\n foreach ($token in $tokens) {\n if ($token.StartsWith("-")) { continue }\n if ($path -eq "") { $candidate = $token } else { $candidate = "$path $token" }\n # Extend only while the next word is a known node, so a flag\'s value is\n # never mistaken for a command.\n if ($roarkChildren.ContainsKey($candidate)) { $path = $candidate } else { break }\n }\n\n if ($wordToComplete.StartsWith("-")) {\n $candidates = $roarkFlags[$path]\n } else {\n $candidates = $roarkChildren[$path]\n }\n\n $candidates | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {\n [System.Management.Automation.CompletionResult]::new($_, $_, \'ParameterValue\', $_)\n }\n}\n',
|
|
9
|
+
bash: "# roark completion for bash. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent create') return 0 ;;\n 'agent endpoint') return 0 ;;\n 'agent endpoint create') return 0 ;;\n 'agent endpoint get') return 0 ;;\n 'agent endpoint list') return 0 ;;\n 'agent endpoint update') return 0 ;;\n 'agent get') return 0 ;;\n 'agent list') return 0 ;;\n 'agent prompt') return 0 ;;\n 'agent prompt list') return 0 ;;\n 'agent prompt update') return 0 ;;\n 'agent prompt version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') return 0 ;;\n '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 get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent api auth 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 '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 'get list start' ;;\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 '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 '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case create') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona update') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan create') echo '--name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --include-flow-metrics --include-automatic-metrics --enrich-with-live-conversation --auto-run --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job list') echo '--limit --after --status --simulation-run-plan-id --label-id --label-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job start') echo '--variables --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan list') echo '--limit --after --search-text --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan update') echo '--is-hidden --name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --enrich-with-live-conversation --include-flow-metrics --include-automatic-metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation run') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local cur path candidate word i\n cur=\"${COMP_WORDS[COMP_CWORD]}\"\n path=\"\"\n\n for (( i = 1; i < COMP_CWORD; i++ )); do\n word=\"${COMP_WORDS[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [ -z \"$path\" ]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n case \"$cur\" in\n -*) COMPREPLY=( $(compgen -W \"$(_roark_flags \"$path\")\" -- \"$cur\") ) ;;\n *) COMPREPLY=( $(compgen -W \"$(_roark_children \"$path\")\" -- \"$cur\") ) ;;\n esac\n}\n\ncomplete -F _roark roark\n",
|
|
10
|
+
zsh: "#compdef roark\n# roark completion for zsh. Generated by app-agent-codegen; do not edit.\n\n_roark_is_node() {\n case \"$1\" in\n '') return 0 ;;\n 'agent') return 0 ;;\n 'agent create') return 0 ;;\n 'agent endpoint') return 0 ;;\n 'agent endpoint create') return 0 ;;\n 'agent endpoint get') return 0 ;;\n 'agent endpoint list') return 0 ;;\n 'agent endpoint update') return 0 ;;\n 'agent get') return 0 ;;\n 'agent list') return 0 ;;\n 'agent prompt') return 0 ;;\n 'agent prompt list') return 0 ;;\n 'agent prompt update') return 0 ;;\n 'agent prompt version') return 0 ;;\n 'agent prompt version list') return 0 ;;\n 'agent update') return 0 ;;\n '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 get') return 0 ;;\n 'simulation plan job list') return 0 ;;\n 'simulation plan job start') return 0 ;;\n 'simulation plan list') return 0 ;;\n 'simulation plan update') return 0 ;;\n 'simulation run') return 0 ;;\n 'simulation template') return 0 ;;\n 'simulation template list') return 0 ;;\n 'webhook') return 0 ;;\n 'webhook create') return 0 ;;\n 'webhook delete') return 0 ;;\n 'webhook get') return 0 ;;\n 'webhook list') return 0 ;;\n *) return 1 ;;\n esac\n}\n\n_roark_children() {\n case \"$1\" in\n '') echo 'agent api auth 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 '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 'get list start' ;;\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 '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 '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case create') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case promote') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow edge-case update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow graph replace') echo '--graph --allow-unmerge --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow happy-path update') echo '--title --environment-id --prompt --preceded-by-customer-flow-id --preceded-by-customer-flow-variant-id --persona-override-id --additional-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow list') echo '--limit --after --search-text --type --include-system --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'customer-flow update') echo '--title --description --script-adherence --off-script-policy --off-script-policy.reaction --off-script-policy.say-line --off-script-policy.max-attempts --off-script-policy.then --off-script-policy.wait-seconds --branching-mode --agent-ids --agent-expectations --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'health') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition create') echo '--scope --url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'http-request-definition update') echo '--url --description --method --body --headers --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job create') echo '--call-ids --chat-ids --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric collection-job list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition create') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric definition update') echo '--name --llm-prompt --scale-min --scale-max --scale-labels --boolean-true-label --boolean-false-label --classification-options --max-classifications --tool-definition-ids --supported-contexts --formula --sources --change-reason --slug --metric-id --source --organization-id --project-id --output-type --scope --participant-role --calc-type --supports-multiple-variants --analysis-package-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy create') echo '--name --status --modality --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy list') echo '--limit --after --status --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric policy update') echo '--name --status --conditions --metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant create') echo '--name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'metric variant update') echo '--name --llm-prompt --scale-min --scale-max --boolean-true-label --boolean-false-label --max-classifications --change-reason --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment create') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation environment update') echo '--name --description --background-noise --background-noise-volume --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation job lookup') echo '--roark-phone-number --call-received-at --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona create') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona list') echo '--limit --after --search-text --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation persona update') echo '--name --display-name --description --language --secondary-language --understood-languages --accent --age --gender --background-noise --speech-pace --speech-clarity --has-disfluencies --base-emotion --intent-clarity --confirmation-style --memory-reliability --response-timing --backstory-prompt --idle-messages --idle-timeout-seconds --idle-message-max-spoken-count --idle-message-reset-count-on-user-speech-enabled --properties --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan create') echo '--name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --include-flow-metrics --include-automatic-metrics --enrich-with-live-conversation --auto-run --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job list') echo '--limit --after --status --simulation-run-plan-id --label-id --label-name --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan job start') echo '--variables --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan list') echo '--limit --after --search-text --agent-id --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation plan update') echo '--is-hidden --name --description --direction --iteration-count --max-concurrent-jobs --max-simulation-duration-seconds --silence-timeout-seconds --end-call-phrases --end-call-reasons --execution-mode --scenarios --flows --personas --agent-endpoints --metrics --enrich-with-live-conversation --include-flow-metrics --include-automatic-metrics --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation run') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'simulation template list') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook') echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook create') echo '--url --description --headers --events --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook delete') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook get') echo '--data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n 'webhook list') echo '--limit --after --data --yes --no-input --base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n *) echo '--base-url --token --timeout --max-retries --format --json --no-color --quiet --help' ;;\n esac\n}\n\n_roark() {\n local path candidate word cur\n local -a walked\n path=\"\"\n cur=\"${words[CURRENT]}\"\n\n for (( i = 2; i < CURRENT; i++ )); do\n word=\"${words[i]}\"\n case \"$word\" in -*) continue ;; esac\n if [[ -z \"$path\" ]]; then candidate=\"$word\"; else candidate=\"$path $word\"; fi\n if _roark_is_node \"$candidate\"; then path=\"$candidate\"; else break; fi\n done\n\n if [[ \"$cur\" == -* ]]; then\n compadd -- ${=$(_roark_flags \"$path\")}\n else\n compadd -- ${=$(_roark_children \"$path\")}\n fi\n}\n\ncompdef _roark roark\n",
|
|
11
|
+
fish: "# roark completion for fish. Generated by app-agent-codegen; do not edit.\n\nfunction __roark_is_node\n switch \"$argv[1]\"\n case ''; return 0\n case 'agent'; return 0\n case 'agent create'; return 0\n case 'agent endpoint'; return 0\n case 'agent endpoint create'; return 0\n case 'agent endpoint get'; return 0\n case 'agent endpoint list'; return 0\n case 'agent endpoint update'; return 0\n case 'agent get'; return 0\n case 'agent list'; return 0\n case 'agent prompt'; return 0\n case 'agent prompt list'; return 0\n case 'agent prompt update'; return 0\n case 'agent prompt version'; return 0\n case 'agent prompt version list'; return 0\n case 'agent update'; return 0\n case '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 get'; return 0\n case 'simulation plan job list'; return 0\n case 'simulation plan job start'; return 0\n case 'simulation plan list'; return 0\n case 'simulation plan update'; return 0\n case 'simulation run'; return 0\n case 'simulation template'; return 0\n case 'simulation template list'; return 0\n case 'webhook'; return 0\n case 'webhook create'; return 0\n case 'webhook delete'; return 0\n case 'webhook get'; return 0\n case 'webhook list'; return 0\n case '*'; return 1\n end\nend\n\nfunction __roark_children\n switch \"$argv[1]\"\n case ''; echo 'agent\napi\nauth\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 '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 'get\nlist\nstart'\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 '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 '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case create'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case promote'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow edge-case update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow graph replace'; echo '--graph\n--allow-unmerge\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow happy-path update'; echo '--title\n--environment-id\n--prompt\n--preceded-by-customer-flow-id\n--preceded-by-customer-flow-variant-id\n--persona-override-id\n--additional-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow list'; echo '--limit\n--after\n--search-text\n--type\n--include-system\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'customer-flow update'; echo '--title\n--description\n--script-adherence\n--off-script-policy\n--off-script-policy.reaction\n--off-script-policy.say-line\n--off-script-policy.max-attempts\n--off-script-policy.then\n--off-script-policy.wait-seconds\n--branching-mode\n--agent-ids\n--agent-expectations\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'health'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition create'; echo '--scope\n--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'http-request-definition update'; echo '--url\n--description\n--method\n--body\n--headers\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job create'; echo '--call-ids\n--chat-ids\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric collection-job list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition create'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric definition update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--scale-labels\n--boolean-true-label\n--boolean-false-label\n--classification-options\n--max-classifications\n--tool-definition-ids\n--supported-contexts\n--formula\n--sources\n--change-reason\n--slug\n--metric-id\n--source\n--organization-id\n--project-id\n--output-type\n--scope\n--participant-role\n--calc-type\n--supports-multiple-variants\n--analysis-package-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy create'; echo '--name\n--status\n--modality\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy list'; echo '--limit\n--after\n--status\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric policy update'; echo '--name\n--status\n--conditions\n--metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant create'; echo '--name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'metric variant update'; echo '--name\n--llm-prompt\n--scale-min\n--scale-max\n--boolean-true-label\n--boolean-false-label\n--max-classifications\n--change-reason\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment create'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation environment update'; echo '--name\n--description\n--background-noise\n--background-noise-volume\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation job lookup'; echo '--roark-phone-number\n--call-received-at\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona create'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--backstory-prompt\n--idle-messages\n--idle-timeout-seconds\n--idle-message-max-spoken-count\n--idle-message-reset-count-on-user-speech-enabled\n--properties\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona list'; echo '--limit\n--after\n--search-text\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation persona update'; echo '--name\n--display-name\n--description\n--language\n--secondary-language\n--understood-languages\n--accent\n--age\n--gender\n--background-noise\n--speech-pace\n--speech-clarity\n--has-disfluencies\n--base-emotion\n--intent-clarity\n--confirmation-style\n--memory-reliability\n--response-timing\n--backstory-prompt\n--idle-messages\n--idle-timeout-seconds\n--idle-message-max-spoken-count\n--idle-message-reset-count-on-user-speech-enabled\n--properties\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan create'; echo '--name\n--description\n--direction\n--iteration-count\n--max-concurrent-jobs\n--max-simulation-duration-seconds\n--silence-timeout-seconds\n--end-call-phrases\n--end-call-reasons\n--execution-mode\n--scenarios\n--flows\n--personas\n--agent-endpoints\n--metrics\n--include-flow-metrics\n--include-automatic-metrics\n--enrich-with-live-conversation\n--auto-run\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job list'; echo '--limit\n--after\n--status\n--simulation-run-plan-id\n--label-id\n--label-name\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan job start'; echo '--variables\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan list'; echo '--limit\n--after\n--search-text\n--agent-id\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation plan update'; echo '--is-hidden\n--name\n--description\n--direction\n--iteration-count\n--max-concurrent-jobs\n--max-simulation-duration-seconds\n--silence-timeout-seconds\n--end-call-phrases\n--end-call-reasons\n--execution-mode\n--scenarios\n--flows\n--personas\n--agent-endpoints\n--metrics\n--enrich-with-live-conversation\n--include-flow-metrics\n--include-automatic-metrics\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation run'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation template'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'simulation template list'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook create'; echo '--url\n--description\n--headers\n--events\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook delete'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook get'; echo '--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case 'webhook list'; echo '--limit\n--after\n--data\n--yes\n--no-input\n--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n case '*'; echo '--base-url\n--token\n--timeout\n--max-retries\n--format\n--json\n--no-color\n--quiet\n--help'\n end\nend\n\nfunction __roark_path\n set -l tokens (commandline -opc)\n set -l path \"\"\n for word in $tokens[2..-1]\n if string match -q -- '-*' $word\n continue\n end\n set -l candidate\n if test -z \"$path\"\n set candidate $word\n else\n set candidate \"$path $word\"\n end\n if __roark_is_node \"$candidate\"\n set path \"$candidate\"\n else\n break\n end\n end\n echo $path\nend\n\nfunction __roark_complete\n set -l path (__roark_path)\n set -l token (commandline -ct)\n if string match -q -- '-*' $token\n __roark_flags \"$path\"\n else\n __roark_children \"$path\"\n end\nend\n\ncomplete -c roark -f -a \"(__roark_complete)\"\n",
|
|
12
|
+
powershell: '# roark completion for PowerShell. Generated by app-agent-codegen; do not edit.\n\n$roarkChildren = @{\n "" = @("agent", "api", "auth", "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 "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" = @("get", "list", "start")\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 "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" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case create" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case promote" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow edge-case update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow graph replace" = @("--graph", "--allow-unmerge", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow happy-path update" = @("--title", "--environment-id", "--prompt", "--preceded-by-customer-flow-id", "--preceded-by-customer-flow-variant-id", "--persona-override-id", "--additional-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow list" = @("--limit", "--after", "--search-text", "--type", "--include-system", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "customer-flow update" = @("--title", "--description", "--script-adherence", "--off-script-policy", "--off-script-policy.reaction", "--off-script-policy.say-line", "--off-script-policy.max-attempts", "--off-script-policy.then", "--off-script-policy.wait-seconds", "--branching-mode", "--agent-ids", "--agent-expectations", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "health" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition create" = @("--scope", "--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "http-request-definition update" = @("--url", "--description", "--method", "--body", "--headers", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job create" = @("--call-ids", "--chat-ids", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric collection-job list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition create" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric definition update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--scale-labels", "--boolean-true-label", "--boolean-false-label", "--classification-options", "--max-classifications", "--tool-definition-ids", "--supported-contexts", "--formula", "--sources", "--change-reason", "--slug", "--metric-id", "--source", "--organization-id", "--project-id", "--output-type", "--scope", "--participant-role", "--calc-type", "--supports-multiple-variants", "--analysis-package-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy create" = @("--name", "--status", "--modality", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy list" = @("--limit", "--after", "--status", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric policy update" = @("--name", "--status", "--conditions", "--metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant create" = @("--name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "metric variant update" = @("--name", "--llm-prompt", "--scale-min", "--scale-max", "--boolean-true-label", "--boolean-false-label", "--max-classifications", "--change-reason", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment create" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation environment update" = @("--name", "--description", "--background-noise", "--background-noise-volume", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation job lookup" = @("--roark-phone-number", "--call-received-at", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona create" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--backstory-prompt", "--idle-messages", "--idle-timeout-seconds", "--idle-message-max-spoken-count", "--idle-message-reset-count-on-user-speech-enabled", "--properties", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona list" = @("--limit", "--after", "--search-text", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation persona update" = @("--name", "--display-name", "--description", "--language", "--secondary-language", "--understood-languages", "--accent", "--age", "--gender", "--background-noise", "--speech-pace", "--speech-clarity", "--has-disfluencies", "--base-emotion", "--intent-clarity", "--confirmation-style", "--memory-reliability", "--response-timing", "--backstory-prompt", "--idle-messages", "--idle-timeout-seconds", "--idle-message-max-spoken-count", "--idle-message-reset-count-on-user-speech-enabled", "--properties", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan create" = @("--name", "--description", "--direction", "--iteration-count", "--max-concurrent-jobs", "--max-simulation-duration-seconds", "--silence-timeout-seconds", "--end-call-phrases", "--end-call-reasons", "--execution-mode", "--scenarios", "--flows", "--personas", "--agent-endpoints", "--metrics", "--include-flow-metrics", "--include-automatic-metrics", "--enrich-with-live-conversation", "--auto-run", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job list" = @("--limit", "--after", "--status", "--simulation-run-plan-id", "--label-id", "--label-name", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan job start" = @("--variables", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan list" = @("--limit", "--after", "--search-text", "--agent-id", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation plan update" = @("--is-hidden", "--name", "--description", "--direction", "--iteration-count", "--max-concurrent-jobs", "--max-simulation-duration-seconds", "--silence-timeout-seconds", "--end-call-phrases", "--end-call-reasons", "--execution-mode", "--scenarios", "--flows", "--personas", "--agent-endpoints", "--metrics", "--enrich-with-live-conversation", "--include-flow-metrics", "--include-automatic-metrics", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation run" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation template" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "simulation template list" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook" = @("--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook create" = @("--url", "--description", "--headers", "--events", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook delete" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook get" = @("--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n "webhook list" = @("--limit", "--after", "--data", "--yes", "--no-input", "--base-url", "--token", "--timeout", "--max-retries", "--format", "--json", "--no-color", "--quiet", "--help")\n}\n\nRegister-ArgumentCompleter -Native -CommandName roark -ScriptBlock {\n param($wordToComplete, $commandAst, $cursorPosition)\n\n $tokens = @($commandAst.CommandElements | Select-Object -Skip 1 | ForEach-Object { $_.ToString() })\n $path = ""\n\n foreach ($token in $tokens) {\n if ($token.StartsWith("-")) { continue }\n if ($path -eq "") { $candidate = $token } else { $candidate = "$path $token" }\n # Extend only while the next word is a known node, so a flag\'s value is\n # never mistaken for a command.\n if ($roarkChildren.ContainsKey($candidate)) { $path = $candidate } else { break }\n }\n\n if ($wordToComplete.StartsWith("-")) {\n $candidates = $roarkFlags[$path]\n } else {\n $candidates = $roarkChildren[$path]\n }\n\n $candidates | Where-Object { $_ -like "$wordToComplete*" } | ForEach-Object {\n [System.Management.Automation.CompletionResult]::new($_, $_, \'ParameterValue\', $_)\n }\n}\n',
|
|
13
13
|
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
.\" File generated from our OpenAPI spec by app-agent-codegen. Do not edit.
|
|
2
|
+
.TH "ROARK\-AGENT\-PROMPT\-UPDATE" "1" "" "roark-agent-prompt-update" "Roark Analytics API Manual"
|
|
3
|
+
.SH "NAME"
|
|
4
|
+
roark\-agent\-prompt\-update \- Set an agent's prompt
|
|
5
|
+
.SH "SYNOPSIS"
|
|
6
|
+
.B roark agent prompt update
|
|
7
|
+
\fIagent\-id\fR [\fIoptions\fR]
|
|
8
|
+
.SH "DESCRIPTION"
|
|
9
|
+
Sets the agent's API\-managed prompt. This is its own version history (`source: API_MANAGED`), separate from prompts observed on calls, edited in the app, or managed by config\-as\-code. Setting the same content twice is a no\-op (no new version). Roark does not run your agent and no metric reads this prompt: it is stored and versioned for your reference.
|
|
10
|
+
.SH "API"
|
|
11
|
+
PUT /v1/agent/{agentId}/prompts
|
|
12
|
+
.SH "ARGUMENTS"
|
|
13
|
+
.TP
|
|
14
|
+
\fIagent\-id\fR
|
|
15
|
+
The agent\-id.
|
|
16
|
+
.SH "OPTIONS"
|
|
17
|
+
.TP
|
|
18
|
+
\fB\-\-prompt\fR \fI<value>\fR
|
|
19
|
+
The prompt content to set. Required.
|
|
20
|
+
.SH "GLOBAL OPTIONS"
|
|
21
|
+
.TP
|
|
22
|
+
\fB\-\-data\fR \fI<json>\fR
|
|
23
|
+
Request body as JSON, or @file to read one (@\- for stdin).
|
|
24
|
+
.TP
|
|
25
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
26
|
+
Skip confirmation prompts.
|
|
27
|
+
.TP
|
|
28
|
+
\fB\-\-no\-input\fR
|
|
29
|
+
Never prompt; fail instead.
|
|
30
|
+
.TP
|
|
31
|
+
\fB\-\-base\-url\fR \fI<url>\fR
|
|
32
|
+
API base URL.
|
|
33
|
+
.TP
|
|
34
|
+
\fB\-\-token\fR \fI<token>\fR
|
|
35
|
+
Bearer token. Prefer ROARK_API_BEARER_TOKEN or the stored credential.
|
|
36
|
+
.TP
|
|
37
|
+
\fB\-\-timeout\fR \fI<ms>\fR
|
|
38
|
+
Request timeout in milliseconds.
|
|
39
|
+
.TP
|
|
40
|
+
\fB\-\-max\-retries\fR \fI<count>\fR
|
|
41
|
+
Retries for retryable failures.
|
|
42
|
+
.TP
|
|
43
|
+
\fB\-\-format\fR \fI<format>\fR
|
|
44
|
+
Output format: auto, json, jsonl, plain.
|
|
45
|
+
.TP
|
|
46
|
+
\fB\-\-json\fR
|
|
47
|
+
Shorthand for \-\-format json.
|
|
48
|
+
.TP
|
|
49
|
+
\fB\-\-no\-color\fR
|
|
50
|
+
Disable colour.
|
|
51
|
+
.TP
|
|
52
|
+
\fB\-q\fR, \fB\-\-quiet\fR
|
|
53
|
+
Suppress non\-essential output.
|
|
54
|
+
.TP
|
|
55
|
+
\fB\-\-allow\-project\-base\-url\fR
|
|
56
|
+
Send the stored credential to a base URL set by a project .roark.json. Refused by default.
|
|
57
|
+
.SH "EXAMPLES"
|
|
58
|
+
.PP
|
|
59
|
+
.RS 4
|
|
60
|
+
.nf
|
|
61
|
+
roark agent prompt update <agent\-id> \-\-prompt <value>
|
|
62
|
+
.fi
|
|
63
|
+
.RE
|
|
64
|
+
.SH "ENVIRONMENT"
|
|
65
|
+
.TP
|
|
66
|
+
\fBROARK_API_BEARER_TOKEN\fR
|
|
67
|
+
Bearer token used when \-\-token is not given.
|
|
68
|
+
.TP
|
|
69
|
+
\fBROARK_BASE_URL\fR
|
|
70
|
+
API base URL.
|
|
71
|
+
.TP
|
|
72
|
+
\fBROARK_ALLOW_PROJECT_BASE_URL\fR
|
|
73
|
+
Trusts a base URL set by a project .roark.json, like \-\-allow\-project\-base\-url.
|
|
74
|
+
.TP
|
|
75
|
+
\fBNO_COLOR\fR
|
|
76
|
+
Disables colour when set to any value.
|
|
77
|
+
.SH "EXIT STATUS"
|
|
78
|
+
.TP
|
|
79
|
+
\fB0\fR
|
|
80
|
+
The command succeeded.
|
|
81
|
+
.TP
|
|
82
|
+
\fB1\fR
|
|
83
|
+
The API rejected the request.
|
|
84
|
+
.TP
|
|
85
|
+
\fB2\fR
|
|
86
|
+
The command line was wrong.
|
|
87
|
+
.TP
|
|
88
|
+
\fB3\fR
|
|
89
|
+
No credential, or the credential was refused.
|
|
90
|
+
.TP
|
|
91
|
+
\fB4\fR
|
|
92
|
+
The addressed resource does not exist.
|
|
93
|
+
.TP
|
|
94
|
+
\fB5\fR
|
|
95
|
+
The request never completed: connection, timeout, or abort.
|
|
96
|
+
.SH "SEE ALSO"
|
|
97
|
+
.BR roark (1)
|
|
@@ -21,6 +21,27 @@ Optional.
|
|
|
21
21
|
\fB\-\-description\fR \fI<value>\fR
|
|
22
22
|
Optional.
|
|
23
23
|
.TP
|
|
24
|
+
\fB\-\-script\-adherence\fR \fI<value>\fR
|
|
25
|
+
Scripted flows only. How closely a run follows the script. LOOSE (default) hands the whole script to the simulated customer as one prompt; it keeps the call moving whatever your agent says. STRICT runs the script as a state machine on the agent service: at every agent step the simulated customer waits, silent, until your agent has said the expected line, and only then moves on. Scripted flows only; STRICT needs the agent\-service transport and is not available on realtime models. One of: LOOSE, STRICT. Optional.
|
|
26
|
+
.TP
|
|
27
|
+
\fB\-\-off\-script\-policy\fR \fI<value>\fR
|
|
28
|
+
STRICT only. What the simulated customer does when your agent does not say the expected line. Each unmatched agent utterance is a strike: `reaction` runs per strike (STAY_SILENT, REPEAT its last scripted line, RESPOND once in character without moving on, or SAY `sayLine`), and `then` runs when strikes reach `maxAttempts` or your agent stays silent for `waitSeconds` (HANG_UP ends the call with ended reason SCRIPT_DIVERGED, MOVE_ON advances anyway, ADAPT hands the rest of the call to loose behaviour). Null: stay silent, 3 attempts, hang up. Optional.
|
|
29
|
+
.TP
|
|
30
|
+
\fB\-\-off\-script\-policy.reaction\fR \fI<value>\fR
|
|
31
|
+
One of: STAY_SILENT, REPEAT, RESPOND, SAY. Required.
|
|
32
|
+
.TP
|
|
33
|
+
\fB\-\-off\-script\-policy.say\-line\fR \fI<value>\fR
|
|
34
|
+
Optional.
|
|
35
|
+
.TP
|
|
36
|
+
\fB\-\-off\-script\-policy.max\-attempts\fR \fI<value>\fR
|
|
37
|
+
Required.
|
|
38
|
+
.TP
|
|
39
|
+
\fB\-\-off\-script\-policy.then\fR \fI<value>\fR
|
|
40
|
+
One of: HANG_UP, MOVE_ON, ADAPT. Required.
|
|
41
|
+
.TP
|
|
42
|
+
\fB\-\-off\-script\-policy.wait\-seconds\fR \fI<value>\fR
|
|
43
|
+
Optional.
|
|
44
|
+
.TP
|
|
24
45
|
\fB\-\-branching\-mode\fR \fI<value>\fR
|
|
25
46
|
Scripted flows only. How a run walks the graph. DETERMINISTIC ("Simulate every path" in the app) places one call per variant, each following its path exactly whatever the agent says. ADAPTIVE ("Adapt to your agent") collapses the paths into one call PER PERSONA, on which the simulated customer picks a branch from what the agent actually said. Both modes speak the exact authored lines, and neither changes how metrics or expectations grade. One of: DETERMINISTIC, ADAPTIVE. Optional.
|
|
26
47
|
.TP
|
|
@@ -70,7 +91,7 @@ Send the stored credential to a base URL set by a project .roark.json. Refused b
|
|
|
70
91
|
.PP
|
|
71
92
|
.RS 4
|
|
72
93
|
.nf
|
|
73
|
-
roark customer\-flow update <flow\-id>
|
|
94
|
+
roark customer\-flow update <flow\-id> \-\-off\-script\-policy.reaction <value> \-\-off\-script\-policy.max\-attempts <value> \-\-off\-script\-policy.then <value>
|
|
74
95
|
.fi
|
|
75
96
|
.RE
|
|
76
97
|
.SH "ENVIRONMENT"
|
package/man/roark.1
CHANGED
|
@@ -84,6 +84,9 @@ List agents See roark\-agent\-list(1).
|
|
|
84
84
|
\fBroark agent prompt list\fR
|
|
85
85
|
List an agent's prompts See roark\-agent\-prompt\-list(1).
|
|
86
86
|
.TP
|
|
87
|
+
\fBroark agent prompt update\fR
|
|
88
|
+
Set an agent's prompt See roark\-agent\-prompt\-update(1).
|
|
89
|
+
.TP
|
|
87
90
|
\fBroark agent prompt version list\fR
|
|
88
91
|
List a prompt's versions See roark\-agent\-prompt\-version\-list(1).
|
|
89
92
|
.TP
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roarkanalytics/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.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.12.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@roarkanalytics/sdk": "^3.2.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roarkanalytics/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "The official command line interface for the Roark API",
|
|
5
5
|
"author": "Roark <james@roark.ai>",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"./man/roark-agent-get.1",
|
|
44
44
|
"./man/roark-agent-list.1",
|
|
45
45
|
"./man/roark-agent-prompt-list.1",
|
|
46
|
+
"./man/roark-agent-prompt-update.1",
|
|
46
47
|
"./man/roark-agent-prompt-version-list.1",
|
|
47
48
|
"./man/roark-agent-update.1",
|
|
48
49
|
"./man/roark-call-create.1",
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.12.0";
|
package/version.js
CHANGED