agentfootprint-lens 0.74.0 → 0.75.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/README.md CHANGED
@@ -1259,6 +1259,12 @@ Headless: `foldTimeRows(ledger, coverage?)`, `answerOfReading(turn, reading)`,
1259
1259
  `timeStandingOf(assessment, ledger?)`, `timeAskOf(pause)`,
1260
1260
  `datasetTimeAxisOf(meta, rows?)`.
1261
1261
 
1262
+ The dataset-axis helper depends only on AgentFootprint's three time-axis read
1263
+ functions, not its execution runtime. It reads those optional properties at
1264
+ call time: peers before 9.128.0 still show a declared axis as `unjudged`, while
1265
+ newer peers supply the judgment and counts. The browser packaging test checks
1266
+ that importing this helper does not retain the agent or engine execution code.
1267
+
1262
1268
  ## The Served tab
1263
1269
 
1264
1270
  **At every LLM call, exactly what the model was served — provable from the log.**
@@ -1212,7 +1212,11 @@ function isConsentDecision(value) {
1212
1212
  // src/core/time/timeAxis.ts
1213
1213
  import * as agentfootprint from "agentfootprint";
1214
1214
  function door() {
1215
- return agentfootprint;
1215
+ return {
1216
+ readTimeAxis: agentfootprint.readTimeAxis,
1217
+ describeTimeAxis: agentfootprint.describeTimeAxis,
1218
+ normaliseInstants: agentfootprint.normaliseInstants
1219
+ };
1216
1220
  }
1217
1221
  function valuesOf(rows, axis) {
1218
1222
  const normalise = door().normaliseInstants;
@@ -1232,12 +1236,12 @@ function valuesOf(rows, axis) {
1232
1236
  function datasetTimeAxisOf(meta, rows) {
1233
1237
  const raw = meta !== null && typeof meta === "object" ? meta.timeAxis : void 0;
1234
1238
  if (raw === void 0) return { status: "absent" };
1235
- const { readTimeAxis, describeTimeAxis } = door();
1236
- if (typeof readTimeAxis !== "function") return { status: "unjudged", raw };
1237
- const reading = readTimeAxis(meta);
1239
+ const { readTimeAxis: readTimeAxis2, describeTimeAxis: describeTimeAxis2 } = door();
1240
+ if (typeof readTimeAxis2 !== "function") return { status: "unjudged", raw };
1241
+ const reading = readTimeAxis2(meta);
1238
1242
  if (reading.status === "absent") return { status: "absent" };
1239
1243
  if (reading.status === "malformed") return { status: "malformed", issues: reading.issues };
1240
- const summary = typeof describeTimeAxis === "function" ? describeTimeAxis(reading.axis) : void 0;
1244
+ const summary = typeof describeTimeAxis2 === "function" ? describeTimeAxis2(reading.axis) : void 0;
1241
1245
  const values = rows !== void 0 ? valuesOf(rows, reading.axis) : void 0;
1242
1246
  return {
1243
1247
  status: "declared",
@@ -1291,4 +1295,4 @@ export {
1291
1295
  isConsentDecision,
1292
1296
  datasetTimeAxisOf
1293
1297
  };
1294
- //# sourceMappingURL=chunk-RJAQOXMH.js.map
1298
+ //# sourceMappingURL=chunk-V4GO5WKN.js.map