@replohq/sandbox-runtime 1.24.6 → 1.24.7

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.24.6",
3
+ "version": "1.24.7",
4
4
  "branch": "HEAD",
5
- "commit": "12bcf877e300038e72dc16ebd4fcdec038826d27",
6
- "builtAt": "2026-11-08T23:15:21.565Z"
5
+ "commit": "ae3b30aedf49e4c1351290757cbab9f9f50e8369",
6
+ "builtAt": "2026-11-09T22:40:21.866Z"
7
7
  };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@replohq/sandbox-runtime",
3
- "version": "1.24.6",
3
+ "version": "1.24.7",
4
4
  "reploBuild": {
5
5
  "packageName": "@replohq/sandbox-runtime",
6
- "version": "1.24.6",
6
+ "version": "1.24.7",
7
7
  "branch": "HEAD",
8
- "commit": "12bcf877e300038e72dc16ebd4fcdec038826d27",
9
- "builtAt": "2026-11-08T23:15:21.565Z"
8
+ "commit": "ae3b30aedf49e4c1351290757cbab9f9f50e8369",
9
+ "builtAt": "2026-11-09T22:40:21.866Z"
10
10
  },
11
11
  "description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
12
12
  "license": "SEE LICENSE IN LICENSE",
@@ -30,19 +30,8 @@ function getOrCreateFramesLayerContainer({
30
30
  document.body.append(container);
31
31
  return container;
32
32
  }
33
- const ANNOTATION_FONT_STYLE_ID = "replo-annotation-font";
34
33
  const BADGE_SIZE_PX = 30;
35
- const EDITORIAL_ITALIC_FONT_URL = "https://assets.replocdn.com/PPEditorialNew-Italic.woff2";
36
- const BADGE_FONT = 'italic 400 16px/1 "PP Editorial New", Georgia, "Times New Roman", serif';
37
- function ensureBadgeFont() {
38
- if (document.getElementById(ANNOTATION_FONT_STYLE_ID)) {
39
- return;
40
- }
41
- const style = document.createElement("style");
42
- style.id = ANNOTATION_FONT_STYLE_ID;
43
- style.textContent = `@font-face{font-family:"PP Editorial New";src:url("${EDITORIAL_ITALIC_FONT_URL}") format("woff2");font-weight:normal;font-style:italic;font-display:swap;}`;
44
- document.head.append(style);
45
- }
34
+ const BADGE_FONT = "600 14px/1 Inter, system-ui, sans-serif";
46
35
  const badgeNodesById = /* @__PURE__ */ new Map();
47
36
  let activeBadgeId = null;
48
37
  function badgeRestingTransform(id) {
@@ -98,7 +87,7 @@ function createFrameNode(spec) {
98
87
  "cursor: pointer",
99
88
  "pointer-events: auto",
100
89
  "margin: 0",
101
- "padding: 0 0 1px 0"
90
+ "padding: 0"
102
91
  ].join(";");
103
92
  badge.addEventListener("pointerdown", () => {
104
93
  badge.style.transform = "scale(0.9)";
@@ -127,7 +116,6 @@ function showAnnotationFrames({
127
116
  if (!container) {
128
117
  return;
129
118
  }
130
- ensureBadgeFont();
131
119
  activeBadgeId = frames.find((spec) => spec.isActive)?.id ?? null;
132
120
  badgeNodesById.clear();
133
121
  container.replaceChildren(...frames.map((spec) => createFrameNode(spec)));