@getdial/cli 0.9.0 → 0.11.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.
|
@@ -23,6 +23,10 @@ export async function runCallGet(opts) {
|
|
|
23
23
|
console.log(`status: ${c.status}`);
|
|
24
24
|
console.log(`duration: ${c.duration}s`);
|
|
25
25
|
console.log(`created: ${c.createdAt}`);
|
|
26
|
+
if (c.systemPrompt) {
|
|
27
|
+
console.log(`systemPrompt:`);
|
|
28
|
+
console.log(c.systemPrompt);
|
|
29
|
+
}
|
|
26
30
|
if (c.transcript) {
|
|
27
31
|
console.log(`transcript:`);
|
|
28
32
|
console.log(c.transcript);
|
|
@@ -22,7 +22,7 @@ export async function runCallSend(opts) {
|
|
|
22
22
|
return 2;
|
|
23
23
|
}
|
|
24
24
|
const c = res.data.call;
|
|
25
|
-
const waitCmd = `dial wait-for call.ended -f
|
|
25
|
+
const waitCmd = `dial wait-for call.ended -f callId=${c.id} --json`;
|
|
26
26
|
const followUpQuestion = "Want me to wait for the call to finish and report back (duration, final status, transcript)?";
|
|
27
27
|
if (opts.json) {
|
|
28
28
|
console.log(JSON.stringify({
|
|
@@ -45,9 +45,6 @@ export async function runCallSend(opts) {
|
|
|
45
45
|
console.log(` to: ${c.to}`);
|
|
46
46
|
console.log(` status: ${c.status}`);
|
|
47
47
|
console.log(` call id: ${c.id}`);
|
|
48
|
-
console.log(` twilio: ${c.sid}`);
|
|
49
|
-
if (c.retellCallId)
|
|
50
|
-
console.log(` retell: ${c.retellCallId}`);
|
|
51
48
|
console.log(``);
|
|
52
49
|
console.log(`The call has been dispatched. To learn when it ends (duration, final`);
|
|
53
50
|
console.log(`status, transcript availability), wait for the call.ended event:`);
|
|
@@ -108,7 +108,7 @@ export function lastEventAtFromLog(file) {
|
|
|
108
108
|
logger.warn({ err, file, lineIndex: i }, "skipping malformed JSONL line in listen log");
|
|
109
109
|
continue;
|
|
110
110
|
}
|
|
111
|
-
const t = obj.occurred_at ?? obj.ts;
|
|
111
|
+
const t = obj.occurredAt ?? obj.occurred_at ?? obj.ts;
|
|
112
112
|
if (t)
|
|
113
113
|
return t;
|
|
114
114
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getdial/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Dial CLI — install, sign up, and run the local listen service.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/GetDial-AI/cli.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/GetDial-AI/cli#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/GetDial-AI/cli/issues"
|
|
13
|
+
},
|
|
6
14
|
"bin": {
|
|
7
15
|
"dial": "./dist/cli.js"
|
|
8
16
|
},
|
package/skill.tar.gz
CHANGED
|
Binary file
|