@meridianlabs/log-viewer 0.3.278 → 0.3.279

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.
@@ -2494,7 +2494,7 @@ export declare function makeSampleLog(taskName: string): {
2494
2494
  uuid?: string | null;
2495
2495
  working_start: number;
2496
2496
  } | {
2497
- action?: ("continue" | "modify" | "reject" | "terminate" | "escalate") | null;
2497
+ action?: ("proceed" | "modify" | "reject" | "terminate" | "escalate") | null;
2498
2498
  audit: boolean;
2499
2499
  conversation: string;
2500
2500
  error?: string | null;
@@ -4308,7 +4308,7 @@ export declare function makeSampleLog(taskName: string): {
4308
4308
  uuid?: string | null;
4309
4309
  working_start: number;
4310
4310
  } | {
4311
- action?: ("continue" | "modify" | "reject" | "terminate" | "escalate") | null;
4311
+ action?: ("proceed" | "modify" | "reject" | "terminate" | "escalate") | null;
4312
4312
  audit: boolean;
4313
4313
  conversation: string;
4314
4314
  error?: string | null;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=info-event-images.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"info-event-images.spec.d.ts","sourceRoot":"","sources":["../../e2e/info-event-images.spec.ts"],"names":[],"mappings":""}
@@ -1,2 +1,8 @@
1
+ declare global {
2
+ interface Window {
3
+ /** Every visible text the find band's match counter showed, in order. */
4
+ __findStatusLog?: string[];
5
+ }
6
+ }
1
7
  export {};
2
8
  //# sourceMappingURL=log-list-find.spec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"log-list-find.spec.d.ts","sourceRoot":"","sources":["../../e2e/log-list-find.spec.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"log-list-find.spec.d.ts","sourceRoot":"","sources":["../../e2e/log-list-find.spec.ts"],"names":[],"mappings":"AAiBA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,yEAAyE;QACzE,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;KAC5B;CACF"}
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * Sample Activity tab e2e tests.
3
3
  *
4
- * Exercises the new Activity tab in the sample display: tab presence,
5
- * band rendering, band chips, history-list filters, marker → row selection,
6
- * and click-through to the Transcript. Also covers the companion label-only
7
- * rename of the log-level Timeline tab to "Activity".
4
+ * Exercises the Activity tab in the sample display where a real browser
5
+ * matters: routing, chart layout and theming at real plot widths, pointer
6
+ * travel between chart surfaces and their tooltip cards, and click-through
7
+ * to the Transcript. Band, chip and filter logic is unit-tested alongside
8
+ * SampleActivityPanel and ActivityChart.
8
9
  */
9
10
  export {};
10
11
  //# sourceMappingURL=sample-activity.spec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sample-activity.spec.d.ts","sourceRoot":"","sources":["../../e2e/sample-activity.spec.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
1
+ {"version":3,"file":"sample-activity.spec.d.ts","sourceRoot":"","sources":["../../e2e/sample-activity.spec.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
@@ -1,2 +1,23 @@
1
+ interface ZipReaderFixture {
2
+ readZstdEntriesTwice(): Promise<{
3
+ firstLength: number;
4
+ second: string;
5
+ againLength: number;
6
+ sourceByteLength: number;
7
+ }>;
8
+ decodeCompressedZstd(): Promise<{
9
+ length: number;
10
+ workerRequests: number;
11
+ }>;
12
+ largeHistoryWorkerRequests(): Promise<number>;
13
+ aggregateBlocksWorkerRequests(): Promise<number>;
14
+ readDeflateEntry(): Promise<number>;
15
+ }
16
+ declare global {
17
+ interface Window {
18
+ /** Set by e2e/fixtures/zip-reader.html once its modules load. */
19
+ zipReader?: ZipReaderFixture;
20
+ }
21
+ }
1
22
  export {};
2
23
  //# sourceMappingURL=zip-reader.spec.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"zip-reader.spec.d.ts","sourceRoot":"","sources":["../../e2e/zip-reader.spec.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"zip-reader.spec.d.ts","sourceRoot":"","sources":["../../e2e/zip-reader.spec.ts"],"names":[],"mappings":"AAWA,UAAU,gBAAgB;IACxB,oBAAoB,IAAI,OAAO,CAAC;QAC9B,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,MAAM,CAAC;QACpB,gBAAgB,EAAE,MAAM,CAAC;KAC1B,CAAC,CAAC;IACH,oBAAoB,IAAI,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC5E,0BAA0B,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC9C,6BAA6B,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IACjD,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CACrC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,iEAAiE;QACjE,SAAS,CAAC,EAAE,gBAAgB,CAAC;KAC9B;CACF"}
package/lib/index.js CHANGED
@@ -33346,7 +33346,10 @@ var normalizeScore = (raw) => {
33346
33346
  if (typeof raw["id"] !== "string") fix("id", "");
33347
33347
  if (typeof raw["name"] !== "string") fix("name", "");
33348
33348
  break;
33349
- case "span_end": if (typeof raw["id"] !== "string") fix("id", "");
33349
+ case "span_end":
33350
+ if (typeof raw["id"] !== "string") fix("id", "");
33351
+ break;
33352
+ case "sentinel": if (raw["action"] === "continue") fix("action", "proceed");
33350
33353
  }
33351
33354
  return fixes;
33352
33355
  };
@@ -83324,16 +83327,16 @@ var explanationOf = (node) => node?.event.explanation?.trim() || void 0;
83324
83327
  var isInactive$1 = (status) => status !== "reported";
83325
83328
  /**
83326
83329
  * The verdict of a step the runner returned no decision for: observed when
83327
- * only monitors reported, continued when a protocol reported but the root
83330
+ * only monitors reported, proceeded when a protocol reported but the root
83328
83331
  * returned nothing, and the recorded status when the root or every check was
83329
83332
  * cancelled or bypassed.
83330
83333
  */ var quietVerdict = (checks) => {
83331
83334
  const rootStatus = checks.find((n) => n.event.path === "")?.event.status;
83332
83335
  if (rootStatus && isInactive$1(rootStatus)) return rootStatus;
83333
- if (checks.some((n) => reported(n, "decision"))) return "continue";
83336
+ if (checks.some((n) => reported(n, "decision"))) return "proceed";
83334
83337
  if (checks.some((n) => reported(n, "observation"))) return "observe";
83335
83338
  const firstStatus = checks[0]?.event.status;
83336
- return firstStatus && isInactive$1(firstStatus) ? firstStatus : "continue";
83339
+ return firstStatus && isInactive$1(firstStatus) ? firstStatus : "proceed";
83337
83340
  };
83338
83341
  /**
83339
83342
  * Builds the check tree for one step's events, given in recording order. A
@@ -83352,7 +83355,7 @@ var isInactive$1 = (status) => status !== "reported";
83352
83355
  index
83353
83356
  })).sort((a, b) => compareKeys(keys.get(a.node), keys.get(b.node)) || a.index - b.index).map(({ node }) => node));
83354
83357
  const outcome = outcomeOf(checks);
83355
- const acted = !!outcome && outcome.event.action !== "continue";
83358
+ const acted = !!outcome && outcome.event.action !== "proceed";
83356
83359
  const credit = acted ? creditDecision(tree, outcome) : void 0;
83357
83360
  const effective = credit?.node;
83358
83361
  const single = checks.length === 1 ? checks[0] : void 0;
@@ -83372,7 +83375,7 @@ var isInactive$1 = (status) => status !== "reported";
83372
83375
  guides: guidesFor(entry),
83373
83376
  tookEffect: entry.node === effective
83374
83377
  })),
83375
- verdict: outcome ? outcome.event.action ?? "continue" : quietVerdict(checks),
83378
+ verdict: outcome ? outcome.event.action ?? "proceed" : quietVerdict(checks),
83376
83379
  outcome,
83377
83380
  returned: !!outcome,
83378
83381
  decider: effective ?? outcome,
@@ -83393,8 +83396,8 @@ var isInactive$1 = (status) => status !== "reported";
83393
83396
  const step = buildSentinelStep([node]);
83394
83397
  const event = node.event;
83395
83398
  if (!reported(node, "decision") || step.outcome) return step;
83396
- const verdict = event.action ?? "continue";
83397
- const acted = verdict !== "continue";
83399
+ const verdict = event.action ?? "proceed";
83400
+ const acted = verdict !== "proceed";
83398
83401
  return {
83399
83402
  ...step,
83400
83403
  verdict,
@@ -86970,37 +86973,37 @@ var ScoreEventView = (t0) => {
86970
86973
  return t25;
86971
86974
  };
86972
86975
  var SentinelEventView_module_default = {
86973
- tree: "_tree_1ww9u_1",
86974
- reject: "_reject_1ww9u_15",
86975
- modify: "_modify_1ww9u_19",
86976
- row: "_row_1ww9u_23",
86977
- open: "_open_1ww9u_42",
86978
- inactive: "_inactive_1ww9u_46",
86979
- rowLabel: "_rowLabel_1ww9u_50",
86980
- guides: "_guides_1ww9u_56",
86981
- name: "_name_1ww9u_60",
86982
- result: "_result_1ww9u_68",
86983
- "continue": "_continue_1ww9u_74",
86984
- failed: "_failed_1ww9u_82",
86985
- kindIcon: "_kindIcon_1ww9u_86",
86986
- rowChevron: "_rowChevron_1ww9u_96",
86987
- flag: "_flag_1ww9u_101",
86988
- moreScores: "_moreScores_1ww9u_106",
86989
- detailWrap: "_detailWrap_1ww9u_117",
86990
- detail: "_detail_1ww9u_117",
86991
- afterDetail: "_afterDetail_1ww9u_133",
86992
- rejectDetail: "_rejectDetail_1ww9u_137",
86993
- modifyDetail: "_modifyDetail_1ww9u_141",
86994
- meta: "_meta_1ww9u_145",
86995
- scoreGrid: "_scoreGrid_1ww9u_150",
86996
- scoreName: "_scoreName_1ww9u_159",
86997
- explanation: "_explanation_1ww9u_163",
86998
- errorText: "_errorText_1ww9u_173",
86999
- noExplanation: "_noExplanation_1ww9u_178",
87000
- labelled: "_labelled_1ww9u_183",
87001
- foldedToggle: "_foldedToggle_1ww9u_196",
87002
- chevron: "_chevron_1ww9u_211",
87003
- modelCalls: "_modelCalls_1ww9u_215"
86976
+ tree: "_tree_74x1p_1",
86977
+ reject: "_reject_74x1p_15",
86978
+ modify: "_modify_74x1p_19",
86979
+ row: "_row_74x1p_23",
86980
+ open: "_open_74x1p_42",
86981
+ inactive: "_inactive_74x1p_46",
86982
+ rowLabel: "_rowLabel_74x1p_50",
86983
+ guides: "_guides_74x1p_56",
86984
+ name: "_name_74x1p_60",
86985
+ result: "_result_74x1p_68",
86986
+ proceed: "_proceed_74x1p_74",
86987
+ failed: "_failed_74x1p_82",
86988
+ kindIcon: "_kindIcon_74x1p_86",
86989
+ rowChevron: "_rowChevron_74x1p_96",
86990
+ flag: "_flag_74x1p_101",
86991
+ moreScores: "_moreScores_74x1p_106",
86992
+ detailWrap: "_detailWrap_74x1p_117",
86993
+ detail: "_detail_74x1p_117",
86994
+ afterDetail: "_afterDetail_74x1p_133",
86995
+ rejectDetail: "_rejectDetail_74x1p_137",
86996
+ modifyDetail: "_modifyDetail_74x1p_141",
86997
+ meta: "_meta_74x1p_145",
86998
+ scoreGrid: "_scoreGrid_74x1p_150",
86999
+ scoreName: "_scoreName_74x1p_159",
87000
+ explanation: "_explanation_74x1p_163",
87001
+ errorText: "_errorText_74x1p_173",
87002
+ noExplanation: "_noExplanation_74x1p_178",
87003
+ labelled: "_labelled_74x1p_183",
87004
+ foldedToggle: "_foldedToggle_74x1p_196",
87005
+ chevron: "_chevron_74x1p_211",
87006
+ modelCalls: "_modelCalls_74x1p_215"
87004
87007
  };
87005
87008
  //#endregion
87006
87009
  //#region ../../packages/inspect-components/src/transcript/SentinelEventView.tsx
@@ -87799,9 +87802,9 @@ var rejectLook = {
87799
87802
  reasonClass: checkClasses.rejectReason
87800
87803
  };
87801
87804
  var verdictLooks = {
87802
- continue: {
87805
+ proceed: {
87803
87806
  icon: TranscriptIcons.sentinel,
87804
- word: "Continued",
87807
+ word: "Proceeded",
87805
87808
  tone: "neutral"
87806
87809
  },
87807
87810
  observe: {
@@ -87874,7 +87877,7 @@ var decisionClass = (decision) => {
87874
87877
  case "terminate": return checkClasses.rejectText;
87875
87878
  case "escalate":
87876
87879
  case "modify": return checkClasses.modifyText;
87877
- case "continue": return SentinelEventView_module_default.continue;
87880
+ case "proceed": return SentinelEventView_module_default.proceed;
87878
87881
  }
87879
87882
  };
87880
87883
  function _temp$51(t0) {