@replohq/sandbox-runtime 1.13.0 → 1.13.2
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.
|
|
3
|
+
"version": "1.13.2",
|
|
4
4
|
"branch": "HEAD",
|
|
5
|
-
"commit": "
|
|
6
|
-
"builtAt": "2026-10-
|
|
5
|
+
"commit": "1fe63426bf74b55c32a549607740292ec2d1f41d",
|
|
6
|
+
"builtAt": "2026-10-11T03:08:13.456Z"
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.2",
|
|
4
4
|
"reploBuild": {
|
|
5
5
|
"packageName": "@replohq/sandbox-runtime",
|
|
6
|
-
"version": "1.13.
|
|
6
|
+
"version": "1.13.2",
|
|
7
7
|
"branch": "HEAD",
|
|
8
|
-
"commit": "
|
|
9
|
-
"builtAt": "2026-10-
|
|
8
|
+
"commit": "1fe63426bf74b55c32a549607740292ec2d1f41d",
|
|
9
|
+
"builtAt": "2026-10-11T03:08:13.456Z"
|
|
10
10
|
},
|
|
11
11
|
"description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
|
|
12
12
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"@tiptap/core": "^2.25.0",
|
|
36
36
|
"@tiptap/extension-bold": "^2.25.0",
|
|
37
37
|
"@tiptap/extension-document": "^2.25.0",
|
|
38
|
+
"@tiptap/extension-history": "^2.25.0",
|
|
38
39
|
"@tiptap/extension-italic": "^2.25.0",
|
|
39
40
|
"@tiptap/extension-strike": "^2.25.0",
|
|
40
41
|
"@tiptap/extension-text": "^2.25.0",
|
|
@@ -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;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Editor, Mark, Node } from "@tiptap/core";
|
|
2
2
|
import Bold from "@tiptap/extension-bold";
|
|
3
3
|
import Document from "@tiptap/extension-document";
|
|
4
|
+
import History from "@tiptap/extension-history";
|
|
4
5
|
import Italic from "@tiptap/extension-italic";
|
|
5
6
|
import Strike from "@tiptap/extension-strike";
|
|
6
7
|
import Text from "@tiptap/extension-text";
|
|
@@ -64,6 +65,7 @@ function createInlineTiptapEditor({
|
|
|
64
65
|
content,
|
|
65
66
|
extensions: [
|
|
66
67
|
InlineDocument,
|
|
68
|
+
History,
|
|
67
69
|
Text,
|
|
68
70
|
InlineBreak,
|
|
69
71
|
Bold,
|