@quanta-intellect/vessel-browser 0.1.124 → 0.1.127
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/out/main/index.js +18974 -18882
- package/out/preload/content-script.js +14 -4
- package/out/renderer/assets/{index-D2u6Brx4.css → index-CwDcicSR.css} +24 -1
- package/out/renderer/assets/{index-Cvmlazb5.js → index-DW3ChyZf.js} +146 -122
- package/out/renderer/index.html +2 -2
- package/package.json +1 -1
|
@@ -2629,6 +2629,17 @@ function classifyOverlayKind(args) {
|
|
|
2629
2629
|
if (/alert|warning|notice|success|error/.test(haystack)) return "alert";
|
|
2630
2630
|
return "overlay";
|
|
2631
2631
|
}
|
|
2632
|
+
const MAX_OVERLAY_CANDIDATES = 2e3;
|
|
2633
|
+
function forEachOverlayCandidate(maxCandidates, visitor) {
|
|
2634
|
+
if (!document.body) return;
|
|
2635
|
+
let visited = 0;
|
|
2636
|
+
for (const node of document.body.querySelectorAll("*")) {
|
|
2637
|
+
if (!(node instanceof HTMLElement)) continue;
|
|
2638
|
+
if (visited >= maxCandidates) break;
|
|
2639
|
+
visited++;
|
|
2640
|
+
visitor(node);
|
|
2641
|
+
}
|
|
2642
|
+
}
|
|
2632
2643
|
function detectOverlays() {
|
|
2633
2644
|
if (!document.body) return [];
|
|
2634
2645
|
const viewportWidth = window.innerWidth || document.documentElement?.clientWidth || 0;
|
|
@@ -2636,8 +2647,8 @@ function detectOverlays() {
|
|
|
2636
2647
|
const viewportArea = Math.max(1, viewportWidth * viewportHeight);
|
|
2637
2648
|
const overlays = [];
|
|
2638
2649
|
const seen = /* @__PURE__ */ new Set();
|
|
2639
|
-
|
|
2640
|
-
if (
|
|
2650
|
+
forEachOverlayCandidate(MAX_OVERLAY_CANDIDATES, (node) => {
|
|
2651
|
+
if (seen.has(node)) return;
|
|
2641
2652
|
if (!isElementVisible(node)) return;
|
|
2642
2653
|
const style = window.getComputedStyle(node);
|
|
2643
2654
|
if (style.pointerEvents === "none") return;
|
|
@@ -2709,8 +2720,7 @@ function detectDormantOverlays() {
|
|
|
2709
2720
|
if (!document.body) return [];
|
|
2710
2721
|
const seen = /* @__PURE__ */ new Set();
|
|
2711
2722
|
const matches = [];
|
|
2712
|
-
|
|
2713
|
-
if (!(node instanceof HTMLElement)) return;
|
|
2723
|
+
forEachOverlayCandidate(MAX_OVERLAY_CANDIDATES, (node) => {
|
|
2714
2724
|
if (isElementVisible(node)) return;
|
|
2715
2725
|
if (!isLikelyDormantOverlay(node)) return;
|
|
2716
2726
|
const selector = generateSelector(node);
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
align-items: center;
|
|
717
717
|
gap: 6px;
|
|
718
718
|
height: 30px;
|
|
719
|
-
padding: 0 10px;
|
|
719
|
+
padding: 0 6px 0 10px;
|
|
720
720
|
min-width: 0;
|
|
721
721
|
max-width: min(280px, 26vw);
|
|
722
722
|
border-left: 1px solid var(--border-glass);
|
|
@@ -738,6 +738,29 @@
|
|
|
738
738
|
overflow: hidden;
|
|
739
739
|
text-overflow: ellipsis;
|
|
740
740
|
white-space: nowrap;
|
|
741
|
+
min-width: 0;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.agent-status-dismiss {
|
|
745
|
+
width: 18px;
|
|
746
|
+
height: 18px;
|
|
747
|
+
display: flex;
|
|
748
|
+
align-items: center;
|
|
749
|
+
justify-content: center;
|
|
750
|
+
flex-shrink: 0;
|
|
751
|
+
border-radius: var(--radius-sm);
|
|
752
|
+
color: var(--text-muted);
|
|
753
|
+
opacity: 0.72;
|
|
754
|
+
transition:
|
|
755
|
+
background var(--duration-fast) var(--ease-in-out),
|
|
756
|
+
color var(--duration-fast) var(--ease-in-out),
|
|
757
|
+
opacity var(--duration-fast) var(--ease-in-out);
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.agent-status-dismiss:hover {
|
|
761
|
+
background: color-mix(in srgb, var(--text-primary) 10%, transparent);
|
|
762
|
+
color: var(--text-primary);
|
|
763
|
+
opacity: 1;
|
|
741
764
|
}
|
|
742
765
|
|
|
743
766
|
/* Active — green: agent is actively using tools */
|
|
@@ -3402,7 +3402,7 @@ const SEARCH_ENGINE_PRESETS = {
|
|
|
3402
3402
|
ecosia: { label: "Ecosia", url: "https://www.ecosia.org/search?q=" },
|
|
3403
3403
|
kagi: { label: "Kagi", url: "https://kagi.com/search?q=" }
|
|
3404
3404
|
};
|
|
3405
|
-
var _tmpl$$p = /* @__PURE__ */ template(`<div class=private-badge title="Private Browsing - history and cookies are not saved"><svg width=12 height=12 viewBox="0 0 16 16"fill=currentColor><path d="M8 1a7 7 0 100 14A7 7 0 008 1zm0 1.5a5.5 5.5 0 110 11 5.5 5.5 0 010-11zM5.5 7a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm3.5 3.5c0-1-1.5-2-2.5-2s-2.5 1-2.5 2"></path></svg><span>Private`), _tmpl$2$o = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 14 14"fill=currentColor><path d="M7 1a4 4 0 00-4 4v2H1.5a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5H11V5a4 4 0 00-4-4zm0 1a3 3 0 013 3v2H4V5a3 3 0 013-3z">`), _tmpl$3$k = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 14 14"fill=currentColor><path d="M7 1a4 4 0 00-4 4v2H1.5a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5H11V5a4 4 0 00-4-4zm0 1a3 3 0 013 3v2H4V5a3 3 0 013-3z"></path><line x1=2 y1=12 x2=12 y2=2 stroke=currentColor stroke-width=1.5>`), _tmpl$4$k = /* @__PURE__ */ template(`<div class=security-indicator-wrapper><button>`), _tmpl$5$g = /* @__PURE__ */ template(`<div id=address-autocomplete class=autocomplete-dropdown role=listbox>`), _tmpl$6$f = /* @__PURE__ */ template(`<div><span class=agent-status-dot aria-hidden=true></span><span class=agent-status-text>`), _tmpl$7$d = /* @__PURE__ */ template(`<button class="agent-status-badge recent"title="Open the What Changed timeline"style=cursor:pointer;font-size:11px><span class=agent-status-dot aria-hidden=true style=background:#f59e0b></span><span class=agent-status-text>What Changed?`), _tmpl$8$9 = /* @__PURE__ */ template(`<span class=page-diff-burst-meta>Updated <!> times over `), _tmpl$9$8 = /* @__PURE__ */ template(`<div class=page-diff-burst-history><div class=page-diff-burst-history-label>Recent detections`), _tmpl$0$6 = /* @__PURE__ */ template(`<div class=page-diff-popup><div class=page-diff-popup-header><div class=page-diff-popup-header-copy><span>Compared with your last visit</span><span class=page-diff-burst-meta>Previous snapshot from </span></div><div style=display:flex;gap:8px;align-items:center><button class=nav-btn title="Open the full What Changed timeline"style="height:24px;min-width:auto;padding:0 8px">Timeline</button><button class=page-diff-popup-close>×`), _tmpl$1$6 = /* @__PURE__ */ template(`<svg><path d="M3 3 L11 3 L11 9 Q7 13 3 9 Z"fill=none stroke=currentColor stroke-width=1.2 stroke-linejoin=round></svg>`, false, true, false), _tmpl$10$6 = /* @__PURE__ */ template(`<svg><line x1=2 y1=12 x2=12 y2=2 stroke=currentColor stroke-width=1.4 stroke-linecap=round></svg>`, false, true, false), _tmpl$11$6 = /* @__PURE__ */ template(`<button class=nav-btn data-tooltip="Reader Mode"><svg width=14 height=14 viewBox="0 0 14 14"><rect x=2 y=1 width=10 height=12 rx=1 fill=none stroke=currentColor stroke-width=1.2></rect><line x1=4 y1=4 x2=10 y2=4 stroke=currentColor stroke-width=1></line><line x1=4 y1=6.5 x2=10 y2=6.5 stroke=currentColor stroke-width=1></line><line x1=4 y1=9 x2=8 y2=9 stroke=currentColor stroke-width=1>`), _tmpl$12$6 = /* @__PURE__ */ template(`<button class=nav-btn data-tooltip="Dev Tools"><svg width=14 height=14 viewBox="0 0 14 14"><polyline points="3,5 1,7 3,9"fill=none stroke=currentColor stroke-width=1.2 stroke-linecap=round stroke-linejoin=round></polyline><polyline points="11,5 13,7 11,9"fill=none stroke=currentColor stroke-width=1.2 stroke-linecap=round stroke-linejoin=round></polyline><line x1=8.5 y1=2 x2=5.5 y2=12 stroke=currentColor stroke-width=1.2 stroke-linecap=round>`), _tmpl$13$5 = /* @__PURE__ */ template(`<span class=nav-btn-badge>`), _tmpl$14$5 = /* @__PURE__ */ template(`<button class="nav-btn nav-btn-sidebar"><svg width=14 height=14 viewBox="0 0 14 14"><rect x=1 y=1 width=12 height=12 rx=1.5 fill=none stroke=currentColor stroke-width=1.2></rect><line x1=9 y1=1 x2=9 y2=13 stroke=currentColor stroke-width=1.2>`), _tmpl$15$5 = /* @__PURE__ */ template(`<button class=nav-btn data-tooltip="Clear Data">`), _tmpl$16$4 = /* @__PURE__ */ template(`<button class=nav-btn data-tooltip=Settings><svg width=14 height=14 viewBox="0 0 14 14"><circle cx=7 cy=7 r=2 fill=none stroke=currentColor stroke-width=1.2></circle><path d="M7 1v2M7 11v2M1 7h2M11 7h2M2.8 2.8l1.4 1.4M9.8 9.8l1.4 1.4M11.2 2.8l-1.4 1.4M4.2 9.8l-1.4 1.4"stroke=currentColor stroke-width=1 stroke-linecap=round>`), _tmpl$17$4 = /* @__PURE__ */ template(`<div class=address-bar><div class=nav-controls><button class=nav-btn data-tooltip=Back><svg width=14 height=14 viewBox="0 0 14 14"><path d="M9 2L4 7l5 5"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round></path></svg></button><button class=nav-btn data-tooltip=Forward><svg width=14 height=14 viewBox="0 0 14 14"><path d="M5 2l5 5-5 5"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round></path></svg></button><button class=nav-btn data-tooltip=Reload><svg width=14 height=14 viewBox="0 0 14 14"><path d="M2.5 7a4.5 4.5 0 1 1 1 3"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round></path><path d="M2 4v3.5h3.5"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round></path></svg></button></div><div class=url-shell><form class=url-form><input class=url-input type=text placeholder="Search or enter URL"autocomplete=off aria-autocomplete=list aria-controls=address-autocomplete></form></div><div class=toolbar-actions><button class=nav-btn><svg width=14 height=14 viewBox="0 0 14 14">`), _tmpl$18$4 = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 14 14"fill=currentColor><path d="M7 1a4 4 0 00-4 4v2H1.5a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5H11V5a4 4 0 00-4-4zm0 1a3 3 0 013 3v2H4V5a3 3 0 013-3z"></path><circle cx=7 cy=8 r=0.8 fill=white>`), _tmpl$19$4 = /* @__PURE__ */ template(`<div role=option><span class=autocomplete-icon></span><span class=autocomplete-text><span class=autocomplete-title></span><span class=autocomplete-url>`), _tmpl$20$4 = /* @__PURE__ */ template(`<div class=page-diff-burst-row><span class=page-diff-burst-time></span><span class=page-diff-burst-summary>`), _tmpl$21$4 = /* @__PURE__ */ template(`<span class=page-diff-burst-summary-section>`), _tmpl$22$4 = /* @__PURE__ */ template(`<span class=page-diff-burst-summary-part><span>`), _tmpl$23$4 = /* @__PURE__ */ template(`<div class=page-diff-snippet><span class=page-diff-snippet-label>Before</span><span class=page-diff-snippet-text>`), _tmpl$24$4 = /* @__PURE__ */ template(`<div class=page-diff-snippet><span class=page-diff-snippet-label>After</span><span class=page-diff-snippet-text>`), _tmpl$25$3 = /* @__PURE__ */ template(`<div class=page-diff-snippets>`), _tmpl$26$3 = /* @__PURE__ */ template(`<div class=page-diff-list-group><span class=page-diff-list-label>Added</span><ul class=page-diff-list>`), _tmpl$27$3 = /* @__PURE__ */ template(`<div class=page-diff-list-group><span class=page-diff-list-label>Removed</span><ul class=page-diff-list>`), _tmpl$28$3 = /* @__PURE__ */ template(`<div><div class=page-diff-item-header><div class=page-diff-badges><span class=page-diff-kind></span><span class=page-diff-section></span></div><span class=page-diff-summary>`), _tmpl$29$3 = /* @__PURE__ */ template(`<li>`);
|
|
3405
|
+
var _tmpl$$p = /* @__PURE__ */ template(`<div class=private-badge title="Private Browsing - history and cookies are not saved"><svg width=12 height=12 viewBox="0 0 16 16"fill=currentColor><path d="M8 1a7 7 0 100 14A7 7 0 008 1zm0 1.5a5.5 5.5 0 110 11 5.5 5.5 0 010-11zM5.5 7a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm3.5 3.5c0-1-1.5-2-2.5-2s-2.5 1-2.5 2"></path></svg><span>Private`), _tmpl$2$o = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 14 14"fill=currentColor><path d="M7 1a4 4 0 00-4 4v2H1.5a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5H11V5a4 4 0 00-4-4zm0 1a3 3 0 013 3v2H4V5a3 3 0 013-3z">`), _tmpl$3$k = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 14 14"fill=currentColor><path d="M7 1a4 4 0 00-4 4v2H1.5a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5H11V5a4 4 0 00-4-4zm0 1a3 3 0 013 3v2H4V5a3 3 0 013-3z"></path><line x1=2 y1=12 x2=12 y2=2 stroke=currentColor stroke-width=1.5>`), _tmpl$4$k = /* @__PURE__ */ template(`<div class=security-indicator-wrapper><button>`), _tmpl$5$g = /* @__PURE__ */ template(`<div id=address-autocomplete class=autocomplete-dropdown role=listbox>`), _tmpl$6$f = /* @__PURE__ */ template(`<div><span class=agent-status-dot aria-hidden=true></span><span class=agent-status-text></span><button type=button class=agent-status-dismiss aria-label="Dismiss agent status"title=Dismiss>`), _tmpl$7$d = /* @__PURE__ */ template(`<button class="agent-status-badge recent"title="Open the What Changed timeline"style=cursor:pointer;font-size:11px><span class=agent-status-dot aria-hidden=true style=background:#f59e0b></span><span class=agent-status-text>What Changed?`), _tmpl$8$9 = /* @__PURE__ */ template(`<span class=page-diff-burst-meta>Updated <!> times over `), _tmpl$9$8 = /* @__PURE__ */ template(`<div class=page-diff-burst-history><div class=page-diff-burst-history-label>Recent detections`), _tmpl$0$6 = /* @__PURE__ */ template(`<div class=page-diff-popup><div class=page-diff-popup-header><div class=page-diff-popup-header-copy><span>Compared with your last visit</span><span class=page-diff-burst-meta>Previous snapshot from </span></div><div style=display:flex;gap:8px;align-items:center><button class=nav-btn title="Open the full What Changed timeline"style="height:24px;min-width:auto;padding:0 8px">Timeline</button><button class=page-diff-popup-close>×`), _tmpl$1$6 = /* @__PURE__ */ template(`<svg><path d="M3 3 L11 3 L11 9 Q7 13 3 9 Z"fill=none stroke=currentColor stroke-width=1.2 stroke-linejoin=round></svg>`, false, true, false), _tmpl$10$6 = /* @__PURE__ */ template(`<svg><line x1=2 y1=12 x2=12 y2=2 stroke=currentColor stroke-width=1.4 stroke-linecap=round></svg>`, false, true, false), _tmpl$11$6 = /* @__PURE__ */ template(`<button class=nav-btn data-tooltip="Reader Mode"><svg width=14 height=14 viewBox="0 0 14 14"><rect x=2 y=1 width=10 height=12 rx=1 fill=none stroke=currentColor stroke-width=1.2></rect><line x1=4 y1=4 x2=10 y2=4 stroke=currentColor stroke-width=1></line><line x1=4 y1=6.5 x2=10 y2=6.5 stroke=currentColor stroke-width=1></line><line x1=4 y1=9 x2=8 y2=9 stroke=currentColor stroke-width=1>`), _tmpl$12$6 = /* @__PURE__ */ template(`<button class=nav-btn data-tooltip="Dev Tools"><svg width=14 height=14 viewBox="0 0 14 14"><polyline points="3,5 1,7 3,9"fill=none stroke=currentColor stroke-width=1.2 stroke-linecap=round stroke-linejoin=round></polyline><polyline points="11,5 13,7 11,9"fill=none stroke=currentColor stroke-width=1.2 stroke-linecap=round stroke-linejoin=round></polyline><line x1=8.5 y1=2 x2=5.5 y2=12 stroke=currentColor stroke-width=1.2 stroke-linecap=round>`), _tmpl$13$5 = /* @__PURE__ */ template(`<span class=nav-btn-badge>`), _tmpl$14$5 = /* @__PURE__ */ template(`<button class="nav-btn nav-btn-sidebar"><svg width=14 height=14 viewBox="0 0 14 14"><rect x=1 y=1 width=12 height=12 rx=1.5 fill=none stroke=currentColor stroke-width=1.2></rect><line x1=9 y1=1 x2=9 y2=13 stroke=currentColor stroke-width=1.2>`), _tmpl$15$5 = /* @__PURE__ */ template(`<button class=nav-btn data-tooltip="Clear Data">`), _tmpl$16$4 = /* @__PURE__ */ template(`<button class=nav-btn data-tooltip=Settings><svg width=14 height=14 viewBox="0 0 14 14"><circle cx=7 cy=7 r=2 fill=none stroke=currentColor stroke-width=1.2></circle><path d="M7 1v2M7 11v2M1 7h2M11 7h2M2.8 2.8l1.4 1.4M9.8 9.8l1.4 1.4M11.2 2.8l-1.4 1.4M4.2 9.8l-1.4 1.4"stroke=currentColor stroke-width=1 stroke-linecap=round>`), _tmpl$17$4 = /* @__PURE__ */ template(`<div class=address-bar><div class=nav-controls><button class=nav-btn data-tooltip=Back><svg width=14 height=14 viewBox="0 0 14 14"><path d="M9 2L4 7l5 5"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round></path></svg></button><button class=nav-btn data-tooltip=Forward><svg width=14 height=14 viewBox="0 0 14 14"><path d="M5 2l5 5-5 5"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round></path></svg></button><button class=nav-btn data-tooltip=Reload><svg width=14 height=14 viewBox="0 0 14 14"><path d="M2.5 7a4.5 4.5 0 1 1 1 3"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round></path><path d="M2 4v3.5h3.5"fill=none stroke=currentColor stroke-width=1.5 stroke-linecap=round stroke-linejoin=round></path></svg></button></div><div class=url-shell><form class=url-form><input class=url-input type=text placeholder="Search or enter URL"autocomplete=off aria-autocomplete=list aria-controls=address-autocomplete></form></div><div class=toolbar-actions><button class=nav-btn><svg width=14 height=14 viewBox="0 0 14 14">`), _tmpl$18$4 = /* @__PURE__ */ template(`<svg width=14 height=14 viewBox="0 0 14 14"fill=currentColor><path d="M7 1a4 4 0 00-4 4v2H1.5a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5H11V5a4 4 0 00-4-4zm0 1a3 3 0 013 3v2H4V5a3 3 0 013-3z"></path><circle cx=7 cy=8 r=0.8 fill=white>`), _tmpl$19$4 = /* @__PURE__ */ template(`<div role=option><span class=autocomplete-icon></span><span class=autocomplete-text><span class=autocomplete-title></span><span class=autocomplete-url>`), _tmpl$20$4 = /* @__PURE__ */ template(`<div class=page-diff-burst-row><span class=page-diff-burst-time></span><span class=page-diff-burst-summary>`), _tmpl$21$4 = /* @__PURE__ */ template(`<span class=page-diff-burst-summary-section>`), _tmpl$22$4 = /* @__PURE__ */ template(`<span class=page-diff-burst-summary-part><span>`), _tmpl$23$4 = /* @__PURE__ */ template(`<div class=page-diff-snippet><span class=page-diff-snippet-label>Before</span><span class=page-diff-snippet-text>`), _tmpl$24$4 = /* @__PURE__ */ template(`<div class=page-diff-snippet><span class=page-diff-snippet-label>After</span><span class=page-diff-snippet-text>`), _tmpl$25$3 = /* @__PURE__ */ template(`<div class=page-diff-snippets>`), _tmpl$26$3 = /* @__PURE__ */ template(`<div class=page-diff-list-group><span class=page-diff-list-label>Added</span><ul class=page-diff-list>`), _tmpl$27$3 = /* @__PURE__ */ template(`<div class=page-diff-list-group><span class=page-diff-list-label>Removed</span><ul class=page-diff-list>`), _tmpl$28$3 = /* @__PURE__ */ template(`<div><div class=page-diff-item-header><div class=page-diff-badges><span class=page-diff-kind></span><span class=page-diff-section></span></div><span class=page-diff-summary>`), _tmpl$29$3 = /* @__PURE__ */ template(`<li>`);
|
|
3406
3406
|
const AddressBar = (props) => {
|
|
3407
3407
|
const {
|
|
3408
3408
|
activeTab,
|
|
@@ -3438,6 +3438,7 @@ const AddressBar = (props) => {
|
|
|
3438
3438
|
const [searchEngine, setSearchEngine] = createSignal("duckduckgo");
|
|
3439
3439
|
const [showSecurityPopup, setShowSecurityPopup] = createSignal(false);
|
|
3440
3440
|
const [hasEditedAddress, setHasEditedAddress] = createSignal(false);
|
|
3441
|
+
const [dismissedAgentStatusKey, setDismissedAgentStatusKey] = createSignal(null);
|
|
3441
3442
|
const now2 = useNow();
|
|
3442
3443
|
let inputRef;
|
|
3443
3444
|
let addressBlurTimer = null;
|
|
@@ -3451,6 +3452,20 @@ const AddressBar = (props) => {
|
|
|
3451
3452
|
});
|
|
3452
3453
|
const agentPresence = createMemo(() => getAgentPresence(runtimeState2(), now2()));
|
|
3453
3454
|
const agentStatusMessage = createMemo(() => getLatestAgentStatusMessage(runtimeState2(), now2()));
|
|
3455
|
+
const agentStatusKey = createMemo(() => {
|
|
3456
|
+
const message = agentStatusMessage();
|
|
3457
|
+
if (!message) return null;
|
|
3458
|
+
return `${agentPresence()}:${message}`;
|
|
3459
|
+
});
|
|
3460
|
+
const showAgentStatusBadge = createMemo(() => {
|
|
3461
|
+
const key = agentStatusKey();
|
|
3462
|
+
return !!key && dismissedAgentStatusKey() !== key;
|
|
3463
|
+
});
|
|
3464
|
+
createEffect(() => {
|
|
3465
|
+
if (!agentStatusKey()) {
|
|
3466
|
+
setDismissedAgentStatusKey(null);
|
|
3467
|
+
}
|
|
3468
|
+
});
|
|
3454
3469
|
const pendingApprovalCount = createMemo(() => runtimeState2().supervisor.pendingApprovals.length);
|
|
3455
3470
|
const searchEnginePreset = createMemo(() => {
|
|
3456
3471
|
const engine = searchEngine();
|
|
@@ -3698,7 +3713,7 @@ const AddressBar = (props) => {
|
|
|
3698
3713
|
};
|
|
3699
3714
|
const formatSectionLabel = (section) => section === "title" ? "Title" : section === "headings" ? "Headings" : "Content";
|
|
3700
3715
|
return (() => {
|
|
3701
|
-
var _el$ = _tmpl$17$4(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$4.nextSibling, _el$11 = _el$2.nextSibling, _el$12 = _el$11.firstChild, _el$13 = _el$12.firstChild, _el$
|
|
3716
|
+
var _el$ = _tmpl$17$4(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling, _el$5 = _el$4.nextSibling, _el$11 = _el$2.nextSibling, _el$12 = _el$11.firstChild, _el$13 = _el$12.firstChild, _el$36 = _el$11.nextSibling, _el$37 = _el$36.firstChild, _el$38 = _el$37.firstChild;
|
|
3702
3717
|
addEventListener(_el$3, "click", goBack, true);
|
|
3703
3718
|
addEventListener(_el$4, "click", goForward, true);
|
|
3704
3719
|
addEventListener(_el$5, "click", reload, true);
|
|
@@ -3718,9 +3733,9 @@ const AddressBar = (props) => {
|
|
|
3718
3733
|
insert(_el$8, createComponent(Switch, {
|
|
3719
3734
|
get fallback() {
|
|
3720
3735
|
return (() => {
|
|
3721
|
-
var _el$
|
|
3722
|
-
_el$
|
|
3723
|
-
return _el$
|
|
3736
|
+
var _el$49 = _tmpl$18$4();
|
|
3737
|
+
_el$49.firstChild;
|
|
3738
|
+
return _el$49;
|
|
3724
3739
|
})();
|
|
3725
3740
|
},
|
|
3726
3741
|
get children() {
|
|
@@ -3804,42 +3819,51 @@ const AddressBar = (props) => {
|
|
|
3804
3819
|
return suggestions();
|
|
3805
3820
|
},
|
|
3806
3821
|
children: (item, i) => (() => {
|
|
3807
|
-
var _el$
|
|
3808
|
-
_el$
|
|
3809
|
-
_el$
|
|
3822
|
+
var _el$51 = _tmpl$19$4(), _el$52 = _el$51.firstChild, _el$53 = _el$52.nextSibling, _el$54 = _el$53.firstChild, _el$55 = _el$54.nextSibling;
|
|
3823
|
+
_el$51.addEventListener("mouseenter", () => setSelectedIndex(i()));
|
|
3824
|
+
_el$51.$$mousedown = (e) => {
|
|
3810
3825
|
e.preventDefault();
|
|
3811
3826
|
selectSuggestion(item.url);
|
|
3812
3827
|
};
|
|
3813
|
-
insert(_el$
|
|
3828
|
+
insert(_el$52, (() => {
|
|
3814
3829
|
var _c$ = memo(() => item.source === "bookmark");
|
|
3815
3830
|
return () => _c$() ? "★" : item.source === "search" ? "⌕" : "◌";
|
|
3816
3831
|
})());
|
|
3817
|
-
insert(_el$
|
|
3818
|
-
insert(_el$
|
|
3832
|
+
insert(_el$54, () => item.title || item.url);
|
|
3833
|
+
insert(_el$55, () => item.subtitle || item.url);
|
|
3819
3834
|
createRenderEffect((_p$) => {
|
|
3820
3835
|
var _v$12 = `address-autocomplete-${i()}`, _v$13 = `autocomplete-item ${selectedIndex() === i() ? "selected" : ""}`, _v$14 = selectedIndex() === i();
|
|
3821
|
-
_v$12 !== _p$.e && setAttribute(_el$
|
|
3822
|
-
_v$13 !== _p$.t && className(_el$
|
|
3823
|
-
_v$14 !== _p$.a && setAttribute(_el$
|
|
3836
|
+
_v$12 !== _p$.e && setAttribute(_el$51, "id", _p$.e = _v$12);
|
|
3837
|
+
_v$13 !== _p$.t && className(_el$51, _p$.t = _v$13);
|
|
3838
|
+
_v$14 !== _p$.a && setAttribute(_el$51, "aria-selected", _p$.a = _v$14);
|
|
3824
3839
|
return _p$;
|
|
3825
3840
|
}, {
|
|
3826
3841
|
e: void 0,
|
|
3827
3842
|
t: void 0,
|
|
3828
3843
|
a: void 0
|
|
3829
3844
|
});
|
|
3830
|
-
return _el$
|
|
3845
|
+
return _el$51;
|
|
3831
3846
|
})()
|
|
3832
3847
|
}));
|
|
3833
3848
|
return _el$14;
|
|
3834
3849
|
}
|
|
3835
3850
|
}), null);
|
|
3836
3851
|
insert(_el$11, createComponent(Show, {
|
|
3837
|
-
when
|
|
3852
|
+
get when() {
|
|
3853
|
+
return !isPrivateWindow && showAgentStatusBadge();
|
|
3854
|
+
},
|
|
3838
3855
|
get children() {
|
|
3839
|
-
var _el$15 = _tmpl$6$f(), _el$16 = _el$15.firstChild, _el$17 = _el$16.nextSibling;
|
|
3840
|
-
insert(_el$17,
|
|
3856
|
+
var _el$15 = _tmpl$6$f(), _el$16 = _el$15.firstChild, _el$17 = _el$16.nextSibling, _el$18 = _el$17.nextSibling;
|
|
3857
|
+
insert(_el$17, agentStatusMessage);
|
|
3858
|
+
_el$18.$$click = (event) => {
|
|
3859
|
+
event.stopPropagation();
|
|
3860
|
+
setDismissedAgentStatusKey(agentStatusKey());
|
|
3861
|
+
};
|
|
3862
|
+
insert(_el$18, createComponent(x_default, {
|
|
3863
|
+
size: 12
|
|
3864
|
+
}));
|
|
3841
3865
|
createRenderEffect((_p$) => {
|
|
3842
|
-
var _v$3 = `agent-status-badge ${agentPresence()}`, _v$4 = agentStatusMessage() ||
|
|
3866
|
+
var _v$3 = `agent-status-badge ${agentPresence()}`, _v$4 = agentStatusMessage() || "Agent is using the browser";
|
|
3843
3867
|
_v$3 !== _p$.e && className(_el$15, _p$.e = _v$3);
|
|
3844
3868
|
_v$4 !== _p$.t && setAttribute(_el$15, "title", _p$.t = _v$4);
|
|
3845
3869
|
return _p$;
|
|
@@ -3855,9 +3879,9 @@ const AddressBar = (props) => {
|
|
|
3855
3879
|
return pageDiff();
|
|
3856
3880
|
},
|
|
3857
3881
|
get children() {
|
|
3858
|
-
var _el$
|
|
3859
|
-
_el$
|
|
3860
|
-
return _el$
|
|
3882
|
+
var _el$19 = _tmpl$7$d();
|
|
3883
|
+
_el$19.$$click = () => void openDiffTimeline();
|
|
3884
|
+
return _el$19;
|
|
3861
3885
|
}
|
|
3862
3886
|
}), null);
|
|
3863
3887
|
insert(_el$, createComponent(Show, {
|
|
@@ -3865,157 +3889,157 @@ const AddressBar = (props) => {
|
|
|
3865
3889
|
return memo(() => !!pageDiff())() && diffExpanded();
|
|
3866
3890
|
},
|
|
3867
3891
|
get children() {
|
|
3868
|
-
var _el$
|
|
3869
|
-
_el$
|
|
3870
|
-
var _el$
|
|
3871
|
-
insert(_el$
|
|
3872
|
-
insert(_el$
|
|
3892
|
+
var _el$20 = _tmpl$0$6(), _el$21 = _el$20.firstChild, _el$22 = _el$21.firstChild, _el$23 = _el$22.firstChild, _el$24 = _el$23.nextSibling;
|
|
3893
|
+
_el$24.firstChild;
|
|
3894
|
+
var _el$31 = _el$22.nextSibling, _el$32 = _el$31.firstChild, _el$33 = _el$32.nextSibling;
|
|
3895
|
+
insert(_el$24, () => formatRelativeTime(pageDiff().oldSnapshot.capturedAt), null);
|
|
3896
|
+
insert(_el$22, createComponent(Show, {
|
|
3873
3897
|
get when() {
|
|
3874
3898
|
return memo(() => !!((pageDiff().burstCount || 0) > 1 && pageDiff().firstDetectedAt))() && pageDiff().lastDetectedAt;
|
|
3875
3899
|
},
|
|
3876
3900
|
get children() {
|
|
3877
|
-
var _el$
|
|
3878
|
-
_el$
|
|
3879
|
-
insert(_el$
|
|
3880
|
-
insert(_el$
|
|
3881
|
-
return _el$
|
|
3901
|
+
var _el$26 = _tmpl$8$9(), _el$27 = _el$26.firstChild, _el$30 = _el$27.nextSibling;
|
|
3902
|
+
_el$30.nextSibling;
|
|
3903
|
+
insert(_el$26, () => pageDiff().burstCount, _el$30);
|
|
3904
|
+
insert(_el$26, () => formatElapsedTime(pageDiff().firstDetectedAt, pageDiff().lastDetectedAt), null);
|
|
3905
|
+
return _el$26;
|
|
3882
3906
|
}
|
|
3883
3907
|
}), null);
|
|
3884
|
-
_el$
|
|
3885
|
-
_el$
|
|
3886
|
-
insert(_el$
|
|
3908
|
+
_el$32.$$click = () => void openDiffTimeline();
|
|
3909
|
+
_el$33.$$click = () => setDiffExpanded(false);
|
|
3910
|
+
insert(_el$20, createComponent(Show, {
|
|
3887
3911
|
get when() {
|
|
3888
3912
|
return memo(() => !!pageDiff().recentBursts?.length)() && (pageDiff().recentBursts?.length || 0) > 1;
|
|
3889
3913
|
},
|
|
3890
3914
|
get children() {
|
|
3891
|
-
var _el$
|
|
3892
|
-
_el$
|
|
3893
|
-
insert(_el$
|
|
3915
|
+
var _el$34 = _tmpl$9$8();
|
|
3916
|
+
_el$34.firstChild;
|
|
3917
|
+
insert(_el$34, createComponent(For, {
|
|
3894
3918
|
get each() {
|
|
3895
3919
|
return pageDiff().recentBursts;
|
|
3896
3920
|
},
|
|
3897
3921
|
children: (burst, i) => (() => {
|
|
3898
|
-
var _el$
|
|
3899
|
-
insert(_el$
|
|
3922
|
+
var _el$56 = _tmpl$20$4(), _el$57 = _el$56.firstChild, _el$58 = _el$57.nextSibling;
|
|
3923
|
+
insert(_el$57, (() => {
|
|
3900
3924
|
var _c$2 = memo(() => i() === 0);
|
|
3901
3925
|
return () => _c$2() ? "Latest" : formatRelativeTime(burst.detectedAt);
|
|
3902
3926
|
})());
|
|
3903
|
-
insert(_el$
|
|
3927
|
+
insert(_el$58, createComponent(For, {
|
|
3904
3928
|
get each() {
|
|
3905
3929
|
return parseDiffSummaryParts(burst.summary);
|
|
3906
3930
|
},
|
|
3907
3931
|
children: (part) => (() => {
|
|
3908
|
-
var _el$
|
|
3909
|
-
insert(_el$
|
|
3932
|
+
var _el$59 = _tmpl$22$4(), _el$61 = _el$59.firstChild;
|
|
3933
|
+
insert(_el$59, createComponent(Show, {
|
|
3910
3934
|
get when() {
|
|
3911
3935
|
return part.section;
|
|
3912
3936
|
},
|
|
3913
3937
|
get children() {
|
|
3914
|
-
var _el$
|
|
3915
|
-
insert(_el$
|
|
3916
|
-
return _el$
|
|
3938
|
+
var _el$60 = _tmpl$21$4();
|
|
3939
|
+
insert(_el$60, () => part.section);
|
|
3940
|
+
return _el$60;
|
|
3917
3941
|
}
|
|
3918
|
-
}), _el$
|
|
3919
|
-
insert(_el$
|
|
3920
|
-
return _el$
|
|
3942
|
+
}), _el$61);
|
|
3943
|
+
insert(_el$61, () => part.text);
|
|
3944
|
+
return _el$59;
|
|
3921
3945
|
})()
|
|
3922
3946
|
}));
|
|
3923
|
-
createRenderEffect(() => _el$
|
|
3924
|
-
return _el$
|
|
3947
|
+
createRenderEffect(() => _el$56.classList.toggle("latest", !!(i() === 0)));
|
|
3948
|
+
return _el$56;
|
|
3925
3949
|
})()
|
|
3926
3950
|
}), null);
|
|
3927
|
-
return _el$
|
|
3951
|
+
return _el$34;
|
|
3928
3952
|
}
|
|
3929
3953
|
}), null);
|
|
3930
|
-
insert(_el$
|
|
3954
|
+
insert(_el$20, createComponent(For, {
|
|
3931
3955
|
get each() {
|
|
3932
3956
|
return pageDiff().changes;
|
|
3933
3957
|
},
|
|
3934
3958
|
children: (change) => (() => {
|
|
3935
|
-
var _el$
|
|
3936
|
-
insert(_el$
|
|
3937
|
-
insert(_el$
|
|
3938
|
-
insert(_el$
|
|
3939
|
-
insert(_el$
|
|
3959
|
+
var _el$62 = _tmpl$28$3(), _el$63 = _el$62.firstChild, _el$64 = _el$63.firstChild, _el$65 = _el$64.firstChild, _el$66 = _el$65.nextSibling, _el$67 = _el$64.nextSibling;
|
|
3960
|
+
insert(_el$65, () => getChangeKindLabel(change.kind));
|
|
3961
|
+
insert(_el$66, () => formatSectionLabel(change.section));
|
|
3962
|
+
insert(_el$67, () => change.summary);
|
|
3963
|
+
insert(_el$62, createComponent(Show, {
|
|
3940
3964
|
get when() {
|
|
3941
3965
|
return change.before || change.after;
|
|
3942
3966
|
},
|
|
3943
3967
|
get children() {
|
|
3944
|
-
var _el$
|
|
3945
|
-
insert(_el$
|
|
3968
|
+
var _el$68 = _tmpl$25$3();
|
|
3969
|
+
insert(_el$68, createComponent(Show, {
|
|
3946
3970
|
get when() {
|
|
3947
3971
|
return change.before;
|
|
3948
3972
|
},
|
|
3949
3973
|
get children() {
|
|
3950
|
-
var _el$
|
|
3951
|
-
insert(_el$
|
|
3952
|
-
return _el$
|
|
3974
|
+
var _el$69 = _tmpl$23$4(), _el$70 = _el$69.firstChild, _el$71 = _el$70.nextSibling;
|
|
3975
|
+
insert(_el$71, () => change.before);
|
|
3976
|
+
return _el$69;
|
|
3953
3977
|
}
|
|
3954
3978
|
}), null);
|
|
3955
|
-
insert(_el$
|
|
3979
|
+
insert(_el$68, createComponent(Show, {
|
|
3956
3980
|
get when() {
|
|
3957
3981
|
return change.after;
|
|
3958
3982
|
},
|
|
3959
3983
|
get children() {
|
|
3960
|
-
var _el$
|
|
3961
|
-
insert(_el$
|
|
3962
|
-
return _el$
|
|
3984
|
+
var _el$72 = _tmpl$24$4(), _el$73 = _el$72.firstChild, _el$74 = _el$73.nextSibling;
|
|
3985
|
+
insert(_el$74, () => change.after);
|
|
3986
|
+
return _el$72;
|
|
3963
3987
|
}
|
|
3964
3988
|
}), null);
|
|
3965
|
-
return _el$
|
|
3989
|
+
return _el$68;
|
|
3966
3990
|
}
|
|
3967
3991
|
}), null);
|
|
3968
|
-
insert(_el$
|
|
3992
|
+
insert(_el$62, createComponent(Show, {
|
|
3969
3993
|
get when() {
|
|
3970
3994
|
return change.addedItems?.length;
|
|
3971
3995
|
},
|
|
3972
3996
|
get children() {
|
|
3973
|
-
var _el$
|
|
3974
|
-
insert(_el$
|
|
3997
|
+
var _el$75 = _tmpl$26$3(), _el$76 = _el$75.firstChild, _el$77 = _el$76.nextSibling;
|
|
3998
|
+
insert(_el$77, createComponent(For, {
|
|
3975
3999
|
get each() {
|
|
3976
4000
|
return change.addedItems;
|
|
3977
4001
|
},
|
|
3978
4002
|
children: (item) => (() => {
|
|
3979
|
-
var _el$
|
|
3980
|
-
insert(_el$
|
|
3981
|
-
return _el$
|
|
4003
|
+
var _el$81 = _tmpl$29$3();
|
|
4004
|
+
insert(_el$81, item);
|
|
4005
|
+
return _el$81;
|
|
3982
4006
|
})()
|
|
3983
4007
|
}));
|
|
3984
|
-
return _el$
|
|
4008
|
+
return _el$75;
|
|
3985
4009
|
}
|
|
3986
4010
|
}), null);
|
|
3987
|
-
insert(_el$
|
|
4011
|
+
insert(_el$62, createComponent(Show, {
|
|
3988
4012
|
get when() {
|
|
3989
4013
|
return change.removedItems?.length;
|
|
3990
4014
|
},
|
|
3991
4015
|
get children() {
|
|
3992
|
-
var _el$
|
|
3993
|
-
insert(_el$
|
|
4016
|
+
var _el$78 = _tmpl$27$3(), _el$79 = _el$78.firstChild, _el$80 = _el$79.nextSibling;
|
|
4017
|
+
insert(_el$80, createComponent(For, {
|
|
3994
4018
|
get each() {
|
|
3995
4019
|
return change.removedItems;
|
|
3996
4020
|
},
|
|
3997
4021
|
children: (item) => (() => {
|
|
3998
|
-
var _el$
|
|
3999
|
-
insert(_el$
|
|
4000
|
-
return _el$
|
|
4022
|
+
var _el$82 = _tmpl$29$3();
|
|
4023
|
+
insert(_el$82, item);
|
|
4024
|
+
return _el$82;
|
|
4001
4025
|
})()
|
|
4002
4026
|
}));
|
|
4003
|
-
return _el$
|
|
4027
|
+
return _el$78;
|
|
4004
4028
|
}
|
|
4005
4029
|
}), null);
|
|
4006
|
-
createRenderEffect(() => className(_el$
|
|
4007
|
-
return _el$
|
|
4030
|
+
createRenderEffect(() => className(_el$62, `page-diff-item page-diff-${change.kind}`));
|
|
4031
|
+
return _el$62;
|
|
4008
4032
|
})()
|
|
4009
4033
|
}), null);
|
|
4010
|
-
return _el$
|
|
4034
|
+
return _el$20;
|
|
4011
4035
|
}
|
|
4012
|
-
}), _el$
|
|
4013
|
-
_el$
|
|
4036
|
+
}), _el$36);
|
|
4037
|
+
_el$37.$$click = async () => {
|
|
4014
4038
|
const id = activeTabId2();
|
|
4015
4039
|
if (!id) return;
|
|
4016
4040
|
await toggleAdBlock(id);
|
|
4017
4041
|
};
|
|
4018
|
-
insert(_el$
|
|
4042
|
+
insert(_el$38, createComponent(Show, {
|
|
4019
4043
|
get when() {
|
|
4020
4044
|
return activeTab()?.adBlockingEnabled;
|
|
4021
4045
|
},
|
|
@@ -4023,7 +4047,7 @@ const AddressBar = (props) => {
|
|
|
4023
4047
|
return _tmpl$1$6();
|
|
4024
4048
|
}
|
|
4025
4049
|
}), null);
|
|
4026
|
-
insert(_el$
|
|
4050
|
+
insert(_el$38, createComponent(Show, {
|
|
4027
4051
|
get when() {
|
|
4028
4052
|
return !activeTab()?.adBlockingEnabled;
|
|
4029
4053
|
},
|
|
@@ -4031,67 +4055,67 @@ const AddressBar = (props) => {
|
|
|
4031
4055
|
return [_tmpl$1$6(), _tmpl$10$6()];
|
|
4032
4056
|
}
|
|
4033
4057
|
}), null);
|
|
4034
|
-
insert(_el$
|
|
4058
|
+
insert(_el$36, createComponent(Show, {
|
|
4035
4059
|
when: !isPrivateWindow,
|
|
4036
4060
|
get children() {
|
|
4037
|
-
var _el$
|
|
4038
|
-
_el$
|
|
4039
|
-
createRenderEffect(() => _el$
|
|
4040
|
-
return _el$
|
|
4061
|
+
var _el$42 = _tmpl$11$6();
|
|
4062
|
+
_el$42.$$click = () => window.vessel.content.toggleReader();
|
|
4063
|
+
createRenderEffect(() => _el$42.classList.toggle("active", !!activeTab()?.isReaderMode));
|
|
4064
|
+
return _el$42;
|
|
4041
4065
|
}
|
|
4042
4066
|
}), null);
|
|
4043
|
-
insert(_el$
|
|
4067
|
+
insert(_el$36, createComponent(Show, {
|
|
4044
4068
|
when: !isPrivateWindow,
|
|
4045
4069
|
get children() {
|
|
4046
|
-
var _el$
|
|
4047
|
-
addEventListener(_el$
|
|
4048
|
-
createRenderEffect(() => _el$
|
|
4049
|
-
return _el$
|
|
4070
|
+
var _el$43 = _tmpl$12$6();
|
|
4071
|
+
addEventListener(_el$43, "click", toggleDevTools, true);
|
|
4072
|
+
createRenderEffect(() => _el$43.classList.toggle("active", !!devtoolsPanelOpen2()));
|
|
4073
|
+
return _el$43;
|
|
4050
4074
|
}
|
|
4051
4075
|
}), null);
|
|
4052
|
-
insert(_el$
|
|
4076
|
+
insert(_el$36, createComponent(Show, {
|
|
4053
4077
|
when: !isPrivateWindow,
|
|
4054
4078
|
get children() {
|
|
4055
|
-
var _el$
|
|
4056
|
-
_el$
|
|
4057
|
-
addEventListener(_el$
|
|
4058
|
-
insert(_el$
|
|
4079
|
+
var _el$44 = _tmpl$14$5();
|
|
4080
|
+
_el$44.firstChild;
|
|
4081
|
+
addEventListener(_el$44, "click", toggleSidebar, true);
|
|
4082
|
+
insert(_el$44, createComponent(Show, {
|
|
4059
4083
|
get when() {
|
|
4060
4084
|
return pendingApprovalCount() > 0;
|
|
4061
4085
|
},
|
|
4062
4086
|
get children() {
|
|
4063
|
-
var _el$
|
|
4064
|
-
insert(_el$
|
|
4065
|
-
createRenderEffect(() => setAttribute(_el$
|
|
4066
|
-
return _el$
|
|
4087
|
+
var _el$46 = _tmpl$13$5();
|
|
4088
|
+
insert(_el$46, pendingApprovalCount);
|
|
4089
|
+
createRenderEffect(() => setAttribute(_el$46, "aria-label", `${pendingApprovalCount()} pending`));
|
|
4090
|
+
return _el$46;
|
|
4067
4091
|
}
|
|
4068
4092
|
}), null);
|
|
4069
4093
|
createRenderEffect((_p$) => {
|
|
4070
4094
|
var _v$5 = !!(pendingApprovalCount() > 0), _v$6 = pendingApprovalCount() > 0 ? `AI Sidebar — ${pendingApprovalCount()} pending approval${pendingApprovalCount() > 1 ? "s" : ""}` : "AI Sidebar (Ctrl+Shift+L)";
|
|
4071
|
-
_v$5 !== _p$.e && _el$
|
|
4072
|
-
_v$6 !== _p$.t && setAttribute(_el$
|
|
4095
|
+
_v$5 !== _p$.e && _el$44.classList.toggle("has-approvals", _p$.e = _v$5);
|
|
4096
|
+
_v$6 !== _p$.t && setAttribute(_el$44, "title", _p$.t = _v$6);
|
|
4073
4097
|
return _p$;
|
|
4074
4098
|
}, {
|
|
4075
4099
|
e: void 0,
|
|
4076
4100
|
t: void 0
|
|
4077
4101
|
});
|
|
4078
|
-
return _el$
|
|
4102
|
+
return _el$44;
|
|
4079
4103
|
}
|
|
4080
4104
|
}), null);
|
|
4081
|
-
insert(_el$
|
|
4105
|
+
insert(_el$36, createComponent(Show, {
|
|
4082
4106
|
when: !isPrivateWindow,
|
|
4083
4107
|
get children() {
|
|
4084
4108
|
return [(() => {
|
|
4085
|
-
var _el$
|
|
4086
|
-
addEventListener(_el$
|
|
4087
|
-
insert(_el$
|
|
4109
|
+
var _el$47 = _tmpl$15$5();
|
|
4110
|
+
addEventListener(_el$47, "click", props.onClearData, true);
|
|
4111
|
+
insert(_el$47, createComponent(trash_2_default, {
|
|
4088
4112
|
size: 14
|
|
4089
4113
|
}));
|
|
4090
|
-
return _el$46;
|
|
4091
|
-
})(), (() => {
|
|
4092
|
-
var _el$47 = _tmpl$16$4();
|
|
4093
|
-
addEventListener(_el$47, "click", openSettings, true);
|
|
4094
4114
|
return _el$47;
|
|
4115
|
+
})(), (() => {
|
|
4116
|
+
var _el$48 = _tmpl$16$4();
|
|
4117
|
+
addEventListener(_el$48, "click", openSettings, true);
|
|
4118
|
+
return _el$48;
|
|
4095
4119
|
})()];
|
|
4096
4120
|
}
|
|
4097
4121
|
}), null);
|
|
@@ -4101,9 +4125,9 @@ const AddressBar = (props) => {
|
|
|
4101
4125
|
_v$8 !== _p$.t && (_el$4.disabled = _p$.t = _v$8);
|
|
4102
4126
|
_v$9 !== _p$.a && setAttribute(_el$13, "aria-expanded", _p$.a = _v$9);
|
|
4103
4127
|
_v$0 !== _p$.o && setAttribute(_el$13, "aria-activedescendant", _p$.o = _v$0);
|
|
4104
|
-
_v$1 !== _p$.i && _el$
|
|
4105
|
-
_v$10 !== _p$.n && _el$
|
|
4106
|
-
_v$11 !== _p$.s && setAttribute(_el$
|
|
4128
|
+
_v$1 !== _p$.i && _el$37.classList.toggle("active", _p$.i = _v$1);
|
|
4129
|
+
_v$10 !== _p$.n && _el$37.classList.toggle("nav-btn-muted", _p$.n = _v$10);
|
|
4130
|
+
_v$11 !== _p$.s && setAttribute(_el$37, "title", _p$.s = _v$11);
|
|
4107
4131
|
return _p$;
|
|
4108
4132
|
}, {
|
|
4109
4133
|
e: void 0,
|
package/out/renderer/index.html
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; base-uri 'none'; object-src 'none'; frame-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src 'self'; font-src 'self' data:; form-action 'self';" />
|
|
7
7
|
<title>Vessel</title>
|
|
8
|
-
<script type="module" crossorigin src="./assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
8
|
+
<script type="module" crossorigin src="./assets/index-DW3ChyZf.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CwDcicSR.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quanta-intellect/vessel-browser",
|
|
3
3
|
"mcpName": "io.github.unmodeled-tyler/vessel-browser",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.127",
|
|
5
5
|
"description": "AI-native web browser runtime for autonomous agents with human supervision",
|
|
6
6
|
"main": "./out/main/index.js",
|
|
7
7
|
"bin": {
|