@opennous/mcp 0.62.0 → 0.63.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.
- package/package.json +1 -1
- package/src/server.js +11 -0
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -300,6 +300,17 @@ export function createServer() {
|
|
|
300
300
|
lines.push(`ICP FIT: ${rec.icp.score}/100 — ${label}${rec.icp.reason ? ` (${rec.icp.reason})` : ""}`);
|
|
301
301
|
lines.push("");
|
|
302
302
|
}
|
|
303
|
+
if (rec.scorecard) {
|
|
304
|
+
// The latest call scorecard the app computed (Coaching v2). The after-call skill writes the
|
|
305
|
+
// coaching review out of THIS — it does not re-score. Each dimension carries its exact moment.
|
|
306
|
+
const sc = rec.scorecard;
|
|
307
|
+
lines.push(`LAST CALL SCORE: ${sc.overall}/100 · ${sc.next_step_secured ? "next step secured" : "no next step secured"}${sc.occurred_at ? ` (${relAge(sc.occurred_at)})` : ""}`);
|
|
308
|
+
for (const d of (sc.scores ?? [])) {
|
|
309
|
+
lines.push(` [${d.score}] ${d.label}${d.note ? ` — ${d.note}` : ""}`);
|
|
310
|
+
if (d.moment) lines.push(` "${d.moment}"`);
|
|
311
|
+
}
|
|
312
|
+
lines.push("");
|
|
313
|
+
}
|
|
303
314
|
if (rec.facts?.length) {
|
|
304
315
|
// Atomic memory — the durable, decision-relevant facts learned about them.
|
|
305
316
|
lines.push(`FACTS (${rec.facts.length} — durable memory about them):`);
|