@groeponline/pi-missions 0.3.11 → 0.3.13

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 CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.13] - 2026-09-05
11
+
12
+ ### Maintenance
13
+ - ignore local agent adapter state directories (#20)
14
+ ## [0.3.12] - 2026-09-05
15
+
16
+ ### Fixed
17
+ - generate session ids with crypto.randomUUID (#19)
10
18
  ## [0.3.11] - 2026-09-05
11
19
 
12
20
  ### Fixed
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-${Date.now()}-${Math.random().toString(36).slice(2, 8)}`,
1389
+ sessionId: `session-${randomUUID()}`,
1389
1390
  startTime: Date.now(),
1390
1391
  toolCalls: { total: 0, byTool: {}, successful: 0, failed: 0 },
1391
1392
  tokensUsed: 0,