retell-sync-cli 2.1.0 → 2.2.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.
Files changed (2) hide show
  1. package/dist/cli.js +9 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -135412,7 +135412,12 @@ async function deploy({
135412
135412
  spinner = createSpinner(`Deploying ${totalChanges} changes...`);
135413
135413
  const updateResults = await Promise.allSettled([
135414
135414
  ...changes.agents.map(async (change) => {
135415
- const { _id, _version, ...updateData } = change.current;
135415
+ const {
135416
+ _id,
135417
+ _version,
135418
+ response_engine: _10,
135419
+ ...updateData
135420
+ } = change.current;
135416
135421
  await retell.agent.update(_id, updateData);
135417
135422
  return { type: "agent", id: _id, name: change.name };
135418
135423
  }),
@@ -135559,7 +135564,9 @@ function computeChanges(local, remote) {
135559
135564
  const remoteAgent = remoteAgents.get(agent._id);
135560
135565
  if (!remoteAgent)
135561
135566
  continue;
135562
- const differences = diff(remoteAgent, agent);
135567
+ const { response_engine: _localRe, ...localComparable } = agent;
135568
+ const { response_engine: _remoteRe, ...remoteComparable } = remoteAgent;
135569
+ const differences = diff(remoteComparable, localComparable);
135563
135570
  if (differences.length > 0) {
135564
135571
  changes.agents.push({
135565
135572
  id: agent._id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retell-sync-cli",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "CLI tool for syncing Retell AI agents between local filesystem and API",
5
5
  "keywords": [
6
6
  "agents",