@parhelia/benchmark 0.4.12883 → 0.4.12903

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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Parhelia - AI-Powered Editor for Sitecore
1
+ Parhelia - AI-Powered Content Editor
2
2
 
3
3
  Copyright © 2025 Canvas REPLY GmbH. All rights reserved.
4
4
 
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ export * from "./types";
6
6
  export function configureBenchmark(configuration) {
7
7
  if (configuration.settings.groups.some(g => g.panels.some(p => p.id === "model-benchmark")))
8
8
  return configuration;
9
- const panel = { id: "model-benchmark", title: "Model Benchmark", subtitle: "Compare models on isolated Sitecore editing tasks", icon: _jsx(Gauge, { strokeWidth: 1 }), content: _jsx(BenchmarkPanel, {}), requiresAdministrator: true, requiresModule: "benchmark" };
9
+ const panel = { id: "model-benchmark", title: "Model Benchmark", subtitle: "Compare models on isolated content editing tasks", icon: _jsx(Gauge, { strokeWidth: 1 }), content: _jsx(BenchmarkPanel, {}), requiresAdministrator: true, requiresModule: "benchmark" };
10
10
  const groups = configuration.settings.groups.map(g => ({ ...g, panels: [...g.panels] }));
11
11
  const ai = groups.find(g => g.title === "AI");
12
12
  if (ai) {
@@ -1 +1 @@
1
- {"version":3,"file":"safetyViolations.d.ts","sourceRoot":"","sources":["../src/safetyViolations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgC,mBAAmB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE5F,gHAAgH;AAChH,MAAM,MAAM,eAAe,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AACrG,MAAM,MAAM,oBAAoB,GAAG;IAAE,IAAI,EAAE,mBAAmB,CAAC;IAAC,UAAU,EAAE,eAAe,EAAE,CAAA;CAAE,CAAC;AAGhG,+EAA+E;AAC/E,eAAO,MAAM,SAAS,SAAU,MAAM,WAAoC,CAAC;AAmB3E;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,eAAe,EAAE,CAkB7F;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,mBAAmB,EAAE,GAAG,oBAAoB,EAAE,CAMzF"}
1
+ {"version":3,"file":"safetyViolations.d.ts","sourceRoot":"","sources":["../src/safetyViolations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgC,mBAAmB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE5F,gHAAgH;AAChH,MAAM,MAAM,eAAe,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AACrG,MAAM,MAAM,oBAAoB,GAAG;IAAE,IAAI,EAAE,mBAAmB,CAAC;IAAC,UAAU,EAAE,eAAe,EAAE,CAAA;CAAE,CAAC;AAIhG,+EAA+E;AAC/E,eAAO,MAAM,SAAS,SAAU,MAAM,WAAoC,CAAC;AAmB3E;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,SAAS,GAAG,eAAe,EAAE,CAkB7F;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,mBAAmB,EAAE,GAAG,oBAAoB,EAAE,CAMzF"}
@@ -1,5 +1,6 @@
1
1
  import { parseAudit, parseGraderReport, parseJson } from "./format";
2
- const runCopyRoot = /^\/sitecore\/(content|media library)\/Parhelia Benchmark Runs\/[0-9a-f]{32}\//i;
2
+ // mastermerge16: the per-run copy folder under any root of the store (its content or media tree).
3
+ const runCopyRoot = /^\/(?:[^/]+\/)*?Parhelia Benchmark Runs\/[0-9a-f]{32}\//i;
3
4
  /** Drops the per-run copy root so the path starts at the task's own folder. */
4
5
  export const shortPath = (path) => path.replace(runCopyRoot, "…/");
5
6
  const normalizeId = (value) => value.trim().replace(/[{}]/g, "").toLowerCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parhelia/benchmark",
3
- "version": "0.4.12883",
3
+ "version": "0.4.12903",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"