@replohq/sandbox-runtime 1.24.0 → 1.24.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.
|
@@ -2,6 +2,7 @@ export declare const PLACEHOLDER_PRODUCTS_IFRAME_RPC_CHANNEL_ID: "replo:placehol
|
|
|
2
2
|
export declare const PLACEHOLDER_PRODUCTS_IFRAME_RPC_CHANNEL_VERSION: 3;
|
|
3
3
|
export declare const PLACEHOLDER_HERO_PRODUCT_ID = "f0921037-e530-4e67-a612-d573b7c40b19";
|
|
4
4
|
export declare const PLACEHOLDER_PRODUCT_ID = "c53f98cd-0989-4661-a7c2-a0304d184676";
|
|
5
|
+
export declare const PLACEHOLDER_PRODUCT_LIMIT = 12;
|
|
5
6
|
export type PlaceholderProductId = typeof PLACEHOLDER_HERO_PRODUCT_ID | typeof PLACEHOLDER_PRODUCT_ID;
|
|
6
7
|
export declare const PLACEHOLDER_PRODUCTS_SOURCE_KEY = "__REPLO_PLACEHOLDER_PRODUCTS__";
|
|
7
8
|
export declare const PLACEHOLDER_PRODUCTS_CHANGE_EVENT = "replo:placeholder-products";
|
|
@@ -2,7 +2,8 @@ var PLACEHOLDER_PRODUCTS_IFRAME_RPC_CHANNEL_ID = "replo:placeholder-products-ifr
|
|
|
2
2
|
var PLACEHOLDER_PRODUCTS_IFRAME_RPC_CHANNEL_VERSION = 3;
|
|
3
3
|
var PLACEHOLDER_HERO_PRODUCT_ID = "f0921037-e530-4e67-a612-d573b7c40b19";
|
|
4
4
|
var PLACEHOLDER_PRODUCT_ID = "c53f98cd-0989-4661-a7c2-a0304d184676";
|
|
5
|
+
var PLACEHOLDER_PRODUCT_LIMIT = 12;
|
|
5
6
|
var PLACEHOLDER_PRODUCTS_SOURCE_KEY = "__REPLO_PLACEHOLDER_PRODUCTS__";
|
|
6
7
|
var PLACEHOLDER_PRODUCTS_CHANGE_EVENT = "replo:placeholder-products";
|
|
7
8
|
|
|
8
|
-
export { PLACEHOLDER_HERO_PRODUCT_ID, PLACEHOLDER_PRODUCTS_CHANGE_EVENT, PLACEHOLDER_PRODUCTS_IFRAME_RPC_CHANNEL_ID, PLACEHOLDER_PRODUCTS_IFRAME_RPC_CHANNEL_VERSION, PLACEHOLDER_PRODUCTS_SOURCE_KEY, PLACEHOLDER_PRODUCT_ID };
|
|
9
|
+
export { PLACEHOLDER_HERO_PRODUCT_ID, PLACEHOLDER_PRODUCTS_CHANGE_EVENT, PLACEHOLDER_PRODUCTS_IFRAME_RPC_CHANNEL_ID, PLACEHOLDER_PRODUCTS_IFRAME_RPC_CHANNEL_VERSION, PLACEHOLDER_PRODUCTS_SOURCE_KEY, PLACEHOLDER_PRODUCT_ID, PLACEHOLDER_PRODUCT_LIMIT };
|
package/buildMetadata.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const BUILD_METADATA = {
|
|
2
2
|
"packageName": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.1",
|
|
4
4
|
"branch": "HEAD",
|
|
5
|
-
"commit": "
|
|
6
|
-
"builtAt": "2026-11-
|
|
5
|
+
"commit": "043ae54a4a52039285aac996cc7b2b67a922dfdd",
|
|
6
|
+
"builtAt": "2026-11-03T00:13:53.913Z"
|
|
7
7
|
};
|
|
@@ -55,20 +55,20 @@ function startCommentsOverlay({
|
|
|
55
55
|
handlers: {
|
|
56
56
|
setCommentMode: ({ mode }) => {
|
|
57
57
|
announceToVerifiedHost();
|
|
58
|
-
|
|
58
|
+
getOverlay().setMode(mode);
|
|
59
59
|
},
|
|
60
60
|
setPins: ({ pins }) => {
|
|
61
61
|
announceToVerifiedHost();
|
|
62
|
-
|
|
62
|
+
getOverlay().setPins(pins);
|
|
63
63
|
},
|
|
64
64
|
focusThread: ({ threadId }) => {
|
|
65
|
-
|
|
65
|
+
getOverlay().focusThread(threadId);
|
|
66
66
|
},
|
|
67
67
|
clearDraft: () => {
|
|
68
68
|
overlay?.clearDraft();
|
|
69
69
|
},
|
|
70
70
|
setDraftAnchor: ({ anchor }) => {
|
|
71
|
-
|
|
71
|
+
getOverlay().setDraftAnchor(anchor);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
});
|
|
@@ -101,19 +101,24 @@ function startCommentsOverlay({
|
|
|
101
101
|
() => reportLocation({ force: false }),
|
|
102
102
|
LOCATION_POLL_MS
|
|
103
103
|
);
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
104
|
+
function getOverlay() {
|
|
105
|
+
overlay ??= createCommentsOverlay({
|
|
106
|
+
prepareAnchor: (anchor) => symbolicateAnchor(anchor, symbolicate),
|
|
107
|
+
getSource: createSymbolicatedSourceLookup({
|
|
108
|
+
symbolicate,
|
|
109
|
+
onUpdate: () => overlay?.refresh()
|
|
110
|
+
}),
|
|
111
|
+
onAnchorPicked: (input) => host.anchorPicked(input),
|
|
112
|
+
onPinClicked: (input) => host.pinClicked(input),
|
|
113
|
+
onAnchorStatuses: (input) => host.anchorStatuses(input),
|
|
114
|
+
onComposeFromSelection: (input) => {
|
|
115
|
+
return host.requestComposeFromSelection(input);
|
|
116
|
+
},
|
|
117
|
+
onPickCancelled: () => host.pickCancelled(),
|
|
118
|
+
onModeShortcut: (input) => host.modeShortcut(input)
|
|
119
|
+
});
|
|
120
|
+
return overlay;
|
|
121
|
+
}
|
|
117
122
|
const unsubscribe = channel.subscribe();
|
|
118
123
|
isAnnouncing = true;
|
|
119
124
|
try {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.1",
|
|
4
4
|
"reploBuild": {
|
|
5
5
|
"packageName": "@replohq/sandbox-runtime",
|
|
6
|
-
"version": "1.24.
|
|
6
|
+
"version": "1.24.1",
|
|
7
7
|
"branch": "HEAD",
|
|
8
|
-
"commit": "
|
|
9
|
-
"builtAt": "2026-11-
|
|
8
|
+
"commit": "043ae54a4a52039285aac996cc7b2b67a922dfdd",
|
|
9
|
+
"builtAt": "2026-11-03T00:13:53.913Z"
|
|
10
10
|
},
|
|
11
11
|
"description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
|
|
12
12
|
"license": "SEE LICENSE IN LICENSE",
|