@replohq/sandbox-runtime 1.13.0 → 1.13.1

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.
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  var DATA_LOADER_KEYS = {
4
+ SHOPIFY_INTEGRATION_DETAILS: "shopify_storefront.integration_details",
4
5
  SHOPIFY_PRODUCT: "shopify_storefront.product",
5
6
  SHOPIFY_COLLECTION: "shopify_storefront.collection",
6
7
  SHOPIFY_COLLECTION_PRODUCTS: "shopify_storefront.collection_products",
@@ -11,6 +11,7 @@ import { z } from "zod";
11
11
  * `<integration>.<objectType>_<qualifier>`.
12
12
  */
13
13
  export declare const DATA_LOADER_KEYS: {
14
+ readonly SHOPIFY_INTEGRATION_DETAILS: "shopify_storefront.integration_details";
14
15
  readonly SHOPIFY_PRODUCT: "shopify_storefront.product";
15
16
  readonly SHOPIFY_COLLECTION: "shopify_storefront.collection";
16
17
  readonly SHOPIFY_COLLECTION_PRODUCTS: "shopify_storefront.collection_products";
@@ -39,6 +40,7 @@ export declare const DATA_LOADER_KEYS: {
39
40
  };
40
41
  export type DataLoaderKey = (typeof DATA_LOADER_KEYS)[keyof typeof DATA_LOADER_KEYS];
41
42
  export declare const dataLoaderKeySchema: z.ZodEnum<{
43
+ "shopify_storefront.integration_details": "shopify_storefront.integration_details";
42
44
  "shopify_storefront.product": "shopify_storefront.product";
43
45
  "shopify_storefront.collection": "shopify_storefront.collection";
44
46
  "shopify_storefront.collection_products": "shopify_storefront.collection_products";
package/buildMetadata.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export const BUILD_METADATA = {
2
2
  "packageName": "@replohq/sandbox-runtime",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "branch": "HEAD",
5
- "commit": "66c0de5a39daf741d8a0e100d7528c0adfe15b0b",
6
- "builtAt": "2026-10-09T23:16:27.530Z"
5
+ "commit": "f463e758b50787368d786b5577f8d15f266e20d1",
6
+ "builtAt": "2026-10-11T00:58:38.575Z"
7
7
  };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@replohq/sandbox-runtime",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "reploBuild": {
5
5
  "packageName": "@replohq/sandbox-runtime",
6
- "version": "1.13.0",
6
+ "version": "1.13.1",
7
7
  "branch": "HEAD",
8
- "commit": "66c0de5a39daf741d8a0e100d7528c0adfe15b0b",
9
- "builtAt": "2026-10-09T23:16:27.530Z"
8
+ "commit": "f463e758b50787368d786b5577f8d15f266e20d1",
9
+ "builtAt": "2026-10-11T00:58:38.575Z"
10
10
  },
11
11
  "description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
12
12
  "license": "SEE LICENSE IN LICENSE",
@@ -1,6 +1,7 @@
1
1
  import { isIntersecting, isRectEnclosing } from "../../_vendor/replo-utils/lib/geometry.mjs";
2
2
  import { v4 as uuidv4 } from "uuid";
3
3
  import { isInlineTextMarkElement } from "../inlineTextMarks";
4
+ import { SELECTION_FRAMES_CONTAINER_ID } from "../selectionFrame";
4
5
  const SELECTION_TOLERANCE_PX = 4;
5
6
  function normalizeSelectionRect({
6
7
  startX,
@@ -106,7 +107,13 @@ function doesRectIntersectSelection({
106
107
  }
107
108
  function collectDragCandidates(scrollOffset) {
108
109
  const candidates = [];
110
+ const selectionFramesContainer = document.getElementById(
111
+ SELECTION_FRAMES_CONTAINER_ID
112
+ );
109
113
  for (const element of Array.from(document.querySelectorAll("*"))) {
114
+ if (selectionFramesContainer?.contains(element)) {
115
+ continue;
116
+ }
110
117
  const viewportRect = getElementBoundingRect(element);
111
118
  if (!isMeaningfulElement(element, viewportRect)) {
112
119
  continue;