@groeponline/pi-missions 0.3.11 → 0.3.12
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/CHANGELOG.md +4 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1368,6 +1368,7 @@ function statusText(mission) {
|
|
|
1368
1368
|
}
|
|
1369
1369
|
|
|
1370
1370
|
// src/engines/metrics.ts
|
|
1371
|
+
import { randomUUID } from "crypto";
|
|
1371
1372
|
var SessionMetricsCollector = class _SessionMetricsCollector {
|
|
1372
1373
|
metrics;
|
|
1373
1374
|
static instance = null;
|
|
@@ -1385,7 +1386,7 @@ var SessionMetricsCollector = class _SessionMetricsCollector {
|
|
|
1385
1386
|
}
|
|
1386
1387
|
freshMetrics() {
|
|
1387
1388
|
return {
|
|
1388
|
-
sessionId: `session-${
|
|
1389
|
+
sessionId: `session-${randomUUID()}`,
|
|
1389
1390
|
startTime: Date.now(),
|
|
1390
1391
|
toolCalls: { total: 0, byTool: {}, successful: 0, failed: 0 },
|
|
1391
1392
|
tokensUsed: 0,
|