cbrowser 9.9.0 → 9.10.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/dist/cli.js +8 -0
- package/dist/cli.js.map +1 -1
- package/dist/cognitive/index.d.ts.map +1 -1
- package/dist/cognitive/index.js +48 -3
- package/dist/cognitive/index.js.map +1 -1
- package/dist/types.d.ts +65 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +62 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4385,6 +4385,14 @@ Documentation: https://github.com/alexandriashai/cbrowser/wiki
|
|
|
4385
4385
|
console.log(` Time: ${result.totalTime.toFixed(1)}s`);
|
|
4386
4386
|
console.log(` Friction points: ${result.frictionPoints.length}`);
|
|
4387
4387
|
console.log(` Max frustration: ${(result.summary.maxFrustrationLevel * 100).toFixed(0)}%`);
|
|
4388
|
+
// Decision fatigue metrics (v9.9.0)
|
|
4389
|
+
if (result.summary.decisionsMade !== undefined) {
|
|
4390
|
+
console.log(` Decisions made: ${result.summary.decisionsMade}`);
|
|
4391
|
+
console.log(` Decision fatigue: ${((result.summary.finalDecisionFatigue ?? 0) * 100).toFixed(0)}%`);
|
|
4392
|
+
if (result.summary.wasChoosingDefaults) {
|
|
4393
|
+
console.log(` ⚠️ Was choosing defaults (high fatigue)`);
|
|
4394
|
+
}
|
|
4395
|
+
}
|
|
4388
4396
|
if (result.frictionPoints.length > 0) {
|
|
4389
4397
|
console.log(`\n⚠️ Friction Points:`);
|
|
4390
4398
|
for (const fp of result.frictionPoints) {
|