retell-cli 1.4.0 → 1.4.2

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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/dist/index.js +18 -18
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -364,7 +364,7 @@ Manage agent-level settings that aren't part of prompts (voice, webhooks, post-c
364
364
  Get agent configuration including all agent-level settings.
365
365
 
366
366
  **Options:**
367
- - `--version <number>` - Specific version to retrieve (defaults to latest)
367
+ - `--engine-version <number>` - Specific version to retrieve (defaults to latest)
368
368
  - `--fields <fields>` - Comma-separated list of fields to return
369
369
 
370
370
  **Examples:**
@@ -373,7 +373,7 @@ Get agent configuration including all agent-level settings.
373
373
  retell agent get agent_123abc
374
374
 
375
375
  # Get specific version
376
- retell agent get agent_123abc --version 2
376
+ retell agent get agent_123abc --engine-version 2
377
377
 
378
378
  # Get specific fields only
379
379
  retell agent get agent_123abc --fields agent_name,post_call_analysis_data
@@ -394,7 +394,7 @@ Update agent configuration from a JSON file. This is useful for updating agent-l
394
394
  **Options:**
395
395
  - `-f, --file <path>` - Path to JSON file containing agent configuration updates (required)
396
396
  - `--dry-run` - Preview changes without applying them
397
- - `--version <number>` - Specific version to update (defaults to latest draft)
397
+ - `--engine-version <number>` - Specific version to update (defaults to latest draft)
398
398
 
399
399
  **Example JSON for post-call analysis:**
400
400
  ```json
package/dist/index.js CHANGED
@@ -4147,7 +4147,7 @@ var agent = program.command("agent").description(
4147
4147
  "Manage agent-level configuration (voice, webhooks, post-call analysis, etc.)"
4148
4148
  );
4149
4149
  agent.command("get <agent_id>").description("Get agent configuration").option(
4150
- "--version <number>",
4150
+ "--engine-version <number>",
4151
4151
  "Specific version to retrieve (defaults to latest)"
4152
4152
  ).option(
4153
4153
  "--fields <fields>",
@@ -4157,13 +4157,13 @@ agent.command("get <agent_id>").description("Get agent configuration").option(
4157
4157
  `
4158
4158
  Examples:
4159
4159
  $ retell agent get agent_123abc
4160
- $ retell agent get agent_123abc --version 2
4160
+ $ retell agent get agent_123abc --engine-version 2
4161
4161
  $ retell agent get agent_123abc --fields agent_name,post_call_analysis_data
4162
4162
  $ retell agent get agent_123abc > config.json
4163
4163
  `
4164
4164
  ).action(async (agentId, options) => {
4165
4165
  await getAgentCommand(agentId, {
4166
- version: options.version ? parseInt(options.version, 10) : void 0,
4166
+ version: options.engineVersion ? parseInt(options.engineVersion, 10) : void 0,
4167
4167
  fields: options.fields
4168
4168
  });
4169
4169
  });
@@ -4171,7 +4171,7 @@ agent.command("update <agent_id>").description("Update agent configuration from
4171
4171
  "-f, --file <path>",
4172
4172
  "Path to JSON file containing agent configuration updates"
4173
4173
  ).option("--dry-run", "Preview changes without applying them").option(
4174
- "--version <number>",
4174
+ "--engine-version <number>",
4175
4175
  "Specific version to update (defaults to latest draft)"
4176
4176
  ).addHelpText(
4177
4177
  "after",
@@ -4179,7 +4179,7 @@ agent.command("update <agent_id>").description("Update agent configuration from
4179
4179
  Examples:
4180
4180
  $ retell agent update agent_123abc --file config.json
4181
4181
  $ retell agent update agent_123abc --file config.json --dry-run
4182
- $ retell agent update agent_123abc --file analysis.json --version 2
4182
+ $ retell agent update agent_123abc --file analysis.json --engine-version 2
4183
4183
 
4184
4184
  Example JSON for post-call analysis:
4185
4185
  {
@@ -4202,7 +4202,7 @@ Note: Run 'retell agent-publish <agent_id>' after updating to publish changes.
4202
4202
  await updateAgentCommand(agentId, {
4203
4203
  file: options.file,
4204
4204
  dryRun: options.dryRun,
4205
- version: options.version ? parseInt(options.version, 10) : void 0
4205
+ version: options.engineVersion ? parseInt(options.engineVersion, 10) : void 0
4206
4206
  });
4207
4207
  });
4208
4208
  var tools = program.command("tools").description("Manage agent tools (custom functions, webhooks, etc.)");
@@ -4378,13 +4378,13 @@ Examples:
4378
4378
  testsCases.command("create").description("Create a new test case definition from a JSON file").requiredOption(
4379
4379
  "-f, --file <path>",
4380
4380
  "Path to JSON file containing test case definition"
4381
- ).option("--llm-id <id>", "LLM ID (mutually exclusive with --flow-id)").option("--flow-id <id>", "Flow ID (mutually exclusive with --llm-id)").option("--version <number>", "Version of the LLM or flow (optional)").addHelpText(
4381
+ ).option("--llm-id <id>", "LLM ID (mutually exclusive with --flow-id)").option("--flow-id <id>", "Flow ID (mutually exclusive with --llm-id)").option("--engine-version <number>", "Version of the LLM or flow (optional)").addHelpText(
4382
4382
  "after",
4383
4383
  `
4384
4384
  Examples:
4385
4385
  $ retell tests cases create --file test-case.json --llm-id llm_abc123
4386
4386
  $ retell tests cases create --file test-case.json --flow-id cf_abc123
4387
- $ retell tests cases create --file test-case.json --llm-id llm_abc123 --version 2
4387
+ $ retell tests cases create --file test-case.json --llm-id llm_abc123 --engine-version 2
4388
4388
 
4389
4389
  Test case JSON format:
4390
4390
  {
@@ -4399,7 +4399,7 @@ Test case JSON format:
4399
4399
  file: options.file,
4400
4400
  llmId: options.llmId,
4401
4401
  flowId: options.flowId,
4402
- version: options.version ? parseInt(options.version, 10) : void 0
4402
+ version: options.engineVersion ? parseInt(options.engineVersion, 10) : void 0
4403
4403
  });
4404
4404
  });
4405
4405
  testsCases.command("update <test_case_definition_id>").description("Update an existing test case definition from a JSON file").requiredOption(
@@ -4464,20 +4464,20 @@ Examples:
4464
4464
  testsBatch.command("create").description("Create a new batch test with specified test case definitions").option("--llm-id <id>", "LLM ID (mutually exclusive with --flow-id)").option("--flow-id <id>", "Flow ID (mutually exclusive with --llm-id)").requiredOption(
4465
4465
  "--cases <ids>",
4466
4466
  "Comma-separated list of test case definition IDs"
4467
- ).option("--version <number>", "Version of the LLM or flow (optional)").addHelpText(
4467
+ ).option("--engine-version <number>", "Version of the LLM or flow (optional)").addHelpText(
4468
4468
  "after",
4469
4469
  `
4470
4470
  Examples:
4471
4471
  $ retell tests batch create --llm-id llm_abc123 --cases tcd_xxx,tcd_yyy,tcd_zzz
4472
4472
  $ retell tests batch create --flow-id cf_abc123 --cases tcd_xxx,tcd_yyy
4473
- $ retell tests batch create --llm-id llm_abc123 --cases tcd_xxx --version 2
4473
+ $ retell tests batch create --llm-id llm_abc123 --cases tcd_xxx --engine-version 2
4474
4474
  `
4475
4475
  ).action(async (options) => {
4476
4476
  await createBatchTestCommand({
4477
4477
  llmId: options.llmId,
4478
4478
  flowId: options.flowId,
4479
4479
  cases: options.cases,
4480
- version: options.version ? parseInt(options.version, 10) : void 0
4480
+ version: options.engineVersion ? parseInt(options.engineVersion, 10) : void 0
4481
4481
  });
4482
4482
  });
4483
4483
  var testsRuns = tests.command("runs").description("View test run results");
@@ -4622,19 +4622,19 @@ Examples:
4622
4622
  });
4623
4623
  });
4624
4624
  flows.command("get <conversation_flow_id>").description("Get a specific conversation flow").option(
4625
- "--version <number>",
4625
+ "--engine-version <number>",
4626
4626
  "Specific version to retrieve (defaults to latest)"
4627
4627
  ).option("--fields <fields>", "Comma-separated list of fields to return").addHelpText(
4628
4628
  "after",
4629
4629
  `
4630
4630
  Examples:
4631
4631
  $ retell flows get cf_abc123
4632
- $ retell flows get cf_abc123 --version 2
4632
+ $ retell flows get cf_abc123 --engine-version 2
4633
4633
  $ retell flows get cf_abc123 --fields conversation_flow_id,nodes,edges
4634
4634
  `
4635
4635
  ).action(async (conversationFlowId, options) => {
4636
4636
  await getFlowCommand(conversationFlowId, {
4637
- version: options.version ? parseInt(options.version, 10) : void 0,
4637
+ version: options.engineVersion ? parseInt(options.engineVersion, 10) : void 0,
4638
4638
  fields: options.fields
4639
4639
  });
4640
4640
  });
@@ -4664,19 +4664,19 @@ flows.command("update <conversation_flow_id>").description("Update an existing c
4664
4664
  "-f, --file <path>",
4665
4665
  "Path to JSON file containing flow updates"
4666
4666
  ).option(
4667
- "--version <number>",
4667
+ "--engine-version <number>",
4668
4668
  "Specific version to update (defaults to latest)"
4669
4669
  ).addHelpText(
4670
4670
  "after",
4671
4671
  `
4672
4672
  Examples:
4673
4673
  $ retell flows update cf_abc123 --file updates.json
4674
- $ retell flows update cf_abc123 --file updates.json --version 2
4674
+ $ retell flows update cf_abc123 --file updates.json --engine-version 2
4675
4675
  `
4676
4676
  ).action(async (conversationFlowId, options) => {
4677
4677
  await updateFlowCommand(conversationFlowId, {
4678
4678
  file: options.file,
4679
- version: options.version ? parseInt(options.version, 10) : void 0
4679
+ version: options.engineVersion ? parseInt(options.engineVersion, 10) : void 0
4680
4680
  });
4681
4681
  });
4682
4682
  flows.command("delete <conversation_flow_id>").description("Delete a conversation flow").addHelpText(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retell-cli",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "Community CLI for Retell AI - efficient access to transcripts, agents, and prompts for AI assistants without MCP overhead",
5
5
  "main": "dist/index.js",
6
6
  "bin": {