@absolutejs/voice 0.0.22-beta.382 → 0.0.22-beta.384

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.
@@ -4731,6 +4731,7 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
4731
4731
  href: appendRealCallRecoveryActionQuery(options.browserProofHref ?? "/voice/browser-call-profiles", { profileId }),
4732
4732
  id: "collect-browser-proof",
4733
4733
  label: profileId ? `Run browser profile proof for ${profileId}` : "Run browser profile proof",
4734
+ method: "POST",
4734
4735
  profileId
4735
4736
  });
4736
4737
  actions.push({
@@ -4738,6 +4739,7 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
4738
4739
  href: appendRealCallRecoveryActionQuery(options.phoneProofHref ?? "/api/voice/phone/smoke", { profileId }),
4739
4740
  id: "collect-phone-proof",
4740
4741
  label: profileId ? `Run phone profile proof for ${profileId}` : "Run phone profile proof",
4742
+ method: "POST",
4741
4743
  profileId
4742
4744
  });
4743
4745
  }
@@ -4747,7 +4749,8 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
4747
4749
  description: "Collect fresh real-call profile traces because the current history artifact is stale.",
4748
4750
  href: options.browserProofHref ?? "/voice/browser-call-profiles",
4749
4751
  id: "collect-browser-proof",
4750
- label: "Collect fresh profile evidence"
4752
+ label: "Collect fresh profile evidence",
4753
+ method: "POST"
4751
4754
  });
4752
4755
  }
4753
4756
  if (missingRoleProfiles.length > 0 || report.defaults.summary.actionableProfiles < (options.minActionableProfiles ?? 1)) {
@@ -5018,21 +5021,22 @@ var buildVoiceRealCallProfileHistoryReport = (options = {}) => {
5018
5021
  ];
5019
5022
  const passingHistory = history.filter((report) => report.ok === true);
5020
5023
  const recommendationHistory = passingHistory.length > 0 ? passingHistory : history;
5021
- const profiles = buildVoiceProofTrendProfileSummaries(recommendationHistory, options);
5024
+ const profileHistory = history.length > 0 ? history : recommendationHistory;
5025
+ const profiles = buildVoiceProofTrendProfileSummaries(profileHistory, options);
5022
5026
  const summary = {
5023
- cycles: recommendationHistory.reduce((total, report) => total + (report.summary.cycles ?? report.cycles.length), 0),
5027
+ cycles: profileHistory.reduce((total, report) => total + (report.summary.cycles ?? report.cycles.length), 0),
5024
5028
  failedReports: history.filter((report) => report.ok !== true).length,
5025
- maxLiveP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxLiveP95)),
5026
- maxProviderP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxProviderP95)),
5027
- maxTurnP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxTurnP95)),
5029
+ maxLiveP95Ms: maxNumber(profileHistory.map(readProofTrendMaxLiveP95)),
5030
+ maxProviderP95Ms: maxNumber(profileHistory.map(readProofTrendMaxProviderP95)),
5031
+ maxTurnP95Ms: maxNumber(profileHistory.map(readProofTrendMaxTurnP95)),
5028
5032
  profileCount: profiles.length,
5029
5033
  profiles,
5030
- providers: readProofTrendProviders(recommendationHistory),
5031
- runtimeChannel: aggregateProofTrendRuntimeChannel(recommendationHistory.map(readProofTrendRuntimeChannel).filter((channel) => channel !== undefined))
5034
+ providers: readProofTrendProviders(profileHistory),
5035
+ runtimeChannel: aggregateProofTrendRuntimeChannel(profileHistory.map(readProofTrendRuntimeChannel).filter((channel) => channel !== undefined))
5032
5036
  };
5033
5037
  const trend = buildVoiceProofTrendReport({
5034
5038
  baseUrl: options.baseUrl,
5035
- cycles: flattenProofTrendCycles(recommendationHistory),
5039
+ cycles: flattenProofTrendCycles(profileHistory),
5036
5040
  generatedAt,
5037
5041
  maxAgeMs: options.maxAgeMs,
5038
5042
  now: options.now,
package/dist/index.js CHANGED
@@ -16200,6 +16200,7 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
16200
16200
  href: appendRealCallRecoveryActionQuery(options.browserProofHref ?? "/voice/browser-call-profiles", { profileId }),
16201
16201
  id: "collect-browser-proof",
16202
16202
  label: profileId ? `Run browser profile proof for ${profileId}` : "Run browser profile proof",
16203
+ method: "POST",
16203
16204
  profileId
16204
16205
  });
16205
16206
  actions.push({
@@ -16207,6 +16208,7 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
16207
16208
  href: appendRealCallRecoveryActionQuery(options.phoneProofHref ?? "/api/voice/phone/smoke", { profileId }),
16208
16209
  id: "collect-phone-proof",
16209
16210
  label: profileId ? `Run phone profile proof for ${profileId}` : "Run phone profile proof",
16211
+ method: "POST",
16210
16212
  profileId
16211
16213
  });
16212
16214
  }
@@ -16216,7 +16218,8 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
16216
16218
  description: "Collect fresh real-call profile traces because the current history artifact is stale.",
16217
16219
  href: options.browserProofHref ?? "/voice/browser-call-profiles",
16218
16220
  id: "collect-browser-proof",
16219
- label: "Collect fresh profile evidence"
16221
+ label: "Collect fresh profile evidence",
16222
+ method: "POST"
16220
16223
  });
16221
16224
  }
16222
16225
  if (missingRoleProfiles.length > 0 || report.defaults.summary.actionableProfiles < (options.minActionableProfiles ?? 1)) {
@@ -16487,21 +16490,22 @@ var buildVoiceRealCallProfileHistoryReport = (options = {}) => {
16487
16490
  ];
16488
16491
  const passingHistory = history.filter((report) => report.ok === true);
16489
16492
  const recommendationHistory = passingHistory.length > 0 ? passingHistory : history;
16490
- const profiles = buildVoiceProofTrendProfileSummaries(recommendationHistory, options);
16493
+ const profileHistory = history.length > 0 ? history : recommendationHistory;
16494
+ const profiles = buildVoiceProofTrendProfileSummaries(profileHistory, options);
16491
16495
  const summary = {
16492
- cycles: recommendationHistory.reduce((total, report) => total + (report.summary.cycles ?? report.cycles.length), 0),
16496
+ cycles: profileHistory.reduce((total, report) => total + (report.summary.cycles ?? report.cycles.length), 0),
16493
16497
  failedReports: history.filter((report) => report.ok !== true).length,
16494
- maxLiveP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxLiveP95)),
16495
- maxProviderP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxProviderP95)),
16496
- maxTurnP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxTurnP95)),
16498
+ maxLiveP95Ms: maxNumber(profileHistory.map(readProofTrendMaxLiveP95)),
16499
+ maxProviderP95Ms: maxNumber(profileHistory.map(readProofTrendMaxProviderP95)),
16500
+ maxTurnP95Ms: maxNumber(profileHistory.map(readProofTrendMaxTurnP95)),
16497
16501
  profileCount: profiles.length,
16498
16502
  profiles,
16499
- providers: readProofTrendProviders(recommendationHistory),
16500
- runtimeChannel: aggregateProofTrendRuntimeChannel(recommendationHistory.map(readProofTrendRuntimeChannel).filter((channel) => channel !== undefined))
16503
+ providers: readProofTrendProviders(profileHistory),
16504
+ runtimeChannel: aggregateProofTrendRuntimeChannel(profileHistory.map(readProofTrendRuntimeChannel).filter((channel) => channel !== undefined))
16501
16505
  };
16502
16506
  const trend = buildVoiceProofTrendReport({
16503
16507
  baseUrl: options.baseUrl,
16504
- cycles: flattenProofTrendCycles(recommendationHistory),
16508
+ cycles: flattenProofTrendCycles(profileHistory),
16505
16509
  generatedAt,
16506
16510
  maxAgeMs: options.maxAgeMs,
16507
16511
  now: options.now,
@@ -2318,6 +2318,7 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
2318
2318
  href: appendRealCallRecoveryActionQuery(options.browserProofHref ?? "/voice/browser-call-profiles", { profileId }),
2319
2319
  id: "collect-browser-proof",
2320
2320
  label: profileId ? `Run browser profile proof for ${profileId}` : "Run browser profile proof",
2321
+ method: "POST",
2321
2322
  profileId
2322
2323
  });
2323
2324
  actions.push({
@@ -2325,6 +2326,7 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
2325
2326
  href: appendRealCallRecoveryActionQuery(options.phoneProofHref ?? "/api/voice/phone/smoke", { profileId }),
2326
2327
  id: "collect-phone-proof",
2327
2328
  label: profileId ? `Run phone profile proof for ${profileId}` : "Run phone profile proof",
2329
+ method: "POST",
2328
2330
  profileId
2329
2331
  });
2330
2332
  }
@@ -2334,7 +2336,8 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
2334
2336
  description: "Collect fresh real-call profile traces because the current history artifact is stale.",
2335
2337
  href: options.browserProofHref ?? "/voice/browser-call-profiles",
2336
2338
  id: "collect-browser-proof",
2337
- label: "Collect fresh profile evidence"
2339
+ label: "Collect fresh profile evidence",
2340
+ method: "POST"
2338
2341
  });
2339
2342
  }
2340
2343
  if (missingRoleProfiles.length > 0 || report.defaults.summary.actionableProfiles < (options.minActionableProfiles ?? 1)) {
@@ -2605,21 +2608,22 @@ var buildVoiceRealCallProfileHistoryReport = (options = {}) => {
2605
2608
  ];
2606
2609
  const passingHistory = history.filter((report) => report.ok === true);
2607
2610
  const recommendationHistory = passingHistory.length > 0 ? passingHistory : history;
2608
- const profiles = buildVoiceProofTrendProfileSummaries(recommendationHistory, options);
2611
+ const profileHistory = history.length > 0 ? history : recommendationHistory;
2612
+ const profiles = buildVoiceProofTrendProfileSummaries(profileHistory, options);
2609
2613
  const summary = {
2610
- cycles: recommendationHistory.reduce((total, report) => total + (report.summary.cycles ?? report.cycles.length), 0),
2614
+ cycles: profileHistory.reduce((total, report) => total + (report.summary.cycles ?? report.cycles.length), 0),
2611
2615
  failedReports: history.filter((report) => report.ok !== true).length,
2612
- maxLiveP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxLiveP95)),
2613
- maxProviderP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxProviderP95)),
2614
- maxTurnP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxTurnP95)),
2616
+ maxLiveP95Ms: maxNumber(profileHistory.map(readProofTrendMaxLiveP95)),
2617
+ maxProviderP95Ms: maxNumber(profileHistory.map(readProofTrendMaxProviderP95)),
2618
+ maxTurnP95Ms: maxNumber(profileHistory.map(readProofTrendMaxTurnP95)),
2615
2619
  profileCount: profiles.length,
2616
2620
  profiles,
2617
- providers: readProofTrendProviders(recommendationHistory),
2618
- runtimeChannel: aggregateProofTrendRuntimeChannel(recommendationHistory.map(readProofTrendRuntimeChannel).filter((channel) => channel !== undefined))
2621
+ providers: readProofTrendProviders(profileHistory),
2622
+ runtimeChannel: aggregateProofTrendRuntimeChannel(profileHistory.map(readProofTrendRuntimeChannel).filter((channel) => channel !== undefined))
2619
2623
  };
2620
2624
  const trend = buildVoiceProofTrendReport({
2621
2625
  baseUrl: options.baseUrl,
2622
- cycles: flattenProofTrendCycles(recommendationHistory),
2626
+ cycles: flattenProofTrendCycles(profileHistory),
2623
2627
  generatedAt,
2624
2628
  maxAgeMs: options.maxAgeMs,
2625
2629
  now: options.now,
package/dist/vue/index.js CHANGED
@@ -2239,6 +2239,7 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
2239
2239
  href: appendRealCallRecoveryActionQuery(options.browserProofHref ?? "/voice/browser-call-profiles", { profileId }),
2240
2240
  id: "collect-browser-proof",
2241
2241
  label: profileId ? `Run browser profile proof for ${profileId}` : "Run browser profile proof",
2242
+ method: "POST",
2242
2243
  profileId
2243
2244
  });
2244
2245
  actions.push({
@@ -2246,6 +2247,7 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
2246
2247
  href: appendRealCallRecoveryActionQuery(options.phoneProofHref ?? "/api/voice/phone/smoke", { profileId }),
2247
2248
  id: "collect-phone-proof",
2248
2249
  label: profileId ? `Run phone profile proof for ${profileId}` : "Run phone profile proof",
2250
+ method: "POST",
2249
2251
  profileId
2250
2252
  });
2251
2253
  }
@@ -2255,7 +2257,8 @@ var buildVoiceRealCallProfileRecoveryActions = (report, options = {}) => {
2255
2257
  description: "Collect fresh real-call profile traces because the current history artifact is stale.",
2256
2258
  href: options.browserProofHref ?? "/voice/browser-call-profiles",
2257
2259
  id: "collect-browser-proof",
2258
- label: "Collect fresh profile evidence"
2260
+ label: "Collect fresh profile evidence",
2261
+ method: "POST"
2259
2262
  });
2260
2263
  }
2261
2264
  if (missingRoleProfiles.length > 0 || report.defaults.summary.actionableProfiles < (options.minActionableProfiles ?? 1)) {
@@ -2526,21 +2529,22 @@ var buildVoiceRealCallProfileHistoryReport = (options = {}) => {
2526
2529
  ];
2527
2530
  const passingHistory = history.filter((report) => report.ok === true);
2528
2531
  const recommendationHistory = passingHistory.length > 0 ? passingHistory : history;
2529
- const profiles = buildVoiceProofTrendProfileSummaries(recommendationHistory, options);
2532
+ const profileHistory = history.length > 0 ? history : recommendationHistory;
2533
+ const profiles = buildVoiceProofTrendProfileSummaries(profileHistory, options);
2530
2534
  const summary = {
2531
- cycles: recommendationHistory.reduce((total, report) => total + (report.summary.cycles ?? report.cycles.length), 0),
2535
+ cycles: profileHistory.reduce((total, report) => total + (report.summary.cycles ?? report.cycles.length), 0),
2532
2536
  failedReports: history.filter((report) => report.ok !== true).length,
2533
- maxLiveP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxLiveP95)),
2534
- maxProviderP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxProviderP95)),
2535
- maxTurnP95Ms: maxNumber(recommendationHistory.map(readProofTrendMaxTurnP95)),
2537
+ maxLiveP95Ms: maxNumber(profileHistory.map(readProofTrendMaxLiveP95)),
2538
+ maxProviderP95Ms: maxNumber(profileHistory.map(readProofTrendMaxProviderP95)),
2539
+ maxTurnP95Ms: maxNumber(profileHistory.map(readProofTrendMaxTurnP95)),
2536
2540
  profileCount: profiles.length,
2537
2541
  profiles,
2538
- providers: readProofTrendProviders(recommendationHistory),
2539
- runtimeChannel: aggregateProofTrendRuntimeChannel(recommendationHistory.map(readProofTrendRuntimeChannel).filter((channel) => channel !== undefined))
2542
+ providers: readProofTrendProviders(profileHistory),
2543
+ runtimeChannel: aggregateProofTrendRuntimeChannel(profileHistory.map(readProofTrendRuntimeChannel).filter((channel) => channel !== undefined))
2540
2544
  };
2541
2545
  const trend = buildVoiceProofTrendReport({
2542
2546
  baseUrl: options.baseUrl,
2543
- cycles: flattenProofTrendCycles(recommendationHistory),
2547
+ cycles: flattenProofTrendCycles(profileHistory),
2544
2548
  generatedAt,
2545
2549
  maxAgeMs: options.maxAgeMs,
2546
2550
  now: options.now,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/voice",
3
- "version": "0.0.22-beta.382",
3
+ "version": "0.0.22-beta.384",
4
4
  "description": "Voice primitives and Elysia plugin for AbsoluteJS",
5
5
  "repository": {
6
6
  "type": "git",