@riddledc/riddle-proof 0.7.191 → 0.7.192

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.
@@ -5841,19 +5841,23 @@ async function ensureProfilePageHelpers(context) {
5841
5841
  const existing = window.__riddleProofProfile && typeof window.__riddleProofProfile === "object"
5842
5842
  ? window.__riddleProofProfile
5843
5843
  : {};
5844
- Object.defineProperties(existing, {
5845
- current: { configurable: true, get: currentRoute },
5846
- appPath: { configurable: true, get: () => currentRoute().appPath },
5847
- appRoute: { configurable: true, get: () => currentRoute().appRoute },
5848
- basePath: { configurable: true, get: () => currentRoute().basePath },
5849
- previewMountPrefix: { configurable: true, get: () => currentRoute().previewMountPrefix },
5850
- mountedPath: { configurable: true, get: () => currentRoute().mountedPath },
5851
- mountedRoute: { configurable: true, get: () => currentRoute().mountedRoute },
5852
- });
5844
+ const refreshSnapshot = () => {
5845
+ const route = currentRoute();
5846
+ existing.current = route;
5847
+ existing.appPath = route.appPath;
5848
+ existing.appRoute = route.appRoute;
5849
+ existing.basePath = route.basePath;
5850
+ existing.previewMountPrefix = route.previewMountPrefix;
5851
+ existing.mountedPath = route.mountedPath;
5852
+ existing.mountedRoute = route.mountedRoute;
5853
+ return route;
5854
+ };
5853
5855
  existing.version = "riddle-proof.profile-helper.v1";
5854
5856
  existing.route = currentRoute;
5855
5857
  existing.getRoute = currentRoute;
5858
+ existing.refresh = refreshSnapshot;
5856
5859
  existing.joinRoute = joinRoute;
5860
+ refreshSnapshot();
5857
5861
  window.__riddleProofProfile = existing;
5858
5862
  }, { targetUrl });
5859
5863
  } catch {
package/dist/cli.cjs CHANGED
@@ -12782,19 +12782,23 @@ async function ensureProfilePageHelpers(context) {
12782
12782
  const existing = window.__riddleProofProfile && typeof window.__riddleProofProfile === "object"
12783
12783
  ? window.__riddleProofProfile
12784
12784
  : {};
12785
- Object.defineProperties(existing, {
12786
- current: { configurable: true, get: currentRoute },
12787
- appPath: { configurable: true, get: () => currentRoute().appPath },
12788
- appRoute: { configurable: true, get: () => currentRoute().appRoute },
12789
- basePath: { configurable: true, get: () => currentRoute().basePath },
12790
- previewMountPrefix: { configurable: true, get: () => currentRoute().previewMountPrefix },
12791
- mountedPath: { configurable: true, get: () => currentRoute().mountedPath },
12792
- mountedRoute: { configurable: true, get: () => currentRoute().mountedRoute },
12793
- });
12785
+ const refreshSnapshot = () => {
12786
+ const route = currentRoute();
12787
+ existing.current = route;
12788
+ existing.appPath = route.appPath;
12789
+ existing.appRoute = route.appRoute;
12790
+ existing.basePath = route.basePath;
12791
+ existing.previewMountPrefix = route.previewMountPrefix;
12792
+ existing.mountedPath = route.mountedPath;
12793
+ existing.mountedRoute = route.mountedRoute;
12794
+ return route;
12795
+ };
12794
12796
  existing.version = "riddle-proof.profile-helper.v1";
12795
12797
  existing.route = currentRoute;
12796
12798
  existing.getRoute = currentRoute;
12799
+ existing.refresh = refreshSnapshot;
12797
12800
  existing.joinRoute = joinRoute;
12801
+ refreshSnapshot();
12798
12802
  window.__riddleProofProfile = existing;
12799
12803
  }, { targetUrl });
12800
12804
  } catch {
package/dist/cli.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  profileStatusExitCode,
14
14
  resolveRiddleProofProfileTargetUrl,
15
15
  resolveRiddleProofProfileTimeoutSec
16
- } from "./chunk-BG5GVTGM.js";
16
+ } from "./chunk-UKMTTGQ4.js";
17
17
  import {
18
18
  createRiddleApiClient,
19
19
  isTerminalRiddleJobStatus,
package/dist/index.cjs CHANGED
@@ -14574,19 +14574,23 @@ async function ensureProfilePageHelpers(context) {
14574
14574
  const existing = window.__riddleProofProfile && typeof window.__riddleProofProfile === "object"
14575
14575
  ? window.__riddleProofProfile
14576
14576
  : {};
14577
- Object.defineProperties(existing, {
14578
- current: { configurable: true, get: currentRoute },
14579
- appPath: { configurable: true, get: () => currentRoute().appPath },
14580
- appRoute: { configurable: true, get: () => currentRoute().appRoute },
14581
- basePath: { configurable: true, get: () => currentRoute().basePath },
14582
- previewMountPrefix: { configurable: true, get: () => currentRoute().previewMountPrefix },
14583
- mountedPath: { configurable: true, get: () => currentRoute().mountedPath },
14584
- mountedRoute: { configurable: true, get: () => currentRoute().mountedRoute },
14585
- });
14577
+ const refreshSnapshot = () => {
14578
+ const route = currentRoute();
14579
+ existing.current = route;
14580
+ existing.appPath = route.appPath;
14581
+ existing.appRoute = route.appRoute;
14582
+ existing.basePath = route.basePath;
14583
+ existing.previewMountPrefix = route.previewMountPrefix;
14584
+ existing.mountedPath = route.mountedPath;
14585
+ existing.mountedRoute = route.mountedRoute;
14586
+ return route;
14587
+ };
14586
14588
  existing.version = "riddle-proof.profile-helper.v1";
14587
14589
  existing.route = currentRoute;
14588
14590
  existing.getRoute = currentRoute;
14591
+ existing.refresh = refreshSnapshot;
14589
14592
  existing.joinRoute = joinRoute;
14593
+ refreshSnapshot();
14590
14594
  window.__riddleProofProfile = existing;
14591
14595
  }, { targetUrl });
14592
14596
  } catch {
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  resolveRiddleProofProfileTimeoutSec,
63
63
  slugifyRiddleProofProfileName,
64
64
  summarizeRiddleProofProfileResult
65
- } from "./chunk-BG5GVTGM.js";
65
+ } from "./chunk-UKMTTGQ4.js";
66
66
  import {
67
67
  DEFAULT_RIDDLE_API_BASE_URL,
68
68
  DEFAULT_RIDDLE_API_KEY_FILE,
package/dist/profile.cjs CHANGED
@@ -5888,19 +5888,23 @@ async function ensureProfilePageHelpers(context) {
5888
5888
  const existing = window.__riddleProofProfile && typeof window.__riddleProofProfile === "object"
5889
5889
  ? window.__riddleProofProfile
5890
5890
  : {};
5891
- Object.defineProperties(existing, {
5892
- current: { configurable: true, get: currentRoute },
5893
- appPath: { configurable: true, get: () => currentRoute().appPath },
5894
- appRoute: { configurable: true, get: () => currentRoute().appRoute },
5895
- basePath: { configurable: true, get: () => currentRoute().basePath },
5896
- previewMountPrefix: { configurable: true, get: () => currentRoute().previewMountPrefix },
5897
- mountedPath: { configurable: true, get: () => currentRoute().mountedPath },
5898
- mountedRoute: { configurable: true, get: () => currentRoute().mountedRoute },
5899
- });
5891
+ const refreshSnapshot = () => {
5892
+ const route = currentRoute();
5893
+ existing.current = route;
5894
+ existing.appPath = route.appPath;
5895
+ existing.appRoute = route.appRoute;
5896
+ existing.basePath = route.basePath;
5897
+ existing.previewMountPrefix = route.previewMountPrefix;
5898
+ existing.mountedPath = route.mountedPath;
5899
+ existing.mountedRoute = route.mountedRoute;
5900
+ return route;
5901
+ };
5900
5902
  existing.version = "riddle-proof.profile-helper.v1";
5901
5903
  existing.route = currentRoute;
5902
5904
  existing.getRoute = currentRoute;
5905
+ existing.refresh = refreshSnapshot;
5903
5906
  existing.joinRoute = joinRoute;
5907
+ refreshSnapshot();
5904
5908
  window.__riddleProofProfile = existing;
5905
5909
  }, { targetUrl });
5906
5910
  } catch {
package/dist/profile.js CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  resolveRiddleProofProfileTimeoutSec,
24
24
  slugifyRiddleProofProfileName,
25
25
  summarizeRiddleProofProfileResult
26
- } from "./chunk-BG5GVTGM.js";
26
+ } from "./chunk-UKMTTGQ4.js";
27
27
  export {
28
28
  RIDDLE_PROOF_PROFILE_CHECK_TYPES,
29
29
  RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.7.191",
3
+ "version": "0.7.192",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",