retell-sync-cli 3.13.0 → 3.13.1
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 +7 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -111366,10 +111366,10 @@ var ToolCallResultSchema = exports_external.object({
|
|
|
111366
111366
|
});
|
|
111367
111367
|
var NodeTransitionSchema = exports_external.object({
|
|
111368
111368
|
role: exports_external.literal("node_transition"),
|
|
111369
|
-
former_node_id: exports_external.string(),
|
|
111370
|
-
former_node_name: exports_external.string(),
|
|
111371
|
-
new_node_id: exports_external.string(),
|
|
111372
|
-
new_node_name: exports_external.string(),
|
|
111369
|
+
former_node_id: exports_external.string().optional(),
|
|
111370
|
+
former_node_name: exports_external.string().optional(),
|
|
111371
|
+
new_node_id: exports_external.string().optional(),
|
|
111372
|
+
new_node_name: exports_external.string().optional(),
|
|
111373
111373
|
time_sec: exports_external.number().optional(),
|
|
111374
111374
|
global_transition: exports_external.boolean().optional()
|
|
111375
111375
|
});
|
|
@@ -113706,8 +113706,8 @@ function createCallSchemas(config2) {
|
|
|
113706
113706
|
call_id: exports_external.string(),
|
|
113707
113707
|
agent_id: exports_external.string().optional(),
|
|
113708
113708
|
agent_name: exports_external.string().optional(),
|
|
113709
|
-
agent_version: exports_external.number(),
|
|
113710
|
-
call_status: CallStatusSchema,
|
|
113709
|
+
agent_version: exports_external.number().optional(),
|
|
113710
|
+
call_status: CallStatusSchema.catch("ended"),
|
|
113711
113711
|
metadata: config2.metadata,
|
|
113712
113712
|
retell_llm_dynamic_variables: config2.dynamicVariables,
|
|
113713
113713
|
collected_dynamic_variables: config2.collectedDynamicVariables,
|
|
@@ -134150,7 +134150,7 @@ async function getLocalState({
|
|
|
134150
134150
|
const agentDirName = path15.dirname(agentIdPath);
|
|
134151
134151
|
const agentDirFull = path15.join(agentsDir, agentDirName);
|
|
134152
134152
|
const filesGlob = new Bun.Glob("**/*");
|
|
134153
|
-
for await (const file2 of filesGlob.scan(agentDirFull)) {
|
|
134153
|
+
for await (const file2 of filesGlob.scan({ cwd: agentDirFull, dot: true })) {
|
|
134154
134154
|
const filePath = path15.join(agentDirFull, file2);
|
|
134155
134155
|
const stat2 = await fs8.stat(filePath);
|
|
134156
134156
|
if (stat2.isFile()) {
|