openfox 1.6.59 → 1.6.60
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/dist/{chunk-4F6HDVMT.js → chunk-DKFXNO3L.js} +2 -2
- package/dist/{chunk-MQYKNCH3.js → chunk-DTPVSVAJ.js} +2 -2
- package/dist/cli/dev.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/package.json +1 -1
- package/dist/{serve-WHFXIC3X.js → serve-MOB4AMHT.js} +2 -2
- package/dist/server/index.js +1 -1
- package/dist/server/public/__inspect__.js +7 -1
- package/dist/web/assets/{index-GOUOKTPT.js → index-BgkmnDzG.js} +45 -45
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -179,7 +179,7 @@ async function runCli(options) {
|
|
|
179
179
|
if (!configExists) {
|
|
180
180
|
await runNetworkSetup(mode);
|
|
181
181
|
}
|
|
182
|
-
const { runServe } = await import("./serve-
|
|
182
|
+
const { runServe } = await import("./serve-MOB4AMHT.js");
|
|
183
183
|
await runServe({
|
|
184
184
|
mode,
|
|
185
185
|
port: values.port ? parseInt(values.port) : void 0,
|
|
@@ -192,4 +192,4 @@ async function runCli(options) {
|
|
|
192
192
|
export {
|
|
193
193
|
runCli
|
|
194
194
|
};
|
|
195
|
-
//# sourceMappingURL=chunk-
|
|
195
|
+
//# sourceMappingURL=chunk-DKFXNO3L.js.map
|
|
@@ -5058,7 +5058,7 @@ function createTerminalRoutes() {
|
|
|
5058
5058
|
}
|
|
5059
5059
|
|
|
5060
5060
|
// src/constants.ts
|
|
5061
|
-
var VERSION = "1.6.
|
|
5061
|
+
var VERSION = "1.6.60";
|
|
5062
5062
|
|
|
5063
5063
|
// src/server/index.ts
|
|
5064
5064
|
var __dirname2 = dirname5(fileURLToPath4(import.meta.url));
|
|
@@ -5955,4 +5955,4 @@ export {
|
|
|
5955
5955
|
createServerHandle,
|
|
5956
5956
|
createServer
|
|
5957
5957
|
};
|
|
5958
|
-
//# sourceMappingURL=chunk-
|
|
5958
|
+
//# sourceMappingURL=chunk-DTPVSVAJ.js.map
|
package/dist/cli/dev.js
CHANGED
package/dist/cli/index.js
CHANGED
package/dist/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
VERSION,
|
|
8
8
|
createServer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DTPVSVAJ.js";
|
|
10
10
|
import "./chunk-GDE25PUA.js";
|
|
11
11
|
import "./chunk-K5THP6KN.js";
|
|
12
12
|
import "./chunk-NBU6KIOD.js";
|
|
@@ -187,4 +187,4 @@ async function runServe(options) {
|
|
|
187
187
|
export {
|
|
188
188
|
runServe
|
|
189
189
|
};
|
|
190
|
-
//# sourceMappingURL=serve-
|
|
190
|
+
//# sourceMappingURL=serve-MOB4AMHT.js.map
|
package/dist/server/index.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
window.__foxInspectMode = false;
|
|
5
5
|
window.__foxSessionId = null;
|
|
6
|
+
window.__foxSessionTitle = null;
|
|
6
7
|
window.__foxInspectEnabled = true;
|
|
7
8
|
window.__foxSentPending = false;
|
|
8
9
|
|
|
@@ -26,7 +27,8 @@
|
|
|
26
27
|
'#__fox-popup button.__fox-send{background:#3b82f6;color:#fff;border:none;padding:6px 14px;border-radius:4px;cursor:pointer;font-size:12px;font-family:inherit}',
|
|
27
28
|
'#__fox-popup button.__fox-send:hover{background:#2563eb}',
|
|
28
29
|
'#__fox-popup button.__fox-cancel{background:transparent;color:#888;border:1px solid #444;padding:6px 14px;border-radius:4px;cursor:pointer;font-size:12px;font-family:inherit}',
|
|
29
|
-
'#__fox-popup button.__fox-cancel:hover{color:#aaa;border-color:#666}'
|
|
30
|
+
'#__fox-popup button.__fox-cancel:hover{color:#aaa;border-color:#666}',
|
|
31
|
+
'#__fox-popup .__fox-hint{font-size:11px;color:#666;margin-top:6px;line-height:1.4}'
|
|
30
32
|
].join('\n');
|
|
31
33
|
|
|
32
34
|
var overlay = document.createElement('div');
|
|
@@ -119,6 +121,7 @@
|
|
|
119
121
|
'<div class="__fox-tag">Element: <span>' + tagDisplay + '</span></div>' +
|
|
120
122
|
'<div class="__fox-selector">' + data.xpath + '</div>' +
|
|
121
123
|
'<textarea placeholder="What\'s wrong with this element?"></textarea>' +
|
|
124
|
+
'<div class="__fox-hint">Sending to: ' + (window.__foxSessionTitle || window.__foxSessionId || 'none') + '. To target a different session, close this, navigate to that session in OpenFox, and reopen the inspect window.</div>' +
|
|
122
125
|
'<div class="__fox-actions">' +
|
|
123
126
|
'<button class="__fox-cancel">Cancel</button>' +
|
|
124
127
|
'<button class="__fox-send">Send to Agent</button>' +
|
|
@@ -208,6 +211,9 @@
|
|
|
208
211
|
if (e.data && e.data.type === 'setFoxSessionId') {
|
|
209
212
|
window.__foxSessionId = e.data.sessionId;
|
|
210
213
|
}
|
|
214
|
+
if (e.data && e.data.type === 'setFoxSessionTitle') {
|
|
215
|
+
window.__foxSessionTitle = e.data.sessionTitle;
|
|
216
|
+
}
|
|
211
217
|
if (e.data && e.data.type === 'setFoxInspectEnabled') {
|
|
212
218
|
window.__foxInspectEnabled = e.data.enabled;
|
|
213
219
|
overlay.style.display = e.data.enabled ? '' : 'none';
|