Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(agentic-ide): links clicked in the IDE open in its Browser tab (#804)

Ruben Lütke88553f13c99f
diff --git a/dodaios/ui/browser_embed.py b/dodaios/ui/browser_embed.py
index 22d42be81a..3e9269f6d5 100644
--- a/dodaios/ui/browser_embed.py
+++ b/dodaios/ui/browser_embed.py
@@ -32,7 +32,8 @@ the window events are delivered there.
Limits that come with a foreign window: a popup of the app that overlaps the
panel would sit below the browser (the page hides the browser while one does),
and a link opened from another program can land in this window when it was
-the browser's last active one.
+the browser's last active one. Links clicked in the app itself go to the panel
+on purpose: ``open_tab`` makes its window the active one and opens a tab there.
"""
from __future__ import annotations
@@ -52,6 +53,7 @@ from concurrent.futures import TimeoutError as FutureTimeout
from dataclasses import dataclass
from pathlib import Path
from typing import Any, TypeVar
+from urllib.parse import urlparse
from dodaios.ui.browser_profiles import (
BrowserSpec,
@@ -402,6 +404,55 @@ class ChromeEmbed:
logger.warning("Browser panel launch failed: %s", exc, exc_info=True)
return self._fail("launch_failed")
+ def open_tab(self, url: str) -> dict[str, Any]:
+ """Open ``url`` as a new tab in the panel's window.
+
+ A plain start of the browser exe hands the address to the running
+ browser, which opens it in its last active window. The panel's window
+ is made the active one first, so the tab lands there and not in a
+ hidden window or another window of the user. Only works while the
+ window is embedded and shown; otherwise ``ok`` is false and the page
+ opens a new panel window on the address instead.
+ """
+ if not self.supported():
+ return self._fail_quietly("unsupported")
+ target = url.strip()
+ parsed = urlparse(target)
+ if parsed.scheme not in ("http", "https") or not parsed.netloc:
+ return self._fail_quietly("bad_url")
+ with self._lock:
+ hwnd, browser_id, profile = self._chrome, self._browser, self._profile
+ embedded = self._state == "embedded"
+ spec = browser_by_id(browser_id)
+ exe = find_browser_exe(spec) if spec is not None else None
+ if not (embedded and hwnd and exe is not None and self._thread is not None):
+ return self._fail_quietly("not_embedded")
+ try:
+ shown = self._call(lambda: self._activate_for_tab(hwnd))
+ except Exception as exc: # noqa: BLE001 - reported to the page, logged here
+ logger.warning("Browser panel activate failed: %s", exc, exc_info=True)
+ return self._fail_quietly("activate_failed")
+ if not shown:
+ return self._fail_quietly("not_shown")
+ if not self._start_browser(exe, profile, target, new_window=False):
+ return self._fail_quietly("launch_failed")
+ return {**self.status(), "ok": True}
+
+ def _activate_for_tab(self, hwnd: int) -> bool:
+ """Make the shown panel window the browser's active one (native thread)."""
+ user32 = self._load_api().user32
+ if hwnd != self._chrome or not user32.IsWindow(hwnd):
+ return False
+ self._sync()
+ if not self._shown:
+ return False
+ user32.SetForegroundWindow(hwnd)
+ return True
+
+ def _fail_quietly(self, reason: str) -> dict[str, Any]:
+ """A refusal that leaves the window's own state alone."""
+ return {**self.status(), "ok": False, "reason": reason}
+
def _current(self, generation: int) -> bool:
with self._lock:
return generation == self._generation and not self._closing
@@ -588,7 +639,7 @@ class ChromeEmbed:
return {**self.status(), "ok": False, "reason": reason}
@staticmethod
- def _start_browser(exe: Path, profile: str, url: str) -> bool:
+ def _start_browser(exe: Path, profile: str, url: str, *, new_window: bool = True) -> bool:
"""Start the browser exe; a running browser opens the window in its own process.
The browser must not belong to the app's job object: when the browser
@@ -598,7 +649,8 @@ class ChromeEmbed:
"""
from dodaios.core.process_utils import NO_WINDOW_CREATIONFLAGS # noqa: PLC0415
- argv = [str(exe), f"--profile-directory={profile}", "--new-window", url]
+ window = ["--new-window"] if new_window else []
+ argv = [str(exe), f"--profile-directory={profile}", *window, url]
# The browser finds its profiles below %LOCALAPPDATA%. An app started
# with that variable pointed elsewhere (an isolated instance) would
# otherwise start a second, empty browser instead of the user's own.
diff --git a/dodaios/ui/web/dist/assets/antigravity-8EbLmxw8.svg b/dodaios/ui/web/dist/assets/antigravity-_lOIeRhP.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/antigravity-8EbLmxw8.svg
rename to dodaios/ui/web/dist/assets/antigravity-_lOIeRhP.svg
diff --git a/dodaios/ui/web/dist/assets/fly-BBgZ4Q4B.svg b/dodaios/ui/web/dist/assets/fly-C4H8YhO_.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/fly-BBgZ4Q4B.svg
rename to dodaios/ui/web/dist/assets/fly-C4H8YhO_.svg
diff --git a/dodaios/ui/web/dist/assets/granola-CIlE1D1h.svg b/dodaios/ui/web/dist/assets/granola-CYNYNSF5.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/granola-CIlE1D1h.svg
rename to dodaios/ui/web/dist/assets/granola-CYNYNSF5.svg
diff --git a/dodaios/ui/web/dist/assets/intercom-Dh0L0ym2.svg b/dodaios/ui/web/dist/assets/intercom-DfEJASO4.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/intercom-Dh0L0ym2.svg
rename to dodaios/ui/web/dist/assets/intercom-DfEJASO4.svg
diff --git a/dodaios/ui/web/dist/assets/kubernetes-DGGHM7xL.svg b/dodaios/ui/web/dist/assets/kubernetes-BTaq8_2V.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/kubernetes-DGGHM7xL.svg
rename to dodaios/ui/web/dist/assets/kubernetes-BTaq8_2V.svg
diff --git a/dodaios/ui/web/dist/assets/neon-DXVqyv8y.svg b/dodaios/ui/web/dist/assets/neon-Buxn172S.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/neon-DXVqyv8y.svg
rename to dodaios/ui/web/dist/assets/neon-Buxn172S.svg
diff --git a/dodaios/ui/web/dist/assets/obsidian-BnPNDMFS.svg b/dodaios/ui/web/dist/assets/obsidian-DoGKp-BR.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/obsidian-BnPNDMFS.svg
rename to dodaios/ui/web/dist/assets/obsidian-DoGKp-BR.svg
diff --git a/dodaios/ui/web/dist/assets/onedrive-C_SGaMdu.svg b/dodaios/ui/web/dist/assets/onedrive-C6cVDewa.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/onedrive-C_SGaMdu.svg
rename to dodaios/ui/web/dist/assets/onedrive-C6cVDewa.svg
diff --git a/dodaios/ui/web/dist/assets/outlook-C7JHAwlw.svg b/dodaios/ui/web/dist/assets/outlook-B-qerR2g.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/outlook-C7JHAwlw.svg
rename to dodaios/ui/web/dist/assets/outlook-B-qerR2g.svg
diff --git a/dodaios/ui/web/dist/assets/postgresql-D-vtYnT7.svg b/dodaios/ui/web/dist/assets/postgresql-CrKK9N4f.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/postgresql-D-vtYnT7.svg
rename to dodaios/ui/web/dist/assets/postgresql-CrKK9N4f.svg
diff --git a/dodaios/ui/web/dist/assets/salesforce-B5hPJLMG.svg b/dodaios/ui/web/dist/assets/salesforce-DqKqehgY.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/salesforce-B5hPJLMG.svg
rename to dodaios/ui/web/dist/assets/salesforce-DqKqehgY.svg
diff --git a/dodaios/ui/web/dist/assets/teams-DisLtML7.svg b/dodaios/ui/web/dist/assets/teams-DlMZ5N6j.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/teams-DisLtML7.svg
rename to dodaios/ui/web/dist/assets/teams-DlMZ5N6j.svg
diff --git a/dodaios/ui/web/dist/assets/vscode-zVAWFD4C.svg b/dodaios/ui/web/dist/assets/vscode-BC_h-9TH.svg
similarity index 100%
rename from dodaios/ui/web/dist/assets/vscode-zVAWFD4C.svg
rename to dodaios/ui/web/dist/assets/vscode-BC_h-9TH.svg
diff --git a/dodaios/ui/web/dist/assets/xai-DOoawZUy.js b/dodaios/ui/web/dist/assets/xai-CKxq66Rb.js
similarity index 99%
rename from dodaios/ui/web/dist/assets/xai-DOoawZUy.js
rename to dodaios/ui/web/dist/assets/xai-CKxq66Rb.js
index 91a9c992fc..67e16a1322 100644
--- a/dodaios/ui/web/dist/assets/xai-DOoawZUy.js
+++ b/dodaios/ui/web/dist/assets/xai-CKxq66Rb.js
@@ -1 +1 @@
-const e="/assets/antigravity-8EbLmxw8.svg",a="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.763%2010.036c0%20.296.032.535.088.71.064.176.144.368.256.576.04.063.056.127.056.183%200%20.08-.048.16-.152.24l-.503.335a.383.383%200%200%201-.208.072c-.08%200-.16-.04-.239-.112a2.47%202.47%200%200%201-.287-.375%206.18%206.18%200%200%201-.248-.471c-.622.734-1.405%201.101-2.347%201.101-.67%200-1.205-.191-1.596-.574-.391-.384-.59-.894-.59-1.533%200-.678.239-1.23.726-1.644.487-.415%201.133-.623%201.955-.623.272%200%20.551.024.846.064.296.04.6.104.918.176v-.583c0-.607-.127-1.03-.375-1.277-.255-.248-.686-.367-1.3-.367-.28%200-.568.031-.863.103-.295.072-.583.16-.862.272a2.287%202.287%200%200%201-.28.104.488.488%200%200%201-.127.023c-.112%200-.168-.08-.168-.247v-.391c0-.128.016-.224.056-.28a.597.597%200%200%201%20.224-.167c.279-.144.614-.264%201.005-.36a4.84%204.84%200%200%201%201.246-.151c.95%200%201.644.216%202.091.647.439.43.662%201.085.662%201.963v2.586zm-3.24%201.214c.263%200%20.534-.048.822-.144.287-.096.543-.271.758-.51.128-.152.224-.32.272-.512.047-.191.08-.423.08-.694v-.335a6.66%206.66%200%200%200-.735-.136%206.02%206.02%200%200%200-.75-.048c-.535%200-.926.104-1.19.32-.263.215-.39.518-.39.917%200%20.375.095.655.295.846.191.2.47.296.838.296zm6.41.862c-.144%200-.24-.024-.304-.08-.064-.048-.12-.16-.168-.311L7.586%205.55a1.398%201.398%200%200%201-.072-.32c0-.128.064-.2.191-.2h.783c.151%200%20.255.025.31.08.065.048.113.16.16.312l1.342%205.284%201.245-5.284c.04-.16.088-.264.151-.312a.549.549%200%200%201%20.32-.08h.638c.152%200%20.256.025.32.08.063.048.12.16.151.312l1.261%205.348%201.381-5.348c.048-.16.104-.264.16-.312a.52.52%200%200%201%20.311-.08h.743c.127%200%20.2.065.2.2%200%20.04-.009.08-.017.128a1.137%201.137%200%200%201-.056.2l-1.923%206.17c-.048.16-.104.263-.168.311a.51.51%200%200%201-.303.08h-.687c-.151%200-.255-.024-.32-.08-.063-.056-.119-.16-.15-.32l-1.238-5.148-1.23%205.14c-.04.16-.087.264-.15.32-.065.056-.177.08-.32.08zm10.256.215c-.415%200-.83-.048-1.229-.143-.399-.096-.71-.2-.918-.32-.128-.071-.215-.151-.247-.223a.563.563%200%200%201-.048-.224v-.407c0-.167.064-.247.183-.247.048%200%20.096.008.144.024.048.016.12.048.2.08.271.12.566.215.878.279.319.064.63.096.95.096.502%200%20.894-.088%201.165-.264a.86.86%200%200%200%20.415-.758.777.777%200%200%200-.215-.559c-.144-.151-.416-.287-.807-.415l-1.157-.36c-.583-.183-1.014-.454-1.277-.813a1.902%201.902%200%200%201-.4-1.158c0-.335.073-.63.216-.886.144-.255.335-.479.575-.654.24-.184.51-.32.83-.415.32-.096.655-.136%201.006-.136.175%200%20.359.008.535.032.183.024.35.056.518.088.16.04.312.08.455.127.144.048.256.096.336.144a.69.69%200%200%201%20.24.2.43.43%200%200%201%20.071.263v.375c0%20.168-.064.256-.184.256a.83.83%200%200%201-.303-.096%203.652%203.652%200%200%200-1.532-.311c-.455%200-.815.071-1.062.223-.248.152-.375.383-.375.71%200%20.224.08.416.24.567.159.152.454.304.877.44l1.134.358c.574.184.99.44%201.237.767.247.327.367.702.367%201.117%200%20.343-.072.655-.207.926-.144.272-.336.511-.583.703-.248.2-.543.343-.886.447-.36.111-.734.167-1.142.167zM21.698%2016.207c-2.626%201.94-6.442%202.969-9.722%202.969-4.598%200-8.74-1.7-11.87-4.526-.247-.223-.024-.527.272-.351%203.384%201.963%207.559%203.153%2011.877%203.153%202.914%200%206.114-.607%209.06-1.852.439-.2.814.287.383.607zM22.792%2014.961c-.336-.43-2.22-.207-3.074-.103-.255.032-.295-.192-.063-.36%201.5-1.053%203.967-.75%204.254-.399.287.36-.08%202.826-1.485%204.007-.215.184-.423.088-.327-.151.32-.79%201.03-2.57.695-2.994z'/%3e%3c/svg%3e",c="data:image/svg+xml,%3csvg%20width='416'%20height='426'%20viewBox='0%200%20416%20426'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='415.632'%20height='425.055'%20fill='%23004E23'/%3e%3cpath%20d='M317.301%20182.114V237.681H289.766L286.153%20232.679L277.49%20220.689L271.591%20212.526L261.508%20198.571L264.557%20212.526L268.964%20232.679L270.056%20237.681L273.37%20252.833L277.49%20271.685L277.774%20272.987L282.178%20293.138L286.585%20313.292H224.406L219.999%20293.138L217.769%20282.929L215.595%20272.987L211.189%20252.833L207.877%20237.681L204.565%20252.833L200.158%20272.987L197.864%20283.481L195.754%20293.138L191.347%20313.292H129.048L133.455%20293.138L137.738%20273.533V273.53L138.143%20273.231L138.475%20272.987L158.05%20258.489L165.69%20252.833L177.957%20243.747L186.149%20237.681H98.332V182.114H157.722L158.05%20180.617L159.887%20172.221L164.291%20152.067L168.698%20131.914L173.102%20111.763H242.531L246.935%20131.914L247.858%20136.131L237.676%20143.671L226.336%20152.067L217.769%20158.413L199.123%20172.221L197.864%20173.152L185.764%20182.114H317.301Z'%20fill='%23F9F9F8'/%3e%3c/svg%3e",l="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eClaude%3c/title%3e%3cpath%20d='M4.709%2015.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0%2011.784l.055-.352.48-.321.686.06%201.52.103%202.278.158%201.652.097%202.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686%201.908%201.476%202.491%201.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97%202.97%200%2001-.104-.729L6.283.134%206.696%200l.996.134.42.364.62%201.414%201.002%202.229%201.555%203.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286%201.851-.559%202.903-.364%201.942h.212l.243-.242.985-1.306%201.652-2.064.73-.82.85-.904.547-.431h1.033l.76%201.129-.34%201.166-1.064%201.347-.881%201.142-1.264%201.7-.79%201.36.073.11.188-.02%202.856-.606%201.543-.28%201.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061%201.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093%201.068%202.006%201.81%202.509%202.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649%202.345%203.521.122%201.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674%207.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434%201.967-2.18%202.945-1.726%201.845-.414.164-.717-.37.067-.662.401-.589%202.388-3.036%201.44-1.882.93-1.086-.006-.158h-.055L4.132%2018.56l-1.13.146-.487-.456.061-.746.231-.243%201.908-1.312-.006.006z'%20fill='%23D97757'%20fill-rule='nonzero'%3e%3c/path%3e%3c/svg%3e",t="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.336%201.816a6.95%206.95%200%200%200-6.879%205.889%207.88%207.88%200%200%201%202.24-.412A4.855%204.855%200%200%201%2011.33%203.92a4.853%204.853%200%200%201%203.45%201.44%204.793%204.793%200%200%201%201.197%202.01%207.633%207.633%200%200%201%20.875-.067h.33a8.313%208.313%200%200%201%20.976.076%206.95%206.95%200%200%200-6.822-5.564zM6.99%208.224A6.983%206.983%200%200%200%200%2015.2a6.978%206.978%200%200%200%206.977%206.976%206.966%206.966%200%200%200%204.933-2.03%20691.43%20691.43%200%200%200%201.56-1.581l-1.488-1.488-1.55%201.582a4.86%204.86%200%200%201-3.452%201.436A4.881%204.881%200%200%201%202.104%2015.2a4.877%204.877%200%200%201%204.876-4.871%204.855%204.855%200%200%201%202.819.904l.04-.043%201.466-1.465A6.969%206.969%200%200%200%206.99%208.224zm10.04%200a6.966%206.966%200%200%200-4.936%202.047l-1.59%201.574%201.488%201.489%201.58-1.584A4.88%204.88%200%200%201%2021.9%2015.2a4.881%204.881%200%200%201-4.877%204.882%204.858%204.858%200%200%201-2.83-.914l-.045.046s-1.078%201.096-1.437%201.467a6.95%206.95%200%200%200%204.312%201.504A6.983%206.983%200%200%200%2024%2015.205a6.95%206.95%200%200%200-2.04-4.933%206.962%206.962%200%200%200-4.93-2.047z'/%3e%3c/svg%3e",s="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.04%200C5.408-.02.005%205.37.005%2011.992h4.638c0-4.923%204.882-8.731%2010.064-6.855a6.95%206.95%200%20014.147%204.148c1.889%205.177-1.924%2010.055-6.84%2010.064v-4.61H7.391v4.623h4.61V24c7.86%200%2013.967-7.588%2011.397-15.83-1.115-3.59-3.985-6.446-7.575-7.575A12.8%2012.8%200%200012.039%200zM7.39%2019.362H3.828v3.564H7.39zm-3.563%200v-2.978H.85v2.978z'/%3e%3c/svg%3e",o="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eElevenLabs%3c/title%3e%3cpath%20d='M5%200h5v24H5V0zM14%200h5v24h-5V0z'%3e%3c/path%3e%3c/svg%3e",v="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGemini%3c/title%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='%233186FF'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-2-_R_0_)'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-0-_R_0_'%20x1='7'%20x2='11'%20y1='15.5'%20y2='12'%3e%3cstop%20stop-color='%2308B962'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2308B962'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-1-_R_0_'%20x1='8'%20x2='11.5'%20y1='5.5'%20y2='11'%3e%3cstop%20stop-color='%23F94543'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23F94543'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-2-_R_0_'%20x1='3.5'%20x2='17.5'%20y1='13.5'%20y2='12'%3e%3cstop%20stop-color='%23FABC12'%3e%3c/stop%3e%3cstop%20offset='.46'%20stop-color='%23FABC12'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",g="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGoogleCloud%3c/title%3e%3cpath%20d='M15.961%207.327l2.086-2.086.14-.879C14.384.905%208.34%201.297%204.913%205.18A9.643%209.643%200%20002.88%208.991l.747-.105%204.172-.688.322-.33c1.856-2.038%204.994-2.312%207.137-.578l.703.037z'%20fill='%23EA4335'%3e%3c/path%3e%3cpath%20d='M21.02%208.93a9.399%209.399%200%2000-2.834-4.568L15.258%207.29a5.204%205.204%200%20011.91%204.129v.52a2.606%202.606%200%20012.607%202.605c0%201.44-1.167%202.577-2.606%202.577h-5.22l-.512.556v3.126l.513.49h5.219c3.743.03%206.802-2.952%206.83-6.695a6.778%206.778%200%2000-2.98-5.668z'%20fill='%234285F4'%3e%3c/path%3e%3cpath%20d='M6.738%2021.293h5.212v-4.172H6.738c-.371%200-.731-.08-1.069-.234l-.74.227-2.1%202.086-.183.71a6.763%206.763%200%20004.092%201.383z'%20fill='%2334A853'%3e%3c/path%3e%3cpath%20d='M6.738%207.759A6.778%206.778%200%20002.646%2019.91l3.023-3.023a2.606%202.606%200%20113.448-3.448l3.023-3.023a6.771%206.771%200%2000-5.402-2.657z'%20fill='%23FBBC05'%3e%3c/path%3e%3c/svg%3e",i="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGroq%3c/title%3e%3cpath%20d='M12.036%202c-3.853-.035-7%203-7.036%206.781-.035%203.782%203.055%206.872%206.908%206.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362%201.901-4.298%204.308-4.326h.1c2.407%200%204.358%201.915%204.365%204.278v6.305c0%202.342-1.944%204.25-4.323%204.279a4.375%204.375%200%2001-3.033-1.252l-1.851%201.818A7%207%200%200012.029%2022h.092c3.803-.056%206.858-3.083%206.879-6.816v-6.5C18.907%204.963%2015.817%202%2012.036%202z'%3e%3c/path%3e%3c/svg%3e",n="/assets/hermes-CiVWQ9gt.svg",p="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200v24h24V0H0zm4.602%204.025h2.244c.509%200%20.716.215.716.717v5.64h8.883v-5.64c0-.509.215-.717.717-.717h2.229c.5%200%20.71.23.724.717v14.516c0%20.509-.215.717-.717.717h-2.23c-.51%200-.717-.215-.717-.717v-5.735H7.562v5.735c0%20.516-.215.717-.716.717H4.602c-.51%200-.717-.208-.717-.717V4.742c0-.509.207-.717.717-.717z'/%3e%3c/svg%3e",h="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.415%200v7.16l5.785%203.384V2.949L16.415%200ZM1.8%200v11.237h18.815L14.89%208.09l-7.457-.003V3.024L1.8%200Zm14.615%2020.894v-5.019l-7.514-.005c.007.033-5.82-3.197-5.82-3.197l19.119.091V24l-5.785-3.106ZM1.8%2013.551v7.343l5.633%202.949v-6.988L1.8%2013.551Z'/%3e%3c/svg%3e",w="data:image/png;base64,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",A="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.182%2015.499a1.7634%201.7634%200%200%201-.3536-.0358%201.8319%201.8319%200%200%201-1.2086-.8632l-.0066-.012c-.1308-.2616-.0448-.5693.2-.7162a.5236.5236%200%200%201%20.2689-.0743.5327.5327%200%200%201%20.4632.272.558.558%200%200%200%20.018.0299l.0564.0766.0757.0765a.7385.7385%200%200%200%20.3453.167.7596.7596%200%200%200%20.5954-.136.7206.7206%200%200%200%20.299-.5386.7441.7441%200%200%200-.207-.578s-1.5994-1.6612-1.6712-1.7382a1.9604%201.9604%200%200%201-.1929-.229c-.2256-.3198-.2962-.697-.2614-1.0702a1.7361%201.7361%200%200%201%20.2253-.7397s.0732-.124.0948-.1554c.0847-.1236.2515-.2834.3658-.3726a1.8813%201.8813%200%200%201%20.3069-.1844%201.7494%201.7494%200%200%201%202.2815.7041.5186.5186%200%200%201%20.0553.402.5298.5298%200%200%201-.2528.3263.5082.5082%200%200%201-.2593.0705.5283.5283%200%200%201-.46-.2706.6953.6953%200%200%200-.4656-.329.721.721%200%200%200-.5645.1269.688.688%200%200%200-.267.498.6998.6998%200%200%200%20.1905.5398l1.6351%201.6862a1.8284%201.8284%200%200%201%20.5071%201.3931c-.0465.5243-.3071.9994-.7152%201.3053a1.8425%201.8425%200%200%201-1.0984.369m-5.175-.0006a1.7608%201.7608%200%200%200%201.7585-1.7589v-3.4787a1.7587%201.7587%200%200%200-3.5173%200v3.4786a1.7608%201.7608%200%200%200%201.7587%201.7589m0-5.9342c.3777%200%20.6968.319.6968.6967v3.4786a.6977.6977%200%200%201-.6968.6968.6894.6894%200%200%201-.6968-.6968v-3.4786a.6976.6976%200%200%201%20.697-.6967m-7.8986.3224v5.0804a.5309.5309%200%200%200%201.0618%200V12.09Zm2.8802%202.0255V9.0328a.531.531%200%200%201%201.0619%200v5.0828zm1.053%202.9406v.1134a.533.533%200%200%201-1.0067.2408L9.1153%209.154v-.1212a.5261.5261%200%200%201%20.3028-.4772.5253.5253%200%200%201%20.7088.2475Zm-7.9067.6457a1.761%201.761%200%200%200%201.7586-1.7589v-3.4786a1.7587%201.7587%200%200%200-3.5173%200v3.4786a1.7609%201.7609%200%200%200%201.7587%201.7589m0-5.9342a.707.707%200%200%201%20.6968.6967v3.4786a.6968.6968%200%201%201-1.3936%200v-3.4786a.6976.6976%200%200%201%20.6968-.6967M0%2014.9111a.5791.5791%200%201%200%201.1581%200V9.0803a.5791.5791%200%200%200-1.1582%200z'/%3e%3c/svg%3e",_="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.006%2010.684a.15.15%200%200%200-.07-.15l-3.261-1.821a.14.14%200%200%200-.14%200l-2.771%201.69a.17.17%200%200%200-.07.13v1.451l-1.13-.74a.14.14%200%200%200-.15%200l-1.62%201-.071-1.64a.19.19%200%200%200-.07-.12l-1.65-1.09%201.51-.781a.16.16%200%200%200%20.08-.14l-.27-6.272a.16.16%200%200%200-.08-.13L8%200h-.1L2.08%201.81A.16.16%200%200%200%202%202l1.27%206.233a.22.22%200%200%200%200%20.08l1.83%201.38-1.26.6a.16.16%200%200%200-.08.17l1%204.702a.18.18%200%200%200%200%20.07L6%2016.375l-.8.49a.15.15%200%200%200-.06.16l.75%203.642a.11.11%200%200%200%200%20.07l3.002%203.221a.14.14%200%200%200%20.2%200l3.921-3.121a.16.16%200%200%200%20.06-.12l-.07-2.12%201.32%201.1a.14.14%200%200%200%20.18%200l3.142-2.511a.24.24%200%200%200%20.06-.11l.09-1.57%201%20.67a.14.14%200%200%200%20.17%200l2.571-2.001a.14.14%200%200%200%20.05-.1zm-9.623.15l.07%201.57.12%202.781-4.231%202.871-.66-4.532zm-.35-8.423l.25%205.912-5.002%202.59-.9-6.321zM3.54%208.123L2.33%202.26l3.74%202.32.931%206.203-1.58-1.2zM5%2015.055l-.88-4.261%203.281%202.74.6%204.382-1.68-1.62zm1.14%205.512l-.65-3.141%202.892%202.85.47%203.162zm3.002%203l-.49-3.33%204.001-2.871.14%203.28zm3.861-5.36v-1.081a.16.16%200%200%200-.05-.11l-1.13-.92%201-.7a.14.14%200%200%200%20.06-.12v-.261l1.39%201.06v3.211zm4.442-1.201l-2.861%202.28v-3.22l3.07-2.201zm1.29-1.21l-.9-.631.09-1.59a.11.11%200%200%200%200-.06.1.1%200%200%200%200-.05l-1.93-1.27v-1.391l3%201.89zm2.55-1.861l-2.28%201.81.26-3.06%202.431-1.681z'/%3e%3c/svg%3e",d="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eNvidia%3c/title%3e%3cpath%20d='M10.212%208.976V7.62c.127-.01.256-.017.388-.021%203.596-.117%205.957%203.184%205.957%203.184s-2.548%203.647-5.282%203.647a3.227%203.227%200%2001-1.063-.175v-4.109c1.4.174%201.681.812%202.523%202.258l1.873-1.627a4.905%204.905%200%2000-3.67-1.846%206.594%206.594%200%2000-.729.044m0-4.476v2.025c.13-.01.259-.019.388-.024%205.002-.174%208.261%204.226%208.261%204.226s-3.743%204.69-7.643%204.69c-.338%200-.675-.031-1.007-.092v1.25c.278.038.558.057.838.057%203.629%200%206.253-1.91%208.794-4.169.421.347%202.146%201.193%202.501%201.564-2.416%202.083-8.048%203.763-11.24%203.763-.308%200-.603-.02-.894-.048V19.5H24v-15H10.21zm0%209.756v1.068c-3.356-.616-4.287-4.21-4.287-4.21a7.173%207.173%200%20014.287-2.138v1.172h-.005a3.182%203.182%200%2000-2.502%201.178s.615%202.276%202.507%202.931m-5.961-3.3c1.436-1.935%203.604-3.148%205.961-3.336V6.523C5.81%206.887%202%2010.723%202%2010.723s2.158%206.427%208.21%207.015v-1.166C5.77%2016%204.25%2010.958%204.25%2010.958h-.002z'%20fill='%2374B71B'%20fill-rule='nonzero'%3e%3c/path%3e%3c/svg%3e",m="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOllama%3c/title%3e%3cpath%20d='M7.905%201.09c.216.085.411.225.588.41.295.306.544.744.734%201.263.191.522.315%201.1.362%201.68a5.054%205.054%200%20012.049-.636l.051-.004c.87-.07%201.73.087%202.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67%201.67%200%2001.589-.41c.257-.1.53-.118.796-.042.401.114.745.368%201.016.737.248.337.434.769.561%201.287.23.934.27%202.163.115%203.645l.053.04.026.019c.757.576%201.284%201.397%201.563%202.35.435%201.487.216%203.155-.534%204.088l-.018.021.002.003c.417.762.67%201.567.724%202.4l.002.03c.064%201.065-.2%202.137-.814%203.19l-.007.01.01.024c.472%201.157.62%202.322.438%203.486l-.006.039a.651.651%200%2001-.747.536.648.648%200%2001-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643%200%2001.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644%200%2001.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229%204.229%200%2000-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653%200%2001-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288%203.288%200%2000-1.772-.332c-1.245.099-2.343.801-2.67%201.686a.652.652%200%2001-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066%201.588a4.07%204.07%200%2000-.068%201.886c.112.558.331%201.02.582%201.269l.008.007c.212.207.257.53.109.785-.36.622-.629%201.549-.673%202.44-.05%201.018.186%201.902.719%202.536l.016.019a.643.643%200%2001.095.69c-.576%201.236-.753%202.252-.562%203.052a.652.652%200%2001-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339%204.339%200%2001-.598-1.309l-.005-.019a5.764%205.764%200%2001-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352%205.352%200%2001.093-2.49c.262-.915.777-1.701%201.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622%201.015-.737.266-.076.54-.059.797.042zm4.116%209.09c.936%200%201.8.313%202.446.855.63.527%201.005%201.235%201.005%201.94%200%20.888-.406%201.58-1.133%202.022-.62.375-1.451.557-2.403.557-1.009%200-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845%200-.707.398-1.417%201.056-1.946.668-.537%201.55-.849%202.485-.849zm0%20.896a3.07%203.07%200%2000-1.916.65c-.461.37-.722.835-.722%201.25%200%20.428.21.829.61%201.134.455.347%201.124.548%201.943.548.799%200%201.473-.147%201.932-.426.463-.28.7-.686.7-1.257%200-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662%201.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375%200%2001-.376.373.375.375%200%2001-.376-.373v-.46l-.271-.218a.347.347%200%2001-.052-.49.353.353%200%2001.494-.051l.215.172.22-.174a.353.353%200%2001.49.051zm-5.04-1.919c.478%200%20.867.39.867.871a.87.87%200%2001-.868.871.87.87%200%2001-.867-.87.87.87%200%2001.867-.872zm8.706%200c.48%200%20.868.39.868.871a.87.87%200%2001-.868.871.87.87%200%2001-.867-.87.87.87%200%2001.867-.872zM7.44%202.3l-.003.002a.659.659%200%2000-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216%201.631-.124%202.782.43-.128.899-.208%201.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628%200%2000-.107-.09L7.44%202.3zm9.174.04l-.002.001a.628.628%200%2000-.107.09c-.156.163-.32.45-.453.814-.29.794-.387%201.776-.23%202.572l.058.097.008.014h.03a5.184%205.184%200%20011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659%200%2000-.285-.239h-.004z'%3e%3c/path%3e%3c/svg%3e",r="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenAI%3c/title%3e%3cpath%20d='M9.205%208.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357%201.356-.523%202.117-.523%202.854%200%204.662%202.212%204.662%204.566%200%20.167%200%20.357-.024.547l-4.71-2.759a.797.797%200%2000-.856%200l-5.97%203.473zm10.609%208.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473%201.95-1.118a.433.433%200%2001.476%200l4.543%202.617c1.309.76%202.189%202.378%202.189%203.948%200%201.808-1.07%203.473-2.76%204.163zM7.802%2012.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545%201.95-4.472%204.591-4.472%201%200%201.927.333%202.712.928L8.23%205.067c-.285.166-.428.404-.428.737v6.898zM12%2015.128l-2.795-1.57v-3.33L12%208.658l2.795%201.57v3.33L12%2015.128zm1.796%207.23c-1%200-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974%201.142c.167.095.238.238.238.428v5.233c0%202.545-1.974%204.472-4.614%204.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482%204.482%200%20014.21%206.327v5.423c0%20.333.143.571.428.738l5.947%203.449-1.95%201.118a.432.432%200%2001-.476%200zm-.262%203.9c-2.688%200-4.662-2.021-4.662-4.519%200-.19.024-.38.047-.57l4.686%202.71c.286.167.571.167.856%200l5.97-3.448v2.26c0%20.19-.07.333-.237.428l-4.543%202.616c-.619.357-1.356.523-2.117.523zm5.899%202.83a5.947%205.947%200%20005.827-4.756C22.287%2018.339%2024%2015.84%2024%2013.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498%200-3.401-2.759-5.947-5.946-5.947-.642%200-1.26.095-1.88.31A5.962%205.962%200%200010.205%200a5.947%205.947%200%2000-5.827%204.757C1.713%205.447%200%207.945%200%2010.49c0%201.666.713%203.283%201.998%204.448-.119.5-.19%201-.19%201.499%200%203.401%202.759%205.946%205.946%205.946.642%200%201.26-.095%201.88-.309a5.96%205.96%200%20004.162%201.713z'%3e%3c/path%3e%3c/svg%3e",x="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenClaw%3c/title%3e%3cpath%20d='M12%202.568c-6.33%200-9.495%205.275-9.495%209.495%200%204.22%203.165%208.44%206.33%209.494v2.11h2.11v-2.11s1.055.422%202.11%200v2.11h2.11v-2.11c3.165-1.055%206.33-5.274%206.33-9.494S18.33%202.568%2012%202.568z'%20fill='url(%23lobe-icons-open-claw-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M3.56%209.953C.396%208.898-.66%2011.008.396%2013.118c1.055%202.11%203.164%201.055%204.22-1.055.632-1.477%200-2.11-1.056-2.11z'%20fill='url(%23lobe-icons-open-claw-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.44%209.953c3.164-1.055%204.22%201.055%203.164%203.165-1.055%202.11-3.164%201.055-4.22-1.055-.632-1.477%200-2.11%201.056-2.11z'%20fill='url(%23lobe-icons-open-claw-2-_R_0_)'%3e%3c/path%3e%3cpath%20d='M5.507%201.875c.476-.285%201.036-.233%201.615.037.577.27%201.223.774%201.937%201.488a.316.316%200%2001-.447.447c-.693-.693-1.279-1.138-1.757-1.361-.475-.222-.795-.205-1.022-.069a.317.317%200%2001-.326-.542zM16.877%201.913c.58-.27%201.14-.323%201.616-.038a.317.317%200%2001-.326.542c-.227-.136-.547-.153-1.022.069-.478.223-1.064.668-1.756%201.361a.316.316%200%2011-.448-.447c.714-.714%201.36-1.218%201.936-1.487z'%20fill='%23FF4D4D'%3e%3c/path%3e%3cpath%20d='M8.835%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532zM15.165%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532z'%20fill='%23050810'%3e%3c/path%3e%3cpath%20d='M9.046%208.16a.527.527%200%20100-1.056.527.527%200%20000%201.055zM15.376%208.16a.527.527%200%20100-1.055.527.527%200%20000%201.054z'%20fill='%2300E5CC'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-0-_R_0_'%20x1='-.659'%20x2='27.023'%20y1='.458'%20y2='22.855'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-1-_R_0_'%20x1='0'%20x2='4.311'%20y1='9.672'%20y2='14.949'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-2-_R_0_'%20x1='19.385'%20x2='24.399'%20y1='9.953'%20y2='14.462'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",B="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenRouter%3c/title%3e%3cpath%20d='M18.654%203.87a5.087%205.087%200%20110%2010.174L23.7%2019.09c.64.641.187%201.737-.72%201.737H8.48a8.479%208.479%200%20010-16.958h10.175zM8.479%207.26a5.087%205.087%200%20100%2010.176%205.087%205.087%200%20000-10.175z'%3e%3c/path%3e%3c/svg%3e",z="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.412%204.412h-8.82a7.588%207.588%200%200%200-.008%2015.176h8.828a7.588%207.588%200%200%200%200-15.176zm-.193%2012.502H7.786a4.915%204.915%200%200%201%200-9.828h8.433a4.914%204.914%200%201%201%200%209.828z'/%3e%3c/svg%3e",L="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.881%2010.095l2.563-4.45C23.434%207.389%2024%209.404%2024%2011.555c0%202.88-1.017%205.523-2.71%207.594h-6.62l2.04-3.541h-2.696l3.176-5.513h2.691zm-2.32-5.243L9.333%2019.14l.003.009H2.709C1.014%2017.077%200%2014.435%200%2011.555c0-2.152.57-4.17%201.561-5.918L5.855%2013.1%2010.6%204.852h6.961z'/%3e%3c/svg%3e",C="/assets/raspberrypi-CW7KYKqj.svg",b="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.36%202.172A1.194%201.194%200%20007.348%201.6H1.2A1.2%201.2%200%20000%202.8a1.211%201.211%200%2000.182.64l11.6%2018.4a1.206%201.206%200%20002.035%200l3.075-4.874a1.229%201.229%200%2000.182-.64%201.211%201.211%200%2000-.182-.642zm10.349%208.68a1.206%201.206%200%20002.035%200L21.8%209.178l2.017-3.2a1.211%201.211%200%2000.183-.64%201.229%201.229%200%2000-.183-.64l-1.6-2.526a1.206%201.206%200%2000-1.016-.571h-6.148a1.2%201.2%200%2000-1.201%201.2%201.143%201.143%200%2000.188.64z'/%3e%3c/svg%3e",f="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGrok%3c/title%3e%3cpath%20d='M9.27%2015.29l7.978-5.897c.391-.29.95-.177%201.137.272.98%202.369.542%205.215-1.41%207.169-1.951%201.954-4.667%202.382-7.149%201.406l-2.711%201.257c3.889%202.661%208.611%202.003%2011.562-.953%202.341-2.344%203.066-5.539%202.388-8.42l.006.007c-.983-4.232.242-5.924%202.75-9.383.06-.082.12-.164.179-.248l-3.301%203.305v-.01L9.267%2015.292M7.623%2016.723c-2.792-2.67-2.31-6.801.071-9.184%201.761-1.763%204.647-2.483%207.166-1.425l2.705-1.25a7.808%207.808%200%2000-1.829-1A8.975%208.975%200%20005.984%205.83c-2.533%202.536-3.33%206.436-1.962%209.764%201.022%202.487-.653%204.246-2.34%206.022-.599.63-1.199%201.259-1.682%201.925l7.62-6.815'%3e%3c/path%3e%3c/svg%3e";export{f as _,b as a,C as b,L as c,z as d,B as e,x as f,r as g,m as h,d as i,_ as j,A as k,w as l,h as m,p as n,n as o,i as p,g as q,v as r,o as s,s as t,t as u,l as v,c as w,a as x,e as y};
+const e="/assets/antigravity-_lOIeRhP.svg",a="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.763%2010.036c0%20.296.032.535.088.71.064.176.144.368.256.576.04.063.056.127.056.183%200%20.08-.048.16-.152.24l-.503.335a.383.383%200%200%201-.208.072c-.08%200-.16-.04-.239-.112a2.47%202.47%200%200%201-.287-.375%206.18%206.18%200%200%201-.248-.471c-.622.734-1.405%201.101-2.347%201.101-.67%200-1.205-.191-1.596-.574-.391-.384-.59-.894-.59-1.533%200-.678.239-1.23.726-1.644.487-.415%201.133-.623%201.955-.623.272%200%20.551.024.846.064.296.04.6.104.918.176v-.583c0-.607-.127-1.03-.375-1.277-.255-.248-.686-.367-1.3-.367-.28%200-.568.031-.863.103-.295.072-.583.16-.862.272a2.287%202.287%200%200%201-.28.104.488.488%200%200%201-.127.023c-.112%200-.168-.08-.168-.247v-.391c0-.128.016-.224.056-.28a.597.597%200%200%201%20.224-.167c.279-.144.614-.264%201.005-.36a4.84%204.84%200%200%201%201.246-.151c.95%200%201.644.216%202.091.647.439.43.662%201.085.662%201.963v2.586zm-3.24%201.214c.263%200%20.534-.048.822-.144.287-.096.543-.271.758-.51.128-.152.224-.32.272-.512.047-.191.08-.423.08-.694v-.335a6.66%206.66%200%200%200-.735-.136%206.02%206.02%200%200%200-.75-.048c-.535%200-.926.104-1.19.32-.263.215-.39.518-.39.917%200%20.375.095.655.295.846.191.2.47.296.838.296zm6.41.862c-.144%200-.24-.024-.304-.08-.064-.048-.12-.16-.168-.311L7.586%205.55a1.398%201.398%200%200%201-.072-.32c0-.128.064-.2.191-.2h.783c.151%200%20.255.025.31.08.065.048.113.16.16.312l1.342%205.284%201.245-5.284c.04-.16.088-.264.151-.312a.549.549%200%200%201%20.32-.08h.638c.152%200%20.256.025.32.08.063.048.12.16.151.312l1.261%205.348%201.381-5.348c.048-.16.104-.264.16-.312a.52.52%200%200%201%20.311-.08h.743c.127%200%20.2.065.2.2%200%20.04-.009.08-.017.128a1.137%201.137%200%200%201-.056.2l-1.923%206.17c-.048.16-.104.263-.168.311a.51.51%200%200%201-.303.08h-.687c-.151%200-.255-.024-.32-.08-.063-.056-.119-.16-.15-.32l-1.238-5.148-1.23%205.14c-.04.16-.087.264-.15.32-.065.056-.177.08-.32.08zm10.256.215c-.415%200-.83-.048-1.229-.143-.399-.096-.71-.2-.918-.32-.128-.071-.215-.151-.247-.223a.563.563%200%200%201-.048-.224v-.407c0-.167.064-.247.183-.247.048%200%20.096.008.144.024.048.016.12.048.2.08.271.12.566.215.878.279.319.064.63.096.95.096.502%200%20.894-.088%201.165-.264a.86.86%200%200%200%20.415-.758.777.777%200%200%200-.215-.559c-.144-.151-.416-.287-.807-.415l-1.157-.36c-.583-.183-1.014-.454-1.277-.813a1.902%201.902%200%200%201-.4-1.158c0-.335.073-.63.216-.886.144-.255.335-.479.575-.654.24-.184.51-.32.83-.415.32-.096.655-.136%201.006-.136.175%200%20.359.008.535.032.183.024.35.056.518.088.16.04.312.08.455.127.144.048.256.096.336.144a.69.69%200%200%201%20.24.2.43.43%200%200%201%20.071.263v.375c0%20.168-.064.256-.184.256a.83.83%200%200%201-.303-.096%203.652%203.652%200%200%200-1.532-.311c-.455%200-.815.071-1.062.223-.248.152-.375.383-.375.71%200%20.224.08.416.24.567.159.152.454.304.877.44l1.134.358c.574.184.99.44%201.237.767.247.327.367.702.367%201.117%200%20.343-.072.655-.207.926-.144.272-.336.511-.583.703-.248.2-.543.343-.886.447-.36.111-.734.167-1.142.167zM21.698%2016.207c-2.626%201.94-6.442%202.969-9.722%202.969-4.598%200-8.74-1.7-11.87-4.526-.247-.223-.024-.527.272-.351%203.384%201.963%207.559%203.153%2011.877%203.153%202.914%200%206.114-.607%209.06-1.852.439-.2.814.287.383.607zM22.792%2014.961c-.336-.43-2.22-.207-3.074-.103-.255.032-.295-.192-.063-.36%201.5-1.053%203.967-.75%204.254-.399.287.36-.08%202.826-1.485%204.007-.215.184-.423.088-.327-.151.32-.79%201.03-2.57.695-2.994z'/%3e%3c/svg%3e",c="data:image/svg+xml,%3csvg%20width='416'%20height='426'%20viewBox='0%200%20416%20426'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='415.632'%20height='425.055'%20fill='%23004E23'/%3e%3cpath%20d='M317.301%20182.114V237.681H289.766L286.153%20232.679L277.49%20220.689L271.591%20212.526L261.508%20198.571L264.557%20212.526L268.964%20232.679L270.056%20237.681L273.37%20252.833L277.49%20271.685L277.774%20272.987L282.178%20293.138L286.585%20313.292H224.406L219.999%20293.138L217.769%20282.929L215.595%20272.987L211.189%20252.833L207.877%20237.681L204.565%20252.833L200.158%20272.987L197.864%20283.481L195.754%20293.138L191.347%20313.292H129.048L133.455%20293.138L137.738%20273.533V273.53L138.143%20273.231L138.475%20272.987L158.05%20258.489L165.69%20252.833L177.957%20243.747L186.149%20237.681H98.332V182.114H157.722L158.05%20180.617L159.887%20172.221L164.291%20152.067L168.698%20131.914L173.102%20111.763H242.531L246.935%20131.914L247.858%20136.131L237.676%20143.671L226.336%20152.067L217.769%20158.413L199.123%20172.221L197.864%20173.152L185.764%20182.114H317.301Z'%20fill='%23F9F9F8'/%3e%3c/svg%3e",l="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eClaude%3c/title%3e%3cpath%20d='M4.709%2015.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0%2011.784l.055-.352.48-.321.686.06%201.52.103%202.278.158%201.652.097%202.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686%201.908%201.476%202.491%201.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97%202.97%200%2001-.104-.729L6.283.134%206.696%200l.996.134.42.364.62%201.414%201.002%202.229%201.555%203.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286%201.851-.559%202.903-.364%201.942h.212l.243-.242.985-1.306%201.652-2.064.73-.82.85-.904.547-.431h1.033l.76%201.129-.34%201.166-1.064%201.347-.881%201.142-1.264%201.7-.79%201.36.073.11.188-.02%202.856-.606%201.543-.28%201.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061%201.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093%201.068%202.006%201.81%202.509%202.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649%202.345%203.521.122%201.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674%207.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434%201.967-2.18%202.945-1.726%201.845-.414.164-.717-.37.067-.662.401-.589%202.388-3.036%201.44-1.882.93-1.086-.006-.158h-.055L4.132%2018.56l-1.13.146-.487-.456.061-.746.231-.243%201.908-1.312-.006.006z'%20fill='%23D97757'%20fill-rule='nonzero'%3e%3c/path%3e%3c/svg%3e",t="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.336%201.816a6.95%206.95%200%200%200-6.879%205.889%207.88%207.88%200%200%201%202.24-.412A4.855%204.855%200%200%201%2011.33%203.92a4.853%204.853%200%200%201%203.45%201.44%204.793%204.793%200%200%201%201.197%202.01%207.633%207.633%200%200%201%20.875-.067h.33a8.313%208.313%200%200%201%20.976.076%206.95%206.95%200%200%200-6.822-5.564zM6.99%208.224A6.983%206.983%200%200%200%200%2015.2a6.978%206.978%200%200%200%206.977%206.976%206.966%206.966%200%200%200%204.933-2.03%20691.43%20691.43%200%200%200%201.56-1.581l-1.488-1.488-1.55%201.582a4.86%204.86%200%200%201-3.452%201.436A4.881%204.881%200%200%201%202.104%2015.2a4.877%204.877%200%200%201%204.876-4.871%204.855%204.855%200%200%201%202.819.904l.04-.043%201.466-1.465A6.969%206.969%200%200%200%206.99%208.224zm10.04%200a6.966%206.966%200%200%200-4.936%202.047l-1.59%201.574%201.488%201.489%201.58-1.584A4.88%204.88%200%200%201%2021.9%2015.2a4.881%204.881%200%200%201-4.877%204.882%204.858%204.858%200%200%201-2.83-.914l-.045.046s-1.078%201.096-1.437%201.467a6.95%206.95%200%200%200%204.312%201.504A6.983%206.983%200%200%200%2024%2015.205a6.95%206.95%200%200%200-2.04-4.933%206.962%206.962%200%200%200-4.93-2.047z'/%3e%3c/svg%3e",s="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.04%200C5.408-.02.005%205.37.005%2011.992h4.638c0-4.923%204.882-8.731%2010.064-6.855a6.95%206.95%200%20014.147%204.148c1.889%205.177-1.924%2010.055-6.84%2010.064v-4.61H7.391v4.623h4.61V24c7.86%200%2013.967-7.588%2011.397-15.83-1.115-3.59-3.985-6.446-7.575-7.575A12.8%2012.8%200%200012.039%200zM7.39%2019.362H3.828v3.564H7.39zm-3.563%200v-2.978H.85v2.978z'/%3e%3c/svg%3e",o="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eElevenLabs%3c/title%3e%3cpath%20d='M5%200h5v24H5V0zM14%200h5v24h-5V0z'%3e%3c/path%3e%3c/svg%3e",v="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGemini%3c/title%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='%233186FF'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.616%2010.835a14.147%2014.147%200%2001-4.45-3.001%2014.111%2014.111%200%2001-3.678-6.452.503.503%200%2000-.975%200%2014.134%2014.134%200%2001-3.679%206.452%2014.155%2014.155%200%2001-4.45%203.001c-.65.28-1.318.505-2.002.678a.502.502%200%20000%20.975c.684.172%201.35.397%202.002.677a14.147%2014.147%200%20014.45%203.001%2014.112%2014.112%200%20013.679%206.453.502.502%200%2000.975%200c.172-.685.397-1.351.677-2.003a14.145%2014.145%200%20013.001-4.45%2014.113%2014.113%200%20016.453-3.678.503.503%200%20000-.975%2013.245%2013.245%200%2001-2.003-.678z'%20fill='url(%23lobe-icons-gemini-2-_R_0_)'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-0-_R_0_'%20x1='7'%20x2='11'%20y1='15.5'%20y2='12'%3e%3cstop%20stop-color='%2308B962'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%2308B962'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-1-_R_0_'%20x1='8'%20x2='11.5'%20y1='5.5'%20y2='11'%3e%3cstop%20stop-color='%23F94543'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23F94543'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-gemini-2-_R_0_'%20x1='3.5'%20x2='17.5'%20y1='13.5'%20y2='12'%3e%3cstop%20stop-color='%23FABC12'%3e%3c/stop%3e%3cstop%20offset='.46'%20stop-color='%23FABC12'%20stop-opacity='0'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",g="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGoogleCloud%3c/title%3e%3cpath%20d='M15.961%207.327l2.086-2.086.14-.879C14.384.905%208.34%201.297%204.913%205.18A9.643%209.643%200%20002.88%208.991l.747-.105%204.172-.688.322-.33c1.856-2.038%204.994-2.312%207.137-.578l.703.037z'%20fill='%23EA4335'%3e%3c/path%3e%3cpath%20d='M21.02%208.93a9.399%209.399%200%2000-2.834-4.568L15.258%207.29a5.204%205.204%200%20011.91%204.129v.52a2.606%202.606%200%20012.607%202.605c0%201.44-1.167%202.577-2.606%202.577h-5.22l-.512.556v3.126l.513.49h5.219c3.743.03%206.802-2.952%206.83-6.695a6.778%206.778%200%2000-2.98-5.668z'%20fill='%234285F4'%3e%3c/path%3e%3cpath%20d='M6.738%2021.293h5.212v-4.172H6.738c-.371%200-.731-.08-1.069-.234l-.74.227-2.1%202.086-.183.71a6.763%206.763%200%20004.092%201.383z'%20fill='%2334A853'%3e%3c/path%3e%3cpath%20d='M6.738%207.759A6.778%206.778%200%20002.646%2019.91l3.023-3.023a2.606%202.606%200%20113.448-3.448l3.023-3.023a6.771%206.771%200%2000-5.402-2.657z'%20fill='%23FBBC05'%3e%3c/path%3e%3c/svg%3e",i="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGroq%3c/title%3e%3cpath%20d='M12.036%202c-3.853-.035-7%203-7.036%206.781-.035%203.782%203.055%206.872%206.908%206.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362%201.901-4.298%204.308-4.326h.1c2.407%200%204.358%201.915%204.365%204.278v6.305c0%202.342-1.944%204.25-4.323%204.279a4.375%204.375%200%2001-3.033-1.252l-1.851%201.818A7%207%200%200012.029%2022h.092c3.803-.056%206.858-3.083%206.879-6.816v-6.5C18.907%204.963%2015.817%202%2012.036%202z'%3e%3c/path%3e%3c/svg%3e",n="/assets/hermes-CiVWQ9gt.svg",p="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200v24h24V0H0zm4.602%204.025h2.244c.509%200%20.716.215.716.717v5.64h8.883v-5.64c0-.509.215-.717.717-.717h2.229c.5%200%20.71.23.724.717v14.516c0%20.509-.215.717-.717.717h-2.23c-.51%200-.717-.215-.717-.717v-5.735H7.562v5.735c0%20.516-.215.717-.716.717H4.602c-.51%200-.717-.208-.717-.717V4.742c0-.509.207-.717.717-.717z'/%3e%3c/svg%3e",h="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.415%200v7.16l5.785%203.384V2.949L16.415%200ZM1.8%200v11.237h18.815L14.89%208.09l-7.457-.003V3.024L1.8%200Zm14.615%2020.894v-5.019l-7.514-.005c.007.033-5.82-3.197-5.82-3.197l19.119.091V24l-5.785-3.106ZM1.8%2013.551v7.343l5.633%202.949v-6.988L1.8%2013.551Z'/%3e%3c/svg%3e",w="data:image/png;base64,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",A="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.182%2015.499a1.7634%201.7634%200%200%201-.3536-.0358%201.8319%201.8319%200%200%201-1.2086-.8632l-.0066-.012c-.1308-.2616-.0448-.5693.2-.7162a.5236.5236%200%200%201%20.2689-.0743.5327.5327%200%200%201%20.4632.272.558.558%200%200%200%20.018.0299l.0564.0766.0757.0765a.7385.7385%200%200%200%20.3453.167.7596.7596%200%200%200%20.5954-.136.7206.7206%200%200%200%20.299-.5386.7441.7441%200%200%200-.207-.578s-1.5994-1.6612-1.6712-1.7382a1.9604%201.9604%200%200%201-.1929-.229c-.2256-.3198-.2962-.697-.2614-1.0702a1.7361%201.7361%200%200%201%20.2253-.7397s.0732-.124.0948-.1554c.0847-.1236.2515-.2834.3658-.3726a1.8813%201.8813%200%200%201%20.3069-.1844%201.7494%201.7494%200%200%201%202.2815.7041.5186.5186%200%200%201%20.0553.402.5298.5298%200%200%201-.2528.3263.5082.5082%200%200%201-.2593.0705.5283.5283%200%200%201-.46-.2706.6953.6953%200%200%200-.4656-.329.721.721%200%200%200-.5645.1269.688.688%200%200%200-.267.498.6998.6998%200%200%200%20.1905.5398l1.6351%201.6862a1.8284%201.8284%200%200%201%20.5071%201.3931c-.0465.5243-.3071.9994-.7152%201.3053a1.8425%201.8425%200%200%201-1.0984.369m-5.175-.0006a1.7608%201.7608%200%200%200%201.7585-1.7589v-3.4787a1.7587%201.7587%200%200%200-3.5173%200v3.4786a1.7608%201.7608%200%200%200%201.7587%201.7589m0-5.9342c.3777%200%20.6968.319.6968.6967v3.4786a.6977.6977%200%200%201-.6968.6968.6894.6894%200%200%201-.6968-.6968v-3.4786a.6976.6976%200%200%201%20.697-.6967m-7.8986.3224v5.0804a.5309.5309%200%200%200%201.0618%200V12.09Zm2.8802%202.0255V9.0328a.531.531%200%200%201%201.0619%200v5.0828zm1.053%202.9406v.1134a.533.533%200%200%201-1.0067.2408L9.1153%209.154v-.1212a.5261.5261%200%200%201%20.3028-.4772.5253.5253%200%200%201%20.7088.2475Zm-7.9067.6457a1.761%201.761%200%200%200%201.7586-1.7589v-3.4786a1.7587%201.7587%200%200%200-3.5173%200v3.4786a1.7609%201.7609%200%200%200%201.7587%201.7589m0-5.9342a.707.707%200%200%201%20.6968.6967v3.4786a.6968.6968%200%201%201-1.3936%200v-3.4786a.6976.6976%200%200%201%20.6968-.6967M0%2014.9111a.5791.5791%200%201%200%201.1581%200V9.0803a.5791.5791%200%200%200-1.1582%200z'/%3e%3c/svg%3e",_="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.006%2010.684a.15.15%200%200%200-.07-.15l-3.261-1.821a.14.14%200%200%200-.14%200l-2.771%201.69a.17.17%200%200%200-.07.13v1.451l-1.13-.74a.14.14%200%200%200-.15%200l-1.62%201-.071-1.64a.19.19%200%200%200-.07-.12l-1.65-1.09%201.51-.781a.16.16%200%200%200%20.08-.14l-.27-6.272a.16.16%200%200%200-.08-.13L8%200h-.1L2.08%201.81A.16.16%200%200%200%202%202l1.27%206.233a.22.22%200%200%200%200%20.08l1.83%201.38-1.26.6a.16.16%200%200%200-.08.17l1%204.702a.18.18%200%200%200%200%20.07L6%2016.375l-.8.49a.15.15%200%200%200-.06.16l.75%203.642a.11.11%200%200%200%200%20.07l3.002%203.221a.14.14%200%200%200%20.2%200l3.921-3.121a.16.16%200%200%200%20.06-.12l-.07-2.12%201.32%201.1a.14.14%200%200%200%20.18%200l3.142-2.511a.24.24%200%200%200%20.06-.11l.09-1.57%201%20.67a.14.14%200%200%200%20.17%200l2.571-2.001a.14.14%200%200%200%20.05-.1zm-9.623.15l.07%201.57.12%202.781-4.231%202.871-.66-4.532zm-.35-8.423l.25%205.912-5.002%202.59-.9-6.321zM3.54%208.123L2.33%202.26l3.74%202.32.931%206.203-1.58-1.2zM5%2015.055l-.88-4.261%203.281%202.74.6%204.382-1.68-1.62zm1.14%205.512l-.65-3.141%202.892%202.85.47%203.162zm3.002%203l-.49-3.33%204.001-2.871.14%203.28zm3.861-5.36v-1.081a.16.16%200%200%200-.05-.11l-1.13-.92%201-.7a.14.14%200%200%200%20.06-.12v-.261l1.39%201.06v3.211zm4.442-1.201l-2.861%202.28v-3.22l3.07-2.201zm1.29-1.21l-.9-.631.09-1.59a.11.11%200%200%200%200-.06.1.1%200%200%200%200-.05l-1.93-1.27v-1.391l3%201.89zm2.55-1.861l-2.28%201.81.26-3.06%202.431-1.681z'/%3e%3c/svg%3e",d="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eNvidia%3c/title%3e%3cpath%20d='M10.212%208.976V7.62c.127-.01.256-.017.388-.021%203.596-.117%205.957%203.184%205.957%203.184s-2.548%203.647-5.282%203.647a3.227%203.227%200%2001-1.063-.175v-4.109c1.4.174%201.681.812%202.523%202.258l1.873-1.627a4.905%204.905%200%2000-3.67-1.846%206.594%206.594%200%2000-.729.044m0-4.476v2.025c.13-.01.259-.019.388-.024%205.002-.174%208.261%204.226%208.261%204.226s-3.743%204.69-7.643%204.69c-.338%200-.675-.031-1.007-.092v1.25c.278.038.558.057.838.057%203.629%200%206.253-1.91%208.794-4.169.421.347%202.146%201.193%202.501%201.564-2.416%202.083-8.048%203.763-11.24%203.763-.308%200-.603-.02-.894-.048V19.5H24v-15H10.21zm0%209.756v1.068c-3.356-.616-4.287-4.21-4.287-4.21a7.173%207.173%200%20014.287-2.138v1.172h-.005a3.182%203.182%200%2000-2.502%201.178s.615%202.276%202.507%202.931m-5.961-3.3c1.436-1.935%203.604-3.148%205.961-3.336V6.523C5.81%206.887%202%2010.723%202%2010.723s2.158%206.427%208.21%207.015v-1.166C5.77%2016%204.25%2010.958%204.25%2010.958h-.002z'%20fill='%2374B71B'%20fill-rule='nonzero'%3e%3c/path%3e%3c/svg%3e",m="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOllama%3c/title%3e%3cpath%20d='M7.905%201.09c.216.085.411.225.588.41.295.306.544.744.734%201.263.191.522.315%201.1.362%201.68a5.054%205.054%200%20012.049-.636l.051-.004c.87-.07%201.73.087%202.48.474.101.053.2.11.297.17.05-.569.172-1.134.36-1.644.19-.52.439-.957.733-1.264a1.67%201.67%200%2001.589-.41c.257-.1.53-.118.796-.042.401.114.745.368%201.016.737.248.337.434.769.561%201.287.23.934.27%202.163.115%203.645l.053.04.026.019c.757.576%201.284%201.397%201.563%202.35.435%201.487.216%203.155-.534%204.088l-.018.021.002.003c.417.762.67%201.567.724%202.4l.002.03c.064%201.065-.2%202.137-.814%203.19l-.007.01.01.024c.472%201.157.62%202.322.438%203.486l-.006.039a.651.651%200%2001-.747.536.648.648%200%2001-.54-.742c.167-1.033.01-2.069-.48-3.123a.643.643%200%2001.04-.617l.004-.006c.604-.924.854-1.83.8-2.72-.046-.779-.325-1.544-.8-2.273a.644.644%200%2001.18-.886l.009-.006c.243-.159.467-.565.58-1.12a4.229%204.229%200%2000-.095-1.974c-.205-.7-.58-1.284-1.105-1.683-.595-.454-1.383-.673-2.38-.61a.653.653%200%2001-.632-.371c-.314-.665-.772-1.141-1.343-1.436a3.288%203.288%200%2000-1.772-.332c-1.245.099-2.343.801-2.67%201.686a.652.652%200%2001-.61.425c-1.067.002-1.893.252-2.497.703-.522.39-.878.935-1.066%201.588a4.07%204.07%200%2000-.068%201.886c.112.558.331%201.02.582%201.269l.008.007c.212.207.257.53.109.785-.36.622-.629%201.549-.673%202.44-.05%201.018.186%201.902.719%202.536l.016.019a.643.643%200%2001.095.69c-.576%201.236-.753%202.252-.562%203.052a.652.652%200%2001-1.269.298c-.243-1.018-.078-2.184.473-3.498l.014-.035-.008-.012a4.339%204.339%200%2001-.598-1.309l-.005-.019a5.764%205.764%200%2001-.177-1.785c.044-.91.278-1.842.622-2.59l.012-.026-.002-.002c-.293-.418-.51-.953-.63-1.545l-.005-.024a5.352%205.352%200%2001.093-2.49c.262-.915.777-1.701%201.536-2.269.06-.045.123-.09.186-.132-.159-1.493-.119-2.73.112-3.67.127-.518.314-.95.562-1.287.27-.368.614-.622%201.015-.737.266-.076.54-.059.797.042zm4.116%209.09c.936%200%201.8.313%202.446.855.63.527%201.005%201.235%201.005%201.94%200%20.888-.406%201.58-1.133%202.022-.62.375-1.451.557-2.403.557-1.009%200-1.871-.259-2.493-.734-.617-.47-.963-1.13-.963-1.845%200-.707.398-1.417%201.056-1.946.668-.537%201.55-.849%202.485-.849zm0%20.896a3.07%203.07%200%2000-1.916.65c-.461.37-.722.835-.722%201.25%200%20.428.21.829.61%201.134.455.347%201.124.548%201.943.548.799%200%201.473-.147%201.932-.426.463-.28.7-.686.7-1.257%200-.423-.246-.89-.683-1.256-.484-.405-1.14-.643-1.864-.643zm.662%201.21l.004.004c.12.151.095.37-.056.49l-.292.23v.446a.375.375%200%2001-.376.373.375.375%200%2001-.376-.373v-.46l-.271-.218a.347.347%200%2001-.052-.49.353.353%200%2001.494-.051l.215.172.22-.174a.353.353%200%2001.49.051zm-5.04-1.919c.478%200%20.867.39.867.871a.87.87%200%2001-.868.871.87.87%200%2001-.867-.87.87.87%200%2001.867-.872zm8.706%200c.48%200%20.868.39.868.871a.87.87%200%2001-.868.871.87.87%200%2001-.867-.87.87.87%200%2001.867-.872zM7.44%202.3l-.003.002a.659.659%200%2000-.285.238l-.005.006c-.138.189-.258.467-.348.832-.17.692-.216%201.631-.124%202.782.43-.128.899-.208%201.404-.237l.01-.001.019-.034c.046-.082.095-.161.148-.239.123-.771.022-1.692-.253-2.444-.134-.364-.297-.65-.453-.813a.628.628%200%2000-.107-.09L7.44%202.3zm9.174.04l-.002.001a.628.628%200%2000-.107.09c-.156.163-.32.45-.453.814-.29.794-.387%201.776-.23%202.572l.058.097.008.014h.03a5.184%205.184%200%20011.466.212c.086-1.124.038-2.043-.128-2.722-.09-.365-.21-.643-.349-.832l-.004-.006a.659.659%200%2000-.285-.239h-.004z'%3e%3c/path%3e%3c/svg%3e",r="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenAI%3c/title%3e%3cpath%20d='M9.205%208.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357%201.356-.523%202.117-.523%202.854%200%204.662%202.212%204.662%204.566%200%20.167%200%20.357-.024.547l-4.71-2.759a.797.797%200%2000-.856%200l-5.97%203.473zm10.609%208.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473%201.95-1.118a.433.433%200%2001.476%200l4.543%202.617c1.309.76%202.189%202.378%202.189%203.948%200%201.808-1.07%203.473-2.76%204.163zM7.802%2012.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545%201.95-4.472%204.591-4.472%201%200%201.927.333%202.712.928L8.23%205.067c-.285.166-.428.404-.428.737v6.898zM12%2015.128l-2.795-1.57v-3.33L12%208.658l2.795%201.57v3.33L12%2015.128zm1.796%207.23c-1%200-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974%201.142c.167.095.238.238.238.428v5.233c0%202.545-1.974%204.472-4.614%204.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482%204.482%200%20014.21%206.327v5.423c0%20.333.143.571.428.738l5.947%203.449-1.95%201.118a.432.432%200%2001-.476%200zm-.262%203.9c-2.688%200-4.662-2.021-4.662-4.519%200-.19.024-.38.047-.57l4.686%202.71c.286.167.571.167.856%200l5.97-3.448v2.26c0%20.19-.07.333-.237.428l-4.543%202.616c-.619.357-1.356.523-2.117.523zm5.899%202.83a5.947%205.947%200%20005.827-4.756C22.287%2018.339%2024%2015.84%2024%2013.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498%200-3.401-2.759-5.947-5.946-5.947-.642%200-1.26.095-1.88.31A5.962%205.962%200%200010.205%200a5.947%205.947%200%2000-5.827%204.757C1.713%205.447%200%207.945%200%2010.49c0%201.666.713%203.283%201.998%204.448-.119.5-.19%201-.19%201.499%200%203.401%202.759%205.946%205.946%205.946.642%200%201.26-.095%201.88-.309a5.96%205.96%200%20004.162%201.713z'%3e%3c/path%3e%3c/svg%3e",B="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenClaw%3c/title%3e%3cpath%20d='M12%202.568c-6.33%200-9.495%205.275-9.495%209.495%200%204.22%203.165%208.44%206.33%209.494v2.11h2.11v-2.11s1.055.422%202.11%200v2.11h2.11v-2.11c3.165-1.055%206.33-5.274%206.33-9.494S18.33%202.568%2012%202.568z'%20fill='url(%23lobe-icons-open-claw-0-_R_0_)'%3e%3c/path%3e%3cpath%20d='M3.56%209.953C.396%208.898-.66%2011.008.396%2013.118c1.055%202.11%203.164%201.055%204.22-1.055.632-1.477%200-2.11-1.056-2.11z'%20fill='url(%23lobe-icons-open-claw-1-_R_0_)'%3e%3c/path%3e%3cpath%20d='M20.44%209.953c3.164-1.055%204.22%201.055%203.164%203.165-1.055%202.11-3.164%201.055-4.22-1.055-.632-1.477%200-2.11%201.056-2.11z'%20fill='url(%23lobe-icons-open-claw-2-_R_0_)'%3e%3c/path%3e%3cpath%20d='M5.507%201.875c.476-.285%201.036-.233%201.615.037.577.27%201.223.774%201.937%201.488a.316.316%200%2001-.447.447c-.693-.693-1.279-1.138-1.757-1.361-.475-.222-.795-.205-1.022-.069a.317.317%200%2001-.326-.542zM16.877%201.913c.58-.27%201.14-.323%201.616-.038a.317.317%200%2001-.326.542c-.227-.136-.547-.153-1.022.069-.478.223-1.064.668-1.756%201.361a.316.316%200%2011-.448-.447c.714-.714%201.36-1.218%201.936-1.487z'%20fill='%23FF4D4D'%3e%3c/path%3e%3cpath%20d='M8.835%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532zM15.165%209.109a1.266%201.266%200%20100-2.532%201.266%201.266%200%20000%202.532z'%20fill='%23050810'%3e%3c/path%3e%3cpath%20d='M9.046%208.16a.527.527%200%20100-1.056.527.527%200%20000%201.055zM15.376%208.16a.527.527%200%20100-1.055.527.527%200%20000%201.054z'%20fill='%2300E5CC'%3e%3c/path%3e%3cdefs%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-0-_R_0_'%20x1='-.659'%20x2='27.023'%20y1='.458'%20y2='22.855'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-1-_R_0_'%20x1='0'%20x2='4.311'%20y1='9.672'%20y2='14.949'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3clinearGradient%20gradientUnits='userSpaceOnUse'%20id='lobe-icons-open-claw-2-_R_0_'%20x1='19.385'%20x2='24.399'%20y1='9.953'%20y2='14.462'%3e%3cstop%20stop-color='%23FF4D4D'%3e%3c/stop%3e%3cstop%20offset='1'%20stop-color='%23991B1B'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",x="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eOpenRouter%3c/title%3e%3cpath%20d='M18.654%203.87a5.087%205.087%200%20110%2010.174L23.7%2019.09c.64.641.187%201.737-.72%201.737H8.48a8.479%208.479%200%20010-16.958h10.175zM8.479%207.26a5.087%205.087%200%20100%2010.176%205.087%205.087%200%20000-10.175z'%3e%3c/path%3e%3c/svg%3e",z="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.412%204.412h-8.82a7.588%207.588%200%200%200-.008%2015.176h8.828a7.588%207.588%200%200%200%200-15.176zm-.193%2012.502H7.786a4.915%204.915%200%200%201%200-9.828h8.433a4.914%204.914%200%201%201%200%209.828z'/%3e%3c/svg%3e",L="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.881%2010.095l2.563-4.45C23.434%207.389%2024%209.404%2024%2011.555c0%202.88-1.017%205.523-2.71%207.594h-6.62l2.04-3.541h-2.696l3.176-5.513h2.691zm-2.32-5.243L9.333%2019.14l.003.009H2.709C1.014%2017.077%200%2014.435%200%2011.555c0-2.152.57-4.17%201.561-5.918L5.855%2013.1%2010.6%204.852h6.961z'/%3e%3c/svg%3e",C="/assets/raspberrypi-CW7KYKqj.svg",b="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.36%202.172A1.194%201.194%200%20007.348%201.6H1.2A1.2%201.2%200%20000%202.8a1.211%201.211%200%2000.182.64l11.6%2018.4a1.206%201.206%200%20002.035%200l3.075-4.874a1.229%201.229%200%2000.182-.64%201.211%201.211%200%2000-.182-.642zm10.349%208.68a1.206%201.206%200%20002.035%200L21.8%209.178l2.017-3.2a1.211%201.211%200%2000.183-.64%201.229%201.229%200%2000-.183-.64l-1.6-2.526a1.206%201.206%200%2000-1.016-.571h-6.148a1.2%201.2%200%2000-1.201%201.2%201.143%201.143%200%2000.188.64z'/%3e%3c/svg%3e",f="data:image/svg+xml,%3csvg%20fill='currentColor'%20fill-rule='evenodd'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3ctitle%3eGrok%3c/title%3e%3cpath%20d='M9.27%2015.29l7.978-5.897c.391-.29.95-.177%201.137.272.98%202.369.542%205.215-1.41%207.169-1.951%201.954-4.667%202.382-7.149%201.406l-2.711%201.257c3.889%202.661%208.611%202.003%2011.562-.953%202.341-2.344%203.066-5.539%202.388-8.42l.006.007c-.983-4.232.242-5.924%202.75-9.383.06-.082.12-.164.179-.248l-3.301%203.305v-.01L9.267%2015.292M7.623%2016.723c-2.792-2.67-2.31-6.801.071-9.184%201.761-1.763%204.647-2.483%207.166-1.425l2.705-1.25a7.808%207.808%200%2000-1.829-1A8.975%208.975%200%20005.984%205.83c-2.533%202.536-3.33%206.436-1.962%209.764%201.022%202.487-.653%204.246-2.34%206.022-.599.63-1.199%201.259-1.682%201.925l7.62-6.815'%3e%3c/path%3e%3c/svg%3e";export{f as _,b as a,C as b,L as c,z as d,x as e,B as f,r as g,m as h,d as i,_ as j,A as k,w as l,h as m,p as n,n as o,i as p,g as q,v as r,o as s,s as t,t as u,l as v,c as w,a as x,e as y};
diff --git a/dodaios/ui/web/frontend/src/components/agentic/SessionGitHubBadge.tsx b/dodaios/ui/web/frontend/src/components/agentic/SessionGitHubBadge.tsx
index a1b82fec03..0a7845c602 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/SessionGitHubBadge.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/SessionGitHubBadge.tsx
@@ -1,7 +1,7 @@
import { useEffect, useId, useRef, useState, type CSSProperties } from "react";
import { createPortal } from "react-dom";
import { fill, useT } from "@/i18n";
-import { openExternalUrl } from "@/lib/openExternal";
+import { openLinkInIdeBrowser } from "@/components/agentic/sidePanel/browser/ideBrowserLinks";
import { GitHubIcon, type GitHubIconName } from "./GitHubIcon";
import { PANE_BRAND, PANE_CHROME, themeFor, type TerminalAppearance } from "./terminalThemes";
import { FRESH_MS, useSessionGitHubPane, type SessionGitHubStatus } from "./useSessionGitHub";
@@ -171,8 +171,8 @@ function BranchList({ rows, appearance, pending }: {
event.preventDefault();
event.stopPropagation();
setPosition(null);
- // WebView2 drops target=_blank: use the desktop's real-browser bridge.
- void openExternalUrl(url);
+ // WebView2 drops target=_blank: open it in the IDE's Browser tab.
+ void openLinkInIdeBrowser(url);
}}>{line}</a>;
})}
</div>, document.body);
@@ -236,8 +236,8 @@ export function GitHubStatusBadge({ status, appearance, pending = false }: {
onClick={(event) => {
event.preventDefault();
event.stopPropagation();
- // WebView2 drops target=_blank: use the desktop's real-browser bridge.
- void openExternalUrl(url);
+ // WebView2 drops target=_blank: open it in the IDE's Browser tab.
+ void openLinkInIdeBrowser(url);
}}>
<Glyph icon={shown.icon} pending={pending} appearance={appearance} />
</a>;
diff --git a/dodaios/ui/web/frontend/src/components/agentic/git/GitPanelDialog.tsx b/dodaios/ui/web/frontend/src/components/agentic/git/GitPanelDialog.tsx
index 4f497d2c5c..d30d221a21 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/git/GitPanelDialog.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/git/GitPanelDialog.tsx
@@ -5,7 +5,7 @@ import {
Loader2, RefreshCw, Sparkles, Trash2, Upload, X,
} from "lucide-react";
import { cn } from "@/lib/utils";
-import { openExternalUrl } from "@/lib/openExternal";
+import { openLinkInIdeBrowser } from "@/components/agentic/sidePanel/browser/ideBrowserLinks";
import {
GitApiError, commitAll, fetchRemotes, folderName, inspectGit, mergeBack, openPullRequest, prepareGit,
pruneWorktrees, pushBranch, removeWorktree, type GitRepoInfo, type GitWorktree,
@@ -133,7 +133,7 @@ export function GitPanelDialog({ open, onOpenChange, folder, workspace, onOpenWo
{notice && <div role={notice.tone === "error" ? "alert" : "status"}
className={cn("rounded-lg border px-3 py-2 text-sm", notice.tone === "error" ? "border-destructive/40 bg-destructive/10 text-destructive" : "border-border bg-muted/40")}>
{notice.text}
- {notice.url && <button type="button" aria-label={t("ide_git.open_link")} onClick={() => void openExternalUrl(notice.url!)} className="ml-2 inline-flex items-center gap-1 font-medium underline underline-offset-2">{t("ide_git.open")} <ExternalLink className="h-3 w-3" /></button>}
+ {notice.url && <button type="button" aria-label={t("ide_git.open_link")} onClick={() => void openLinkInIdeBrowser(notice.url!)} className="ml-2 inline-flex items-center gap-1 font-medium underline underline-offset-2">{t("ide_git.open")} <ExternalLink className="h-3 w-3" /></button>}
</div>}
{!info ? <p className="flex items-center gap-2 text-sm text-muted-foreground"><Loader2 className="h-4 w-4 animate-spin" />{t("ide_git.reading_repo")}</p>
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/BrowserTab.tsx b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/BrowserTab.tsx
index f76f83adbe..52c587a275 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/BrowserTab.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/BrowserTab.tsx
@@ -1,32 +1,14 @@
-import { useRef, useState, type FormEvent } from "react";
+import { useEffect, useRef, useState, type FormEvent } from "react";
import { AppWindow, ExternalLink, Globe, RotateCw } from "lucide-react";
import { useT } from "@/i18n";
import { hasEmbeddedDesktopBridge } from "@/lib/embeddedDesktop";
import { openExternalUrl } from "@/lib/openExternal";
import { normalizeBrowserAddress } from "./browserAddress";
+import { persistBuiltin, storedBuiltin, useIdeBrowserLinkStore } from "./ideBrowserLinks";
import { NativeBrowserPanel } from "./NativeBrowserPanel";
import { useNativeBrowserStatus } from "./nativeBrowserApi";
const URL_KEY = "jarvis.agenticIde.browserUrl.v1";
-const BUILTIN_KEY = "jarvis.agenticIde.browserBuiltin.v1";
-
-function storedBuiltin(): boolean {
- try {
- return localStorage.getItem(BUILTIN_KEY) === "1";
- } catch {
- return false;
- }
-}
-
-function persistBuiltin(value: boolean): void {
- try {
- if (value) localStorage.setItem(BUILTIN_KEY, "1");
- else localStorage.removeItem(BUILTIN_KEY);
- } catch {
- /* a convenience only */
- }
-}
-
function storedUrl(): string {
try {
return localStorage.getItem(URL_KEY) ?? "";
@@ -95,6 +77,15 @@ function FrameBrowser({ onUseNative }: { onUseNative?: () => void }) {
// Bumped by reload: a new key remounts the frame, which works cross-origin.
const [generation, setGeneration] = useState(0);
const input = useRef<HTMLInputElement>(null);
+ // A link clicked elsewhere in the IDE: most sites refuse to be framed, so
+ // the built-in view hands it to the user's browser.
+ const pending = useIdeBrowserLinkStore((state) => state.pending);
+ const take = useIdeBrowserLinkStore((state) => state.take);
+ useEffect(() => {
+ if (!pending) return;
+ take(pending.id);
+ void openExternalUrl(pending.url);
+ }, [pending, take]);
const go = (event: FormEvent) => {
event.preventDefault();
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/NativeBrowserPanel.test.tsx b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/NativeBrowserPanel.test.tsx
index 1b85aeec6e..6db8afde40 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/NativeBrowserPanel.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/NativeBrowserPanel.test.tsx
@@ -2,7 +2,9 @@ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { cleanup, render, screen, waitFor } from "@testing-library/react";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
+import { useIdeSidePanelStore } from "@/store/ideSidePanel";
import { BrowserTab } from "./BrowserTab";
+import { openLinkInIdeBrowser, useIdeBrowserLinkStore } from "./ideBrowserLinks";
import { initialChoice, type NativeBrowser } from "./nativeBrowserApi";
import { boxesOverlap, measurePanel, overlayCovers } from "./useNativePlacement";
@@ -117,3 +119,71 @@ describe("BrowserTab on the desktop app", () => {
expect(screen.queryByTestId("ide-browser-use-native")).toBeNull();
});
});
+
+describe("links clicked in the IDE", () => {
+ const host = window as unknown as { __JARVIS_EMBEDDED_DESKTOP?: boolean };
+ const realRect = HTMLElement.prototype.getBoundingClientRect;
+
+ beforeEach(() => {
+ localStorage.clear();
+ useIdeBrowserLinkStore.setState({ pending: null });
+ host.__JARVIS_EMBEDDED_DESKTOP = true;
+ // The panel counts as on screen only with a real size.
+ HTMLElement.prototype.getBoundingClientRect = () => rect(0, 0, 400, 300);
+ });
+
+ afterEach(() => {
+ cleanup();
+ delete host.__JARVIS_EMBEDDED_DESKTOP;
+ HTMLElement.prototype.getBoundingClientRect = realRect;
+ vi.unstubAllGlobals();
+ });
+
+ function renderTab(status: Record<string, unknown>) {
+ const fetchMock = vi.fn(async (url: string, _init?: RequestInit) => ({
+ ok: true,
+ json: async () => (url.endsWith("/status") ? status : { ...status, ok: true }),
+ }));
+ vi.stubGlobal("fetch", fetchMock);
+ const client = new QueryClient({ defaultOptions: { queries: { retry: false } } });
+ render(<QueryClientProvider client={client}><BrowserTab /></QueryClientProvider>);
+ return fetchMock;
+ }
+
+ function bodies(fetchMock: ReturnType<typeof renderTab>, path: string) {
+ return fetchMock.mock.calls.filter(([url]) => url.endsWith(path)).map(([, init]) => JSON.parse(String(init?.body)));
+ }
+
+ it("bring the Browser tab forward on the desktop app", async () => {
+ vi.stubGlobal("fetch", vi.fn());
+ await openLinkInIdeBrowser("https://github.com/o/r/tree/main");
+ expect(useIdeSidePanelStore.getState()).toMatchObject({ open: true, active: "browser" });
+ expect(useIdeBrowserLinkStore.getState().pending?.url).toBe("https://github.com/o/r/tree/main");
+ expect(fetch).not.toHaveBeenCalled();
+ });
+
+ it("go to the user's browser outside the desktop app", async () => {
+ delete host.__JARVIS_EMBEDDED_DESKTOP;
+ const fetchMock = vi.fn(async () => ({ ok: true, json: async () => ({ opened: true }) }));
+ vi.stubGlobal("fetch", fetchMock);
+ expect(await openLinkInIdeBrowser("https://github.com/o/r")).toBe(true);
+ expect(fetchMock).toHaveBeenCalledWith("/api/settings/open-external", expect.anything());
+ expect(useIdeBrowserLinkStore.getState().pending).toBeNull();
+ });
+
+ it("open as a new tab in the shown window", async () => {
+ useIdeBrowserLinkStore.getState().request("https://github.com/o/r/tree/feature");
+ const fetchMock = renderTab({ available: true, reason: "", state: "embedded", browser: "chrome", profile: "Profile 3", browsers: BROWSERS });
+ await waitFor(() => expect(bodies(fetchMock, "/open")).toEqual([{ url: "https://github.com/o/r/tree/feature" }]));
+ expect(bodies(fetchMock, "/launch")).toEqual([]);
+ expect(useIdeBrowserLinkStore.getState().pending).toBeNull();
+ });
+
+ it("open a new panel window on the address when there is none", async () => {
+ useIdeBrowserLinkStore.getState().request("https://github.com/o/r/pulls");
+ const fetchMock = renderTab({ available: true, reason: "", state: "closed", browser: "chrome", profile: "Profile 3", browsers: BROWSERS });
+ await waitFor(() => expect(bodies(fetchMock, "/launch")).toHaveLength(1));
+ expect(bodies(fetchMock, "/launch")[0]).toMatchObject({ browser: "chrome", profile: "Profile 3", url: "https://github.com/o/r/pulls" });
+ expect(bodies(fetchMock, "/open")).toEqual([]);
+ });
+});
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/NativeBrowserPanel.tsx b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/NativeBrowserPanel.tsx
index 68df659882..a5b9a132b7 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/NativeBrowserPanel.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/NativeBrowserPanel.tsx
@@ -4,17 +4,24 @@ import { Loader2 } from "lucide-react";
import { BrandedSelect } from "@/components/ui/select";
import { fill, useT } from "@/i18n";
+import { openExternalUrl } from "@/lib/openExternal";
import {
NATIVE_BROWSER_STATUS_QUERY,
initialChoice,
launchNativeBrowser,
+ openNativeBrowserTab,
rememberChoice,
type NativeBrowserChoice,
type NativeBrowserStatus,
} from "./nativeBrowserApi";
+import { useIdeBrowserLinkStore } from "./ideBrowserLinks";
import { useNativePlacement } from "./useNativePlacement";
+/** The window may not be shown yet right after the tab came forward: ask again. */
+const OPEN_TRIES = 8;
+const OPEN_RETRY_MS = 150;
+
const LINK_BTN =
"rounded-md border border-border px-3 py-1.5 text-xs text-foreground transition-colors hover:bg-secondary " +
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
@@ -68,10 +75,10 @@ export function NativeBrowserPanel({
description: status.browsers.length > 1 ? browser.label : undefined,
}))), [status.browsers]);
- const launch = useCallback(async (next: NativeBrowserChoice) => {
+ const launch = useCallback(async (next: NativeBrowserChoice, url: string | null = startUrl) => {
setLaunching(true);
setFailure(null);
- const result = await launchNativeBrowser(next, startUrl);
+ const result = await launchNativeBrowser(next, url);
// A newer pick replaced this one; its own answer decides what shows.
if (result.reason === "superseded") return;
setLaunching(false);
@@ -80,10 +87,43 @@ export function NativeBrowserPanel({
old ? { ...old, ...result, browsers: old.browsers } : old);
}, [queryClient, startUrl]);
+ // A link clicked elsewhere in the IDE: a new tab in the shown window, or a
+ // new window on that address when there is none.
+ const pending = useIdeBrowserLinkStore((store) => store.pending);
+ const take = useIdeBrowserLinkStore((store) => store.take);
+ const embedded = status.state === "embedded";
+ const mounted = useRef(true);
+ useEffect(() => () => { mounted.current = false; }, []);
+ useEffect(() => {
+ if (!pending || !visible || !choice || launching) return;
+ take(pending.id);
+ autoStarted.current = true;
+ const { url } = pending;
+ if (!embedded) {
+ void launch(choice, url);
+ return;
+ }
+ void (async () => {
+ for (let attempt = 0; attempt < OPEN_TRIES && mounted.current; attempt += 1) {
+ const result = await openNativeBrowserTab(url);
+ if (result.ok || !mounted.current) return;
+ if (result.reason === "not_embedded") {
+ void launch(choice, url);
+ return;
+ }
+ if (result.reason !== "not_shown") break;
+ await new Promise((resolve) => window.setTimeout(resolve, OPEN_RETRY_MS));
+ }
+ // The panel's window is on screen by now: the user's browser shows it there or nearby.
+ if (mounted.current) void openExternalUrl(url);
+ })();
+ }, [pending, visible, choice, launching, embedded, take, launch]);
+
// Open the window the first time the panel is on screen. A window the user
// closed or popped out stays that way until they ask for it again.
useEffect(() => {
if (!visible || !choice || autoStarted.current) return;
+ if (useIdeBrowserLinkStore.getState().pending) return; // the link opens the window
autoStarted.current = true;
const alreadyThere = status.state === "embedded"
&& status.browser === choice.browser && status.profile === choice.profile;
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/ideBrowserLinks.ts b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/ideBrowserLinks.ts
new file mode 100644
index 0000000000..d5f22f9696
--- /dev/null
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/ideBrowserLinks.ts
@@ -0,0 +1,83 @@
+/**
+ * Links clicked inside the Agentic IDE open in its own Browser tab.
+ *
+ * On the Windows desktop app the Browser tab shows a real window of the
+ * user's Chrome. Handing a link to the system default browser there sent it
+ * to that same Chrome, which opened it in its last active window: often the
+ * panel's window while it was hidden behind another tab, so the click only
+ * made the screen flicker. Inside the IDE a link therefore brings the
+ * Browser tab forward and opens there as a new tab. Everywhere else (a
+ * browser tab, the built-in page view) it still goes to the user's browser.
+ */
+import { create } from "zustand";
+
+import { hasEmbeddedDesktopBridge } from "@/lib/embeddedDesktop";
+import { openExternalUrl } from "@/lib/openExternal";
+import { useIdeSidePanelStore } from "@/store/ideSidePanel";
+
+const BUILTIN_KEY = "jarvis.agenticIde.browserBuiltin.v1";
+
+/** Whether the reader picked the built-in page view over their own browser. */
+export function storedBuiltin(): boolean {
+ try {
+ return localStorage.getItem(BUILTIN_KEY) === "1";
+ } catch {
+ return false;
+ }
+}
+
+export function persistBuiltin(value: boolean): void {
+ try {
+ if (value) localStorage.setItem(BUILTIN_KEY, "1");
+ else localStorage.removeItem(BUILTIN_KEY);
+ } catch {
+ /* a convenience only */
+ }
+}
+
+export interface IdeBrowserLink {
+ id: number;
+ url: string;
+}
+
+interface IdeBrowserLinkState {
+ /** The newest link waiting for the Browser tab; a newer click replaces it. */
+ pending: IdeBrowserLink | null;
+ request: (url: string) => void;
+ /** The Browser tab took the link with this id. */
+ take: (id: number) => void;
+}
+
+let nextId = 1;
+
+export const useIdeBrowserLinkStore = create<IdeBrowserLinkState>((set, get) => ({
+ pending: null,
+ request: (url) => set({ pending: { id: nextId++, url } }),
+ take: (id) => {
+ if (get().pending?.id === id) set({ pending: null });
+ },
+}));
+
+function isWebAddress(url: string): boolean {
+ try {
+ const parsed = new URL(url);
+ return (parsed.protocol === "http:" || parsed.protocol === "https:") && !!parsed.host;
+ } catch {
+ return false;
+ }
+}
+
+/**
+ * Open `url` from a surface of the IDE. Resolves true when it was handed on.
+ * On the desktop app with the reader's own browser in the panel, the Browser
+ * tab comes forward and opens the address; otherwise the user's browser does.
+ */
+export async function openLinkInIdeBrowser(url: string): Promise<boolean> {
+ if (!url) return false;
+ if (!hasEmbeddedDesktopBridge() || storedBuiltin() || !isWebAddress(url)) {
+ return openExternalUrl(url);
+ }
+ useIdeBrowserLinkStore.getState().request(url);
+ useIdeSidePanelStore.getState().openTab("browser");
+ return true;
+}
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/nativeBrowserApi.ts b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/nativeBrowserApi.ts
index f59ba7fc40..3bbdcc3f89 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/nativeBrowserApi.ts
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/browser/nativeBrowserApi.ts
@@ -97,6 +97,11 @@ export function placeNativeBrowser(placement: PanelPlacement) {
return call("place", { ...placement, view: currentWindowView() });
}
+/** Open `url` as a new tab in the shown panel window. */
+export function openNativeBrowserTab(url: string) {
+ return call("open", { url });
+}
+
export function releaseNativeBrowser(close: boolean) {
return call("release", { close });
}
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/BranchDetails.tsx b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/BranchDetails.tsx
index 2c3886d2c8..c3bdaee6b6 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/BranchDetails.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/BranchDetails.tsx
@@ -16,7 +16,7 @@ import {
} from "lucide-react";
import { fill, useT } from "@/i18n";
import { useRunLocale } from "@/components/runs/format";
-import { openExternalUrl } from "@/lib/openExternal";
+import { openLinkInIdeBrowser } from "@/components/agentic/sidePanel/browser/ideBrowserLinks";
import { cn } from "@/lib/utils";
import { QuickTooltip } from "@/components/ui/tooltip";
import { useEventStore } from "@/store/events";
@@ -286,17 +286,17 @@ export function BranchDetails({
{canOpen && (
<DetailButton icon={FolderOpen} label={t("ide_side_panel.git.details.open_folder")} testId="git-open-folder" onClick={() => openLocal("folder")} />
)}
- {url && <DetailButton icon={Globe} label={t("ide_side_panel.git.details.open_github")} testId="git-open-github" onClick={() => void openExternalUrl(url)} />}
+ {url && <DetailButton icon={Globe} label={t("ide_side_panel.git.details.open_github")} testId="git-open-github" onClick={() => void openLinkInIdeBrowser(url)} />}
{pr && (
<DetailButton
icon={PR_ICON[pr.state]}
label={fill(t("ide_side_panel.git.menu.open_pr"), { number: pr.number })}
testId="git-open-pr"
- onClick={() => void openExternalUrl(pr.url)}
+ onClick={() => void openLinkInIdeBrowser(pr.url)}
/>
)}
{row.ci.url && (
- <DetailButton icon={CirclePlay} label={t("ide_side_panel.git.menu.open_ci")} testId="git-open-ci" onClick={() => void openExternalUrl(row.ci.url)} />
+ <DetailButton icon={CirclePlay} label={t("ide_side_panel.git.menu.open_ci")} testId="git-open-ci" onClick={() => void openLinkInIdeBrowser(row.ci.url)} />
)}
{!row.remote_only && !row.current && !isDefault && (
<DetailButton
@@ -356,7 +356,7 @@ export function BranchDetails({
<button
type="button"
data-testid="git-commit-link"
- onClick={() => void openExternalUrl(`${repoUrl}/commit/${encodeURIComponent(commit.sha)}`)}
+ onClick={() => void openLinkInIdeBrowser(`${repoUrl}/commit/${encodeURIComponent(commit.sha)}`)}
className="shrink-0 font-mono text-[10.5px] text-info hover:underline"
>
{commit.sha.slice(0, 7)}
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/BranchMenu.tsx b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/BranchMenu.tsx
index a64a2363e8..9e1cb382b1 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/BranchMenu.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/BranchMenu.tsx
@@ -21,7 +21,7 @@ import {
} from "lucide-react";
import { fill, useT } from "@/i18n";
import { robustCopy } from "@/lib/clipboard";
-import { openExternalUrl } from "@/lib/openExternal";
+import { openLinkInIdeBrowser } from "@/components/agentic/sidePanel/browser/ideBrowserLinks";
import { useEventStore } from "@/store/events";
import { needsPull, needsPush, syncOf } from "./gitInsights";
import type { BranchRow } from "./gitOverviewApi";
@@ -129,7 +129,7 @@ export function BranchMenu({
const open = (url: string) => () => {
onDismiss();
- void openExternalUrl(url);
+ void openLinkInIdeBrowser(url);
};
const copy = (text: string) => () => {
onDismiss();
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/PullRequestList.tsx b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/PullRequestList.tsx
index 65afbc449f..3d052be970 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/PullRequestList.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/PullRequestList.tsx
@@ -1,7 +1,7 @@
import { useState } from "react";
import { fill, useT } from "@/i18n";
import { useRunLocale } from "@/components/runs/format";
-import { openExternalUrl } from "@/lib/openExternal";
+import { openLinkInIdeBrowser } from "@/components/agentic/sidePanel/browser/ideBrowserLinks";
import { cn } from "@/lib/utils";
import { QuickTooltip } from "@/components/ui/tooltip";
import { agoLabel, CiBadge, PR_ICON, PR_TONE, prStateLabel } from "./gitBadges";
@@ -34,7 +34,7 @@ function PullRequestRow({ pr, defaultBranch }: { pr: PullRequest; defaultBranch:
<button
type="button"
data-testid="git-pr-open"
- onClick={() => void openExternalUrl(pr.url)}
+ onClick={() => void openLinkInIdeBrowser(pr.url)}
className="flex min-w-0 flex-1 items-start gap-2 py-1 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring"
>
<QuickTooltip content={prStateLabel(t, pr)} side="bottom" className="mt-0.5 inline-flex shrink-0">
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/RepositoryOverview.tsx b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/RepositoryOverview.tsx
index 63efd5f8f2..fb100b4494 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/RepositoryOverview.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/RepositoryOverview.tsx
@@ -2,7 +2,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { ExternalLink, Loader2, RefreshCw } from "lucide-react";
import { fill, useT } from "@/i18n";
import { useRunLocale } from "@/components/runs/format";
-import { openExternalUrl } from "@/lib/openExternal";
+import { openLinkInIdeBrowser } from "@/components/agentic/sidePanel/browser/ideBrowserLinks";
import { cn } from "@/lib/utils";
import { QuickTooltip } from "@/components/ui/tooltip";
import { useEventStore } from "@/store/events";
@@ -295,7 +295,7 @@ export function RepositoryOverview({ onChanged }: { onChanged?: () => void }) {
if (!data) return;
const fallback = data.branches.find((row) => row.name === data.default_branch);
if (item.kind === "cleanup") return setCleaning(data.branches.filter((row) => canCleanUp(row, data.default_branch)));
- if (item.kind === "default_ci") return void (fallback?.ci.url && openExternalUrl(fallback.ci.url));
+ if (item.kind === "default_ci") return void (fallback?.ci.url && openLinkInIdeBrowser(fallback.ci.url));
if (item.kind === "default_behind") {
return fallback && fallback.behind > 0 ? actions.update(fallback.name) : void actions.fetch();
}
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/gitBadges.tsx b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/gitBadges.tsx
index 140b0461c6..0bb34ef59b 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/gitBadges.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/git/gitBadges.tsx
@@ -1,7 +1,7 @@
import type { ReactNode, SVGProps } from "react";
import { CircleCheck, CircleDashed, CircleX, GitMerge, GitPullRequest, GitPullRequestClosed, GitPullRequestDraft, Loader2 } from "lucide-react";
import { fill, useT } from "@/i18n";
-import { openExternalUrl } from "@/lib/openExternal";
+import { openLinkInIdeBrowser } from "@/components/agentic/sidePanel/browser/ideBrowserLinks";
import { cn } from "@/lib/utils";
import { QuickTooltip } from "@/components/ui/tooltip";
import type { CiState, CiStatus, PullRequest, PullRequestState } from "./gitOverviewApi";
@@ -92,7 +92,7 @@ export function LinkIcon({
aria-label={label}
onClick={(event) => {
event.stopPropagation();
- void openExternalUrl(url);
+ void openLinkInIdeBrowser(url);
}}
className="inline-flex h-6 min-w-6 items-center justify-center gap-0.5 rounded-md px-1 hover:bg-secondary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
diff --git a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/BankedResets.tsx b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/BankedResets.tsx
index cd9edbc1c1..42fd2d2332 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/BankedResets.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/sidePanel/subscriptions/BankedResets.tsx
@@ -4,7 +4,7 @@ import { fill, useT } from "@/i18n";
import { useRunLocale } from "@/components/runs/format";
import type { AccountUsage } from "@/lib/agentAccountsApi";
import { consumeAccountReset, fetchAccountResets, ResetRequestError, type AccountResets, type ResetAttempt, type ResetCredit } from "@/lib/agentResetsApi";
-import { openExternalUrl } from "@/lib/openExternal";
+import { openLinkInIdeBrowser } from "@/components/agentic/sidePanel/browser/ideBrowserLinks";
const BASE = "ide_side_panel.subscriptions.bank";
const BUTTON = "rounded border border-border px-2 py-1 text-[11px] text-foreground hover:bg-secondary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50";
@@ -144,7 +144,7 @@ export function BankedResets({ accountId, accountName, revision, onUsage }: {
{outcome && <p role="status" className="text-foreground">{t(`${BASE}.${outcome}`)}</p>}
{snapshot?.manage_url && <div className="space-y-1">
<button type="button" className={BUTTON} onClick={async () => {
- if (!await openExternalUrl(snapshot.manage_url!)) setError("open_failed");
+ if (!await openLinkInIdeBrowser(snapshot.manage_url!)) setError("open_failed");
}}><ExternalLink className="mr-1 inline h-3 w-3" />{t(`${BASE}.manage`)}</button>
<p className="text-muted-foreground">{fill(t(`${BASE}.browser_account`), { account: accountName })}</p>
</div>}
diff --git a/dodaios/ui/web/ide_browser_routes.py b/dodaios/ui/web/ide_browser_routes.py
index 67529fa882..f7bd9f8b80 100644
--- a/dodaios/ui/web/ide_browser_routes.py
+++ b/dodaios/ui/web/ide_browser_routes.py
@@ -8,6 +8,7 @@ there (see ``dodaios.ui.browser_embed``). The page drives it through these route
POST /api/ide-browser/launch {browser, profile, url?, view?} open + take a window
POST /api/ide-browser/place {owner, visible, rect?, dpr?, view?} follow the panel
POST /api/ide-browser/release {close} close it, or hand it back as a normal window
+ POST /api/ide-browser/open {url} open a link as a new tab in the shown window
Only the Windows desktop shell can do this. Anywhere else (a browser tab, a
headless server, macOS, Linux) ``status`` answers ``available: false`` with a
@@ -53,6 +54,10 @@ class PlaceBody(BaseModel):
view: str | None = Field(default=None, max_length=64)
+class OpenBody(BaseModel):
+ url: str = Field(min_length=1, max_length=4096)
+
+
class ReleaseBody(BaseModel):
close: bool = True
@@ -129,3 +134,14 @@ async def ide_browser_release(body: ReleaseBody) -> dict[str, Any]:
if not embed.supported():
return _unavailable("unsupported_platform")
return await asyncio.to_thread(embed.release, close=body.close, focus=not body.close)
+
+
[email protected]("/open", operation_id="open")
+async def ide_browser_open(body: OpenBody) -> dict[str, Any]:
+ """Open a link from the app as a new tab in the panel's shown browser window."""
+ from dodaios.ui.browser_embed import get_embed
+
+ embed = get_embed()
+ if not embed.supported():
+ return _unavailable("unsupported_platform")
+ return await asyncio.to_thread(embed.open_tab, body.url)
diff --git a/tests/unit/ui/test_ide_browser_routes.py b/tests/unit/ui/test_ide_browser_routes.py
index c31b988ebe..36991b9c5a 100644
--- a/tests/unit/ui/test_ide_browser_routes.py
+++ b/tests/unit/ui/test_ide_browser_routes.py
@@ -33,6 +33,10 @@ class FakeEmbed:
self.calls.append(("place", (owner, host, rect, dpr, visible)))
return {**self.status(), "ok": True}
+ def open_tab(self, url: str) -> dict[str, Any]:
+ self.calls.append(("open_tab", url))
+ return {**self.status(), "ok": True, "state": "embedded"}
+
def release(self, *, close: bool, focus: bool = False) -> dict[str, Any]:
self.calls.append(("release", (close, focus)))
return {**self.status(), "ok": True}
@@ -165,3 +169,29 @@ def test_embed_refuses_to_launch_after_shutdown(monkeypatch: pytest.MonkeyPatch)
embed.shutdown()
assert embed.launch("chrome", "Default", None, 1)["reason"] == "shutting_down"
assert embed._thread is None
+
+
+def test_open_hands_the_link_to_the_embed(monkeypatch: pytest.MonkeyPatch) -> None:
+ embed = FakeEmbed()
+ client = _client(_desktop(), embed, monkeypatch)
+ url = "https://github.com/o/r/tree/main"
+ body = client.post("/api/ide-browser/open", json={"url": url}).json()
+ assert body["ok"] is True
+ assert embed.calls == [("open_tab", url)]
+
+
+def test_open_off_windows(monkeypatch: pytest.MonkeyPatch) -> None:
+ client = _client(_desktop(), FakeEmbed(supported=False), monkeypatch)
+ body = client.post("/api/ide-browser/open", json={"url": "https://example.com"}).json()
+ assert body["ok"] is False
+
+
+def test_embed_open_tab_refuses_without_a_shown_window(monkeypatch: pytest.MonkeyPatch) -> None:
+ embed = browser_embed.ChromeEmbed()
+ monkeypatch.setattr(embed, "supported", lambda: True)
+ started: list[Any] = []
+ monkeypatch.setattr(embed, "_start_browser", lambda *a, **k: started.append(a) or True)
+ assert embed.open_tab("javascript:alert(1)")["reason"] == "bad_url"
+ assert embed.open_tab("https://example.com")["reason"] == "not_embedded"
+ assert embed.status()["state"] == "idle"
+ assert started == []