@replohq/sandbox-runtime 1.7.3 → 1.7.4

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/buildMetadata.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const BUILD_METADATA = {
2
2
  "packageName": "@replohq/sandbox-runtime",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "branch": "HEAD",
5
- "commit": "769a5347144bb3d6c77b6f06b075c8f6ad45a6b3",
6
- "builtAt": "2026-09-16T18:01:45.448Z"
5
+ "commit": "f6125c1834fe26cb6f884cdff75da5f5788f3ca8",
6
+ "builtAt": "2026-09-17T01:40:15.017Z"
7
7
  };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@replohq/sandbox-runtime",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "reploBuild": {
5
5
  "packageName": "@replohq/sandbox-runtime",
6
- "version": "1.7.3",
6
+ "version": "1.7.4",
7
7
  "branch": "HEAD",
8
- "commit": "769a5347144bb3d6c77b6f06b075c8f6ad45a6b3",
9
- "builtAt": "2026-09-16T18:01:45.448Z"
8
+ "commit": "f6125c1834fe26cb6f884cdff75da5f5788f3ca8",
9
+ "builtAt": "2026-09-17T01:40:15.017Z"
10
10
  },
11
11
  "description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
12
12
  "license": "SEE LICENSE IN LICENSE",
@@ -146,7 +146,7 @@ function getSourceLocation(element) {
146
146
  while (currentElement) {
147
147
  const fiber = getFiberFromElement(currentElement);
148
148
  if (fiber) {
149
- const debugInfo = findDebugSource(fiber);
149
+ const debugInfo = findDebugSource(resolveCurrentFiber(fiber));
150
150
  if (debugInfo?.source) {
151
151
  return {
152
152
  filePath: debugInfo.source.fileName,
@@ -419,7 +419,8 @@ function getSerializableProps(props) {
419
419
  return Object.keys(serializedProps).length > 0 ? serializedProps : void 0;
420
420
  }
421
421
  function getFiberChain(element) {
422
- const rootFiber = getFiberFromElement(element);
422
+ const cachedFiber = getFiberFromElement(element);
423
+ const rootFiber = cachedFiber ? resolveCurrentFiber(cachedFiber) : null;
423
424
  const fiberChain = [];
424
425
  const seenKeys = /* @__PURE__ */ new Set();
425
426
  const seenOwners = /* @__PURE__ */ new Set();