retell-sync-cli 3.7.0 → 3.7.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.
package/dist/cli.js CHANGED
@@ -135192,7 +135192,7 @@ async function getTestCaseDefinitions(responseEngine) {
135192
135192
  params.set("version", String(responseEngine.version));
135193
135193
  }
135194
135194
  }
135195
- const response = await fetch(`https://api.retellai.com/list-test-case-definitions?${params}`, {
135195
+ const response = await fetch(`https://api.retellai.com/list-test-case-definitions?${params.toString()}`, {
135196
135196
  headers: {
135197
135197
  Authorization: `Bearer ${process.env.RETELL_API_KEY}`,
135198
135198
  "Content-Type": "application/json"
@@ -135250,7 +135250,8 @@ async function fetchAndWriteTestCases({
135250
135250
  try {
135251
135251
  testCases = await getTestCaseDefinitions(normalizedEngine);
135252
135252
  } catch (err) {
135253
- console.warn(`Warning: Could not fetch test cases for ${agentName}: ${err}`);
135253
+ const message = err instanceof Error ? err.message : String(err);
135254
+ console.warn(`Warning: Could not fetch test cases for ${agentName}: ${message}`);
135254
135255
  continue;
135255
135256
  }
135256
135257
  if (testCases.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retell-sync-cli",
3
- "version": "3.7.0",
3
+ "version": "3.7.2",
4
4
  "description": "CLI tool for syncing Retell AI agents between local filesystem and API",
5
5
  "keywords": [
6
6
  "agents",
package/.env.local DELETED
@@ -1 +0,0 @@
1
- RETELL_API_KEY="key_12a24954adfaf146f4a3cd6616a3"
package/.oxlintrc.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "plugins": [
3
- "eslint",
4
- "typescript",
5
- "unicorn",
6
- "oxc",
7
- "import",
8
- "jsdoc",
9
- "node",
10
- "promise"
11
- ]
12
- }
package/.prettierrc.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "https://www.schemastore.org/prettierrc.json",
3
- "semi": false,
4
- "tabWidth": 2,
5
- "useTabs": false,
6
- "plugins": ["prettier-plugin-jsdoc"]
7
- }
@@ -1,9 +0,0 @@
1
- {
2
- "editor.defaultFormatter": "esbenp.prettier-vscode",
3
- "editor.formatOnSave": true,
4
- "oxc.typeAware": true,
5
- "biome.enabled": false,
6
- "[typescript]": {
7
- "editor.defaultFormatter": "esbenp.prettier-vscode"
8
- }
9
- }