@replohq/sandbox-runtime 1.13.5 → 1.14.0
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.
|
@@ -367,6 +367,7 @@ export declare const websiteBuilderToPreviewIframeMethodConfig: {
|
|
|
367
367
|
navigateToRoute: {
|
|
368
368
|
inputSchema: z.ZodObject<{
|
|
369
369
|
pathname: z.ZodString;
|
|
370
|
+
navigationId: z.ZodOptional<z.ZodNumber>;
|
|
370
371
|
}, z.core.$strip>;
|
|
371
372
|
outputSchema: z.ZodVoid;
|
|
372
373
|
};
|
|
@@ -917,6 +918,12 @@ export declare const previewIframeToWebsiteBuilderMethodConfig: {
|
|
|
917
918
|
inputSchema: z.ZodUndefined;
|
|
918
919
|
outputSchema: z.ZodVoid;
|
|
919
920
|
};
|
|
921
|
+
navigationAccepted: {
|
|
922
|
+
inputSchema: z.ZodObject<{
|
|
923
|
+
navigationId: z.ZodNumber;
|
|
924
|
+
}, z.core.$strip>;
|
|
925
|
+
outputSchema: z.ZodVoid;
|
|
926
|
+
};
|
|
920
927
|
};
|
|
921
928
|
export declare const selectModeParentMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
922
929
|
method: z.ZodLiteral<"expandToSection">;
|
|
@@ -51,7 +51,10 @@ var websiteBuilderToPreviewIframeMethodConfig = {
|
|
|
51
51
|
timeoutMs: 1500
|
|
52
52
|
},
|
|
53
53
|
navigateToRoute: {
|
|
54
|
-
inputSchema: z.object({
|
|
54
|
+
inputSchema: z.object({
|
|
55
|
+
pathname: z.string(),
|
|
56
|
+
navigationId: z.number().int().optional()
|
|
57
|
+
}),
|
|
55
58
|
outputSchema: z.void()
|
|
56
59
|
},
|
|
57
60
|
setDisplayMode: {
|
|
@@ -173,6 +176,10 @@ var previewIframeToWebsiteBuilderMethodConfig = {
|
|
|
173
176
|
fastRefreshComplete: {
|
|
174
177
|
inputSchema: z.undefined(),
|
|
175
178
|
outputSchema: z.void()
|
|
179
|
+
},
|
|
180
|
+
navigationAccepted: {
|
|
181
|
+
inputSchema: z.object({ navigationId: z.number().int() }),
|
|
182
|
+
outputSchema: z.void()
|
|
176
183
|
}
|
|
177
184
|
};
|
|
178
185
|
var selectModeParentMessageSchema = z.discriminatedUnion("method", [
|
package/buildMetadata.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const BUILD_METADATA = {
|
|
2
2
|
"packageName": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"branch": "HEAD",
|
|
5
|
-
"commit": "
|
|
6
|
-
"builtAt": "2026-10-
|
|
5
|
+
"commit": "c9e85e751a46ae55516e492cf96b3579b6bc21cd",
|
|
6
|
+
"builtAt": "2026-10-15T23:04:02.620Z"
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"reploBuild": {
|
|
5
5
|
"packageName": "@replohq/sandbox-runtime",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.14.0",
|
|
7
7
|
"branch": "HEAD",
|
|
8
|
-
"commit": "
|
|
9
|
-
"builtAt": "2026-10-
|
|
8
|
+
"commit": "c9e85e751a46ae55516e492cf96b3579b6bc21cd",
|
|
9
|
+
"builtAt": "2026-10-15T23:04:02.620Z"
|
|
10
10
|
},
|
|
11
11
|
"description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
|
|
12
12
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -446,6 +446,12 @@ export declare function getSelectModeIframeRpcChannel(): import("../_vendor/sche
|
|
|
446
446
|
inputSchema: import("zod").ZodUndefined;
|
|
447
447
|
outputSchema: import("zod").ZodVoid;
|
|
448
448
|
};
|
|
449
|
+
navigationAccepted: {
|
|
450
|
+
inputSchema: import("zod").ZodObject<{
|
|
451
|
+
navigationId: import("zod").ZodNumber;
|
|
452
|
+
}, import("zod/v4/core").$strip>;
|
|
453
|
+
outputSchema: import("zod").ZodVoid;
|
|
454
|
+
};
|
|
449
455
|
}> | null;
|
|
450
456
|
export declare function setSelectModeParentHandlers(nextHandlers: SelectModeParentMessagingHandlers | null): void;
|
|
451
457
|
export declare function getWebsiteBuilderRpc(): WebsiteBuilderRpcRemote | null;
|
|
@@ -57,8 +57,14 @@ function createSelectModeIframeRpcChannel() {
|
|
|
57
57
|
symbolicateSelectedElement: (element) => {
|
|
58
58
|
return symbolicateSelectedElement(element);
|
|
59
59
|
},
|
|
60
|
-
navigateToRoute: (
|
|
61
|
-
navigateToRouteHandler
|
|
60
|
+
navigateToRoute: ({ pathname, navigationId }, { channel: channel2 }) => {
|
|
61
|
+
if (!navigateToRouteHandler) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
navigateToRouteHandler({ pathname });
|
|
65
|
+
if (navigationId !== void 0) {
|
|
66
|
+
channel2.navigationAccepted({ navigationId });
|
|
67
|
+
}
|
|
62
68
|
}
|
|
63
69
|
}
|
|
64
70
|
});
|