@velaro/cli 1.4.64 → 1.4.65
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.
|
@@ -25,6 +25,14 @@ export const experienceImpactCommand = {
|
|
|
25
25
|
console.log(`\nExperience Impact ${d.range?.from}..${d.range?.to}`);
|
|
26
26
|
console.log(` Experience index: ${s.experienceIndex} / 100`);
|
|
27
27
|
console.log(` Adherence ${s.adherencePct}% | Service level ${s.serviceLevelPct}% | Missed chats ${s.missedChats} | Avg wait ${s.avgWaitSec}s | CSAT ${s.csatAvg ?? '-'} (${s.csatResponses ?? 0})`);
|
|
28
|
+
const b = d.botVsHuman;
|
|
29
|
+
if (b) {
|
|
30
|
+
console.log(` Bots vs humans (bot containment ${b.containmentRatePct}%)`);
|
|
31
|
+
for (const [label, k] of [['Bot only', 'botOnly'], ['Bot to human', 'handoff'], ['Human only', 'humanOnly']]) {
|
|
32
|
+
const x = b[k] ?? {};
|
|
33
|
+
console.log(` ${label}: ${x.chats} chats | avg wait ${x.avgWaitSec}s | missed ${x.missed} | CSAT ${x.csatResponses ? x.csatAvg : '-'} (${x.csatResponses ?? 0})`);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
28
36
|
for (const i of d.insights ?? []) console.log(` [${i.severity}] ${i.text}`);
|
|
29
37
|
for (const a of d.agents ?? []) {
|
|
30
38
|
console.log(` [${a.agentId}] ${a.name}: index ${a.experienceIndex} adherence ${a.adherencePct}% CSAT ${a.csatAvg ?? '-'} handled ${a.handled}`);
|
package/package.json
CHANGED