@replohq/sandbox-runtime 1.10.1 → 1.10.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.
package/buildMetadata.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const BUILD_METADATA = {
|
|
2
2
|
"packageName": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"branch": "HEAD",
|
|
5
|
-
"commit": "
|
|
6
|
-
"builtAt": "2026-09-
|
|
5
|
+
"commit": "0253f4740d039112c72fe121bf18ea8b609af18b",
|
|
6
|
+
"builtAt": "2026-09-27T03:43:50.436Z"
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@replohq/sandbox-runtime",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"reploBuild": {
|
|
5
5
|
"packageName": "@replohq/sandbox-runtime",
|
|
6
|
-
"version": "1.10.
|
|
6
|
+
"version": "1.10.2",
|
|
7
7
|
"branch": "HEAD",
|
|
8
|
-
"commit": "
|
|
9
|
-
"builtAt": "2026-09-
|
|
8
|
+
"commit": "0253f4740d039112c72fe121bf18ea8b609af18b",
|
|
9
|
+
"builtAt": "2026-09-27T03:43:50.436Z"
|
|
10
10
|
},
|
|
11
11
|
"description": "Replo sandbox runtime — editor integration for agent-built Next.js sites.",
|
|
12
12
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -5,6 +5,7 @@ import type { SelectionFrameSpec } from "./selectionFrame";
|
|
|
5
5
|
import type { SelectModeInteractionSession } from "./selectModeSession";
|
|
6
6
|
import type { InlineTiptapEditor } from "./tiptapInlineEditor";
|
|
7
7
|
export declare const EMPTY_ACTIVE_MARKS: SelectModeTiptapActiveMarks;
|
|
8
|
+
export declare const INLINE_EDIT_PREPARE_TIMEOUT_MS = 10000;
|
|
8
9
|
type InlineEditDraft = {
|
|
9
10
|
status: "pending";
|
|
10
11
|
editId: string;
|
|
@@ -29,6 +29,7 @@ const EMPTY_ACTIVE_MARKS = {
|
|
|
29
29
|
strike: false
|
|
30
30
|
};
|
|
31
31
|
const FOCUS_STEAL_GUARD_MS = 1500;
|
|
32
|
+
const INLINE_EDIT_PREPARE_TIMEOUT_MS = 1e4;
|
|
32
33
|
function isPendingEdit({
|
|
33
34
|
editId,
|
|
34
35
|
request
|
|
@@ -579,7 +580,7 @@ const selectModeStore = createShallowStore(
|
|
|
579
580
|
const editId = crypto.randomUUID();
|
|
580
581
|
const timeout = window.setTimeout(
|
|
581
582
|
() => finishPendingEdit({ editId, status: "failed" }),
|
|
582
|
-
|
|
583
|
+
INLINE_EDIT_PREPARE_TIMEOUT_MS
|
|
583
584
|
);
|
|
584
585
|
setInlineEditRequest({
|
|
585
586
|
activeMarks: EMPTY_ACTIVE_MARKS,
|
|
@@ -693,6 +694,7 @@ const useInteractionSession = () => {
|
|
|
693
694
|
};
|
|
694
695
|
export {
|
|
695
696
|
EMPTY_ACTIVE_MARKS,
|
|
697
|
+
INLINE_EDIT_PREPARE_TIMEOUT_MS,
|
|
696
698
|
selectModeStore,
|
|
697
699
|
useDisplayMode,
|
|
698
700
|
useEditingElement,
|