@riddledc/riddle-proof 0.7.209 → 0.7.211

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.cjs CHANGED
@@ -17024,8 +17024,29 @@ function profileHasActiveRouteLocalProofReceipt(receipts) {
17024
17024
  const enabled = setupReturnSummaryValue(receipt, ["enabled", "proofEnabled", "proof_enabled"]) === true;
17025
17025
  const ready = setupReturnSummaryValue(receipt, ["ready", "proofReady", "proof_ready"]) === true;
17026
17026
  const supportsProofFeature = setupReturnSummaryValue(receipt, ["supportsOfflineAudio", "supportsProof", "proofSupported"]) === true;
17027
+ const autopilotActive = setupReturnSummaryValue(receipt, ["autopilot", "autopilotEnabled", "autopilot_enabled"]) === true;
17028
+ const runtimeMetricPresent = [
17029
+ "metricsPresent",
17030
+ "frameMetricsPresent",
17031
+ "runtimeMetricsPresent",
17032
+ "routeMetricsPresent"
17033
+ ].some((name) => setupReturnSummaryValue(receipt, [name]) === true);
17034
+ const runtimeMetricMeasured = [
17035
+ "heightPx",
17036
+ "centerPx",
17037
+ "targetHeight",
17038
+ "frameCount",
17039
+ "elapsedMs",
17040
+ "distance",
17041
+ "speed",
17042
+ "velocity",
17043
+ "planLength",
17044
+ "stepDelta",
17045
+ "afterSteps",
17046
+ "beforeSteps"
17047
+ ].some((name) => cliFiniteNumber(setupReturnSummaryValue(receipt, [name])) !== void 0);
17027
17048
  return Boolean(
17028
- proofVersion || enabled || ready || supportsProofFeature || globalCount !== void 0 && globalCount > 0 || Array.isArray(globalNames) && globalNames.length > 0
17049
+ proofVersion || enabled || ready || supportsProofFeature || autopilotActive || runtimeMetricPresent || runtimeMetricMeasured || globalCount !== void 0 && globalCount > 0 || Array.isArray(globalNames) && globalNames.length > 0
17029
17050
  );
17030
17051
  });
17031
17052
  }
@@ -17256,7 +17277,11 @@ function profilePackReceiptStatus(result, metadata, receipt) {
17256
17277
  "energyDrop",
17257
17278
  "energyRecovered",
17258
17279
  "progressDelta",
17259
- "progressGain"
17280
+ "progressGain",
17281
+ "stepDelta",
17282
+ "deliveryDelta",
17283
+ "deliveriesDelta",
17284
+ "remainingDelta"
17260
17285
  ];
17261
17286
  const hasMeasuredStateMetric = valueReceipts.some((item) => measuredStateMetricNames.some((name) => {
17262
17287
  const value = cliFiniteNumber(setupReturnSummaryValue(item, [name]));
@@ -17349,7 +17374,7 @@ function profilePackReceiptStatus(result, metadata, receipt) {
17349
17374
  "tap_until receipt missing"
17350
17375
  );
17351
17376
  }
17352
- if (text.includes("active") && (text.includes("route-local") || text.includes("route local")) && (text.includes("proof helper") || text.includes("proof api") || text.includes("proof state") || text.includes("proof globals") || text.includes("playability state"))) {
17377
+ if (text.includes("active") && (text.includes("route-local") || text.includes("route local")) && (text.includes("proof helper") || text.includes("proof api") || text.includes("proof state") || text.includes("proof globals") || text.includes("playability state") || text.includes("runtime metric") || text.includes("runtime metrics") || text.includes("route metric") || text.includes("route metrics"))) {
17353
17378
  return profileReceiptSignalStatus(
17354
17379
  hasActiveRouteLocalProofReceipt,
17355
17380
  "active route-local proof receipt present",
package/dist/cli.js CHANGED
@@ -849,8 +849,29 @@ function profileHasActiveRouteLocalProofReceipt(receipts) {
849
849
  const enabled = setupReturnSummaryValue(receipt, ["enabled", "proofEnabled", "proof_enabled"]) === true;
850
850
  const ready = setupReturnSummaryValue(receipt, ["ready", "proofReady", "proof_ready"]) === true;
851
851
  const supportsProofFeature = setupReturnSummaryValue(receipt, ["supportsOfflineAudio", "supportsProof", "proofSupported"]) === true;
852
+ const autopilotActive = setupReturnSummaryValue(receipt, ["autopilot", "autopilotEnabled", "autopilot_enabled"]) === true;
853
+ const runtimeMetricPresent = [
854
+ "metricsPresent",
855
+ "frameMetricsPresent",
856
+ "runtimeMetricsPresent",
857
+ "routeMetricsPresent"
858
+ ].some((name) => setupReturnSummaryValue(receipt, [name]) === true);
859
+ const runtimeMetricMeasured = [
860
+ "heightPx",
861
+ "centerPx",
862
+ "targetHeight",
863
+ "frameCount",
864
+ "elapsedMs",
865
+ "distance",
866
+ "speed",
867
+ "velocity",
868
+ "planLength",
869
+ "stepDelta",
870
+ "afterSteps",
871
+ "beforeSteps"
872
+ ].some((name) => cliFiniteNumber(setupReturnSummaryValue(receipt, [name])) !== void 0);
852
873
  return Boolean(
853
- proofVersion || enabled || ready || supportsProofFeature || globalCount !== void 0 && globalCount > 0 || Array.isArray(globalNames) && globalNames.length > 0
874
+ proofVersion || enabled || ready || supportsProofFeature || autopilotActive || runtimeMetricPresent || runtimeMetricMeasured || globalCount !== void 0 && globalCount > 0 || Array.isArray(globalNames) && globalNames.length > 0
854
875
  );
855
876
  });
856
877
  }
@@ -1081,7 +1102,11 @@ function profilePackReceiptStatus(result, metadata, receipt) {
1081
1102
  "energyDrop",
1082
1103
  "energyRecovered",
1083
1104
  "progressDelta",
1084
- "progressGain"
1105
+ "progressGain",
1106
+ "stepDelta",
1107
+ "deliveryDelta",
1108
+ "deliveriesDelta",
1109
+ "remainingDelta"
1085
1110
  ];
1086
1111
  const hasMeasuredStateMetric = valueReceipts.some((item) => measuredStateMetricNames.some((name) => {
1087
1112
  const value = cliFiniteNumber(setupReturnSummaryValue(item, [name]));
@@ -1174,7 +1199,7 @@ function profilePackReceiptStatus(result, metadata, receipt) {
1174
1199
  "tap_until receipt missing"
1175
1200
  );
1176
1201
  }
1177
- if (text.includes("active") && (text.includes("route-local") || text.includes("route local")) && (text.includes("proof helper") || text.includes("proof api") || text.includes("proof state") || text.includes("proof globals") || text.includes("playability state"))) {
1202
+ if (text.includes("active") && (text.includes("route-local") || text.includes("route local")) && (text.includes("proof helper") || text.includes("proof api") || text.includes("proof state") || text.includes("proof globals") || text.includes("playability state") || text.includes("runtime metric") || text.includes("runtime metrics") || text.includes("route metric") || text.includes("route metrics"))) {
1178
1203
  return profileReceiptSignalStatus(
1179
1204
  hasActiveRouteLocalProofReceipt,
1180
1205
  "active route-local proof receipt present",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.7.209",
3
+ "version": "0.7.211",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",