Skip to content

Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.

Release/1.1.6 (#39)

Salman Qureshi85729e73ece4
diff --git a/README.md b/README.md
index fd11b559..013d852b 100644
--- a/README.md
+++ b/README.md
@@ -39,12 +39,13 @@ npm i -g @cosmicstack/mercury-agent
mercury
```
-First run triggers the setup wizard — enter your name, an API key, and optionally a Telegram bot token. Takes 30 seconds.
+First run triggers the setup wizard (name, provider, optional Telegram). After setup, Mercury opens the Ink TUI startup screen and asks for your permission mode (`Ask Me` or `Allow All`) before chat starts.
To reconfigure later (change keys, name, settings):
```bash
mercury doctor
+mercury doctor --platform
```
## Why Mercury?
@@ -59,6 +60,8 @@ Every AI agent can read files, run commands, and fetch URLs. Most do it silently
- **Always on** — Run as a background daemon on any OS. Auto-restarts on crash. Starts on boot. Cron scheduling, heartbeat monitoring, and proactive notifications.
- **Extensible** — Install community skills with a single command. Schedule skills as recurring tasks. Based on the [Agent Skills](https://agentskills.io) specification.
+Mercury now seeds a default `web-search` skill on first run in `~/.mercury/skills/web-search/SKILL.md`.
+
## Daemon Mode
**One command to make Mercury persistent:**
@@ -115,7 +118,8 @@ In daemon mode, Telegram becomes your primary channel — CLI is log-only since
| `mercury restart` | Restart the background process |
| `mercury stop` | Stop a background process |
| `mercury logs` | View recent daemon logs |
-| `mercury doctor` | Reconfigure (Enter to keep current values) |
+| `mercury doctor` | Reconfigure setup (name, providers, channels, permissions defaults) |
+| `mercury doctor --platform` | Show cross-platform terminal/daemon compatibility diagnostics |
| `mercury setup` | Re-run the setup wizard |
| `mercury status` | Show config and daemon status |
| `mercury help` | Show full manual |
@@ -149,6 +153,11 @@ Type these during a conversation — they don't consume API tokens. Work on both
| `/budget reset` | Reset usage to zero |
| `/budget set <n>` | Change daily token budget |
| `/permissions` | Change permission mode (Ask Me / Allow All) |
+| `/view` | Toggle progress view (balanced/detailed) |
+| `/view balanced` | Set compact progress view |
+| `/view detailed` | Set full progress view |
+| `/code agent <task>` | Delegate a coding task to a sub-agent in background |
+| `/ws exit` | Exit workspace IDE mode back to general chat |
| `/tasks` | List scheduled tasks |
| `/memory` | View and manage second brain memory |
| `/unpair` | Telegram: reset all access |
@@ -170,9 +179,24 @@ Type these during a conversation — they don't consume API tokens. Work on both
| Channel | Features |
|---------|----------|
-| **CLI** | Readline prompt, arrow-key command menus, real-time text streaming with markdown re-rendering, permission mode picker |
+| **CLI** | Ink TUI, startup permission mode picker, interactive permission prompts (arrow keys + Enter; Y/N/A shortcuts), progress views (balanced/detailed), real-time streaming |
| **Telegram** | HTML formatting, editable streaming messages, file uploads, typing indicators, multi-user access with admin/member roles |
+### Workspace/Coding Shortcuts (CLI)
+
+- `Ctrl+P` → switch to Plan mode
+- `Ctrl+X` → switch to Execute mode
+- `Esc` or `Ctrl+Q` → exit workspace to general chat
+- `Ctrl+V` → toggle progress view (`/view` is fallback when terminal intercepts Ctrl+V)
+
+### Spotify UI Notes (CLI)
+
+- Spotify deck supports keyboard shortcuts: `N` next, `P` previous, `+/-` volume, `Z` now playing.
+- Inline album art is optional and safe-gated:
+ - Enable with `MERCURY_SPOTIFY_ART=1`
+ - Currently renders only in local iTerm sessions
+ - Automatically falls back to text-only UI in SSH/mobile/light terminals
+
### Telegram Access
Mercury uses an **organization access model** with admins and members.
diff --git a/README.zh-CN.md b/README.zh-CN.md
index c7f8099a..ba1bd220 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -21,7 +21,7 @@ npm i -g @cosmicstack/mercury-agent
mercury
```
-首次运行会启动配置向导。你需要输入姓名、模型 API Key,并可选择配置 Telegram Bot Token。之后如需重新配置:
+首次运行会启动配置向导(姓名、模型、可选 Telegram)。完成后会进入 Ink TUI 启动画面,并在进入聊天前让你选择权限模式(`Ask Me` / `Allow All`)。之后如需重新配置:
```bash
mercury doctor
@@ -76,7 +76,7 @@ mercury status # 查看运行状态
| `mercury restart` | 重启后台进程 |
| `mercury stop` | 停止后台进程 |
| `mercury logs` | 查看近期日志 |
-| `mercury doctor` | 重新配置,回车保留现有值 |
+| `mercury doctor` | 重新配置 Mercury(姓名、Provider、频道、权限默认项) |
| `mercury setup` | 重新运行配置向导 |
| `mercury status` | 查看配置和守护进程状态 |
| `mercury help` | 查看完整手册 |
@@ -110,6 +110,9 @@ mercury status # 查看运行状态
| `/budget reset` | 将用量重置为零 |
| `/budget set <n>` | 修改每日 Token 预算 |
| `/permissions` | 修改权限模式 |
+| `/view` | 切换进度视图(balanced/detailed) |
+| `/view balanced` | 使用精简进度视图 |
+| `/view detailed` | 使用详细进度视图 |
| `/tasks` | 列出定时任务 |
| `/memory` | 查看和管理 Second Brain 记忆 |
| `/unpair` | Telegram:重置所有访问 |
@@ -131,7 +134,7 @@ mercury status # 查看运行状态
| 渠道 | 能力 |
|------|------|
-| CLI | Readline 提示符、方向键命令菜单、实时文本流、Markdown 重渲染、权限模式选择 |
+| CLI | Ink TUI、启动权限模式选择、交互式权限审批(方向键 + Enter,支持 Y/N/A 快捷键)、balanced/detailed 进度视图、实时文本流 |
| Telegram | HTML 格式化、可编辑流式消息、文件上传、输入状态、多用户访问和管理员/成员角色 |
### Telegram 访问模型
diff --git a/docs/404.html b/docs/404.html
index b2779aa3..535df8bb 100644
--- a/docs/404.html
+++ b/docs/404.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="plugin-native plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Page Not Found | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/404.html /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=og:title content="Page Not Found | Mercury"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/404.html /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/404.html hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/404.html hreflang=x-default /><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="plugin-native plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Page Not Found | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/404.html /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=og:title content="Page Not Found | Mercury"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/404.html /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/404.html hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/404.html hreflang=x-default /><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a class="navbar__item navbar__link" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><main class="container margin-vert--xl"><div class=row><div class="col col--6 col--offset-3"><h1 class=hero__title>Page Not Found</h1><p>We could not find what you were looking for.<p>Please contact the owner of the site that linked you to the original URL and let them know their link is broken.</div></div></main></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a class="navbar__item navbar__link" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><main class="container margin-vert--xl"><div class=row><div class="col col--6 col--offset-3"><h1 class=hero__title>Page Not Found</h1><p>We could not find what you were looking for.<p>Please contact the owner of the site that linked you to the original URL and let them know their link is broken.</div></div></main></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/assets/js/0058b4c6.671f100d.js b/docs/assets/js/0058b4c6.671f100d.js
new file mode 100644
index 00000000..05bfb469
--- /dev/null
+++ b/docs/assets/js/0058b4c6.671f100d.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["266"],{6164(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docsSidebar":[{"type":"link","href":"/docs/","label":"Installation","docId":"getting-started/installation","unlisted":false},{"type":"link","href":"/docs/getting-started/setup","label":"First-Time Setup","docId":"getting-started/setup","unlisted":false},{"type":"link","href":"/docs/getting-started/starting","label":"Starting Mercury","docId":"getting-started/starting","unlisted":false},{"type":"category","label":"CLI Commands","collapsed":false,"items":[{"type":"link","href":"/docs/cli-commands/cli-commands","label":"Full Command Reference","docId":"cli-commands/cli-commands","unlisted":false},{"type":"link","href":"/docs/cli-commands/doctor","label":"Doctor (Reconfigure)","docId":"cli-commands/doctor","unlisted":false},{"type":"link","href":"/docs/cli-commands/in-chat-commands","label":"In-Chat Commands","docId":"cli-commands/in-chat-commands","unlisted":false}],"collapsible":true},{"type":"category","label":"Daemon Mode","collapsed":true,"items":[{"type":"link","href":"/docs/daemon-mode/daemon-mode","label":"Daemon Mode","docId":"daemon-mode/daemon-mode","unlisted":false},{"type":"link","href":"/docs/daemon-mode/system-service","label":"System Service (Auto-Start on Boot)","docId":"daemon-mode/system-service","unlisted":false},{"type":"link","href":"/docs/daemon-mode/platform-guide","label":"Platform-Specific Guide","docId":"daemon-mode/platform-guide","unlisted":false}],"collapsible":true},{"type":"category","label":"Integrations","collapsed":false,"items":[{"type":"link","href":"/docs/integrations/github-companion","label":"GitHub Companion","docId":"integrations/github-companion","unlisted":false},{"type":"link","href":"/docs/integrations/telegram","label":"Telegram","docId":"integrations/telegram","unlisted":false},{"type":"link","href":"/docs/integrations/spotify","label":"Spotify Integration","docId":"integrations/spotify","unlisted":false},{"type":"link","href":"/docs/integrations/coding-workspace","label":"Coding Workspace (IDE Mode)","docId":"integrations/coding-workspace","unlisted":false},{"type":"link","href":"/docs/integrations/sub-agents","label":"Sub-Agents (Multi-Agent Mode)","docId":"integrations/sub-agents","unlisted":false}],"collapsible":true},{"type":"category","label":"Reference","collapsed":true,"items":[{"type":"link","href":"/docs/reference/built-in-tools","label":"Built-in Tools","docId":"reference/built-in-tools","unlisted":false},{"type":"link","href":"/docs/reference/configuration","label":"Configuration","docId":"reference/configuration","unlisted":false},{"type":"link","href":"/docs/reference/permissions","label":"Permissions","docId":"reference/permissions","unlisted":false},{"type":"link","href":"/docs/reference/second-brain","label":"Second Brain","docId":"reference/second-brain","unlisted":false},{"type":"link","href":"/docs/reference/provider-fallback","label":"Provider Fallback","docId":"reference/provider-fallback","unlisted":false},{"type":"link","href":"/docs/reference/scheduling","label":"Scheduling","docId":"reference/scheduling","unlisted":false},{"type":"link","href":"/docs/reference/skills","label":"Skills","docId":"reference/skills","unlisted":false}],"collapsible":true},{"type":"category","label":"Releases","collapsed":true,"items":[{"type":"link","href":"/docs/releases/","label":"Releases","docId":"releases/releases","unlisted":false},{"type":"link","href":"/docs/releases/1.1.6","label":"v1.1.6","docId":"releases/1.1.6","unlisted":false}],"collapsible":true}]},"docs":{"cli-commands/cli-commands":{"id":"cli-commands/cli-commands","title":"Full Command Reference","description":"| Command | Description |","sidebar":"docsSidebar"},"cli-commands/doctor":{"id":"cli-commands/doctor","title":"Doctor (Reconfigure)","description":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","sidebar":"docsSidebar"},"cli-commands/in-chat-commands":{"id":"cli-commands/in-chat-commands","title":"In-Chat Commands","description":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","sidebar":"docsSidebar"},"daemon-mode/daemon-mode":{"id":"daemon-mode/daemon-mode","title":"Daemon Mode","description":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","sidebar":"docsSidebar"},"daemon-mode/platform-guide":{"id":"daemon-mode/platform-guide","title":"Platform-Specific Guide","description":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","sidebar":"docsSidebar"},"daemon-mode/system-service":{"id":"daemon-mode/system-service","title":"System Service (Auto-Start on Boot)","description":"Install Mercury as a system service so it starts automatically on boot and restarts on crash.","sidebar":"docsSidebar"},"getting-started/installation":{"id":"getting-started/installation","title":"Installation","description":"Mercury requires Node.js 20+. Install with npm:","sidebar":"docsSidebar"},"getting-started/setup":{"id":"getting-started/setup","title":"First-Time Setup","description":"Run mercury for the first time. The onboarding wizard asks for:","sidebar":"docsSidebar"},"getting-started/starting":{"id":"getting-started/starting","title":"Starting Mercury","description":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it\'s running.","sidebar":"docsSidebar"},"integrations/coding-workspace":{"id":"integrations/coding-workspace","title":"Coding Workspace (IDE Mode)","description":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","sidebar":"docsSidebar"},"integrations/github-companion":{"id":"integrations/github-companion","title":"GitHub Companion","description":"Mercury can act as your GitHub companion \u2014 creating pull requests, reviewing PRs, managing issues, and making co-authored commits \u2014 all through natural conversation. When configured, five GitHub tools are registered alongside Mercury\'s built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","sidebar":"docsSidebar"},"integrations/spotify":{"id":"integrations/spotify","title":"Spotify Integration","description":"Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \\"play some chill music\\" and Mercury handles the rest.","sidebar":"docsSidebar"},"integrations/sub-agents":{"id":"integrations/sub-agents","title":"Sub-Agents (Multi-Agent Mode)","description":"Mercury isn\'t just a chatbot \u2014 it\'s an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","sidebar":"docsSidebar"},"integrations/telegram":{"id":"integrations/telegram","title":"Telegram","description":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","sidebar":"docsSidebar"},"reference/built-in-tools":{"id":"reference/built-in-tools","title":"Built-in Tools","description":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands \u2014 the agent decides when to call them.","sidebar":"docsSidebar"},"reference/configuration":{"id":"reference/configuration","title":"Configuration","description":"All runtime data lives in ~/.mercury/ \u2014 not in your project directory.","sidebar":"docsSidebar"},"reference/permissions":{"id":"reference/permissions","title":"Permissions","description":"Mercury has a three-tier permission system for shell commands:","sidebar":"docsSidebar"},"reference/provider-fallback":{"id":"reference/provider-fallback","title":"Provider Fallback","description":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","sidebar":"docsSidebar"},"reference/scheduling":{"id":"reference/scheduling","title":"Scheduling","description":"Mercury can schedule tasks using cron expressions or one-shot delays.","sidebar":"docsSidebar"},"reference/second-brain":{"id":"reference/second-brain","title":"Second Brain","description":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you \u2014 your preferences, goals, projects, habits, and more.","sidebar":"docsSidebar"},"reference/skills":{"id":"reference/skills","title":"Skills","description":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","sidebar":"docsSidebar"},"releases/1.1.6":{"id":"releases/1.1.6","title":"v1.1.6","description":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","sidebar":"docsSidebar"},"releases/releases":{"id":"releases/releases","title":"Releases","description":"This section tracks Mercury release notes by version.","sidebar":"docsSidebar"}}}}')}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0058b4c6.93dc7282.js b/docs/assets/js/0058b4c6.93dc7282.js
deleted file mode 100644
index 1ff17842..00000000
--- a/docs/assets/js/0058b4c6.93dc7282.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["266"],{6164(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docsSidebar":[{"type":"link","href":"/docs/","label":"Installation","docId":"getting-started/installation","unlisted":false},{"type":"link","href":"/docs/getting-started/setup","label":"First-Time Setup","docId":"getting-started/setup","unlisted":false},{"type":"link","href":"/docs/getting-started/starting","label":"Starting Mercury","docId":"getting-started/starting","unlisted":false},{"type":"category","label":"CLI Commands","collapsed":false,"items":[{"type":"link","href":"/docs/cli-commands/cli-commands","label":"Full Command Reference","docId":"cli-commands/cli-commands","unlisted":false},{"type":"link","href":"/docs/cli-commands/doctor","label":"Doctor (Reconfigure)","docId":"cli-commands/doctor","unlisted":false},{"type":"link","href":"/docs/cli-commands/in-chat-commands","label":"In-Chat Commands","docId":"cli-commands/in-chat-commands","unlisted":false}],"collapsible":true},{"type":"category","label":"Daemon Mode","collapsed":true,"items":[{"type":"link","href":"/docs/daemon-mode/daemon-mode","label":"Daemon Mode","docId":"daemon-mode/daemon-mode","unlisted":false},{"type":"link","href":"/docs/daemon-mode/system-service","label":"System Service (Auto-Start on Boot)","docId":"daemon-mode/system-service","unlisted":false},{"type":"link","href":"/docs/daemon-mode/platform-guide","label":"Platform-Specific Guide","docId":"daemon-mode/platform-guide","unlisted":false}],"collapsible":true},{"type":"category","label":"Integrations","collapsed":false,"items":[{"type":"link","href":"/docs/integrations/github-companion","label":"GitHub Companion","docId":"integrations/github-companion","unlisted":false},{"type":"link","href":"/docs/integrations/telegram","label":"Telegram","docId":"integrations/telegram","unlisted":false},{"type":"link","href":"/docs/integrations/spotify","label":"Spotify Integration","docId":"integrations/spotify","unlisted":false},{"type":"link","href":"/docs/integrations/sub-agents","label":"Sub-Agents (Multi-Agent Mode)","docId":"integrations/sub-agents","unlisted":false}],"collapsible":true},{"type":"category","label":"Reference","collapsed":true,"items":[{"type":"link","href":"/docs/reference/built-in-tools","label":"Built-in Tools","docId":"reference/built-in-tools","unlisted":false},{"type":"link","href":"/docs/reference/configuration","label":"Configuration","docId":"reference/configuration","unlisted":false},{"type":"link","href":"/docs/reference/permissions","label":"Permissions","docId":"reference/permissions","unlisted":false},{"type":"link","href":"/docs/reference/second-brain","label":"Second Brain","docId":"reference/second-brain","unlisted":false},{"type":"link","href":"/docs/reference/provider-fallback","label":"Provider Fallback","docId":"reference/provider-fallback","unlisted":false},{"type":"link","href":"/docs/reference/scheduling","label":"Scheduling","docId":"reference/scheduling","unlisted":false},{"type":"link","href":"/docs/reference/skills","label":"Skills","docId":"reference/skills","unlisted":false}],"collapsible":true}]},"docs":{"cli-commands/cli-commands":{"id":"cli-commands/cli-commands","title":"Full Command Reference","description":"| Command | Description |","sidebar":"docsSidebar"},"cli-commands/doctor":{"id":"cli-commands/doctor","title":"Doctor (Reconfigure)","description":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","sidebar":"docsSidebar"},"cli-commands/in-chat-commands":{"id":"cli-commands/in-chat-commands","title":"In-Chat Commands","description":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","sidebar":"docsSidebar"},"daemon-mode/daemon-mode":{"id":"daemon-mode/daemon-mode","title":"Daemon Mode","description":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","sidebar":"docsSidebar"},"daemon-mode/platform-guide":{"id":"daemon-mode/platform-guide","title":"Platform-Specific Guide","description":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","sidebar":"docsSidebar"},"daemon-mode/system-service":{"id":"daemon-mode/system-service","title":"System Service (Auto-Start on Boot)","description":"Install Mercury as a system service so it starts automatically on boot and restarts on crash.","sidebar":"docsSidebar"},"getting-started/installation":{"id":"getting-started/installation","title":"Installation","description":"Mercury requires Node.js 20+. Install with npm:","sidebar":"docsSidebar"},"getting-started/setup":{"id":"getting-started/setup","title":"First-Time Setup","description":"Run mercury for the first time. The onboarding wizard asks for:","sidebar":"docsSidebar"},"getting-started/starting":{"id":"getting-started/starting","title":"Starting Mercury","description":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it\'s running.","sidebar":"docsSidebar"},"integrations/github-companion":{"id":"integrations/github-companion","title":"GitHub Companion","description":"Mercury can act as your GitHub companion \u2014 creating pull requests, reviewing PRs, managing issues, and making co-authored commits \u2014 all through natural conversation. When configured, five GitHub tools are registered alongside Mercury\'s built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","sidebar":"docsSidebar"},"integrations/spotify":{"id":"integrations/spotify","title":"Spotify Integration","description":"Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \\"play some chill music\\" and Mercury handles the rest.","sidebar":"docsSidebar"},"integrations/sub-agents":{"id":"integrations/sub-agents","title":"Sub-Agents (Multi-Agent Mode)","description":"Mercury isn\'t just a chatbot \u2014 it\'s an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","sidebar":"docsSidebar"},"integrations/telegram":{"id":"integrations/telegram","title":"Telegram","description":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","sidebar":"docsSidebar"},"reference/built-in-tools":{"id":"reference/built-in-tools","title":"Built-in Tools","description":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands \u2014 the agent decides when to call them.","sidebar":"docsSidebar"},"reference/configuration":{"id":"reference/configuration","title":"Configuration","description":"All runtime data lives in ~/.mercury/ \u2014 not in your project directory.","sidebar":"docsSidebar"},"reference/permissions":{"id":"reference/permissions","title":"Permissions","description":"Mercury has a three-tier permission system for shell commands:","sidebar":"docsSidebar"},"reference/provider-fallback":{"id":"reference/provider-fallback","title":"Provider Fallback","description":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","sidebar":"docsSidebar"},"reference/scheduling":{"id":"reference/scheduling","title":"Scheduling","description":"Mercury can schedule tasks using cron expressions or one-shot delays.","sidebar":"docsSidebar"},"reference/second-brain":{"id":"reference/second-brain","title":"Second Brain","description":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you \u2014 your preferences, goals, projects, habits, and more.","sidebar":"docsSidebar"},"reference/skills":{"id":"reference/skills","title":"Skills","description":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","sidebar":"docsSidebar"}}}}')}}]);
\ No newline at end of file
diff --git a/docs/assets/js/15bc3129.bf770dad.js b/docs/assets/js/15bc3129.bf770dad.js
new file mode 100644
index 00000000..98f6f134
--- /dev/null
+++ b/docs/assets/js/15bc3129.bf770dad.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["724"],{4415(e,n,s){s.r(n),s.d(n,{metadata:()=>i,default:()=>h,frontMatter:()=>l,contentTitle:()=>c,toc:()=>t,assets:()=>o});var i=JSON.parse('{"id":"releases/1.1.6","title":"v1.1.6","description":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","source":"@site/docs/releases/1.1.6.mdx","sourceDirName":"releases","slug":"/releases/1.1.6","permalink":"/docs/releases/1.1.6","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/1.1.6.mdx","tags":[],"version":"current","frontMatter":{"id":"1.1.6","title":"v1.1.6"},"sidebar":"docsSidebar","previous":{"title":"Releases","permalink":"/docs/releases/"}}'),d=s(4848),r=s(8453);let l={id:"1.1.6",title:"v1.1.6"},c,o={},t=[{value:"Highlights",id:"highlights",level:2},{value:"CLI/TUI Improvements",id:"clitui-improvements",level:2},{value:"Workspace + Coding",id:"workspace--coding",level:2},{value:"Background Tasks + Sub-Agents",id:"background-tasks--sub-agents",level:2},{value:"Spotify",id:"spotify",level:2},{value:"Docs",id:"docs",level:2},{value:"Notes",id:"notes",level:2}];function a(e){let n={code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,r.R)(),...e.components};return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(n.p,{children:["Release ",(0,d.jsx)(n.code,{children:"1.1.6"})," focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage."]}),"\n",(0,d.jsx)(n.h2,{id:"highlights",children:"Highlights"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"New Ink-based interactive TUI with improved startup, status, and activity views."}),"\n",(0,d.jsx)(n.li,{children:"Workspace IDE mode with explorer, preview, git panel, coding chat, and keyboard navigation."}),"\n",(0,d.jsxs)(n.li,{children:["Background task system for long-running shell and agent work (",(0,d.jsx)(n.code,{children:"/bg ..."}),") with live status."]}),"\n",(0,d.jsxs)(n.li,{children:["Sub-agent lifecycle integration with background tracking and coding delegation (",(0,d.jsx)(n.code,{children:"/code agent <task>"}),")."]}),"\n",(0,d.jsx)(n.li,{children:"Spotify UX revamp (Spotify Deck), shortcuts, volume up/down, and optional inline album art."}),"\n",(0,d.jsxs)(n.li,{children:["New runtime model switching commands (",(0,d.jsx)(n.code,{children:"/models"}),", ",(0,d.jsx)(n.code,{children:"/models use <provider>"}),")."]}),"\n",(0,d.jsxs)(n.li,{children:["New platform diagnostics command (",(0,d.jsx)(n.code,{children:"mercury doctor --platform"}),")."]}),"\n",(0,d.jsxs)(n.li,{children:["Default seeded ",(0,d.jsx)(n.code,{children:"web-search"})," skill for fresh installs."]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"clitui-improvements",children:"CLI/TUI Improvements"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"Added minimal/detailed activity views and updated controls."}),"\n",(0,d.jsx)(n.li,{children:"Improved streaming responsiveness and markdown rendering stability."}),"\n",(0,d.jsxs)(n.li,{children:["Added coding shortcuts:","\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:[(0,d.jsx)(n.code,{children:"Ctrl+P"})," plan"]}),"\n",(0,d.jsxs)(n.li,{children:[(0,d.jsx)(n.code,{children:"Ctrl+X"})," execute"]}),"\n",(0,d.jsxs)(n.li,{children:[(0,d.jsx)(n.code,{children:"Esc"})," / ",(0,d.jsx)(n.code,{children:"Ctrl+Q"})," exit workspace"]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.li,{children:"Improved startup permission picker behavior and one-step confirm flow."}),"\n",(0,d.jsx)(n.li,{children:"Added raw-mode watchdog to improve terminal input reliability across environments."}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"workspace--coding",children:"Workspace + Coding"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["Introduced ",(0,d.jsx)(n.code,{children:"/ws"})," command family with open/refresh/stage/commit/undo/exit."]}),"\n",(0,d.jsx)(n.li,{children:"Added dedicated coding workspace docs page and updated command references."}),"\n",(0,d.jsx)(n.li,{children:"Added automatic handoff of interrupted long tasks to background workers."}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"background-tasks--sub-agents",children:"Background Tasks + Sub-Agents"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["Added ",(0,d.jsx)(n.code,{children:"BackgroundTaskManager"})," integration into agent lifecycle."]}),"\n",(0,d.jsxs)(n.li,{children:["Added ",(0,d.jsx)(n.code,{children:"/bg current"})," to move active work to background."]}),"\n",(0,d.jsxs)(n.li,{children:["Added ",(0,d.jsx)(n.code,{children:"/bg list"}),", ",(0,d.jsx)(n.code,{children:"/bg <id>"}),", ",(0,d.jsx)(n.code,{children:"/bg cancel <id>"}),", ",(0,d.jsx)(n.code,{children:"/bg clear"})," for operational control."]}),"\n",(0,d.jsx)(n.li,{children:"Added supervisor lifecycle hooks so agent progress/completion is reflected in background board."}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"spotify",children:"Spotify"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"Added Spotify Deck-style panel and clearer action feedback."}),"\n",(0,d.jsxs)(n.li,{children:["Added keyboard shortcuts in player mode (",(0,d.jsx)(n.code,{children:"N"}),", ",(0,d.jsx)(n.code,{children:"P"}),", ",(0,d.jsx)(n.code,{children:"+"}),", ",(0,d.jsx)(n.code,{children:"-"}),", ",(0,d.jsx)(n.code,{children:"Z"}),", ",(0,d.jsx)(n.code,{children:"Esc"}),")."]}),"\n",(0,d.jsx)(n.li,{children:"Added separate volume up/down controls."}),"\n",(0,d.jsxs)(n.li,{children:["Added safe-gated inline album art support (",(0,d.jsx)(n.code,{children:"MERCURY_SPOTIFY_ART=1"}),", iTerm local sessions)."]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"docs",children:"Docs"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsxs)(n.li,{children:["Expanded Docusaurus docs for:","\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"coding workspace mode"}),"\n",(0,d.jsx)(n.li,{children:"sub-agents + background tasks"}),"\n",(0,d.jsx)(n.li,{children:"platform diagnostics"}),"\n",(0,d.jsx)(n.li,{children:"Spotify player shortcuts and album art gating"}),"\n",(0,d.jsxs)(n.li,{children:["default ",(0,d.jsx)(n.code,{children:"web-search"})," skill"]}),"\n",(0,d.jsx)(n.li,{children:"Docker status guidance (no first-party Docker assets shipped in repo)"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,d.jsx)(n.h2,{id:"notes",children:"Notes"}),"\n",(0,d.jsxs)(n.ul,{children:["\n",(0,d.jsx)(n.li,{children:"This release includes broad UX/system changes across TUI, background execution, and docs."}),"\n",(0,d.jsxs)(n.li,{children:["For provider/model management, use ",(0,d.jsx)(n.code,{children:"mercury doctor"})," to configure and ",(0,d.jsx)(n.code,{children:"/models"})," to switch session model."]}),"\n"]})]})}function h(e={}){let{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,d.jsx)(n,{...e,children:(0,d.jsx)(a,{...e})}):a(e)}},8453(e,n,s){s.d(n,{R:()=>l,x:()=>c});var i=s(6540);let d={},r=i.createContext(d);function l(e){let n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(d):e.components||d:l(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1df93b7f.0bffce44.js b/docs/assets/js/1df93b7f.0bffce44.js
new file mode 100644
index 00000000..fe52bf59
--- /dev/null
+++ b/docs/assets/js/1df93b7f.0bffce44.js
@@ -0,0 +1,5 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["452"],{5146(e,t,s){s.r(t),s.d(t,{default:()=>d});var l=s(4848),a=s(6540),i=s(5310),n=s(3572);let r=[{type:"prompt",text:"You: "},{type:"input",text:"install skill from https://example.com/daily-digest.md"},{type:"tool",text:" [Using: install_skill]"},{type:"output",text:' Skill "daily-digest" installed successfully.'},{type:"prompt",text:"You: "},{type:"input",text:"schedule daily-digest every day at 9am"},{type:"tool",text:" [Using: schedule_task]"},{type:"output",text:" Task scheduled: daily-digest (cron: 0 9 * * *)"},{type:"prompt",text:"You: "},{type:"input",text:"fetch latest repos of hotheadhacker"},{type:"tool",text:" [Using: fetch_url]"},{type:"agent",text:"Mercury: "},{type:"stream",text:"Here are the latest repositories by hotheadhacker: **sekond-brain** (updated today), **no-as-a-service** (7.1k stars)..."}],c=[{type:"prompt",text:"You: "},{type:"input",text:"read the package.json and tell me the deps"},{type:"tool",text:" [Using: read_file]"},{type:"prompt",text:"You: "},{type:"input",text:"edit the version to 0.2.0"},{type:"tool",text:" [Using: edit_file]"},{type:"output",text:' Successfully replaced "0.1.0" with "0.2.0" in package.json'},{type:"prompt",text:"You: "},{type:"input",text:"commit that change"},{type:"tool",text:" [Using: git_add, git_commit]"},{type:"output",text:' [git add package.json] [git commit -m "bump version to 0.2.0"]'},{type:"prompt",text:"You: "},{type:"input",text:"send me the package.json file"},{type:"tool",text:" [Using: send_file]"},{type:"output",text:" File sent: package.json (1.2KB)"},{type:"agent",text:"Mercury: "},{type:"stream",text:"Done! I've read the package.json, updated the version, committed the change, and sent you the file. Anything else?"}];function o(e,t,s){let l=0,a=0,i=null;function n(t,l,r){let c=r||s;a>=t.length?l():(i&&(i.textContent+=t[a]),a++,e.scrollTop=e.scrollHeight,setTimeout(()=>n(t,l,r),c))}!function r(){if(l>=t.length)return;let c=t[l];if("prompt"===c.type){let t=document.createElement("span");t.className="lp-prompt",t.textContent=c.text,e.appendChild(t),l++,r();return}if("input"===c.type){(i=document.createElement("span")).style.color="#f0f0f0",e.appendChild(i),a=0,n(c.text,()=>{e.appendChild(document.createElement("br")),l++,r()});return}if("tool"===c.type){let t=document.createElement("span");t.className="lp-tool",t.textContent=c.text,e.appendChild(t),e.appendChild(document.createElement("br")),l++,setTimeout(r,2*s);return}if("output"===c.type){let t=document.createElement("span");t.className="lp-output",t.textContent=c.text,e.appendChild(t),e.appendChild(document.createElement("br")),l++,setTimeout(r,s);return}if("agent"===c.type){let t=document.createElement("span");t.className="lp-agent",t.textContent=c.text,e.appendChild(t),l++,r();return}if("stream"===c.type){(i=document.createElement("span")).style.color="#f0f0f0",e.appendChild(i),a=0,n(c.text,()=>{e.appendChild(document.createElement("br")),l++;let t=document.createElement("span");t.className="lp-cursor",e.appendChild(t)},1.5*s);return}l++,r()}()}function d(){let e=(0,a.useRef)(null),t=(0,a.useRef)(null),[s,d]=a.useState(""),[p,m]=a.useState(!1);return(0,a.useEffect)(()=>{fetch("https://api.github.com/repos/cosmicstack-labs/mercury-agent").then(e=>e.json()).then(e=>{if(null!=e.stargazers_count){let t=e.stargazers_count;d(t>=1e3?`${(t/1e3).toFixed(1).replace(/\.0$/,"")}k`:String(t))}}).catch(()=>{})},[]),(0,a.useEffect)(()=>{let s=e.current,l=t.current,a=s?new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(a.unobserve(e.target),o(s,r,25))})},{threshold:.3}):null,i=l?new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(i.unobserve(e.target),o(l,c,18))})},{threshold:.3}):null;return s&&a&&a.observe(s),l&&i&&i.observe(l),()=>{a&&a.disconnect(),i&&i.disconnect()}},[]),(0,a.useEffect)(()=>{let e=document.querySelectorAll(".lp-reveal"),t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("lp-revealed"),t.unobserve(e.target))})},{threshold:.15});return e.forEach(e=>t.observe(e)),()=>t.disconnect()},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n.A,{children:[(0,l.jsx)("title",{children:"Mercury \u2014 Soul-Driven AI Agent with Permission Guardrails | Cosmic Stack"}),(0,l.jsx)("meta",{name:"description",content:"The AI agent that asks before it acts. Permission guardrails, token efficiency, sub-agent orchestration, Spotify integration, and full control. Runs 24/7 from CLI or Telegram with multi-provider onboarding, skills, and scheduling."}),(0,l.jsx)("meta",{property:"og:title",content:"Mercury \u2014 Soul-Driven AI Agent with Permission Guardrails"}),(0,l.jsx)("meta",{property:"og:description",content:"The AI agent that asks before it acts. Permission guardrails, token efficiency, and full control. Runs 24/7 from CLI or Telegram."}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{property:"og:url",content:"https://mercury.cosmicstack.org"}),(0,l.jsx)("meta",{property:"og:image",content:"https://mercury.cosmicstack.org/img/card.png"}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("meta",{name:"twitter:title",content:"Mercury \u2014 Soul-Driven AI Agent with Permission Guardrails"}),(0,l.jsx)("meta",{name:"twitter:image",content:"https://mercury.cosmicstack.org/img/card.png"})]}),(0,l.jsxs)("div",{className:"lp-page",children:[(0,l.jsx)("nav",{className:"lp-nav",children:(0,l.jsxs)("div",{className:"lp-nav-inner",children:[(0,l.jsx)(i.A,{to:"/",className:"lp-nav-logo",children:"\u263F Mercury"}),(0,l.jsxs)("div",{className:`lp-nav-links ${p?"lp-nav-links-open":""}`,children:[(0,l.jsx)(i.A,{to:"/#features",onClick:()=>m(!1),children:"Features"}),(0,l.jsx)(i.A,{to:"/#how-it-works",onClick:()=>m(!1),children:"Install"}),(0,l.jsx)(i.A,{to:"/#demo",onClick:()=>m(!1),children:"Demo"}),(0,l.jsx)(i.A,{to:"/#capabilities",onClick:()=>m(!1),children:"Capabilities"}),(0,l.jsx)(i.A,{to:"/#github",onClick:()=>m(!1),children:"GitHub"}),(0,l.jsx)(i.A,{to:"/#compare",onClick:()=>m(!1),children:"Compare"}),(0,l.jsx)(i.A,{to:"/docs",onClick:()=>m(!1),children:"Docs"})]}),(0,l.jsxs)("div",{className:"lp-nav-right",children:[(0,l.jsxs)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",className:"lp-github-btn",target:"_blank",rel:"noopener",children:[(0,l.jsx)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",fill:"currentColor",style:{verticalAlign:"-2px"},children:(0,l.jsx)("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})}),(0,l.jsxs)("span",{className:"lp-github-btn-count",children:[s," \u2B50"]})]}),(0,l.jsx)("button",{className:"lp-nav-toggle",onClick:()=>m(!p),"aria-label":"Menu",children:"\u2630"})]})]})}),(0,l.jsxs)("section",{className:"lp-hero",children:[(0,l.jsx)("div",{className:"lp-hero-bg"}),(0,l.jsxs)("div",{className:"lp-container lp-hero-content",children:[(0,l.jsx)("pre",{className:"lp-hero-ascii","aria-hidden":"true",children:` __ _____________ ________ ________ __
+ / |/ / ____/ __ \\/ ____/ / / / __ \\ \\/ /
+ / /|_/ / __/ / /_/ / / / / / / /_/ /\\ /
+ / / / / /___/ _, _/ /___/ /_/ / _, _/ / /
+/_/ /_/_____/_/ |_|\\____/\\____/_/ |_| /_/`}),(0,l.jsx)("p",{className:"lp-hero-tagline",children:"Soul-driven. Token-efficient. Always on."}),(0,l.jsx)("p",{className:"lp-hero-sub",children:"Your personal AI agent with 31 built-in tools, skill system, multi-agent orchestration, Spotify integration, GitHub companion, and hardened permissions. Runs 24/7 from your terminal or Telegram."}),(0,l.jsxs)("div",{className:"lp-hero-actions",children:[(0,l.jsx)(i.A,{href:"#how-it-works",className:"lp-btn lp-btn-primary",children:"Get Started"}),(0,l.jsx)(i.A,{href:"#demo",className:"lp-btn lp-btn-secondary",children:"See it in action"}),(0,l.jsx)(i.A,{to:"/docs",className:"lp-btn lp-btn-secondary",children:"Read Docs"})]}),(0,l.jsx)("div",{className:"lp-hero-install",children:(0,l.jsx)("code",{children:"npm i -g @cosmicstack/mercury-agent && mercury"})}),(0,l.jsxs)("div",{className:"lp-terminal-window lp-hero-terminal",children:[(0,l.jsxs)("div",{className:"lp-terminal-bar",children:[(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-red"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-yellow"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-green"}),(0,l.jsx)("span",{className:"lp-terminal-title",children:"terminal"})]}),(0,l.jsx)("div",{className:"lp-terminal-body",ref:e})]})]})]}),(0,l.jsx)("section",{id:"features",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Built Different"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Not another chatbot. An orchestrator that works for you."}),(0,l.jsx)("div",{className:"lp-features-grid",children:[{icon:"\u263F",title:"Soul-Driven Identity",desc:"Mercury isn't a blank slate. Its personality is defined by markdown soul files \u2014 soul.md, persona.md, taste.md, heartbeat.md \u2014 that you control."},{icon:"\u26A1",title:"Token-Efficient",desc:"Daily token budgets with enforcement. Only soul + persona injected per request (~400 tokens). Progressive skill loading. Auto-concise when budget exceeds 70%."},{icon:"\u267E",title:"Always On",desc:"Background daemon by default. Cron scheduling, delayed tasks, and a heartbeat system. Auto-starts on boot, auto-restarts on crash."},{icon:"\u{1F4E1}",title:"Multi-Channel",desc:"CLI with readline and arrow-key menus. Telegram with typing indicators, HTML formatting, file uploads, and private 1:1 access."},{icon:"\u{1F916}",title:"Sub-Agents",desc:"Spawn parallel AI agents for concurrent tasks. Mercury orchestrates \u2014 research, code, and review run simultaneously. Non-blocking: keep chatting while agents work."},{icon:"\u{1F3B5}",title:"Spotify Integration",desc:"Native Spotify control through conversation. Play music, manage playlists, DJ on your devices. Search, like, queue \u2014 all through natural language."},{icon:"\u{1F9E9}",title:"Skill System",desc:"Install community skills with a single command. Skills auto-load into context, get elevated permissions, and can be scheduled as recurring tasks."},{icon:"\u{1F6E1}",title:"Permission Hardened",desc:"Folder-level read/write scoping. Command blocklist. Pending approval flow. Ask Me or Allow All mode per session."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-feature-card lp-reveal",children:[(0,l.jsx)("div",{className:"lp-feature-icon",children:e.icon}),(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("p",{children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"second-brain",className:"lp-section lp-section-alt",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"\u{1F9E0} Second Brain"}),(0,l.jsxs)("p",{className:"lp-section-sub",children:["Most AI agents forget everything when you close the chat. Mercury ",(0,l.jsx)("em",{children:"remembers"})," \u2014 automatically, privately, and with surgical precision."]}),(0,l.jsx)("div",{className:"lp-brain-grid",children:[{title:"Learns Automatically",desc:"After each conversation, Mercury extracts facts about you \u2014 your preferences, goals, projects, habits, relationships, and decisions."},{title:"Recalls What Matters",desc:"Only memories relevant to the current conversation are injected \u2014 up to 5 facts within a 900-character budget."},{title:"Resolves Conflicts",desc:"When Mercury detects a contradiction, the higher-confidence memory wins. No stale data."},{title:"10 Memory Types",desc:"Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection \u2014 each scored by confidence, importance, and durability."},{title:"Auto-Consolidation",desc:"Every hour Mercury synthesizes a profile summary and generates reflections from patterns it detects."},{title:"You Stay in Control",desc:"/memory gives you overview, search, pause, and clear. All data stays on your machine in SQLite \u2014 nothing leaves."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-brain-card lp-reveal",children:[(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("p",{children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"how-it-works",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Up and Running in 60 Seconds"}),(0,l.jsx)("div",{className:"lp-steps",children:[{num:1,title:"Install",cmd:"npm i -g @cosmicstack/mercury-agent",desc:"Or use npx @cosmicstack/mercury-agent \u2014 no install needed."},{num:2,title:"Setup",cmd:"mercury",desc:"First run triggers the onboarding wizard. Choose providers, validate keys, pick your default model, optionally pair Telegram."},{num:3,title:"Run",cmd:"mercury start",desc:"Mercury wakes up, loads your soul files, restores scheduled tasks, and runs as a background daemon."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-step lp-reveal",children:[(0,l.jsx)("div",{className:"lp-step-number",children:e.num}),(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("div",{className:"lp-terminal-inline",children:(0,l.jsx)("code",{children:e.cmd})}),(0,l.jsx)("p",{children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"demo",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"See It Work"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"A real Mercury session \u2014 tool calls, streaming, files, and scheduling."}),(0,l.jsxs)("div",{className:"lp-terminal-window",style:{maxWidth:760,margin:"0 auto"},children:[(0,l.jsxs)("div",{className:"lp-terminal-bar",children:[(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-red"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-yellow"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-green"}),(0,l.jsx)("span",{className:"lp-terminal-title",children:"mercury"})]}),(0,l.jsx)("div",{className:"lp-terminal-body",ref:t})]})]})}),(0,l.jsx)("section",{id:"capabilities",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"31 Built-In Tools"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Plus extensible skills, scheduling, and memory."}),(0,l.jsx)("div",{className:"lp-caps-grid",children:[{title:"\u{1F4C2} Filesystem",items:["read_file \u2014 Read file contents","write_file \u2014 Write to existing file","create_file \u2014 Create new files (+ dirs)","edit_file \u2014 Search & replace text","list_dir \u2014 List directory contents","delete_file \u2014 Delete a file","send_file \u2014 Send file to user","approve_scope \u2014 Request directory access"]},{title:"\u{1F4AC} Messaging",items:["send_message \u2014 Send a message to approved Telegram recipients"]},{title:"\u{1F41A} Shell",items:["run_command \u2014 Execute shell commands","cd \u2014 Change working directory","approve_command \u2014 Permanently approve a command"]},{title:"\u{1F4E6} Git",items:["git_status \u2014 Working tree status","git_diff \u2014 Show file changes","git_log \u2014 Commit history","git_add \u2014 Stage files","git_commit \u2014 Create commits","git_push \u2014 Push to remote"]},{title:"\u{1F419} GitHub",items:["create_pr \u2014 Create pull requests","review_pr \u2014 Review PRs + post comments","list_issues \u2014 List & filter issues","create_issue \u2014 Create new issues","github_api \u2014 Raw API access","Co-authored-by on every commit"]},{title:"\u{1F3B5} Spotify",items:["spotify_search \u2014 Search tracks, artists, albums, playlists","spotify_play \u2014 Play on your devices","spotify_pause/next/previous \u2014 Playback controls","spotify_now_playing \u2014 What's playing + progress bar","spotify_devices \u2014 List & select devices","spotify_like/top_tracks/playlists \u2014 Library access","spotify_volume/shuffle/repeat/queue \u2014 Full player control"]},{title:"\u{1F916} Sub-Agents",items:["delegate_task \u2014 Spawn parallel AI agents","list_agents \u2014 Monitor running agents","stop_agent \u2014 Halt a specific agent","/agents \u2014 See all agents + status","/halt \u2014 Emergency stop all agents","File locks for concurrent safety","Auto-concurrency from CPU/RAM"]},{title:"\u{1F9E9} Skills",items:["install_skill \u2014 Install from URL or content","list_skills \u2014 Show installed skills","use_skill \u2014 Invoke a skill"]},{title:"\u23F0 Scheduler",items:["schedule_task \u2014 Cron or one-shot tasks","list_scheduled_tasks \u2014 View all tasks","cancel_scheduled_task \u2014 Cancel a task"]},{title:"\u{1F4CA} System",items:["budget_status \u2014 Check token budget"]},{title:"\u{1F9E0} Memory",items:["Short-term \u2014 Recent conversation per channel","Long-term \u2014 Auto-extracted facts with dedup","Episodic \u2014 Timestamped interaction log"]}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-cap-group lp-reveal",children:[(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("ul",{children:e.items.map((e,t)=>(0,l.jsx)("li",{children:e},t))})]},t))})]})}),(0,l.jsx)("section",{id:"compare",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Honest Comparison"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"We built Mercury because nothing else did all of this."}),(0,l.jsx)("div",{className:"lp-compare-table lp-reveal",children:(0,l.jsxs)("table",{children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:"Feature"}),(0,l.jsx)("th",{className:"lp-highlight",children:"Mercury"}),(0,l.jsx)("th",{children:"Open Interpreter"}),(0,l.jsx)("th",{children:"Claude Code"})]})}),(0,l.jsx)("tbody",{children:[["Soul / Persona System","4 markdown files","Custom instructions","CLAUDE.md"],["Token Budget","Daily budget + override","\u2014","\u2014"],["Multi-Channel","CLI + Telegram + more","All","All"],["Sub-Agents","Parallel AI workers, non-blocking","\u2014","\u2014"],["Spotify Integration","Native playback + DJ mode","\u2014","\u2014"],["Skill System","Install, invoke, schedule","\u2014","\u2014"],["Cron + Delayed Scheduling","Persisted, auto-restore","\u2014","\u2014"],["Permission Hardening","Blocklist + scope + approval","Confirmation prompts","Permission prompts"],["GitHub Companion","PRs, issues, co-authored commits","\u2014","\u2014"],["Proactive Notifications","Heartbeat + task alerts","\u2014","\u2014"],["Auto Fact Extraction","With dedup","\u2014","\u2014"],["Provider Fallback","Auto with last-successful","Manual config","Anthropic only"],["File Upload (Telegram)","Auto type detection","\u2014","\u2014"],["Streaming Output","Real-time text stream","Real-time text stream","Real-time text stream"],["Headless / 24-7","Built-in","\u2014","\u2014"],["Language","TypeScript / Node.js","Python","TypeScript / Node.js"],["Open Source","MIT","LGPL-2.1","Source-available"]].map((e,t)=>(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[0]}),(0,l.jsx)("td",{className:"lp-highlight",children:e[1]}),(0,l.jsx)("td",{className:"\u2014"===e[2]?"lp-no":"lp-partial",children:e[2]}),(0,l.jsx)("td",{className:"\u2014"===e[3]?"lp-no":"lp-partial",children:e[3]})]},t))})]})})]})}),(0,l.jsx)("section",{id:"architecture",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Under the Hood"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Minimal runtime, maximum capability."}),(0,l.jsx)("div",{className:"lp-arch-grid",children:[{label:"Core",value:"TypeScript + Node.js 18+",desc:"ESM, tsup build, SQLite-backed second brain"},{label:"AI SDK",value:"Vercel AI SDK v4",desc:"streamText + generateText, 10-step agentic loop"},{label:"Sub-Agents",value:"Same-process async coroutines",desc:"Parallel task delegation, file locks, resource-aware concurrency"},{label:"Spotify",value:"Native Web API integration",desc:"OAuth2 auth, 14 tools, DJ mode skill, Premium + free support"},{label:"Providers",value:"DeepSeek \xb7 OpenAI \xb7 Anthropic \xb7 Grok \xb7 Ollama Cloud \xb7 Ollama Local",desc:"Validated onboarding, model discovery, and fallback with last-successful tracking"},{label:"Memory",value:"JSONL + SQLite",desc:"Short-term, long-term, episodic + second brain"},{label:"Telegram",value:"grammY",desc:"Long polling, pairing codes, CLI-managed access requests, broadcasts, file uploads"},{label:"Runtime Data",value:"~/.mercury/",desc:"Config, soul, memory, permissions, skills, schedules \u2014 all in your home dir"}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-arch-card lp-reveal",children:[(0,l.jsx)("div",{className:"lp-arch-label",children:e.label}),(0,l.jsx)("div",{className:"lp-arch-value",children:e.value}),(0,l.jsx)("div",{className:"lp-arch-desc",children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"providers",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Supported Providers"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Pick one or stack them all. Mercury falls back automatically."}),(0,l.jsx)("div",{className:"lp-provider-grid lp-reveal",children:[{name:"DeepSeek",desc:"Default provider. Cost-effective with strong reasoning."},{name:"OpenAI",desc:"GPT-4o-mini, GPT-4o, o3. Industry standard."},{name:"Anthropic",desc:"Claude Sonnet, Haiku, Opus. Nuanced reasoning."},{name:"Grok (xAI)",desc:"xAI's models. OpenAI-compatible endpoint."},{name:"Ollama Cloud",desc:"Remote Ollama models via API. No local setup."},{name:"Ollama Local",desc:"On your machine. Zero API cost, fully private."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-provider-card",children:[(0,l.jsx)("div",{className:"lp-provider-logo",children:"\u26A1"}),(0,l.jsxs)("div",{className:"lp-provider-info",children:[(0,l.jsx)("h3",{children:e.name}),(0,l.jsx)("p",{children:e.desc})]})]},t))}),(0,l.jsx)("div",{className:"lp-provider-note",children:(0,l.jsx)("p",{children:"More providers on the way \u2014 Google Gemini, Mistral, and others. Mercury's OpenAI-compatible architecture also supports custom endpoints."})})]})}),(0,l.jsx)("section",{id:"cta",className:"lp-section lp-cta-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Ready to Deploy Your Agent?"}),(0,l.jsx)("div",{className:"lp-cta-terminal",children:(0,l.jsx)("code",{children:"npm i -g @cosmicstack/mercury-agent && mercury"})}),(0,l.jsx)("p",{className:"lp-cta-sub",children:"That's it. 60 seconds to your own AI agent with GitHub companion."}),(0,l.jsxs)("div",{className:"lp-cta-links",children:[(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",target:"_blank",rel:"noopener",children:"GitHub \u2192"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent/issues",target:"_blank",rel:"noopener",children:"Report an Issue \u2192"})]})]})}),(0,l.jsx)("footer",{className:"lp-footer",children:(0,l.jsxs)("div",{className:"lp-container lp-footer-inner",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"lp-footer-logo",children:"\u263F Mercury"}),(0,l.jsx)("span",{className:"lp-footer-tagline",children:"by Cosmic Stack"})]}),(0,l.jsxs)("div",{className:"lp-footer-links",children:[(0,l.jsx)(i.A,{to:"/docs",children:"Docs"}),(0,l.jsx)("a",{href:"https://mercury.cosmicstack.org",children:"mercury.cosmicstack.org"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",children:"GitHub"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent/issues",children:"Issues"})]})]})})]})]})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1df93b7f.de633640.js b/docs/assets/js/1df93b7f.de633640.js
deleted file mode 100644
index e0938ee4..00000000
--- a/docs/assets/js/1df93b7f.de633640.js
+++ /dev/null
@@ -1,5 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["452"],{5146(e,t,s){s.r(t),s.d(t,{default:()=>d});var l=s(4848),a=s(6540),i=s(5310),n=s(3572);let r=[{type:"prompt",text:"You: "},{type:"input",text:"install skill from https://example.com/daily-digest.md"},{type:"tool",text:" [Using: install_skill]"},{type:"output",text:' Skill "daily-digest" installed successfully.'},{type:"prompt",text:"You: "},{type:"input",text:"schedule daily-digest every day at 9am"},{type:"tool",text:" [Using: schedule_task]"},{type:"output",text:" Task scheduled: daily-digest (cron: 0 9 * * *)"},{type:"prompt",text:"You: "},{type:"input",text:"fetch latest repos of hotheadhacker"},{type:"tool",text:" [Using: fetch_url]"},{type:"agent",text:"Mercury: "},{type:"stream",text:"Here are the latest repositories by hotheadhacker: **sekond-brain** (updated today), **no-as-a-service** (7.1k stars)..."}],c=[{type:"prompt",text:"You: "},{type:"input",text:"read the package.json and tell me the deps"},{type:"tool",text:" [Using: read_file]"},{type:"prompt",text:"You: "},{type:"input",text:"edit the version to 0.2.0"},{type:"tool",text:" [Using: edit_file]"},{type:"output",text:' Successfully replaced "0.1.0" with "0.2.0" in package.json'},{type:"prompt",text:"You: "},{type:"input",text:"commit that change"},{type:"tool",text:" [Using: git_add, git_commit]"},{type:"output",text:' [git add package.json] [git commit -m "bump version to 0.2.0"]'},{type:"prompt",text:"You: "},{type:"input",text:"send me the package.json file"},{type:"tool",text:" [Using: send_file]"},{type:"output",text:" File sent: package.json (1.2KB)"},{type:"agent",text:"Mercury: "},{type:"stream",text:"Done! I've read the package.json, updated the version, committed the change, and sent you the file. Anything else?"}];function o(e,t,s){let l=0,a=0,i=null;function n(t,l,r){let c=r||s;a>=t.length?l():(i&&(i.textContent+=t[a]),a++,e.scrollTop=e.scrollHeight,setTimeout(()=>n(t,l,r),c))}!function r(){if(l>=t.length)return;let c=t[l];if("prompt"===c.type){let t=document.createElement("span");t.className="lp-prompt",t.textContent=c.text,e.appendChild(t),l++,r();return}if("input"===c.type){(i=document.createElement("span")).style.color="#f0f0f0",e.appendChild(i),a=0,n(c.text,()=>{e.appendChild(document.createElement("br")),l++,r()});return}if("tool"===c.type){let t=document.createElement("span");t.className="lp-tool",t.textContent=c.text,e.appendChild(t),e.appendChild(document.createElement("br")),l++,setTimeout(r,2*s);return}if("output"===c.type){let t=document.createElement("span");t.className="lp-output",t.textContent=c.text,e.appendChild(t),e.appendChild(document.createElement("br")),l++,setTimeout(r,s);return}if("agent"===c.type){let t=document.createElement("span");t.className="lp-agent",t.textContent=c.text,e.appendChild(t),l++,r();return}if("stream"===c.type){(i=document.createElement("span")).style.color="#f0f0f0",e.appendChild(i),a=0,n(c.text,()=>{e.appendChild(document.createElement("br")),l++;let t=document.createElement("span");t.className="lp-cursor",e.appendChild(t)},1.5*s);return}l++,r()}()}function d(){let e=(0,a.useRef)(null),t=(0,a.useRef)(null),[s,d]=a.useState(""),[p,m]=a.useState(!1);return(0,a.useEffect)(()=>{fetch("https://api.github.com/repos/cosmicstack-labs/mercury-agent").then(e=>e.json()).then(e=>{if(null!=e.stargazers_count){let t=e.stargazers_count;d(t>=1e3?`${(t/1e3).toFixed(1).replace(/\.0$/,"")}k`:String(t))}}).catch(()=>{})},[]),(0,a.useEffect)(()=>{let s=e.current,l=t.current,a=s?new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(a.unobserve(e.target),o(s,r,25))})},{threshold:.3}):null,i=l?new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(i.unobserve(e.target),o(l,c,18))})},{threshold:.3}):null;return s&&a&&a.observe(s),l&&i&&i.observe(l),()=>{a&&a.disconnect(),i&&i.disconnect()}},[]),(0,a.useEffect)(()=>{let e=document.querySelectorAll(".lp-reveal"),t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("lp-revealed"),t.unobserve(e.target))})},{threshold:.15});return e.forEach(e=>t.observe(e)),()=>t.disconnect()},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n.A,{children:[(0,l.jsx)("title",{children:"Mercury \u2014 Soul-Driven AI Agent with Permission Guardrails | Cosmic Stack"}),(0,l.jsx)("meta",{name:"description",content:"The AI agent that asks before it acts. Permission guardrails, token efficiency, sub-agent orchestration, Spotify integration, and full control. Runs 24/7 from CLI or Telegram with multi-provider onboarding, skills, and scheduling."}),(0,l.jsx)("meta",{property:"og:title",content:"Mercury \u2014 Soul-Driven AI Agent with Permission Guardrails"}),(0,l.jsx)("meta",{property:"og:description",content:"The AI agent that asks before it acts. Permission guardrails, token efficiency, and full control. Runs 24/7 from CLI or Telegram."}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{property:"og:url",content:"https://mercury.cosmicstack.org"}),(0,l.jsx)("meta",{property:"og:image",content:"https://mercury.cosmicstack.org/img/card.png"}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("meta",{name:"twitter:title",content:"Mercury \u2014 Soul-Driven AI Agent with Permission Guardrails"}),(0,l.jsx)("meta",{name:"twitter:image",content:"https://mercury.cosmicstack.org/img/card.png"})]}),(0,l.jsxs)("div",{className:"lp-page",children:[(0,l.jsx)("nav",{className:"lp-nav",children:(0,l.jsxs)("div",{className:"lp-nav-inner",children:[(0,l.jsx)(i.A,{to:"/",className:"lp-nav-logo",children:"\u263F Mercury"}),(0,l.jsxs)("div",{className:`lp-nav-links ${p?"lp-nav-links-open":""}`,children:[(0,l.jsx)(i.A,{to:"/#features",onClick:()=>m(!1),children:"Features"}),(0,l.jsx)(i.A,{to:"/#how-it-works",onClick:()=>m(!1),children:"Install"}),(0,l.jsx)(i.A,{to:"/#demo",onClick:()=>m(!1),children:"Demo"}),(0,l.jsx)(i.A,{to:"/#capabilities",onClick:()=>m(!1),children:"Capabilities"}),(0,l.jsx)(i.A,{to:"/#github",onClick:()=>m(!1),children:"GitHub"}),(0,l.jsx)(i.A,{to:"/#compare",onClick:()=>m(!1),children:"Compare"}),(0,l.jsx)(i.A,{to:"/docs",onClick:()=>m(!1),children:"Docs"})]}),(0,l.jsxs)("div",{className:"lp-nav-right",children:[(0,l.jsxs)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",className:"lp-github-btn",target:"_blank",rel:"noopener",children:[(0,l.jsx)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",fill:"currentColor",style:{verticalAlign:"-2px"},children:(0,l.jsx)("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"})}),(0,l.jsxs)("span",{className:"lp-github-btn-count",children:[s," \u2B50"]})]}),(0,l.jsx)("button",{className:"lp-nav-toggle",onClick:()=>m(!p),"aria-label":"Menu",children:"\u2630"})]})]})}),(0,l.jsxs)("section",{className:"lp-hero",children:[(0,l.jsx)("div",{className:"lp-hero-bg"}),(0,l.jsxs)("div",{className:"lp-container lp-hero-content",children:[(0,l.jsx)("pre",{className:"lp-hero-ascii","aria-hidden":"true",children:` __ _____________ ________ ________ __
- / |/ / ____/ __ \\/ ____/ / / / __ \\ \\/ /
- / /|_/ / __/ / /_/ / / / / / / /_/ /\\ /
- / / / / /___/ _, _/ /___/ /_/ / _, _/ / /
-/_/ /_/_____/_/ |_|\\____/\\____/_/ |_| /_/`}),(0,l.jsx)("p",{className:"lp-hero-tagline",children:"Soul-driven. Token-efficient. Always on."}),(0,l.jsx)("p",{className:"lp-hero-sub",children:"Your personal AI agent with 31 built-in tools, skill system, multi-agent orchestration, Spotify integration, GitHub companion, and hardened permissions. Runs 24/7 from your terminal or Telegram."}),(0,l.jsxs)("div",{className:"lp-hero-actions",children:[(0,l.jsx)(i.A,{href:"#how-it-works",className:"lp-btn lp-btn-primary",children:"Get Started"}),(0,l.jsx)(i.A,{href:"#demo",className:"lp-btn lp-btn-secondary",children:"See it in action"})]}),(0,l.jsx)("div",{className:"lp-hero-install",children:(0,l.jsx)("code",{children:"npm i -g @cosmicstack/mercury-agent && mercury"})}),(0,l.jsxs)("div",{className:"lp-terminal-window lp-hero-terminal",children:[(0,l.jsxs)("div",{className:"lp-terminal-bar",children:[(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-red"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-yellow"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-green"}),(0,l.jsx)("span",{className:"lp-terminal-title",children:"terminal"})]}),(0,l.jsx)("div",{className:"lp-terminal-body",ref:e})]})]})]}),(0,l.jsx)("section",{id:"features",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Built Different"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Not another chatbot. An orchestrator that works for you."}),(0,l.jsx)("div",{className:"lp-features-grid",children:[{icon:"\u263F",title:"Soul-Driven Identity",desc:"Mercury isn't a blank slate. Its personality is defined by markdown soul files \u2014 soul.md, persona.md, taste.md, heartbeat.md \u2014 that you control."},{icon:"\u26A1",title:"Token-Efficient",desc:"Daily token budgets with enforcement. Only soul + persona injected per request (~400 tokens). Progressive skill loading. Auto-concise when budget exceeds 70%."},{icon:"\u267E",title:"Always On",desc:"Background daemon by default. Cron scheduling, delayed tasks, and a heartbeat system. Auto-starts on boot, auto-restarts on crash."},{icon:"\u{1F4E1}",title:"Multi-Channel",desc:"CLI with readline and arrow-key menus. Telegram with typing indicators, HTML formatting, file uploads, and private 1:1 access."},{icon:"\u{1F916}",title:"Sub-Agents",desc:"Spawn parallel AI agents for concurrent tasks. Mercury orchestrates \u2014 research, code, and review run simultaneously. Non-blocking: keep chatting while agents work."},{icon:"\u{1F3B5}",title:"Spotify Integration",desc:"Native Spotify control through conversation. Play music, manage playlists, DJ on your devices. Search, like, queue \u2014 all through natural language."},{icon:"\u{1F9E9}",title:"Skill System",desc:"Install community skills with a single command. Skills auto-load into context, get elevated permissions, and can be scheduled as recurring tasks."},{icon:"\u{1F6E1}",title:"Permission Hardened",desc:"Folder-level read/write scoping. Command blocklist. Pending approval flow. Ask Me or Allow All mode per session."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-feature-card lp-reveal",children:[(0,l.jsx)("div",{className:"lp-feature-icon",children:e.icon}),(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("p",{children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"second-brain",className:"lp-section lp-section-alt",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"\u{1F9E0} Second Brain"}),(0,l.jsxs)("p",{className:"lp-section-sub",children:["Most AI agents forget everything when you close the chat. Mercury ",(0,l.jsx)("em",{children:"remembers"})," \u2014 automatically, privately, and with surgical precision."]}),(0,l.jsx)("div",{className:"lp-brain-grid",children:[{title:"Learns Automatically",desc:"After each conversation, Mercury extracts facts about you \u2014 your preferences, goals, projects, habits, relationships, and decisions."},{title:"Recalls What Matters",desc:"Only memories relevant to the current conversation are injected \u2014 up to 5 facts within a 900-character budget."},{title:"Resolves Conflicts",desc:"When Mercury detects a contradiction, the higher-confidence memory wins. No stale data."},{title:"10 Memory Types",desc:"Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection \u2014 each scored by confidence, importance, and durability."},{title:"Auto-Consolidation",desc:"Every hour Mercury synthesizes a profile summary and generates reflections from patterns it detects."},{title:"You Stay in Control",desc:"/memory gives you overview, search, pause, and clear. All data stays on your machine in SQLite \u2014 nothing leaves."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-brain-card lp-reveal",children:[(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("p",{children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"how-it-works",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Up and Running in 60 Seconds"}),(0,l.jsx)("div",{className:"lp-steps",children:[{num:1,title:"Install",cmd:"npm i -g @cosmicstack/mercury-agent",desc:"Or use npx @cosmicstack/mercury-agent \u2014 no install needed."},{num:2,title:"Setup",cmd:"mercury",desc:"First run triggers the onboarding wizard. Choose providers, validate keys, pick your default model, optionally pair Telegram."},{num:3,title:"Run",cmd:"mercury start",desc:"Mercury wakes up, loads your soul files, restores scheduled tasks, and runs as a background daemon."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-step lp-reveal",children:[(0,l.jsx)("div",{className:"lp-step-number",children:e.num}),(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("div",{className:"lp-terminal-inline",children:(0,l.jsx)("code",{children:e.cmd})}),(0,l.jsx)("p",{children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"demo",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"See It Work"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"A real Mercury session \u2014 tool calls, streaming, files, and scheduling."}),(0,l.jsxs)("div",{className:"lp-terminal-window",style:{maxWidth:760,margin:"0 auto"},children:[(0,l.jsxs)("div",{className:"lp-terminal-bar",children:[(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-red"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-yellow"}),(0,l.jsx)("span",{className:"lp-terminal-dot lp-dot-green"}),(0,l.jsx)("span",{className:"lp-terminal-title",children:"mercury"})]}),(0,l.jsx)("div",{className:"lp-terminal-body",ref:t})]})]})}),(0,l.jsx)("section",{id:"capabilities",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"31 Built-In Tools"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Plus extensible skills, scheduling, and memory."}),(0,l.jsx)("div",{className:"lp-caps-grid",children:[{title:"\u{1F4C2} Filesystem",items:["read_file \u2014 Read file contents","write_file \u2014 Write to existing file","create_file \u2014 Create new files (+ dirs)","edit_file \u2014 Search & replace text","list_dir \u2014 List directory contents","delete_file \u2014 Delete a file","send_file \u2014 Send file to user","approve_scope \u2014 Request directory access"]},{title:"\u{1F4AC} Messaging",items:["send_message \u2014 Send a message to approved Telegram recipients"]},{title:"\u{1F41A} Shell",items:["run_command \u2014 Execute shell commands","cd \u2014 Change working directory","approve_command \u2014 Permanently approve a command"]},{title:"\u{1F4E6} Git",items:["git_status \u2014 Working tree status","git_diff \u2014 Show file changes","git_log \u2014 Commit history","git_add \u2014 Stage files","git_commit \u2014 Create commits","git_push \u2014 Push to remote"]},{title:"\u{1F419} GitHub",items:["create_pr \u2014 Create pull requests","review_pr \u2014 Review PRs + post comments","list_issues \u2014 List & filter issues","create_issue \u2014 Create new issues","github_api \u2014 Raw API access","Co-authored-by on every commit"]},{title:"\u{1F3B5} Spotify",items:["spotify_search \u2014 Search tracks, artists, albums, playlists","spotify_play \u2014 Play on your devices","spotify_pause/next/previous \u2014 Playback controls","spotify_now_playing \u2014 What's playing + progress bar","spotify_devices \u2014 List & select devices","spotify_like/top_tracks/playlists \u2014 Library access","spotify_volume/shuffle/repeat/queue \u2014 Full player control"]},{title:"\u{1F916} Sub-Agents",items:["delegate_task \u2014 Spawn parallel AI agents","list_agents \u2014 Monitor running agents","stop_agent \u2014 Halt a specific agent","/agents \u2014 See all agents + status","/halt \u2014 Emergency stop all agents","File locks for concurrent safety","Auto-concurrency from CPU/RAM"]},{title:"\u{1F9E9} Skills",items:["install_skill \u2014 Install from URL or content","list_skills \u2014 Show installed skills","use_skill \u2014 Invoke a skill"]},{title:"\u23F0 Scheduler",items:["schedule_task \u2014 Cron or one-shot tasks","list_scheduled_tasks \u2014 View all tasks","cancel_scheduled_task \u2014 Cancel a task"]},{title:"\u{1F4CA} System",items:["budget_status \u2014 Check token budget"]},{title:"\u{1F9E0} Memory",items:["Short-term \u2014 Recent conversation per channel","Long-term \u2014 Auto-extracted facts with dedup","Episodic \u2014 Timestamped interaction log"]}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-cap-group lp-reveal",children:[(0,l.jsx)("h3",{children:e.title}),(0,l.jsx)("ul",{children:e.items.map((e,t)=>(0,l.jsx)("li",{children:e},t))})]},t))})]})}),(0,l.jsx)("section",{id:"compare",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Honest Comparison"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"We built Mercury because nothing else did all of this."}),(0,l.jsx)("div",{className:"lp-compare-table lp-reveal",children:(0,l.jsxs)("table",{children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{children:"Feature"}),(0,l.jsx)("th",{className:"lp-highlight",children:"Mercury"}),(0,l.jsx)("th",{children:"Open Interpreter"}),(0,l.jsx)("th",{children:"Claude Code"})]})}),(0,l.jsx)("tbody",{children:[["Soul / Persona System","4 markdown files","Custom instructions","CLAUDE.md"],["Token Budget","Daily budget + override","\u2014","\u2014"],["Multi-Channel","CLI + Telegram + more","All","All"],["Sub-Agents","Parallel AI workers, non-blocking","\u2014","\u2014"],["Spotify Integration","Native playback + DJ mode","\u2014","\u2014"],["Skill System","Install, invoke, schedule","\u2014","\u2014"],["Cron + Delayed Scheduling","Persisted, auto-restore","\u2014","\u2014"],["Permission Hardening","Blocklist + scope + approval","Confirmation prompts","Permission prompts"],["GitHub Companion","PRs, issues, co-authored commits","\u2014","\u2014"],["Proactive Notifications","Heartbeat + task alerts","\u2014","\u2014"],["Auto Fact Extraction","With dedup","\u2014","\u2014"],["Provider Fallback","Auto with last-successful","Manual config","Anthropic only"],["File Upload (Telegram)","Auto type detection","\u2014","\u2014"],["Streaming Output","Real-time text stream","Real-time text stream","Real-time text stream"],["Headless / 24-7","Built-in","\u2014","\u2014"],["Language","TypeScript / Node.js","Python","TypeScript / Node.js"],["Open Source","MIT","LGPL-2.1","Source-available"]].map((e,t)=>(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e[0]}),(0,l.jsx)("td",{className:"lp-highlight",children:e[1]}),(0,l.jsx)("td",{className:"\u2014"===e[2]?"lp-no":"lp-partial",children:e[2]}),(0,l.jsx)("td",{className:"\u2014"===e[3]?"lp-no":"lp-partial",children:e[3]})]},t))})]})})]})}),(0,l.jsx)("section",{id:"architecture",className:"lp-section lp-section-dark",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Under the Hood"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Minimal runtime, maximum capability."}),(0,l.jsx)("div",{className:"lp-arch-grid",children:[{label:"Core",value:"TypeScript + Node.js 18+",desc:"ESM, tsup build, SQLite-backed second brain"},{label:"AI SDK",value:"Vercel AI SDK v4",desc:"streamText + generateText, 10-step agentic loop"},{label:"Sub-Agents",value:"Same-process async coroutines",desc:"Parallel task delegation, file locks, resource-aware concurrency"},{label:"Spotify",value:"Native Web API integration",desc:"OAuth2 auth, 14 tools, DJ mode skill, Premium + free support"},{label:"Providers",value:"DeepSeek \xb7 OpenAI \xb7 Anthropic \xb7 Grok \xb7 Ollama Cloud \xb7 Ollama Local",desc:"Validated onboarding, model discovery, and fallback with last-successful tracking"},{label:"Memory",value:"JSONL + SQLite",desc:"Short-term, long-term, episodic + second brain"},{label:"Telegram",value:"grammY",desc:"Long polling, pairing codes, CLI-managed access requests, broadcasts, file uploads"},{label:"Runtime Data",value:"~/.mercury/",desc:"Config, soul, memory, permissions, skills, schedules \u2014 all in your home dir"}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-arch-card lp-reveal",children:[(0,l.jsx)("div",{className:"lp-arch-label",children:e.label}),(0,l.jsx)("div",{className:"lp-arch-value",children:e.value}),(0,l.jsx)("div",{className:"lp-arch-desc",children:e.desc})]},t))})]})}),(0,l.jsx)("section",{id:"providers",className:"lp-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Supported Providers"}),(0,l.jsx)("p",{className:"lp-section-sub",children:"Pick one or stack them all. Mercury falls back automatically."}),(0,l.jsx)("div",{className:"lp-provider-grid lp-reveal",children:[{name:"DeepSeek",desc:"Default provider. Cost-effective with strong reasoning."},{name:"OpenAI",desc:"GPT-4o-mini, GPT-4o, o3. Industry standard."},{name:"Anthropic",desc:"Claude Sonnet, Haiku, Opus. Nuanced reasoning."},{name:"Grok (xAI)",desc:"xAI's models. OpenAI-compatible endpoint."},{name:"Ollama Cloud",desc:"Remote Ollama models via API. No local setup."},{name:"Ollama Local",desc:"On your machine. Zero API cost, fully private."}].map((e,t)=>(0,l.jsxs)("div",{className:"lp-provider-card",children:[(0,l.jsx)("div",{className:"lp-provider-logo",children:"\u26A1"}),(0,l.jsxs)("div",{className:"lp-provider-info",children:[(0,l.jsx)("h3",{children:e.name}),(0,l.jsx)("p",{children:e.desc})]})]},t))}),(0,l.jsx)("div",{className:"lp-provider-note",children:(0,l.jsx)("p",{children:"More providers on the way \u2014 Google Gemini, Mistral, and others. Mercury's OpenAI-compatible architecture also supports custom endpoints."})})]})}),(0,l.jsx)("section",{id:"cta",className:"lp-section lp-cta-section",children:(0,l.jsxs)("div",{className:"lp-container",children:[(0,l.jsx)("h2",{className:"lp-section-title",children:"Ready to Deploy Your Agent?"}),(0,l.jsx)("div",{className:"lp-cta-terminal",children:(0,l.jsx)("code",{children:"npm i -g @cosmicstack/mercury-agent && mercury"})}),(0,l.jsx)("p",{className:"lp-cta-sub",children:"That's it. 60 seconds to your own AI agent with GitHub companion."}),(0,l.jsxs)("div",{className:"lp-cta-links",children:[(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",target:"_blank",rel:"noopener",children:"GitHub \u2192"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent/issues",target:"_blank",rel:"noopener",children:"Report an Issue \u2192"})]})]})}),(0,l.jsx)("footer",{className:"lp-footer",children:(0,l.jsxs)("div",{className:"lp-container lp-footer-inner",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"lp-footer-logo",children:"\u263F Mercury"}),(0,l.jsx)("span",{className:"lp-footer-tagline",children:"by Cosmic Stack"})]}),(0,l.jsxs)("div",{className:"lp-footer-links",children:[(0,l.jsx)(i.A,{to:"/docs",children:"Docs"}),(0,l.jsx)("a",{href:"https://mercury.cosmicstack.org",children:"mercury.cosmicstack.org"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent",children:"GitHub"}),(0,l.jsx)("a",{href:"https://github.com/cosmicstack-labs/mercury-agent/issues",children:"Issues"})]})]})})]})]})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2b538913.82697e70.js b/docs/assets/js/2b538913.82697e70.js
new file mode 100644
index 00000000..5a94d312
--- /dev/null
+++ b/docs/assets/js/2b538913.82697e70.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["283"],{15(e,s,r){r.r(s),r.d(s,{metadata:()=>n,default:()=>a,frontMatter:()=>l,contentTitle:()=>c,toc:()=>d,assets:()=>o});var n=JSON.parse('{"id":"integrations/spotify","title":"Spotify Integration","description":"Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \\"play some chill music\\" and Mercury handles the rest.","source":"@site/docs/integrations/spotify.mdx","sourceDirName":"integrations","slug":"/integrations/spotify","permalink":"/docs/integrations/spotify","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/spotify.mdx","tags":[],"version":"current","frontMatter":{"id":"spotify","title":"Spotify Integration"},"sidebar":"docsSidebar","previous":{"title":"Telegram","permalink":"/docs/integrations/telegram"},"next":{"title":"Coding Workspace (IDE Mode)","permalink":"/docs/integrations/coding-workspace"}}'),t=r(4848),i=r(8453);let l={id:"spotify",title:"Spotify Integration"},c,o={},d=[{value:"Setup",id:"setup",level:2},{value:"Step 1: Create a Spotify Developer App",id:"step-1-create-a-spotify-developer-app",level:3},{value:"Step 2: Configure Mercury",id:"step-2-configure-mercury",level:3},{value:"Step 3: Connect Your Spotify Account",id:"step-3-connect-your-spotify-account",level:3},{value:"Commands",id:"commands",level:2},{value:"Spotify Tools",id:"spotify-tools",level:2},{value:"Read-only (works on free accounts)",id:"read-only-works-on-free-accounts",level:3},{value:"Playback control (requires Spotify Premium)",id:"playback-control-requires-spotify-premium",level:3},{value:"Using It",id:"using-it",level:2},{value:"Interactive Player (CLI)",id:"interactive-player-cli",level:2},{value:"Player shortcuts",id:"player-shortcuts",level:3},{value:"Optional inline album art",id:"optional-inline-album-art",level:3},{value:"Managing Devices",id:"managing-devices",level:2},{value:"Token Management",id:"token-management",level:2},{value:"Disconnecting",id:"disconnecting",level:3},{value:"Security",id:"security",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}];function h(e){let s={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.p,{children:'Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'}),"\n",(0,t.jsxs)(s.p,{children:[":::info Spotify Premium\nRead-only features (search, top tracks, playlists, now playing) work on ",(0,t.jsx)(s.strong,{children:"free"})," Spotify accounts. ",(0,t.jsx)(s.strong,{children:"Playback control"})," (play, pause, skip, volume, shuffle, repeat, queue) requires a ",(0,t.jsx)(s.strong,{children:"Spotify Premium"})," subscription \u2014 this is a Spotify API limitation, not a Mercury restriction.\n:::"]}),"\n",(0,t.jsx)(s.h2,{id:"setup",children:"Setup"}),"\n",(0,t.jsx)(s.h3,{id:"step-1-create-a-spotify-developer-app",children:"Step 1: Create a Spotify Developer App"}),"\n",(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsxs)(s.li,{children:["Go to ",(0,t.jsx)(s.a,{href:"https://developer.spotify.com/dashboard",children:"developer.spotify.com/dashboard"})]}),"\n",(0,t.jsx)(s.li,{children:"Log in with your Spotify account"}),"\n",(0,t.jsxs)(s.li,{children:["Click ",(0,t.jsx)(s.strong,{children:'"Create app"'})]}),"\n",(0,t.jsxs)(s.li,{children:["Fill in:","\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"App name"}),": ",(0,t.jsx)(s.code,{children:"Mercury"})," (or anything you like)"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"App description"}),": ",(0,t.jsx)(s.code,{children:"Mercury Agent Spotify Integration"})]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Redirect URI"}),": ",(0,t.jsx)(s.code,{children:"http://127.0.0.1:8888/callback"})," \u2014 this must match exactly"]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["Click ",(0,t.jsx)(s.strong,{children:"Save"})]}),"\n",(0,t.jsxs)(s.li,{children:["On the app's settings page, copy the ",(0,t.jsx)(s.strong,{children:"Client ID"})," and ",(0,t.jsx)(s.strong,{children:"Client Secret"})]}),"\n"]}),"\n",(0,t.jsxs)(s.p,{children:[":::tip Development Mode\nWhen your Spotify Developer app is in ",(0,t.jsx)(s.strong,{children:"development mode"})," (the default), you can grant access to up to ",(0,t.jsx)(s.strong,{children:"25 users"}),". Go to your app's settings \u2192 ",(0,t.jsx)(s.strong,{children:"User Management"})," \u2192 add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request ",(0,t.jsx)(s.strong,{children:"extended quota"})," from Spotify.\n:::"]}),"\n",(0,t.jsx)(s.h3,{id:"step-2-configure-mercury",children:"Step 2: Configure Mercury"}),"\n",(0,t.jsxs)(s.p,{children:["Run ",(0,t.jsx)(s.code,{children:"mercury doctor"})," (or ",(0,t.jsx)(s.code,{children:"mercury setup"})," for first-time setup):"]}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-bash",children:"mercury doctor\n"})}),"\n",(0,t.jsxs)(s.p,{children:["When prompted for Spotify, choose ",(0,t.jsx)(s.strong,{children:"Yes"})," and enter:"]}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Spotify Client ID"})," \u2014 paste the Client ID from Step 1"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Spotify Client Secret"})," \u2014 paste the Client Secret from Step 1"]}),"\n"]}),"\n",(0,t.jsx)(s.p,{children:"Press Enter on any other field to keep its current value. After setup, you'll see:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"Spotify: not connected \u2014 run /spotify auth to link your account\n"})}),"\n",(0,t.jsx)(s.h3,{id:"step-3-connect-your-spotify-account",children:"Step 3: Connect Your Spotify Account"}),"\n",(0,t.jsx)(s.p,{children:"Start Mercury and run:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify auth\n"})}),"\n",(0,t.jsx)(s.p,{children:"Choose your authorization method:"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Method"}),(0,t.jsx)(s.th,{children:"When to use"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsxs)(s.td,{children:[(0,t.jsx)(s.strong,{children:"Open browser"})," (recommended)"]}),(0,t.jsx)(s.td,{children:"When Mercury is running locally on your machine"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"Paste authorization code"})}),(0,t.jsx)(s.td,{children:"When browser auto-open fails, or via SSH"})]})]})]}),"\n",(0,t.jsxs)(s.p,{children:["For SSH or Telegram, Mercury will give you the auth URL. Open it on any device with a browser, then paste the ",(0,t.jsx)(s.code,{children:"code"})," parameter from the redirect URL:"]}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify code <paste-your-code-here>\n"})}),"\n",(0,t.jsx)(s.p,{children:"After successful auth, Mercury shows:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"Spotify: connected as YourName\n"})}),"\n",(0,t.jsx)(s.h2,{id:"commands",children:"Commands"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Command"}),(0,t.jsx)(s.th,{children:"Description"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify"})}),(0,t.jsx)(s.td,{children:"Show connection status, account name, plan, and active device"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify auth"})}),(0,t.jsx)(s.td,{children:"Start OAuth flow (browser or manual code)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify code <code>"})}),(0,t.jsx)(s.td,{children:"Complete auth with a pasted authorization code"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify logout"})}),(0,t.jsx)(s.td,{children:"Disconnect Spotify and clear saved tokens"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify player"})}),(0,t.jsx)(s.td,{children:"Interactive player with arrow-key controls (CLI only)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify devices"})}),(0,t.jsx)(s.td,{children:"List available Spotify devices"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify device <id>"})}),(0,t.jsx)(s.td,{children:"Set active device"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify now"})}),(0,t.jsx)(s.td,{children:"Show what is currently playing"})]})]})]}),"\n",(0,t.jsx)(s.h2,{id:"spotify-tools",children:"Spotify Tools"}),"\n",(0,t.jsx)(s.p,{children:"These are the tools Mercury uses when you talk about music:"}),"\n",(0,t.jsx)(s.h3,{id:"read-only-works-on-free-accounts",children:"Read-only (works on free accounts)"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Tool"}),(0,t.jsx)(s.th,{children:"What it does"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_search"})}),(0,t.jsx)(s.td,{children:"Search tracks, artists, albums, playlists"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_now_playing"})}),(0,t.jsx)(s.td,{children:"Show what's currently playing"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_devices"})}),(0,t.jsx)(s.td,{children:"List available Spotify devices"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_top_tracks"})}),(0,t.jsx)(s.td,{children:"Get your top tracks (time_range: short/medium/long term)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_playlists"})}),(0,t.jsx)(s.td,{children:"Get your playlists"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_like"})}),(0,t.jsx)(s.td,{children:"Save a track to your library"})]})]})]}),"\n",(0,t.jsx)(s.h3,{id:"playback-control-requires-spotify-premium",children:"Playback control (requires Spotify Premium)"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Tool"}),(0,t.jsx)(s.th,{children:"What it does"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_play"})}),(0,t.jsx)(s.td,{children:"Play a track, album, or playlist on a device"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_pause"})}),(0,t.jsx)(s.td,{children:"Pause playback"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_next"})}),(0,t.jsx)(s.td,{children:"Skip to next track"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_previous"})}),(0,t.jsx)(s.td,{children:"Skip to previous track"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_volume"})}),(0,t.jsx)(s.td,{children:"Set volume (0-100)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_shuffle"})}),(0,t.jsx)(s.td,{children:"Toggle shuffle on/off"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_repeat"})}),(0,t.jsx)(s.td,{children:"Set repeat mode (off, track, context)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_queue"})}),(0,t.jsx)(s.td,{children:"Add a track to the playback queue"})]})]})]}),"\n",(0,t.jsx)(s.h2,{id:"using-it",children:"Using It"}),"\n",(0,t.jsx)(s.p,{children:"Just talk to Mercury naturally about music:"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"You say"}),(0,t.jsx)(s.th,{children:"Mercury does"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"play some chill music"'}),(0,t.jsx)(s.td,{children:'Searches "lo-fi chill", picks tracks, plays on your device'})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"what are my top tracks?"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_top_tracks"}),", shows results"]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"skip this song"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_next"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"pause"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_pause"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"play my playlist Road Trip"'}),(0,t.jsx)(s.td,{children:"Searches your playlists, plays the match"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"set volume to 50"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_volume(50)"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"what\'s playing?"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_now_playing"}),", shows artist \u2014 track + progress bar"]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"add this to my queue"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_queue"})," with current track"]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"shuffle on"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_shuffle(true)"})]})]})]})]}),"\n",(0,t.jsx)(s.h2,{id:"interactive-player-cli",children:"Interactive Player (CLI)"}),"\n",(0,t.jsxs)(s.p,{children:["The ",(0,t.jsx)(s.code,{children:"/spotify player"})," command launches an interactive arrow-key player in your terminal:"]}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:" \u25B6 Play/Pause \u25C0 Previous \u25B6\u25B6 Next\n \u{1F50A} Volume \u{1F500} Shuffle \u{1F501} Repeat\n \u{1F50D} Search \u{1F4CB} Queue \u2715 Exit\n"})}),"\n",(0,t.jsx)(s.p,{children:"Every action shows real-time feedback with track info and a progress bar."}),"\n",(0,t.jsx)(s.h3,{id:"player-shortcuts",children:"Player shortcuts"}),"\n",(0,t.jsx)(s.p,{children:"Inside the Spotify player (CLI):"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.code,{children:"N"})," \u2192 next track"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.code,{children:"P"})," \u2192 previous track"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.code,{children:"+"})," / ",(0,t.jsx)(s.code,{children:"-"})," \u2192 volume up/down by 10%"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.code,{children:"Z"})," \u2192 refresh now playing"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.code,{children:"Esc"})," \u2192 exit player"]}),"\n"]}),"\n",(0,t.jsx)(s.h3,{id:"optional-inline-album-art",children:"Optional inline album art"}),"\n",(0,t.jsx)(s.p,{children:"Mercury supports inline album art as a progressive enhancement (text UI remains the default)."}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["Enable with: ",(0,t.jsx)(s.code,{children:"MERCURY_SPOTIFY_ART=1"})]}),"\n",(0,t.jsx)(s.li,{children:"Currently rendered only in local iTerm sessions"}),"\n",(0,t.jsx)(s.li,{children:"Automatically falls back to text-only view in SSH/mobile/light terminals"}),"\n"]}),"\n",(0,t.jsx)(s.h2,{id:"managing-devices",children:"Managing Devices"}),"\n",(0,t.jsxs)(s.p,{children:["Spotify plays on ",(0,t.jsx)(s.strong,{children:"your devices"})," \u2014 phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available:"]}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify devices\n"})}),"\n",(0,t.jsx)(s.p,{children:"If no device is active, Mercury will tell you to open Spotify on a device first. You can set a default device:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify device <device-id>\n"})}),"\n",(0,t.jsx)(s.p,{children:"The device ID persists across sessions \u2014 Mercury remembers your preferred device."}),"\n",(0,t.jsx)(s.h2,{id:"token-management",children:"Token Management"}),"\n",(0,t.jsxs)(s.p,{children:["Mercury stores your Spotify tokens in ",(0,t.jsx)(s.code,{children:"~/.mercury/mercury.yaml"}),":"]}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Access token"})," \u2014 short-lived, auto-refreshed"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Refresh token"})," \u2014 long-lived, used to get new access tokens"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Account info"})," \u2014 display name, user ID, plan (Premium/Free)"]}),"\n"]}),"\n",(0,t.jsxs)(s.p,{children:["Tokens refresh automatically before they expire. If the refresh token itself expires (rare), run ",(0,t.jsx)(s.code,{children:"/spotify auth"})," again."]}),"\n",(0,t.jsx)(s.h3,{id:"disconnecting",children:"Disconnecting"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify logout\n"})}),"\n",(0,t.jsxs)(s.p,{children:["This clears all tokens and account info. Run ",(0,t.jsx)(s.code,{children:"/spotify auth"})," to reconnect later."]}),"\n",(0,t.jsx)(s.h2,{id:"security",children:"Security"}),"\n",(0,t.jsxs)(s.p,{children:[":::warning Client credentials\nYour Spotify Client ID and Client Secret are stored in ",(0,t.jsx)(s.code,{children:"~/.mercury/mercury.yaml"}),". They are only used to authenticate with Spotify's API from your machine \u2014 never shared externally. Treat this file like any other credential.\n:::"]}),"\n",(0,t.jsx)(s.p,{children:"Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints."}),"\n",(0,t.jsx)(s.h2,{id:"troubleshooting",children:"Troubleshooting"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Issue"}),(0,t.jsx)(s.th,{children:"Solution"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"Spotify Premium is required" error'}),(0,t.jsx)(s.td,{children:"You need Premium for playback control. Read-only features still work on free accounts."})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"403 errors on play/pause/skip"}),(0,t.jsx)(s.td,{children:"Your account is on Spotify's free tier. Playback APIs are Premium-only."})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"No active device"'}),(0,t.jsx)(s.td,{children:"Open Spotify on your phone/computer, play any song, then try again."})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Browser doesn't open for auth"}),(0,t.jsxs)(s.td,{children:["Use the manual code flow: ",(0,t.jsx)(s.code,{children:"/spotify auth"}),' \u2192 choose "Paste code"']})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Token expired after long idle"}),(0,t.jsxs)(s.td,{children:["Run ",(0,t.jsx)(s.code,{children:"/spotify auth"})," to get fresh tokens"]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Account name not showing"}),(0,t.jsxs)(s.td,{children:["Run ",(0,t.jsx)(s.code,{children:"/spotify"})," and Mercury will fetch it live from Spotify's API"]})]})]})]})]})}function a(e={}){let{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},8453(e,s,r){r.d(s,{R:()=>l,x:()=>c});var n=r(6540);let t={},i=n.createContext(t);function l(e){let s=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:l(e.components),n.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2b538913.c0391b96.js b/docs/assets/js/2b538913.c0391b96.js
deleted file mode 100644
index e6844c47..00000000
--- a/docs/assets/js/2b538913.c0391b96.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["283"],{15(e,s,r){r.r(s),r.d(s,{metadata:()=>n,default:()=>a,frontMatter:()=>c,contentTitle:()=>l,toc:()=>d,assets:()=>o});var n=JSON.parse('{"id":"integrations/spotify","title":"Spotify Integration","description":"Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \\"play some chill music\\" and Mercury handles the rest.","source":"@site/docs/integrations/spotify.mdx","sourceDirName":"integrations","slug":"/integrations/spotify","permalink":"/docs/integrations/spotify","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/spotify.mdx","tags":[],"version":"current","frontMatter":{"id":"spotify","title":"Spotify Integration"},"sidebar":"docsSidebar","previous":{"title":"Telegram","permalink":"/docs/integrations/telegram"},"next":{"title":"Sub-Agents (Multi-Agent Mode)","permalink":"/docs/integrations/sub-agents"}}'),t=r(4848),i=r(8453);let c={id:"spotify",title:"Spotify Integration"},l,o={},d=[{value:"Setup",id:"setup",level:2},{value:"Step 1: Create a Spotify Developer App",id:"step-1-create-a-spotify-developer-app",level:3},{value:"Step 2: Configure Mercury",id:"step-2-configure-mercury",level:3},{value:"Step 3: Connect Your Spotify Account",id:"step-3-connect-your-spotify-account",level:3},{value:"Commands",id:"commands",level:2},{value:"Spotify Tools",id:"spotify-tools",level:2},{value:"Read-only (works on free accounts)",id:"read-only-works-on-free-accounts",level:3},{value:"Playback control (requires Spotify Premium)",id:"playback-control-requires-spotify-premium",level:3},{value:"Using It",id:"using-it",level:2},{value:"Interactive Player (CLI)",id:"interactive-player-cli",level:2},{value:"Managing Devices",id:"managing-devices",level:2},{value:"Token Management",id:"token-management",level:2},{value:"Disconnecting",id:"disconnecting",level:3},{value:"Security",id:"security",level:2},{value:"Troubleshooting",id:"troubleshooting",level:2}];function h(e){let s={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.p,{children:'Mercury connects to your Spotify account natively \u2014 control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'}),"\n",(0,t.jsxs)(s.p,{children:[":::info Spotify Premium\nRead-only features (search, top tracks, playlists, now playing) work on ",(0,t.jsx)(s.strong,{children:"free"})," Spotify accounts. ",(0,t.jsx)(s.strong,{children:"Playback control"})," (play, pause, skip, volume, shuffle, repeat, queue) requires a ",(0,t.jsx)(s.strong,{children:"Spotify Premium"})," subscription \u2014 this is a Spotify API limitation, not a Mercury restriction.\n:::"]}),"\n",(0,t.jsx)(s.h2,{id:"setup",children:"Setup"}),"\n",(0,t.jsx)(s.h3,{id:"step-1-create-a-spotify-developer-app",children:"Step 1: Create a Spotify Developer App"}),"\n",(0,t.jsxs)(s.ol,{children:["\n",(0,t.jsxs)(s.li,{children:["Go to ",(0,t.jsx)(s.a,{href:"https://developer.spotify.com/dashboard",children:"developer.spotify.com/dashboard"})]}),"\n",(0,t.jsx)(s.li,{children:"Log in with your Spotify account"}),"\n",(0,t.jsxs)(s.li,{children:["Click ",(0,t.jsx)(s.strong,{children:'"Create app"'})]}),"\n",(0,t.jsxs)(s.li,{children:["Fill in:","\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"App name"}),": ",(0,t.jsx)(s.code,{children:"Mercury"})," (or anything you like)"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"App description"}),": ",(0,t.jsx)(s.code,{children:"Mercury Agent Spotify Integration"})]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Redirect URI"}),": ",(0,t.jsx)(s.code,{children:"http://127.0.0.1:8888/callback"})," \u2014 this must match exactly"]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(s.li,{children:["Click ",(0,t.jsx)(s.strong,{children:"Save"})]}),"\n",(0,t.jsxs)(s.li,{children:["On the app's settings page, copy the ",(0,t.jsx)(s.strong,{children:"Client ID"})," and ",(0,t.jsx)(s.strong,{children:"Client Secret"})]}),"\n"]}),"\n",(0,t.jsxs)(s.p,{children:[":::tip Development Mode\nWhen your Spotify Developer app is in ",(0,t.jsx)(s.strong,{children:"development mode"})," (the default), you can grant access to up to ",(0,t.jsx)(s.strong,{children:"25 users"}),". Go to your app's settings \u2192 ",(0,t.jsx)(s.strong,{children:"User Management"})," \u2192 add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request ",(0,t.jsx)(s.strong,{children:"extended quota"})," from Spotify.\n:::"]}),"\n",(0,t.jsx)(s.h3,{id:"step-2-configure-mercury",children:"Step 2: Configure Mercury"}),"\n",(0,t.jsxs)(s.p,{children:["Run ",(0,t.jsx)(s.code,{children:"mercury doctor"})," (or ",(0,t.jsx)(s.code,{children:"mercury setup"})," for first-time setup):"]}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-bash",children:"mercury doctor\n"})}),"\n",(0,t.jsxs)(s.p,{children:["When prompted for Spotify, choose ",(0,t.jsx)(s.strong,{children:"Yes"})," and enter:"]}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Spotify Client ID"})," \u2014 paste the Client ID from Step 1"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Spotify Client Secret"})," \u2014 paste the Client Secret from Step 1"]}),"\n"]}),"\n",(0,t.jsx)(s.p,{children:"Press Enter on any other field to keep its current value. After setup, you'll see:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"Spotify: not connected \u2014 run /spotify auth to link your account\n"})}),"\n",(0,t.jsx)(s.h3,{id:"step-3-connect-your-spotify-account",children:"Step 3: Connect Your Spotify Account"}),"\n",(0,t.jsx)(s.p,{children:"Start Mercury and run:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify auth\n"})}),"\n",(0,t.jsx)(s.p,{children:"Choose your authorization method:"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Method"}),(0,t.jsx)(s.th,{children:"When to use"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsxs)(s.td,{children:[(0,t.jsx)(s.strong,{children:"Open browser"})," (recommended)"]}),(0,t.jsx)(s.td,{children:"When Mercury is running locally on your machine"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.strong,{children:"Paste authorization code"})}),(0,t.jsx)(s.td,{children:"When browser auto-open fails, or via SSH"})]})]})]}),"\n",(0,t.jsxs)(s.p,{children:["For SSH or Telegram, Mercury will give you the auth URL. Open it on any device with a browser, then paste the ",(0,t.jsx)(s.code,{children:"code"})," parameter from the redirect URL:"]}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify code <paste-your-code-here>\n"})}),"\n",(0,t.jsx)(s.p,{children:"After successful auth, Mercury shows:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"Spotify: connected as YourName\n"})}),"\n",(0,t.jsx)(s.h2,{id:"commands",children:"Commands"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Command"}),(0,t.jsx)(s.th,{children:"Description"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify"})}),(0,t.jsx)(s.td,{children:"Show connection status, account name, plan, and active device"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify auth"})}),(0,t.jsx)(s.td,{children:"Start OAuth flow (browser or manual code)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify code <code>"})}),(0,t.jsx)(s.td,{children:"Complete auth with a pasted authorization code"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify logout"})}),(0,t.jsx)(s.td,{children:"Disconnect Spotify and clear saved tokens"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify player"})}),(0,t.jsx)(s.td,{children:"Interactive player with arrow-key controls (CLI only)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify devices"})}),(0,t.jsx)(s.td,{children:"List available Spotify devices"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify device <id>"})}),(0,t.jsx)(s.td,{children:"Set active device"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"/spotify now"})}),(0,t.jsx)(s.td,{children:"Show what is currently playing"})]})]})]}),"\n",(0,t.jsx)(s.h2,{id:"spotify-tools",children:"Spotify Tools"}),"\n",(0,t.jsx)(s.p,{children:"These are the tools Mercury uses when you talk about music:"}),"\n",(0,t.jsx)(s.h3,{id:"read-only-works-on-free-accounts",children:"Read-only (works on free accounts)"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Tool"}),(0,t.jsx)(s.th,{children:"What it does"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_search"})}),(0,t.jsx)(s.td,{children:"Search tracks, artists, albums, playlists"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_now_playing"})}),(0,t.jsx)(s.td,{children:"Show what's currently playing"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_devices"})}),(0,t.jsx)(s.td,{children:"List available Spotify devices"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_top_tracks"})}),(0,t.jsx)(s.td,{children:"Get your top tracks (time_range: short/medium/long term)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_playlists"})}),(0,t.jsx)(s.td,{children:"Get your playlists"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_like"})}),(0,t.jsx)(s.td,{children:"Save a track to your library"})]})]})]}),"\n",(0,t.jsx)(s.h3,{id:"playback-control-requires-spotify-premium",children:"Playback control (requires Spotify Premium)"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Tool"}),(0,t.jsx)(s.th,{children:"What it does"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_play"})}),(0,t.jsx)(s.td,{children:"Play a track, album, or playlist on a device"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_pause"})}),(0,t.jsx)(s.td,{children:"Pause playback"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_next"})}),(0,t.jsx)(s.td,{children:"Skip to next track"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_previous"})}),(0,t.jsx)(s.td,{children:"Skip to previous track"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_volume"})}),(0,t.jsx)(s.td,{children:"Set volume (0-100)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_shuffle"})}),(0,t.jsx)(s.td,{children:"Toggle shuffle on/off"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_repeat"})}),(0,t.jsx)(s.td,{children:"Set repeat mode (off, track, context)"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:(0,t.jsx)(s.code,{children:"spotify_queue"})}),(0,t.jsx)(s.td,{children:"Add a track to the playback queue"})]})]})]}),"\n",(0,t.jsx)(s.h2,{id:"using-it",children:"Using It"}),"\n",(0,t.jsx)(s.p,{children:"Just talk to Mercury naturally about music:"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"You say"}),(0,t.jsx)(s.th,{children:"Mercury does"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"play some chill music"'}),(0,t.jsx)(s.td,{children:'Searches "lo-fi chill", picks tracks, plays on your device'})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"what are my top tracks?"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_top_tracks"}),", shows results"]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"skip this song"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_next"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"pause"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_pause"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"play my playlist Road Trip"'}),(0,t.jsx)(s.td,{children:"Searches your playlists, plays the match"})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"set volume to 50"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_volume(50)"})]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"what\'s playing?"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_now_playing"}),", shows artist \u2014 track + progress bar"]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"add this to my queue"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_queue"})," with current track"]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"shuffle on"'}),(0,t.jsxs)(s.td,{children:["Calls ",(0,t.jsx)(s.code,{children:"spotify_shuffle(true)"})]})]})]})]}),"\n",(0,t.jsx)(s.h2,{id:"interactive-player-cli",children:"Interactive Player (CLI)"}),"\n",(0,t.jsxs)(s.p,{children:["The ",(0,t.jsx)(s.code,{children:"/spotify player"})," command launches an interactive arrow-key player in your terminal:"]}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:" \u25B6 Play/Pause \u25C0 Previous \u25B6\u25B6 Next\n \u{1F50A} Volume \u{1F500} Shuffle \u{1F501} Repeat\n \u{1F50D} Search \u{1F4CB} Queue \u2715 Exit\n"})}),"\n",(0,t.jsx)(s.p,{children:"Every action shows real-time feedback with track info and a progress bar."}),"\n",(0,t.jsx)(s.h2,{id:"managing-devices",children:"Managing Devices"}),"\n",(0,t.jsxs)(s.p,{children:["Spotify plays on ",(0,t.jsx)(s.strong,{children:"your devices"})," \u2014 phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available:"]}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify devices\n"})}),"\n",(0,t.jsx)(s.p,{children:"If no device is active, Mercury will tell you to open Spotify on a device first. You can set a default device:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify device <device-id>\n"})}),"\n",(0,t.jsx)(s.p,{children:"The device ID persists across sessions \u2014 Mercury remembers your preferred device."}),"\n",(0,t.jsx)(s.h2,{id:"token-management",children:"Token Management"}),"\n",(0,t.jsxs)(s.p,{children:["Mercury stores your Spotify tokens in ",(0,t.jsx)(s.code,{children:"~/.mercury/mercury.yaml"}),":"]}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Access token"})," \u2014 short-lived, auto-refreshed"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Refresh token"})," \u2014 long-lived, used to get new access tokens"]}),"\n",(0,t.jsxs)(s.li,{children:[(0,t.jsx)(s.strong,{children:"Account info"})," \u2014 display name, user ID, plan (Premium/Free)"]}),"\n"]}),"\n",(0,t.jsxs)(s.p,{children:["Tokens refresh automatically before they expire. If the refresh token itself expires (rare), run ",(0,t.jsx)(s.code,{children:"/spotify auth"})," again."]}),"\n",(0,t.jsx)(s.h3,{id:"disconnecting",children:"Disconnecting"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{children:"/spotify logout\n"})}),"\n",(0,t.jsxs)(s.p,{children:["This clears all tokens and account info. Run ",(0,t.jsx)(s.code,{children:"/spotify auth"})," to reconnect later."]}),"\n",(0,t.jsx)(s.h2,{id:"security",children:"Security"}),"\n",(0,t.jsxs)(s.p,{children:[":::warning Client credentials\nYour Spotify Client ID and Client Secret are stored in ",(0,t.jsx)(s.code,{children:"~/.mercury/mercury.yaml"}),". They are only used to authenticate with Spotify's API from your machine \u2014 never shared externally. Treat this file like any other credential.\n:::"]}),"\n",(0,t.jsx)(s.p,{children:"Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints."}),"\n",(0,t.jsx)(s.h2,{id:"troubleshooting",children:"Troubleshooting"}),"\n",(0,t.jsxs)(s.table,{children:[(0,t.jsx)(s.thead,{children:(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.th,{children:"Issue"}),(0,t.jsx)(s.th,{children:"Solution"})]})}),(0,t.jsxs)(s.tbody,{children:[(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"Spotify Premium is required" error'}),(0,t.jsx)(s.td,{children:"You need Premium for playback control. Read-only features still work on free accounts."})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"403 errors on play/pause/skip"}),(0,t.jsx)(s.td,{children:"Your account is on Spotify's free tier. Playback APIs are Premium-only."})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:'"No active device"'}),(0,t.jsx)(s.td,{children:"Open Spotify on your phone/computer, play any song, then try again."})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Browser doesn't open for auth"}),(0,t.jsxs)(s.td,{children:["Use the manual code flow: ",(0,t.jsx)(s.code,{children:"/spotify auth"}),' \u2192 choose "Paste code"']})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Token expired after long idle"}),(0,t.jsxs)(s.td,{children:["Run ",(0,t.jsx)(s.code,{children:"/spotify auth"})," to get fresh tokens"]})]}),(0,t.jsxs)(s.tr,{children:[(0,t.jsx)(s.td,{children:"Account name not showing"}),(0,t.jsxs)(s.td,{children:["Run ",(0,t.jsx)(s.code,{children:"/spotify"})," and Mercury will fetch it live from Spotify's API"]})]})]})]})]})}function a(e={}){let{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},8453(e,s,r){r.d(s,{R:()=>c,x:()=>l});var n=r(6540);let t={},i=n.createContext(t);function c(e){let s=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),n.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/35a35434.9d6edcf5.js b/docs/assets/js/35a35434.f9cb7092.js
similarity index 64%
rename from docs/assets/js/35a35434.9d6edcf5.js
rename to docs/assets/js/35a35434.f9cb7092.js
index 5baeaf39..cc4f1e32 100644
--- a/docs/assets/js/35a35434.9d6edcf5.js
+++ b/docs/assets/js/35a35434.f9cb7092.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["770"],{7705(e,r,t){t.r(r),t.d(r,{metadata:()=>s,default:()=>h,frontMatter:()=>n,contentTitle:()=>i,toc:()=>o,assets:()=>l});var s=JSON.parse('{"id":"cli-commands/cli-commands","title":"Full Command Reference","description":"| Command | Description |","source":"@site/docs/cli-commands/commands.mdx","sourceDirName":"cli-commands","slug":"/cli-commands/cli-commands","permalink":"/docs/cli-commands/cli-commands","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/commands.mdx","tags":[],"version":"current","frontMatter":{"id":"cli-commands","title":"Full Command Reference"},"sidebar":"docsSidebar","previous":{"title":"Starting Mercury","permalink":"/docs/getting-started/starting"},"next":{"title":"Doctor (Reconfigure)","permalink":"/docs/cli-commands/doctor"}}'),c=t(4848),d=t(8453);let n={id:"cli-commands",title:"Full Command Reference"},i,l={},o=[];function a(e){let r={code:"code",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,d.R)(),...e.components};return(0,c.jsxs)(r.table,{children:[(0,c.jsx)(r.thead,{children:(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.th,{children:"Command"}),(0,c.jsx)(r.th,{children:"Description"})]})}),(0,c.jsxs)(r.tbody,{children:[(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury up"})}),(0,c.jsxs)(r.td,{children:[(0,c.jsx)(r.strong,{children:"Recommended."})," Install service + start daemon + ensure running"]})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury"})}),(0,c.jsxs)(r.td,{children:["Start the agent (same as ",(0,c.jsx)(r.code,{children:"mercury start"}),")"]})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury start"})}),(0,c.jsx)(r.td,{children:"Start as background daemon (default)"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury start --foreground"})}),(0,c.jsxs)(r.td,{children:["Start in foreground (interactive) mode. Shorthand: ",(0,c.jsx)(r.code,{children:"-f"})]})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury restart"})}),(0,c.jsx)(r.td,{children:"Restart a background Mercury process"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury stop"})}),(0,c.jsx)(r.td,{children:"Stop a background Mercury process"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury logs"})}),(0,c.jsx)(r.td,{children:"Show last 100 lines of daemon logs"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury status"})}),(0,c.jsx)(r.td,{children:"Show config, providers, daemon PID, and budget"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury doctor"})}),(0,c.jsx)(r.td,{children:"Reconfigure settings \u2014 press Enter to keep current values"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury setup"})}),(0,c.jsx)(r.td,{children:"Re-run the setup wizard (same as doctor)"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury help"})}),(0,c.jsx)(r.td,{children:"Show the full manual (tools, commands, config paths)"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury service install"})}),(0,c.jsx)(r.td,{children:"Install as system service (auto-start on boot)"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury service uninstall"})}),(0,c.jsx)(r.td,{children:"Uninstall the system service"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury service status"})}),(0,c.jsx)(r.td,{children:"Show system service status"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury --verbose"})}),(0,c.jsx)(r.td,{children:"Start with debug logging on stderr"})]})]})]})}function h(e={}){let{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,c.jsx)(r,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},8453(e,r,t){t.d(r,{R:()=>n,x:()=>i});var s=t(6540);let c={},d=s.createContext(c);function n(e){let r=s.useContext(d);return s.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:n(e.components),s.createElement(d.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["770"],{7705(e,r,t){t.r(r),t.d(r,{metadata:()=>s,default:()=>h,frontMatter:()=>n,contentTitle:()=>i,toc:()=>o,assets:()=>l});var s=JSON.parse('{"id":"cli-commands/cli-commands","title":"Full Command Reference","description":"| Command | Description |","source":"@site/docs/cli-commands/commands.mdx","sourceDirName":"cli-commands","slug":"/cli-commands/cli-commands","permalink":"/docs/cli-commands/cli-commands","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/commands.mdx","tags":[],"version":"current","frontMatter":{"id":"cli-commands","title":"Full Command Reference"},"sidebar":"docsSidebar","previous":{"title":"Starting Mercury","permalink":"/docs/getting-started/starting"},"next":{"title":"Doctor (Reconfigure)","permalink":"/docs/cli-commands/doctor"}}'),c=t(4848),d=t(8453);let n={id:"cli-commands",title:"Full Command Reference"},i,l={},o=[];function a(e){let r={code:"code",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,d.R)(),...e.components};return(0,c.jsxs)(r.table,{children:[(0,c.jsx)(r.thead,{children:(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.th,{children:"Command"}),(0,c.jsx)(r.th,{children:"Description"})]})}),(0,c.jsxs)(r.tbody,{children:[(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury up"})}),(0,c.jsxs)(r.td,{children:[(0,c.jsx)(r.strong,{children:"Recommended."})," Install service + start daemon + ensure running"]})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury"})}),(0,c.jsxs)(r.td,{children:["Start the agent (same as ",(0,c.jsx)(r.code,{children:"mercury start"}),")"]})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury start"})}),(0,c.jsx)(r.td,{children:"Start as background daemon (default)"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury start --foreground"})}),(0,c.jsxs)(r.td,{children:["Start in foreground (interactive) mode. Shorthand: ",(0,c.jsx)(r.code,{children:"-f"})]})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury restart"})}),(0,c.jsx)(r.td,{children:"Restart a background Mercury process"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury stop"})}),(0,c.jsx)(r.td,{children:"Stop a background Mercury process"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury logs"})}),(0,c.jsx)(r.td,{children:"Show last 100 lines of daemon logs"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury status"})}),(0,c.jsx)(r.td,{children:"Show config, providers, daemon PID, and budget"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury doctor"})}),(0,c.jsx)(r.td,{children:"Reconfigure settings \u2014 press Enter to keep current values"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury doctor --platform"})}),(0,c.jsx)(r.td,{children:"Show cross-platform terminal/daemon compatibility diagnostics"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury setup"})}),(0,c.jsx)(r.td,{children:"Re-run the setup wizard (same as doctor)"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury help"})}),(0,c.jsx)(r.td,{children:"Show the full manual (tools, commands, config paths)"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury service install"})}),(0,c.jsx)(r.td,{children:"Install as system service (auto-start on boot)"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury service uninstall"})}),(0,c.jsx)(r.td,{children:"Uninstall the system service"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury service status"})}),(0,c.jsx)(r.td,{children:"Show system service status"})]}),(0,c.jsxs)(r.tr,{children:[(0,c.jsx)(r.td,{children:(0,c.jsx)(r.code,{children:"mercury --verbose"})}),(0,c.jsx)(r.td,{children:"Start with debug logging on stderr"})]})]})]})}function h(e={}){let{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,c.jsx)(r,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},8453(e,r,t){t.d(r,{R:()=>n,x:()=>i});var s=t(6540);let c={},d=s.createContext(c);function n(e){let r=s.useContext(d);return s.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:n(e.components),s.createElement(d.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/37a27735.0a7b0e42.js b/docs/assets/js/37a27735.0a7b0e42.js
deleted file mode 100644
index d9fcb5ab..00000000
--- a/docs/assets/js/37a27735.0a7b0e42.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["263"],{7175(e,r,n){n.r(r),n.d(r,{metadata:()=>d,default:()=>h,frontMatter:()=>s,contentTitle:()=>c,toc:()=>o,assets:()=>l});var d=JSON.parse('{"id":"reference/provider-fallback","title":"Provider Fallback","description":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","source":"@site/docs/reference/provider-fallback.mdx","sourceDirName":"reference","slug":"/reference/provider-fallback","permalink":"/docs/reference/provider-fallback","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/provider-fallback.mdx","tags":[],"version":"current","frontMatter":{"id":"provider-fallback","title":"Provider Fallback"},"sidebar":"docsSidebar","previous":{"title":"Second Brain","permalink":"/docs/reference/second-brain"},"next":{"title":"Scheduling","permalink":"/docs/reference/scheduling"}}'),i=n(4848),t=n(8453);let s={id:"provider-fallback",title:"Provider Fallback"},c,l={},o=[{value:"Supported Providers",id:"supported-providers",level:2},{value:"Configuring Providers",id:"configuring-providers",level:2}];function a(e){let r={code:"code",h2:"h2",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.p,{children:"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."}),"\n",(0,i.jsx)(r.h2,{id:"supported-providers",children:"Supported Providers"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Provider"}),(0,i.jsx)(r.th,{children:"Default Model"}),(0,i.jsx)(r.th,{children:"API Key"}),(0,i.jsx)(r.th,{children:"Configuration"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"DeepSeek"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"deepseek-chat"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"DEEPSEEK_API_KEY"})}),(0,i.jsx)(r.td,{children:"Default provider, cost-effective"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"OpenAI"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"gpt-4o-mini"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"OPENAI_API_KEY"})}),(0,i.jsx)(r.td,{children:"GPT-4o-mini, GPT-4o, o3, etc."})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Anthropic"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"claude-sonnet-4-20250514"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"ANTHROPIC_API_KEY"})}),(0,i.jsx)(r.td,{children:"Claude Sonnet, Haiku, Opus"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Grok (xAI)"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"grok-4"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"GROK_API_KEY"})}),(0,i.jsx)(r.td,{children:"OpenAI-compatible endpoint"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Ollama Cloud"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"gpt-oss:120b"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"OLLAMA_CLOUD_API_KEY"})}),(0,i.jsx)(r.td,{children:"Remote Ollama models via API"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Ollama Local"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"gpt-oss:20b"})}),(0,i.jsx)(r.td,{children:"No key needed"}),(0,i.jsx)(r.td,{children:"Local Ollama instance (127.0.0.1:11434)"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"OpenAI Compatible"})}),(0,i.jsx)(r.td,{children:"Configurable"}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"OPENAI_COMPAT_API_KEY"})}),(0,i.jsx)(r.td,{children:"Any OpenAI-compatible server"})]})]})]}),"\n",(0,i.jsx)(r.h2,{id:"configuring-providers",children:"Configuring Providers"}),"\n",(0,i.jsxs)(r.p,{children:["Run ",(0,i.jsx)(r.code,{children:"mercury doctor"})," and enter API keys for the providers you want to use. You can also set environment variables directly or edit ",(0,i.jsx)(r.code,{children:"~/.mercury/mercury.yaml"}),"."]}),"\n",(0,i.jsxs)(r.p,{children:[":::tip Environment variables\nEach provider has env vars for its API key, base URL, and model. For example, DeepSeek uses ",(0,i.jsx)(r.code,{children:"DEEPSEEK_API_KEY"}),", ",(0,i.jsx)(r.code,{children:"DEEPSEEK_BASE_URL"}),", and ",(0,i.jsx)(r.code,{children:"DEEPSEEK_MODEL"}),". Ollama Local requires no API key \u2014 just set ",(0,i.jsx)(r.code,{children:"OLLAMA_LOCAL_ENABLED=true"})," and ",(0,i.jsx)(r.code,{children:"OLLAMA_LOCAL_MODEL"})," to your preferred local model.\n:::"]}),"\n",(0,i.jsx)(r.p,{children:":::warning More providers coming\nGoogle Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key.\n:::"})]})}function h(e={}){let{wrapper:r}={...(0,t.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},8453(e,r,n){n.d(r,{R:()=>s,x:()=>c});var d=n(6540);let i={},t=d.createContext(i);function s(e){let r=d.useContext(t);return d.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),d.createElement(t.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/37a27735.62cbe913.js b/docs/assets/js/37a27735.62cbe913.js
new file mode 100644
index 00000000..95fa0d75
--- /dev/null
+++ b/docs/assets/js/37a27735.62cbe913.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["263"],{7175(e,r,n){n.r(r),n.d(r,{metadata:()=>d,default:()=>h,frontMatter:()=>t,contentTitle:()=>c,toc:()=>o,assets:()=>l});var d=JSON.parse('{"id":"reference/provider-fallback","title":"Provider Fallback","description":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","source":"@site/docs/reference/provider-fallback.mdx","sourceDirName":"reference","slug":"/reference/provider-fallback","permalink":"/docs/reference/provider-fallback","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/provider-fallback.mdx","tags":[],"version":"current","frontMatter":{"id":"provider-fallback","title":"Provider Fallback"},"sidebar":"docsSidebar","previous":{"title":"Second Brain","permalink":"/docs/reference/second-brain"},"next":{"title":"Scheduling","permalink":"/docs/reference/scheduling"}}'),i=n(4848),s=n(8453);let t={id:"provider-fallback",title:"Provider Fallback"},c,l={},o=[{value:"Session Model Switching",id:"session-model-switching",level:2},{value:"Supported Providers",id:"supported-providers",level:2},{value:"Configuring Providers",id:"configuring-providers",level:2}];function a(e){let r={code:"code",h2:"h2",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.p,{children:"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."}),"\n",(0,i.jsx)(r.h2,{id:"session-model-switching",children:"Session Model Switching"}),"\n",(0,i.jsx)(r.p,{children:"You can switch the active provider/model at runtime without restarting Mercury:"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"/models"})," \u2014 shows configured providers and current active model"]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"/models use <provider>"})," \u2014 switches the active session model"]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.code,{children:"/models doctor"})," \u2014 points to setup flow for adding/configuring providers"]}),"\n"]}),"\n",(0,i.jsxs)(r.p,{children:["This is a session-level switch for the running process. Use ",(0,i.jsx)(r.code,{children:"mercury doctor"})," to change persisted defaults."]}),"\n",(0,i.jsx)(r.h2,{id:"supported-providers",children:"Supported Providers"}),"\n",(0,i.jsxs)(r.table,{children:[(0,i.jsx)(r.thead,{children:(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.th,{children:"Provider"}),(0,i.jsx)(r.th,{children:"Default Model"}),(0,i.jsx)(r.th,{children:"API Key"}),(0,i.jsx)(r.th,{children:"Configuration"})]})}),(0,i.jsxs)(r.tbody,{children:[(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"DeepSeek"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"deepseek-chat"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"DEEPSEEK_API_KEY"})}),(0,i.jsx)(r.td,{children:"Default provider, cost-effective"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"OpenAI"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"gpt-4o-mini"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"OPENAI_API_KEY"})}),(0,i.jsx)(r.td,{children:"GPT-4o-mini, GPT-4o, o3, etc."})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Anthropic"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"claude-sonnet-4-20250514"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"ANTHROPIC_API_KEY"})}),(0,i.jsx)(r.td,{children:"Claude Sonnet, Haiku, Opus"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Grok (xAI)"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"grok-4"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"GROK_API_KEY"})}),(0,i.jsx)(r.td,{children:"OpenAI-compatible endpoint"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Ollama Cloud"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"gpt-oss:120b"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"OLLAMA_CLOUD_API_KEY"})}),(0,i.jsx)(r.td,{children:"Remote Ollama models via API"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"Ollama Local"})}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"gpt-oss:20b"})}),(0,i.jsx)(r.td,{children:"No key needed"}),(0,i.jsx)(r.td,{children:"Local Ollama instance (127.0.0.1:11434)"})]}),(0,i.jsxs)(r.tr,{children:[(0,i.jsx)(r.td,{children:(0,i.jsx)(r.strong,{children:"OpenAI Compatible"})}),(0,i.jsx)(r.td,{children:"Configurable"}),(0,i.jsx)(r.td,{children:(0,i.jsx)(r.code,{children:"OPENAI_COMPAT_API_KEY"})}),(0,i.jsx)(r.td,{children:"Any OpenAI-compatible server"})]})]})]}),"\n",(0,i.jsx)(r.h2,{id:"configuring-providers",children:"Configuring Providers"}),"\n",(0,i.jsxs)(r.p,{children:["Run ",(0,i.jsx)(r.code,{children:"mercury doctor"})," and enter API keys for the providers you want to use. You can also set environment variables directly or edit ",(0,i.jsx)(r.code,{children:"~/.mercury/mercury.yaml"}),"."]}),"\n",(0,i.jsxs)(r.p,{children:[":::tip Environment variables\nEach provider has env vars for its API key, base URL, and model. For example, DeepSeek uses ",(0,i.jsx)(r.code,{children:"DEEPSEEK_API_KEY"}),", ",(0,i.jsx)(r.code,{children:"DEEPSEEK_BASE_URL"}),", and ",(0,i.jsx)(r.code,{children:"DEEPSEEK_MODEL"}),". Ollama Local requires no API key \u2014 just set ",(0,i.jsx)(r.code,{children:"OLLAMA_LOCAL_ENABLED=true"})," and ",(0,i.jsx)(r.code,{children:"OLLAMA_LOCAL_MODEL"})," to your preferred local model.\n:::"]}),"\n",(0,i.jsx)(r.p,{children:":::warning More providers coming\nGoogle Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key.\n:::"})]})}function h(e={}){let{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(a,{...e})}):a(e)}},8453(e,r,n){n.d(r,{R:()=>t,x:()=>c});var d=n(6540);let i={},s=d.createContext(i);function t(e){let r=d.useContext(s);return d.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),d.createElement(s.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/498.ac1279b5.js b/docs/assets/js/498.61bd0138.js
similarity index 75%
rename from docs/assets/js/498.ac1279b5.js
rename to docs/assets/js/498.61bd0138.js
index 729bb52a..01cd7e7f 100644
--- a/docs/assets/js/498.ac1279b5.js
+++ b/docs/assets/js/498.61bd0138.js
@@ -1 +1 @@
-(()=>{"use strict";var e,r,t,s,n,o={6897(e,r,t){t.d(r,{BH:()=>n,IH:()=>o,sx:()=>s});let s=[],n=["en"],o="search-index{dir}.json?_=feb5243d"}},i={};function a(e){var r=i[e];if(void 0!==r)return r.exports;var t=i[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.m=o,a.x=()=>{var e=a.O(void 0,["852"],()=>a(5655));return a.O(e)},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((r,t)=>(a.f[t](e,r),r),[])),a.u=e=>"assets/js/"+e+".c553d3d5.js",a.miniCssF=e=>""+e+".css",a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e=[],a.O=(r,t,s,n)=>{if(t){n=n||0;for(var o=e.length;o>0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[t,s,n];return}for(var i=1/0,o=0;o<e.length;o++){for(var t=e[o][0],s=e[o][1],n=e[o][2],u=!0,p=0;p<t.length;p++)(!1&n||i>=n)&&Object.keys(a.O).every(e=>a.O[e](t[p]))?t.splice(p--,1):(u=!1,n<i&&(i=n));if(u){e.splice(o--,1);var f=s();void 0!==f&&(r=f)}}return r},a.p="/",a.rv=()=>"1.7.11",r=a.x,a.x=()=>a.e("852").then(r),a.gca=function(e){return e=({})[e]||e,a.p+a.u(e)},t={498:1},a.f.i=(e,r)=>{t[e]||importScripts(a.p+a.u(e))},n=(s=self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push.bind(s),s.push=e=>{var r=e[0],s=e[1],o=e[2];for(var i in s)a.o(s,i)&&(a.m[i]=s[i]);for(o&&o(a);r.length;)t[r.pop()]=1;n(e)},a.ruid="[email protected]",a.x()})();
\ No newline at end of file
+(()=>{"use strict";var e,r,t,s,n,o={6897(e,r,t){t.d(r,{BH:()=>n,IH:()=>o,sx:()=>s});let s=[],n=["en"],o="search-index{dir}.json?_=4fefbd50"}},i={};function a(e){var r=i[e];if(void 0!==r)return r.exports;var t=i[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.m=o,a.x=()=>{var e=a.O(void 0,["852"],()=>a(5655));return a.O(e)},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((r,t)=>(a.f[t](e,r),r),[])),a.u=e=>"assets/js/"+e+".c553d3d5.js",a.miniCssF=e=>""+e+".css",a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e=[],a.O=(r,t,s,n)=>{if(t){n=n||0;for(var o=e.length;o>0&&e[o-1][2]>n;o--)e[o]=e[o-1];e[o]=[t,s,n];return}for(var i=1/0,o=0;o<e.length;o++){for(var t=e[o][0],s=e[o][1],n=e[o][2],u=!0,f=0;f<t.length;f++)(!1&n||i>=n)&&Object.keys(a.O).every(e=>a.O[e](t[f]))?t.splice(f--,1):(u=!1,n<i&&(i=n));if(u){e.splice(o--,1);var p=s();void 0!==p&&(r=p)}}return r},a.p="/",a.rv=()=>"1.7.11",r=a.x,a.x=()=>a.e("852").then(r),a.gca=function(e){return e=({})[e]||e,a.p+a.u(e)},t={498:1},a.f.i=(e,r)=>{t[e]||importScripts(a.p+a.u(e))},n=(s=self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push.bind(s),s.push=e=>{var r=e[0],s=e[1],o=e[2];for(var i in s)a.o(s,i)&&(a.m[i]=s[i]);for(o&&o(a);r.length;)t[r.pop()]=1;n(e)},a.ruid="[email protected]",a.x()})();
\ No newline at end of file
diff --git a/docs/assets/js/4df8d22c.80a809b4.js b/docs/assets/js/4df8d22c.80a809b4.js
deleted file mode 100644
index 0112987c..00000000
--- a/docs/assets/js/4df8d22c.80a809b4.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["523"],{1646(e,n,r){r.r(n),r.d(n,{metadata:()=>s,default:()=>u,frontMatter:()=>o,contentTitle:()=>d,toc:()=>i,assets:()=>c});var s=JSON.parse('{"id":"daemon-mode/daemon-mode","title":"Daemon Mode","description":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","source":"@site/docs/daemon-mode/background-mode.mdx","sourceDirName":"daemon-mode","slug":"/daemon-mode/daemon-mode","permalink":"/docs/daemon-mode/daemon-mode","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/background-mode.mdx","tags":[],"version":"current","frontMatter":{"id":"daemon-mode","title":"Daemon Mode"},"sidebar":"docsSidebar","previous":{"title":"In-Chat Commands","permalink":"/docs/cli-commands/in-chat-commands"},"next":{"title":"System Service (Auto-Start on Boot)","permalink":"/docs/daemon-mode/system-service"}}'),t=r(4848),a=r(8453);let o={id:"daemon-mode",title:"Daemon Mode"},d,c={},i=[{value:"Start",id:"start",level:2},{value:"Start in foreground",id:"start-in-foreground",level:2},{value:"The easy way: mercury up",id:"the-easy-way-mercury-up",level:2},{value:"Stop",id:"stop",level:2},{value:"Restart",id:"restart",level:2},{value:"View logs",id:"view-logs",level:2},{value:"Check status",id:"check-status",level:2}];function l(e){let n={code:"code",h2:"h2",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.p,{children:"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."}),"\n",(0,t.jsx)(n.h2,{id:"start",children:"Start"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"mercury start\n"})}),"\n",(0,t.jsxs)(n.p,{children:["Starts Mercury as a background daemon. Spawns a detached child process, writes a PID file to ",(0,t.jsx)(n.code,{children:"~/.mercury/daemon.pid"}),", and redirects output to ",(0,t.jsx)(n.code,{children:"~/.mercury/daemon.log"}),". Stale PID files are automatically cleaned up."]}),"\n",(0,t.jsx)(n.h2,{id:"start-in-foreground",children:"Start in foreground"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"mercury start --foreground\n"})}),"\n",(0,t.jsxs)(n.p,{children:["Runs Mercury attached to your terminal. Useful for debugging or when you want to see output directly. Shorthand: ",(0,t.jsx)(n.code,{children:"mercury start -f"}),"."]}),"\n",(0,t.jsx)(n.h2,{id:"the-easy-way-mercury-up",children:"The easy way: mercury up"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"mercury up\n"})}),"\n",(0,t.jsx)(n.p,{children:"This one command does everything: installs the system service if needed, starts the background daemon, and confirms Mercury is running. If it's already running, it just shows you the PID."}),"\n",(0,t.jsx)(n.h2,{id:"stop",children:"Stop"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"mercury stop\n"})}),"\n",(0,t.jsxs)(n.p,{children:["Sends ",(0,t.jsx)(n.code,{children:"SIGTERM"})," (",(0,t.jsx)(n.code,{children:"process.kill"})," on Windows) to the background process and removes the PID file."]}),"\n",(0,t.jsx)(n.h2,{id:"restart",children:"Restart"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"mercury restart\n"})}),"\n",(0,t.jsx)(n.p,{children:"Stops the running daemon (if any) and starts a fresh one. Useful when something isn't working right and you need a clean restart."}),"\n",(0,t.jsx)(n.h2,{id:"view-logs",children:"View logs"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"mercury logs\n"})}),"\n",(0,t.jsxs)(n.p,{children:["Shows the last 100 lines of ",(0,t.jsx)(n.code,{children:"~/.mercury/daemon.log"}),"."]}),"\n",(0,t.jsx)(n.h2,{id:"check-status",children:"Check status"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-bash",children:"mercury status\n"})}),"\n",(0,t.jsx)(n.p,{children:"Shows whether the daemon is running, its PID, and the log file path."}),"\n",(0,t.jsx)(n.p,{children:':::info Crash recovery\nBackground mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent "already running" false positives.\n:::'})]})}function u(e={}){let{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}},8453(e,n,r){r.d(n,{R:()=>o,x:()=>d});var s=r(6540);let t={},a=s.createContext(t);function o(e){let n=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:o(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4df8d22c.bb68aa6c.js b/docs/assets/js/4df8d22c.bb68aa6c.js
new file mode 100644
index 00000000..403403d9
--- /dev/null
+++ b/docs/assets/js/4df8d22c.bb68aa6c.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["523"],{1646(e,n,s){s.r(n),s.d(n,{metadata:()=>r,default:()=>h,frontMatter:()=>d,contentTitle:()=>o,toc:()=>l,assets:()=>c});var r=JSON.parse('{"id":"daemon-mode/daemon-mode","title":"Daemon Mode","description":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","source":"@site/docs/daemon-mode/background-mode.mdx","sourceDirName":"daemon-mode","slug":"/daemon-mode/daemon-mode","permalink":"/docs/daemon-mode/daemon-mode","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/background-mode.mdx","tags":[],"version":"current","frontMatter":{"id":"daemon-mode","title":"Daemon Mode"},"sidebar":"docsSidebar","previous":{"title":"In-Chat Commands","permalink":"/docs/cli-commands/in-chat-commands"},"next":{"title":"System Service (Auto-Start on Boot)","permalink":"/docs/daemon-mode/system-service"}}'),a=s(4848),t=s(8453);let d={id:"daemon-mode",title:"Daemon Mode"},o,c={},l=[{value:"Start",id:"start",level:2},{value:"Start in foreground",id:"start-in-foreground",level:2},{value:"The easy way: mercury up",id:"the-easy-way-mercury-up",level:2},{value:"Stop",id:"stop",level:2},{value:"Restart",id:"restart",level:2},{value:"View logs",id:"view-logs",level:2},{value:"Check status",id:"check-status",level:2},{value:"Background Tasks and Workers",id:"background-tasks-and-workers",level:2},{value:"Shell background tasks",id:"shell-background-tasks",level:3},{value:"Sub-agent workers",id:"sub-agent-workers",level:3}];function i(e){let n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,t.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.p,{children:"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."}),"\n",(0,a.jsx)(n.h2,{id:"start",children:"Start"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury start\n"})}),"\n",(0,a.jsxs)(n.p,{children:["Starts Mercury as a background daemon. Spawns a detached child process, writes a PID file to ",(0,a.jsx)(n.code,{children:"~/.mercury/daemon.pid"}),", and redirects output to ",(0,a.jsx)(n.code,{children:"~/.mercury/daemon.log"}),". Stale PID files are automatically cleaned up."]}),"\n",(0,a.jsx)(n.h2,{id:"start-in-foreground",children:"Start in foreground"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury start --foreground\n"})}),"\n",(0,a.jsxs)(n.p,{children:["Runs Mercury attached to your terminal. Useful for debugging or when you want to see output directly. Shorthand: ",(0,a.jsx)(n.code,{children:"mercury start -f"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"the-easy-way-mercury-up",children:"The easy way: mercury up"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury up\n"})}),"\n",(0,a.jsx)(n.p,{children:"This one command does everything: installs the system service if needed, starts the background daemon, and confirms Mercury is running. If it's already running, it just shows you the PID."}),"\n",(0,a.jsx)(n.h2,{id:"stop",children:"Stop"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury stop\n"})}),"\n",(0,a.jsxs)(n.p,{children:["Sends ",(0,a.jsx)(n.code,{children:"SIGTERM"})," (",(0,a.jsx)(n.code,{children:"process.kill"})," on Windows) to the background process and removes the PID file."]}),"\n",(0,a.jsx)(n.h2,{id:"restart",children:"Restart"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury restart\n"})}),"\n",(0,a.jsx)(n.p,{children:"Stops the running daemon (if any) and starts a fresh one. Useful when something isn't working right and you need a clean restart."}),"\n",(0,a.jsx)(n.h2,{id:"view-logs",children:"View logs"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury logs\n"})}),"\n",(0,a.jsxs)(n.p,{children:["Shows the last 100 lines of ",(0,a.jsx)(n.code,{children:"~/.mercury/daemon.log"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"check-status",children:"Check status"}),"\n",(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-bash",children:"mercury status\n"})}),"\n",(0,a.jsx)(n.p,{children:"Shows whether the daemon is running, its PID, and the log file path."}),"\n",(0,a.jsx)(n.p,{children:':::info Crash recovery\nBackground mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent "already running" false positives.\n:::'}),"\n",(0,a.jsx)(n.h2,{id:"background-tasks-and-workers",children:"Background Tasks and Workers"}),"\n",(0,a.jsx)(n.p,{children:"Daemon mode supports async background execution for both shell commands and delegated sub-agent work."}),"\n",(0,a.jsx)(n.h3,{id:"shell-background-tasks",children:"Shell background tasks"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:["Start with ",(0,a.jsx)(n.code,{children:"/bg <command>"})]}),"\n",(0,a.jsxs)(n.li,{children:["Inspect with ",(0,a.jsx)(n.code,{children:"/bg list"})," and ",(0,a.jsx)(n.code,{children:"/bg <id>"})]}),"\n",(0,a.jsxs)(n.li,{children:["Cancel with ",(0,a.jsx)(n.code,{children:"/bg cancel <id>"})]}),"\n"]}),"\n",(0,a.jsx)(n.h3,{id:"sub-agent-workers",children:"Sub-agent workers"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:["Delegate coding with ",(0,a.jsx)(n.code,{children:"/code agent <task>"})," or ",(0,a.jsx)(n.code,{children:"/bg: <task>"})]}),"\n",(0,a.jsxs)(n.li,{children:["Move active task to worker with ",(0,a.jsx)(n.code,{children:"/bg current"})]}),"\n",(0,a.jsxs)(n.li,{children:["Worker progress/completion is surfaced in the shared background task board (",(0,a.jsx)(n.code,{children:"/bg list"}),")"]}),"\n"]}),"\n",(0,a.jsx)(n.p,{children:"These workers are designed to keep Mercury responsive while long-running work continues."})]})}function h(e={}){let{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(i,{...e})}):i(e)}},8453(e,n,s){s.d(n,{R:()=>d,x:()=>o});var r=s(6540);let a={},t=r.createContext(a);function d(e){let n=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:d(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/653db0f6.575741d9.js b/docs/assets/js/653db0f6.575741d9.js
new file mode 100644
index 00000000..2bd2353e
--- /dev/null
+++ b/docs/assets/js/653db0f6.575741d9.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["904"],{439(e,l,s){s.r(l),s.d(l,{metadata:()=>i,default:()=>h,frontMatter:()=>r,contentTitle:()=>c,toc:()=>a,assets:()=>d});var i=JSON.parse('{"id":"reference/skills","title":"Skills","description":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","source":"@site/docs/reference/skills.mdx","sourceDirName":"reference","slug":"/reference/skills","permalink":"/docs/reference/skills","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/skills.mdx","tags":[],"version":"current","frontMatter":{"id":"skills","title":"Skills"},"sidebar":"docsSidebar","previous":{"title":"Scheduling","permalink":"/docs/reference/scheduling"},"next":{"title":"Releases","permalink":"/docs/releases/"}}'),n=s(4848),t=s(8453);let r={id:"skills",title:"Skills"},c,d={},a=[{value:"Default skills",id:"default-skills",level:2},{value:"Installing",id:"installing",level:2},{value:"Invoking",id:"invoking",level:2},{value:"Scheduling a skill",id:"scheduling-a-skill",level:2}];function o(e){let l={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,t.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.p,{children:["Skills are markdown-based extensions that live in ",(0,n.jsx)(l.code,{children:"~/.mercury/skills/<name>/SKILL.md"}),"."]}),"\n",(0,n.jsx)(l.h2,{id:"default-skills",children:"Default skills"}),"\n",(0,n.jsxs)(l.p,{children:["On first run, Mercury seeds a built-in ",(0,n.jsx)(l.code,{children:"web-search"})," skill at:"]}),"\n",(0,n.jsx)(l.p,{children:(0,n.jsx)(l.code,{children:"~/.mercury/skills/web-search/SKILL.md"})}),"\n",(0,n.jsxs)(l.p,{children:["If you already have your own ",(0,n.jsx)(l.code,{children:"web-search"})," skill, Mercury does not overwrite it."]}),"\n",(0,n.jsx)(l.h2,{id:"installing",children:"Installing"}),"\n",(0,n.jsx)(l.p,{children:"Tell Mercury in conversation:"}),"\n",(0,n.jsxs)(l.ul,{children:["\n",(0,n.jsxs)(l.li,{children:['"Install skill from ',(0,n.jsx)(l.a,{href:"https://example.com/my-skill.md",children:"https://example.com/my-skill.md"}),'"']}),"\n",(0,n.jsx)(l.li,{children:"Or paste the SKILL.md content directly"}),"\n"]}),"\n",(0,n.jsx)(l.h2,{id:"invoking",children:"Invoking"}),"\n",(0,n.jsxs)(l.ul,{children:["\n",(0,n.jsx)(l.li,{children:'"Use the daily-digest skill"'}),"\n"]}),"\n",(0,n.jsx)(l.h2,{id:"scheduling-a-skill",children:"Scheduling a skill"}),"\n",(0,n.jsxs)(l.ul,{children:["\n",(0,n.jsx)(l.li,{children:'"Remind me daily at 9am to run the daily-digest skill"'}),"\n"]}),"\n",(0,n.jsxs)(l.p,{children:["Skills follow the ",(0,n.jsx)(l.a,{href:"https://agentskills.io",children:"Agent Skills specification"}),". They get elevated permissions via ",(0,n.jsx)(l.code,{children:"allowed-tools"})," and are loaded with progressive disclosure to save tokens."]})]})}function h(e={}){let{wrapper:l}={...(0,t.R)(),...e.components};return l?(0,n.jsx)(l,{...e,children:(0,n.jsx)(o,{...e})}):o(e)}},8453(e,l,s){s.d(l,{R:()=>r,x:()=>c});var i=s(6540);let n={},t=i.createContext(n);function r(e){let l=i.useContext(t);return i.useMemo(function(){return"function"==typeof e?e(l):{...l,...e}},[l,e])}function c(e){let l;return l=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:r(e.components),i.createElement(t.Provider,{value:l},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/653db0f6.be54bbf6.js b/docs/assets/js/653db0f6.be54bbf6.js
deleted file mode 100644
index ed982bfc..00000000
--- a/docs/assets/js/653db0f6.be54bbf6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["904"],{439(e,l,n){n.r(l),n.d(l,{metadata:()=>s,default:()=>h,frontMatter:()=>r,contentTitle:()=>c,toc:()=>a,assets:()=>d});var s=JSON.parse('{"id":"reference/skills","title":"Skills","description":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","source":"@site/docs/reference/skills.mdx","sourceDirName":"reference","slug":"/reference/skills","permalink":"/docs/reference/skills","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/skills.mdx","tags":[],"version":"current","frontMatter":{"id":"skills","title":"Skills"},"sidebar":"docsSidebar","previous":{"title":"Scheduling","permalink":"/docs/reference/scheduling"}}'),i=n(4848),t=n(8453);let r={id:"skills",title:"Skills"},c,d={},a=[{value:"Installing",id:"installing",level:2},{value:"Invoking",id:"invoking",level:2},{value:"Scheduling a skill",id:"scheduling-a-skill",level:2}];function o(e){let l={a:"a",code:"code",h2:"h2",li:"li",p:"p",ul:"ul",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l.p,{children:["Skills are markdown-based extensions that live in ",(0,i.jsx)(l.code,{children:"~/.mercury/skills/<name>/SKILL.md"}),"."]}),"\n",(0,i.jsx)(l.h2,{id:"installing",children:"Installing"}),"\n",(0,i.jsx)(l.p,{children:"Tell Mercury in conversation:"}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsxs)(l.li,{children:['"Install skill from ',(0,i.jsx)(l.a,{href:"https://example.com/my-skill.md",children:"https://example.com/my-skill.md"}),'"']}),"\n",(0,i.jsx)(l.li,{children:"Or paste the SKILL.md content directly"}),"\n"]}),"\n",(0,i.jsx)(l.h2,{id:"invoking",children:"Invoking"}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:'"Use the daily-digest skill"'}),"\n"]}),"\n",(0,i.jsx)(l.h2,{id:"scheduling-a-skill",children:"Scheduling a skill"}),"\n",(0,i.jsxs)(l.ul,{children:["\n",(0,i.jsx)(l.li,{children:'"Remind me daily at 9am to run the daily-digest skill"'}),"\n"]}),"\n",(0,i.jsxs)(l.p,{children:["Skills follow the ",(0,i.jsx)(l.a,{href:"https://agentskills.io",children:"Agent Skills specification"}),". They get elevated permissions via ",(0,i.jsx)(l.code,{children:"allowed-tools"})," and are loaded with progressive disclosure to save tokens."]})]})}function h(e={}){let{wrapper:l}={...(0,t.R)(),...e.components};return l?(0,i.jsx)(l,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},8453(e,l,n){n.d(l,{R:()=>r,x:()=>c});var s=n(6540);let i={},t=s.createContext(i);function r(e){let l=s.useContext(t);return s.useMemo(function(){return"function"==typeof e?e(l):{...l,...e}},[l,e])}function c(e){let l;return l=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),s.createElement(t.Provider,{value:l},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8b9e049f.6aa3b5f4.js b/docs/assets/js/8b9e049f.6aa3b5f4.js
deleted file mode 100644
index 257ac50e..00000000
--- a/docs/assets/js/8b9e049f.6aa3b5f4.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["203"],{5699(e,t,n){n.r(t),n.d(t,{metadata:()=>r,default:()=>u,frontMatter:()=>s,contentTitle:()=>i,toc:()=>l,assets:()=>d});var r=JSON.parse('{"id":"cli-commands/doctor","title":"Doctor (Reconfigure)","description":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","source":"@site/docs/cli-commands/doctor.mdx","sourceDirName":"cli-commands","slug":"/cli-commands/doctor","permalink":"/docs/cli-commands/doctor","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/doctor.mdx","tags":[],"version":"current","frontMatter":{"id":"doctor","title":"Doctor (Reconfigure)"},"sidebar":"docsSidebar","previous":{"title":"Full Command Reference","permalink":"/docs/cli-commands/cli-commands"},"next":{"title":"In-Chat Commands","permalink":"/docs/cli-commands/in-chat-commands"}}'),o=n(4848),c=n(8453);let s={id:"doctor",title:"Doctor (Reconfigure)"},i,d={},l=[];function a(e){let t={code:"code",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,c.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.code,{children:"mercury doctor"})," re-runs the setup wizard with your current values pre-filled. Press ",(0,o.jsx)(t.strong,{children:"Enter"})," on any field to keep it unchanged, or type a new value to replace it."]}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"API keys"})," are shown masked: ",(0,o.jsx)(t.code,{children:"sk-x\u2022\u2022\u2022\u20224f2a"})]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Providers and models"})," can be reselected; Mercury fetches models again for changed credentials"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Telegram token"})," \u2014 type ",(0,o.jsx)(t.code,{children:"none"})," to disable Telegram, or paste a token to start the pairing-code flow"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Daily budget"})," \u2014 change the token budget limit"]}),"\n"]}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-bash",children:"mercury doctor\n"})})]})}function u(e={}){let{wrapper:t}={...(0,c.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},8453(e,t,n){n.d(t,{R:()=>s,x:()=>i});var r=n(6540);let o={},c=r.createContext(o);function s(e){let t=r.useContext(c);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(c.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8b9e049f.9066b1a6.js b/docs/assets/js/8b9e049f.9066b1a6.js
new file mode 100644
index 00000000..6ffd6651
--- /dev/null
+++ b/docs/assets/js/8b9e049f.9066b1a6.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["203"],{5699(e,n,r){r.r(n),r.d(n,{metadata:()=>t,default:()=>u,frontMatter:()=>i,contentTitle:()=>o,toc:()=>d,assets:()=>l});var t=JSON.parse('{"id":"cli-commands/doctor","title":"Doctor (Reconfigure)","description":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","source":"@site/docs/cli-commands/doctor.mdx","sourceDirName":"cli-commands","slug":"/cli-commands/doctor","permalink":"/docs/cli-commands/doctor","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/doctor.mdx","tags":[],"version":"current","frontMatter":{"id":"doctor","title":"Doctor (Reconfigure)"},"sidebar":"docsSidebar","previous":{"title":"Full Command Reference","permalink":"/docs/cli-commands/cli-commands"},"next":{"title":"In-Chat Commands","permalink":"/docs/cli-commands/in-chat-commands"}}'),s=r(4848),c=r(8453);let i={id:"doctor",title:"Doctor (Reconfigure)"},o,l={},d=[{value:"Platform Diagnostics",id:"platform-diagnostics",level:2}];function a(e){let n={code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"mercury doctor"})," re-runs the setup wizard with your current values pre-filled. Press ",(0,s.jsx)(n.strong,{children:"Enter"})," on any field to keep it unchanged, or type a new value to replace it."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"API keys"})," are shown masked: ",(0,s.jsx)(n.code,{children:"sk-x\u2022\u2022\u2022\u20224f2a"})]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Providers and models"})," can be reselected; Mercury fetches models again for changed credentials"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Telegram token"})," \u2014 type ",(0,s.jsx)(n.code,{children:"none"})," to disable Telegram, or paste a token to start the pairing-code flow"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Daily budget"})," \u2014 change the token budget limit"]}),"\n"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"mercury doctor\n"})}),"\n",(0,s.jsx)(n.h2,{id:"platform-diagnostics",children:"Platform Diagnostics"}),"\n",(0,s.jsxs)(n.p,{children:["Use ",(0,s.jsx)(n.code,{children:"--platform"})," to run a non-destructive compatibility check for your current environment:"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"mercury doctor --platform\n"})}),"\n",(0,s.jsx)(n.p,{children:"This prints:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"OS + architecture"}),"\n",(0,s.jsx)(n.li,{children:"Node.js version"}),"\n",(0,s.jsx)(n.li,{children:"Terminal + TTY/raw-mode capability"}),"\n",(0,s.jsx)(n.li,{children:"SSH/CI detection"}),"\n",(0,s.jsx)(n.li,{children:"Daemon status"}),"\n",(0,s.jsx)(n.li,{children:"Spotify inline-art support status"}),"\n",(0,s.jsxs)(n.li,{children:["Keybinding fallbacks (",(0,s.jsx)(n.code,{children:"/view"}),", ",(0,s.jsx)(n.code,{children:"/ws exit"}),", etc.)"]}),"\n"]})]})}function u(e={}){let{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},8453(e,n,r){r.d(n,{R:()=>i,x:()=>o});var t=r(6540);let s={},c=t.createContext(s);function i(e){let n=t.useContext(c);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),t.createElement(c.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a06fff0d.72dc6f75.js b/docs/assets/js/a06fff0d.72dc6f75.js
deleted file mode 100644
index a2af01a9..00000000
--- a/docs/assets/js/a06fff0d.72dc6f75.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["225"],{8019(e,n,t){t.r(n),t.d(n,{metadata:()=>s,default:()=>h,frontMatter:()=>l,contentTitle:()=>a,toc:()=>o,assets:()=>d});var s=JSON.parse('{"id":"integrations/sub-agents","title":"Sub-Agents (Multi-Agent Mode)","description":"Mercury isn\'t just a chatbot \u2014 it\'s an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","source":"@site/docs/integrations/sub-agents.mdx","sourceDirName":"integrations","slug":"/integrations/sub-agents","permalink":"/docs/integrations/sub-agents","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/sub-agents.mdx","tags":[],"version":"current","frontMatter":{"id":"sub-agents","title":"Sub-Agents (Multi-Agent Mode)"},"sidebar":"docsSidebar","previous":{"title":"Spotify Integration","permalink":"/docs/integrations/spotify"},"next":{"title":"Built-in Tools","permalink":"/docs/reference/built-in-tools"}}'),i=t(4848),r=t(8453);let l={id:"sub-agents",title:"Sub-Agents (Multi-Agent Mode)"},a,d={},o=[{value:"Why Sub-Agents Matter",id:"why-sub-agents-matter",level:2},{value:"How It Works",id:"how-it-works",level:2},{value:"Commands",id:"commands",level:2},{value:"Delegation Tools",id:"delegation-tools",level:2},{value:"Architecture",id:"architecture",level:2},{value:"When Mercury Uses Sub-Agents",id:"when-mercury-uses-sub-agents",level:2},{value:"What Happens While Agents Work",id:"what-happens-while-agents-work",level:2},{value:"Configuration",id:"configuration",level:2},{value:"Programming Mode",id:"programming-mode",level:2},{value:"Programming Mode + Sub-Agents",id:"programming-mode--sub-agents",level:2}];function c(e){let n={code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(n.p,{children:["Mercury isn't just a chatbot \u2014 it's an ",(0,i.jsx)(n.strong,{children:"orchestrator"}),". It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."]}),"\n",(0,i.jsx)(n.h2,{id:"why-sub-agents-matter",children:"Why Sub-Agents Matter"}),"\n",(0,i.jsx)(n.p,{children:'Traditional AI agents are single-threaded: one context window, one task at a time. If you ask Mercury to "research this topic, write the code, and review the result," it does them sequentially \u2014 each step blocks the next.'}),"\n",(0,i.jsx)(n.p,{children:"Sub-agents break this bottleneck:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Parallel execution"})," \u2014 Multiple tasks run simultaneously across isolated context windows"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"LLM-driven delegation"})," \u2014 Mercury itself decides when to delegate based on task complexity"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Non-blocking"})," \u2014 You can keep chatting with Mercury while sub-agents work in the background"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"File locks"})," \u2014 Reader-writer locks prevent concurrent write conflicts between agents"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Resource-aware"})," \u2014 Max concurrent agents is auto-detected from your system's CPU and RAM"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"how-it-works",children:"How It Works"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'You: "Build a REST API for users and write integration tests"\n\nMercury decides to delegate:\n \u{1F916} Multi-agent mode activated.\n **Agent a1** is now working on: "Build REST API endpoints for users"\n **Agent a2** is now working on: "Write integration tests for user endpoints"\n Active agents: 2/4\n\n You can continue chatting while the agents work.\n Use /agents to check status.\n\nMercury: I\'ve delegated both tasks to parallel agents. Agent a1 is building the API\n and agent a2 is writing tests. They\'ll work independently.\n\n (you continue chatting normally)\n\n \u{1F504} Agent a1: Using: read_file, create_file\n \u{1F504} Agent a2: Using: list_dir, read_file\n\n \u2705 **Agent a1** completed (12.3s): "REST API built with 5 endpoints"\n \u2705 **Agent a2** completed (18.7s): "12 integration tests passing"\n\n Both agents are done. Want me to review the results together?\n'})}),"\n",(0,i.jsx)(n.h2,{id:"commands",children:"Commands"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Command"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"/agents"})}),(0,i.jsx)(n.td,{children:"List all sub-agents (running and completed)"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"/halt"})}),(0,i.jsx)(n.td,{children:"Emergency: halt all sub-agents and clear the task queue"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"/stop"})}),(0,i.jsx)(n.td,{children:"Full reset: halt agents, clear queue, release locks, clear task board"})]})]})]}),"\n",(0,i.jsxs)(n.p,{children:["Slash commands like ",(0,i.jsx)(n.code,{children:"/agents"}),", ",(0,i.jsx)(n.code,{children:"/halt"}),", ",(0,i.jsx)(n.code,{children:"/stop"}),", ",(0,i.jsx)(n.code,{children:"/spotify"}),", and ",(0,i.jsx)(n.code,{children:"/code status"})," work ",(0,i.jsx)(n.strong,{children:"even while the main agent is busy"})," \u2014 they're processed immediately on a fast path."]}),"\n",(0,i.jsx)(n.h2,{id:"delegation-tools",children:"Delegation Tools"}),"\n",(0,i.jsx)(n.p,{children:"Mercury uses these tools to manage sub-agents:"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Tool"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"delegate_task"})}),(0,i.jsx)(n.td,{children:"Spawn a sub-agent with a task description and optional context"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"list_agents"})}),(0,i.jsx)(n.td,{children:"Show all running and completed sub-agents"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"stop_agent"})}),(0,i.jsx)(n.td,{children:"Halt a specific running sub-agent by ID"})]})]})]}),"\n",(0,i.jsxs)(n.p,{children:["When Mercury decides a task is complex enough to benefit from parallel execution, it calls ",(0,i.jsx)(n.code,{children:"delegate_task"}),". You'll see a response like:"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:"\u{1F916} Multi-agent mode activated.\n\n**Agent a1** is now working on: \"Analyze the codebase structure for...\"\nActive agents: 1/4\n\nYou can continue chatting while the agent works. I'll notify you when it's done.\nUse /agents to check status.\n"})}),"\n",(0,i.jsx)(n.h2,{id:"architecture",children:"Architecture"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'User message \u2192 Main Agent (orchestrator)\n \u251C\u2500 delegate_task("research X") \u2192 Sub-Agent a1 (isolated context)\n \u251C\u2500 delegate_task("implement Y") \u2192 Sub-Agent a2 (isolated context)\n \u2514\u2500 continues conversation \u2192 responds to user\n \u2502\n a1: "\u{1F504} Using: read_file"\n a1: "\u{1F504} Using: edit_file"\n a2: "\u{1F504} Using: list_dir"\n a1: "\u2705 completed (8.2s)"\n a2: "\u{1F504} Using: create_file"\n a2: "\u2705 completed (15.1s)"\n'})}),"\n",(0,i.jsx)(n.p,{children:"Each sub-agent:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Has its ",(0,i.jsx)(n.strong,{children:"own context window"})," \u2014 the main agent's conversation doesn't pollute it"]}),"\n",(0,i.jsxs)(n.li,{children:["Runs an independent ",(0,i.jsx)(n.strong,{children:"10-step agentic loop"})," with the same tool access"]}),"\n",(0,i.jsxs)(n.li,{children:["Uses the ",(0,i.jsx)(n.strong,{children:"same permission system"})," \u2014 but with auto-approve for the task's scope"]}),"\n",(0,i.jsxs)(n.li,{children:["Reports progress via the ",(0,i.jsx)(n.strong,{children:"notification channel"})," (CLI or Telegram)"]}),"\n",(0,i.jsxs)(n.li,{children:["Respects ",(0,i.jsx)(n.strong,{children:"file locks"})," \u2014 if a1 is writing a file, a2 waits for the lock"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"when-mercury-uses-sub-agents",children:"When Mercury Uses Sub-Agents"}),"\n",(0,i.jsx)(n.p,{children:"Mercury decides to delegate when:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["A task is ",(0,i.jsx)(n.strong,{children:"naturally parallelizable"}),' (e.g., "research X while I code Y")']}),"\n",(0,i.jsxs)(n.li,{children:["The task benefits from an ",(0,i.jsx)(n.strong,{children:"isolated context window"})," (no pollution from the main conversation)"]}),"\n",(0,i.jsxs)(n.li,{children:["A task is ",(0,i.jsx)(n.strong,{children:"complex enough"})," to warrant dedicated focus"]}),"\n",(0,i.jsxs)(n.li,{children:["Multiple ",(0,i.jsx)(n.strong,{children:"independent investigations"})," would save time"]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:'You can also ask Mercury explicitly: "Use two agents for this" or "Delegate this task."'}),"\n",(0,i.jsx)(n.h2,{id:"what-happens-while-agents-work",children:"What Happens While Agents Work"}),"\n",(0,i.jsx)(n.p,{children:"You can keep chatting normally. Mercury processes your messages as they come in. Sub-agent progress and completion appear as notification messages in your channel:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'\u{1F504} Agent a1: Starting task...\n\u{1F504} Agent a1: Using: read_file, edit_file\n\u{1F504} Agent a2: Using: fetch_url, create_file\n\u2705 Agent a1 completed (8.2s): "Analyzed the codebase..."\n\u{1F504} Agent a2: Using: run_command\n\u2705 Agent a2 completed (14.5s): "Tests passing..."\n'})}),"\n",(0,i.jsxs)(n.p,{children:["If you send ",(0,i.jsx)(n.code,{children:"/agents"}),", you'll see the full status:"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:"**Sub-Agents:**\n\n\u{1F504} a1: Build REST API endpoints \u2014 running (Using: read_file)\n\u23F3 a2: Write integration tests \u2014 pending\n"})}),"\n",(0,i.jsx)(n.h2,{id:"configuration",children:"Configuration"}),"\n",(0,i.jsxs)(n.p,{children:["Sub-agents are configured in ",(0,i.jsx)(n.code,{children:"~/.mercury/mercury.yaml"}),":"]}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:'subagents:\n enabled: true\n maxConcurrent: auto # auto-detected from CPU/RAM, or set manually (e.g., 4)\n mode: auto # "auto" (LLM decides) or "manual" (user controls)\n'})}),"\n",(0,i.jsx)(n.p,{children:"Environment variable overrides:"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Variable"}),(0,i.jsx)(n.th,{children:"Description"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"SUBAGENTS_ENABLED"})}),(0,i.jsx)(n.td,{children:"Enable/disable sub-agents"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"SUBAGENTS_MAX_CONCURRENT"})}),(0,i.jsx)(n.td,{children:"Max number of concurrent agents"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"SUBAGENTS_MODE"})}),(0,i.jsxs)(n.td,{children:[(0,i.jsx)(n.code,{children:"auto"})," or ",(0,i.jsx)(n.code,{children:"manual"})]})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"programming-mode",children:"Programming Mode"}),"\n",(0,i.jsx)(n.p,{children:"Sub-agents pair well with Mercury's programming mode for code tasks:"}),"\n",(0,i.jsxs)(n.table,{children:[(0,i.jsx)(n.thead,{children:(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.th,{children:"Command"}),(0,i.jsx)(n.th,{children:"Mode"}),(0,i.jsx)(n.th,{children:"Behavior"})]})}),(0,i.jsxs)(n.tbody,{children:[(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"/code plan"})}),(0,i.jsx)(n.td,{children:"Plan"}),(0,i.jsx)(n.td,{children:"Analyze without writing code"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"/code execute"})}),(0,i.jsx)(n.td,{children:"Execute"}),(0,i.jsx)(n.td,{children:"Implement step by step"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"/code off"})}),(0,i.jsx)(n.td,{children:"Off"}),(0,i.jsx)(n.td,{children:"Normal conversation"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"/code toggle"})}),(0,i.jsx)(n.td,{children:"\u2014"}),(0,i.jsx)(n.td,{children:"Cycle through modes"})]}),(0,i.jsxs)(n.tr,{children:[(0,i.jsx)(n.td,{children:(0,i.jsx)(n.code,{children:"/code status"})}),(0,i.jsx)(n.td,{children:"\u2014"}),(0,i.jsx)(n.td,{children:"Show current mode"})]})]})]}),"\n",(0,i.jsx)(n.h2,{id:"programming-mode--sub-agents",children:"Programming Mode + Sub-Agents"}),"\n",(0,i.jsxs)(n.p,{children:["When ",(0,i.jsx)(n.code,{children:"/code plan"})," is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during ",(0,i.jsx)(n.code,{children:"/code execute"}),". The ",(0,i.jsx)(n.code,{children:"ask_user"})," tool lets Mercury present choices at decision points \u2014 on CLI this is an arrow-key menu, on Telegram it's inline buttons."]})]})}function h(e={}){let{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},8453(e,n,t){t.d(n,{R:()=>l,x:()=>a});var s=t(6540);let i={},r=s.createContext(i);function l(e){let n=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a06fff0d.a5831abf.js b/docs/assets/js/a06fff0d.a5831abf.js
new file mode 100644
index 00000000..485e8179
--- /dev/null
+++ b/docs/assets/js/a06fff0d.a5831abf.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["225"],{8019(e,n,s){s.r(n),s.d(n,{metadata:()=>t,default:()=>h,frontMatter:()=>l,contentTitle:()=>d,toc:()=>c,assets:()=>a});var t=JSON.parse('{"id":"integrations/sub-agents","title":"Sub-Agents (Multi-Agent Mode)","description":"Mercury isn\'t just a chatbot \u2014 it\'s an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","source":"@site/docs/integrations/sub-agents.mdx","sourceDirName":"integrations","slug":"/integrations/sub-agents","permalink":"/docs/integrations/sub-agents","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/sub-agents.mdx","tags":[],"version":"current","frontMatter":{"id":"sub-agents","title":"Sub-Agents (Multi-Agent Mode)"},"sidebar":"docsSidebar","previous":{"title":"Coding Workspace (IDE Mode)","permalink":"/docs/integrations/coding-workspace"},"next":{"title":"Built-in Tools","permalink":"/docs/reference/built-in-tools"}}'),r=s(4848),i=s(8453);let l={id:"sub-agents",title:"Sub-Agents (Multi-Agent Mode)"},d,a={},c=[{value:"Why Sub-Agents Matter",id:"why-sub-agents-matter",level:2},{value:"How It Works",id:"how-it-works",level:2},{value:"Commands",id:"commands",level:2},{value:"Delegation Tools",id:"delegation-tools",level:2},{value:"Architecture",id:"architecture",level:2},{value:"When Mercury Uses Sub-Agents",id:"when-mercury-uses-sub-agents",level:2},{value:"What Happens While Agents Work",id:"what-happens-while-agents-work",level:2},{value:"Configuration",id:"configuration",level:2},{value:"Programming Mode",id:"programming-mode",level:2},{value:"Programming Mode + Sub-Agents",id:"programming-mode--sub-agents",level:2}];function o(e){let n={code:"code",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(n.p,{children:["Mercury isn't just a chatbot \u2014 it's an ",(0,r.jsx)(n.strong,{children:"orchestrator"}),". It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."]}),"\n",(0,r.jsx)(n.h2,{id:"why-sub-agents-matter",children:"Why Sub-Agents Matter"}),"\n",(0,r.jsx)(n.p,{children:'Traditional AI agents are single-threaded: one context window, one task at a time. If you ask Mercury to "research this topic, write the code, and review the result," it does them sequentially \u2014 each step blocks the next.'}),"\n",(0,r.jsx)(n.p,{children:"Sub-agents break this bottleneck:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Parallel execution"})," \u2014 Multiple tasks run simultaneously across isolated context windows"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"LLM-driven delegation"})," \u2014 Mercury itself decides when to delegate based on task complexity"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Non-blocking"})," \u2014 You can keep chatting with Mercury while sub-agents work in the background"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"File locks"})," \u2014 Reader-writer locks prevent concurrent write conflicts between agents"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Resource-aware"})," \u2014 Max concurrent agents is auto-detected from your system's CPU and RAM"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"how-it-works",children:"How It Works"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:'You: "Build a REST API for users and write integration tests"\n\nMercury decides to delegate:\n \u{1F916} Multi-agent mode activated.\n **Agent a1** is now working on: "Build REST API endpoints for users"\n **Agent a2** is now working on: "Write integration tests for user endpoints"\n Active agents: 2/4\n\n You can continue chatting while the agents work.\n Use /agents to check status.\n\nMercury: I\'ve delegated both tasks to parallel agents. Agent a1 is building the API\n and agent a2 is writing tests. They\'ll work independently.\n\n (you continue chatting normally)\n\n \u{1F504} Agent a1: Using: read_file, create_file\n \u{1F504} Agent a2: Using: list_dir, read_file\n\n \u2705 **Agent a1** completed (12.3s): "REST API built with 5 endpoints"\n \u2705 **Agent a2** completed (18.7s): "12 integration tests passing"\n\n Both agents are done. Want me to review the results together?\n'})}),"\n",(0,r.jsx)(n.h2,{id:"commands",children:"Commands"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Command"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/agents"})}),(0,r.jsx)(n.td,{children:"List all sub-agents (running and completed)"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code agent <task>"})}),(0,r.jsx)(n.td,{children:"Delegate a coding task to a sub-agent immediately"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/bg: <task>"})}),(0,r.jsx)(n.td,{children:"Run a natural-language sub-agent task in background"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/bg current"})}),(0,r.jsx)(n.td,{children:"Move current in-flight task to a background sub-agent"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/bg list"})}),(0,r.jsx)(n.td,{children:"List shell + sub-agent background tasks"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/halt"})}),(0,r.jsx)(n.td,{children:"Emergency: halt all sub-agents and clear the task queue"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/stop"})}),(0,r.jsx)(n.td,{children:"Full reset: halt agents, clear queue, release locks, clear task board"})]})]})]}),"\n",(0,r.jsxs)(n.p,{children:["Slash commands like ",(0,r.jsx)(n.code,{children:"/agents"}),", ",(0,r.jsx)(n.code,{children:"/halt"}),", ",(0,r.jsx)(n.code,{children:"/stop"}),", ",(0,r.jsx)(n.code,{children:"/spotify"}),", and ",(0,r.jsx)(n.code,{children:"/code status"})," work ",(0,r.jsx)(n.strong,{children:"even while the main agent is busy"})," \u2014 they're processed immediately on a fast path."]}),"\n",(0,r.jsx)(n.h2,{id:"delegation-tools",children:"Delegation Tools"}),"\n",(0,r.jsx)(n.p,{children:"Mercury uses these tools to manage sub-agents:"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Tool"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"delegate_task"})}),(0,r.jsx)(n.td,{children:"Spawn a sub-agent with a task description and optional context"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"list_agents"})}),(0,r.jsx)(n.td,{children:"Show all running and completed sub-agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"stop_agent"})}),(0,r.jsx)(n.td,{children:"Halt a specific running sub-agent by ID"})]})]})]}),"\n",(0,r.jsxs)(n.p,{children:["When Mercury decides a task is complex enough to benefit from parallel execution, it calls ",(0,r.jsx)(n.code,{children:"delegate_task"}),". You'll see a response like:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"\u{1F916} Multi-agent mode activated.\n\n**Agent a1** is now working on: \"Analyze the codebase structure for...\"\nActive agents: 1/4\n\nYou can continue chatting while the agent works. I'll notify you when it's done.\nUse /agents to check status.\n"})}),"\n",(0,r.jsx)(n.h2,{id:"architecture",children:"Architecture"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:'User message \u2192 Main Agent (orchestrator)\n \u251C\u2500 delegate_task("research X") \u2192 Sub-Agent a1 (isolated context)\n \u251C\u2500 delegate_task("implement Y") \u2192 Sub-Agent a2 (isolated context)\n \u2514\u2500 continues conversation \u2192 responds to user\n \u2502\n a1: "\u{1F504} Using: read_file"\n a1: "\u{1F504} Using: edit_file"\n a2: "\u{1F504} Using: list_dir"\n a1: "\u2705 completed (8.2s)"\n a2: "\u{1F504} Using: create_file"\n a2: "\u2705 completed (15.1s)"\n'})}),"\n",(0,r.jsx)(n.p,{children:"Each sub-agent:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Has its ",(0,r.jsx)(n.strong,{children:"own context window"})," \u2014 the main agent's conversation doesn't pollute it"]}),"\n",(0,r.jsxs)(n.li,{children:["Runs an independent ",(0,r.jsx)(n.strong,{children:"10-step agentic loop"})," with the same tool access"]}),"\n",(0,r.jsxs)(n.li,{children:["Uses the ",(0,r.jsx)(n.strong,{children:"same permission system"})," \u2014 but with auto-approve for the task's scope"]}),"\n",(0,r.jsxs)(n.li,{children:["Reports progress via the ",(0,r.jsx)(n.strong,{children:"notification channel"})," (CLI or Telegram)"]}),"\n",(0,r.jsxs)(n.li,{children:["Respects ",(0,r.jsx)(n.strong,{children:"file locks"})," \u2014 if a1 is writing a file, a2 waits for the lock"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"when-mercury-uses-sub-agents",children:"When Mercury Uses Sub-Agents"}),"\n",(0,r.jsx)(n.p,{children:"Mercury decides to delegate when:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["A task is ",(0,r.jsx)(n.strong,{children:"naturally parallelizable"}),' (e.g., "research X while I code Y")']}),"\n",(0,r.jsxs)(n.li,{children:["The task benefits from an ",(0,r.jsx)(n.strong,{children:"isolated context window"})," (no pollution from the main conversation)"]}),"\n",(0,r.jsxs)(n.li,{children:["A task is ",(0,r.jsx)(n.strong,{children:"complex enough"})," to warrant dedicated focus"]}),"\n",(0,r.jsxs)(n.li,{children:["Multiple ",(0,r.jsx)(n.strong,{children:"independent investigations"})," would save time"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:'You can also ask Mercury explicitly: "Use two agents for this" or "Delegate this task."'}),"\n",(0,r.jsx)(n.h2,{id:"what-happens-while-agents-work",children:"What Happens While Agents Work"}),"\n",(0,r.jsx)(n.p,{children:"You can keep chatting normally. Mercury processes your messages as they come in. Sub-agent progress and completion appear as notification messages in your channel:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:'\u{1F504} Agent a1: Starting task...\n\u{1F504} Agent a1: Using: read_file, edit_file\n\u{1F504} Agent a2: Using: fetch_url, create_file\n\u2705 Agent a1 completed (8.2s): "Analyzed the codebase..."\n\u{1F504} Agent a2: Using: run_command\n\u2705 Agent a2 completed (14.5s): "Tests passing..."\n'})}),"\n",(0,r.jsxs)(n.p,{children:["If you send ",(0,r.jsx)(n.code,{children:"/agents"}),", you'll see the full status:"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"**Sub-Agents:**\n\n\u{1F504} a1: Build REST API endpoints \u2014 running (Using: read_file)\n\u23F3 a2: Write integration tests \u2014 pending\n"})}),"\n",(0,r.jsxs)(n.p,{children:["Background-tracked agent tasks also appear in ",(0,r.jsx)(n.code,{children:"/bg list"})," so shell jobs and delegated coding work share one progress surface."]}),"\n",(0,r.jsx)(n.h2,{id:"configuration",children:"Configuration"}),"\n",(0,r.jsxs)(n.p,{children:["Sub-agents are configured in ",(0,r.jsx)(n.code,{children:"~/.mercury/mercury.yaml"}),":"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-yaml",children:'subagents:\n enabled: true\n maxConcurrent: auto # auto-detected from CPU/RAM, or set manually (e.g., 4)\n mode: auto # "auto" (LLM decides) or "manual" (user controls)\n'})}),"\n",(0,r.jsx)(n.p,{children:"Environment variable overrides:"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Variable"}),(0,r.jsx)(n.th,{children:"Description"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SUBAGENTS_ENABLED"})}),(0,r.jsx)(n.td,{children:"Enable/disable sub-agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SUBAGENTS_MAX_CONCURRENT"})}),(0,r.jsx)(n.td,{children:"Max number of concurrent agents"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"SUBAGENTS_MODE"})}),(0,r.jsxs)(n.td,{children:[(0,r.jsx)(n.code,{children:"auto"})," or ",(0,r.jsx)(n.code,{children:"manual"})]})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"programming-mode",children:"Programming Mode"}),"\n",(0,r.jsx)(n.p,{children:"Sub-agents pair well with Mercury's programming mode for code tasks:"}),"\n",(0,r.jsxs)(n.table,{children:[(0,r.jsx)(n.thead,{children:(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.th,{children:"Command"}),(0,r.jsx)(n.th,{children:"Mode"}),(0,r.jsx)(n.th,{children:"Behavior"})]})}),(0,r.jsxs)(n.tbody,{children:[(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code plan"})}),(0,r.jsx)(n.td,{children:"Plan"}),(0,r.jsx)(n.td,{children:"Analyze without writing code"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code execute"})}),(0,r.jsx)(n.td,{children:"Execute"}),(0,r.jsx)(n.td,{children:"Implement step by step"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code off"})}),(0,r.jsx)(n.td,{children:"Off"}),(0,r.jsx)(n.td,{children:"Normal conversation"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code toggle"})}),(0,r.jsx)(n.td,{children:"\u2014"}),(0,r.jsx)(n.td,{children:"Cycle through modes"})]}),(0,r.jsxs)(n.tr,{children:[(0,r.jsx)(n.td,{children:(0,r.jsx)(n.code,{children:"/code status"})}),(0,r.jsx)(n.td,{children:"\u2014"}),(0,r.jsx)(n.td,{children:"Show current mode"})]})]})]}),"\n",(0,r.jsx)(n.h2,{id:"programming-mode--sub-agents",children:"Programming Mode + Sub-Agents"}),"\n",(0,r.jsxs)(n.p,{children:["When ",(0,r.jsx)(n.code,{children:"/code plan"})," is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during ",(0,r.jsx)(n.code,{children:"/code execute"}),". The ",(0,r.jsx)(n.code,{children:"ask_user"})," tool lets Mercury present choices at decision points \u2014 on CLI this is an arrow-key menu, on Telegram it's inline buttons."]})]})}function h(e={}){let{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},8453(e,n,s){s.d(n,{R:()=>l,x:()=>d});var t=s(6540);let r={},i=t.createContext(r);function l(e){let n=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a6e053fd.8428bb73.js b/docs/assets/js/a6e053fd.8428bb73.js
new file mode 100644
index 00000000..dcf8d75e
--- /dev/null
+++ b/docs/assets/js/a6e053fd.8428bb73.js
@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["368"],{514(e,r,n){n.r(r),n.d(r,{metadata:()=>t,default:()=>E,frontMatter:()=>T,contentTitle:()=>C,toc:()=>N,assets:()=>S});var t=JSON.parse('{"id":"daemon-mode/platform-guide","title":"Platform-Specific Guide","description":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","source":"@site/docs/daemon-mode/platform-guide.mdx","sourceDirName":"daemon-mode","slug":"/daemon-mode/platform-guide","permalink":"/docs/daemon-mode/platform-guide","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/platform-guide.mdx","tags":[],"version":"current","frontMatter":{"id":"platform-guide","title":"Platform-Specific Guide"},"sidebar":"docsSidebar","previous":{"title":"System Service (Auto-Start on Boot)","permalink":"/docs/daemon-mode/system-service"},"next":{"title":"GitHub Companion","permalink":"/docs/integrations/github-companion"}}'),s=n(4848),a=n(8453),l=n(6540),i=n(4164),c=n(8287),o=n(6347),u=n(9989),d=n(6629),h=n(618),m=n(1367);function x({value:e,tabValues:r}){return r.some(r=>r.value===e)}let f=(0,l.createContext)(null);function p(){let e=l.useContext(f);if(!e)throw Error("useTabsContext() must be used within a Tabs component");return e}function g(e){return(0,s.jsx)(f.Provider,{value:e.value,children:e.children})}var j=n(8584),v=n(9863);function y({className:e}){let{selectedValue:r,selectValue:n,tabValues:t,block:a}=p(),l=[],{blockElementScrollPositionUntilNextRender:c}=(0,j.a_)(),o=e=>{let s=e.currentTarget,a=t[l.indexOf(s)].value;a!==r&&(c(s),n(a))},u=e=>{let r=null;switch(e.key){case"Enter":o(e);break;case"ArrowRight":{let n=l.indexOf(e.currentTarget)+1;r=l[n]??l[0];break}case"ArrowLeft":{let n=l.indexOf(e.currentTarget)-1;r=l[n]??l[l.length-1]}}r?.focus()};return(0,s.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,i.A)("tabs",{"tabs--block":a},e),children:t.map(({value:e,label:n,attributes:t})=>(0,s.jsx)("li",{role:"tab",tabIndex:r===e?0:-1,"aria-selected":r===e,ref:e=>{l.push(e)},onKeyDown:u,onClick:o,...t,className:(0,i.A)("tabs__item","tabItem_LNqP",t?.className,{"tabs__item--active":r===e}),children:n??e},e))})}function b({children:e}){return(0,s.jsx)("div",{className:"margin-top--md",children:e})}function k({className:e,children:r}){return(0,s.jsxs)("div",{className:(0,i.A)(c.G.tabs.container,"tabs-container","tabList__CuJ"),children:[(0,s.jsx)(y,{className:e}),(0,s.jsx)(b,{children:r})]})}function w(e){var r;let n=(0,v.A)(),t=function(e){let r,{defaultValue:n,queryString:t=!1,groupId:s}=e,a=function(e){let{values:r,children:n}=e;return(0,l.useMemo)(()=>{let e=r??l.Children.toArray(n).flatMap(e=>{if(!e)return[];if((0,l.isValidElement)(e)&&function(e){let{props:r}=e;return!!r&&"object"==typeof r&&"value"in r}(e))return[e];let r="string"==typeof e.type?e.type:e.type.name;throw Error(`Docusaurus error: Bad <Tabs> child <${r}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.
+If you do not want to pass on a "value" prop to the direct children of <Tabs>, you can also pass an explicit <Tabs values={...}> prop.`)}).map(({props:{value:e,label:r,attributes:n,default:t}})=>({value:e,label:r,attributes:n,default:t})),t=(0,h.XI)(e,(e,r)=>e.value===r.value);if(t.length>0)throw Error(`Docusaurus error: Duplicate values "${t.map(e=>`'${e.value}'`).join(", ")}" found in <Tabs>. Every value needs to be unique.`);return e},[r,n])}(e),[i,c]=(0,l.useState)(()=>(function({defaultValue:e,tabValues:r}){if(0===r.length)throw Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(e){if(!x({value:e,tabValues:r}))throw Error(`Docusaurus error: The <Tabs> has a defaultValue "${e}" but none of its children has the corresponding value. Available values are: ${r.map(e=>e.value).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return e}let n=r.find(e=>e.default)??r[0];if(!n)throw Error("Unexpected error: 0 tabValues");return n.value})({defaultValue:n,tabValues:a})),[f,p]=function({queryString:e=!1,groupId:r}){let n=(0,o.W6)(),t=function({queryString:e=!1,groupId:r}){if("string"==typeof e)return e;if(!1===e)return null;if(!0===e&&!r)throw Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return r??null}({queryString:e,groupId:r});return[(0,d.aZ)(t),(0,l.useCallback)(e=>{if(!t)return;let r=new URLSearchParams(n.location.search);r.set(t,e),n.replace({...n.location,search:r.toString()})},[t,n])]}({queryString:t,groupId:s}),[g,j]=function({groupId:e}){let r=e?`docusaurus.tab.${e}`:null,[n,t]=(0,m.Dv)(r);return[n,(0,l.useCallback)(e=>{r&&t.set(e)},[r,t])]}({groupId:s}),v=x({value:r=f??g,tabValues:a})?r:null;return(0,u.A)(()=>{v&&c(v)},[v]),{selectedValue:i,selectValue:(0,l.useCallback)(e=>{if(!x({value:e,tabValues:a}))throw Error(`Can't select invalid tab value=${e}`);c(e),p(e),j(e)},[p,j,a]),tabValues:a,lazy:e.lazy??!1,block:e.block??!1}}(e);return(0,s.jsx)(g,{value:t,children:(0,s.jsx)(k,{className:e.className,children:(r=e.children,l.Children.toArray(r).filter(e=>"\n"!==e))})},String(n))}function A({children:e,className:r,hidden:n}){return(0,s.jsx)("div",{role:"tabpanel",className:(0,i.A)("tabItem_Ymn6",r),hidden:n,children:e})}function L({children:e,className:r,value:n}){let{selectedValue:t,lazy:a}=p(),l=n===t;return!l&&a?null:(0,s.jsx)(A,{className:r,hidden:!l,children:e})}let T={id:"platform-guide",title:"Platform-Specific Guide"},C,S={},N=[{value:"Manual management",id:"manual-management",level:3},{value:"Manual management",id:"manual-management-1",level:3},{value:"Manual management",id:"manual-management-2",level:3},{value:"Docker Status",id:"docker-status",level:2}];function M(e){let r={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(w,{children:[(0,s.jsxs)(L,{value:"macos",label:"macOS",default:!0,children:[(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.code,{children:"mercury service install"})," creates a LaunchAgent at ",(0,s.jsx)(r.code,{children:"~/Library/LaunchAgents/com.cosmicstack.mercury.plist"}),"."]}),(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Auto-start"}),": Loads on login via ",(0,s.jsx)(r.code,{children:"launchctl load"})]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Crash recovery"}),": ",(0,s.jsx)(r.code,{children:"KeepAlive SuccessfulExit = false"})," restarts on crash"]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"No sudo needed"}),": User-level LaunchAgent, not system daemon"]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Logs"}),": ",(0,s.jsx)(r.code,{children:"~/.mercury/daemon.log"})," and ",(0,s.jsx)(r.code,{children:"~/.mercury/daemon-error.log"})]}),"\n"]}),(0,s.jsx)(r.h3,{id:"manual-management",children:"Manual management"}),(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-bash",children:"launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist\nlaunchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist\n"})})]}),(0,s.jsxs)(L,{value:"linux",label:"Linux",children:[(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.code,{children:"mercury service install"})," creates a systemd user unit at ",(0,s.jsx)(r.code,{children:"~/.config/systemd/user/mercury.service"}),"."]}),(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Auto-start"}),": Enabled via ",(0,s.jsx)(r.code,{children:"systemctl --user enable mercury.service"})]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Crash recovery"}),": ",(0,s.jsx)(r.code,{children:"Restart=on-failure"})," with 5s delay"]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"No sudo needed"}),": User-level service"]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Boot without login"}),": Run ",(0,s.jsx)(r.code,{children:"sudo loginctl enable-linger $USER"})," once"]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Logs"}),": ",(0,s.jsx)(r.code,{children:"~/.mercury/daemon.log"})," or ",(0,s.jsx)(r.code,{children:"journalctl --user -u mercury"})]}),"\n"]}),(0,s.jsx)(r.h3,{id:"manual-management-1",children:"Manual management"}),(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-bash",children:"systemctl --user start mercury\nsystemctl --user status mercury\nsystemctl --user stop mercury\n"})})]}),(0,s.jsxs)(L,{value:"windows",label:"Windows",children:[(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.code,{children:"mercury service install"})," creates a Windows Task Scheduler task named ",(0,s.jsx)(r.code,{children:"MercuryAgent"}),"."]}),(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Auto-start"}),": Triggers on user logon via ",(0,s.jsx)(r.code,{children:"schtasks"})]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Crash recovery"}),": Built-in watchdog with exponential backoff"]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"No admin needed"}),": Runs with limited privileges (",(0,s.jsx)(r.code,{children:"/rl limited"}),")"]}),"\n",(0,s.jsxs)(r.li,{children:[(0,s.jsx)(r.strong,{children:"Logs"}),": ",(0,s.jsx)(r.code,{children:"%USERPROFILE%\\.mercury\\daemon.log"})]}),"\n"]}),(0,s.jsx)(r.h3,{id:"manual-management-2",children:"Manual management"}),(0,s.jsx)(r.pre,{children:(0,s.jsx)(r.code,{className:"language-bash",children:'schtasks /query /tn "MercuryAgent" /fo list\nschtasks /run /tn "MercuryAgent"\nschtasks /delete /tn "MercuryAgent" /f\n'})})]})]}),"\n",(0,s.jsx)(r.h2,{id:"docker-status",children:"Docker Status"}),"\n",(0,s.jsxs)(r.p,{children:["Mercury does not currently ship first-party Docker assets in this repository (no ",(0,s.jsx)(r.code,{children:"Dockerfile"})," or ",(0,s.jsx)(r.code,{children:"docker-compose.yml"})," by default)."]}),"\n",(0,s.jsx)(r.p,{children:"If you run Mercury in a container, treat it as an advanced/custom deployment:"}),"\n",(0,s.jsxs)(r.ul,{children:["\n",(0,s.jsxs)(r.li,{children:["Prefer foreground mode (",(0,s.jsx)(r.code,{children:"mercury start --foreground"}),") inside the container"]}),"\n",(0,s.jsx)(r.li,{children:"Let the container runtime handle restart policy"}),"\n",(0,s.jsxs)(r.li,{children:["Mount ",(0,s.jsx)(r.code,{children:"~/.mercury"})," as persistent storage"]}),"\n",(0,s.jsx)(r.li,{children:"Validate terminal/TTY behavior separately for interactive CLI usage"}),"\n"]})]})}function E(e={}){let{wrapper:r}={...(0,a.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(M,{...e})}):M(e)}},8453(e,r,n){n.d(r,{R:()=>l,x:()=>i});var t=n(6540);let s={},a=t.createContext(s);function l(e){let r=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),t.createElement(a.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a6e053fd.9972c0ae.js b/docs/assets/js/a6e053fd.9972c0ae.js
deleted file mode 100644
index a546bbf9..00000000
--- a/docs/assets/js/a6e053fd.9972c0ae.js
+++ /dev/null
@@ -1,2 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["368"],{514(e,n,r){r.r(n),r.d(n,{metadata:()=>t,default:()=>M,frontMatter:()=>T,contentTitle:()=>C,toc:()=>S,assets:()=>N});var t=JSON.parse('{"id":"daemon-mode/platform-guide","title":"Platform-Specific Guide","description":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","source":"@site/docs/daemon-mode/platform-guide.mdx","sourceDirName":"daemon-mode","slug":"/daemon-mode/platform-guide","permalink":"/docs/daemon-mode/platform-guide","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/platform-guide.mdx","tags":[],"version":"current","frontMatter":{"id":"platform-guide","title":"Platform-Specific Guide"},"sidebar":"docsSidebar","previous":{"title":"System Service (Auto-Start on Boot)","permalink":"/docs/daemon-mode/system-service"},"next":{"title":"GitHub Companion","permalink":"/docs/integrations/github-companion"}}'),s=r(4848),a=r(8453),l=r(6540),i=r(4164),c=r(8287),o=r(6347),u=r(9989),d=r(6629),m=r(618),h=r(1367);function x({value:e,tabValues:n}){return n.some(n=>n.value===e)}let f=(0,l.createContext)(null);function p(){let e=l.useContext(f);if(!e)throw Error("useTabsContext() must be used within a Tabs component");return e}function g(e){return(0,s.jsx)(f.Provider,{value:e.value,children:e.children})}var j=r(8584),v=r(9863);function b({className:e}){let{selectedValue:n,selectValue:r,tabValues:t,block:a}=p(),l=[],{blockElementScrollPositionUntilNextRender:c}=(0,j.a_)(),o=e=>{let s=e.currentTarget,a=t[l.indexOf(s)].value;a!==n&&(c(s),r(a))},u=e=>{let n=null;switch(e.key){case"Enter":o(e);break;case"ArrowRight":{let r=l.indexOf(e.currentTarget)+1;n=l[r]??l[0];break}case"ArrowLeft":{let r=l.indexOf(e.currentTarget)-1;n=l[r]??l[l.length-1]}}n?.focus()};return(0,s.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,i.A)("tabs",{"tabs--block":a},e),children:t.map(({value:e,label:r,attributes:t})=>(0,s.jsx)("li",{role:"tab",tabIndex:n===e?0:-1,"aria-selected":n===e,ref:e=>{l.push(e)},onKeyDown:u,onClick:o,...t,className:(0,i.A)("tabs__item","tabItem_LNqP",t?.className,{"tabs__item--active":n===e}),children:r??e},e))})}function y({children:e}){return(0,s.jsx)("div",{className:"margin-top--md",children:e})}function w({className:e,children:n}){return(0,s.jsxs)("div",{className:(0,i.A)(c.G.tabs.container,"tabs-container","tabList__CuJ"),children:[(0,s.jsx)(b,{className:e}),(0,s.jsx)(y,{children:n})]})}function k(e){var n;let r=(0,v.A)(),t=function(e){let n,{defaultValue:r,queryString:t=!1,groupId:s}=e,a=function(e){let{values:n,children:r}=e;return(0,l.useMemo)(()=>{let e=n??l.Children.toArray(r).flatMap(e=>{if(!e)return[];if((0,l.isValidElement)(e)&&function(e){let{props:n}=e;return!!n&&"object"==typeof n&&"value"in n}(e))return[e];let n="string"==typeof e.type?e.type:e.type.name;throw Error(`Docusaurus error: Bad <Tabs> child <${n}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.
-If you do not want to pass on a "value" prop to the direct children of <Tabs>, you can also pass an explicit <Tabs values={...}> prop.`)}).map(({props:{value:e,label:n,attributes:r,default:t}})=>({value:e,label:n,attributes:r,default:t})),t=(0,m.XI)(e,(e,n)=>e.value===n.value);if(t.length>0)throw Error(`Docusaurus error: Duplicate values "${t.map(e=>`'${e.value}'`).join(", ")}" found in <Tabs>. Every value needs to be unique.`);return e},[n,r])}(e),[i,c]=(0,l.useState)(()=>(function({defaultValue:e,tabValues:n}){if(0===n.length)throw Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(e){if(!x({value:e,tabValues:n}))throw Error(`Docusaurus error: The <Tabs> has a defaultValue "${e}" but none of its children has the corresponding value. Available values are: ${n.map(e=>e.value).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return e}let r=n.find(e=>e.default)??n[0];if(!r)throw Error("Unexpected error: 0 tabValues");return r.value})({defaultValue:r,tabValues:a})),[f,p]=function({queryString:e=!1,groupId:n}){let r=(0,o.W6)(),t=function({queryString:e=!1,groupId:n}){if("string"==typeof e)return e;if(!1===e)return null;if(!0===e&&!n)throw Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:e,groupId:n});return[(0,d.aZ)(t),(0,l.useCallback)(e=>{if(!t)return;let n=new URLSearchParams(r.location.search);n.set(t,e),r.replace({...r.location,search:n.toString()})},[t,r])]}({queryString:t,groupId:s}),[g,j]=function({groupId:e}){let n=e?`docusaurus.tab.${e}`:null,[r,t]=(0,h.Dv)(n);return[r,(0,l.useCallback)(e=>{n&&t.set(e)},[n,t])]}({groupId:s}),v=x({value:n=f??g,tabValues:a})?n:null;return(0,u.A)(()=>{v&&c(v)},[v]),{selectedValue:i,selectValue:(0,l.useCallback)(e=>{if(!x({value:e,tabValues:a}))throw Error(`Can't select invalid tab value=${e}`);c(e),p(e),j(e)},[p,j,a]),tabValues:a,lazy:e.lazy??!1,block:e.block??!1}}(e);return(0,s.jsx)(g,{value:t,children:(0,s.jsx)(w,{className:e.className,children:(n=e.children,l.Children.toArray(n).filter(e=>"\n"!==e))})},String(r))}function A({children:e,className:n,hidden:r}){return(0,s.jsx)("div",{role:"tabpanel",className:(0,i.A)("tabItem_Ymn6",n),hidden:r,children:e})}function L({children:e,className:n,value:r}){let{selectedValue:t,lazy:a}=p(),l=r===t;return!l&&a?null:(0,s.jsx)(A,{className:n,hidden:!l,children:e})}let T={id:"platform-guide",title:"Platform-Specific Guide"},C,N={},S=[{value:"Manual management",id:"manual-management",level:3},{value:"Manual management",id:"manual-management-1",level:3},{value:"Manual management",id:"manual-management-2",level:3}];function E(e){let n={code:"code",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,s.jsxs)(k,{children:[(0,s.jsxs)(L,{value:"macos",label:"macOS",default:!0,children:[(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"mercury service install"})," creates a LaunchAgent at ",(0,s.jsx)(n.code,{children:"~/Library/LaunchAgents/com.cosmicstack.mercury.plist"}),"."]}),(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Auto-start"}),": Loads on login via ",(0,s.jsx)(n.code,{children:"launchctl load"})]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Crash recovery"}),": ",(0,s.jsx)(n.code,{children:"KeepAlive SuccessfulExit = false"})," restarts on crash"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"No sudo needed"}),": User-level LaunchAgent, not system daemon"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Logs"}),": ",(0,s.jsx)(n.code,{children:"~/.mercury/daemon.log"})," and ",(0,s.jsx)(n.code,{children:"~/.mercury/daemon-error.log"})]}),"\n"]}),(0,s.jsx)(n.h3,{id:"manual-management",children:"Manual management"}),(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist\nlaunchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist\n"})})]}),(0,s.jsxs)(L,{value:"linux",label:"Linux",children:[(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"mercury service install"})," creates a systemd user unit at ",(0,s.jsx)(n.code,{children:"~/.config/systemd/user/mercury.service"}),"."]}),(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Auto-start"}),": Enabled via ",(0,s.jsx)(n.code,{children:"systemctl --user enable mercury.service"})]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Crash recovery"}),": ",(0,s.jsx)(n.code,{children:"Restart=on-failure"})," with 5s delay"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"No sudo needed"}),": User-level service"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Boot without login"}),": Run ",(0,s.jsx)(n.code,{children:"sudo loginctl enable-linger $USER"})," once"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Logs"}),": ",(0,s.jsx)(n.code,{children:"~/.mercury/daemon.log"})," or ",(0,s.jsx)(n.code,{children:"journalctl --user -u mercury"})]}),"\n"]}),(0,s.jsx)(n.h3,{id:"manual-management-1",children:"Manual management"}),(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:"systemctl --user start mercury\nsystemctl --user status mercury\nsystemctl --user stop mercury\n"})})]}),(0,s.jsxs)(L,{value:"windows",label:"Windows",children:[(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"mercury service install"})," creates a Windows Task Scheduler task named ",(0,s.jsx)(n.code,{children:"MercuryAgent"}),"."]}),(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Auto-start"}),": Triggers on user logon via ",(0,s.jsx)(n.code,{children:"schtasks"})]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Crash recovery"}),": Built-in watchdog with exponential backoff"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"No admin needed"}),": Runs with limited privileges (",(0,s.jsx)(n.code,{children:"/rl limited"}),")"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"Logs"}),": ",(0,s.jsx)(n.code,{children:"%USERPROFILE%\\.mercury\\daemon.log"})]}),"\n"]}),(0,s.jsx)(n.h3,{id:"manual-management-2",children:"Manual management"}),(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-bash",children:'schtasks /query /tn "MercuryAgent" /fo list\nschtasks /run /tn "MercuryAgent"\nschtasks /delete /tn "MercuryAgent" /f\n'})})]})]})}function M(e={}){let{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(E,{...e})}):E(e)}},8453(e,n,r){r.d(n,{R:()=>l,x:()=>i});var t=r(6540);let s={},a=t.createContext(s);function l(e){let n=t.useContext(a);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/bc430709.5b1e91ce.js b/docs/assets/js/bc430709.ffceb7ec.js
similarity index 67%
rename from docs/assets/js/bc430709.5b1e91ce.js
rename to docs/assets/js/bc430709.ffceb7ec.js
index ff611c5f..e1c21713 100644
--- a/docs/assets/js/bc430709.5b1e91ce.js
+++ b/docs/assets/js/bc430709.ffceb7ec.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["788"],{3505(e,t,r){r.r(t),r.d(t,{metadata:()=>n,default:()=>u,frontMatter:()=>i,contentTitle:()=>c,toc:()=>d,assets:()=>o});var n=JSON.parse('{"id":"getting-started/starting","title":"Starting Mercury","description":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it\'s running.","source":"@site/docs/getting-started/starting.mdx","sourceDirName":"getting-started","slug":"/getting-started/starting","permalink":"/docs/getting-started/starting","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/starting.mdx","tags":[],"version":"current","frontMatter":{"id":"starting","title":"Starting Mercury"},"sidebar":"docsSidebar","previous":{"title":"First-Time Setup","permalink":"/docs/getting-started/setup"},"next":{"title":"Full Command Reference","permalink":"/docs/cli-commands/cli-commands"}}'),s=r(4848),a=r(8453);let i={id:"starting",title:"Starting Mercury"},c,o={},d=[{value:"Start (background daemon)",id:"start-background-daemon",level:2},{value:"Foreground (interactive)",id:"foreground-interactive",level:2},{value:"Verbose logging",id:"verbose-logging",level:2}];function l(e){let t={code:"code",h2:"h2",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:":::tip Recommended: mercury up\nThe easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.\n:::"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury up\n"})}),"\n",(0,s.jsxs)(t.p,{children:["If Mercury is already running, ",(0,s.jsx)(t.code,{children:"mercury up"})," just confirms it and shows the PID. If the service isn't installed yet, it installs it first, then starts the daemon."]}),"\n",(0,s.jsx)(t.h2,{id:"start-background-daemon",children:"Start (background daemon)"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Starts Mercury as a background daemon by default. Telegram becomes your primary interface. Logs go to ",(0,s.jsx)(t.code,{children:"~/.mercury/daemon.log"}),". Stale PID files are auto-cleaned. Includes crash recovery with exponential backoff."]}),"\n",(0,s.jsx)(t.h2,{id:"foreground-interactive",children:"Foreground (interactive)"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start --foreground\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Runs Mercury attached to your terminal with a readline prompt. Press ",(0,s.jsx)(t.code,{children:"Ctrl+C"})," to exit. All conversation happens in your terminal with real-time text streaming and markdown rendering. Shorthand: ",(0,s.jsx)(t.code,{children:"mercury start -f"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"When running in background mode, you can stop it with:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury stop\n"})}),"\n",(0,s.jsx)(t.h2,{id:"verbose-logging",children:"Verbose logging"}),"\n",(0,s.jsxs)(t.p,{children:["Add ",(0,s.jsx)(t.code,{children:"--verbose"})," to any start command to see debug logs on stderr:"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start --verbose\n"})})]})}function u(e={}){let{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453(e,t,r){r.d(t,{R:()=>i,x:()=>c});var n=r(6540);let s={},a=n.createContext(s);function i(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["788"],{3505(e,t,r){r.r(t),r.d(t,{metadata:()=>n,default:()=>u,frontMatter:()=>i,contentTitle:()=>c,toc:()=>d,assets:()=>o});var n=JSON.parse('{"id":"getting-started/starting","title":"Starting Mercury","description":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it\'s running.","source":"@site/docs/getting-started/starting.mdx","sourceDirName":"getting-started","slug":"/getting-started/starting","permalink":"/docs/getting-started/starting","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/getting-started/starting.mdx","tags":[],"version":"current","frontMatter":{"id":"starting","title":"Starting Mercury"},"sidebar":"docsSidebar","previous":{"title":"First-Time Setup","permalink":"/docs/getting-started/setup"},"next":{"title":"Full Command Reference","permalink":"/docs/cli-commands/cli-commands"}}'),s=r(4848),a=r(8453);let i={id:"starting",title:"Starting Mercury"},c,o={},d=[{value:"Start (background daemon)",id:"start-background-daemon",level:2},{value:"Foreground (interactive)",id:"foreground-interactive",level:2},{value:"Verbose logging",id:"verbose-logging",level:2}];function l(e){let t={code:"code",h2:"h2",p:"p",pre:"pre",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:":::tip Recommended: mercury up\nThe easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.\n:::"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury up\n"})}),"\n",(0,s.jsxs)(t.p,{children:["If Mercury is already running, ",(0,s.jsx)(t.code,{children:"mercury up"})," just confirms it and shows the PID. If the service isn't installed yet, it installs it first, then starts the daemon."]}),"\n",(0,s.jsx)(t.h2,{id:"start-background-daemon",children:"Start (background daemon)"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Starts Mercury as a background daemon by default. Telegram becomes your primary interface. Logs go to ",(0,s.jsx)(t.code,{children:"~/.mercury/daemon.log"}),". Stale PID files are auto-cleaned. Includes crash recovery with exponential backoff."]}),"\n",(0,s.jsx)(t.h2,{id:"foreground-interactive",children:"Foreground (interactive)"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start --foreground\n"})}),"\n",(0,s.jsxs)(t.p,{children:["Runs Mercury attached to your terminal with the Ink TUI interface. Press ",(0,s.jsx)(t.code,{children:"Ctrl+C"})," to exit. The CLI supports chat, coding workspace mode, progress views, and interactive permission prompts. Shorthand: ",(0,s.jsx)(t.code,{children:"mercury start -f"}),"."]}),"\n",(0,s.jsx)(t.p,{children:"When running in background mode, you can stop it with:"}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury stop\n"})}),"\n",(0,s.jsx)(t.h2,{id:"verbose-logging",children:"Verbose logging"}),"\n",(0,s.jsxs)(t.p,{children:["Add ",(0,s.jsx)(t.code,{children:"--verbose"})," to any start command to see debug logs on stderr:"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"mercury start --verbose\n"})})]})}function u(e={}){let{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},8453(e,t,r){r.d(t,{R:()=>i,x:()=>c});var n=r(6540);let s={},a=n.createContext(s);function i(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),n.createElement(a.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/c12bbe07.18dd8763.js b/docs/assets/js/c12bbe07.18dd8763.js
new file mode 100644
index 00000000..e8b46a71
--- /dev/null
+++ b/docs/assets/js/c12bbe07.18dd8763.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["624"],{8494(e,n,s){s.r(n),s.d(n,{metadata:()=>i,default:()=>h,frontMatter:()=>d,contentTitle:()=>o,toc:()=>l,assets:()=>t});var i=JSON.parse('{"id":"integrations/coding-workspace","title":"Coding Workspace (IDE Mode)","description":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","source":"@site/docs/integrations/coding-workspace.mdx","sourceDirName":"integrations","slug":"/integrations/coding-workspace","permalink":"/docs/integrations/coding-workspace","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/coding-workspace.mdx","tags":[],"version":"current","frontMatter":{"id":"coding-workspace","title":"Coding Workspace (IDE Mode)"},"sidebar":"docsSidebar","previous":{"title":"Spotify Integration","permalink":"/docs/integrations/spotify"},"next":{"title":"Sub-Agents (Multi-Agent Mode)","permalink":"/docs/integrations/sub-agents"}}'),c=s(4848),r=s(8453);let d={id:"coding-workspace",title:"Coding Workspace (IDE Mode)"},o,t={},l=[{value:"Enter Workspace Mode",id:"enter-workspace-mode",level:2},{value:"Modes",id:"modes",level:2},{value:"Keyboard shortcuts (CLI)",id:"keyboard-shortcuts-cli",level:3},{value:"Workspace Commands",id:"workspace-commands",level:2},{value:"Sub-Agents + Background in Coding",id:"sub-agents--background-in-coding",level:2}];function a(e){let n={code:"code",h2:"h2",h3:"h3",li:"li",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,r.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.p,{children:"Mercury includes a CLI IDE-style workspace mode for repository-focused coding."}),"\n",(0,c.jsx)(n.h2,{id:"enter-workspace-mode",children:"Enter Workspace Mode"}),"\n",(0,c.jsx)(n.p,{children:"You can enter workspace mode in multiple ways:"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code"})," and choose workspace"]}),"\n",(0,c.jsx)(n.li,{children:(0,c.jsx)(n.code,{children:"/code workspace"})}),"\n",(0,c.jsx)(n.li,{children:(0,c.jsx)(n.code,{children:"/ws open <path>"})}),"\n"]}),"\n",(0,c.jsx)(n.p,{children:"Once active, Mercury switches to coding context for that repository."}),"\n",(0,c.jsx)(n.h2,{id:"modes",children:"Modes"}),"\n",(0,c.jsx)(n.p,{children:"Use programming modes to control behavior:"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code plan"})," \u2014 analysis/planning first, minimal code changes"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code execute"})," \u2014 implementation mode"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code off"})," \u2014 return to normal conversation behavior"]}),"\n"]}),"\n",(0,c.jsx)(n.h3,{id:"keyboard-shortcuts-cli",children:"Keyboard shortcuts (CLI)"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Ctrl+P"})," \u2192 Plan mode"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Ctrl+X"})," \u2192 Execute mode"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Esc"})," or ",(0,c.jsx)(n.code,{children:"Ctrl+Q"})," \u2192 Exit workspace back to chat"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Ctrl+E"})," \u2192 Explorer pane"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"Ctrl+G"})," \u2192 Git pane"]}),"\n"]}),"\n",(0,c.jsx)(n.h2,{id:"workspace-commands",children:"Workspace Commands"}),"\n",(0,c.jsxs)(n.table,{children:[(0,c.jsx)(n.thead,{children:(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.th,{children:"Command"}),(0,c.jsx)(n.th,{children:"Description"})]})}),(0,c.jsxs)(n.tbody,{children:[(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws open <path>"})}),(0,c.jsx)(n.td,{children:"Open a directory in workspace mode"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws refresh"})}),(0,c.jsx)(n.td,{children:"Refresh file tree + git status"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws stage <file|all>"})}),(0,c.jsx)(n.td,{children:"Stage one file or all changes"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws commit <message>"})}),(0,c.jsx)(n.td,{children:"Commit staged changes"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws undo <file>"})}),(0,c.jsx)(n.td,{children:"Revert file changes"})]}),(0,c.jsxs)(n.tr,{children:[(0,c.jsx)(n.td,{children:(0,c.jsx)(n.code,{children:"/ws exit"})}),(0,c.jsx)(n.td,{children:"Exit workspace mode back to general chat"})]})]})]}),"\n",(0,c.jsx)(n.h2,{id:"sub-agents--background-in-coding",children:"Sub-Agents + Background in Coding"}),"\n",(0,c.jsx)(n.p,{children:"Workspace mode supports explicit delegation and backgrounding:"}),"\n",(0,c.jsxs)(n.ul,{children:["\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/code agent <task>"})," \u2014 delegate coding work to a sub-agent"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/bg current"})," \u2014 move active in-flight work to background"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/bg list"})," \u2014 inspect all background tasks (shell + sub-agent)"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/bg <id>"})," \u2014 view task details/output"]}),"\n",(0,c.jsxs)(n.li,{children:[(0,c.jsx)(n.code,{children:"/bg cancel <id>"})," \u2014 cancel running background work"]}),"\n"]}),"\n",(0,c.jsx)(n.p,{children:"This lets you continue coding/chatting while long operations run asynchronously."})]})}function h(e={}){let{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(a,{...e})}):a(e)}},8453(e,n,s){s.d(n,{R:()=>d,x:()=>o});var i=s(6540);let c={},r=i.createContext(c);function d(e){let n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:d(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/de57ece0.1d6c1853.js b/docs/assets/js/de57ece0.1d6c1853.js
deleted file mode 100644
index 495a9acb..00000000
--- a/docs/assets/js/de57ece0.1d6c1853.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["650"],{4995(e,s,r){r.r(s),r.d(s,{metadata:()=>d,default:()=>h,frontMatter:()=>c,contentTitle:()=>i,toc:()=>o,assets:()=>l});var d=JSON.parse('{"id":"cli-commands/in-chat-commands","title":"In-Chat Commands","description":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","source":"@site/docs/cli-commands/in-chat-commands.mdx","sourceDirName":"cli-commands","slug":"/cli-commands/in-chat-commands","permalink":"/docs/cli-commands/in-chat-commands","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/in-chat-commands.mdx","tags":[],"version":"current","frontMatter":{"id":"in-chat-commands","title":"In-Chat Commands"},"sidebar":"docsSidebar","previous":{"title":"Doctor (Reconfigure)","permalink":"/docs/cli-commands/doctor"},"next":{"title":"Daemon Mode","permalink":"/docs/daemon-mode/daemon-mode"}}'),n=r(4848),t=r(8453);let c={id:"in-chat-commands",title:"In-Chat Commands"},i,l={},o=[];function a(e){let s={code:"code",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,t.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.p,{children:["Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They ",(0,n.jsx)(s.strong,{children:"do not consume API tokens"}),"."]}),"\n",(0,n.jsxs)(s.table,{children:[(0,n.jsx)(s.thead,{children:(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.th,{children:"Command"}),(0,n.jsx)(s.th,{children:"Description"})]})}),(0,n.jsxs)(s.tbody,{children:[(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/help"})}),(0,n.jsx)(s.td,{children:"Show the full manual"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/status"})}),(0,n.jsx)(s.td,{children:"Show agent name, provider, budget, and channels"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsxs)(s.td,{children:[(0,n.jsx)(s.code,{children:"/"})," or ",(0,n.jsx)(s.code,{children:"/menu"})]}),(0,n.jsx)(s.td,{children:"CLI only: open the arrow-key command picker with Back and Exit options"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/telegram"})}),(0,n.jsx)(s.td,{children:"CLI only: open Telegram management with pending requests, approvals, roles, and reset actions"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/telegram pending"})}),(0,n.jsx)(s.td,{children:"CLI only: list pending Telegram access requests"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/telegram users"})}),(0,n.jsx)(s.td,{children:"CLI only: list approved Telegram admins and members"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/telegram approve <code|id>"})}),(0,n.jsx)(s.td,{children:"CLI only: approve the first pairing code or a later Telegram access request"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/telegram reject <id>"})}),(0,n.jsx)(s.td,{children:"CLI only: reject a pending Telegram access request"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/telegram remove <id>"})}),(0,n.jsx)(s.td,{children:"CLI only: revoke an approved Telegram user"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/telegram promote <id>"})}),(0,n.jsx)(s.td,{children:"CLI only: promote a Telegram member to admin"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/telegram demote <id>"})}),(0,n.jsx)(s.td,{children:"CLI only: demote a Telegram admin to member"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/telegram reset"})}),(0,n.jsx)(s.td,{children:"CLI only: clear all Telegram access and restart pairing from scratch"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/tools"})}),(0,n.jsx)(s.td,{children:"List all currently loaded tools"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/skills"})}),(0,n.jsx)(s.td,{children:"List installed skills"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/stream"})}),(0,n.jsx)(s.td,{children:"Toggle Telegram text streaming (on/off)"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/stream off"})}),(0,n.jsx)(s.td,{children:"Disable streaming \u2014 responses arrive as single message"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/budget"})}),(0,n.jsx)(s.td,{children:"Show token budget status"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/budget override"})}),(0,n.jsx)(s.td,{children:"Override budget for one request"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/budget reset"})}),(0,n.jsx)(s.td,{children:"Reset usage to zero"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/budget set <n>"})}),(0,n.jsx)(s.td,{children:"Change daily token budget"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/permissions"})}),(0,n.jsx)(s.td,{children:"Change permission mode (Ask Me / Allow All) \u2014 Telegram only"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/tasks"})}),(0,n.jsx)(s.td,{children:"List scheduled tasks"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/memory"})}),(0,n.jsx)(s.td,{children:"View and manage second brain memory"})]}),(0,n.jsxs)(s.tr,{children:[(0,n.jsx)(s.td,{children:(0,n.jsx)(s.code,{children:"/unpair"})}),(0,n.jsx)(s.td,{children:"Telegram only: reset all access, new users can /start again"})]})]})]}),"\n",(0,n.jsxs)(s.p,{children:[":::info Telegram pairing and access\nTelegram stays private 1:1 only. The first user sends ",(0,n.jsx)(s.code,{children:"/start"}),", receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send ",(0,n.jsx)(s.code,{children:"/start"}),", appear as pending requests, and can then be approved or rejected from the CLI ",(0,n.jsx)(s.code,{children:"/telegram"})," menu.\n:::"]})]})}function h(e={}){let{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},8453(e,s,r){r.d(s,{R:()=>c,x:()=>i});var d=r(6540);let n={},t=d.createContext(n);function c(e){let s=d.useContext(t);return d.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),d.createElement(t.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/de57ece0.5c199cd5.js b/docs/assets/js/de57ece0.5c199cd5.js
new file mode 100644
index 00000000..57e0293f
--- /dev/null
+++ b/docs/assets/js/de57ece0.5c199cd5.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["650"],{4995(e,d,s){s.r(d),s.d(d,{metadata:()=>r,default:()=>h,frontMatter:()=>c,contentTitle:()=>i,toc:()=>o,assets:()=>l});var r=JSON.parse('{"id":"cli-commands/in-chat-commands","title":"In-Chat Commands","description":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","source":"@site/docs/cli-commands/in-chat-commands.mdx","sourceDirName":"cli-commands","slug":"/cli-commands/in-chat-commands","permalink":"/docs/cli-commands/in-chat-commands","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/in-chat-commands.mdx","tags":[],"version":"current","frontMatter":{"id":"in-chat-commands","title":"In-Chat Commands"},"sidebar":"docsSidebar","previous":{"title":"Doctor (Reconfigure)","permalink":"/docs/cli-commands/doctor"},"next":{"title":"Daemon Mode","permalink":"/docs/daemon-mode/daemon-mode"}}'),n=s(4848),t=s(8453);let c={id:"in-chat-commands",title:"In-Chat Commands"},i,l={},o=[];function a(e){let d={code:"code",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,t.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(d.p,{children:["Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They ",(0,n.jsx)(d.strong,{children:"do not consume API tokens"}),"."]}),"\n",(0,n.jsxs)(d.table,{children:[(0,n.jsx)(d.thead,{children:(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.th,{children:"Command"}),(0,n.jsx)(d.th,{children:"Description"})]})}),(0,n.jsxs)(d.tbody,{children:[(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/help"})}),(0,n.jsx)(d.td,{children:"Show the full manual"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/status"})}),(0,n.jsx)(d.td,{children:"Show agent name, provider, budget, and channels"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsxs)(d.td,{children:[(0,n.jsx)(d.code,{children:"/"})," or ",(0,n.jsx)(d.code,{children:"/menu"})]}),(0,n.jsx)(d.td,{children:"CLI only: open the arrow-key command picker with Back and Exit options"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram"})}),(0,n.jsx)(d.td,{children:"CLI only: open Telegram management with pending requests, approvals, roles, and reset actions"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram pending"})}),(0,n.jsx)(d.td,{children:"CLI only: list pending Telegram access requests"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram users"})}),(0,n.jsx)(d.td,{children:"CLI only: list approved Telegram admins and members"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram approve <code|id>"})}),(0,n.jsx)(d.td,{children:"CLI only: approve the first pairing code or a later Telegram access request"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram reject <id>"})}),(0,n.jsx)(d.td,{children:"CLI only: reject a pending Telegram access request"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram remove <id>"})}),(0,n.jsx)(d.td,{children:"CLI only: revoke an approved Telegram user"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram promote <id>"})}),(0,n.jsx)(d.td,{children:"CLI only: promote a Telegram member to admin"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram demote <id>"})}),(0,n.jsx)(d.td,{children:"CLI only: demote a Telegram admin to member"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/telegram reset"})}),(0,n.jsx)(d.td,{children:"CLI only: clear all Telegram access and restart pairing from scratch"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/tools"})}),(0,n.jsx)(d.td,{children:"List all currently loaded tools"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/skills"})}),(0,n.jsx)(d.td,{children:"List installed skills"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/stream"})}),(0,n.jsx)(d.td,{children:"Toggle Telegram text streaming (on/off)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/stream off"})}),(0,n.jsx)(d.td,{children:"Disable streaming \u2014 responses arrive as single message"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget"})}),(0,n.jsx)(d.td,{children:"Show token budget status"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget override"})}),(0,n.jsx)(d.td,{children:"Override budget for one request"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget reset"})}),(0,n.jsx)(d.td,{children:"Reset usage to zero"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/budget set <n>"})}),(0,n.jsx)(d.td,{children:"Change daily token budget"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/permissions"})}),(0,n.jsx)(d.td,{children:"Change permission mode (Ask Me / Allow All) \u2014 Telegram only"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/models"})}),(0,n.jsx)(d.td,{children:"List configured models/providers and switch active model for this session"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/models use <provider>"})}),(0,n.jsx)(d.td,{children:"Switch the current session model/provider"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/models doctor"})}),(0,n.jsxs)(d.td,{children:["Show how to add/configure models via ",(0,n.jsx)(d.code,{children:"mercury doctor"})]})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/view"})}),(0,n.jsx)(d.td,{children:"Toggle progress view (balanced/detailed)"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/view balanced"})}),(0,n.jsx)(d.td,{children:"Set compact progress view"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/view detailed"})}),(0,n.jsx)(d.td,{children:"Set full progress view"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/code agent <task>"})}),(0,n.jsx)(d.td,{children:"Delegate a coding task to a sub-agent in the background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/ws exit"})}),(0,n.jsx)(d.td,{children:"Exit workspace IDE mode back to general chat"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg <command>"})}),(0,n.jsx)(d.td,{children:"Run a shell command in the background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg: <task>"})}),(0,n.jsx)(d.td,{children:"Run a natural-language sub-agent task in background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg current"})}),(0,n.jsx)(d.td,{children:"Move the current in-flight task to background"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg list"})}),(0,n.jsx)(d.td,{children:"Show background tasks"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg <id>"})}),(0,n.jsx)(d.td,{children:"Show details/output for one background task"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg cancel <id>"})}),(0,n.jsx)(d.td,{children:"Cancel a running background task"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/bg clear"})}),(0,n.jsx)(d.td,{children:"Prune completed background tasks"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/tasks"})}),(0,n.jsx)(d.td,{children:"List scheduled tasks"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/memory"})}),(0,n.jsx)(d.td,{children:"View and manage second brain memory"})]}),(0,n.jsxs)(d.tr,{children:[(0,n.jsx)(d.td,{children:(0,n.jsx)(d.code,{children:"/unpair"})}),(0,n.jsx)(d.td,{children:"Telegram only: reset all access, new users can /start again"})]})]})]}),"\n",(0,n.jsxs)(d.p,{children:[":::info Telegram pairing and access\nTelegram stays private 1:1 only. The first user sends ",(0,n.jsx)(d.code,{children:"/start"}),", receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send ",(0,n.jsx)(d.code,{children:"/start"}),", appear as pending requests, and can then be approved or rejected from the CLI ",(0,n.jsx)(d.code,{children:"/telegram"})," menu.\n:::"]})]})}function h(e={}){let{wrapper:d}={...(0,t.R)(),...e.components};return d?(0,n.jsx)(d,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},8453(e,d,s){s.d(d,{R:()=>c,x:()=>i});var r=s(6540);let n={},t=r.createContext(n);function c(e){let d=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(d):{...d,...e}},[d,e])}function i(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:c(e.components),r.createElement(t.Provider,{value:d},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/f3244ec3.1f244bc7.js b/docs/assets/js/f3244ec3.1f244bc7.js
new file mode 100644
index 00000000..2f465ced
--- /dev/null
+++ b/docs/assets/js/f3244ec3.1f244bc7.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["600"],{9674(e,s,t){t.r(s),t.d(s,{metadata:()=>r,default:()=>u,frontMatter:()=>a,contentTitle:()=>i,toc:()=>c,assets:()=>o});var r=JSON.parse('{"id":"releases/releases","title":"Releases","description":"This section tracks Mercury release notes by version.","source":"@site/docs/releases/releases.mdx","sourceDirName":"releases","slug":"/releases/","permalink":"/docs/releases/","draft":false,"unlisted":false,"editUrl":"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/releases.mdx","tags":[],"version":"current","frontMatter":{"id":"releases","title":"Releases"},"sidebar":"docsSidebar","previous":{"title":"Skills","permalink":"/docs/reference/skills"},"next":{"title":"v1.1.6","permalink":"/docs/releases/1.1.6"}}'),l=t(4848),n=t(8453);let a={id:"releases",title:"Releases"},i,o={},c=[{value:"Available release notes",id:"available-release-notes",level:2}];function d(e){let s={a:"a",h2:"h2",li:"li",p:"p",ul:"ul",...(0,n.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.p,{children:"This section tracks Mercury release notes by version."}),"\n",(0,l.jsx)(s.h2,{id:"available-release-notes",children:"Available release notes"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsx)(s.li,{children:(0,l.jsx)(s.a,{href:"/docs/releases/1.1.6",children:"v1.1.6"})}),"\n"]})]})}function u(e={}){let{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(d,{...e})}):d(e)}},8453(e,s,t){t.d(s,{R:()=>a,x:()=>i});var r=t(6540);let l={},n=r.createContext(l);function a(e){let s=r.useContext(n);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:a(e.components),r.createElement(n.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/main.049ef3e0.js b/docs/assets/js/main.9c9b74b1.js
similarity index 74%
rename from docs/assets/js/main.049ef3e0.js
rename to docs/assets/js/main.9c9b74b1.js
index 569a8694..c4391457 100644
--- a/docs/assets/js/main.049ef3e0.js
+++ b/docs/assets/js/main.9c9b74b1.js
@@ -1,4 +1,4 @@
-(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["889"],{7612(e,t,n){"use strict";n.r(t)},6464(e,t,n){"use strict";n.r(t)},6448(e,t,n){"use strict";n.r(t)},3328(e,t,n){"use strict";n.d(t,{AO:()=>f,yJ:()=>p,sC:()=>T,TM:()=>C,zR:()=>w});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}let i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(1561);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o,l,s,u,c,d;"string"==typeof e?(s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var h=!!("u">typeof window&&window.document&&window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=-1!==window.navigator.userAgent.indexOf("Trident"),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,A=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return A&&(o=c(o,A)),p(o,r,n)}function _(){return Math.random().toString(36).substr(2,E)}var T=m();function j(e){(0,r.A)(B,e),B.length=n.length,T.notifyListeners(B.location,B.action)}function P(e){(void 0!==e.state||-1!==navigator.userAgent.indexOf("CriOS"))&&O(C(e.state))}function N(){O(C(v()))}var R=!1;function O(e){R?(R=!1,j()):T.confirmTransitionTo(e,"POP",x,function(t){var n,r,a,o,i;t?j({action:"POP",location:e}):(n=e,r=B.location,-1===(a=D.indexOf(r.key))&&(a=0),-1===(o=D.indexOf(n.key))&&(o=0),(i=a-o)&&(R=!0,M(i)))})}var L=C(v()),D=[L.key];function I(e){return A+f(e)}function M(e){n.go(e)}var F=0;function z(e){1===(F+=e)&&1===e?(window.addEventListener(y,P),o&&window.addEventListener(b,N)):0===F&&(window.removeEventListener(y,P),o&&window.removeEventListener(b,N))}var $=!1,B={length:n.length,action:"POP",location:L,createHref:I,push:function(e,t){var r="PUSH",o=p(e,t,_(),B.location);T.confirmTransitionTo(o,r,x,function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=D.indexOf(B.location.key),u=D.slice(0,s+1);u.push(o.key),D=u,j({action:r,location:o})}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",o=p(e,t,_(),B.location);T.confirmTransitionTo(o,r,x,function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=D.indexOf(B.location.key);-1!==s&&(D[s]=o.key),j({action:r,location:o})}else window.location.replace(t)}})},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return $||(z(1),$=!0),function(){return $&&($=!1,z(-1)),t()}},listen:function(e){var t=T.appendListener(e);return z(1),function(){z(-1),t()}}};return B}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return -1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return -1===t?"":e.substring(t+1)}function A(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t=window.history;window.navigator.userAgent.indexOf("Firefox");var n=e,a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,u=e.basename?d(s(e.basename)):"",y=x[void 0===i?"slash":i],b=y.encodePath,v=y.decodePath;function w(){var e=v(E());return u&&(e=c(e,u)),p(e)}var C=m();function _(e){(0,r.A)(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var T=!1,j=null;function P(){var e=E(),t=b(e);if(e!==t)A(t);else{var n,r=w(),a=z.location;if(!T&&a.pathname===r.pathname&&a.search===r.search&&a.hash===r.hash||j===f(r))return;j=null,n=r,T?(T=!1,_()):C.confirmTransitionTo(n,"POP",o,function(e){var t,r,a,o,i;e?_({action:"POP",location:n}):(t=n,r=z.location,-1===(a=L.lastIndexOf(f(r)))&&(a=0),-1===(o=L.lastIndexOf(f(t)))&&(o=0),(i=a-o)&&(T=!0,D(i)))})}}var N=E(),R=b(N);N!==R&&A(R);var O=w(),L=[f(O)];function D(e){t.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(k,P):0===I&&window.removeEventListener(k,P)}var F=!1,z={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+b(u+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);if(E()!==a){j=t,window.location.hash=a;var o=L.lastIndexOf(f(z.location)),i=L.slice(0,o+1);i.push(t),L=i,_({action:n,location:r})}else _()}})},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);E()!==a&&(j=t,A(a));var o=L.indexOf(f(z.location));-1!==o&&(L[o]=t),_({action:n,location:r})}})},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return F||(M(1),F=!0),function(){return F&&(F=!1,M(-1)),t()}},listen:function(e){var t=C.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function _(e,t,n){return Math.min(Math.max(e,t),n)}function T(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=t.keyLength,s=void 0===l?6:l,u=m();function c(e){(0,r.A)(b,e),b.length=b.entries.length,u.notifyListeners(b.location,b.action)}function d(){return Math.random().toString(36).substr(2,s)}var h=_(void 0===i?0:i,0,o.length-1),g=o.map(function(e){return"string"==typeof e?p(e,void 0,d()):p(e,void 0,e.key||d())});function y(e){var t=_(b.index+e,0,b.entries.length-1),r=b.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?c({action:"POP",location:r,index:t}):c()})}var b={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:f,push:function(e,t){var r="PUSH",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){if(e){var t=b.index+1,n=b.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),c({action:r,location:a,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){e&&(b.entries[b.index]=a,c({action:r,location:a}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t<b.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return b}},4146(e,t,n){"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var y=i[g];if(!o[y]&&!(r&&r[y])&&!(h&&h[y])&&!(l&&l[y])){var b=f(n,y);try{u(t,y,b)}catch(e){}}}}return t}},311(e){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4634(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},689(e){e.exports=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(n){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach(function(t){var n=e.filter(function(e){return e.contains(t)}).length>0;-1!==e.indexOf(t)||n||e.push(t)}),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){--r||t()})},function(e){e||t()})}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),l=i.length,s=0;i=Array.prototype.slice.call(i);var u=function(){--l<=0&&o(s)};l||u(),i.forEach(function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,function(e){n(t)&&(s++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;else if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return(r.forEach(function(e,t){e.val===n&&(a=t,o=e.handled)}),this.compareNodeIframe(e,t,n))?(!1!==a||o?!1===a||o||(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach(function(e){e.handled||a.getIframeContents(e.val,function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){for(var o,i=this,l=this.createIterator(t,e,r),s=[],u=[],c=void 0,d=void 0;d=(o=i.getIteratorNode(l)).prevNode,c=o.node;)this.iframes&&this.forEachIframe(t,function(e){return i.checkIframeFilter(c,d,e,s)},function(t){i.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(c);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;i||a(),o.forEach(function(o){var l=function(){r.iterateThroughNodes(e,o,t,n,function(){--i<=0&&a()})};r.iframes?r.waitForIframes(o,l):l()})}}],[{key:"matches",value:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!n)return!1;var r=!1;return("string"==typeof t?[t]:t).every(function(t){return!n.call(e,t)||(r=!0,!1)}),r}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&(void 0===r?"undefined":e(r))==="object"&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==l&&(e=e.replace(RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(l)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105","A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010D","C\xc7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119","E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012B","I\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014D","O\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016B","U\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xff","Y\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010DC\xc7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012BI\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014DO\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016BU\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xffY\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],r=[];return e.split("").forEach(function(a){n.every(function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,a="string"==typeof n?[]:n.limiters,o="";switch(a.forEach(function(e){o+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(o="\\s"+(o||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf")))+"]*"+e+"[^"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,l=parseInt(e.start,10)-i;return(r=(l=l>o?o:l)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),l<0||r-l<0||l>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every(function(i,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach(function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)}),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0})}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];)if(n(a[i],t)){var l=a.index;if(0!==i)for(var s=1;s<i;s++)l+=a[s].length;r((t=o.wrapRangeInTextNode(t,l,l+a[i].length)).previousSibling),e.lastIndex=0}}),a()})}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){for(var l=void 0;null!==(l=e.exec(t.value))&&""!==l[i];){var s=l.index;if(0!==i)for(var u=1;u<i;u++)s+=l[u].length;var c=s+l[i].length;o.wrapRangeInMappedTextNode(t,s,c,function(e){return n(l[i],e)},function(t,n){e.lastIndex=n,r(t)})}a()})}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var a=this;this.getTextNodes(function(o){var i=o.value.length;e.forEach(function(e,r){var l=a.checkWhitespaceRanges(e,i,o.value),s=l.start,u=l.end;l.valid&&a.wrapRangeInMappedTextNode(o,s,u,function(n){return t(n,e,o.value.substring(s,u),r)},function(t){n(t,e)})}),r()})}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,a="wrapMatches";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,function(e,t){return n.opt.filter(t,e,r)},function(e){r++,n.opt.each(e)},function(){0===r&&n.opt.noMatch(e),n.opt.done(r)})}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,a="wrapMatches",o=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=o.keywords,l=o.length,s=this.opt.caseSensitive?"":"i";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===l?this.opt.done(r):function e(t){var o=RegExp(n.createRegExp(t),"gm"+s),u=0;n.log('Searching with expression "'+o+'"'),n[a](o,1,function(e,a){return n.opt.filter(a,t,r,u)},function(e){u++,r++,n.opt.each(e)},function(){0===u&&n.opt.noMatch(t),i[l-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])})}(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,function(e,t,r,a){return n.opt.filter(e,t,r,a)},function(e,t){r++,n.opt.each(e,t)},function(){n.opt.done(r)})):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(e){t.unwrapMatches(e)},function(e){var r=a.matches(e,n),o=t.matchesExclude(e);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new a(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();return function(e){var t=this,n=new o(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}}()},5947(e){var t;t=function(){var e,t,n,r={};r.version="0.2.0";var a=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();r.status=1===(e=o(e,a.minimum,1))?null:e;var n=r.render(!t),s=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,i(function(t){var o,i,d,f;""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),l(s,(o=e,i=u,d=c,(f="translate3d"===a.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===a.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+i+"ms "+d,f)),1===e?(l(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){l(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,o=t.querySelector(a.barSelector),i=e?"-100":(-1+(r.status||0))*100,s=document.querySelector(a.parent);return l(o,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&f(n),s!=document.body&&u(s,"nprogress-custom-parent"),s.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){var o;r=t[o=(o=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}(o)),n.style[r]=a}return function(e,t){var r,a,o=arguments;if(2==o.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,o[1],o[2])}}();function s(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=d(e);s(e,t)&&(e.className=(n=r.replace(" "+t+" "," ")).substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r},"function"==typeof define&&define.amd?define(t):e.exports=t()},5302(e,t,n){var r=n(4634);e.exports=function e(t,n,a){if(r(n)||(a=n||a,n=[]),a=a||{},t instanceof RegExp){var i,l,s=n,d=t.source.match(/\((?!\?)/g);if(d)for(var f=0;f<d.length;f++)s.push({name:f,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return t.keys=s,t}if(r(t)){for(var p,m=n,h=a,g=[],y=0;y<t.length;y++)g.push(e(t[y],m,h).source);return(p=RegExp("(?:"+g.join("|")+")",u(h))).keys=m,p}return i=n,c(o(t,l=a),i,l)},e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=c;var a=RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var c,d,f=n[0],p=n[1],m=n.index;if(l+=e.slice(i,m),i=m+f.length,p){l+=p[1];continue}var h=e[i],g=n[2],y=n[3],b=n[4],v=n[5],w=n[6],k=n[7];l&&(r.push(l),l="");var x=null!=g&&null!=h&&h!==g,S="+"===w||"*"===w,E="?"===w||"*"===w,A=g||u,C=b||v,_=g||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:y||o++,prefix:g||"",delimiter:A,optional:E,repeat:S,partial:x,asterisk:!!k,pattern:C?C.replace(/([=!:$\/()])/g,"\\$1"):k?".*":(c=A,!(d=_)||d.indexOf(c)>-1?"[^"+s(c)+"]+?":s(d)+"|(?:(?!"+s(d)+")[^"+s(c)+"])+?")})}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function l(e,t){for(var n=Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=RegExp("^(?:"+e[a].pattern+")$",u(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c,d=e[u];if("string"==typeof d){o+=d;continue}var f=l[d.name];if(null==f)if(d.optional){d.partial&&(o+=d.prefix);continue}else throw TypeError('Expected "'+d.name+'" to be defined');if(r(f)){if(!d.repeat)throw TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length)if(d.optional)continue;else throw TypeError('Expected "'+d.name+'" to not be empty');for(var p=0;p<f.length;p++){if(c=s(f[p]),!n[u].test(c))throw TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===p?d.prefix:d.delimiter)+c}continue}if(c=d.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):s(f),!n[u].test(c))throw TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+c+'"');o+=d.prefix+c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e&&e.sensitive?"":"i"}function c(e,t,n){r(t)||(n=t||n,t=[]);for(var a,o=(n=n||{}).strict,i=!1!==n.end,l="",c=0;c<e.length;c++){var d=e[c];if("string"==typeof d)l+=s(d);else{var f=s(d.prefix),p="(?:"+d.pattern+")";t.push(d),d.repeat&&(p+="(?:"+f+p+")*"),l+=p=d.optional?d.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var m=s(n.delimiter||"/"),h=l.slice(-m.length)===m;return o||(l=(h?l.slice(0,-m.length):l)+"(?:"+m+"(?=$))?"),i?l+="$":l+=o&&h?"":"(?="+m+"|$)",(a=RegExp("^"+l,u(n))).keys=t,a}},6969(e){e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041A\u0443\u041C\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722(e,t,n){let r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter(e=>"meta"!=e):Array.isArray(e)||(e=[e]),a(r,e,[...o,...Object.keys(Prism.languages)]).load(e=>{if(!(e in r.languages)){i.silent||console.warn("Language does not exist: "+e);return}let t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)})}i.silent=!1,e.exports=i},9700(){var e=Prism;function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(m+p.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})},3157(e,t,n){var r={"./":"8722"};function a(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380(e){"use strict";e.exports=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}return function(r,a,o){var i,l,s,u,c=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(r),d=function(e){if(e in c)return e;if(!i)for(var n in i={},c){var r=c[n];t(r&&r.alias,function(e){if(e in i)throw Error(e+" cannot be alias for both "+n+" and "+i[e]);if(e in c)throw Error(e+" cannot be alias of "+n+" because it is a component.");i[e]=n})}return i[e]||e};a=a.map(d),o=(o||[]).map(d);var f=n(a),p=n(o);a.forEach(function e(n){var r=c[n];t(r&&r.require,function(t){t in p||(f[t]=!0,e(t))})});for(var m=(l={},s=[],function(e){var n=l[e];return n||(!function e(n,r){if(!(n in l)){r.push(n);var a=r.indexOf(n);if(a<r.length-1)throw Error("Circular dependency: "+r.slice(a).join(" -> "));var o={},i=c[n];if(i){function s(t){if(!(t in c))throw Error(n+" depends on an unknown component "+t);if(!(t in o))for(var a in e(t,r),o[t]=!0,l[t])o[a]=!0}t(i.require,s),t(i.optional,s),t(i.modify,s)}l[n]=o,r.pop()}}(e,s),n=l[e]),n}),h=f;function(e){for(var t in e)return!0;return!1}(h);){for(var g in u={},h){var y=c[g];t(y&&y.modify,function(e){e in p&&(u[e]=!0)})}for(var b in p)if(!(b in f)){for(var v in m(b))if(v in f){u[b]=!0;break}}for(var w in h=u)f[w]=!0}var k={getIds:function(){var e=[];return k.load(function(t){e.push(t)}),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};for(var u in n)!function e(a){if(a in l)return l[a];s[a]=!0;var u,c=[];for(var d in t(a))d in n&&c.push(d);if(0===c.length)u=r(a);else{var f=i(c.map(function(t){var n=e(t);return delete s[t],n}));o?u=o(f,function(){return r(a)}):r(a)}return l[a]=u}(u);var c=[];for(var d in s)c.push(l[d]);return i(c)}(m,f,t,n)}};return k}}()},2694(e,t,n){"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1247(e,t,n){"use strict";var r,a=n(9982),o=n(6540),i=n(961);function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function u(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function c(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function d(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function f(e){if(u(e)!==e)throw Error(l(188))}var p=Object.assign,m=Symbol.for("react.element"),h=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),k=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),C=Symbol.for("react.lazy");Symbol.for("react.scope");var _=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var T=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var j=Symbol.iterator;function P(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var N=Symbol.for("react.client.reference"),R=Array.isArray,O=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D={pending:!1,data:null,method:null,action:null},I=[],M=-1;function F(e){return{current:e}}function z(e){0>M||(e.current=I[M],I[M]=null,M--)}function $(e,t){I[++M]=e.current,e.current=t}var B=F(null),U=F(null),q=F(null),H=F(null);function G(e,t){switch($(q,t),$(U,e),$(B,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?uv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=uw(t=uv(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}z(B),$(B,e)}function W(){z(B),z(U),z(q)}function V(e){null!==e.memoizedState&&$(H,e);var t=B.current,n=uw(t,e.type);t!==n&&($(U,e),$(B,n))}function Q(e){U.current===e&&(z(B),z(U)),H.current===e&&(z(H),cn._currentValue=D)}function K(e){if(void 0===tM)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tM=t&&t[1]||"",tF=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tM+e+tF}var Y=!1;function Z(e,t){if(!e||Y)return"";Y=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),i=o[0],l=o[1];if(i&&l){var s=i.split("\n"),u=l.split("\n");for(a=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(r===s.length||a===u.length)for(r=s.length-1,a=u.length-1;1<=r&&0<=a&&s[r]!==u[a];)a--;for(;1<=r&&0<=a;r--,a--)if(s[r]!==u[a]){if(1!==r||1!==a)do if(r--,a--,0>a||s[r]!==u[a]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=a)break}}}finally{Y=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?K(n):""}function X(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return K(e.type);case 16:return K("Lazy");case 13:return e.child!==t&&null!==t?K("Suspense Fallback"):K("Suspense");case 19:return K("SuspenseList");case 0:case 15:return Z(e.type,!1);case 11:return Z(e.type.render,!1);case 1:return Z(e.type,!0);case 31:return K("Activity");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var J=Object.prototype.hasOwnProperty,ee=a.unstable_scheduleCallback,et=a.unstable_cancelCallback,en=a.unstable_shouldYield,er=a.unstable_requestPaint,ea=a.unstable_now,eo=a.unstable_getCurrentPriorityLevel,ei=a.unstable_ImmediatePriority,el=a.unstable_UserBlockingPriority,es=a.unstable_NormalPriority,eu=a.unstable_LowPriority,ec=a.unstable_IdlePriority,ed=a.log,ef=a.unstable_setDisableYieldValue,ep=null,em=null;function eh(e){if("function"==typeof ed&&ef(e),em&&"function"==typeof em.setStrictMode)try{em.setStrictMode(ep,e)}catch(e){}}var eg=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ey(e)/eb|0)|0},ey=Math.log,eb=Math.LN2,ev=256,ew=262144,ek=4194304;function ex(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eS(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var a=0,o=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=0x7ffffff&r;return 0!==l?0!=(r=l&~o)?a=ex(r):0!=(i&=l)?a=ex(i):n||0!=(n=l&~e)&&(a=ex(n)):0!=(l=r&~o)?a=ex(l):0!==i?a=ex(i):n||0!=(n=r&~e)&&(a=ex(n)),0===a?0:0!==t&&t!==a&&0==(t&o)&&((o=a&-a)>=(n=t&-t)||32===o&&0!=(4194048&n))?t:a}function eE(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eA(){var e=ek;return 0==(0x3c00000&(ek<<=1))&&(ek=4194304),e}function eC(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function e_(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eT(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eg(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function ej(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eg(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}function eP(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:eN(n))&(e.suspendedLanes|t))?0:n}function eN(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eR(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eO(){var e=L.p;return 0!==e?e:void 0===(e=window.event)?32:cy(e.type)}function eL(e,t){var n=L.p;try{return L.p=e,t()}finally{L.p=n}}var eD=Math.random().toString(36).slice(2),eI="__reactFiber$"+eD,eM="__reactProps$"+eD,eF="__reactContainer$"+eD,ez="__reactEvents$"+eD,e$="__reactListeners$"+eD,eB="__reactHandles$"+eD,eU="__reactResources$"+eD,eq="__reactMarker$"+eD;function eH(e){delete e[eI],delete e[eM],delete e[ez],delete e[e$],delete e[eB]}function eG(e){var t=e[eI];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eF]||n[eI]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uF(e);null!==e;){if(n=e[eI])return n;e=uF(e)}return t}n=(e=n).parentNode}return null}function eW(e){if(e=e[eI]||e[eF]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function eV(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function eQ(e){var t=e[eU];return t||(t=e[eU]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function eK(e){e[eq]=!0}var eY=new Set,eZ={};function eX(e,t){eJ(e,t),eJ(e+"Capture",t)}function eJ(e,t){for(eZ[e]=t,e=0;e<t.length;e++)eY.add(t[e])}var e0=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),e1={},e2={};function e4(e,t,n){if(J.call(e2,t)||!J.call(e1,t)&&(e0.test(t)?e2[t]=!0:(e1[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function e3(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function e5(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+r)}}function e8(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e6(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function e9(e){if(!e._valueTracker){var t=e6(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function e7(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=e6(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function te(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var tt=/[\n"\\]/g;function tn(e){return e.replace(tt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tr(e,t,n,r,a,o,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e8(t)):e.value!==""+e8(t)&&(e.value=""+e8(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?to(e,i,e8(t)):null!=n?to(e,i,e8(n)):null!=r&&e.removeAttribute("value"),null==a&&null!=o&&(e.defaultChecked=!!o),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+e8(l):e.removeAttribute("name")}function ta(e,t,n,r,a,o,i,l){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return void e9(e);n=null!=n?""+e8(n):"",t=null!=t?""+e8(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:a)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),e9(e)}function to(e,t,n){"number"===t&&te(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ti(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(a=0,n=""+e8(n),t=null;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function tl(e,t,n){if(null!=t&&((t=""+e8(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+e8(n):""}function ts(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(R(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=e8(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),e9(e)}function tu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function td(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tc.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tf(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&td(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&td(e,o,t[o])}function tp(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),th=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tg(e){return th.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ty(){}var tb=null;function tv(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tw=null,tk=null;function tx(e){var t=eW(e);if(t&&(e=t.stateNode)){var n=e[eM]||null;switch(e=t.stateNode,t.type){case"input":if(tr(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[eM]||null;if(!a)throw Error(l(90));tr(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&e7(r)}break;case"textarea":tl(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&ti(e,!!n.multiple,t,!1)}}}var tS=!1;function tE(e,t,n){if(tS)return e(t,n);tS=!0;try{return e(t)}finally{if(tS=!1,(null!==tw||null!==tk)&&(sp(),tw&&(t=tw,e=tk,tk=tw=null,tx(t),e)))for(t=0;t<e.length;t++)tx(e[t])}}function tA(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eM]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tC="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,t_=!1;if(tC)try{var tT={};Object.defineProperty(tT,"passive",{get:function(){t_=!0}}),window.addEventListener("test",tT,tT),window.removeEventListener("test",tT,tT)}catch(e){t_=!1}var tj=null,tP=null,tN=null;function tR(){if(tN)return tN;var e,t,n=tP,r=n.length,a="value"in tj?tj.value:tj.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return tN=a.slice(e,1<t?1-t:void 0)}function tO(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tL(){return!0}function tD(){return!1}function tI(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tL:tD,this.isPropagationStopped=tD,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tL)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tL)},persist:function(){},isPersistent:tL}),t}var tM,tF,tz,t$,tB,tU={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tq=tI(tU),tH=p({},tU,{view:0,detail:0}),tG=tI(tH),tW=p({},tH,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t4,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tB&&(tB&&"mousemove"===e.type?(tz=e.screenX-tB.screenX,t$=e.screenY-tB.screenY):t$=tz=0,tB=e),tz)},movementY:function(e){return"movementY"in e?e.movementY:t$}}),tV=tI(tW),tQ=tI(p({},tW,{dataTransfer:0})),tK=tI(p({},tH,{relatedTarget:0})),tY=tI(p({},tU,{animationName:0,elapsedTime:0,pseudoElement:0})),tZ=tI(p({},tU,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),tX=tI(p({},tU,{data:0})),tJ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},t0={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},t1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=t1[e])&&!!t[e]}function t4(){return t2}var t3=tI(p({},tH,{key:function(e){if(e.key){var t=tJ[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tO(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?t0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t4,charCode:function(e){return"keypress"===e.type?tO(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tO(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),t5=tI(p({},tW,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),t8=tI(p({},tH,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t4})),t6=tI(p({},tU,{propertyName:0,elapsedTime:0,pseudoElement:0})),t9=tI(p({},tW,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),t7=tI(p({},tU,{newState:0,oldState:0})),ne=[9,13,27,32],nt=tC&&"CompositionEvent"in window,nn=null;tC&&"documentMode"in document&&(nn=document.documentMode);var nr=tC&&"TextEvent"in window&&!nn,na=tC&&(!nt||nn&&8<nn&&11>=nn),no=!1;function ni(e,t){switch(e){case"keyup":return -1!==ne.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nl(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ns=!1,nu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nu[e.type]:"textarea"===t}function nd(e,t,n,r){tw?tk?tk.push(r):tk=[r]:tw=r,0<(t=uo(t,"onChange")).length&&(n=new tq("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nf=null,np=null;function nm(e){s6(e,0)}function nh(e){if(e7(eV(e)))return e}function ng(e,t){if("change"===e)return t}var ny=!1;if(tC){if(tC){var nb="oninput"in document;if(!nb){var nv=document.createElement("div");nv.setAttribute("oninput","return;"),nb="function"==typeof nv.oninput}r=nb}else r=!1;ny=r&&(!document.documentMode||9<document.documentMode)}function nw(){nf&&(nf.detachEvent("onpropertychange",nk),np=nf=null)}function nk(e){if("value"===e.propertyName&&nh(np)){var t=[];nd(t,np,e,tv(e)),tE(nm,t)}}function nx(e,t,n){"focusin"===e?(nw(),nf=t,np=n,nf.attachEvent("onpropertychange",nk)):"focusout"===e&&nw()}function nS(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nh(np)}function nE(e,t){if("click"===e)return nh(t)}function nA(e,t){if("input"===e||"change"===e)return nh(t)}var nC="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function n_(e,t){if(nC(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!J.call(t,a)||!nC(e[a],t[a]))return!1}return!0}function nT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nj(e,t){var n,r=nT(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nT(r)}}function nP(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=te(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=te(e.document)}return t}function nN(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nR=tC&&"documentMode"in document&&11>=document.documentMode,nO=null,nL=null,nD=null,nI=!1;function nM(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nI||null==nO||nO!==te(r)||(r="selectionStart"in(r=nO)&&nN(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nD&&n_(nD,r)||(nD=r,0<(r=uo(nL,"onSelect")).length&&(t=new tq("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nO)))}function nF(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nz={animationend:nF("Animation","AnimationEnd"),animationiteration:nF("Animation","AnimationIteration"),animationstart:nF("Animation","AnimationStart"),transitionrun:nF("Transition","TransitionRun"),transitionstart:nF("Transition","TransitionStart"),transitioncancel:nF("Transition","TransitionCancel"),transitionend:nF("Transition","TransitionEnd")},n$={},nB={};function nU(e){if(n$[e])return n$[e];if(!nz[e])return e;var t,n=nz[e];for(t in n)if(n.hasOwnProperty(t)&&t in nB)return n$[e]=n[t];return e}tC&&(nB=document.createElement("div").style,"AnimationEvent"in window||(delete nz.animationend.animation,delete nz.animationiteration.animation,delete nz.animationstart.animation),"TransitionEvent"in window||delete nz.transitionend.transition);var nq=nU("animationend"),nH=nU("animationiteration"),nG=nU("animationstart"),nW=nU("transitionrun"),nV=nU("transitionstart"),nQ=nU("transitioncancel"),nK=nU("transitionend"),nY=new Map,nZ="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function nX(e,t){nY.set(e,t),eX(t,[e])}nZ.push("scrollEnd");var nJ="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},n0=[],n1=0,n2=0;function n4(){for(var e=n1,t=n2=n1=0;t<e;){var n=n0[t];n0[t++]=null;var r=n0[t];n0[t++]=null;var a=n0[t];n0[t++]=null;var o=n0[t];if(n0[t++]=null,null!==r&&null!==a){var i=r.pending;null===i?a.next=a:(a.next=i.next,i.next=a),r.pending=a}0!==o&&n6(n,a,o)}}function n3(e,t,n,r){n0[n1++]=e,n0[n1++]=t,n0[n1++]=n,n0[n1++]=r,n2|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function n5(e,t,n,r){return n3(e,t,n,r),n9(e)}function n8(e,t){return n3(e,null,null,t),n9(e)}function n6(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var a=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(a=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,a&&null!==t&&(a=31-eg(n),null===(r=(e=o.hiddenUpdates)[a])?e[a]=[t]:r.push(t),t.lane=0x20000000|n),o):null}function n9(e){if(50<so)throw so=0,si=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var n7={};function re(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rt(e,t,n,r){return new re(e,t,n,r)}function rn(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rr(e,t){var n=e.alternate;return null===n?((n=rt(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x3e00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ra(e,t){e.flags&=0x3e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ro(e,t,n,r,a,o){var i=0;if(r=e,"function"==typeof e)rn(e)&&(i=1);else if("string"==typeof e)i=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,B.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case _:return(e=rt(31,n,t,a)).elementType=_,e.lanes=o,e;case y:return ri(n.children,a,o,t);case b:i=8,a|=24;break;case v:return(e=rt(12,n,t,2|a)).elementType=v,e.lanes=o,e;case S:return(e=rt(13,n,t,a)).elementType=S,e.lanes=o,e;case E:return(e=rt(19,n,t,a)).elementType=E,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:i=10;break e;case w:i=9;break e;case x:i=11;break e;case A:i=14;break e;case C:i=16,r=null;break e}i=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=rt(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function ri(e,t,n,r){return(e=rt(7,e,r,t)).lanes=n,e}function rl(e,t,n){return(e=rt(6,e,null,t)).lanes=n,e}function rs(e){var t=rt(18,null,null,0);return t.stateNode=e,t}function ru(e,t,n){return(t=rt(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rc=new WeakMap;function rd(e,t){if("object"==typeof e&&null!==e){var n=rc.get(e);return void 0!==n?n:(t={value:e,source:t,stack:X(t)},rc.set(e,t),t)}return{value:e,source:t,stack:X(t)}}var rf=[],rp=0,rm=null,rh=0,rg=[],ry=0,rb=null,rv=1,rw="";function rk(e,t){rf[rp++]=rh,rf[rp++]=rm,rm=e,rh=t}function rx(e,t,n){rg[ry++]=rv,rg[ry++]=rw,rg[ry++]=rb,rb=e;var r=rv;e=rw;var a=32-eg(r)-1;r&=~(1<<a),n+=1;var o=32-eg(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,rv=1<<32-eg(t)+a|n<<a|r,rw=o+e}else rv=1<<o|n<<a|r,rw=e}function rS(e){null!==e.return&&(rk(e,1),rx(e,1,0))}function rE(e){for(;e===rm;)rm=rf[--rp],rf[rp]=null,rh=rf[--rp],rf[rp]=null;for(;e===rb;)rb=rg[--ry],rg[ry]=null,rw=rg[--ry],rg[ry]=null,rv=rg[--ry],rg[ry]=null}function rA(e,t){rg[ry++]=rv,rg[ry++]=rw,rg[ry++]=rb,rv=t.id,rw=t.overflow,rb=e}var rC=null,r_=null,rT=!1,rj=null,rP=!1,rN=Error(l(519));function rR(e){var t=Error(l(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw rF(rd(t,e)),rN}function rO(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eI]=e,t[eM]=r,n){case"dialog":s9("cancel",t),s9("close",t);break;case"iframe":case"object":case"embed":s9("load",t);break;case"video":case"audio":for(n=0;n<s5.length;n++)s9(s5[n],t);break;case"source":s9("error",t);break;case"img":case"image":case"link":s9("error",t),s9("load",t);break;case"details":s9("toggle",t);break;case"input":s9("invalid",t),ta(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":s9("invalid",t);break;case"textarea":s9("invalid",t),ts(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ud(t.textContent,n)?(null!=r.popover&&(s9("beforetoggle",t),s9("toggle",t)),null!=r.onScroll&&s9("scroll",t),null!=r.onScrollEnd&&s9("scrollend",t),null!=r.onClick&&(t.onclick=ty),t=!0):t=!1,t||rR(e,!0)}function rL(e){for(rC=e.return;rC;)switch(rC.tag){case 5:case 31:case 13:rP=!1;return;case 27:case 3:rP=!0;return;default:rC=rC.return}}function rD(e){if(e!==rC)return!1;if(!rT)return rL(e),rT=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||uk(e.type,e.memoizedProps)),t=!t),t&&r_&&rR(e),rL(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));r_=uM(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));r_=uM(e)}else 27===n?(n=r_,uT(e.type)?(e=uI,uI=null,r_=e):r_=n):r_=rC?uD(e.stateNode.nextSibling):null;return!0}function rI(){r_=rC=null,rT=!1}function rM(){var e=rj;return null!==e&&(null===l1?l1=e:l1.push.apply(l1,e),rj=null),e}function rF(e){null===rj?rj=[e]:rj.push(e)}var rz=F(null),r$=null,rB=null;function rU(e,t,n){$(rz,t._currentValue),t._currentValue=n}function rq(e){e._currentValue=rz.current,z(rz)}function rH(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function rG(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var o=a.dependencies;if(null!==o){var i=a.child;o=o.firstContext;e:for(;null!==o;){var s=o;o=a;for(var u=0;u<t.length;u++)if(s.context===t[u]){o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),rH(o.return,n,e),r||(i=null);break e}o=s.next}}else if(18===a.tag){if(null===(i=a.return))throw Error(l(341));i.lanes|=n,null!==(o=i.alternate)&&(o.lanes|=n),rH(i,n,e),i=null}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===e){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}function rW(e,t,n,r){e=null;for(var a=t,o=!1;null!==a;){if(!o){if(0!=(524288&a.flags))o=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var i=a.alternate;if(null===i)throw Error(l(387));if(null!==(i=i.memoizedProps)){var s=a.type;nC(a.pendingProps.value,i.value)||(null!==e?e.push(s):e=[s])}}else if(a===H.current){if(null===(i=a.alternate))throw Error(l(387));i.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(cn):e=[cn])}a=a.return}null!==e&&rG(t,e,n,r),t.flags|=262144}function rV(e){for(e=e.firstContext;null!==e;){if(!nC(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rQ(e){r$=e,rB=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function rK(e){return rZ(r$,e)}function rY(e,t){return null===r$&&rQ(e),rZ(e,t)}function rZ(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===rB){if(null===e)throw Error(l(308));rB=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else rB=rB.next=t;return n}var rX="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},rJ=a.unstable_scheduleCallback,r0=a.unstable_NormalPriority,r1={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function r2(){return{controller:new rX,data:new Map,refCount:0}}function r4(e){e.refCount--,0===e.refCount&&rJ(r0,function(){e.controller.abort()})}var r3=null,r5=0,r8=0,r6=null;function r9(){if(0==--r5&&null!==r3){null!==r6&&(r6.status="fulfilled");var e=r3;r3=null,r8=0,r6=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var r7=O.S;O.S=function(e,t){l3=ea(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===r3){var t=r3=[];r5=0,r8=s0(),r6={status:"pending",value:void 0,then:function(e){t.push(e)}}}r5++,e.then(r9,r9)}(t),null!==r7&&r7(e,t)};var ae=F(null);function at(){var e=ae.current;return null!==e?e:lz.pooledCache}function an(e,t){null===t?$(ae,ae.current):$(ae,t.pool)}function ar(){var e=at();return null===e?null:{parent:r1._currentValue,pool:e}}var aa=Error(l(460)),ao=Error(l(474)),al=Error(l(542)),as={then:function(){}};function au(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ac(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(ty,ty),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw am(e=t.reason),e;default:if("string"==typeof t.status)t.then(ty,ty);else{if(null!==(e=lz)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw am(e=t.reason),e}throw af=t,aa}}function ad(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw af=e,aa;throw e}}var af=null;function ap(){if(null===af)throw Error(l(459));var e=af;return af=null,e}function am(e){if(e===aa||e===al)throw Error(l(483))}var ah=null,ag=0;function ay(e){var t=ag;return ag+=1,null===ah&&(ah=[]),ac(ah,e,t)}function ab(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function av(e,t){if(t.$$typeof===m)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aw(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=rr(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=0x4000002,n):r:(t.flags|=0x4000002,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=0x4000002),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=rl(n,e.mode,r)).return=e:(t=a(t,n)).return=e,t}function u(e,t,n,r){var o=n.type;return o===y?d(e,t,n.props.children,r,n.key):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===C&&ad(o)===t.type)?ab(t=a(t,n.props),n):ab(t=ro(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=ru(n,e.mode,r)).return=e:(t=a(t,n.children||[])).return=e,t}function d(e,t,n,r,o){return null===t||7!==t.tag?(t=ri(n,e.mode,r,o)).return=e:(t=a(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return ab(n=ro(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case g:return(t=ru(t,e.mode,n)).return=e,t;case C:return f(e,t=ad(t),n)}if(R(t)||P(t))return(t=ri(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,ay(t),n);if(t.$$typeof===k)return f(e,rY(e,t),n);av(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case h:return n.key===a?u(e,t,n,r):null;case g:return n.key===a?c(e,t,n,r):null;case C:return p(e,t,n=ad(n),r)}if(R(n)||P(n))return null!==a?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,ay(n),r);if(n.$$typeof===k)return p(e,t,rY(e,n),r);av(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case h:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case g:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case C:return m(e,t,n,r=ad(r),a)}if(R(r)||P(r))return d(t,e=e.get(n)||null,r,a,null);if("function"==typeof r.then)return m(e,t,n,ay(r),a);if(r.$$typeof===k)return m(e,t,n,rY(t,r),a);av(t,r)}return null}return function(s,u,c,d){try{ag=0;var b=function s(u,c,d,b){if("object"==typeof d&&null!==d&&d.type===y&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case h:e:{for(var v=d.key;null!==c;){if(c.key===v){if((v=d.type)===y){if(7===c.tag){n(u,c.sibling),(b=a(c,d.props.children)).return=u,u=b;break e}}else if(c.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===C&&ad(v)===c.type){n(u,c.sibling),ab(b=a(c,d.props),d),b.return=u,u=b;break e}n(u,c);break}t(u,c),c=c.sibling}d.type===y?(b=ri(d.props.children,u.mode,b,d.key)).return=u:(ab(b=ro(d.type,d.key,d.props,null,u.mode,b),d),b.return=u),u=b}return i(u);case g:e:{for(v=d.key;null!==c;){if(c.key===v)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(b=a(c,d.children||[])).return=u,u=b;break e}else{n(u,c);break}t(u,c),c=c.sibling}(b=ru(d,u.mode,b)).return=u,u=b}return i(u);case C:return s(u,c,d=ad(d),b)}if(R(d))return function(a,i,l,s){for(var u=null,c=null,d=i,h=i=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var y=p(a,d,l[h],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),i=o(y,i,h),null===c?u=y:c.sibling=y,c=y,d=g}if(h===l.length)return n(a,d),rT&&rk(a,h),u;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],s))&&(i=o(d,i,h),null===c?u=d:c.sibling=d,c=d);return rT&&rk(a,h),u}for(d=r(d);h<l.length;h++)null!==(g=m(d,a,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=o(g,i,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),rT&&rk(a,h),u}(u,c,d,b);if(P(d)){if("function"!=typeof(v=P(d)))throw Error(l(150));return function(a,i,s,u){if(null==s)throw Error(l(151));for(var c=null,d=null,h=i,g=i=0,y=null,b=s.next();null!==h&&!b.done;g++,b=s.next()){h.index>g?(y=h,h=null):y=h.sibling;var v=p(a,h,b.value,u);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(a,h),i=o(v,i,g),null===d?c=v:d.sibling=v,d=v,h=y}if(b.done)return n(a,h),rT&&rk(a,g),c;if(null===h){for(;!b.done;g++,b=s.next())null!==(b=f(a,b.value,u))&&(i=o(b,i,g),null===d?c=b:d.sibling=b,d=b);return rT&&rk(a,g),c}for(h=r(h);!b.done;g++,b=s.next())null!==(b=m(h,a,g,b.value,u))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),i=o(b,i,g),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach(function(e){return t(a,e)}),rT&&rk(a,g),c}(u,c,d=v.call(d),b)}if("function"==typeof d.then)return s(u,c,ay(d),b);if(d.$$typeof===k)return s(u,c,rY(u,d),b);av(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(b=a(c,d)).return=u):(n(u,c),(b=rl(d,u.mode,b)).return=u),i(u=b)):n(u,c)}(s,u,c,d);return ah=null,b}catch(e){if(e===aa||e===al)throw e;var v=rt(29,e,null,s.mode);return v.lanes=d,v.return=s,v}finally{}}}var ak=aw(!0),ax=aw(!1),aS=!1;function aE(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aA(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aC(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function a_(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&lF)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,t=n9(e),n6(e,null,n),t}return n3(e,r,t,n),n9(e)}function aT(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ej(e,n)}}function aj(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n)null===o?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var aP=!1;function aN(){if(aP){var e=r6;if(null!==e)throw e}}function aR(e,t,n,r){aP=!1;var a=e.updateQueue;aS=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=-0x20000001&l.lane,m=f!==l.lane;if(m?(lB&f)===f:(r&f)===f){0!==f&&f===r8&&(aP=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,g=l;switch(f=t,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(n,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(n,d,f):h))break e;d=p({},d,f);break e;case 2:aS=!0}}null!==(f=l.callback)&&(e.flags|=64,m&&(e.flags|=8192),null===(m=a.callbacks)?a.callbacks=[f]:m.push(f))}else m={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=m,s=d):c=c.next=m,i|=f;if(null===(l=l.next))if(null===(l=a.shared.pending))break;else l=(m=l).next,m.next=null,a.lastBaseUpdate=m,a.shared.pending=null}null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===o&&(a.shared.lanes=0),lK|=i,e.lanes=i,e.memoizedState=d}}function aO(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function aL(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)aO(n[e],t)}var aD=F(null),aI=F(0);function aM(e,t){$(aI,e=lV),$(aD,t),lV=e|t.baseLanes}function aF(){$(aI,lV),$(aD,aD.current)}function az(){lV=aI.current,z(aD),z(aI)}var a$=F(null),aB=null;function aU(e){var t=e.alternate;$(aV,1&aV.current),$(a$,e),null===aB&&(null===t||null!==aD.current?aB=e:null!==t.memoizedState&&(aB=e))}function aq(e){$(aV,aV.current),$(a$,e),null===aB&&(aB=e)}function aH(e){22===e.tag?($(aV,aV.current),$(a$,e),null===aB&&(aB=e)):aG(e)}function aG(){$(aV,aV.current),$(a$,a$.current)}function aW(e){z(a$),aB===e&&(aB=null),z(aV)}var aV=F(0);function aQ(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||uO(n)||uL(n)))return t}else if(19===t.tag&&("forwards"===t.memoizedProps.revealOrder||"backwards"===t.memoizedProps.revealOrder||"unstable_legacy-backwards"===t.memoizedProps.revealOrder||"together"===t.memoizedProps.revealOrder)){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aK=0,aY=null,aZ=null,aX=null,aJ=!1,a0=!1,a1=!1,a2=0,a4=0,a3=null,a5=0;function a8(){throw Error(l(321))}function a6(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nC(e[n],t[n]))return!1;return!0}function a9(e,t,n,r,a,o){return aK=o,aY=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=null===e||null===e.memoizedState?io:ii,a1=!1,o=n(r,a),a1=!1,a0&&(o=oe(t,n,r,a)),a7(e),o}function a7(e){O.H=ia;var t=null!==aZ&&null!==aZ.next;if(aK=0,aX=aZ=aY=null,aJ=!1,a4=0,a3=null,t)throw Error(l(300));null===e||iS||null!==(e=e.dependencies)&&rV(e)&&(iS=!0)}function oe(e,t,n,r){aY=e;var a=0;do{if(a0&&(a3=null),a4=0,a0=!1,25<=a)throw Error(l(301));if(a+=1,aX=aZ=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}O.H=il,o=t(n,r)}while(a0)return o}function ot(){var e=O.H,t=e.useState()[0];return t="function"==typeof t.then?os(t):t,e=e.useState()[0],(null!==aZ?aZ.memoizedState:null)!==e&&(aY.flags|=1024),t}function on(){var e=0!==a2;return a2=0,e}function or(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function oa(e){if(aJ){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}aJ=!1}aK=0,aX=aZ=aY=null,a0=!1,a4=a2=0,a3=null}function oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aX?aY.memoizedState=aX=e:aX=aX.next=e,aX}function oi(){if(null===aZ){var e=aY.alternate;e=null!==e?e.memoizedState:null}else e=aZ.next;var t=null===aX?aY.memoizedState:aX.next;if(null!==t)aX=t,aZ=e;else{if(null===e){if(null===aY.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(aZ=e).memoizedState,baseState:aZ.baseState,baseQueue:aZ.baseQueue,queue:aZ.queue,next:null},null===aX?aY.memoizedState=aX=e:aX=aX.next=e}return aX}function ol(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function os(e){var t=a4;return a4+=1,null===a3&&(a3=[]),e=ac(a3,e,t),t=aY,null===(null===aX?t.memoizedState:aX.next)&&(O.H=null===(t=t.alternate)||null===t.memoizedState?io:ii),e}function ou(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return os(e);if(e.$$typeof===k)return rK(e)}throw Error(l(438,String(e)))}function oc(e){var t=null,n=aY.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=aY.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=ol(),aY.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=T;return t.index++,n}function od(e,t){return"function"==typeof t?t(e):t}function of(e){return op(oi(),aZ,e)}function op(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,null===a)e.memoizedState=o;else{t=a.next;var s=i=null,u=null,c=t,d=!1;do{var f=-0x20000001&c.lane;if(f!==c.lane?(lB&f)===f:(aK&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===r8&&(d=!0);else if((aK&p)===p){c=c.next,p===r8&&(d=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,i=o):u=u.next=f,aY.lanes|=p,lK|=p;f=c.action,a1&&n(o,f),o=c.hasEagerState?c.eagerState:n(o,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,i=o):u=u.next=p,aY.lanes|=f,lK|=f;c=c.next}while(null!==c&&c!==t)if(null===u?i=o:u.next=s,!nC(o,e.memoizedState)&&(iS=!0,d&&null!==(n=r6)))throw n;e.memoizedState=o,e.baseState=i,e.baseQueue=u,r.lastRenderedState=o}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function om(e){var t=oi(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a)nC(o,t.memoizedState)||(iS=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function oh(e,t,n){var r=aY,a=oi(),o=rT;if(o){if(void 0===n)throw Error(l(407));n=n()}else n=t();var i=!nC((aZ||a).memoizedState,n);if(i&&(a.memoizedState=n,iS=!0),a=a.queue,o$(ob.bind(null,r,a,e),[e]),a.getSnapshot!==t||i||null!==aX&&1&aX.memoizedState.tag){if(r.flags|=2048,oD(9,{destroy:void 0},oy.bind(null,r,a,n,t),null),null===lz)throw Error(l(349));o||0!=(127&aK)||og(r,t,n)}return n}function og(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=aY.updateQueue)?(t=ol(),aY.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function oy(e,t,n,r){t.value=n,t.getSnapshot=r,ov(t)&&ow(e)}function ob(e,t,n){return n(function(){ov(t)&&ow(e)})}function ov(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nC(e,n)}catch(e){return!0}}function ow(e){var t=n8(e,2);null!==t&&su(t,e,2)}function ok(e){var t=oo();if("function"==typeof e){var n=e;if(e=n(),a1){eh(!0);try{n()}finally{eh(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:e},t}function ox(e,t,n,r){return e.baseState=n,op(e,aZ,"function"==typeof r?r:od)}function oS(e,t,n,r,a){if(ie(e))throw Error(l(485));if(null!==(e=t.action)){var o={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==O.T?n(!0):o.isTransition=!1,r(o),null===(n=t.pending)?(o.next=t.pending=o,oE(t,o)):(o.next=n.next,t.pending=n.next=o)}}function oE(e,t){var n=t.action,r=t.payload,a=e.state;if(t.isTransition){var o=O.T,i={};O.T=i;try{var l=n(a,r),s=O.S;null!==s&&s(i,l),oA(e,t,l)}catch(n){o_(e,t,n)}finally{null!==o&&null!==i.types&&(o.types=i.types),O.T=o}}else try{o=n(a,r),oA(e,t,o)}catch(n){o_(e,t,n)}}function oA(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){oC(e,t,n)},function(n){return o_(e,t,n)}):oC(e,t,n)}function oC(e,t,n){t.status="fulfilled",t.value=n,oT(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,oE(e,n)))}function o_(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,oT(t),t=t.next;while(t!==r)}e.action=null}function oT(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function oj(e,t){return t}function oP(e,t){if(rT){var n=lz.formState;if(null!==n){e:{var r=aY;if(rT){if(r_){t:{for(var a=r_,o=rP;8!==a.nodeType;)if(!o||null===(a=uD(a.nextSibling))){a=null;break t}a="F!"===(o=a.data)||"F"===o?a:null}if(a){r_=uD(a.nextSibling),r="F!"===a.data;break e}}rR(r)}r=!1}r&&(t=n[0])}}return(n=oo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oj,lastRenderedState:t},n.queue=r,n=o6.bind(null,aY,r),r.dispatch=n,r=ok(!1),o=o7.bind(null,aY,!1,r.queue),r=oo(),a={state:t,dispatch:null,action:e,pending:null},r.queue=a,n=oS.bind(null,aY,a,o,n),a.dispatch=n,r.memoizedState=e,[t,n,!1]}function oN(e){return oR(oi(),aZ,e)}function oR(e,t,n){if(t=op(e,t,oj)[0],e=of(od)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=os(t)}catch(e){if(e===aa)throw al;throw e}else r=t;var a=(t=oi()).queue,o=a.dispatch;return n!==t.memoizedState&&(aY.flags|=2048,oD(9,{destroy:void 0},oO.bind(null,a,n),null)),[r,o,e]}function oO(e,t){e.action=t}function oL(e){var t=oi(),n=aZ;if(null!==n)return oR(t,n,e);oi(),t=t.memoizedState;var r=(n=oi()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function oD(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=aY.updateQueue)&&(t=ol(),aY.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function oI(){return oi().memoizedState}function oM(e,t,n,r){var a=oo();aY.flags|=e,a.memoizedState=oD(1|t,{destroy:void 0},n,void 0===r?null:r)}function oF(e,t,n,r){var a=oi();r=void 0===r?null:r;var o=a.memoizedState.inst;null!==aZ&&null!==r&&a6(r,aZ.memoizedState.deps)?a.memoizedState=oD(t,o,n,r):(aY.flags|=e,a.memoizedState=oD(1|t,o,n,r))}function oz(e,t){oM(8390656,8,e,t)}function o$(e,t){oF(2048,8,e,t)}function oB(e){var t=oi().memoizedState,n={ref:t,nextImpl:e};aY.flags|=4;var r=aY.updateQueue;if(null===r)r=ol(),aY.updateQueue=r,r.events=[n];else{var a=r.events;null===a?r.events=[n]:a.push(n)}return function(){if(0!=(2&lF))throw Error(l(440));return t.impl.apply(void 0,arguments)}}function oU(e,t){return oF(4,2,e,t)}function oq(e,t){return oF(4,4,e,t)}function oH(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function oG(e,t,n){n=null!=n?n.concat([e]):null,oF(4,4,oH.bind(null,t,e),n)}function oW(){}function oV(e,t){var n=oi();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&a6(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oQ(e,t){var n=oi();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&a6(t,r[1]))return r[0];if(r=e(),a1){eh(!0);try{e()}finally{eh(!1)}}return n.memoizedState=[r,t],r}function oK(e,t,n){return void 0===n||0!=(0x40000000&aK)&&0==(261930&lB)?e.memoizedState=t:(e.memoizedState=n,e=ss(),aY.lanes|=e,lK|=e,n)}function oY(e,t,n,r){return nC(n,t)?n:null!==aD.current?(nC(e=oK(e,n,r),t)||(iS=!0),e):0==(42&aK)||0!=(0x40000000&aK)&&0==(261930&lB)?(iS=!0,e.memoizedState=n):(e=ss(),aY.lanes|=e,lK|=e,t)}function oZ(e,t,n,r,a){var o=L.p;L.p=0!==o&&8>o?o:8;var i=O.T,l={};O.T=l,o7(e,!1,t,n);try{var s=a(),u=O.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var c,d,f=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},s.then(function(){d.status="fulfilled",d.value=r;for(var e=0;e<c.length;e++)(0,c[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);o9(e,t,f,sl(e))}else o9(e,t,r,sl(e))}catch(n){o9(e,t,{then:function(){},status:"rejected",reason:n},sl())}finally{L.p=o,null!==i&&null!==l.types&&(i.types=l.types),O.T=i}}function oX(){}function oJ(e,t,n,r){if(5!==e.tag)throw Error(l(476));var a=o0(e).queue;oZ(e,a,t,D,null===n?oX:function(){return o1(e),n(r)})}function o0(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:D,baseState:D,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:D},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function o1(e){var t=o0(e);null===t.next&&(t=e.alternate.memoizedState),o9(e,t.next.queue,{},sl())}function o2(){return rK(cn)}function o4(){return oi().memoizedState}function o3(){return oi().memoizedState}function o5(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=sl(),r=a_(t,e=aC(n),n);null!==r&&(su(r,t,n),aT(r,t,n)),t={cache:r2()},e.payload=t;return}t=t.return}}function o8(e,t,n){var r=sl();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ie(e)?it(t,n):null!==(n=n5(e,t,n,r))&&(su(n,e,r),ir(n,t,r))}function o6(e,t,n){o9(e,t,n,sl())}function o9(e,t,n,r){var a={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ie(e))it(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,nC(l,i))return n3(e,t,a,0),null===lz&&n4(),!1}catch(e){}finally{}if(null!==(n=n5(e,t,a,r)))return su(n,e,r),ir(n,t,r),!0}return!1}function o7(e,t,n,r){if(r={lane:2,revertLane:s0(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ie(e)){if(t)throw Error(l(479))}else null!==(t=n5(e,n,r,2))&&su(t,e,2)}function ie(e){var t=e.alternate;return e===aY||null!==t&&t===aY}function it(e,t){a0=aJ=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ir(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,ej(e,n)}}var ia={readContext:rK,use:ou,useCallback:a8,useContext:a8,useEffect:a8,useImperativeHandle:a8,useLayoutEffect:a8,useInsertionEffect:a8,useMemo:a8,useReducer:a8,useRef:a8,useState:a8,useDebugValue:a8,useDeferredValue:a8,useTransition:a8,useSyncExternalStore:a8,useId:a8,useHostTransitionStatus:a8,useFormState:a8,useActionState:a8,useOptimistic:a8,useMemoCache:a8,useCacheRefresh:a8};ia.useEffectEvent=a8;var io={readContext:rK,use:ou,useCallback:function(e,t){return oo().memoizedState=[e,void 0===t?null:t],e},useContext:rK,useEffect:oz,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,oM(4194308,4,oH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oM(4194308,4,e,t)},useInsertionEffect:function(e,t){oM(4,2,e,t)},useMemo:function(e,t){var n=oo();t=void 0===t?null:t;var r=e();if(a1){eh(!0);try{e()}finally{eh(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=oo();if(void 0!==n){var a=n(t);if(a1){eh(!0);try{n(t)}finally{eh(!1)}}}else a=t;return r.memoizedState=r.baseState=a,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=o8.bind(null,aY,e),[r.memoizedState,e]},useRef:function(e){return oo().memoizedState={current:e}},useState:function(e){var t=(e=ok(e)).queue,n=o6.bind(null,aY,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:oW,useDeferredValue:function(e,t){return oK(oo(),e,t)},useTransition:function(){var e=ok(!1);return e=oZ.bind(null,aY,e.queue,!0,!1),oo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=aY,a=oo();if(rT){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===lz)throw Error(l(349));0!=(127&lB)||og(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oz(ob.bind(null,r,o,e),[e]),r.flags|=2048,oD(9,{destroy:void 0},oy.bind(null,r,o,n,t),null),n},useId:function(){var e=oo(),t=lz.identifierPrefix;if(rT){var n=rw,r=rv;t="_"+t+"R_"+(n=(r&~(1<<32-eg(r)-1)).toString(32)+n),0<(n=a2++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=a5++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:o2,useFormState:oP,useActionState:oP,useOptimistic:function(e){var t=oo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=o7.bind(null,aY,!0,n),n.dispatch=t,[e,t]},useMemoCache:oc,useCacheRefresh:function(){return oo().memoizedState=o5.bind(null,aY)},useEffectEvent:function(e){var t=oo(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&lF))throw Error(l(440));return n.impl.apply(void 0,arguments)}}},ii={readContext:rK,use:ou,useCallback:oV,useContext:rK,useEffect:o$,useImperativeHandle:oG,useInsertionEffect:oU,useLayoutEffect:oq,useMemo:oQ,useReducer:of,useRef:oI,useState:function(){return of(od)},useDebugValue:oW,useDeferredValue:function(e,t){return oY(oi(),aZ.memoizedState,e,t)},useTransition:function(){var e=of(od)[0],t=oi().memoizedState;return["boolean"==typeof e?e:os(e),t]},useSyncExternalStore:oh,useId:o4,useHostTransitionStatus:o2,useFormState:oN,useActionState:oN,useOptimistic:function(e,t){return ox(oi(),aZ,e,t)},useMemoCache:oc,useCacheRefresh:o3};ii.useEffectEvent=oB;var il={readContext:rK,use:ou,useCallback:oV,useContext:rK,useEffect:o$,useImperativeHandle:oG,useInsertionEffect:oU,useLayoutEffect:oq,useMemo:oQ,useReducer:om,useRef:oI,useState:function(){return om(od)},useDebugValue:oW,useDeferredValue:function(e,t){var n=oi();return null===aZ?oK(n,e,t):oY(n,aZ.memoizedState,e,t)},useTransition:function(){var e=om(od)[0],t=oi().memoizedState;return["boolean"==typeof e?e:os(e),t]},useSyncExternalStore:oh,useId:o4,useHostTransitionStatus:o2,useFormState:oL,useActionState:oL,useOptimistic:function(e,t){var n=oi();return null!==aZ?ox(n,aZ,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:oc,useCacheRefresh:o3};function is(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:p({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}il.useEffectEvent=oB;var iu={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=sl(),a=aC(r);a.payload=t,null!=n&&(a.callback=n),null!==(t=a_(e,a,r))&&(su(t,e,r),aT(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=sl(),a=aC(r);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=a_(e,a,r))&&(su(t,e,r),aT(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=sl(),r=aC(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=a_(e,r,n))&&(su(t,e,n),aT(t,e,n))}};function ic(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||!n_(n,r)||!n_(a,o)}function id(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iu.enqueueReplaceState(t,t.state,null)}function ip(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var a in n===t&&(n=p({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}function im(e){nJ(e)}function ih(e){console.error(e)}function ig(e){nJ(e)}function iy(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function ib(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function iv(e,t,n){return(n=aC(n)).tag=3,n.payload={element:null},n.callback=function(){iy(e,t)},n}function iw(e){return(e=aC(e)).tag=3,e}function ik(e,t,n,r){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var o=r.value;e.payload=function(){return a(o)},e.callback=function(){ib(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){ib(t,n,r),"function"!=typeof a&&(null===l6?l6=new Set([this]):l6.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var ix=Error(l(461)),iS=!1;function iE(e,t,n,r){t.child=null===e?ax(t,null,n,r):ak(t,e.child,n,r)}function iA(e,t,n,r,a){n=n.render;var o=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return(rQ(t),r=a9(e,t,n,i,o,a),l=on(),null===e||iS)?(rT&&l&&rS(t),t.flags|=1,iE(e,t,r,a),t.child):(or(e,t,a),iQ(e,t,a))}function iC(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||rn(o)||void 0!==o.defaultProps||null!==n.compare?((e=ro(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,i_(e,t,o,r,a))}if(o=e.child,!iK(e,a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:n_)(i,r)&&e.ref===t.ref)return iQ(e,t,a)}return t.flags|=1,(e=rr(o,r)).ref=t.ref,e.return=t,t.child=e}function i_(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(n_(o,r)&&e.ref===t.ref)if(iS=!1,t.pendingProps=r=o,!iK(e,a))return t.lanes=e.lanes,iQ(e,t,a);else 0!=(131072&e.flags)&&(iS=!0)}return iL(e,t,n,r,a)}function iT(e,t,n,r){var a=r.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(o=null!==o?o.baseLanes|n:n,null!==e){for(a=0,r=t.child=e.child;null!==r;)a=a|r.lanes|r.childLanes,r=r.sibling;r=a&~o}else r=0,t.child=null;return iP(e,t,o,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,iP(e,t,null!==o?o.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&an(t,null!==o?o.cachePool:null),null!==o?aM(t,o):aF(),aH(t)}else null!==o?(an(t,o.cachePool),aM(t,o),aG(t),t.memoizedState=null):(null!==e&&an(t,null),aF(),aG(t));return iE(e,t,a,n),t.child}function ij(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function iP(e,t,n,r,a){var o=at();return t.memoizedState={baseLanes:n,cachePool:o=null===o?null:{parent:r1._currentValue,pool:o}},null!==e&&an(t,null),aF(),aH(t),null!==e&&rW(e,t,r,!0),t.childLanes=a,null}function iN(e,t){return(t=iq({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function iR(e,t,n){return ak(t,e.child,null,n),e=iN(t,t.pendingProps),e.flags|=2,aW(t),t.memoizedState=null,e}function iO(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function iL(e,t,n,r,a){return(rQ(t),n=a9(e,t,n,r,void 0,a),r=on(),null===e||iS)?(rT&&r&&rS(t),t.flags|=1,iE(e,t,n,a),t.child):(or(e,t,a),iQ(e,t,a))}function iD(e,t,n,r,a,o){return(rQ(t),t.updateQueue=null,n=oe(t,r,n,a),a7(e),r=on(),null===e||iS)?(rT&&r&&rS(t),t.flags|=1,iE(e,t,n,o),t.child):(or(e,t,o),iQ(e,t,o))}function iI(e,t,n,r,a){if(rQ(t),null===t.stateNode){var o=n7,i=n.contextType;"object"==typeof i&&null!==i&&(o=rK(i)),t.memoizedState=null!==(o=new n(r,o)).state&&void 0!==o.state?o.state:null,o.updater=iu,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},aE(t),i=n.contextType,o.context="object"==typeof i&&null!==i?rK(i):n7,o.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(is(t,n,i,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(i=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),i!==o.state&&iu.enqueueReplaceState(o,o.state,null),aR(t,r,o,a),aN(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var l=t.memoizedProps,s=ip(n,l);o.props=s;var u=o.context,c=n.contextType;i=n7,"object"==typeof c&&null!==c&&(i=rK(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l||u!==i)&&id(t,o,r,i),aS=!1;var f=t.memoizedState;o.state=f,aR(t,r,o,a),aN(),u=t.memoizedState,l||f!==u||aS?("function"==typeof d&&(is(t,n,d,r),u=t.memoizedState),(s=aS||ic(t,n,s,r,f,u,i))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=i,r=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,aA(e,t),c=ip(n,i=t.memoizedProps),o.props=c,d=t.pendingProps,f=o.context,u=n.contextType,s=n7,"object"==typeof u&&null!==u&&(s=rK(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||f!==s)&&id(t,o,r,s),aS=!1,f=t.memoizedState,o.state=f,aR(t,r,o,a),aN();var p=t.memoizedState;i!==d||f!==p||aS||null!==e&&null!==e.dependencies&&rV(e.dependencies)?("function"==typeof l&&(is(t,n,l,r),p=t.memoizedState),(c=aS||ic(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&rV(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=s,r=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,iO(e,t),r=0!=(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=ak(t,e.child,null,a),t.child=ak(t,null,n,a)):iE(e,t,n,a),t.memoizedState=o.state,e=t.child):e=iQ(e,t,a),e}function iM(e,t,n,r){return rI(),t.flags|=256,iE(e,t,n,r),t.child}var iF={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function iz(e){return{baseLanes:e,cachePool:ar()}}function i$(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=lX),e}function iB(e,t,n){var r,a=t.pendingProps,o=!1,i=0!=(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&aV.current)),r&&(o=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rT){if(o?aU(t):aG(t),(e=r_)?null!==(e=null!==(e=uR(e,rP))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rb?{id:rv,overflow:rw}:null,retryLane:0x20000000,hydrationErrors:null},(n=rs(e)).return=t,t.child=n,rC=t,r_=null):e=null,null===e)throw rR(t);return uL(e)?t.lanes=32:t.lanes=0x20000000,null}var s=a.children;return(a=a.fallback,o)?(aG(t),s=iq({mode:"hidden",children:s},o=t.mode),a=ri(a,o,n,null),s.return=t,a.return=t,s.sibling=a,t.child=s,(a=t.child).memoizedState=iz(n),a.childLanes=i$(e,r,n),t.memoizedState=iF,ij(null,a)):(aU(t),iU(t,s))}var u=e.memoizedState;if(null!==u&&null!==(s=u.dehydrated)){if(i)256&t.flags?(aU(t),t.flags&=-257,t=iH(e,t,n)):null!==t.memoizedState?(aG(t),t.child=e.child,t.flags|=128,t=null):(aG(t),s=a.fallback,o=t.mode,a=iq({mode:"visible",children:a.children},o),s=ri(s,o,n,null),s.flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,ak(t,e.child,null,n),(a=t.child).memoizedState=iz(n),a.childLanes=i$(e,r,n),t.memoizedState=iF,t=ij(null,a));else if(aU(t),uL(s)){if(r=s.nextSibling&&s.nextSibling.dataset)var c=r.dgst;r=c,(a=Error(l(419))).stack="",a.digest=r,rF({value:a,source:null,stack:null}),t=iH(e,t,n)}else if(iS||rW(e,t,n,!1),r=0!=(n&e.childLanes),iS||r){if(null!==(r=lz)&&0!==(a=eP(r,n))&&a!==u.retryLane)throw u.retryLane=a,n8(e,a),su(r,e,a),ix;uO(s)||sw(),t=iH(e,t,n)}else uO(s)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,r_=uD(s.nextSibling),rC=t,rT=!0,rj=null,rP=!1,null!==e&&rA(t,e),t=iU(t,a.children),t.flags|=4096);return t}return o?(aG(t),s=a.fallback,o=t.mode,c=(u=e.child).sibling,(a=rr(u,{mode:"hidden",children:a.children})).subtreeFlags=0x3e00000&u.subtreeFlags,null!==c?s=rr(c,s):(s=ri(s,o,n,null),s.flags|=2),s.return=t,a.return=t,a.sibling=s,t.child=a,ij(null,a),a=t.child,null===(s=e.child.memoizedState)?s=iz(n):(null!==(o=s.cachePool)?(u=r1._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=ar(),s={baseLanes:s.baseLanes|n,cachePool:o}),a.memoizedState=s,a.childLanes=i$(e,r,n),t.memoizedState=iF,ij(e.child,a)):(aU(t),e=(n=e.child).sibling,(n=rr(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function iU(e,t){return(t=iq({mode:"visible",children:t},e.mode)).return=e,e.child=t}function iq(e,t){return(e=rt(22,e,null,t)).lanes=0,e}function iH(e,t,n){return ak(t,e.child,null,n),e=iU(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iG(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),rH(e.return,t,n)}function iW(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,treeForkCount:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.treeForkCount=o)}function iV(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;r=r.children;var i=aV.current,l=0!=(2&i);if(l?(i=1&i|2,t.flags|=128):i&=1,$(aV,i),iE(e,t,r,n),r=rT?rh:0,!l&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iG(e,n,t);else if(19===e.tag)iG(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===aQ(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iW(t,!1,a,n,o,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===aQ(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}iW(t,!0,n,null,o,r);break;case"together":iW(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function iQ(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lK|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(rW(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=rr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iK(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&rV(e))}function iY(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)iS=!0;else{if(!iK(e,n)&&0==(128&t.flags))return iS=!1,function(e,t,n){switch(t.tag){case 3:G(t,t.stateNode.containerInfo),rU(t,r1,e.memoizedState.cache),rI();break;case 27:case 5:V(t);break;case 4:G(t,t.stateNode.containerInfo);break;case 10:rU(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,aq(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return aU(t),t.flags|=128,null;if(0!=(n&t.child.childLanes))return iB(e,t,n);return aU(t),null!==(e=iQ(e,t,n))?e.sibling:null}aU(t);break;case 19:var a=0!=(128&e.flags);if((r=0!=(n&t.childLanes))||(rW(e,t,n,!1),r=0!=(n&t.childLanes)),a){if(r)return iV(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),$(aV,aV.current),!r)return null;break;case 22:return t.lanes=0,iT(e,t,n,t.pendingProps);case 24:rU(t,r1,e.memoizedState.cache)}return iQ(e,t,n)}(e,t,n);iS=0!=(131072&e.flags)}else iS=!1,rT&&0!=(1048576&t.flags)&&rx(t,rh,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ad(t.elementType),t.type=e,"function"==typeof e)rn(e)?(r=ip(e,r),t.tag=1,t=iI(null,t,e,r,n)):(t.tag=0,t=iL(null,t,e,r,n));else{if(null!=e){var a=e.$$typeof;if(a===x){t.tag=11,t=iA(null,t,e,r,n);break e}if(a===A){t.tag=14,t=iC(null,t,e,r,n);break e}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===N?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case y:return"Fragment";case v:return"Profiler";case b:return"StrictMode";case S:return"Suspense";case E:return"SuspenseList";case _:return"Activity"}if("object"==typeof t)switch(t.$$typeof){case g:return"Portal";case k:return t.displayName||"Context";case w:return(t._context.displayName||"Context")+".Consumer";case x:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case A:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case C:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return iL(e,t,t.type,t.pendingProps,n);case 1:return a=ip(r=t.type,t.pendingProps),iI(e,t,r,a,n);case 3:e:{if(G(t,t.stateNode.containerInfo),null===e)throw Error(l(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,aA(e,t),aR(t,r,null,n);var i=t.memoizedState;if(rU(t,r1,r=i.cache),r!==o.cache&&rG(t,[r1],n,!0),aN(),r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=iM(e,t,r,n);break e}else if(r!==a){rF(a=rd(Error(l(424)),t)),t=iM(e,t,r,n);break e}else for(r_=uD((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rC=t,rT=!0,rj=null,rP=!0,n=ax(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(rI(),r===a){t=iQ(e,t,n);break e}iE(e,t,r,n)}t=t.child}return t;case 26:return iO(e,t),null===e?(n=uV(t.type,null,t.pendingProps,null))?t.memoizedState=n:rT||(n=t.type,e=t.pendingProps,(r=ub(q.current).createElement(n))[eI]=t,r[eM]=e,um(r,n,e),eK(r),t.stateNode=r):t.memoizedState=uV(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return V(t),null===e&&rT&&(r=t.stateNode=uz(t.type,t.pendingProps,q.current),rC=t,rP=!0,a=r_,uT(t.type)?(uI=a,r_=uD(r.firstChild)):r_=a),iE(e,t,t.pendingProps.children,n),iO(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rT&&((a=r=r_)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[eq])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===a)return e}if(null===(e=uD(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rP))?(t.stateNode=r,rC=t,r_=uD(r.firstChild),rP=!1,a=!0):a=!1),a||rR(t)),V(t),a=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,r=o.children,uk(a,o)?r=null:null!==i&&uk(a,i)&&(t.flags|=32),null!==t.memoizedState&&(cn._currentValue=a=a9(e,t,ot,null,null,n)),iO(e,t),iE(e,t,r,n),t.child;case 6:return null===e&&rT&&((e=n=r_)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=uD(e.nextSibling)))return null;return e}(n,t.pendingProps,rP))?(t.stateNode=n,rC=t,r_=null,e=!0):e=!1),e||rR(t)),null;case 13:return iB(e,t,n);case 4:return G(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ak(t,null,r,n):iE(e,t,r,n),t.child;case 11:return iA(e,t,t.type,t.pendingProps,n);case 7:return iE(e,t,t.pendingProps,n),t.child;case 8:case 12:return iE(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,rU(t,t.type,r.value),iE(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,rQ(t),r=r(a=rK(a)),t.flags|=1,iE(e,t,r,n),t.child;case 14:return iC(e,t,t.type,t.pendingProps,n);case 15:return i_(e,t,t.type,t.pendingProps,n);case 19:return iV(e,t,n);case 31:var s=e,u=t,c=n,d=u.pendingProps,f=0!=(128&u.flags);if(u.flags&=-129,null===s){if(rT){if("hidden"===d.mode)return s=iN(u,d),u.lanes=0x20000000,ij(null,s);if(aq(u),(s=r_)?null!==(s=null!==(s=uR(s,rP))&&"&"===s.data?s:null)&&(u.memoizedState={dehydrated:s,treeContext:null!==rb?{id:rv,overflow:rw}:null,retryLane:0x20000000,hydrationErrors:null},(c=rs(s)).return=u,u.child=c,rC=u,r_=null):s=null,null===s)throw rR(u);return u.lanes=0x20000000,null}return iN(u,d)}var p=s.memoizedState;if(null!==p){var m=p.dehydrated;if(aq(u),f)if(256&u.flags)u.flags&=-257,u=iR(s,u,c);else if(null!==u.memoizedState)u.child=s.child,u.flags|=128,u=null;else throw Error(l(558));else if(iS||rW(s,u,c,!1),f=0!=(c&s.childLanes),iS||f){if(null!==(d=lz)&&0!==(m=eP(d,c))&&m!==p.retryLane)throw p.retryLane=m,n8(s,m),su(d,s,m),ix;sw(),u=iR(s,u,c)}else s=p.treeContext,r_=uD(m.nextSibling),rC=u,rT=!0,rj=null,rP=!1,null!==s&&rA(u,s),u=iN(u,d),u.flags|=4096;return u}return(s=rr(s.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=s,s.return=u,s;case 22:return iT(e,t,n,t.pendingProps);case 24:return rQ(t),r=rK(r1),null===e?(null===(a=at())&&(a=lz,o=r2(),a.pooledCache=o,o.refCount++,null!==o&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},aE(t),rU(t,r1,a)):(0!=(e.lanes&n)&&(aA(e,t),aR(t,null,null,n),aN()),a=e.memoizedState,o=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),rU(t,r1,r)):(rU(t,r1,r=o.cache),r!==a.cache&&rG(t,[r1],n,!0))),iE(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function iZ(e){e.flags|=4}function iX(e,t,n,r,a){if((t=0!=(32&e.mode))&&(t=!1),t){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(sy())e.flags|=8192;else throw af=as,ao}else e.flags&=-0x1000001}function iJ(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!u8(t))if(sy())e.flags|=8192;else throw af=as,ao}function i0(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eA():0x20000000,e.lanes|=t,lJ|=t)}function i1(e,t){if(!rT)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function i2(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0x3e00000&a.subtreeFlags,r|=0x3e00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function i4(e,t){switch(rE(t),t.tag){case 3:rq(r1),W();break;case 26:case 27:case 5:Q(t);break;case 4:W();break;case 31:null!==t.memoizedState&&aW(t);break;case 13:aW(t);break;case 19:z(aV);break;case 10:rq(t.type);break;case 22:case 23:aW(t),az(),null!==e&&z(ae);break;case 24:rq(r1)}}function i3(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var a=r.next;n=a;do{if((n.tag&e)===e){r=void 0;var o=n.create;n.inst.destroy=r=o()}n=n.next}while(n!==a)}}catch(e){sD(t,t.return,e)}}function i5(e,t,n){try{var r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var o=a.next;r=o;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,a=t;try{l()}catch(e){sD(a,n,e)}}}r=r.next}while(r!==o)}}catch(e){sD(t,t.return,e)}}function i8(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{aL(t,n)}catch(t){sD(e,e.return,t)}}}function i6(e,t,n){n.props=ip(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){sD(e,t,n)}}function i9(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){sD(e,t,n)}}function i7(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){sD(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){sD(e,t,n)}else n.current=null}function le(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){sD(e,e.return,t)}}function lt(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,o=null,i=null,s=null,u=null,c=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&null!=f)switch(m){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(m)||uf(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=m||null!=f))switch(p){case"type":o=m;break;case"name":a=m;break;case"checked":c=m;break;case"defaultChecked":d=m;break;case"value":i=m;break;case"defaultValue":s=m;break;case"children":case"dangerouslySetInnerHTML":if(null!=m)throw Error(l(137,t));break;default:m!==f&&uf(e,t,p,m,r,f)}}tr(e,i,s,u,c,d,o,a);return;case"select":for(o in m=i=s=p=null,n)if(u=n[o],n.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":m=u;default:r.hasOwnProperty(o)||uf(e,t,o,null,r,u)}for(a in r)if(o=r[a],u=n[a],r.hasOwnProperty(a)&&(null!=o||null!=u))switch(a){case"value":p=o;break;case"defaultValue":s=o;break;case"multiple":i=o;default:o!==u&&uf(e,t,a,o,r,u)}t=s,n=i,r=m,null!=p?ti(e,!!n,p,!1):!!r!=!!n&&(null!=t?ti(e,!!n,t,!0):ti(e,!!n,n?[]:"",!1));return;case"textarea":for(s in m=p=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:uf(e,t,s,null,r,a)}for(i in r)if(a=r[i],o=n[i],r.hasOwnProperty(i)&&(null!=a||null!=o))switch(i){case"value":p=a;break;case"defaultValue":m=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(l(91));break;default:a!==o&&uf(e,t,i,a,r,o)}tl(e,p,m);return;case"option":for(var h in n)p=n[h],n.hasOwnProperty(h)&&null!=p&&!r.hasOwnProperty(h)&&("selected"===h?e.selected=!1:uf(e,t,h,null,r,p));for(u in r)p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(null!=p||null!=m)&&("selected"===u?e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p:uf(e,t,u,p,r,m));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&uf(e,t,g,null,r,p);for(c in r)if(p=r[c],m=n[c],r.hasOwnProperty(c)&&p!==m&&(null!=p||null!=m))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(l(137,t));break;default:uf(e,t,c,p,r,m)}return;default:if(tp(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&up(e,t,y,void 0,r,p);for(d in r)p=r[d],m=n[d],r.hasOwnProperty(d)&&p!==m&&(void 0!==p||void 0!==m)&&up(e,t,d,p,r,m);return}}for(var b in n)p=n[b],n.hasOwnProperty(b)&&null!=p&&!r.hasOwnProperty(b)&&uf(e,t,b,null,r,p);for(f in r)p=r[f],m=n[f],r.hasOwnProperty(f)&&p!==m&&(null!=p||null!=m)&&uf(e,t,f,p,r,m)})(r,e.type,n,t),r[eM]=t}catch(t){sD(e,e.return,t)}}function ln(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&uT(e.type)||4===e.tag}function lr(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ln(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&uT(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function la(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&uT(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(la(e,t,n),e=e.sibling;null!==e;)la(e,t,n),e=e.sibling}function lo(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);um(t,r,n),t[eI]=e,t[eM]=n}catch(t){sD(e,e.return,t)}}var li=!1,ll=!1,ls=!1,lu="function"==typeof WeakSet?WeakSet:Set,lc=null;function ld(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:lS(e,n),4&r&&i3(5,n);break;case 1:if(lS(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){sD(n,n.return,e)}else{var a=ip(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){sD(n,n.return,e)}}64&r&&i8(n),512&r&&i9(n,n.return);break;case 3:if(lS(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{aL(e,t)}catch(e){sD(n,n.return,e)}}break;case 27:null===t&&4&r&&lo(n);case 26:case 5:lS(e,n),null===t&&4&r&&le(n),512&r&&i9(n,n.return);break;case 12:default:lS(e,n);break;case 31:lS(e,n),4&r&&lg(e,n);break;case 13:lS(e,n),4&r&&ly(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=sz.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||li)){t=null!==t&&null!==t.memoizedState||ll,a=li;var o=ll;li=r,(ll=t)&&!o?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var a=n.alternate,o=t,i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(o,i,r),i3(4,i);break;case 1:if(e(o,i,r),"function"==typeof(o=(a=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){sD(a,a.return,e)}if(null!==(o=(a=i).updateQueue)){var s=a.stateNode;try{var u=o.shared.hiddenCallbacks;if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)aO(u[o],s)}catch(e){sD(a,a.return,e)}}r&&64&l&&i8(i),i9(i,i.return);break;case 27:lo(i);case 26:case 5:e(o,i,r),r&&null===a&&4&l&&le(i),i9(i,i.return);break;case 12:default:e(o,i,r);break;case 31:e(o,i,r),r&&4&l&&lg(o,i);break;case 13:e(o,i,r),r&&4&l&&ly(o,i);break;case 22:null===i.memoizedState&&e(o,i,r),i9(i,i.return);case 30:}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):lS(e,n),li=a,ll=o}case 30:}}var lf=null,lp=!1;function lm(e,t,n){for(n=n.child;null!==n;)lh(e,t,n),n=n.sibling}function lh(e,t,n){if(em&&"function"==typeof em.onCommitFiberUnmount)try{em.onCommitFiberUnmount(ep,n)}catch(e){}switch(n.tag){case 26:ll||i7(n,t),lm(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:ll||i7(n,t);var r=lf,a=lp;uT(n.type)&&(lf=n.stateNode,lp=!1),lm(e,t,n),u$(n.stateNode),lf=r,lp=a;break;case 5:ll||i7(n,t);case 6:if(r=lf,a=lp,lf=null,lm(e,t,n),lf=r,lp=a,null!==lf)if(lp)try{(9===lf.nodeType?lf.body:"HTML"===lf.nodeName?lf.ownerDocument.body:lf).removeChild(n.stateNode)}catch(e){sD(n,t,e)}else try{lf.removeChild(n.stateNode)}catch(e){sD(n,t,e)}break;case 18:null!==lf&&(lp?(uj(9===(e=lf).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),cD(e)):uj(lf,n.stateNode));break;case 4:r=lf,a=lp,lf=n.stateNode.containerInfo,lp=!0,lm(e,t,n),lf=r,lp=a;break;case 0:case 11:case 14:case 15:i5(2,n,t),ll||i5(4,n,t),lm(e,t,n);break;case 1:ll||(i7(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&i6(n,t,r)),lm(e,t,n);break;case 21:default:lm(e,t,n);break;case 22:ll=(r=ll)||null!==n.memoizedState,lm(e,t,n),ll=r}}function lg(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{cD(e)}catch(e){sD(t,t.return,e)}}}function ly(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{cD(e)}catch(e){sD(t,t.return,e)}}function lb(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new lu),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new lu),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=s$.bind(null,e,t);t.then(r,r)}})}function lv(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r],o=e,i=t,s=i;e:for(;null!==s;){switch(s.tag){case 27:if(uT(s.type)){lf=s.stateNode,lp=!1;break e}break;case 5:lf=s.stateNode,lp=!1;break e;case 3:case 4:lf=s.stateNode.containerInfo,lp=!0;break e}s=s.return}if(null===lf)throw Error(l(160));lh(o,i,a),lf=null,lp=!1,null!==(o=a.alternate)&&(o.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)lk(t,e),t=t.sibling}var lw=null;function lk(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:lv(t,e),lx(e),4&r&&(i5(3,e,e.return),i3(3,e),i5(5,e,e.return));break;case 1:lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),64&r&&li&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var a=lw;if(lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),4&r){var o=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(r){case"title":(!(o=a.getElementsByTagName("title")[0])||o[eq]||o[eI]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector("head > title"))),um(o,r,n),o[eI]=e,eK(o),r=o;break e;case"link":var i=u3("link","href",a).get(r+(n.href||""));if(i){for(var s=0;s<i.length;s++)if((o=i[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){i.splice(s,1);break t}}um(o=a.createElement(r),r,n),a.head.appendChild(o);break;case"meta":if(i=u3("meta","content",a).get(r+(n.content||""))){for(s=0;s<i.length;s++)if((o=i[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){i.splice(s,1);break t}}um(o=a.createElement(r),r,n),a.head.appendChild(o);break;default:throw Error(l(468,r))}o[eI]=e,eK(o),r=o}e.stateNode=r}else u5(a,e.type,e.stateNode);else e.stateNode=uJ(a,r,e.memoizedProps);else o!==r?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===r?u5(a,e.type,e.stateNode):uJ(a,r,e.memoizedProps)):null===r&&null!==e.stateNode&&lt(e,e.memoizedProps,n.memoizedProps)}break;case 27:lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),null!==n&&4&r&&lt(e,e.memoizedProps,n.memoizedProps);break;case 5:if(lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),32&e.flags){a=e.stateNode;try{tu(a,"")}catch(t){sD(e,e.return,t)}}4&r&&null!=e.stateNode&&(a=e.memoizedProps,lt(e,a,null!==n?n.memoizedProps:a)),1024&r&&(ls=!0);break;case 6:if(lv(t,e),lx(e),4&r){if(null===e.stateNode)throw Error(l(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){sD(e,e.return,t)}}break;case 3:if(u4=null,a=lw,lw=uq(t.containerInfo),lv(t,e),lw=a,lx(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{cD(t.containerInfo)}catch(t){sD(e,e.return,t)}ls&&(ls=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&n.stateNode.reset(),t=t.sibling}}(e));break;case 4:r=lw,lw=uq(e.stateNode.containerInfo),lv(t,e),lx(e),lw=r;break;case 12:default:lv(t,e),lx(e);break;case 31:case 19:lv(t,e),lx(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,lb(e,r));break;case 13:lv(t,e),lx(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(l4=ea()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,lb(e,r));break;case 22:a=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=li,d=ll;if(li=c||a,ll=d||u,lv(t,e),ll=d,li=c,lx(e),8192&r)e:for((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===n||u||li||ll||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:i5(4,n,n.return),e(n);break;case 1:i7(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&i6(n,n.return,r),e(n);break;case 27:u$(n.stateNode);case 26:case 5:i7(n,n.return),e(n);break;case 22:null===n.memoizedState&&e(n);break;default:e(n)}t=t.sibling}}(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(o=u.stateNode,a)i=o.style,"function"==typeof i.setProperty?i.setProperty("display","none","important"):i.display="none";else{s=u.stateNode;var f=u.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;s.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){sD(u,u.return,e)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=a?"":u.memoizedProps}catch(e){sD(u,u.return,e)}}}else if(18===t.tag){if(null===n){u=t;try{var m=u.stateNode;a?uP(m,!0):uP(u.stateNode,!1)}catch(e){sD(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,lb(e,n));case 30:case 21:}}function lx(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(ln(r)){n=r;break}r=r.return}if(null==n)throw Error(l(160));switch(n.tag){case 27:var a=n.stateNode,o=lr(e);la(e,o,a);break;case 5:var i=n.stateNode;32&n.flags&&(tu(i,""),n.flags&=-33);var s=lr(e);la(e,s,i);break;case 3:case 4:var u=n.stateNode.containerInfo,c=lr(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(t,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=ty));else if(4!==a&&(27===a&&uT(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,c,u);break;default:throw Error(l(161))}}catch(t){sD(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function lS(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)ld(e,t.alternate,t),t=t.sibling}function lE(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&r4(n))}function lA(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e))}function lC(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)l_(e,t,n,r),t=t.sibling}function l_(e,t,n,r){var a=t.flags;switch(t.tag){case 0:case 11:case 15:lC(e,t,n,r),2048&a&&i3(9,t);break;case 1:case 31:case 13:default:lC(e,t,n,r);break;case 3:lC(e,t,n,r),2048&a&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e)));break;case 12:if(2048&a){lC(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,i=o.id,l=o.onPostCommit;"function"==typeof l&&l(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){sD(t,t.return,e)}}else lC(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,i=t.alternate,null!==t.memoizedState?2&o._visibility?lC(e,t,n,r):lT(e,t):2&o._visibility?lC(e,t,n,r):(o._visibility|=2,function e(t,n,r,a,o){for(o=o&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(t,i,r,a,o),i3(8,i);break;case 23:break;case 22:var s=i.stateNode;null!==i.memoizedState?2&s._visibility?e(t,i,r,a,o):lT(t,i):(s._visibility|=2,e(t,i,r,a,o)),o&&2048&l&&lE(i.alternate,i);break;case 24:e(t,i,r,a,o),o&&2048&l&&lA(i.alternate,i);break;default:e(t,i,r,a,o)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags))),2048&a&&lE(i,t);break;case 24:lC(e,t,n,r),2048&a&&lA(t.alternate,t)}}function lT(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:lT(e,n),2048&r&&lE(n.alternate,n);break;case 24:lT(e,n),2048&r&&lA(n.alternate,n);break;default:lT(e,n)}t=t.sibling}}var lj=8192;function lP(e,t,n){if(e.subtreeFlags&lj)for(e=e.child;null!==e;)lN(e,t,n),e=e.sibling}function lN(e,t,n){switch(e.tag){case 26:lP(e,t,n),e.flags&lj&&null!==e.memoizedState&&function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var a=uQ(r.href),o=t.querySelector(uK(a));if(o){null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=u9.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,eK(o);return}o=t.ownerDocument||t,r=uY(r),(a=uB.get(a))&&u1(r,a),eK(o=o.createElement("link"));var i=o;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),um(o,"link",r),n.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=u9.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,lw,e.memoizedState,e.memoizedProps);break;case 5:default:lP(e,t,n);break;case 3:case 4:var r=lw;lw=uq(e.stateNode.containerInfo),lP(e,t,n),lw=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=lj,lj=0x1000000,lP(e,t,n),lj=r):lP(e,t,n))}}function lR(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function lO(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];lc=r,lD(r,e)}lR(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)lL(e),e=e.sibling}function lL(e){switch(e.tag){case 0:case 11:case 15:lO(e),2048&e.flags&&i5(9,e,e.return);break;case 3:case 12:default:lO(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];lc=a,lD(a,t)}lR(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:i5(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):lO(e)}}function lD(e,t){for(;null!==lc;){var n=lc;switch(n.tag){case 0:case 11:case 15:i5(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:r4(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,lc=r;else for(n=e;null!==lc;){var a=(r=lc).sibling,o=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&eH(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){lc=null;break}if(null!==a){a.return=o,lc=a;break}lc=o}}}var lI={getCacheForType:function(e){var t=rK(r1),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return rK(r1).controller.signal}},lM="function"==typeof WeakMap?WeakMap:Map,lF=0,lz=null,l$=null,lB=0,lU=0,lq=null,lH=!1,lG=!1,lW=!1,lV=0,lQ=0,lK=0,lY=0,lZ=0,lX=0,lJ=0,l0=null,l1=null,l2=!1,l4=0,l3=0,l5=1/0,l8=null,l6=null,l9=0,l7=null,se=null,st=0,sn=0,sr=null,sa=null,so=0,si=null;function sl(){return 0!=(2&lF)&&0!==lB?lB&-lB:null!==O.T?s0():eO()}function ss(){if(0===lX)if(0==(0x20000000&lB)||rT){var e=ew;0==(3932160&(ew<<=1))&&(ew=262144),lX=e}else lX=0x20000000;return null!==(e=a$.current)&&(e.flags|=32),lX}function su(e,t,n){(e===lz&&(2===lU||9===lU)||null!==e.cancelPendingCommit)&&(sh(e,0),sf(e,lB,lX,!1)),e_(e,n),(0==(2&lF)||e!==lz)&&(e===lz&&(0==(2&lF)&&(lY|=n),4===lQ&&sf(e,lB,lX,!1)),sV(e))}function sc(e,t,n){if(0!=(6&lF))throw Error(l(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||eE(e,t),a=r?function(e,t){var n=lF;lF|=2;var r=sb(),a=sv();lz!==e||lB!==t?(l8=null,l5=ea()+500,sh(e,t)):lG=eE(e,t);e:for(;;)try{if(0!==lU&&null!==l$){t=l$;var o=lq;t:switch(lU){case 1:lU=0,lq=null,sE(e,t,o,1);break;case 2:case 9:if(au(o)){lU=0,lq=null,sS(t);break}t=function(){2!==lU&&9!==lU||lz!==e||(lU=7),sV(e)},o.then(t,t);break e;case 3:lU=7;break e;case 4:lU=5;break e;case 7:au(o)?(lU=0,lq=null,sS(t)):(lU=0,lq=null,sE(e,t,o,7));break;case 5:var i=null;switch(l$.tag){case 26:i=l$.memoizedState;case 5:case 27:var s=l$;if(i?u8(i):s.stateNode.complete){lU=0,lq=null;var u=s.sibling;if(null!==u)l$=u;else{var c=s.return;null!==c?(l$=c,sA(c)):l$=null}break t}}lU=0,lq=null,sE(e,t,o,5);break;case 6:lU=0,lq=null,sE(e,t,o,6);break;case 8:sm(),lQ=6;break e;default:throw Error(l(462))}}for(;null!==l$&&!en();)sx(l$);break}catch(t){sg(e,t)}return(rB=r$=null,O.H=r,O.A=a,lF=n,null!==l$)?0:(lz=null,lB=0,n4(),lQ)}(e,t):sk(e,t,!0),o=r;;){if(0===a)lG&&!r&&sf(e,t,0,!1);else{if(n=e.current.alternate,o&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!nC(o(),a))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){a=sk(e,t,!1),o=!1;continue}if(2===a){if(o=t,e.errorRecoveryDisabledLanes&o)var i=0;else i=0!=(i=-0x20000001&e.pendingLanes)?i:0x20000000&i?0x20000000:0;if(0!==i){t=i;e:{a=l0;var s=e.current.memoizedState.isDehydrated;if(s&&(sh(e,i).flags|=256),2!==(i=sk(e,i,!1))){if(lW&&!s){e.errorRecoveryDisabledLanes|=o,lY|=o,a=4;break e}o=l1,l1=a,null!==o&&(null===l1?l1=o:l1.push.apply(l1,o))}a=i}if(o=!1,2!==a)continue}}if(1===a){sh(e,0),sf(e,t,0,!0);break}e:{switch(r=e,o=a){case 0:case 1:throw Error(l(345));case 4:if((4194048&t)!==t)break;case 6:sf(r,t,lX,!lH);break e;case 2:l1=null;break;case 3:case 5:break;default:throw Error(l(329))}if((0x3c00000&t)===t&&10<(a=l4+300-ea())){if(sf(r,t,lX,!lH),0!==eS(r,0,!0))break e;st=t,r.timeoutHandle=uS(sd.bind(null,r,n,l1,l8,l2,t,lX,lY,lJ,lH,o,"Throttled",-0,0),a);break e}sd(r,n,l1,l8,l2,t,lX,lY,lJ,lH,o,null,-0,0)}}break}sV(e)}function sd(e,t,n,r,a,o,i,l,s,u,c,d,f,p){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||0x1002000==(0x1002000&d)){lN(t,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ty});var m,h,g=(0x3c00000&o)===o?l4-ea():(4194048&o)===o?l3-ea():0;if(null!==(m=d,h=g,m.stylesheets&&0===m.count&&ce(m,m.stylesheets),g=0<m.count||0<m.imgCount?function(e){var t=setTimeout(function(){if(m.stylesheets&&ce(m,m.stylesheets),m.unsuspend){var e=m.unsuspend;m.unsuspend=null,e()}},6e4+h);0<m.imgBytes&&0===u6&&(u6=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var a=n[r],o=a.transferSize,i=a.initiatorType,l=a.duration;if(o&&l&&uh(i)){for(i=0,l=a.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&uh(d)&&(i+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(o+i)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(m.waitingForImages=!1,0===m.count&&(m.stylesheets&&ce(m,m.stylesheets),m.unsuspend)){var e=m.unsuspend;m.unsuspend=null,e()}},(m.imgBytes>u6?50:800)+h);return m.unsuspend=e,function(){m.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null)){st=o,e.cancelPendingCommit=g(s_.bind(null,e,t,o,n,r,a,i,l,s,c,d,null,f,p)),sf(e,o,i,!u);return}}s_(e,t,o,n,r,a,i,l,s)}function sf(e,t,n,r){t&=~lZ,t&=~lY,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var a=t;0<a;){var o=31-eg(a),i=1<<o;r[o]=-1,a&=~i}0!==n&&eT(e,n,t)}function sp(){return 0!=(6&lF)||(sQ(0,!1),!1)}function sm(){if(null!==l$){if(0===lU)var e=l$.return;else e=l$,rB=r$=null,oa(e),ah=null,ag=0,e=l$;for(;null!==e;)i4(e.alternate,e),e=e.return;l$=null}}function sh(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,uE(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),st=0,sm(),lz=e,l$=n=rr(e.current,null),lB=t,lU=0,lq=null,lH=!1,lG=eE(e,t),lW=!1,lJ=lX=lZ=lY=lK=lQ=0,l1=l0=null,l2=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var a=31-eg(r),o=1<<a;t|=e[a],r&=~o}return lV=t,n4(),n}function sg(e,t){aY=null,O.H=ia,t===aa||t===al?(t=ap(),lU=3):t===ao?(t=ap(),lU=4):lU=t===ix?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,lq=t,null===l$&&(lQ=1,iy(e,rd(t,e.current)))}function sy(){var e=a$.current;return null===e||((4194048&lB)===lB?null===aB:((0x3c00000&lB)===lB||0!=(0x20000000&lB))&&e===aB)}function sb(){var e=O.H;return O.H=ia,null===e?ia:e}function sv(){var e=O.A;return O.A=lI,e}function sw(){lQ=4,lH||(4194048&lB)!==lB&&null!==a$.current||(lG=!0),0==(0x7ffffff&lK)&&0==(0x7ffffff&lY)||null===lz||sf(lz,lB,lX,!1)}function sk(e,t,n){var r=lF;lF|=2;var a=sb(),o=sv();(lz!==e||lB!==t)&&(l8=null,sh(e,t)),t=!1;var i=lQ;e:for(;;)try{if(0!==lU&&null!==l$){var l=l$,s=lq;switch(lU){case 8:sm(),i=6;break e;case 3:case 2:case 9:case 6:null===a$.current&&(t=!0);var u=lU;if(lU=0,lq=null,sE(e,l,s,u),n&&lG){i=0;break e}break;default:u=lU,lU=0,lq=null,sE(e,l,s,u)}}(function(){for(;null!==l$;)sx(l$)})(),i=lQ;break}catch(t){sg(e,t)}return t&&e.shellSuspendCounter++,rB=r$=null,lF=r,O.H=a,O.A=o,null===l$&&(lz=null,lB=0,n4()),i}function sx(e){var t=iY(e.alternate,e,lV);e.memoizedProps=e.pendingProps,null===t?sA(e):l$=t}function sS(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=iD(n,t,t.pendingProps,t.type,void 0,lB);break;case 11:t=iD(n,t,t.pendingProps,t.type.render,t.ref,lB);break;case 5:oa(t);default:i4(n,t),t=iY(n,t=l$=ra(t,lV),lV)}e.memoizedProps=e.pendingProps,null===t?sA(e):l$=t}function sE(e,t,n,r){rB=r$=null,oa(t),ah=null,ag=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&rW(t,n,a,!0),null!==(n=a$.current)){switch(n.tag){case 31:case 13:return null===aB?sw():null===n.alternate&&0===lQ&&(lQ=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===as?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),sI(e,r,a)),!1;case 22:return n.flags|=65536,r===as?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),sI(e,r,a)),!1}throw Error(l(435,n.tag))}return sI(e,r,a),sw(),!1}if(rT)return null!==(t=a$.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==rN&&rF(rd(e=Error(l(422),{cause:r}),n))):(r!==rN&&rF(rd(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=rd(r,n),a=iv(e.stateNode,r,a),aj(e,a),4!==lQ&&(lQ=2)),!1;var o=Error(l(520),{cause:r});if(o=rd(o,n),null===l0?l0=[o]:l0.push(o),4!==lQ&&(lQ=2),null===t)return!0;r=rd(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=iv(n.stateNode,r,e),aj(n,e),!1;case 1:if(t=n.type,o=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===l6||!l6.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,ik(a=iw(a),e,n,r),aj(n,a),!1}n=n.return}while(null!==n)return!1}(e,a,t,n,lB)){lQ=1,iy(e,rd(n,e.current)),l$=null;return}}catch(t){if(null!==a)throw l$=a,t;lQ=1,iy(e,rd(n,e.current)),l$=null;return}32768&t.flags?(rT||1===r?e=!0:lG||0!=(0x20000000&lB)?e=!1:(lH=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=a$.current)&&13===r.tag&&(r.flags|=16384)),sC(t,e)):sA(t)}function sA(e){var t=e;do{if(0!=(32768&t.flags))return void sC(t,lH);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rE(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return i2(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),rq(r1),W(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rD(t)?iZ(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,rM())),i2(t),null;case 26:var a=t.type,o=t.memoizedState;return null===e?(iZ(t),null!==o?(i2(t),iJ(t,o)):(i2(t),iX(t,a,null,r,n))):o?o!==e.memoizedState?(iZ(t),i2(t),iJ(t,o)):(i2(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&iZ(t),i2(t),iX(t,a,e,r,n)),null;case 27:if(Q(t),n=q.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return i2(t),null}e=B.current,rD(t)?rO(t,e):(t.stateNode=e=uz(a,r,n),iZ(t))}return i2(t),null;case 5:if(Q(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return i2(t),null}if(o=B.current,rD(t))rO(t,o);else{var i=ub(q.current);switch(o){case 1:o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(o=i.createElement("div")).innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?i.createElement(a,{is:r.is}):i.createElement(a)}}o[eI]=t,o[eM]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)o.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=o,um(o,a,r),a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&iZ(t)}}return i2(t),iX(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=q.current,rD(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=rC))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[eI]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ud(e.nodeValue,n)))||rR(t,!0)}else(e=ub(e).createTextNode(r))[eI]=t,t.stateNode=e}return i2(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rD(t),null!==n){if(null===e){if(!r)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eI]=t}else rI(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i2(t),e=!1}else n=rM(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return aW(t),t;return aW(t),null}if(0!=(128&t.flags))throw Error(l(558))}return i2(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=rD(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(l(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(l(317));a[eI]=t}else rI(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i2(t),a=!1}else a=rM(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return aW(t),t;return aW(t),null}}if(aW(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,a=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),i0(t,t.updateQueue),i2(t),null;case 4:return W(),null===e&&ut(t.stateNode.containerInfo),i2(t),null;case 10:return rq(t.type),i2(t),null;case 19:if(z(aV),null===(r=t.memoizedState))return i2(t),null;if(a=0!=(128&t.flags),null===(o=r.rendering))if(a)i1(r,!1);else{if(0!==lQ||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=aQ(e))){for(t.flags|=128,i1(r,!1),t.updateQueue=e=o.updateQueue,i0(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)ra(n,e),n=n.sibling;return $(aV,1&aV.current|2),rT&&rk(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ea()>l5&&(t.flags|=128,a=!0,i1(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=aQ(o))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,i0(t,e),i1(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!rT)return i2(t),null}else 2*ea()-r.renderingStartTime>l5&&0x20000000!==n&&(t.flags|=128,a=!0,i1(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o)}if(null!==r.tail)return e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ea(),e.sibling=null,n=aV.current,$(aV,a?1&n|2:1&n),rT&&rk(t,r.treeForkCount),e;return i2(t),null;case 22:case 23:return aW(t),az(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(i2(t),6&t.subtreeFlags&&(t.flags|=8192)):i2(t),null!==(n=t.updateQueue)&&i0(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&z(ae),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),rq(r1),i2(t),null;case 25:case 30:return null}throw Error(l(156,t.tag))}(t.alternate,t,lV);if(null!==n){l$=n;return}if(null!==(t=t.sibling)){l$=t;return}l$=t=e}while(null!==t)0===lQ&&(lQ=5)}function sC(e,t){do{var n=function(e,t){switch(rE(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return rq(r1),W(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Q(t),null;case 31:if(null!==t.memoizedState){if(aW(t),null===t.alternate)throw Error(l(340));rI()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(aW(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));rI()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return z(aV),null;case 4:return W(),null;case 10:return rq(t.type),null;case 22:case 23:return aW(t),az(),null!==e&&z(ae),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return rq(r1),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,l$=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){l$=e;return}l$=e=n}while(null!==e)lQ=6,l$=null}function s_(e,t,n,r,a,o,i,s,u){e.cancelPendingCommit=null;do sR();while(0!==l9)if(0!=(6&lF))throw Error(l(327));if(null!==t){if(t===e.current)throw Error(l(177));if(!function(e,t,n,r,a,o){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-eg(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-0x20000001)}n&=~d}0!==r&&eT(e,r,0),0!==o&&0===a&&0!==e.tag&&(e.suspendedLanes|=o&~(i&~t))}(e,n,o=t.lanes|t.childLanes|n2,i,s,u),e===lz&&(l$=lz=null,lB=0),se=t,l7=e,st=n,sn=o,sr=a,sa=r,0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?(e.callbackNode=null,e.callbackPriority=0,ee(es,function(){return sO(),null})):(e.callbackNode=null,e.callbackPriority=0),r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=O.T,O.T=null,a=L.p,L.p=2,i=lF,lF|=4;try{!function(e,t){if(e=e.containerInfo,ug=cc,nN(e=nP(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var s=0,u=-1,c=-1,d=0,f=0,p=e,m=null;t:for(;;){for(;p!==n||0!==o&&3!==p.nodeType||(u=s+o),p!==i||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(a=p.firstChild);)m=p,p=a;for(;;){if(p===e)break t;if(m===n&&++d===o&&(u=s),m===i&&++f===r&&(c=s),null!==(a=p.nextSibling))break;m=(p=m).parentNode}p=a}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(uy={focusedElem:e,selectionRange:n},cc=!1,lc=t;null!==lc;)if(e=(t=lc).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,lc=e;else for(;null!==lc;){switch(i=(t=lc).alternate,e=t.flags,t.tag){case 0:if(0!=(4&e)&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&e)&&null!==i){e=void 0,n=t,o=i.memoizedProps,i=i.memoizedState,r=n.stateNode;try{var h=ip(n.type,o);e=r.getSnapshotBeforeUpdate(h,i),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){sD(n,n.return,e)}}break;case 3:if(0!=(1024&e)){if(9===(n=(e=t.stateNode.containerInfo).nodeType))uN(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":uN(e);break;default:e.textContent=""}}break;default:if(0!=(1024&e))throw Error(l(163))}if(null!==(e=t.sibling)){e.return=t.return,lc=e;break}lc=t.return}}(e,t)}finally{lF=i,L.p=a,O.T=r}}l9=1,sT(),sj(),sP()}}function sT(){if(1===l9){l9=0;var e=l7,t=se,n=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||n){n=O.T,O.T=null;var r=L.p;L.p=2;var a=lF;lF|=4;try{lk(t,e);var o=uy,i=nP(e.containerInfo),l=o.focusedElem,s=o.selectionRange;if(i!==l&&l&&l.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(l.ownerDocument.documentElement,l)){if(null!==s&&nN(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=l.textContent.length,h=Math.min(s.start,m),g=void 0===s.end?h:Math.min(s.end,m);!p.extend&&h>g&&(i=g,g=h,h=i);var y=nj(l,h),b=nj(l,g);if(y&&b&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==b.node||p.focusOffset!==b.offset)){var v=d.createRange();v.setStart(y.node,y.offset),p.removeAllRanges(),h>g?(p.addRange(v),p.extend(b.node,b.offset)):(v.setEnd(b.node,b.offset),p.addRange(v))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var w=d[l];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}cc=!!ug,uy=ug=null}finally{lF=a,L.p=r,O.T=n}}e.current=t,l9=2}}function sj(){if(2===l9){l9=0;var e=l7,t=se,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=O.T,O.T=null;var r=L.p;L.p=2;var a=lF;lF|=4;try{ld(e,t.alternate,t)}finally{lF=a,L.p=r,O.T=n}}l9=3}}function sP(){if(4===l9||3===l9){l9=0,er();var e=l7,t=se,n=st,r=sa;0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?l9=5:(l9=0,se=l7=null,sN(e,e.pendingLanes));var a=e.pendingLanes;if(0===a&&(l6=null),eR(n),t=t.stateNode,em&&"function"==typeof em.onCommitFiberRoot)try{em.onCommitFiberRoot(ep,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==r){t=O.T,a=L.p,L.p=2,O.T=null;try{for(var o=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];o(l.value,{componentStack:l.stack})}}finally{O.T=t,L.p=a}}0!=(3&st)&&sR(),sV(e),a=e.pendingLanes,0!=(261930&n)&&0!=(42&a)?e===si?so++:(so=0,si=e):so=0,sQ(0,!1)}}function sN(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,r4(t))}function sR(){return sT(),sj(),sP(),sO()}function sO(){if(5!==l9)return!1;var e=l7,t=sn;sn=0;var n=eR(st),r=O.T,a=L.p;try{L.p=32>n?32:n,O.T=null,n=sr,sr=null;var o=l7,i=st;if(l9=0,se=l7=null,st=0,0!=(6&lF))throw Error(l(331));var s=lF;if(lF|=4,lL(o.current),l_(o,o.current,i,n),lF=s,sQ(0,!1),em&&"function"==typeof em.onPostCommitFiberRoot)try{em.onPostCommitFiberRoot(ep,o)}catch(e){}return!0}finally{L.p=a,O.T=r,sN(e,t)}}function sL(e,t,n){t=rd(n,t),t=iv(e.stateNode,t,2),null!==(e=a_(e,t,2))&&(e_(e,2),sV(e))}function sD(e,t,n){if(3===e.tag)sL(e,e,n);else for(;null!==t;){if(3===t.tag){sL(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===l6||!l6.has(r))){e=rd(n,e),null!==(r=a_(t,n=iw(2),2))&&(ik(n,r,t,e),e_(r,2),sV(r));break}}t=t.return}}function sI(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new lM;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(lW=!0,a.add(n),e=sM.bind(null,e,t,n),t.then(e,e))}function sM(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lz===e&&(lB&n)===n&&(4===lQ||3===lQ&&(0x3c00000&lB)===lB&&300>ea()-l4?0==(2&lF)&&sh(e,0):lZ|=n,lJ===lB&&(lJ=0)),sV(e)}function sF(e,t){0===t&&(t=eA()),null!==(e=n8(e,t))&&(e_(e,t),sV(e))}function sz(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sF(e,n)}function s$(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),sF(e,n)}var sB=null,sU=null,sq=!1,sH=!1,sG=!1,sW=0;function sV(e){e!==sU&&null===e.next&&(null===sU?sB=sU=e:sU=sU.next=e),sH=!0,sq||(sq=!0,uC(function(){0!=(6&lF)?ee(ei,sK):sY()}))}function sQ(e,t){if(!sG&&sH){sG=!0;do for(var n=!1,r=sB;null!==r;){if(!t)if(0!==e){var a=r.pendingLanes;if(0===a)var o=0;else{var i=r.suspendedLanes,l=r.pingedLanes;o=0xc000095&(o=(1<<31-eg(42|e)+1)-1&(a&~(i&~l)))?0xc000095&o|1:o?2|o:0}0!==o&&(n=!0,sJ(r,o))}else o=lB,0==(3&(o=eS(r,r===lz?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eE(r,o)||(n=!0,sJ(r,o));r=r.next}while(n)sG=!1}}function sK(){sY()}function sY(){sH=sq=!1;var e,t=0;0===sW||((e=window.event)&&"popstate"===e.type?e===ux||(ux=e,0):(ux=null,1))||(t=sW);for(var n=ea(),r=null,a=sB;null!==a;){var o=a.next,i=sZ(a,n);0===i?(a.next=null,null===r?sB=o:r.next=o,null===o&&(sU=r)):(r=a,(0!==t||0!=(3&i))&&(sH=!0)),a=o}0!==l9&&5!==l9||sQ(t,!1),0!==sW&&(sW=0)}function sZ(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=-0x3c00001&e.pendingLanes;0<o;){var i=31-eg(o),l=1<<i,s=a[i];-1===s?(0==(l&n)||0!=(l&r))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}if(t=lz,n=lB,n=eS(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===lU||9===lU)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&et(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||eE(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&et(r),eR(n)){case 2:case 8:n=el;break;case 32:default:n=es;break;case 0x10000000:n=ec}return n=ee(n,r=sX.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&et(r),e.callbackPriority=2,e.callbackNode=null,2}function sX(e,t){if(0!==l9&&5!==l9)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(sR()&&e.callbackNode!==n)return null;var r=lB;return 0===(r=eS(e,e===lz?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(sc(e,r,t),sZ(e,ea()),null!=e.callbackNode&&e.callbackNode===n?sX.bind(null,e):null)}function sJ(e,t){if(sR())return null;sc(e,t,!0)}function s0(){if(0===sW){var e=r8;0===e&&(e=ev,0==(261888&(ev<<=1))&&(ev=256)),sW=e}return sW}function s1(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tg(""+e)}function s2(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var s4=0;s4<nZ.length;s4++){var s3=nZ[s4];nX(s3.toLowerCase(),"on"+(s3[0].toUpperCase()+s3.slice(1)))}nX(nq,"onAnimationEnd"),nX(nH,"onAnimationIteration"),nX(nG,"onAnimationStart"),nX("dblclick","onDoubleClick"),nX("focusin","onFocus"),nX("focusout","onBlur"),nX(nW,"onTransitionRun"),nX(nV,"onTransitionStart"),nX(nQ,"onTransitionCancel"),nX(nK,"onTransitionEnd"),eJ("onMouseEnter",["mouseout","mouseover"]),eJ("onMouseLeave",["mouseout","mouseover"]),eJ("onPointerEnter",["pointerout","pointerover"]),eJ("onPointerLeave",["pointerout","pointerover"]),eX("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),eX("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),eX("onBeforeInput",["compositionend","keypress","textInput","paste"]),eX("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),eX("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),eX("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var s5="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),s8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(s5));function s6(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;o=l,a.currentTarget=u;try{o(a)}catch(e){nJ(e)}a.currentTarget=null,o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;o=l,a.currentTarget=u;try{o(a)}catch(e){nJ(e)}a.currentTarget=null,o=s}}}}function s9(e,t){var n=t[ez];void 0===n&&(n=t[ez]=new Set);var r=e+"__bubble";n.has(r)||(un(t,e,2,!1),n.add(r))}function s7(e,t,n){var r=0;t&&(r|=4),un(n,e,r,t)}var ue="_reactListening"+Math.random().toString(36).slice(2);function ut(e){if(!e[ue]){e[ue]=!0,eY.forEach(function(t){"selectionchange"!==t&&(s8.has(t)||s7(t,!1,e),s7(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ue]||(t[ue]=!0,s7("selectionchange",!1,t))}}function un(e,t,n,r){switch(cy(t)){case 2:var a=cd;break;case 8:a=cf;break;default:a=cp}n=a.bind(null,t,n,e),a=void 0,t_&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function ur(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&i.stateNode.containerInfo===a)return;i=i.return}for(;null!==l;){if(null===(i=eG(l)))return;if(5===(s=i.tag)||6===s||26===s||27===s){r=o=i;continue e}l=l.parentNode}}r=r.return}tE(function(){var r=o,a=tv(n),i=[];e:{var l=nY.get(e);if(void 0!==l){var s=tq,c=e;switch(e){case"keypress":if(0===tO(n))break e;case"keydown":case"keyup":s=t3;break;case"focusin":c="focus",s=tK;break;case"focusout":c="blur",s=tK;break;case"beforeblur":case"afterblur":s=tK;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=tV;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=tQ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=t8;break;case nq:case nH:case nG:s=tY;break;case nK:s=t6;break;case"scroll":case"scrollend":s=tG;break;case"wheel":s=t9;break;case"copy":case"cut":case"paste":s=tZ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=t5;break;case"toggle":case"beforetoggle":s=t7}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var m,h=r;null!==h;){var g=h;if(m=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===m||null===p||null!=(g=tA(h,p))&&d.push(ua(h,g,m)),f)break;h=h.return}0<d.length&&(l=new s(l,c,null,n,a),i.push({event:l,listeners:d}))}}if(0==(7&t)){if((l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&n!==tb&&(c=n.relatedTarget||n.fromElement)&&(eG(c)||c[eF])))&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(c=n.relatedTarget||n.toElement,s=r,null!==(c=c?eG(c):null)&&(f=u(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(s=null,c=r),s!==c)){if(d=tV,g="onMouseLeave",p="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(d=t5,g="onPointerLeave",p="onPointerEnter",h="pointer"),f=null==s?l:eV(s),m=null==c?l:eV(c),(l=new d(g,h+"leave",s,n,a)).target=f,l.relatedTarget=m,g=null,eG(a)===r&&((d=new d(p,h+"enter",c,n,a)).target=m,d.relatedTarget=f,g=d),f=g,s&&c)t:{for(d=ui,p=s,h=c,m=0,g=p;g;g=d(g))m++;g=0;for(var y,b=h;b;b=d(b))g++;for(;0<m-g;)p=d(p),m--;for(;0<g-m;)h=d(h),g--;for(;m--;){if(p===h||null!==h&&p===h.alternate){d=p;break t}p=d(p),h=d(h)}d=null}else d=null;null!==s&&ul(i,l,s,d,!1),null!==c&&null!==f&&ul(i,f,c,d,!0)}e:{if("select"===(s=(l=r?eV(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=ng;else if(nc(l))if(ny)v=nA;else{v=nS;var w=nx}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)?v=nE:r&&tp(r.elementType)&&(v=ng);if(v&&(v=v(e,r))){nd(i,v,n,a);break e}w&&w(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&to(l,"number",l.value)}switch(w=r?eV(r):window,e){case"focusin":(nc(w)||"true"===w.contentEditable)&&(nO=w,nL=r,nD=null);break;case"focusout":nD=nL=nO=null;break;case"mousedown":nI=!0;break;case"contextmenu":case"mouseup":case"dragend":nI=!1,nM(i,n,a);break;case"selectionchange":if(nR)break;case"keydown":case"keyup":nM(i,n,a)}if(nt)t:{switch(e){case"compositionstart":var k="onCompositionStart";break t;case"compositionend":k="onCompositionEnd";break t;case"compositionupdate":k="onCompositionUpdate";break t}k=void 0}else ns?ni(e,n)&&(k="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(k="onCompositionStart");k&&(na&&"ko"!==n.locale&&(ns||"onCompositionStart"!==k?"onCompositionEnd"===k&&ns&&(y=tR()):(tP="value"in(tj=a)?tj.value:tj.textContent,ns=!0)),0<(w=uo(r,k)).length&&(k=new tX(k,e,null,n,a),i.push({event:k,listeners:w}),y?k.data=y:null!==(y=nl(n))&&(k.data=y))),(y=nr?function(e,t){switch(e){case"compositionend":return nl(t);case"keypress":if(32!==t.which)return null;return no=!0," ";case"textInput":return" "===(e=t.data)&&no?null:e;default:return null}}(e,n):function(e,t){if(ns)return"compositionend"===e||!nt&&ni(e,t)?(e=tR(),tN=tP=tj=null,ns=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return na&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(k=uo(r,"onBeforeInput")).length&&(w=new tX("onBeforeInput","beforeinput",null,n,a),i.push({event:w,listeners:k}),w.data=y);var x=e;if("submit"===x&&r&&r.stateNode===a){var S=s1((a[eM]||null).action),E=n.submitter;E&&null!==(x=(x=E[eM]||null)?s1(x.formAction):E.getAttribute("formAction"))&&(S=x,E=null);var A=new tq("action","action",null,n,a);i.push({event:A,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==sW){var e=E?s2(a,E):new FormData(a);oJ(r,{pending:!0,data:e,method:a.method,action:S},null,e)}}else"function"==typeof S&&(A.preventDefault(),oJ(r,{pending:!0,data:e=E?s2(a,E):new FormData(a),method:a.method,action:S},S,e))},currentTarget:a}]})}}s6(i,t)})}function ua(e,t,n){return{instance:e,listener:t,currentTarget:n}}function uo(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===o||(null!=(a=tA(e,n))&&r.unshift(ua(e,a,o)),null!=(a=tA(e,t))&&r.push(ua(e,a,o))),3===e.tag)return r;e=e.return}return[]}function ui(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag)return e||null}function ul(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,a?null!=(u=tA(n,o))&&i.unshift(ua(n,u,s)):a||null!=(u=tA(n,o))&&i.push(ua(n,u,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var us=/\r\n?/g,uu=/\u0000|\uFFFD/g;function uc(e){return("string"==typeof e?e:""+e).replace(us,"\n").replace(uu,"")}function ud(e,t){return t=uc(t),uc(e)===t}function uf(e,t,n,r,a,o){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||tu(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&tu(e,""+r);break;case"className":e3(e,"class",r);break;case"tabIndex":e3(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":e3(e,n,r);break;case"style":tf(e,r,o);break;case"data":if("object"!==t){e3(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tg(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==t&&uf(e,t,"name",a.name,a,null),uf(e,t,"formEncType",a.formEncType,a,null),uf(e,t,"formMethod",a.formMethod,a,null),uf(e,t,"formTarget",a.formTarget,a,null)):(uf(e,t,"encType",a.encType,a,null),uf(e,t,"method",a.method,a,null),uf(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tg(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=ty);break;case"onScroll":null!=r&&s9("scroll",e);break;case"onScrollEnd":null!=r&&s9("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":case"innerText":case"textContent":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tg(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":s9("beforetoggle",e),s9("toggle",e),e4(e,"popover",r);break;case"xlinkActuate":e5(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":e5(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":e5(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":e5(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":e5(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":e5(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":e5(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":e5(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":e5(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":e4(e,"is",r);break;default:2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1])||e4(e,n=tm.get(n)||n,r)}}function up(e,t,n,r,a,o){switch(n){case"style":tf(e,r,o);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"children":"string"==typeof r?tu(e,r):("number"==typeof r||"bigint"==typeof r)&&tu(e,""+r);break;case"onScroll":null!=r&&s9("scroll",e);break;case"onScrollEnd":null!=r&&s9("scrollend",e);break;case"onClick":null!=r&&(e.onclick=ty);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:if(!eZ.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(o=null!=(o=e[eM]||null)?o[n]:null)&&e.removeEventListener(t,o,a),"function"==typeof r)){"function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break e}n in e?e[n]=r:!0===r?e.setAttribute(n,""):e4(e,n,r)}}}function um(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":s9("error",e),s9("load",e);var r,a=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)switch(r){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:uf(e,t,r,i,n,null)}}o&&uf(e,t,"srcSet",n.srcSet,n,null),a&&uf(e,t,"src",n.src,n,null);return;case"input":s9("invalid",e);var s=r=i=o=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":o=d;break;case"type":i=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:uf(e,t,a,d,n,null)}}ta(e,r,s,u,c,i,o,!1);return;case"select":for(o in s9("invalid",e),a=i=r=null,n)if(n.hasOwnProperty(o)&&null!=(s=n[o]))switch(o){case"value":r=s;break;case"defaultValue":i=s;break;case"multiple":a=s;default:uf(e,t,o,s,n,null)}t=r,n=i,e.multiple=!!a,null!=t?ti(e,!!a,t,!1):null!=n&&ti(e,!!a,n,!0);return;case"textarea":for(i in s9("invalid",e),r=o=a=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":a=s;break;case"defaultValue":o=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(l(91));break;default:uf(e,t,i,s,n,null)}ts(e,a,o,r);return;case"option":for(u in n)n.hasOwnProperty(u)&&null!=(a=n[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:uf(e,t,u,a,n,null));return;case"dialog":s9("beforetoggle",e),s9("toggle",e),s9("cancel",e),s9("close",e);break;case"iframe":case"object":s9("load",e);break;case"video":case"audio":for(a=0;a<s5.length;a++)s9(s5[a],e);break;case"image":s9("error",e),s9("load",e);break;case"details":s9("toggle",e);break;case"embed":case"source":case"link":s9("error",e),s9("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:uf(e,t,c,a,n,null)}return;default:if(tp(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&up(e,t,d,a,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(a=n[s])&&uf(e,t,s,a,n,null)}function uh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var ug=null,uy=null;function ub(e){return 9===e.nodeType?e:e.ownerDocument}function uv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function uw(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function uk(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ux=null,uS="function"==typeof setTimeout?setTimeout:void 0,uE="function"==typeof clearTimeout?clearTimeout:void 0,uA="function"==typeof Promise?Promise:void 0,uC="function"==typeof queueMicrotask?queueMicrotask:void 0!==uA?function(e){return uA.resolve(null).then(e).catch(u_)}:uS;function u_(e){setTimeout(function(){throw e})}function uT(e){return"head"===e}function uj(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)||"/&"===n){if(0===r){e.removeChild(a),cD(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)u$(e.ownerDocument.documentElement);else if("head"===n){u$(n=e.ownerDocument.head);for(var o=n.firstChild;o;){var i=o.nextSibling,l=o.nodeName;o[eq]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=i}}else"body"===n&&u$(e.ownerDocument.body);n=a}while(n)cD(t)}function uP(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function uN(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":uN(n),eH(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function uR(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=uD(e.nextSibling)))return null;return e}function uO(e){return"$?"===e.data||"$~"===e.data}function uL(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function uD(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var uI=null;function uM(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return uD(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function uF(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function uz(e,t,n){switch(t=ub(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}function u$(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);eH(e)}var uB=new Map,uU=new Set;function uq(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var uH=L.d;L.d={f:function(){var e=uH.f(),t=sp();return e||t},r:function(e){var t=eW(e);null!==t&&5===t.tag&&"form"===t.type?o1(t):uH.r(e)},D:function(e){uH.D(e),uW("dns-prefetch",e,null)},C:function(e,t){uH.C(e,t),uW("preconnect",e,t)},L:function(e,t,n){if(uH.L(e,t,n),uG&&e&&t){var r='link[rel="preload"][as="'+tn(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+tn(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+tn(n.imageSizes)+'"]')):r+='[href="'+tn(e)+'"]';var a=r;switch(t){case"style":a=uQ(e);break;case"script":a=uZ(e)}uB.has(a)||(e=p({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),uB.set(a,e),null!==uG.querySelector(r)||"style"===t&&uG.querySelector(uK(a))||"script"===t&&uG.querySelector(uX(a))||(um(t=uG.createElement("link"),"link",e),eK(t),uG.head.appendChild(t)))}},m:function(e,t){if(uH.m(e,t),uG&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+tn(n)+'"][href="'+tn(e)+'"]',a=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=uZ(e)}if(!uB.has(a)&&(e=p({rel:"modulepreload",href:e},t),uB.set(a,e),null===uG.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(uG.querySelector(uX(a)))return}um(n=uG.createElement("link"),"link",e),eK(n),uG.head.appendChild(n)}}},X:function(e,t){if(uH.X(e,t),uG&&e){var n=eQ(uG).hoistableScripts,r=uZ(e),a=n.get(r);a||((a=uG.querySelector(uX(r)))||(e=p({src:e,async:!0},t),(t=uB.get(r))&&u2(e,t),eK(a=uG.createElement("script")),um(a,"link",e),uG.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}},S:function(e,t,n){if(uH.S(e,t,n),uG&&e){var r=eQ(uG).hoistableStyles,a=uQ(e);t=t||"default";var o=r.get(a);if(!o){var i={loading:0,preload:null};if(o=uG.querySelector(uK(a)))i.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},n),(n=uB.get(a))&&u1(e,n);var l=o=uG.createElement("link");eK(l),um(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){i.loading|=1}),l.addEventListener("error",function(){i.loading|=2}),i.loading|=4,u0(o,t,uG)}o={type:"stylesheet",instance:o,count:1,state:i},r.set(a,o)}}},M:function(e,t){if(uH.M(e,t),uG&&e){var n=eQ(uG).hoistableScripts,r=uZ(e),a=n.get(r);a||((a=uG.querySelector(uX(r)))||(e=p({src:e,async:!0,type:"module"},t),(t=uB.get(r))&&u2(e,t),eK(a=uG.createElement("script")),um(a,"link",e),uG.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}}};var uG="u"<typeof document?null:document;function uW(e,t,n){if(uG&&"string"==typeof t&&t){var r=tn(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),uU.has(r)||(uU.add(r),e={rel:e,crossOrigin:n,href:t},null===uG.querySelector(r)&&(um(t=uG.createElement("link"),"link",e),eK(t),uG.head.appendChild(t)))}}function uV(e,t,n,r){var a=(a=q.current)?uq(a):null;if(!a)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=uQ(n.href),(r=(n=eQ(a).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=uQ(n.href);var o,i,s,u,c=eQ(a).hoistableStyles,d=c.get(e);if(d||(a=a.ownerDocument||a,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=a.querySelector(uK(e)))&&!c._p&&(d.instance=c,d.state.loading=5),uB.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},uB.set(e,n),c||(o=a,i=e,s=n,u=d.state,o.querySelector('link[rel="preload"][as="style"]['+i+"]")?u.loading=1:(u.preload=i=o.createElement("link"),i.addEventListener("load",function(){return u.loading|=1}),i.addEventListener("error",function(){return u.loading|=2}),um(i,"link",s),eK(i),o.head.appendChild(i))))),t&&null===r)throw Error(l(528,""));return d}if(t&&null!==r)throw Error(l(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=uZ(n),(r=(n=eQ(a).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function uQ(e){return'href="'+tn(e)+'"'}function uK(e){return'link[rel="stylesheet"]['+e+"]"}function uY(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function uZ(e){return'[src="'+tn(e)+'"]'}function uX(e){return"script[async]"+e}function uJ(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tn(n.href)+'"]');if(r)return t.instance=r,eK(r),r;var a=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return eK(r=(e.ownerDocument||e).createElement("style")),um(r,"style",a),u0(r,n.precedence,e),t.instance=r;case"stylesheet":a=uQ(n.href);var o=e.querySelector(uK(a));if(o)return t.state.loading|=4,t.instance=o,eK(o),o;r=uY(n),(a=uB.get(a))&&u1(r,a),eK(o=(e.ownerDocument||e).createElement("link"));var i=o;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),um(o,"link",r),t.state.loading|=4,u0(o,n.precedence,e),t.instance=o;case"script":if(o=uZ(n.src),a=e.querySelector(uX(o)))return t.instance=a,eK(a),a;return r=n,(a=uB.get(o))&&u2(r=p({},n),a),eK(a=(e=e.ownerDocument||e).createElement("script")),um(a,"link",r),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(l(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,u0(r,n.precedence,e)),t.instance}function u0(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=r.length?r[r.length-1]:null,o=a,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)o=l;else if(o!==a)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function u1(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function u2(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var u4=null;function u3(e,t,n){if(null===u4){var r=new Map,a=u4=new Map;a.set(n,r)}else(r=(a=u4).get(n))||(r=new Map,a.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var o=n[a];if(!(o[eq]||o[eI]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var i=o.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(o):r.set(i,[o])}}return r}function u5(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function u8(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var u6=0;function u9(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages)){if(this.stylesheets)ce(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var u7=null;function ce(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,u7=new Map,t.forEach(ct,e),u7=null,u9.call(e))}function ct(e,t){if(!(4&t.state.loading)){var n=u7.get(e);if(n)var r=n.get(null);else{n=new Map,u7.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var i=a[o];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(a=t.instance).getAttribute("data-precedence"),(o=n.get(i)||r)===r&&n.set(null,a),n.set(i,a),this.count++,r=u9.bind(this),a.addEventListener("load",r),a.addEventListener("error",r),o?o.parentNode.insertBefore(a,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var cn={$$typeof:k,Provider:null,Consumer:null,_currentValue:D,_currentValue2:D,_threadCount:0};function cr(e,t,n,r,a,o,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eC(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eC(0),this.hiddenUpdates=eC(null),this.identifierPrefix=r,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function ca(e,t,n,r,a,o,i,l,s,u,c,d){return e=new cr(e,t,n,i,s,u,c,d,l),t=1,!0===o&&(t|=24),o=rt(3,null,null,t),e.current=o,o.stateNode=e,t=r2(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},aE(o),e}function co(e,t,n,r,a,o){a=a?n7:n7,null===r.context?r.context=a:r.pendingContext=a,(r=aC(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=a_(e,r,t))&&(su(n,e,t),aT(n,e,t))}function ci(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function cl(e,t){ci(e,t),(e=e.alternate)&&ci(e,t)}function cs(e){if(13===e.tag||31===e.tag){var t=n8(e,0x4000000);null!==t&&su(t,e,0x4000000),cl(e,0x4000000)}}function cu(e){if(13===e.tag||31===e.tag){var t=sl(),n=n8(e,t=eN(t));null!==n&&su(n,e,t),cl(e,t)}}var cc=!0;function cd(e,t,n,r){var a=O.T;O.T=null;var o=L.p;try{L.p=2,cp(e,t,n,r)}finally{L.p=o,O.T=a}}function cf(e,t,n,r){var a=O.T;O.T=null;var o=L.p;try{L.p=8,cp(e,t,n,r)}finally{L.p=o,O.T=a}}function cp(e,t,n,r){if(cc){var a=cm(r);if(null===a)ur(e,t,r,ch,n),cC(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return cv=c_(cv,e,t,n,r,a),!0;case"dragenter":return cw=c_(cw,e,t,n,r,a),!0;case"mouseover":return ck=c_(ck,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return cx.set(o,c_(cx.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,cS.set(o,c_(cS.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(cC(e,r),4&t&&-1<cA.indexOf(e)){for(;null!==a;){var o=eW(a);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var i=ex(o.pendingLanes);if(0!==i){var l=o;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-eg(i);l.entanglements[1]|=s,i&=~s}sV(o),0==(6&lF)&&(l5=ea()+500,sQ(0,!1))}}break;case 31:case 13:null!==(l=n8(o,2))&&su(l,o,2),sp(),cl(o,2)}if(null===(o=cm(r))&&ur(e,t,r,ch,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else ur(e,t,r,null,n)}}function cm(e){return cg(e=tv(e))}var ch=null;function cg(e){if(ch=null,null!==(e=eG(e))){var t=u(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=c(t)))return e;e=null}else if(31===n){if(null!==(e=d(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ch=e,null}function cy(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(eo()){case ei:return 2;case el:return 8;case es:case eu:return 32;case ec:return 0x10000000;default:return 32}default:return 32}}var cb=!1,cv=null,cw=null,ck=null,cx=new Map,cS=new Map,cE=[],cA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function cC(e,t){switch(e){case"focusin":case"focusout":cv=null;break;case"dragenter":case"dragleave":cw=null;break;case"mouseover":case"mouseout":ck=null;break;case"pointerover":case"pointerout":cx.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":cS.delete(t.pointerId)}}function c_(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=eW(t))&&cs(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function cT(e){var t=eG(e.target);if(null!==t){var n=u(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=c(n))){e.blockedOn=t,eL(e.priority,function(){cu(n)});return}}else if(31===t){if(null!==(t=d(n))){e.blockedOn=t,eL(e.priority,function(){cu(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cj(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cm(e.nativeEvent);if(null!==n)return null!==(t=eW(n))&&cs(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tb=r,n.target.dispatchEvent(r),tb=null,t.shift()}return!0}function cP(e,t,n){cj(e)&&n.delete(t)}function cN(){cb=!1,null!==cv&&cj(cv)&&(cv=null),null!==cw&&cj(cw)&&(cw=null),null!==ck&&cj(ck)&&(ck=null),cx.forEach(cP),cS.forEach(cP)}function cR(e,t){e.blockedOn===t&&(e.blockedOn=null,cb||(cb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,cN)))}var cO=null;function cL(e){cO!==e&&(cO=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){cO===e&&(cO=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],a=e[t+2];if("function"!=typeof r)if(null===cg(r||n))continue;else break;var o=eW(n);null!==o&&(e.splice(t,3),t-=3,oJ(o,{pending:!0,data:a,method:n.method,action:r},r,a))}}))}function cD(e){function t(t){return cR(t,e)}null!==cv&&cR(cv,e),null!==cw&&cR(cw,e),null!==ck&&cR(ck,e),cx.forEach(t),cS.forEach(t);for(var n=0;n<cE.length;n++){var r=cE[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<cE.length&&null===(n=cE[0]).blockedOn;)cT(n),null===n.blockedOn&&cE.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var a=n[r],o=n[r+1],i=a[eM]||null;if("function"==typeof o)i||cL(n);else if(i){var l=null;if(o&&o.hasAttribute("formAction")){if(a=o,i=o[eM]||null)l=i.formAction;else if(null!==cg(a))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),cL(n)}}}function cI(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function cM(e){this._internalRoot=e}function cF(e){this._internalRoot=e}cF.prototype.render=cM.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));co(t.current,sl(),e,t,null,null)},cF.prototype.unmount=cM.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;co(e.current,2,null,e,null,null),sp(),t[eF]=null}},cF.prototype.unstable_scheduleHydration=function(e){if(e){var t=eO();e={blockedOn:null,target:e,priority:t};for(var n=0;n<cE.length&&0!==t&&t<cE[n].priority;n++);cE.splice(n,0,e),0===n&&cT(e)}};var cz=o.version;if("19.2.5"!==cz)throw Error(l(527,cz,"19.2.5"));if(L.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=u(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return f(a),e;if(o===r)return f(a),t;o=o.sibling}throw Error(l(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,s=a.child;s;){if(s===n){i=!0,n=a,r=o;break}if(s===r){i=!0,r=a,n=o;break}s=s.sibling}if(!i){for(s=o.child;s;){if(s===n){i=!0,n=o,r=a;break}if(s===r){i=!0,r=o,n=a;break}s=s.sibling}if(!i)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var c$=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!c$.isDisabled&&c$.supportsFiber)try{ep=c$.inject({bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.5"}),em=c$}catch(e){}}t.createRoot=function(e,t){if(!s(e))throw Error(l(299));var n=!1,r="",a=im,o=ih,i=ig;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(o=t.onCaughtError),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=ca(e,1,!1,null,null,n,r,null,a,o,i,cI),e[eF]=t.current,ut(e),new cM(t)},t.hydrateRoot=function(e,t,n){if(!s(e))throw Error(l(299));var r=!1,a="",o=im,i=ih,u=ig,c=null;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(o=n.onUncaughtError),void 0!==n.onCaughtError&&(i=n.onCaughtError),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.formState&&(c=n.formState)),(t=ca(e,1,!0,t,null!=n?n:null,r,a,c,o,i,u,cI)).context=n7,n=t.current,(a=aC(r=eN(r=sl()))).callback=null,a_(n,a,r),n=r,t.current.lanes=n,e_(t,n),sV(t),e[eF]=t.current,ut(e),new cF(t)},t.version="19.2.5"},6221(e,t,n){"use strict";var r=n(6540);function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(a(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},l=Symbol.for("react.portal"),s=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(a(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:l,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},t.useFormStatus=function(){return s.H.useHostTransitionStatus()},t.version="19.2.5"},5338(e,t,n){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(1247)},961(e,t,n){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(6221)},115(e){var t="u">typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,i){if(o===i)return!0;if(o&&i&&"object"==typeof o&&"object"==typeof i){var l,s,u,c;if(o.constructor!==i.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(!e(o[s],i[s]))return!1;return!0}if(n&&o instanceof Map&&i instanceof Map){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=o.entries();!(s=c.next()).done;)if(!e(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&i instanceof Set){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(i)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(o[s]!==i[s])return!1;return!0}if(o.constructor===RegExp)return o.source===i.source&&o.flags===i.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof i.valueOf)return o.valueOf()===i.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof i.toString)return o.toString()===i.toString();if((l=(u=Object.keys(o)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&o instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!o.$$typeof)&&!e(o[u[s]],i[u[s]]))return!1;return!0}return o!=o&&i!=i}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},545(e,t,n){"use strict";n.d(t,{mg:()=>Z,vd:()=>q});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),l=n.n(i),s=n(311),u=n.n(s),c=n(2833),d=n.n(c);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map(function(e){return g[e]}),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce(function(e,t){return e[k[t]]=t,e},{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=S(e,"defaultTitle");return t||r||void 0},A=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return f({},e,t)},{})},C=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var a={};n.filter(function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=f({},r[l],a[l]);r[l]=s}return e},[]).reverse()},_=function(e,t){if(Array.isArray(e)&&e.length){for(var n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},T=function(e){return Array.isArray(e)?e.join(""):e},j=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return!function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.default.push(n):e.priority.push(n),e},{priority:[],default:[]}):{default:e}},P=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},N=[g.NOSCRIPT,g.SCRIPT,g.STYLE],R=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},O=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},L=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[k[n]||n]=e[n],t},t)},D=function(e,t){return t.map(function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach(function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},I=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){var e,n,a,o;return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=L(n,a),[r.createElement(g.TITLE,o,e)]},toString:function(){var r,a,o,i;return r=t.title,a=t.titleAttributes,o=O(a),i=T(r),o?"<"+e+' data-rh="true" '+o+">"+R(i,n)+"</"+e+">":"<"+e+' data-rh="true">'+R(i,n)+"</"+e+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return L(t)},toString:function(){return O(t)}};default:return{toComponent:function(){return D(e,t)},toString:function(){return t.reduce(function(t,r){var a=Object.keys(r).filter(function(e){return"innerHTML"!==e&&"cssText"!==e}).reduce(function(e,t){var a=void 0===r[t]?t:t+'="'+R(r[t],n)+'"';return e?e+" "+a:a},""),o=r.innerHTML||r.cssText||"",i=-1===N.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")},"")}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,m,h,w,k,x,S=(p=e.linkTags,m=e.scriptTags,h=e.encode,w=j(e.metaTags,v),k=j(p,y),x=j(m,b),{priorityMethods:{toComponent:function(){return[].concat(D(g.META,w.priority),D(g.LINK,k.priority),D(g.SCRIPT,x.priority))},toString:function(){return I(g.META,w.priority,h)+" "+I(g.LINK,k.priority,h)+" "+I(g.SCRIPT,x.priority,h)}},metaTags:w.default,linkTags:k.default,scriptTags:x.default});f=S.priorityMethods,u=S.linkTags,c=S.metaTags,d=S.scriptTags}return{priority:f,base:I(g.BASE,t,r),bodyAttributes:I("bodyAttributes",n,r),htmlAttributes:I("htmlAttributes",a,r),link:I(g.LINK,u,r),meta:I(g.META,c,r),noscript:I(g.NOSCRIPT,o,r),script:I(g.SCRIPT,d,r),style:I(g.STYLE,i,r),title:I(g.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},F=[],z=function(e,t){var n=this;void 0===t&&(t="u">typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?F:n.instances},add:function(e){(n.canUseDOM?F:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?F:n.instances).indexOf(e);(n.canUseDOM?F:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),B=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),U="u">typeof document,q=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new z(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);q.canUseDOM=U,q.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some(function(e,t){return n=t,r.isEqualNode(e)})?o.splice(n,1):i.push(r)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return r.appendChild(e)}),{oldTags:o,newTags:i}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},W=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;G(g.BODY,e.bodyAttributes),G(g.HTML,r),void 0!==c&&document.title!==c&&(document.title=T(c)),G(g.TITLE,d);var f={baseTag:H(g.BASE,n),linkTags:H(g.LINK,a),metaTags:H(g.META,o),noscriptTags:H(g.NOSCRIPT,i),scriptTags:H(g.SCRIPT,s),styleTags:H(g.STYLE,u)},p={},m={};Object.keys(f).forEach(function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)}),t&&t(),l(e,p,m)},V=null,Q=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o={baseTag:(e=["href"],(t=n.helmetInstances.get().map(function(e){var t=f({},e.props);return delete t.context,t})).filter(function(e){return void 0!==e[g.BASE]}).map(function(e){return e[g.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t},[])),bodyAttributes:A("bodyAttributes",t),defer:S(t,"defer"),encode:S(t,"encodeSpecialCharacters"),htmlAttributes:A("htmlAttributes",t),linkTags:C(g.LINK,["rel","href"],t),metaTags:C(g.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:C(g.NOSCRIPT,["innerHTML"],t),onChangeClientState:S(t,"onChangeClientState")||function(){},scriptTags:C(g.SCRIPT,["src","innerHTML"],t),styleTags:C(g.STYLE,["cssText"],t),title:E(t),titleAttributes:A("titleAttributes",t),prioritizeSeoTags:_(t,"prioritizeSeoTags")};q.canUseDOM?(V&&cancelAnimationFrame(V),o.defer?V=requestAnimationFrame(function(){W(o,function(){V=null})}):(W(o),V=null)):M&&(a=M(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Q.propTypes={context:B.isRequired},Q.displayName="HelmetDispatcher";var K=["children"],Y=["children"],Z=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(P(this.props,"helmetData"),P(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case g.BODY:return f({},a,{bodyAttributes:f({},o)});case g.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach(function(t){var r;n=f({},n,((r={})[t]=e[t],r))}),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,K),l=Object.keys(i).reduce(function(e,t){return e[x[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,Y),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof z||(o=new z(o.context,o.instances)),o?r.createElement(Q,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,function(e){return r.createElement(Q,f({},a,{context:e}))})},t}(r.Component);Z.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},Z.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Z.displayName="Helmet"},2799(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case h:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},4363(e,t,n){"use strict";e.exports=n(2799)},3259(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var l=n(6540),s=[],u=[],c=l.createContext(null);function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(function(e){return n.loading=!1,n.loaded=e,e}).catch(function(e){throw n.loading=!1,n.error=e,e}),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach(function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then(function(e){t.loaded[r]=e}).catch(function(e){t.error=e})})}catch(e){t.error=e}return t.promise=Promise.all(n).then(function(e){return t.loading=!1,e}).catch(function(e){throw t.loading=!1,e}),t}function p(e,t){return l.createElement(e&&e.__esModule?e.default:e,t)}function m(e,t){if(!t.loading)throw Error("react-loadable requires a `loading` component");var d,f,m=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return s.push(g),"function"==typeof m.webpack&&u.push(function(){if((0,m.webpack)().every(function(e){return void 0!==e&&void 0!==n.m[e]}))return g()}),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()}),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context&&Array.isArray(m.modules)&&m.modules.forEach(function(t){e.context.report(t)}),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout(function(){t({pastDelay:!0})},m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout(function(){t({timedOut:!0})},m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then(function(){return n(),null}).catch(function(e){return n(),null})}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextType",c),f}function h(e){return m(d,e)}function g(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then(function(){if(e.length)return g(e)})}h.Map=function(e){if("function"!=typeof e.render)throw Error("LoadableMap requires a `render(loaded, props)` function");return m(f,e)},h.Capture=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return l.createElement(c.Provider,{value:{report:this.props.report}},l.Children.only(this.props.children))},t}(l.Component),h.preloadAll=function(){return new Promise(function(e,t){g(s).then(e,t)})},h.preloadReady=function(){return new Promise(function(e,t){g(u).then(e,e)})},e.exports=h},2831(e,t,n){"use strict";n.d(t,{u:()=>function e(t,n,a){return void 0===a&&(a=[]),t.some(function(t){var o=t.path?(0,r.B6)(n,t):a.length?a[a.length-1].match:r.Ix.computeRootMatch(n);return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,n,a)),o}),a},v:()=>i});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map(function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})})):null}},4625(e,t,n){"use strict";n.d(t,{I9:()=>d,Kd:()=>c,N_:()=>y,k2:()=>w});var r=n(6347),a=n(594),o=n(6540),i=n(3328),l=n(8168),s=n(8587),u=n(1561),c=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component),d=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.TM)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component),f=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},m=function(e){return e},h=o.forwardRef;void 0===h&&(h=m);var g=h(function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.A)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),r())}});return m!==h?c.ref=t||n:c.ref=n,o.createElement("a",c)}),y=h(function(e,t){var n=e.component,a=void 0===n?g:n,c=e.replace,d=e.to,y=e.innerRef,b=(0,s.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,u.A)(!1);var n=e.history,r=p(f(d,e.location),e.location),s=r?n.createHref(r):"",g=(0,l.A)({},b,{href:s,navigate:function(){var t=f(d,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(p(t));(c||r?n.replace:n.push)(t)}});return m!==h?g.ref=t||y:g.innerRef=y,o.createElement(a,g)})}),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v(function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,m=e.className,h=e.exact,g=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,A=e.innerRef,C=(0,s.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,u.A)(!1);var n=w||e.location,i=p(f(E,n),n),s=i.pathname,_=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=_?(0,r.B6)(n.pathname,{path:_,exact:h,sensitive:k,strict:x}):null,j=!!(g?g(T,n):T),P="function"==typeof m?m(j):m,N="function"==typeof S?S(j):S;j&&(P=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(P,c),N=(0,l.A)({},N,d));var R=(0,l.A)({"aria-current":j&&a||null,className:P,style:N,to:i},C);return b!==v?R.ref=t||A:R.innerRef=A,o.createElement(y,R)})})},6347(e,t,n){"use strict";n.d(t,{B6:()=>v,Ix:()=>g,W6:()=>S,XZ:()=>h,dO:()=>k,qh:()=>w,zy:()=>E});var r=n(594),a=n(6540),o=n(5556),i=n.n(o),l=(n(3328),n(1561)),s=n(8168),u=n(5302),c=n.n(u);n(4363),n(8587),n(4146);var d="u">typeof globalThis?globalThis:"u">typeof window?window:void 0!==n.g?n.g:{},f=a.createContext||function(e,t){var n,o,l="__create-react-context-"+(d.__global_unique_id__=(d.__global_unique_id__||0)+1)+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return n=(t=e.call.apply(e,[this].concat(o))||this).props.value,r=[],t.emitter={on:function(e){r.push(e)},off:function(e){r=r.filter(function(t){return t!==e})},get:function(){return n},set:function(e,t){n=e,r.forEach(function(e){return e(n,t)})}},t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;(r===a?0!==r||1/r==1/a:r!=r&&a!=a)?n=0:0!=(n=("function"==typeof t?t(r,a):0x3fffffff)|0)&&this.emitter.set(e.value,n)}},a.render=function(){return this.props.children},n}(a.Component);(n={})[l]=i().object.isRequired,s.childContextTypes=n;var u=function(t){function n(){for(var e,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(e.observedBits&n)!=0&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?0x3fffffff:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?0x3fffffff:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){var e;return(Array.isArray(e=this.props.children)?e[0]:e)(this.state.value)},n}(a.Component);return(o={})[l]=i().object,u.contextTypes=o,{Provider:s,Consumer:u}},p=function(e){var t=f();return t.displayName=e,t},m=p("Router-History"),h=p("Router"),g=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._pendingLocation=e})),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(t){e._isMounted&&e.setState({location:t})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(h.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component,a.Component;var y={},b=0;function v(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=y[n]||(y[n]={});if(r[e])return r[e];var a=[],o={regexp:c()(e,a,t),keys:a};return b<1e4&&(r[e]=o,b++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var d=s[0],f=s.slice(1),p=e===d;return o&&!p?null:{path:n,url:"/"===n&&""===d?"/":d,isExact:p,params:i.reduce(function(e,t,n){return e[t.name]=f[n],e},{})}},null)}var w=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,function(t){t||(0,l.A)(!1);var n,r=e.props.location||t.location,o=e.props.computedMatch?e.props.computedMatch:e.props.path?v(r.pathname,e.props):t.match,i=(0,s.A)({},t,{location:r,match:o}),u=e.props,c=u.children,d=u.component,f=u.render;return Array.isArray(c)&&(n=c,0===a.Children.count(n))&&(c=null),a.createElement(h.Provider,{value:i},i.match?c?"function"==typeof c?c(i):c:d?a.createElement(d,i):f?f(i):null:"function"==typeof c?c(i):null)})},t}(a.Component);a.Component;var k=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,function(t){t||(0,l.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?v(o.pathname,(0,s.A)({},e.props,{path:i})):t.match}}),r?a.cloneElement(n,{location:o,computedMatch:r}):null})},t}(a.Component),x=a.useContext;function S(){return x(m)}function E(){return x(h).location}},9698(e,t){"use strict";var n=Symbol.for("react.transitional.element");function r(e,t,r){var a=null;if(void 0!==r&&(a=""+r),void 0!==t.key&&(a=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return{$$typeof:n,type:e,key:a,ref:void 0!==(t=r.ref)?t:null,props:r}}t.Fragment=Symbol.for("react.fragment"),t.jsx=r,t.jsxs=r},9869(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),m=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}function v(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var k=w.prototype=new v;k.constructor=w,g(k,b.prototype),k.isPureReactComponent=!0;var x=Array.isArray;function S(){}var E={H:null,A:null,T:null,S:null},A=Object.prototype.hasOwnProperty;function C(e,t,r){var a=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==a?a:null,props:r}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function P(e,t,a){if(null==e)return e;var o=[],i=0;return!function e(t,a,o,i,l){var s,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var p=!1;if(null===t)p=!0;else switch(d){case"bigint":case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case r:p=!0;break;case f:return e((p=t._init)(t._payload),a,o,i,l)}}if(p)return l=l(t),p=""===i?"."+j(t,0):i,x(l)?(o="",null!=p&&(o=p.replace(T,"$&/")+"/"),e(l,a,o,"",function(e){return e})):null!=l&&(_(l)&&(s=l,u=o+(null==l.key||t&&t.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+p,l=C(s.type,u,s.props)),a.push(l)),1;p=0;var h=""===i?".":i+":";if(x(t))for(var g=0;g<t.length;g++)d=h+j(i=t[g],g),p+=e(i,a,o,d,l);else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=m&&c[m]||c["@@iterator"])?c:null))for(t=g.call(t),g=0;!(i=t.next()).done;)d=h+j(i=i.value,g++),p+=e(i,a,o,d,l);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),a,o,i,l);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return p}(e,o,"","",function(e){return t.call(a,e,i++)}),o}function N(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};t.Activity=p,t.Children={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=i,t.PureComponent=w,t.StrictMode=o,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=g({},e.props),a=e.key;if(null!=t)for(o in void 0!==t.key&&(a=""+t.key),t)A.call(t,o)&&"key"!==o&&"__self"!==o&&"__source"!==o&&("ref"!==o||void 0!==t.ref)&&(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var i=Array(o),l=0;l<o;l++)i[l]=arguments[l+2];r.children=i}return C(e.type,a,r)},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},t.createElement=function(e,t,n){var r,a={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)A.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(a[r]=t[r]);var i=arguments.length-2;if(1===i)a.children=n;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];a.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===a[r]&&(a[r]=i[r]);return C(e,o,a)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=E.T,n={};E.T=n;try{var r=e(),a=E.S;null!==a&&a(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(S,R)}catch(e){R(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}},t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.2.5"},6540(e,t,n){"use strict";e.exports=n(9869)},4848(e,t,n){"use strict";e.exports=n(9698)},4477(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,p=null,m=3,h=!1,g=!1,y=!1,b=!1,v="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,k="u">typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function S(e){if(y=!1,x(e),!g)if(null!==r(c))g=!0,E||(E=!0,i());else{var t=r(d);null!==t&&R(S,t.startTime-e)}}var E=!1,A=-1,C=5,_=-1;function T(){return!!b||!(t.unstable_now()-_<C)}function j(){if(b=!1,E){var e=t.unstable_now();_=e;var n=!0;try{e:{g=!1,y&&(y=!1,w(A),A=-1),h=!0;var o=m;try{t:{for(x(e),p=r(c);null!==p&&!(p.expirationTime>e&&T());){var l=p.callback;if("function"==typeof l){p.callback=null,m=p.priorityLevel;var s=l(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){p.callback=s,x(e),n=!0;break t}p===r(c)&&a(c),x(e)}else a(c);p=r(c)}if(null!==p)n=!0;else{var u=r(d);null!==u&&R(S,u.startTime-e),n=!1}}break e}finally{p=null,m=o,h=!1}}}finally{n?i():E=!1}}}if("function"==typeof k)i=function(){k(j)};else if("u">typeof MessageChannel){var P=new MessageChannel,N=P.port2;P.port1.onmessage=j,i=function(){N.postMessage(null)}}else i=function(){v(j,0)};function R(e,n){A=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},t.unstable_requestPaint=function(){b=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},t.unstable_scheduleCallback=function(e,a,o){var l=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?l+o:l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=o+s,e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:s,sortIndex:-1},o>l?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(y?(w(A),A=-1):y=!0,R(S,o-l))):(e.sortIndex=s,n(c,e),g||h||(g=!0,E||(E=!0,i()))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},9982(e,t,n){"use strict";e.exports=n(4477)},2833(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},8460(e,t,n){"use strict";n.d(t,{A:()=>f}),n(6540);var r=n(4848),a=n(3259),o=n.n(a),i=n(4054);let l={"0058b4c6":[()=>n.e("266").then(n.t.bind(n,6164,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-175.json",6164],"0402ec03":[()=>n.e("351").then(n.bind(n,6019)),"@site/docs/integrations/telegram.mdx",6019],"09292580":[()=>n.e("851").then(n.bind(n,3131)),"@site/docs/reference/permissions.mdx",3131],"115f7d00":[()=>n.e("618").then(n.bind(n,4176)),"@site/docs/reference/second-brain.mdx",4176],"138e0e15":[()=>n.e("234").then(n.t.bind(n,1597,19)),"@generated/@easyops-cn/docusaurus-search-local/default/__plugin.json",1597],0x11113f9:[()=>Promise.all([n.e("14"),n.e("106")]).then(n.bind(n,8181)),"@theme/DocItem",8181],"1a4e3797":[()=>Promise.all([n.e("14"),n.e("847")]).then(n.bind(n,4907)),"@theme/SearchPage",4907],"1df93b7f":[()=>Promise.all([n.e("14"),n.e("452")]).then(n.bind(n,5146)),"@site/src/pages/index.tsx",5146],"2aa6d146":[()=>n.e("651").then(n.bind(n,685)),"@site/docs/daemon-mode/system-service.mdx",685],"2b538913":[()=>n.e("283").then(n.bind(n,15)),"@site/docs/integrations/spotify.mdx",15],"35a35434":[()=>n.e("770").then(n.bind(n,7705)),"@site/docs/cli-commands/commands.mdx",7705],"37a27735":[()=>n.e("263").then(n.bind(n,7175)),"@site/docs/reference/provider-fallback.mdx",7175],"449e68eb":[()=>n.e("871").then(n.bind(n,810)),"@site/docs/getting-started/setup.mdx",810],"47fe99a6":[()=>n.e("713").then(n.bind(n,2361)),"@site/docs/integrations/github-companion.mdx",2361],"4df8d22c":[()=>n.e("523").then(n.bind(n,1646)),"@site/docs/daemon-mode/background-mode.mdx",1646],"5e95c892":[()=>n.e("668").then(n.bind(n,6569)),"@theme/DocsRoot",6569],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"6459b84b":[()=>n.e("336").then(n.bind(n,6198)),"@site/docs/getting-started/installation.mdx",6198],"653db0f6":[()=>n.e("904").then(n.bind(n,439)),"@site/docs/reference/skills.mdx",439],"7e0893c3":[()=>n.e("454").then(n.bind(n,2979)),"@site/docs/reference/scheduling.mdx",2979],"8b9e049f":[()=>n.e("203").then(n.bind(n,5699)),"@site/docs/cli-commands/doctor.mdx",5699],a06fff0d:[()=>n.e("225").then(n.bind(n,8019)),"@site/docs/integrations/sub-agents.mdx",8019],a6e053fd:[()=>Promise.all([n.e("14"),n.e("368")]).then(n.bind(n,514)),"@site/docs/daemon-mode/platform-guide.mdx",514],a7456010:[()=>n.e("56").then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a7bd4aaa:[()=>n.e("575").then(n.bind(n,8146)),"@theme/DocVersionRoot",8146],a94703ab:[()=>Promise.all([n.e("14"),n.e("785")]).then(n.bind(n,1399)),"@theme/DocRoot",1399],aba21aa0:[()=>n.e("747").then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],bc430709:[()=>n.e("788").then(n.bind(n,3505)),"@site/docs/getting-started/starting.mdx",3505],c8078f0a:[()=>n.e("135").then(n.bind(n,7893)),"@site/docs/reference/configuration.mdx",7893],de57ece0:[()=>n.e("650").then(n.bind(n,4995)),"@site/docs/cli-commands/in-chat-commands.mdx",4995],e7df10b1:[()=>n.e("534").then(n.bind(n,5005)),"@site/docs/reference/built-in-tools.mdx",5005]};function s({error:e,retry:t,pastDelay:n}){return e?(0,r.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,r.jsx)("p",{children:String(e)}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"button",onClick:t,children:"Retry"})})]}):n?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,r.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,r.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(7665),c=n(7574);function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e("62").then(n.bind(n,629)),modules:["@theme/NotFound"],webpack:()=>[629],render(e,t){let n=e.default;return(0,r.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,r.jsx)(n,{...t})})}});let a=i[`${e}-${t}`],d={},f=[],p=[];return Object.entries((0,u.A)(a)).forEach(([e,t])=>{let n=l[t];n&&(d[e]=n[0],f.push(n[1]),p.push(n[2]))}),o().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){let o=JSON.parse(JSON.stringify(a));Object.entries(t).forEach(([t,n])=>{let r=n.default;if(!r)throw Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);("object"==typeof r||"function"==typeof r)&&Object.keys(n).filter(e=>"default"!==e).forEach(e=>{r[e]=n[e]});let a=o,i=t.split(".");i.slice(0,-1).forEach(e=>{a=a[e]}),a[i[i.length-1]]=r});let i=o.__comp;delete o.__comp;let l=o.__context;delete o.__context;let s=o.__props;return delete o.__props,(0,r.jsx)(c.W,{value:l,children:(0,r.jsx)(i,{...o,...s,...n})})}})}let f=[{path:"/search",component:d("/search","822"),exact:!0},{path:"/docs",component:d("/docs","88d"),routes:[{path:"/docs",component:d("/docs","5d7"),routes:[{path:"/docs",component:d("/docs","37b"),routes:[{path:"/docs",component:d("/docs","731"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/cli-commands",component:d("/docs/cli-commands/cli-commands","5e0"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/doctor",component:d("/docs/cli-commands/doctor","165"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/in-chat-commands",component:d("/docs/cli-commands/in-chat-commands","3be"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/daemon-mode",component:d("/docs/daemon-mode/daemon-mode","9c7"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/platform-guide",component:d("/docs/daemon-mode/platform-guide","346"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/system-service",component:d("/docs/daemon-mode/system-service","d3a"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/getting-started/setup",component:d("/docs/getting-started/setup","870"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/getting-started/starting",component:d("/docs/getting-started/starting","449"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/github-companion",component:d("/docs/integrations/github-companion","b37"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/spotify",component:d("/docs/integrations/spotify","10e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/sub-agents",component:d("/docs/integrations/sub-agents","1fe"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/telegram",component:d("/docs/integrations/telegram","ebc"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/built-in-tools",component:d("/docs/reference/built-in-tools","e86"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/configuration",component:d("/docs/reference/configuration","171"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/permissions",component:d("/docs/reference/permissions","bd4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/provider-fallback",component:d("/docs/reference/provider-fallback","b47"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/scheduling",component:d("/docs/reference/scheduling","0b4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/second-brain",component:d("/docs/reference/second-brain","2c4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/skills",component:d("/docs/reference/skills","d27"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/",component:d("/","e5f"),exact:!0},{path:"*",component:d("*")}]},1173(e,t,n){"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(4848),a=n(6540);let o=a.createContext(!1);function i({children:e}){let[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{n(!0)},[]),(0,r.jsx)(o.Provider,{value:t,children:e})}},354(e,t,n){"use strict";var r=n(4848),a=n(6540),o=n(5338),i=n(545),l=n(4625),s=n(4784),u=n(1289);let c=[n(7612),n(6464),n(2489),n(3678),n(6448)];var d=n(8460),f=n(6347),p=n(2831);function m({children:e}){return(0,r.jsx)(r.Fragment,{children:e})}var h=n(3899);let g=e=>e.defaultFormatter(e);function y({children:e}){return(0,r.jsx)(h.AL,{formatter:g,children:e})}function b({children:e}){return(0,r.jsx)(y,{children:e})}var v=n(3572),w=n(898),k=n(6497),x=n(1022),S=n(4308),E=n(5243),A=n(5248),C=n(4175);function _(){let{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,w.A)(),a=(0,E.o)(),o=n[e].htmlLang;return(0,r.jsxs)(v.A,{children:[Object.entries(n).map(([e,{htmlLang:t}])=>(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:e,fullyQualified:!0}),hrefLang:t},e)),(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,r.jsx)("meta",{property:"og:locale",content:o.replace("-","_")}),Object.values(n).filter(e=>o!==e.htmlLang).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:e.htmlLang.replace("-","_")},`meta-og-${e.htmlLang}`))]})}function T({permalink:e}){let{siteConfig:{url:t}}=(0,w.A)(),n=function(){let{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,w.A)(),{pathname:r}=(0,f.zy)();return e+(0,A.applyTrailingSlash)((0,k.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=e?`${t}${e}`:n;return(0,r.jsxs)(v.A,{children:[(0,r.jsx)("meta",{property:"og:url",content:a}),(0,r.jsx)("link",{rel:"canonical",href:a})]})}function j(){let{i18n:{currentLocale:e}}=(0,w.A)(),{metadata:t,image:n}=(0,x.p)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v.A,{children:[(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("body",{})]}),n&&(0,r.jsx)(S.be,{image:n}),(0,r.jsx)(T,{}),(0,r.jsx)(_,{}),(0,r.jsx)(C.A,{tag:"default",locale:e}),(0,r.jsx)(v.A,{children:t.map((e,t)=>(0,r.jsx)("meta",{...e},t))})]})}let P=new Map;var N=n(1173),R=n(3587),O=n(9989);function L(e,...t){let n=c.map(n=>{let r=n.default?.[e]??n[e];return r?.(...t)});return()=>n.forEach(e=>e?.())}let D=function({children:e,location:t,previousLocation:n}){return(0,O.A)(()=>{n!==t&&(!function({location:e,previousLocation:t}){if(!t)return;let n=e.pathname===t.pathname,r=e.hash===t.hash,a=e.search===t.search;if(n&&r&&!a)return;let{hash:o}=e;if(o){let e=decodeURIComponent(o.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:t,previousLocation:n}),L("onRouteDidUpdate",{previousLocation:n,location:t}))},[n,t]),e};function I(e){return Promise.all(Array.from(new Set([e,decodeURI(e)])).map(e=>(0,p.u)(d.A,e)).flat().map(e=>e.route.component.preload?.()))}class M extends a.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.A.canUseDOM?L("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;let n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=L("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),I(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){let{children:e,location:t}=this.props;return(0,r.jsx)(D,{previousLocation:this.previousLocation,location:t,children:(0,r.jsx)(f.qh,{location:t,render:()=>e})})}}let F="__docusaurus-base-url-issue-banner-suggestion-container";function z(){let{siteConfig:{baseUrl:e}}=(0,w.A)();return(0,r.jsx)(r.Fragment,{children:!u.A.canUseDOM&&(0,r.jsx)(v.A,{children:(0,r.jsx)("script",{children:`
+(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["889"],{7612(e,t,n){"use strict";n.r(t)},6464(e,t,n){"use strict";n.r(t)},6448(e,t,n){"use strict";n.r(t)},3328(e,t,n){"use strict";n.d(t,{AO:()=>f,yJ:()=>p,sC:()=>T,TM:()=>C,zR:()=>w});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}let i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(1561);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o,l,s,u,c,d;"string"==typeof e?(s="",u="",-1!==(c=(l=e||"/").indexOf("#"))&&(u=l.substr(c),l=l.substr(0,c)),-1!==(d=l.indexOf("?"))&&(s=l.substr(d),l=l.substr(0,d)),(o={pathname:l,search:"?"===s?"":s,hash:"#"===u?"":u}).state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter(function(e){return e!==r})}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach(function(e){return e.apply(void 0,n)})}}}var h=!!("u">typeof window&&window.document&&window.document.createElement);function g(e,t){t(window.confirm(e))}var y="popstate",b="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=-1!==window.navigator.userAgent.indexOf("Trident"),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,x=void 0===k?g:k,S=i.keyLength,E=void 0===S?6:S,A=e.basename?d(s(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return A&&(o=c(o,A)),p(o,r,n)}function _(){return Math.random().toString(36).substr(2,E)}var T=m();function j(e){(0,r.A)(B,e),B.length=n.length,T.notifyListeners(B.location,B.action)}function P(e){(void 0!==e.state||-1!==navigator.userAgent.indexOf("CriOS"))&&O(C(e.state))}function N(){O(C(v()))}var R=!1;function O(e){R?(R=!1,j()):T.confirmTransitionTo(e,"POP",x,function(t){var n,r,a,o,i;t?j({action:"POP",location:e}):(n=e,r=B.location,-1===(a=D.indexOf(r.key))&&(a=0),-1===(o=D.indexOf(n.key))&&(o=0),(i=a-o)&&(R=!0,M(i)))})}var L=C(v()),D=[L.key];function I(e){return A+f(e)}function M(e){n.go(e)}var F=0;function z(e){1===(F+=e)&&1===e?(window.addEventListener(y,P),o&&window.addEventListener(b,N)):0===F&&(window.removeEventListener(y,P),o&&window.removeEventListener(b,N))}var $=!1,B={length:n.length,action:"POP",location:L,createHref:I,push:function(e,t){var r="PUSH",o=p(e,t,_(),B.location);T.confirmTransitionTo(o,r,x,function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=D.indexOf(B.location.key),u=D.slice(0,s+1);u.push(o.key),D=u,j({action:r,location:o})}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",o=p(e,t,_(),B.location);T.confirmTransitionTo(o,r,x,function(e){if(e){var t=I(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=D.indexOf(B.location.key);-1!==s&&(D[s]=o.key),j({action:r,location:o})}else window.location.replace(t)}})},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return $||(z(1),$=!0),function(){return $&&($=!1,z(-1)),t()}},listen:function(e){var t=T.appendListener(e);return z(1),function(){z(-1),t()}}};return B}var k="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return -1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return -1===t?"":e.substring(t+1)}function A(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t=window.history;window.navigator.userAgent.indexOf("Firefox");var n=e,a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,u=e.basename?d(s(e.basename)):"",y=x[void 0===i?"slash":i],b=y.encodePath,v=y.decodePath;function w(){var e=v(E());return u&&(e=c(e,u)),p(e)}var C=m();function _(e){(0,r.A)(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var T=!1,j=null;function P(){var e=E(),t=b(e);if(e!==t)A(t);else{var n,r=w(),a=z.location;if(!T&&a.pathname===r.pathname&&a.search===r.search&&a.hash===r.hash||j===f(r))return;j=null,n=r,T?(T=!1,_()):C.confirmTransitionTo(n,"POP",o,function(e){var t,r,a,o,i;e?_({action:"POP",location:n}):(t=n,r=z.location,-1===(a=L.lastIndexOf(f(r)))&&(a=0),-1===(o=L.lastIndexOf(f(t)))&&(o=0),(i=a-o)&&(T=!0,D(i)))})}}var N=E(),R=b(N);N!==R&&A(R);var O=w(),L=[f(O)];function D(e){t.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener(k,P):0===I&&window.removeEventListener(k,P)}var F=!1,z={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+b(u+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);if(E()!==a){j=t,window.location.hash=a;var o=L.lastIndexOf(f(z.location)),i=L.slice(0,o+1);i.push(t),L=i,_({action:n,location:r})}else _()}})},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,o,function(e){if(e){var t=f(r),a=b(u+t);E()!==a&&(j=t,A(a));var o=L.indexOf(f(z.location));-1!==o&&(L[o]=t),_({action:n,location:r})}})},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return F||(M(1),F=!0),function(){return F&&(F=!1,M(-1)),t()}},listen:function(e){var t=C.appendListener(e);return M(1),function(){M(-1),t()}}};return z}function _(e,t,n){return Math.min(Math.max(e,t),n)}function T(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=t.keyLength,s=void 0===l?6:l,u=m();function c(e){(0,r.A)(b,e),b.length=b.entries.length,u.notifyListeners(b.location,b.action)}function d(){return Math.random().toString(36).substr(2,s)}var h=_(void 0===i?0:i,0,o.length-1),g=o.map(function(e){return"string"==typeof e?p(e,void 0,d()):p(e,void 0,e.key||d())});function y(e){var t=_(b.index+e,0,b.entries.length-1),r=b.entries[t];u.confirmTransitionTo(r,"POP",n,function(e){e?c({action:"POP",location:r,index:t}):c()})}var b={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:f,push:function(e,t){var r="PUSH",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){if(e){var t=b.index+1,n=b.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),c({action:r,location:a,index:t,entries:n})}})},replace:function(e,t){var r="REPLACE",a=p(e,t,d(),b.location);u.confirmTransitionTo(a,r,n,function(e){e&&(b.entries[b.index]=a,c({action:r,location:a}))})},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=b.index+e;return t>=0&&t<b.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return b}},4146(e,t,n){"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var y=i[g];if(!o[y]&&!(r&&r[y])&&!(h&&h[y])&&!(l&&l[y])){var b=f(n,y);try{u(t,y,b)}catch(e){}}}}return t}},311(e){"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4634(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},689(e){e.exports=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(n){var r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach(function(t){var n=e.filter(function(e){return e.contains(t)}).length>0;-1!==e.indexOf(t)||n||e.push(t)}),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw Error("iframe inaccessible")}catch(e){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(e){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(e){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,function(){return!0},function(e){r++,n.waitForIframes(e.querySelector("html"),function(){--r||t()})},function(e){e||t()})}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),l=i.length,s=0;i=Array.prototype.slice.call(i);var u=function(){--l<=0&&o(s)};l||u(),i.forEach(function(t){e.matches(t,a.exclude)?u():a.onIframeReady(t,function(e){n(t)&&(s++,r(e)),u()},u)})}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;else if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode(),n=void 0;return n=null===t?e.nextNode():e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return(r.forEach(function(e,t){e.val===n&&(a=t,o=e.handled)}),this.compareNodeIframe(e,t,n))?(!1!==a||o?!1===a||o||(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach(function(e){e.handled||a.getIframeContents(e.val,function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)})})}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){for(var o,i=this,l=this.createIterator(t,e,r),s=[],u=[],c=void 0,d=void 0;d=(o=i.getIteratorNode(l)).prevNode,c=o.node;)this.iframes&&this.forEachIframe(t,function(e){return i.checkIframeFilter(c,d,e,s)},function(t){i.createInstanceOnIframe(t).forEachNode(e,function(e){return u.push(e)},r)}),u.push(c);u.forEach(function(e){n(e)}),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;i||a(),o.forEach(function(o){var l=function(){r.iterateThroughNodes(e,o,t,n,function(){--i<=0&&a()})};r.iframes?r.waitForIframes(o,l):l()})}}],[{key:"matches",value:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(!n)return!1;var r=!1;return("string"==typeof t?[t]:t).every(function(t){return!n.call(e,t)||(r=!0,!1)}),r}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&(void 0===r?"undefined":e(r))==="object"&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==l&&(e=e.replace(RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(l)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(l)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,function(e){return"\\"===e.charAt(0)?"?":"\x01"})).replace(/(?:\\)*\*/g,function(e){return"\\"===e.charAt(0)?"*":"\x02"})}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"})}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105","A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010D","C\xc7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119","E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012B","I\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014D","O\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016B","U\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xff","Y\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xe0\xe1\u1EA3\xe3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xe2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xe4\xe5\u0101\u0105A\xc0\xc1\u1EA2\xc3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xc2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xc4\xc5\u0100\u0104","c\xe7\u0107\u010DC\xc7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xe8\xe9\u1EBB\u1EBD\u1EB9\xea\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xeb\u011B\u0113\u0119E\xc8\xc9\u1EBA\u1EBC\u1EB8\xca\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xcb\u011A\u0112\u0118","i\xec\xed\u1EC9\u0129\u1ECB\xee\xef\u012BI\xcc\xcd\u1EC8\u0128\u1ECA\xce\xcf\u012A","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ECF\xf5\u1ECD\xf4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xf6\xf8\u014DO\xd2\xd3\u1ECE\xd5\u1ECC\xd4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xd6\xd8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xf9\xfa\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xfb\xfc\u016F\u016BU\xd9\xda\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xdb\xdc\u016E\u016A","y\xfd\u1EF3\u1EF7\u1EF9\u1EF5\xffY\xdd\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],r=[];return e.split("").forEach(function(a){n.every(function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0})}),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n=this.opt.accuracy,r="string"==typeof n?n:n.value,a="string"==typeof n?[]:n.limiters,o="";switch(a.forEach(function(e){o+="|"+t.escapeStr(e)}),r){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(o="\\s"+(o||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf")))+"]*"+e+"[^"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)}),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,l=parseInt(e.start,10)-i;return(r=(l=l>o?o:l)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),l<0||r-l<0||l>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(l,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:n,nodes:r})})}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every(function(i,l){var s=e.nodes[l+1];if(void 0===s||s.start>t){if(!r(i.node))return!1;var u=t-i.start,c=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(c+i.start);if(i.node=o.wrapRangeInTextNode(i.node,u,c),e.value=d+f,e.nodes.forEach(function(t,n){n>=l&&(e.nodes[n].start>0&&n!==l&&(e.nodes[n].start-=c),e.nodes[n].end-=c)}),n-=c,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0})}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){t.nodes.forEach(function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];)if(n(a[i],t)){var l=a.index;if(0!==i)for(var s=1;s<i;s++)l+=a[s].length;r((t=o.wrapRangeInTextNode(t,l,l+a[i].length)).previousSibling),e.lastIndex=0}}),a()})}},{key:"wrapMatchesAcrossElements",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes(function(t){for(var l=void 0;null!==(l=e.exec(t.value))&&""!==l[i];){var s=l.index;if(0!==i)for(var u=1;u<i;u++)s+=l[u].length;var c=s+l[i].length;o.wrapRangeInMappedTextNode(t,s,c,function(e){return n(l[i],e)},function(t,n){e.lastIndex=n,r(t)})}a()})}},{key:"wrapRangeFromIndex",value:function(e,t,n,r){var a=this;this.getTextNodes(function(o){var i=o.value.length;e.forEach(function(e,r){var l=a.checkWhitespaceRanges(e,i,o.value),s=l.start,u=l.end;l.valid&&a.wrapRangeInMappedTextNode(o,s,u,function(n){return t(n,e,o.value.substring(s,u),r)},function(t){n(t,e)})}),r()})}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,n=document.createDocumentFragment();e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var n=this;this.opt=t,this.log('Searching with expression "'+e+'"');var r=0,a="wrapMatches";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,function(e,t){return n.opt.filter(t,e,r)},function(e){r++,n.opt.each(e)},function(){0===r&&n.opt.noMatch(e),n.opt.done(r)})}},{key:"mark",value:function(e,t){var n=this;this.opt=t;var r=0,a="wrapMatches",o=this.getSeparatedKeywords("string"==typeof e?[e]:e),i=o.keywords,l=o.length,s=this.opt.caseSensitive?"":"i";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===l?this.opt.done(r):function e(t){var o=RegExp(n.createRegExp(t),"gm"+s),u=0;n.log('Searching with expression "'+o+'"'),n[a](o,1,function(e,a){return n.opt.filter(a,t,r,u)},function(e){u++,r++,n.opt.each(e)},function(){0===u&&n.opt.noMatch(t),i[l-1]===t?n.opt.done(r):e(i[i.indexOf(t)+1])})}(i[0])}},{key:"markRanges",value:function(e,t){var n=this;this.opt=t;var r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,function(e,t,r,a){return n.opt.filter(e,t,r,a)},function(e,t){r++,n.opt.each(e,t)},function(){n.opt.done(r)})):this.opt.done(r)}},{key:"unmark",value:function(e){var t=this;this.opt=e;var n=this.opt.element?this.opt.element:"*";n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(e){t.unwrapMatches(e)},function(e){var r=a.matches(e,n),o=t.matchesExclude(e);return!r||o?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(e){this._opt=r({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return new a(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),o}();return function(e){var t=this,n=new o(e);return this.mark=function(e,r){return n.mark(e,r),t},this.markRegExp=function(e,r){return n.markRegExp(e,r),t},this.markRanges=function(e,r){return n.markRanges(e,r),t},this.unmark=function(e){return n.unmark(e),t},this}}()},5947(e){var t;t=function(){var e,t,n,r={};r.version="0.2.0";var a=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(a[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();r.status=1===(e=o(e,a.minimum,1))?null:e;var n=r.render(!t),s=n.querySelector(a.barSelector),u=a.speed,c=a.easing;return n.offsetWidth,i(function(t){var o,i,d,f;""===a.positionUsing&&(a.positionUsing=r.getPositioningCSS()),l(s,(o=e,i=u,d=c,(f="translate3d"===a.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===a.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+i+"ms "+d,f)),1===e?(l(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){l(n,{transition:"all "+u+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},u)},u)):setTimeout(t,u)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},a.trickleSpeed)};return a.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*a.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=a.template;var n,o=t.querySelector(a.barSelector),i=e?"-100":(-1+(r.status||0))*100,s=document.querySelector(a.parent);return l(o,{transition:"all 0 linear",transform:"translate3d("+i+"%,0,0)"}),!a.showSpinner&&(n=t.querySelector(a.spinnerSelector))&&f(n),s!=document.body&&u(s,"nprogress-custom-parent"),s.appendChild(t),t},r.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(a.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var i=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,a){var o;r=t[o=(o=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}(o)),n.style[r]=a}return function(e,t){var r,a,o=arguments;if(2==o.length)for(r in t)void 0!==(a=t[r])&&t.hasOwnProperty(r)&&n(e,r,a);else n(e,o[1],o[2])}}();function s(e,t){return("string"==typeof e?e:d(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=d(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=d(e);s(e,t)&&(e.className=(n=r.replace(" "+t+" "," ")).substring(1,n.length-1))}function d(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r},"function"==typeof define&&define.amd?define(t):e.exports=t()},5302(e,t,n){var r=n(4634);e.exports=function e(t,n,a){if(r(n)||(a=n||a,n=[]),a=a||{},t instanceof RegExp){var i,l,s=n,d=t.source.match(/\((?!\?)/g);if(d)for(var f=0;f<d.length;f++)s.push({name:f,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return t.keys=s,t}if(r(t)){for(var p,m=n,h=a,g=[],y=0;y<t.length;y++)g.push(e(t[y],m,h).source);return(p=RegExp("(?:"+g.join("|")+")",u(h))).keys=m,p}return i=n,c(o(t,l=a),i,l)},e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=c;var a=RegExp("(\\\\.)|([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))","g");function o(e,t){for(var n,r=[],o=0,i=0,l="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var c,d,f=n[0],p=n[1],m=n.index;if(l+=e.slice(i,m),i=m+f.length,p){l+=p[1];continue}var h=e[i],g=n[2],y=n[3],b=n[4],v=n[5],w=n[6],k=n[7];l&&(r.push(l),l="");var x=null!=g&&null!=h&&h!==g,S="+"===w||"*"===w,E="?"===w||"*"===w,A=g||u,C=b||v,_=g||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:y||o++,prefix:g||"",delimiter:A,optional:E,repeat:S,partial:x,asterisk:!!k,pattern:C?C.replace(/([=!:$\/()])/g,"\\$1"):k?".*":(c=A,!(d=_)||d.indexOf(c)>-1?"[^"+s(c)+"]+?":s(d)+"|(?:(?!"+s(d)+")[^"+s(c)+"])+?")})}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function l(e,t){for(var n=Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=RegExp("^(?:"+e[a].pattern+")$",u(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c,d=e[u];if("string"==typeof d){o+=d;continue}var f=l[d.name];if(null==f)if(d.optional){d.partial&&(o+=d.prefix);continue}else throw TypeError('Expected "'+d.name+'" to be defined');if(r(f)){if(!d.repeat)throw TypeError('Expected "'+d.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length)if(d.optional)continue;else throw TypeError('Expected "'+d.name+'" to not be empty');for(var p=0;p<f.length;p++){if(c=s(f[p]),!n[u].test(c))throw TypeError('Expected all "'+d.name+'" to match "'+d.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===p?d.prefix:d.delimiter)+c}continue}if(c=d.asterisk?encodeURI(f).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):s(f),!n[u].test(c))throw TypeError('Expected "'+d.name+'" to match "'+d.pattern+'", but received "'+c+'"');o+=d.prefix+c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e&&e.sensitive?"":"i"}function c(e,t,n){r(t)||(n=t||n,t=[]);for(var a,o=(n=n||{}).strict,i=!1!==n.end,l="",c=0;c<e.length;c++){var d=e[c];if("string"==typeof d)l+=s(d);else{var f=s(d.prefix),p="(?:"+d.pattern+")";t.push(d),d.repeat&&(p+="(?:"+f+p+")*"),l+=p=d.optional?d.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var m=s(n.delimiter||"/"),h=l.slice(-m.length)===m;return o||(l=(h?l.slice(0,-m.length):l)+"(?:"+m+"(?=$))?"),i?l+="$":l+=o&&h?"":"(?="+m+"|$)",(a=RegExp("^"+l,u(n))).keys=t,a}},6969(e){e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041A\u0443\u041C\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722(e,t,n){let r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter(e=>"meta"!=e):Array.isArray(e)||(e=[e]),a(r,e,[...o,...Object.keys(Prism.languages)]).load(e=>{if(!(e in r.languages)){i.silent||console.warn("Language does not exist: "+e);return}let t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)})}i.silent=!1,e.exports=i},9700(){var e=Prism;function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(m+p.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})},3157(e,t,n){var r={"./":"8722"};function a(e){return n(o(e))}function o(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380(e){"use strict";e.exports=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}return function(r,a,o){var i,l,s,u,c=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(r),d=function(e){if(e in c)return e;if(!i)for(var n in i={},c){var r=c[n];t(r&&r.alias,function(e){if(e in i)throw Error(e+" cannot be alias for both "+n+" and "+i[e]);if(e in c)throw Error(e+" cannot be alias of "+n+" because it is a component.");i[e]=n})}return i[e]||e};a=a.map(d),o=(o||[]).map(d);var f=n(a),p=n(o);a.forEach(function e(n){var r=c[n];t(r&&r.require,function(t){t in p||(f[t]=!0,e(t))})});for(var m=(l={},s=[],function(e){var n=l[e];return n||(!function e(n,r){if(!(n in l)){r.push(n);var a=r.indexOf(n);if(a<r.length-1)throw Error("Circular dependency: "+r.slice(a).join(" -> "));var o={},i=c[n];if(i){function s(t){if(!(t in c))throw Error(n+" depends on an unknown component "+t);if(!(t in o))for(var a in e(t,r),o[t]=!0,l[t])o[a]=!0}t(i.require,s),t(i.optional,s),t(i.modify,s)}l[n]=o,r.pop()}}(e,s),n=l[e]),n}),h=f;function(e){for(var t in e)return!0;return!1}(h);){for(var g in u={},h){var y=c[g];t(y&&y.modify,function(e){e in p&&(u[e]=!0)})}for(var b in p)if(!(b in f)){for(var v in m(b))if(v in f){u[b]=!0;break}}for(var w in h=u)f[w]=!0}var k={getIds:function(){var e=[];return k.load(function(t){e.push(t)}),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};for(var u in n)!function e(a){if(a in l)return l[a];s[a]=!0;var u,c=[];for(var d in t(a))d in n&&c.push(d);if(0===c.length)u=r(a);else{var f=i(c.map(function(t){var n=e(t);return delete s[t],n}));o?u=o(f,function(){return r(a)}):r(a)}return l[a]=u}(u);var c=[];for(var d in s)c.push(l[d]);return i(c)}(m,f,t,n)}};return k}}()},2694(e,t,n){"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556(e,t,n){e.exports=n(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1247(e,t,n){"use strict";var r,a=n(9982),o=n(6540),i=n(961);function l(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function u(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(n=t.return),e=t.return;while(e)}return 3===t.tag?n:null}function c(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function d(e){if(31===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function f(e){if(u(e)!==e)throw Error(l(188))}var p=Object.assign,m=Symbol.for("react.element"),h=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),k=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),C=Symbol.for("react.lazy");Symbol.for("react.scope");var _=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var T=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var j=Symbol.iterator;function P(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var N=Symbol.for("react.client.reference"),R=Array.isArray,O=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D={pending:!1,data:null,method:null,action:null},I=[],M=-1;function F(e){return{current:e}}function z(e){0>M||(e.current=I[M],I[M]=null,M--)}function $(e,t){I[++M]=e.current,e.current=t}var B=F(null),U=F(null),q=F(null),H=F(null);function G(e,t){switch($(q,t),$(U,e),$(B,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?uv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=uw(t=uv(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}z(B),$(B,e)}function W(){z(B),z(U),z(q)}function V(e){null!==e.memoizedState&&$(H,e);var t=B.current,n=uw(t,e.type);t!==n&&($(U,e),$(B,n))}function Q(e){U.current===e&&(z(B),z(U)),H.current===e&&(z(H),cn._currentValue=D)}function K(e){if(void 0===tM)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tM=t&&t[1]||"",tF=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tM+e+tF}var Y=!1;function Z(e,t){if(!e||Y)return"";Y=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),i=o[0],l=o[1];if(i&&l){var s=i.split("\n"),u=l.split("\n");for(a=r=0;r<s.length&&!s[r].includes("DetermineComponentFrameRoot");)r++;for(;a<u.length&&!u[a].includes("DetermineComponentFrameRoot");)a++;if(r===s.length||a===u.length)for(r=s.length-1,a=u.length-1;1<=r&&0<=a&&s[r]!==u[a];)a--;for(;1<=r&&0<=a;r--,a--)if(s[r]!==u[a]){if(1!==r||1!==a)do if(r--,a--,0>a||s[r]!==u[a]){var c="\n"+s[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=r&&0<=a)break}}}finally{Y=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?K(n):""}function X(e){try{var t="",n=null;do t+=function(e,t){switch(e.tag){case 26:case 27:case 5:return K(e.type);case 16:return K("Lazy");case 13:return e.child!==t&&null!==t?K("Suspense Fallback"):K("Suspense");case 19:return K("SuspenseList");case 0:case 15:return Z(e.type,!1);case 11:return Z(e.type.render,!1);case 1:return Z(e.type,!0);case 31:return K("Activity");default:return""}}(e,n),n=e,e=e.return;while(e)return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var J=Object.prototype.hasOwnProperty,ee=a.unstable_scheduleCallback,et=a.unstable_cancelCallback,en=a.unstable_shouldYield,er=a.unstable_requestPaint,ea=a.unstable_now,eo=a.unstable_getCurrentPriorityLevel,ei=a.unstable_ImmediatePriority,el=a.unstable_UserBlockingPriority,es=a.unstable_NormalPriority,eu=a.unstable_LowPriority,ec=a.unstable_IdlePriority,ed=a.log,ef=a.unstable_setDisableYieldValue,ep=null,em=null;function eh(e){if("function"==typeof ed&&ef(e),em&&"function"==typeof em.setStrictMode)try{em.setStrictMode(ep,e)}catch(e){}}var eg=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ey(e)/eb|0)|0},ey=Math.log,eb=Math.LN2,ev=256,ew=262144,ek=4194304;function ex(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return 261888&e;case 262144:case 524288:case 1048576:case 2097152:return 3932160&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eS(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var a=0,o=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=0x7ffffff&r;return 0!==l?0!=(r=l&~o)?a=ex(r):0!=(i&=l)?a=ex(i):n||0!=(n=l&~e)&&(a=ex(n)):0!=(l=r&~o)?a=ex(l):0!==i?a=ex(i):n||0!=(n=r&~e)&&(a=ex(n)),0===a?0:0!==t&&t!==a&&0==(t&o)&&((o=a&-a)>=(n=t&-t)||32===o&&0!=(4194048&n))?t:a}function eE(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eA(){var e=ek;return 0==(0x3c00000&(ek<<=1))&&(ek=4194304),e}function eC(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function e_(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eT(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-eg(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|261930&n}function ej(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eg(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}function eP(e,t){var n=t&-t;return 0!=((n=0!=(42&n)?1:eN(n))&(e.suspendedLanes|t))?0:n}function eN(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eR(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eO(){var e=L.p;return 0!==e?e:void 0===(e=window.event)?32:cy(e.type)}function eL(e,t){var n=L.p;try{return L.p=e,t()}finally{L.p=n}}var eD=Math.random().toString(36).slice(2),eI="__reactFiber$"+eD,eM="__reactProps$"+eD,eF="__reactContainer$"+eD,ez="__reactEvents$"+eD,e$="__reactListeners$"+eD,eB="__reactHandles$"+eD,eU="__reactResources$"+eD,eq="__reactMarker$"+eD;function eH(e){delete e[eI],delete e[eM],delete e[ez],delete e[e$],delete e[eB]}function eG(e){var t=e[eI];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eF]||n[eI]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uF(e);null!==e;){if(n=e[eI])return n;e=uF(e)}return t}n=(e=n).parentNode}return null}function eW(e){if(e=e[eI]||e[eF]){var t=e.tag;if(5===t||6===t||13===t||31===t||26===t||27===t||3===t)return e}return null}function eV(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(l(33))}function eQ(e){var t=e[eU];return t||(t=e[eU]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function eK(e){e[eq]=!0}var eY=new Set,eZ={};function eX(e,t){eJ(e,t),eJ(e+"Capture",t)}function eJ(e,t){for(eZ[e]=t,e=0;e<t.length;e++)eY.add(t[e])}var e0=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),e1={},e2={};function e4(e,t,n){if(J.call(e2,t)||!J.call(e1,t)&&(e0.test(t)?e2[t]=!0:(e1[t]=!0,!1)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function e3(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function e5(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+r)}}function e8(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e6(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function e9(e){if(!e._valueTracker){var t=e6(e)?"checked":"value";e._valueTracker=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){n=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e,t,""+e[t])}}function e7(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=e6(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function te(e){if(void 0===(e=e||("u">typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var tt=/[\n"\\]/g;function tn(e){return e.replace(tt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function tr(e,t,n,r,a,o,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e8(t)):e.value!==""+e8(t)&&(e.value=""+e8(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?to(e,i,e8(t)):null!=n?to(e,i,e8(n)):null!=r&&e.removeAttribute("value"),null==a&&null!=o&&(e.defaultChecked=!!o),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+e8(l):e.removeAttribute("name")}function ta(e,t,n,r,a,o,i,l){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return void e9(e);n=null!=n?""+e8(n):"",t=null!=t?""+e8(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:a)&&"symbol"!=typeof r&&!!r,e.checked=l?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i),e9(e)}function to(e,t,n){"number"===t&&te(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function ti(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(a=0,n=""+e8(n),t=null;a<e.length;a++){if(e[a].value===n){e[a].selected=!0,r&&(e[a].defaultSelected=!0);return}null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function tl(e,t,n){if(null!=t&&((t=""+e8(t))!==e.value&&(e.value=t),null==n)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=n?""+e8(n):""}function ts(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error(l(92));if(R(r)){if(1<r.length)throw Error(l(93));r=r[0]}n=r}null==n&&(n=""),t=n}e.defaultValue=n=e8(t),(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r),e9(e)}function tu(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType){n.nodeValue=t;return}}e.textContent=t}var tc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function td(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||tc.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function tf(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(l(62));if(e=e.style,null!=n){for(var r in n)!n.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&td(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&td(e,o,t[o])}function tp(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var tm=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),th=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tg(e){return th.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ty(){}var tb=null;function tv(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tw=null,tk=null;function tx(e){var t=eW(e);if(t&&(e=t.stateNode)){var n=e[eM]||null;switch(e=t.stateNode,t.type){case"input":if(tr(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+tn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[eM]||null;if(!a)throw Error(l(90));tr(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&e7(r)}break;case"textarea":tl(e,n.value,n.defaultValue);break;case"select":null!=(t=n.value)&&ti(e,!!n.multiple,t,!1)}}}var tS=!1;function tE(e,t,n){if(tS)return e(t,n);tS=!0;try{return e(t)}finally{if(tS=!1,(null!==tw||null!==tk)&&(sp(),tw&&(t=tw,e=tk,tk=tw=null,tx(t),e)))for(t=0;t<e.length;t++)tx(e[t])}}function tA(e,t){var n=e.stateNode;if(null===n)return null;var r=n[eM]||null;if(null===r)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(l(231,t,typeof n));return n}var tC="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,t_=!1;if(tC)try{var tT={};Object.defineProperty(tT,"passive",{get:function(){t_=!0}}),window.addEventListener("test",tT,tT),window.removeEventListener("test",tT,tT)}catch(e){t_=!1}var tj=null,tP=null,tN=null;function tR(){if(tN)return tN;var e,t,n=tP,r=n.length,a="value"in tj?tj.value:tj.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return tN=a.slice(e,1<t?1-t:void 0)}function tO(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tL(){return!0}function tD(){return!1}function tI(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?tL:tD,this.isPropagationStopped=tD,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tL)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tL)},persist:function(){},isPersistent:tL}),t}var tM,tF,tz,t$,tB,tU={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tq=tI(tU),tH=p({},tU,{view:0,detail:0}),tG=tI(tH),tW=p({},tH,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:t4,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==tB&&(tB&&"mousemove"===e.type?(tz=e.screenX-tB.screenX,t$=e.screenY-tB.screenY):t$=tz=0,tB=e),tz)},movementY:function(e){return"movementY"in e?e.movementY:t$}}),tV=tI(tW),tQ=tI(p({},tW,{dataTransfer:0})),tK=tI(p({},tH,{relatedTarget:0})),tY=tI(p({},tU,{animationName:0,elapsedTime:0,pseudoElement:0})),tZ=tI(p({},tU,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),tX=tI(p({},tU,{data:0})),tJ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},t0={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},t1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t2(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=t1[e])&&!!t[e]}function t4(){return t2}var t3=tI(p({},tH,{key:function(e){if(e.key){var t=tJ[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tO(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?t0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:t4,charCode:function(e){return"keypress"===e.type?tO(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tO(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),t5=tI(p({},tW,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),t8=tI(p({},tH,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:t4})),t6=tI(p({},tU,{propertyName:0,elapsedTime:0,pseudoElement:0})),t9=tI(p({},tW,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),t7=tI(p({},tU,{newState:0,oldState:0})),ne=[9,13,27,32],nt=tC&&"CompositionEvent"in window,nn=null;tC&&"documentMode"in document&&(nn=document.documentMode);var nr=tC&&"TextEvent"in window&&!nn,na=tC&&(!nt||nn&&8<nn&&11>=nn),no=!1;function ni(e,t){switch(e){case"keyup":return -1!==ne.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nl(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ns=!1,nu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!nu[e.type]:"textarea"===t}function nd(e,t,n,r){tw?tk?tk.push(r):tk=[r]:tw=r,0<(t=uo(t,"onChange")).length&&(n=new tq("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var nf=null,np=null;function nm(e){s6(e,0)}function nh(e){if(e7(eV(e)))return e}function ng(e,t){if("change"===e)return t}var ny=!1;if(tC){if(tC){var nb="oninput"in document;if(!nb){var nv=document.createElement("div");nv.setAttribute("oninput","return;"),nb="function"==typeof nv.oninput}r=nb}else r=!1;ny=r&&(!document.documentMode||9<document.documentMode)}function nw(){nf&&(nf.detachEvent("onpropertychange",nk),np=nf=null)}function nk(e){if("value"===e.propertyName&&nh(np)){var t=[];nd(t,np,e,tv(e)),tE(nm,t)}}function nx(e,t,n){"focusin"===e?(nw(),nf=t,np=n,nf.attachEvent("onpropertychange",nk)):"focusout"===e&&nw()}function nS(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return nh(np)}function nE(e,t){if("click"===e)return nh(t)}function nA(e,t){if("input"===e||"change"===e)return nh(t)}var nC="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function n_(e,t){if(nC(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!J.call(t,a)||!nC(e[a],t[a]))return!1}return!0}function nT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function nj(e,t){var n,r=nT(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=nT(r)}}function nP(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=te(e.document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(n)e=t.contentWindow;else break;t=te(e.document)}return t}function nN(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var nR=tC&&"documentMode"in document&&11>=document.documentMode,nO=null,nL=null,nD=null,nI=!1;function nM(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nI||null==nO||nO!==te(r)||(r="selectionStart"in(r=nO)&&nN(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},nD&&n_(nD,r)||(nD=r,0<(r=uo(nL,"onSelect")).length&&(t=new tq("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nO)))}function nF(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nz={animationend:nF("Animation","AnimationEnd"),animationiteration:nF("Animation","AnimationIteration"),animationstart:nF("Animation","AnimationStart"),transitionrun:nF("Transition","TransitionRun"),transitionstart:nF("Transition","TransitionStart"),transitioncancel:nF("Transition","TransitionCancel"),transitionend:nF("Transition","TransitionEnd")},n$={},nB={};function nU(e){if(n$[e])return n$[e];if(!nz[e])return e;var t,n=nz[e];for(t in n)if(n.hasOwnProperty(t)&&t in nB)return n$[e]=n[t];return e}tC&&(nB=document.createElement("div").style,"AnimationEvent"in window||(delete nz.animationend.animation,delete nz.animationiteration.animation,delete nz.animationstart.animation),"TransitionEvent"in window||delete nz.transitionend.transition);var nq=nU("animationend"),nH=nU("animationiteration"),nG=nU("animationstart"),nW=nU("transitionrun"),nV=nU("transitionstart"),nQ=nU("transitioncancel"),nK=nU("transitionend"),nY=new Map,nZ="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function nX(e,t){nY.set(e,t),eX(t,[e])}nZ.push("scrollEnd");var nJ="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},n0=[],n1=0,n2=0;function n4(){for(var e=n1,t=n2=n1=0;t<e;){var n=n0[t];n0[t++]=null;var r=n0[t];n0[t++]=null;var a=n0[t];n0[t++]=null;var o=n0[t];if(n0[t++]=null,null!==r&&null!==a){var i=r.pending;null===i?a.next=a:(a.next=i.next,i.next=a),r.pending=a}0!==o&&n6(n,a,o)}}function n3(e,t,n,r){n0[n1++]=e,n0[n1++]=t,n0[n1++]=n,n0[n1++]=r,n2|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function n5(e,t,n,r){return n3(e,t,n,r),n9(e)}function n8(e,t){return n3(e,null,null,t),n9(e)}function n6(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var a=!1,o=e.return;null!==o;)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(a=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,a&&null!==t&&(a=31-eg(n),null===(r=(e=o.hiddenUpdates)[a])?e[a]=[t]:r.push(t),t.lane=0x20000000|n),o):null}function n9(e){if(50<so)throw so=0,si=null,Error(l(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var n7={};function re(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rt(e,t,n,r){return new re(e,t,n,r)}function rn(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rr(e,t){var n=e.alternate;return null===n?((n=rt(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=0x3e00000&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ra(e,t){e.flags&=0x3e00002;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ro(e,t,n,r,a,o){var i=0;if(r=e,"function"==typeof e)rn(e)&&(i=1);else if("string"==typeof e)i=!function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,B.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case _:return(e=rt(31,n,t,a)).elementType=_,e.lanes=o,e;case y:return ri(n.children,a,o,t);case b:i=8,a|=24;break;case v:return(e=rt(12,n,t,2|a)).elementType=v,e.lanes=o,e;case S:return(e=rt(13,n,t,a)).elementType=S,e.lanes=o,e;case E:return(e=rt(19,n,t,a)).elementType=E,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:i=10;break e;case w:i=9;break e;case x:i=11;break e;case A:i=14;break e;case C:i=16,r=null;break e}i=29,n=Error(l(130,null===e?"null":typeof e,"")),r=null}return(t=rt(i,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function ri(e,t,n,r){return(e=rt(7,e,r,t)).lanes=n,e}function rl(e,t,n){return(e=rt(6,e,null,t)).lanes=n,e}function rs(e){var t=rt(18,null,null,0);return t.stateNode=e,t}function ru(e,t,n){return(t=rt(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rc=new WeakMap;function rd(e,t){if("object"==typeof e&&null!==e){var n=rc.get(e);return void 0!==n?n:(t={value:e,source:t,stack:X(t)},rc.set(e,t),t)}return{value:e,source:t,stack:X(t)}}var rf=[],rp=0,rm=null,rh=0,rg=[],ry=0,rb=null,rv=1,rw="";function rk(e,t){rf[rp++]=rh,rf[rp++]=rm,rm=e,rh=t}function rx(e,t,n){rg[ry++]=rv,rg[ry++]=rw,rg[ry++]=rb,rb=e;var r=rv;e=rw;var a=32-eg(r)-1;r&=~(1<<a),n+=1;var o=32-eg(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,rv=1<<32-eg(t)+a|n<<a|r,rw=o+e}else rv=1<<o|n<<a|r,rw=e}function rS(e){null!==e.return&&(rk(e,1),rx(e,1,0))}function rE(e){for(;e===rm;)rm=rf[--rp],rf[rp]=null,rh=rf[--rp],rf[rp]=null;for(;e===rb;)rb=rg[--ry],rg[ry]=null,rw=rg[--ry],rg[ry]=null,rv=rg[--ry],rg[ry]=null}function rA(e,t){rg[ry++]=rv,rg[ry++]=rw,rg[ry++]=rb,rv=t.id,rw=t.overflow,rb=e}var rC=null,r_=null,rT=!1,rj=null,rP=!1,rN=Error(l(519));function rR(e){var t=Error(l(418,1<arguments.length&&void 0!==arguments[1]&&arguments[1]?"text":"HTML",""));throw rF(rd(t,e)),rN}function rO(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[eI]=e,t[eM]=r,n){case"dialog":s9("cancel",t),s9("close",t);break;case"iframe":case"object":case"embed":s9("load",t);break;case"video":case"audio":for(n=0;n<s5.length;n++)s9(s5[n],t);break;case"source":s9("error",t);break;case"img":case"image":case"link":s9("error",t),s9("load",t);break;case"details":s9("toggle",t);break;case"input":s9("invalid",t),ta(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":s9("invalid",t);break;case"textarea":s9("invalid",t),ts(t,r.value,r.defaultValue,r.children)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||ud(t.textContent,n)?(null!=r.popover&&(s9("beforetoggle",t),s9("toggle",t)),null!=r.onScroll&&s9("scroll",t),null!=r.onScrollEnd&&s9("scrollend",t),null!=r.onClick&&(t.onclick=ty),t=!0):t=!1,t||rR(e,!0)}function rL(e){for(rC=e.return;rC;)switch(rC.tag){case 5:case 31:case 13:rP=!1;return;case 27:case 3:rP=!0;return;default:rC=rC.return}}function rD(e){if(e!==rC)return!1;if(!rT)return rL(e),rT=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t="form"===(t=e.type)||"button"===t||uk(e.type,e.memoizedProps)),t=!t),t&&r_&&rR(e),rL(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));r_=uM(e)}else if(31===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(l(317));r_=uM(e)}else 27===n?(n=r_,uT(e.type)?(e=uI,uI=null,r_=e):r_=n):r_=rC?uD(e.stateNode.nextSibling):null;return!0}function rI(){r_=rC=null,rT=!1}function rM(){var e=rj;return null!==e&&(null===l1?l1=e:l1.push.apply(l1,e),rj=null),e}function rF(e){null===rj?rj=[e]:rj.push(e)}var rz=F(null),r$=null,rB=null;function rU(e,t,n){$(rz,t._currentValue),t._currentValue=n}function rq(e){e._currentValue=rz.current,z(rz)}function rH(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function rG(e,t,n,r){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var o=a.dependencies;if(null!==o){var i=a.child;o=o.firstContext;e:for(;null!==o;){var s=o;o=a;for(var u=0;u<t.length;u++)if(s.context===t[u]){o.lanes|=n,null!==(s=o.alternate)&&(s.lanes|=n),rH(o.return,n,e),r||(i=null);break e}o=s.next}}else if(18===a.tag){if(null===(i=a.return))throw Error(l(341));i.lanes|=n,null!==(o=i.alternate)&&(o.lanes|=n),rH(i,n,e),i=null}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===e){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}function rW(e,t,n,r){e=null;for(var a=t,o=!1;null!==a;){if(!o){if(0!=(524288&a.flags))o=!0;else if(0!=(262144&a.flags))break}if(10===a.tag){var i=a.alternate;if(null===i)throw Error(l(387));if(null!==(i=i.memoizedProps)){var s=a.type;nC(a.pendingProps.value,i.value)||(null!==e?e.push(s):e=[s])}}else if(a===H.current){if(null===(i=a.alternate))throw Error(l(387));i.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(null!==e?e.push(cn):e=[cn])}a=a.return}null!==e&&rG(t,e,n,r),t.flags|=262144}function rV(e){for(e=e.firstContext;null!==e;){if(!nC(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function rQ(e){r$=e,rB=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function rK(e){return rZ(r$,e)}function rY(e,t){return null===r$&&rQ(e),rZ(e,t)}function rZ(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===rB){if(null===e)throw Error(l(308));rB=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else rB=rB.next=t;return n}var rX="u">typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},rJ=a.unstable_scheduleCallback,r0=a.unstable_NormalPriority,r1={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function r2(){return{controller:new rX,data:new Map,refCount:0}}function r4(e){e.refCount--,0===e.refCount&&rJ(r0,function(){e.controller.abort()})}var r3=null,r5=0,r8=0,r6=null;function r9(){if(0==--r5&&null!==r3){null!==r6&&(r6.status="fulfilled");var e=r3;r3=null,r8=0,r6=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var r7=O.S;O.S=function(e,t){l3=ea(),"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e){if(null===r3){var t=r3=[];r5=0,r8=s0(),r6={status:"pending",value:void 0,then:function(e){t.push(e)}}}r5++,e.then(r9,r9)}(t),null!==r7&&r7(e,t)};var ae=F(null);function at(){var e=ae.current;return null!==e?e:lz.pooledCache}function an(e,t){null===t?$(ae,ae.current):$(ae,t.pool)}function ar(){var e=at();return null===e?null:{parent:r1._currentValue,pool:e}}var aa=Error(l(460)),ao=Error(l(474)),al=Error(l(542)),as={then:function(){}};function au(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ac(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(ty,ty),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw am(e=t.reason),e;default:if("string"==typeof t.status)t.then(ty,ty);else{if(null!==(e=lz)&&100<e.shellSuspendCounter)throw Error(l(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw am(e=t.reason),e}throw af=t,aa}}function ad(e){try{return(0,e._init)(e._payload)}catch(e){if(null!==e&&"object"==typeof e&&"function"==typeof e.then)throw af=e,aa;throw e}}var af=null;function ap(){if(null===af)throw Error(l(459));var e=af;return af=null,e}function am(e){if(e===aa||e===al)throw Error(l(483))}var ah=null,ag=0;function ay(e){var t=ag;return ag+=1,null===ah&&(ah=[]),ac(ah,e,t)}function ab(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function av(e,t){if(t.$$typeof===m)throw Error(l(525));throw Error(l(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function aw(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function a(e,t){return(e=rr(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=0x4000002,n):r:(t.flags|=0x4000002,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=0x4000002),t}function s(e,t,n,r){return null===t||6!==t.tag?(t=rl(n,e.mode,r)).return=e:(t=a(t,n)).return=e,t}function u(e,t,n,r){var o=n.type;return o===y?d(e,t,n.props.children,r,n.key):(null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===C&&ad(o)===t.type)?ab(t=a(t,n.props),n):ab(t=ro(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=ru(n,e.mode,r)).return=e:(t=a(t,n.children||[])).return=e,t}function d(e,t,n,r,o){return null===t||7!==t.tag?(t=ri(n,e.mode,r,o)).return=e:(t=a(t,n)).return=e,t}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case h:return ab(n=ro(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case g:return(t=ru(t,e.mode,n)).return=e,t;case C:return f(e,t=ad(t),n)}if(R(t)||P(t))return(t=ri(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,ay(t),n);if(t.$$typeof===k)return f(e,rY(e,t),n);av(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case h:return n.key===a?u(e,t,n,r):null;case g:return n.key===a?c(e,t,n,r):null;case C:return p(e,t,n=ad(n),r)}if(R(n)||P(n))return null!==a?null:d(e,t,n,r,null);if("function"==typeof n.then)return p(e,t,ay(n),r);if(n.$$typeof===k)return p(e,t,rY(e,n),r);av(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case h:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case g:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case C:return m(e,t,n,r=ad(r),a)}if(R(r)||P(r))return d(t,e=e.get(n)||null,r,a,null);if("function"==typeof r.then)return m(e,t,n,ay(r),a);if(r.$$typeof===k)return m(e,t,n,rY(t,r),a);av(t,r)}return null}return function(s,u,c,d){try{ag=0;var b=function s(u,c,d,b){if("object"==typeof d&&null!==d&&d.type===y&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case h:e:{for(var v=d.key;null!==c;){if(c.key===v){if((v=d.type)===y){if(7===c.tag){n(u,c.sibling),(b=a(c,d.props.children)).return=u,u=b;break e}}else if(c.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===C&&ad(v)===c.type){n(u,c.sibling),ab(b=a(c,d.props),d),b.return=u,u=b;break e}n(u,c);break}t(u,c),c=c.sibling}d.type===y?(b=ri(d.props.children,u.mode,b,d.key)).return=u:(ab(b=ro(d.type,d.key,d.props,null,u.mode,b),d),b.return=u),u=b}return i(u);case g:e:{for(v=d.key;null!==c;){if(c.key===v)if(4===c.tag&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(u,c.sibling),(b=a(c,d.children||[])).return=u,u=b;break e}else{n(u,c);break}t(u,c),c=c.sibling}(b=ru(d,u.mode,b)).return=u,u=b}return i(u);case C:return s(u,c,d=ad(d),b)}if(R(d))return function(a,i,l,s){for(var u=null,c=null,d=i,h=i=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var y=p(a,d,l[h],s);if(null===y){null===d&&(d=g);break}e&&d&&null===y.alternate&&t(a,d),i=o(y,i,h),null===c?u=y:c.sibling=y,c=y,d=g}if(h===l.length)return n(a,d),rT&&rk(a,h),u;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],s))&&(i=o(d,i,h),null===c?u=d:c.sibling=d,c=d);return rT&&rk(a,h),u}for(d=r(d);h<l.length;h++)null!==(g=m(d,a,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=o(g,i,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(a,e)}),rT&&rk(a,h),u}(u,c,d,b);if(P(d)){if("function"!=typeof(v=P(d)))throw Error(l(150));return function(a,i,s,u){if(null==s)throw Error(l(151));for(var c=null,d=null,h=i,g=i=0,y=null,b=s.next();null!==h&&!b.done;g++,b=s.next()){h.index>g?(y=h,h=null):y=h.sibling;var v=p(a,h,b.value,u);if(null===v){null===h&&(h=y);break}e&&h&&null===v.alternate&&t(a,h),i=o(v,i,g),null===d?c=v:d.sibling=v,d=v,h=y}if(b.done)return n(a,h),rT&&rk(a,g),c;if(null===h){for(;!b.done;g++,b=s.next())null!==(b=f(a,b.value,u))&&(i=o(b,i,g),null===d?c=b:d.sibling=b,d=b);return rT&&rk(a,g),c}for(h=r(h);!b.done;g++,b=s.next())null!==(b=m(h,a,g,b.value,u))&&(e&&null!==b.alternate&&h.delete(null===b.key?g:b.key),i=o(b,i,g),null===d?c=b:d.sibling=b,d=b);return e&&h.forEach(function(e){return t(a,e)}),rT&&rk(a,g),c}(u,c,d=v.call(d),b)}if("function"==typeof d.then)return s(u,c,ay(d),b);if(d.$$typeof===k)return s(u,c,rY(u,d),b);av(u,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==c&&6===c.tag?(n(u,c.sibling),(b=a(c,d)).return=u):(n(u,c),(b=rl(d,u.mode,b)).return=u),i(u=b)):n(u,c)}(s,u,c,d);return ah=null,b}catch(e){if(e===aa||e===al)throw e;var v=rt(29,e,null,s.mode);return v.lanes=d,v.return=s,v}finally{}}}var ak=aw(!0),ax=aw(!1),aS=!1;function aE(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function aA(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function aC(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function a_(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&lF)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,t=n9(e),n6(e,null,n),t}return n3(e,r,t,n),n9(e)}function aT(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&n))){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ej(e,n)}}function aj(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n)null===o?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var aP=!1;function aN(){if(aP){var e=r6;if(null!==e)throw e}}function aR(e,t,n,r){aP=!1;var a=e.updateQueue;aS=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==o){var d=a.baseState;for(i=0,c=u=s=null,l=o;;){var f=-0x20000001&l.lane,m=f!==l.lane;if(m?(lB&f)===f:(r&f)===f){0!==f&&f===r8&&(aP=!0),null!==c&&(c=c.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var h=e,g=l;switch(f=t,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(n,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(n,d,f):h))break e;d=p({},d,f);break e;case 2:aS=!0}}null!==(f=l.callback)&&(e.flags|=64,m&&(e.flags|=8192),null===(m=a.callbacks)?a.callbacks=[f]:m.push(f))}else m={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=m,s=d):c=c.next=m,i|=f;if(null===(l=l.next))if(null===(l=a.shared.pending))break;else l=(m=l).next,m.next=null,a.lastBaseUpdate=m,a.shared.pending=null}null===c&&(s=d),a.baseState=s,a.firstBaseUpdate=u,a.lastBaseUpdate=c,null===o&&(a.shared.lanes=0),lK|=i,e.lanes=i,e.memoizedState=d}}function aO(e,t){if("function"!=typeof e)throw Error(l(191,e));e.call(t)}function aL(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)aO(n[e],t)}var aD=F(null),aI=F(0);function aM(e,t){$(aI,e=lV),$(aD,t),lV=e|t.baseLanes}function aF(){$(aI,lV),$(aD,aD.current)}function az(){lV=aI.current,z(aD),z(aI)}var a$=F(null),aB=null;function aU(e){var t=e.alternate;$(aV,1&aV.current),$(a$,e),null===aB&&(null===t||null!==aD.current?aB=e:null!==t.memoizedState&&(aB=e))}function aq(e){$(aV,aV.current),$(a$,e),null===aB&&(aB=e)}function aH(e){22===e.tag?($(aV,aV.current),$(a$,e),null===aB&&(aB=e)):aG(e)}function aG(){$(aV,aV.current),$(a$,a$.current)}function aW(e){z(a$),aB===e&&(aB=null),z(aV)}var aV=F(0);function aQ(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||uO(n)||uL(n)))return t}else if(19===t.tag&&("forwards"===t.memoizedProps.revealOrder||"backwards"===t.memoizedProps.revealOrder||"unstable_legacy-backwards"===t.memoizedProps.revealOrder||"together"===t.memoizedProps.revealOrder)){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var aK=0,aY=null,aZ=null,aX=null,aJ=!1,a0=!1,a1=!1,a2=0,a4=0,a3=null,a5=0;function a8(){throw Error(l(321))}function a6(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!nC(e[n],t[n]))return!1;return!0}function a9(e,t,n,r,a,o){return aK=o,aY=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=null===e||null===e.memoizedState?io:ii,a1=!1,o=n(r,a),a1=!1,a0&&(o=oe(t,n,r,a)),a7(e),o}function a7(e){O.H=ia;var t=null!==aZ&&null!==aZ.next;if(aK=0,aX=aZ=aY=null,aJ=!1,a4=0,a3=null,t)throw Error(l(300));null===e||iS||null!==(e=e.dependencies)&&rV(e)&&(iS=!0)}function oe(e,t,n,r){aY=e;var a=0;do{if(a0&&(a3=null),a4=0,a0=!1,25<=a)throw Error(l(301));if(a+=1,aX=aZ=null,null!=e.updateQueue){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,null!=o.memoCache&&(o.memoCache.index=0)}O.H=il,o=t(n,r)}while(a0)return o}function ot(){var e=O.H,t=e.useState()[0];return t="function"==typeof t.then?os(t):t,e=e.useState()[0],(null!==aZ?aZ.memoizedState:null)!==e&&(aY.flags|=1024),t}function on(){var e=0!==a2;return a2=0,e}function or(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function oa(e){if(aJ){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}aJ=!1}aK=0,aX=aZ=aY=null,a0=!1,a4=a2=0,a3=null}function oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===aX?aY.memoizedState=aX=e:aX=aX.next=e,aX}function oi(){if(null===aZ){var e=aY.alternate;e=null!==e?e.memoizedState:null}else e=aZ.next;var t=null===aX?aY.memoizedState:aX.next;if(null!==t)aX=t,aZ=e;else{if(null===e){if(null===aY.alternate)throw Error(l(467));throw Error(l(310))}e={memoizedState:(aZ=e).memoizedState,baseState:aZ.baseState,baseQueue:aZ.baseQueue,queue:aZ.queue,next:null},null===aX?aY.memoizedState=aX=e:aX=aX.next=e}return aX}function ol(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function os(e){var t=a4;return a4+=1,null===a3&&(a3=[]),e=ac(a3,e,t),t=aY,null===(null===aX?t.memoizedState:aX.next)&&(O.H=null===(t=t.alternate)||null===t.memoizedState?io:ii),e}function ou(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return os(e);if(e.$$typeof===k)return rK(e)}throw Error(l(438,String(e)))}function oc(e){var t=null,n=aY.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=aY.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=ol(),aY.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=T;return t.index++,n}function od(e,t){return"function"==typeof t?t(e):t}function of(e){return op(oi(),aZ,e)}function op(e,t,n){var r=e.queue;if(null===r)throw Error(l(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(null!==o){if(null!==a){var i=a.next;a.next=o.next,o.next=i}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,null===a)e.memoizedState=o;else{t=a.next;var s=i=null,u=null,c=t,d=!1;do{var f=-0x20000001&c.lane;if(f!==c.lane?(lB&f)===f:(aK&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===r8&&(d=!0);else if((aK&p)===p){c=c.next,p===r8&&(d=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=f,i=o):u=u.next=f,aY.lanes|=p,lK|=p;f=c.action,a1&&n(o,f),o=c.hasEagerState?c.eagerState:n(o,f)}else p={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(s=u=p,i=o):u=u.next=p,aY.lanes|=f,lK|=f;c=c.next}while(null!==c&&c!==t)if(null===u?i=o:u.next=s,!nC(o,e.memoizedState)&&(iS=!0,d&&null!==(n=r6)))throw n;e.memoizedState=o,e.baseState=i,e.baseQueue=u,r.lastRenderedState=o}return null===a&&(r.lanes=0),[e.memoizedState,r.dispatch]}function om(e){var t=oi(),n=t.queue;if(null===n)throw Error(l(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a)nC(o,t.memoizedState)||(iS=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function oh(e,t,n){var r=aY,a=oi(),o=rT;if(o){if(void 0===n)throw Error(l(407));n=n()}else n=t();var i=!nC((aZ||a).memoizedState,n);if(i&&(a.memoizedState=n,iS=!0),a=a.queue,o$(ob.bind(null,r,a,e),[e]),a.getSnapshot!==t||i||null!==aX&&1&aX.memoizedState.tag){if(r.flags|=2048,oD(9,{destroy:void 0},oy.bind(null,r,a,n,t),null),null===lz)throw Error(l(349));o||0!=(127&aK)||og(r,t,n)}return n}function og(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=aY.updateQueue)?(t=ol(),aY.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function oy(e,t,n,r){t.value=n,t.getSnapshot=r,ov(t)&&ow(e)}function ob(e,t,n){return n(function(){ov(t)&&ow(e)})}function ov(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nC(e,n)}catch(e){return!0}}function ow(e){var t=n8(e,2);null!==t&&su(t,e,2)}function ok(e){var t=oo();if("function"==typeof e){var n=e;if(e=n(),a1){eh(!0);try{n()}finally{eh(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:e},t}function ox(e,t,n,r){return e.baseState=n,op(e,aZ,"function"==typeof r?r:od)}function oS(e,t,n,r,a){if(ie(e))throw Error(l(485));if(null!==(e=t.action)){var o={payload:a,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};null!==O.T?n(!0):o.isTransition=!1,r(o),null===(n=t.pending)?(o.next=t.pending=o,oE(t,o)):(o.next=n.next,t.pending=n.next=o)}}function oE(e,t){var n=t.action,r=t.payload,a=e.state;if(t.isTransition){var o=O.T,i={};O.T=i;try{var l=n(a,r),s=O.S;null!==s&&s(i,l),oA(e,t,l)}catch(n){o_(e,t,n)}finally{null!==o&&null!==i.types&&(o.types=i.types),O.T=o}}else try{o=n(a,r),oA(e,t,o)}catch(n){o_(e,t,n)}}function oA(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){oC(e,t,n)},function(n){return o_(e,t,n)}):oC(e,t,n)}function oC(e,t,n){t.status="fulfilled",t.value=n,oT(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,oE(e,n)))}function o_(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=n,oT(t),t=t.next;while(t!==r)}e.action=null}function oT(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function oj(e,t){return t}function oP(e,t){if(rT){var n=lz.formState;if(null!==n){e:{var r=aY;if(rT){if(r_){t:{for(var a=r_,o=rP;8!==a.nodeType;)if(!o||null===(a=uD(a.nextSibling))){a=null;break t}a="F!"===(o=a.data)||"F"===o?a:null}if(a){r_=uD(a.nextSibling),r="F!"===a.data;break e}}rR(r)}r=!1}r&&(t=n[0])}}return(n=oo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:oj,lastRenderedState:t},n.queue=r,n=o6.bind(null,aY,r),r.dispatch=n,r=ok(!1),o=o7.bind(null,aY,!1,r.queue),r=oo(),a={state:t,dispatch:null,action:e,pending:null},r.queue=a,n=oS.bind(null,aY,a,o,n),a.dispatch=n,r.memoizedState=e,[t,n,!1]}function oN(e){return oR(oi(),aZ,e)}function oR(e,t,n){if(t=op(e,t,oj)[0],e=of(od)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=os(t)}catch(e){if(e===aa)throw al;throw e}else r=t;var a=(t=oi()).queue,o=a.dispatch;return n!==t.memoizedState&&(aY.flags|=2048,oD(9,{destroy:void 0},oO.bind(null,a,n),null)),[r,o,e]}function oO(e,t){e.action=t}function oL(e){var t=oi(),n=aZ;if(null!==n)return oR(t,n,e);oi(),t=t.memoizedState;var r=(n=oi()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function oD(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=aY.updateQueue)&&(t=ol(),aY.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function oI(){return oi().memoizedState}function oM(e,t,n,r){var a=oo();aY.flags|=e,a.memoizedState=oD(1|t,{destroy:void 0},n,void 0===r?null:r)}function oF(e,t,n,r){var a=oi();r=void 0===r?null:r;var o=a.memoizedState.inst;null!==aZ&&null!==r&&a6(r,aZ.memoizedState.deps)?a.memoizedState=oD(t,o,n,r):(aY.flags|=e,a.memoizedState=oD(1|t,o,n,r))}function oz(e,t){oM(8390656,8,e,t)}function o$(e,t){oF(2048,8,e,t)}function oB(e){var t=oi().memoizedState,n={ref:t,nextImpl:e};aY.flags|=4;var r=aY.updateQueue;if(null===r)r=ol(),aY.updateQueue=r,r.events=[n];else{var a=r.events;null===a?r.events=[n]:a.push(n)}return function(){if(0!=(2&lF))throw Error(l(440));return t.impl.apply(void 0,arguments)}}function oU(e,t){return oF(4,2,e,t)}function oq(e,t){return oF(4,4,e,t)}function oH(e,t){if("function"==typeof t){var n=t(e=e());return function(){"function"==typeof n?n():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function oG(e,t,n){n=null!=n?n.concat([e]):null,oF(4,4,oH.bind(null,t,e),n)}function oW(){}function oV(e,t){var n=oi();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&a6(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function oQ(e,t){var n=oi();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&a6(t,r[1]))return r[0];if(r=e(),a1){eh(!0);try{e()}finally{eh(!1)}}return n.memoizedState=[r,t],r}function oK(e,t,n){return void 0===n||0!=(0x40000000&aK)&&0==(261930&lB)?e.memoizedState=t:(e.memoizedState=n,e=ss(),aY.lanes|=e,lK|=e,n)}function oY(e,t,n,r){return nC(n,t)?n:null!==aD.current?(nC(e=oK(e,n,r),t)||(iS=!0),e):0==(42&aK)||0!=(0x40000000&aK)&&0==(261930&lB)?(iS=!0,e.memoizedState=n):(e=ss(),aY.lanes|=e,lK|=e,t)}function oZ(e,t,n,r,a){var o=L.p;L.p=0!==o&&8>o?o:8;var i=O.T,l={};O.T=l,o7(e,!1,t,n);try{var s=a(),u=O.S;if(null!==u&&u(l,s),null!==s&&"object"==typeof s&&"function"==typeof s.then){var c,d,f=(c=[],d={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},s.then(function(){d.status="fulfilled",d.value=r;for(var e=0;e<c.length;e++)(0,c[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<c.length;e++)(0,c[e])(void 0)}),d);o9(e,t,f,sl(e))}else o9(e,t,r,sl(e))}catch(n){o9(e,t,{then:function(){},status:"rejected",reason:n},sl())}finally{L.p=o,null!==i&&null!==l.types&&(i.types=l.types),O.T=i}}function oX(){}function oJ(e,t,n,r){if(5!==e.tag)throw Error(l(476));var a=o0(e).queue;oZ(e,a,t,D,null===n?oX:function(){return o1(e),n(r)})}function o0(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:D,baseState:D,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:D},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:od,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function o1(e){var t=o0(e);null===t.next&&(t=e.alternate.memoizedState),o9(e,t.next.queue,{},sl())}function o2(){return rK(cn)}function o4(){return oi().memoizedState}function o3(){return oi().memoizedState}function o5(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=sl(),r=a_(t,e=aC(n),n);null!==r&&(su(r,t,n),aT(r,t,n)),t={cache:r2()},e.payload=t;return}t=t.return}}function o8(e,t,n){var r=sl();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ie(e)?it(t,n):null!==(n=n5(e,t,n,r))&&(su(n,e,r),ir(n,t,r))}function o6(e,t,n){o9(e,t,n,sl())}function o9(e,t,n,r){var a={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ie(e))it(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,nC(l,i))return n3(e,t,a,0),null===lz&&n4(),!1}catch(e){}finally{}if(null!==(n=n5(e,t,a,r)))return su(n,e,r),ir(n,t,r),!0}return!1}function o7(e,t,n,r){if(r={lane:2,revertLane:s0(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},ie(e)){if(t)throw Error(l(479))}else null!==(t=n5(e,n,r,2))&&su(t,e,2)}function ie(e){var t=e.alternate;return e===aY||null!==t&&t===aY}function it(e,t){a0=aJ=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ir(e,t,n){if(0!=(4194048&n)){var r=t.lanes;r&=e.pendingLanes,t.lanes=n|=r,ej(e,n)}}var ia={readContext:rK,use:ou,useCallback:a8,useContext:a8,useEffect:a8,useImperativeHandle:a8,useLayoutEffect:a8,useInsertionEffect:a8,useMemo:a8,useReducer:a8,useRef:a8,useState:a8,useDebugValue:a8,useDeferredValue:a8,useTransition:a8,useSyncExternalStore:a8,useId:a8,useHostTransitionStatus:a8,useFormState:a8,useActionState:a8,useOptimistic:a8,useMemoCache:a8,useCacheRefresh:a8};ia.useEffectEvent=a8;var io={readContext:rK,use:ou,useCallback:function(e,t){return oo().memoizedState=[e,void 0===t?null:t],e},useContext:rK,useEffect:oz,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,oM(4194308,4,oH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oM(4194308,4,e,t)},useInsertionEffect:function(e,t){oM(4,2,e,t)},useMemo:function(e,t){var n=oo();t=void 0===t?null:t;var r=e();if(a1){eh(!0);try{e()}finally{eh(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=oo();if(void 0!==n){var a=n(t);if(a1){eh(!0);try{n(t)}finally{eh(!1)}}}else a=t;return r.memoizedState=r.baseState=a,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=o8.bind(null,aY,e),[r.memoizedState,e]},useRef:function(e){return oo().memoizedState={current:e}},useState:function(e){var t=(e=ok(e)).queue,n=o6.bind(null,aY,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:oW,useDeferredValue:function(e,t){return oK(oo(),e,t)},useTransition:function(){var e=ok(!1);return e=oZ.bind(null,aY,e.queue,!0,!1),oo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=aY,a=oo();if(rT){if(void 0===n)throw Error(l(407));n=n()}else{if(n=t(),null===lz)throw Error(l(349));0!=(127&lB)||og(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,oz(ob.bind(null,r,o,e),[e]),r.flags|=2048,oD(9,{destroy:void 0},oy.bind(null,r,o,n,t),null),n},useId:function(){var e=oo(),t=lz.identifierPrefix;if(rT){var n=rw,r=rv;t="_"+t+"R_"+(n=(r&~(1<<32-eg(r)-1)).toString(32)+n),0<(n=a2++)&&(t+="H"+n.toString(32)),t+="_"}else t="_"+t+"r_"+(n=a5++).toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:o2,useFormState:oP,useActionState:oP,useOptimistic:function(e){var t=oo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=o7.bind(null,aY,!0,n),n.dispatch=t,[e,t]},useMemoCache:oc,useCacheRefresh:function(){return oo().memoizedState=o5.bind(null,aY)},useEffectEvent:function(e){var t=oo(),n={impl:e};return t.memoizedState=n,function(){if(0!=(2&lF))throw Error(l(440));return n.impl.apply(void 0,arguments)}}},ii={readContext:rK,use:ou,useCallback:oV,useContext:rK,useEffect:o$,useImperativeHandle:oG,useInsertionEffect:oU,useLayoutEffect:oq,useMemo:oQ,useReducer:of,useRef:oI,useState:function(){return of(od)},useDebugValue:oW,useDeferredValue:function(e,t){return oY(oi(),aZ.memoizedState,e,t)},useTransition:function(){var e=of(od)[0],t=oi().memoizedState;return["boolean"==typeof e?e:os(e),t]},useSyncExternalStore:oh,useId:o4,useHostTransitionStatus:o2,useFormState:oN,useActionState:oN,useOptimistic:function(e,t){return ox(oi(),aZ,e,t)},useMemoCache:oc,useCacheRefresh:o3};ii.useEffectEvent=oB;var il={readContext:rK,use:ou,useCallback:oV,useContext:rK,useEffect:o$,useImperativeHandle:oG,useInsertionEffect:oU,useLayoutEffect:oq,useMemo:oQ,useReducer:om,useRef:oI,useState:function(){return om(od)},useDebugValue:oW,useDeferredValue:function(e,t){var n=oi();return null===aZ?oK(n,e,t):oY(n,aZ.memoizedState,e,t)},useTransition:function(){var e=om(od)[0],t=oi().memoizedState;return["boolean"==typeof e?e:os(e),t]},useSyncExternalStore:oh,useId:o4,useHostTransitionStatus:o2,useFormState:oL,useActionState:oL,useOptimistic:function(e,t){var n=oi();return null!==aZ?ox(n,aZ,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:oc,useCacheRefresh:o3};function is(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:p({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}il.useEffectEvent=oB;var iu={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=sl(),a=aC(r);a.payload=t,null!=n&&(a.callback=n),null!==(t=a_(e,a,r))&&(su(t,e,r),aT(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=sl(),a=aC(r);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=a_(e,a,r))&&(su(t,e,r),aT(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=sl(),r=aC(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=a_(e,r,n))&&(su(t,e,n),aT(t,e,n))}};function ic(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||!n_(n,r)||!n_(a,o)}function id(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&iu.enqueueReplaceState(t,t.state,null)}function ip(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var a in n===t&&(n=p({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}function im(e){nJ(e)}function ih(e){console.error(e)}function ig(e){nJ(e)}function iy(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function ib(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function iv(e,t,n){return(n=aC(n)).tag=3,n.payload={element:null},n.callback=function(){iy(e,t)},n}function iw(e){return(e=aC(e)).tag=3,e}function ik(e,t,n,r){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var o=r.value;e.payload=function(){return a(o)},e.callback=function(){ib(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){ib(t,n,r),"function"!=typeof a&&(null===l6?l6=new Set([this]):l6.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var ix=Error(l(461)),iS=!1;function iE(e,t,n,r){t.child=null===e?ax(t,null,n,r):ak(t,e.child,n,r)}function iA(e,t,n,r,a){n=n.render;var o=t.ref;if("ref"in r){var i={};for(var l in r)"ref"!==l&&(i[l]=r[l])}else i=r;return(rQ(t),r=a9(e,t,n,i,o,a),l=on(),null===e||iS)?(rT&&l&&rS(t),t.flags|=1,iE(e,t,r,a),t.child):(or(e,t,a),iQ(e,t,a))}function iC(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||rn(o)||void 0!==o.defaultProps||null!==n.compare?((e=ro(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,i_(e,t,o,r,a))}if(o=e.child,!iK(e,a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:n_)(i,r)&&e.ref===t.ref)return iQ(e,t,a)}return t.flags|=1,(e=rr(o,r)).ref=t.ref,e.return=t,t.child=e}function i_(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(n_(o,r)&&e.ref===t.ref)if(iS=!1,t.pendingProps=r=o,!iK(e,a))return t.lanes=e.lanes,iQ(e,t,a);else 0!=(131072&e.flags)&&(iS=!0)}return iL(e,t,n,r,a)}function iT(e,t,n,r){var a=r.children,o=null!==e?e.memoizedState:null;if(null===e&&null===t.stateNode&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),"hidden"===r.mode){if(0!=(128&t.flags)){if(o=null!==o?o.baseLanes|n:n,null!==e){for(a=0,r=t.child=e.child;null!==r;)a=a|r.lanes|r.childLanes,r=r.sibling;r=a&~o}else r=0,t.child=null;return iP(e,t,o,n,r)}if(0==(0x20000000&n))return r=t.lanes=0x20000000,iP(e,t,null!==o?o.baseLanes|n:n,n,r);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&an(t,null!==o?o.cachePool:null),null!==o?aM(t,o):aF(),aH(t)}else null!==o?(an(t,o.cachePool),aM(t,o),aG(t),t.memoizedState=null):(null!==e&&an(t,null),aF(),aG(t));return iE(e,t,a,n),t.child}function ij(e,t){return null!==e&&22===e.tag||null!==t.stateNode||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function iP(e,t,n,r,a){var o=at();return t.memoizedState={baseLanes:n,cachePool:o=null===o?null:{parent:r1._currentValue,pool:o}},null!==e&&an(t,null),aF(),aH(t),null!==e&&rW(e,t,r,!0),t.childLanes=a,null}function iN(e,t){return(t=iq({mode:t.mode,children:t.children},e.mode)).ref=e.ref,e.child=t,t.return=e,t}function iR(e,t,n){return ak(t,e.child,null,n),e=iN(t,t.pendingProps),e.flags|=2,aW(t),t.memoizedState=null,e}function iO(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(l(284));(null===e||e.ref!==n)&&(t.flags|=4194816)}}function iL(e,t,n,r,a){return(rQ(t),n=a9(e,t,n,r,void 0,a),r=on(),null===e||iS)?(rT&&r&&rS(t),t.flags|=1,iE(e,t,n,a),t.child):(or(e,t,a),iQ(e,t,a))}function iD(e,t,n,r,a,o){return(rQ(t),t.updateQueue=null,n=oe(t,r,n,a),a7(e),r=on(),null===e||iS)?(rT&&r&&rS(t),t.flags|=1,iE(e,t,n,o),t.child):(or(e,t,o),iQ(e,t,o))}function iI(e,t,n,r,a){if(rQ(t),null===t.stateNode){var o=n7,i=n.contextType;"object"==typeof i&&null!==i&&(o=rK(i)),t.memoizedState=null!==(o=new n(r,o)).state&&void 0!==o.state?o.state:null,o.updater=iu,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},aE(t),i=n.contextType,o.context="object"==typeof i&&null!==i?rK(i):n7,o.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(is(t,n,i,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(i=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),i!==o.state&&iu.enqueueReplaceState(o,o.state,null),aR(t,r,o,a),aN(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var l=t.memoizedProps,s=ip(n,l);o.props=s;var u=o.context,c=n.contextType;i=n7,"object"==typeof c&&null!==c&&(i=rK(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,l=t.pendingProps!==l,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(l||u!==i)&&id(t,o,r,i),aS=!1;var f=t.memoizedState;o.state=f,aR(t,r,o,a),aN(),u=t.memoizedState,l||f!==u||aS?("function"==typeof d&&(is(t,n,d,r),u=t.memoizedState),(s=aS||ic(t,n,s,r,f,u,i))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.context=i,r=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,aA(e,t),c=ip(n,i=t.memoizedProps),o.props=c,d=t.pendingProps,f=o.context,u=n.contextType,s=n7,"object"==typeof u&&null!==u&&(s=rK(u)),(u="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||f!==s)&&id(t,o,r,s),aS=!1,f=t.memoizedState,o.state=f,aR(t,r,o,a),aN();var p=t.memoizedState;i!==d||f!==p||aS||null!==e&&null!==e.dependencies&&rV(e.dependencies)?("function"==typeof l&&(is(t,n,l,r),p=t.memoizedState),(c=aS||ic(t,n,c,r,f,p,s)||null!==e&&null!==e.dependencies&&rV(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,s),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,s)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=s,r=c):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,iO(e,t),r=0!=(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=ak(t,e.child,null,a),t.child=ak(t,null,n,a)):iE(e,t,n,a),t.memoizedState=o.state,e=t.child):e=iQ(e,t,a),e}function iM(e,t,n,r){return rI(),t.flags|=256,iE(e,t,n,r),t.child}var iF={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function iz(e){return{baseLanes:e,cachePool:ar()}}function i$(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=lX),e}function iB(e,t,n){var r,a=t.pendingProps,o=!1,i=0!=(128&t.flags);if((r=i)||(r=(null===e||null!==e.memoizedState)&&0!=(2&aV.current)),r&&(o=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rT){if(o?aU(t):aG(t),(e=r_)?null!==(e=null!==(e=uR(e,rP))&&"&"!==e.data?e:null)&&(t.memoizedState={dehydrated:e,treeContext:null!==rb?{id:rv,overflow:rw}:null,retryLane:0x20000000,hydrationErrors:null},(n=rs(e)).return=t,t.child=n,rC=t,r_=null):e=null,null===e)throw rR(t);return uL(e)?t.lanes=32:t.lanes=0x20000000,null}var s=a.children;return(a=a.fallback,o)?(aG(t),s=iq({mode:"hidden",children:s},o=t.mode),a=ri(a,o,n,null),s.return=t,a.return=t,s.sibling=a,t.child=s,(a=t.child).memoizedState=iz(n),a.childLanes=i$(e,r,n),t.memoizedState=iF,ij(null,a)):(aU(t),iU(t,s))}var u=e.memoizedState;if(null!==u&&null!==(s=u.dehydrated)){if(i)256&t.flags?(aU(t),t.flags&=-257,t=iH(e,t,n)):null!==t.memoizedState?(aG(t),t.child=e.child,t.flags|=128,t=null):(aG(t),s=a.fallback,o=t.mode,a=iq({mode:"visible",children:a.children},o),s=ri(s,o,n,null),s.flags|=2,a.return=t,s.return=t,a.sibling=s,t.child=a,ak(t,e.child,null,n),(a=t.child).memoizedState=iz(n),a.childLanes=i$(e,r,n),t.memoizedState=iF,t=ij(null,a));else if(aU(t),uL(s)){if(r=s.nextSibling&&s.nextSibling.dataset)var c=r.dgst;r=c,(a=Error(l(419))).stack="",a.digest=r,rF({value:a,source:null,stack:null}),t=iH(e,t,n)}else if(iS||rW(e,t,n,!1),r=0!=(n&e.childLanes),iS||r){if(null!==(r=lz)&&0!==(a=eP(r,n))&&a!==u.retryLane)throw u.retryLane=a,n8(e,a),su(r,e,a),ix;uO(s)||sw(),t=iH(e,t,n)}else uO(s)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,r_=uD(s.nextSibling),rC=t,rT=!0,rj=null,rP=!1,null!==e&&rA(t,e),t=iU(t,a.children),t.flags|=4096);return t}return o?(aG(t),s=a.fallback,o=t.mode,c=(u=e.child).sibling,(a=rr(u,{mode:"hidden",children:a.children})).subtreeFlags=0x3e00000&u.subtreeFlags,null!==c?s=rr(c,s):(s=ri(s,o,n,null),s.flags|=2),s.return=t,a.return=t,a.sibling=s,t.child=a,ij(null,a),a=t.child,null===(s=e.child.memoizedState)?s=iz(n):(null!==(o=s.cachePool)?(u=r1._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=ar(),s={baseLanes:s.baseLanes|n,cachePool:o}),a.memoizedState=s,a.childLanes=i$(e,r,n),t.memoizedState=iF,ij(e.child,a)):(aU(t),e=(n=e.child).sibling,(n=rr(n,{mode:"visible",children:a.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function iU(e,t){return(t=iq({mode:"visible",children:t},e.mode)).return=e,e.child=t}function iq(e,t){return(e=rt(22,e,null,t)).lanes=0,e}function iH(e,t,n){return ak(t,e.child,null,n),e=iU(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function iG(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),rH(e.return,t,n)}function iW(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,treeForkCount:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.treeForkCount=o)}function iV(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;r=r.children;var i=aV.current,l=0!=(2&i);if(l?(i=1&i|2,t.flags|=128):i&=1,$(aV,i),iE(e,t,r,n),r=rT?rh:0,!l&&null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&iG(e,n,t);else if(19===e.tag)iG(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(a){case"forwards":for(a=null,n=t.child;null!==n;)null!==(e=n.alternate)&&null===aQ(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),iW(t,!1,a,n,o,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===aQ(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}iW(t,!0,n,null,o,r);break;case"together":iW(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function iQ(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lK|=t.lanes,0==(n&t.childLanes)){if(null===e)return null;else if(rW(e,t,n,!1),0==(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(l(153));if(null!==t.child){for(n=rr(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=rr(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function iK(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&rV(e))}function iY(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)iS=!0;else{if(!iK(e,n)&&0==(128&t.flags))return iS=!1,function(e,t,n){switch(t.tag){case 3:G(t,t.stateNode.containerInfo),rU(t,r1,e.memoizedState.cache),rI();break;case 27:case 5:V(t);break;case 4:G(t,t.stateNode.containerInfo);break;case 10:rU(t,t.type,t.memoizedProps.value);break;case 31:if(null!==t.memoizedState)return t.flags|=128,aq(t),null;break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return aU(t),t.flags|=128,null;if(0!=(n&t.child.childLanes))return iB(e,t,n);return aU(t),null!==(e=iQ(e,t,n))?e.sibling:null}aU(t);break;case 19:var a=0!=(128&e.flags);if((r=0!=(n&t.childLanes))||(rW(e,t,n,!1),r=0!=(n&t.childLanes)),a){if(r)return iV(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),$(aV,aV.current),!r)return null;break;case 22:return t.lanes=0,iT(e,t,n,t.pendingProps);case 24:rU(t,r1,e.memoizedState.cache)}return iQ(e,t,n)}(e,t,n);iS=0!=(131072&e.flags)}else iS=!1,rT&&0!=(1048576&t.flags)&&rx(t,rh,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ad(t.elementType),t.type=e,"function"==typeof e)rn(e)?(r=ip(e,r),t.tag=1,t=iI(null,t,e,r,n)):(t.tag=0,t=iL(null,t,e,r,n));else{if(null!=e){var a=e.$$typeof;if(a===x){t.tag=11,t=iA(null,t,e,r,n);break e}if(a===A){t.tag=14,t=iC(null,t,e,r,n);break e}}throw Error(l(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===N?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case y:return"Fragment";case v:return"Profiler";case b:return"StrictMode";case S:return"Suspense";case E:return"SuspenseList";case _:return"Activity"}if("object"==typeof t)switch(t.$$typeof){case g:return"Portal";case k:return t.displayName||"Context";case w:return(t._context.displayName||"Context")+".Consumer";case x:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case A:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case C:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}(e)||e,""))}}return t;case 0:return iL(e,t,t.type,t.pendingProps,n);case 1:return a=ip(r=t.type,t.pendingProps),iI(e,t,r,a,n);case 3:e:{if(G(t,t.stateNode.containerInfo),null===e)throw Error(l(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,aA(e,t),aR(t,r,null,n);var i=t.memoizedState;if(rU(t,r1,r=i.cache),r!==o.cache&&rG(t,[r1],n,!0),aN(),r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=iM(e,t,r,n);break e}else if(r!==a){rF(a=rd(Error(l(424)),t)),t=iM(e,t,r,n);break e}else for(r_=uD((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),rC=t,rT=!0,rj=null,rP=!0,n=ax(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling;else{if(rI(),r===a){t=iQ(e,t,n);break e}iE(e,t,r,n)}t=t.child}return t;case 26:return iO(e,t),null===e?(n=uV(t.type,null,t.pendingProps,null))?t.memoizedState=n:rT||(n=t.type,e=t.pendingProps,(r=ub(q.current).createElement(n))[eI]=t,r[eM]=e,um(r,n,e),eK(r),t.stateNode=r):t.memoizedState=uV(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return V(t),null===e&&rT&&(r=t.stateNode=uz(t.type,t.pendingProps,q.current),rC=t,rP=!0,a=r_,uT(t.type)?(uI=a,r_=uD(r.firstChild)):r_=a),iE(e,t,t.pendingProps.children,n),iO(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rT&&((a=r=r_)&&(null!==(r=function(e,t,n,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[eq])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(a=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||a!==n.rel||e.getAttribute("href")!==(null==n.href||""===n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((a=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&a&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var a=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===a)return e}if(null===(e=uD(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rP))?(t.stateNode=r,rC=t,r_=uD(r.firstChild),rP=!1,a=!0):a=!1),a||rR(t)),V(t),a=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,r=o.children,uk(a,o)?r=null:null!==i&&uk(a,i)&&(t.flags|=32),null!==t.memoizedState&&(cn._currentValue=a=a9(e,t,ot,null,null,n)),iO(e,t),iE(e,t,r,n),t.child;case 6:return null===e&&rT&&((e=n=r_)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n||null===(e=uD(e.nextSibling)))return null;return e}(n,t.pendingProps,rP))?(t.stateNode=n,rC=t,r_=null,e=!0):e=!1),e||rR(t)),null;case 13:return iB(e,t,n);case 4:return G(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ak(t,null,r,n):iE(e,t,r,n),t.child;case 11:return iA(e,t,t.type,t.pendingProps,n);case 7:return iE(e,t,t.pendingProps,n),t.child;case 8:case 12:return iE(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,rU(t,t.type,r.value),iE(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,rQ(t),r=r(a=rK(a)),t.flags|=1,iE(e,t,r,n),t.child;case 14:return iC(e,t,t.type,t.pendingProps,n);case 15:return i_(e,t,t.type,t.pendingProps,n);case 19:return iV(e,t,n);case 31:var s=e,u=t,c=n,d=u.pendingProps,f=0!=(128&u.flags);if(u.flags&=-129,null===s){if(rT){if("hidden"===d.mode)return s=iN(u,d),u.lanes=0x20000000,ij(null,s);if(aq(u),(s=r_)?null!==(s=null!==(s=uR(s,rP))&&"&"===s.data?s:null)&&(u.memoizedState={dehydrated:s,treeContext:null!==rb?{id:rv,overflow:rw}:null,retryLane:0x20000000,hydrationErrors:null},(c=rs(s)).return=u,u.child=c,rC=u,r_=null):s=null,null===s)throw rR(u);return u.lanes=0x20000000,null}return iN(u,d)}var p=s.memoizedState;if(null!==p){var m=p.dehydrated;if(aq(u),f)if(256&u.flags)u.flags&=-257,u=iR(s,u,c);else if(null!==u.memoizedState)u.child=s.child,u.flags|=128,u=null;else throw Error(l(558));else if(iS||rW(s,u,c,!1),f=0!=(c&s.childLanes),iS||f){if(null!==(d=lz)&&0!==(m=eP(d,c))&&m!==p.retryLane)throw p.retryLane=m,n8(s,m),su(d,s,m),ix;sw(),u=iR(s,u,c)}else s=p.treeContext,r_=uD(m.nextSibling),rC=u,rT=!0,rj=null,rP=!1,null!==s&&rA(u,s),u=iN(u,d),u.flags|=4096;return u}return(s=rr(s.child,{mode:d.mode,children:d.children})).ref=u.ref,u.child=s,s.return=u,s;case 22:return iT(e,t,n,t.pendingProps);case 24:return rQ(t),r=rK(r1),null===e?(null===(a=at())&&(a=lz,o=r2(),a.pooledCache=o,o.refCount++,null!==o&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},aE(t),rU(t,r1,a)):(0!=(e.lanes&n)&&(aA(e,t),aR(t,null,null,n),aN()),a=e.memoizedState,o=t.memoizedState,a.parent!==r?(a={parent:r,cache:r},t.memoizedState=a,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=a),rU(t,r1,r)):(rU(t,r1,r=o.cache),r!==a.cache&&rG(t,[r1],n,!0))),iE(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(l(156,t.tag))}function iZ(e){e.flags|=4}function iX(e,t,n,r,a){if((t=0!=(32&e.mode))&&(t=!1),t){if(e.flags|=0x1000000,(0x13ffff40&a)===a)if(e.stateNode.complete)e.flags|=8192;else if(sy())e.flags|=8192;else throw af=as,ao}else e.flags&=-0x1000001}function iJ(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!u8(t))if(sy())e.flags|=8192;else throw af=as,ao}function i0(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?eA():0x20000000,e.lanes|=t,lJ|=t)}function i1(e,t){if(!rT)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function i2(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=0x3e00000&a.subtreeFlags,r|=0x3e00000&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function i4(e,t){switch(rE(t),t.tag){case 3:rq(r1),W();break;case 26:case 27:case 5:Q(t);break;case 4:W();break;case 31:null!==t.memoizedState&&aW(t);break;case 13:aW(t);break;case 19:z(aV);break;case 10:rq(t.type);break;case 22:case 23:aW(t),az(),null!==e&&z(ae);break;case 24:rq(r1)}}function i3(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var a=r.next;n=a;do{if((n.tag&e)===e){r=void 0;var o=n.create;n.inst.destroy=r=o()}n=n.next}while(n!==a)}}catch(e){sD(t,t.return,e)}}function i5(e,t,n){try{var r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var o=a.next;r=o;do{if((r.tag&e)===e){var i=r.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,a=t;try{l()}catch(e){sD(a,n,e)}}}r=r.next}while(r!==o)}}catch(e){sD(t,t.return,e)}}function i8(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{aL(t,n)}catch(t){sD(e,e.return,t)}}}function i6(e,t,n){n.props=ip(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){sD(e,t,n)}}function i9(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(n){sD(e,t,n)}}function i7(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){sD(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){sD(e,t,n)}else n.current=null}function le(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){sD(e,e.return,t)}}function lt(e,t,n){try{var r=e.stateNode;(function(e,t,n,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,o=null,i=null,s=null,u=null,c=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&null!=f)switch(m){case"checked":case"value":break;case"defaultValue":u=f;default:r.hasOwnProperty(m)||uf(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(null!=m||null!=f))switch(p){case"type":o=m;break;case"name":a=m;break;case"checked":c=m;break;case"defaultChecked":d=m;break;case"value":i=m;break;case"defaultValue":s=m;break;case"children":case"dangerouslySetInnerHTML":if(null!=m)throw Error(l(137,t));break;default:m!==f&&uf(e,t,p,m,r,f)}}tr(e,i,s,u,c,d,o,a);return;case"select":for(o in m=i=s=p=null,n)if(u=n[o],n.hasOwnProperty(o)&&null!=u)switch(o){case"value":break;case"multiple":m=u;default:r.hasOwnProperty(o)||uf(e,t,o,null,r,u)}for(a in r)if(o=r[a],u=n[a],r.hasOwnProperty(a)&&(null!=o||null!=u))switch(a){case"value":p=o;break;case"defaultValue":s=o;break;case"multiple":i=o;default:o!==u&&uf(e,t,a,o,r,u)}t=s,n=i,r=m,null!=p?ti(e,!!n,p,!1):!!r!=!!n&&(null!=t?ti(e,!!n,t,!0):ti(e,!!n,n?[]:"",!1));return;case"textarea":for(s in m=p=null,n)if(a=n[s],n.hasOwnProperty(s)&&null!=a&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:uf(e,t,s,null,r,a)}for(i in r)if(a=r[i],o=n[i],r.hasOwnProperty(i)&&(null!=a||null!=o))switch(i){case"value":p=a;break;case"defaultValue":m=a;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=a)throw Error(l(91));break;default:a!==o&&uf(e,t,i,a,r,o)}tl(e,p,m);return;case"option":for(var h in n)p=n[h],n.hasOwnProperty(h)&&null!=p&&!r.hasOwnProperty(h)&&("selected"===h?e.selected=!1:uf(e,t,h,null,r,p));for(u in r)p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(null!=p||null!=m)&&("selected"===u?e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p:uf(e,t,u,p,r,m));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!r.hasOwnProperty(g)&&uf(e,t,g,null,r,p);for(c in r)if(p=r[c],m=n[c],r.hasOwnProperty(c)&&p!==m&&(null!=p||null!=m))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(l(137,t));break;default:uf(e,t,c,p,r,m)}return;default:if(tp(t)){for(var y in n)p=n[y],n.hasOwnProperty(y)&&void 0!==p&&!r.hasOwnProperty(y)&&up(e,t,y,void 0,r,p);for(d in r)p=r[d],m=n[d],r.hasOwnProperty(d)&&p!==m&&(void 0!==p||void 0!==m)&&up(e,t,d,p,r,m);return}}for(var b in n)p=n[b],n.hasOwnProperty(b)&&null!=p&&!r.hasOwnProperty(b)&&uf(e,t,b,null,r,p);for(f in r)p=r[f],m=n[f],r.hasOwnProperty(f)&&p!==m&&(null!=p||null!=m)&&uf(e,t,f,p,r,m)})(r,e.type,n,t),r[eM]=t}catch(t){sD(e,e.return,t)}}function ln(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&uT(e.type)||4===e.tag}function lr(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ln(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&uT(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function la(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&uT(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(la(e,t,n),e=e.sibling;null!==e;)la(e,t,n),e=e.sibling}function lo(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);um(t,r,n),t[eI]=e,t[eM]=n}catch(t){sD(e,e.return,t)}}var li=!1,ll=!1,ls=!1,lu="function"==typeof WeakSet?WeakSet:Set,lc=null;function ld(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:lS(e,n),4&r&&i3(5,n);break;case 1:if(lS(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){sD(n,n.return,e)}else{var a=ip(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){sD(n,n.return,e)}}64&r&&i8(n),512&r&&i9(n,n.return);break;case 3:if(lS(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{aL(e,t)}catch(e){sD(n,n.return,e)}}break;case 27:null===t&&4&r&&lo(n);case 26:case 5:lS(e,n),null===t&&4&r&&le(n),512&r&&i9(n,n.return);break;case 12:default:lS(e,n);break;case 31:lS(e,n),4&r&&lg(e,n);break;case 13:lS(e,n),4&r&&ly(e,n),64&r&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$~"===e.data)e._reactRetry=t;else if("$?"!==e.data||"loading"!==n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=sz.bind(null,n));break;case 22:if(!(r=null!==n.memoizedState||li)){t=null!==t&&null!==t.memoizedState||ll,a=li;var o=ll;li=r,(ll=t)&&!o?function e(t,n,r){for(r=r&&0!=(8772&n.subtreeFlags),n=n.child;null!==n;){var a=n.alternate,o=t,i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(o,i,r),i3(4,i);break;case 1:if(e(o,i,r),"function"==typeof(o=(a=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){sD(a,a.return,e)}if(null!==(o=(a=i).updateQueue)){var s=a.stateNode;try{var u=o.shared.hiddenCallbacks;if(null!==u)for(o.shared.hiddenCallbacks=null,o=0;o<u.length;o++)aO(u[o],s)}catch(e){sD(a,a.return,e)}}r&&64&l&&i8(i),i9(i,i.return);break;case 27:lo(i);case 26:case 5:e(o,i,r),r&&null===a&&4&l&&le(i),i9(i,i.return);break;case 12:default:e(o,i,r);break;case 31:e(o,i,r),r&&4&l&&lg(o,i);break;case 13:e(o,i,r),r&&4&l&&ly(o,i);break;case 22:null===i.memoizedState&&e(o,i,r),i9(i,i.return);case 30:}n=n.sibling}}(e,n,0!=(8772&n.subtreeFlags)):lS(e,n),li=a,ll=o}case 30:}}var lf=null,lp=!1;function lm(e,t,n){for(n=n.child;null!==n;)lh(e,t,n),n=n.sibling}function lh(e,t,n){if(em&&"function"==typeof em.onCommitFiberUnmount)try{em.onCommitFiberUnmount(ep,n)}catch(e){}switch(n.tag){case 26:ll||i7(n,t),lm(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:ll||i7(n,t);var r=lf,a=lp;uT(n.type)&&(lf=n.stateNode,lp=!1),lm(e,t,n),u$(n.stateNode),lf=r,lp=a;break;case 5:ll||i7(n,t);case 6:if(r=lf,a=lp,lf=null,lm(e,t,n),lf=r,lp=a,null!==lf)if(lp)try{(9===lf.nodeType?lf.body:"HTML"===lf.nodeName?lf.ownerDocument.body:lf).removeChild(n.stateNode)}catch(e){sD(n,t,e)}else try{lf.removeChild(n.stateNode)}catch(e){sD(n,t,e)}break;case 18:null!==lf&&(lp?(uj(9===(e=lf).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),cD(e)):uj(lf,n.stateNode));break;case 4:r=lf,a=lp,lf=n.stateNode.containerInfo,lp=!0,lm(e,t,n),lf=r,lp=a;break;case 0:case 11:case 14:case 15:i5(2,n,t),ll||i5(4,n,t),lm(e,t,n);break;case 1:ll||(i7(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&i6(n,t,r)),lm(e,t,n);break;case 21:default:lm(e,t,n);break;case 22:ll=(r=ll)||null!==n.memoizedState,lm(e,t,n),ll=r}}function lg(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)){e=e.dehydrated;try{cD(e)}catch(e){sD(t,t.return,e)}}}function ly(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{cD(e)}catch(e){sD(t,t.return,e)}}function lb(e,t){var n=function(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new lu),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new lu),t;default:throw Error(l(435,e.tag))}}(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=s$.bind(null,e,t);t.then(r,r)}})}function lv(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r],o=e,i=t,s=i;e:for(;null!==s;){switch(s.tag){case 27:if(uT(s.type)){lf=s.stateNode,lp=!1;break e}break;case 5:lf=s.stateNode,lp=!1;break e;case 3:case 4:lf=s.stateNode.containerInfo,lp=!0;break e}s=s.return}if(null===lf)throw Error(l(160));lh(o,i,a),lf=null,lp=!1,null!==(o=a.alternate)&&(o.return=null),a.return=null}if(13886&t.subtreeFlags)for(t=t.child;null!==t;)lk(t,e),t=t.sibling}var lw=null;function lk(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:lv(t,e),lx(e),4&r&&(i5(3,e,e.return),i3(3,e),i5(5,e,e.return));break;case 1:lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),64&r&&li&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var a=lw;if(lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),4&r){var o=null!==n?n.memoizedState:null;if(r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;t:switch(r){case"title":(!(o=a.getElementsByTagName("title")[0])||o[eq]||o[eI]||"http://www.w3.org/2000/svg"===o.namespaceURI||o.hasAttribute("itemprop"))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector("head > title"))),um(o,r,n),o[eI]=e,eK(o),r=o;break e;case"link":var i=u3("link","href",a).get(r+(n.href||""));if(i){for(var s=0;s<i.length;s++)if((o=i[s]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){i.splice(s,1);break t}}um(o=a.createElement(r),r,n),a.head.appendChild(o);break;case"meta":if(i=u3("meta","content",a).get(r+(n.content||""))){for(s=0;s<i.length;s++)if((o=i[s]).getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){i.splice(s,1);break t}}um(o=a.createElement(r),r,n),a.head.appendChild(o);break;default:throw Error(l(468,r))}o[eI]=e,eK(o),r=o}e.stateNode=r}else u5(a,e.type,e.stateNode);else e.stateNode=uJ(a,r,e.memoizedProps);else o!==r?(null===o?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):o.count--,null===r?u5(a,e.type,e.stateNode):uJ(a,r,e.memoizedProps)):null===r&&null!==e.stateNode&&lt(e,e.memoizedProps,n.memoizedProps)}break;case 27:lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),null!==n&&4&r&&lt(e,e.memoizedProps,n.memoizedProps);break;case 5:if(lv(t,e),lx(e),512&r&&(ll||null===n||i7(n,n.return)),32&e.flags){a=e.stateNode;try{tu(a,"")}catch(t){sD(e,e.return,t)}}4&r&&null!=e.stateNode&&(a=e.memoizedProps,lt(e,a,null!==n?n.memoizedProps:a)),1024&r&&(ls=!0);break;case 6:if(lv(t,e),lx(e),4&r){if(null===e.stateNode)throw Error(l(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){sD(e,e.return,t)}}break;case 3:if(u4=null,a=lw,lw=uq(t.containerInfo),lv(t,e),lw=a,lx(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{cD(t.containerInfo)}catch(t){sD(e,e.return,t)}ls&&(ls=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var n=t;e(n),5===n.tag&&1024&n.flags&&n.stateNode.reset(),t=t.sibling}}(e));break;case 4:r=lw,lw=uq(e.stateNode.containerInfo),lv(t,e),lx(e),lw=r;break;case 12:default:lv(t,e),lx(e);break;case 31:case 19:lv(t,e),lx(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,lb(e,r));break;case 13:lv(t,e),lx(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(l4=ea()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,lb(e,r));break;case 22:a=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=li,d=ll;if(li=c||a,ll=d||u,lv(t,e),ll=d,li=c,lx(e),8192&r)e:for((t=e.stateNode)._visibility=a?-2&t._visibility:1|t._visibility,a&&(null===n||u||li||ll||function e(t){for(t=t.child;null!==t;){var n=t;switch(n.tag){case 0:case 11:case 14:case 15:i5(4,n,n.return),e(n);break;case 1:i7(n,n.return);var r=n.stateNode;"function"==typeof r.componentWillUnmount&&i6(n,n.return,r),e(n);break;case 27:u$(n.stateNode);case 26:case 5:i7(n,n.return),e(n);break;case 22:null===n.memoizedState&&e(n);break;default:e(n)}t=t.sibling}}(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(o=u.stateNode,a)i=o.style,"function"==typeof i.setProperty?i.setProperty("display","none","important"):i.display="none";else{s=u.stateNode;var f=u.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;s.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){sD(u,u.return,e)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=a?"":u.memoizedProps}catch(e){sD(u,u.return,e)}}}else if(18===t.tag){if(null===n){u=t;try{var m=u.stateNode;a?uP(m,!0):uP(u.stateNode,!1)}catch(e){sD(u,u.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,lb(e,n));case 30:case 21:}}function lx(e){var t=e.flags;if(2&t){try{for(var n,r=e.return;null!==r;){if(ln(r)){n=r;break}r=r.return}if(null==n)throw Error(l(160));switch(n.tag){case 27:var a=n.stateNode,o=lr(e);la(e,o,a);break;case 5:var i=n.stateNode;32&n.flags&&(tu(i,""),n.flags&=-33);var s=lr(e);la(e,s,i);break;case 3:case 4:var u=n.stateNode.containerInfo,c=lr(e);!function e(t,n,r){var a=t.tag;if(5===a||6===a)t=t.stateNode,n?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(t,n):((n=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(t),null!=(r=r._reactRootContainer)||null!==n.onclick||(n.onclick=ty));else if(4!==a&&(27===a&&uT(t.type)&&(r=t.stateNode,n=null),null!==(t=t.child)))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,c,u);break;default:throw Error(l(161))}}catch(t){sD(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function lS(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)ld(e,t.alternate,t),t=t.sibling}function lE(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&r4(n))}function lA(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e))}function lC(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)l_(e,t,n,r),t=t.sibling}function l_(e,t,n,r){var a=t.flags;switch(t.tag){case 0:case 11:case 15:lC(e,t,n,r),2048&a&&i3(9,t);break;case 1:case 31:case 13:default:lC(e,t,n,r);break;case 3:lC(e,t,n,r),2048&a&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&r4(e)));break;case 12:if(2048&a){lC(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,i=o.id,l=o.onPostCommit;"function"==typeof l&&l(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){sD(t,t.return,e)}}else lC(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,i=t.alternate,null!==t.memoizedState?2&o._visibility?lC(e,t,n,r):lT(e,t):2&o._visibility?lC(e,t,n,r):(o._visibility|=2,function e(t,n,r,a,o){for(o=o&&0!=(10256&n.subtreeFlags),n=n.child;null!==n;){var i=n,l=i.flags;switch(i.tag){case 0:case 11:case 15:e(t,i,r,a,o),i3(8,i);break;case 23:break;case 22:var s=i.stateNode;null!==i.memoizedState?2&s._visibility?e(t,i,r,a,o):lT(t,i):(s._visibility|=2,e(t,i,r,a,o)),o&&2048&l&&lE(i.alternate,i);break;case 24:e(t,i,r,a,o),o&&2048&l&&lA(i.alternate,i);break;default:e(t,i,r,a,o)}n=n.sibling}}(e,t,n,r,0!=(10256&t.subtreeFlags))),2048&a&&lE(i,t);break;case 24:lC(e,t,n,r),2048&a&&lA(t.alternate,t)}}function lT(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=t,r=n.flags;switch(n.tag){case 22:lT(e,n),2048&r&&lE(n.alternate,n);break;case 24:lT(e,n),2048&r&&lA(n.alternate,n);break;default:lT(e,n)}t=t.sibling}}var lj=8192;function lP(e,t,n){if(e.subtreeFlags&lj)for(e=e.child;null!==e;)lN(e,t,n),e=e.sibling}function lN(e,t,n){switch(e.tag){case 26:lP(e,t,n),e.flags&lj&&null!==e.memoizedState&&function(e,t,n,r){if("stylesheet"===n.type&&("string"!=typeof r.media||!1!==matchMedia(r.media).matches)&&0==(4&n.state.loading)){if(null===n.instance){var a=uQ(r.href),o=t.querySelector(uK(a));if(o){null!==(t=o._p)&&"object"==typeof t&&"function"==typeof t.then&&(e.count++,e=u9.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,eK(o);return}o=t.ownerDocument||t,r=uY(r),(a=uB.get(a))&&u1(r,a),eK(o=o.createElement("link"));var i=o;i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),um(o,"link",r),n.instance=o}null===e.stylesheets&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&0==(3&n.state.loading)&&(e.count++,n=u9.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}(n,lw,e.memoizedState,e.memoizedProps);break;case 5:default:lP(e,t,n);break;case 3:case 4:var r=lw;lw=uq(e.stateNode.containerInfo),lP(e,t,n),lw=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=lj,lj=0x1000000,lP(e,t,n),lj=r):lP(e,t,n))}}function lR(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function lO(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];lc=r,lD(r,e)}lR(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)lL(e),e=e.sibling}function lL(e){switch(e.tag){case 0:case 11:case 15:lO(e),2048&e.flags&&i5(9,e,e.return);break;case 3:case 12:default:lO(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var n=t.deletions;if(0!=(16&t.flags)){if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];lc=a,lD(a,t)}lR(t)}for(t=t.child;null!==t;){switch((n=t).tag){case 0:case 11:case 15:i5(8,n,n.return),e(n);break;case 22:2&(r=n.stateNode)._visibility&&(r._visibility&=-3,e(n));break;default:e(n)}t=t.sibling}}(e)):lO(e)}}function lD(e,t){for(;null!==lc;){var n=lc;switch(n.tag){case 0:case 11:case 15:i5(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:r4(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,lc=r;else for(n=e;null!==lc;){var a=(r=lc).sibling,o=r.return;if(!function e(t){var n=t.alternate;null!==n&&(t.alternate=null,e(n)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(n=t.stateNode)&&eH(n),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===n){lc=null;break}if(null!==a){a.return=o,lc=a;break}lc=o}}}var lI={getCacheForType:function(e){var t=rK(r1),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return rK(r1).controller.signal}},lM="function"==typeof WeakMap?WeakMap:Map,lF=0,lz=null,l$=null,lB=0,lU=0,lq=null,lH=!1,lG=!1,lW=!1,lV=0,lQ=0,lK=0,lY=0,lZ=0,lX=0,lJ=0,l0=null,l1=null,l2=!1,l4=0,l3=0,l5=1/0,l8=null,l6=null,l9=0,l7=null,se=null,st=0,sn=0,sr=null,sa=null,so=0,si=null;function sl(){return 0!=(2&lF)&&0!==lB?lB&-lB:null!==O.T?s0():eO()}function ss(){if(0===lX)if(0==(0x20000000&lB)||rT){var e=ew;0==(3932160&(ew<<=1))&&(ew=262144),lX=e}else lX=0x20000000;return null!==(e=a$.current)&&(e.flags|=32),lX}function su(e,t,n){(e===lz&&(2===lU||9===lU)||null!==e.cancelPendingCommit)&&(sh(e,0),sf(e,lB,lX,!1)),e_(e,n),(0==(2&lF)||e!==lz)&&(e===lz&&(0==(2&lF)&&(lY|=n),4===lQ&&sf(e,lB,lX,!1)),sV(e))}function sc(e,t,n){if(0!=(6&lF))throw Error(l(327));for(var r=!n&&0==(127&t)&&0==(t&e.expiredLanes)||eE(e,t),a=r?function(e,t){var n=lF;lF|=2;var r=sb(),a=sv();lz!==e||lB!==t?(l8=null,l5=ea()+500,sh(e,t)):lG=eE(e,t);e:for(;;)try{if(0!==lU&&null!==l$){t=l$;var o=lq;t:switch(lU){case 1:lU=0,lq=null,sE(e,t,o,1);break;case 2:case 9:if(au(o)){lU=0,lq=null,sS(t);break}t=function(){2!==lU&&9!==lU||lz!==e||(lU=7),sV(e)},o.then(t,t);break e;case 3:lU=7;break e;case 4:lU=5;break e;case 7:au(o)?(lU=0,lq=null,sS(t)):(lU=0,lq=null,sE(e,t,o,7));break;case 5:var i=null;switch(l$.tag){case 26:i=l$.memoizedState;case 5:case 27:var s=l$;if(i?u8(i):s.stateNode.complete){lU=0,lq=null;var u=s.sibling;if(null!==u)l$=u;else{var c=s.return;null!==c?(l$=c,sA(c)):l$=null}break t}}lU=0,lq=null,sE(e,t,o,5);break;case 6:lU=0,lq=null,sE(e,t,o,6);break;case 8:sm(),lQ=6;break e;default:throw Error(l(462))}}for(;null!==l$&&!en();)sx(l$);break}catch(t){sg(e,t)}return(rB=r$=null,O.H=r,O.A=a,lF=n,null!==l$)?0:(lz=null,lB=0,n4(),lQ)}(e,t):sk(e,t,!0),o=r;;){if(0===a)lG&&!r&&sf(e,t,0,!1);else{if(n=e.current.alternate,o&&!function(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!nC(o(),a))return!1}catch(e){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(n)){a=sk(e,t,!1),o=!1;continue}if(2===a){if(o=t,e.errorRecoveryDisabledLanes&o)var i=0;else i=0!=(i=-0x20000001&e.pendingLanes)?i:0x20000000&i?0x20000000:0;if(0!==i){t=i;e:{a=l0;var s=e.current.memoizedState.isDehydrated;if(s&&(sh(e,i).flags|=256),2!==(i=sk(e,i,!1))){if(lW&&!s){e.errorRecoveryDisabledLanes|=o,lY|=o,a=4;break e}o=l1,l1=a,null!==o&&(null===l1?l1=o:l1.push.apply(l1,o))}a=i}if(o=!1,2!==a)continue}}if(1===a){sh(e,0),sf(e,t,0,!0);break}e:{switch(r=e,o=a){case 0:case 1:throw Error(l(345));case 4:if((4194048&t)!==t)break;case 6:sf(r,t,lX,!lH);break e;case 2:l1=null;break;case 3:case 5:break;default:throw Error(l(329))}if((0x3c00000&t)===t&&10<(a=l4+300-ea())){if(sf(r,t,lX,!lH),0!==eS(r,0,!0))break e;st=t,r.timeoutHandle=uS(sd.bind(null,r,n,l1,l8,l2,t,lX,lY,lJ,lH,o,"Throttled",-0,0),a);break e}sd(r,n,l1,l8,l2,t,lX,lY,lJ,lH,o,null,-0,0)}}break}sV(e)}function sd(e,t,n,r,a,o,i,l,s,u,c,d,f,p){if(e.timeoutHandle=-1,8192&(d=t.subtreeFlags)||0x1002000==(0x1002000&d)){lN(t,o,d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ty});var m,h,g=(0x3c00000&o)===o?l4-ea():(4194048&o)===o?l3-ea():0;if(null!==(m=d,h=g,m.stylesheets&&0===m.count&&ce(m,m.stylesheets),g=0<m.count||0<m.imgCount?function(e){var t=setTimeout(function(){if(m.stylesheets&&ce(m,m.stylesheets),m.unsuspend){var e=m.unsuspend;m.unsuspend=null,e()}},6e4+h);0<m.imgBytes&&0===u6&&(u6=62500*function(){if("function"==typeof performance.getEntriesByType){for(var e=0,t=0,n=performance.getEntriesByType("resource"),r=0;r<n.length;r++){var a=n[r],o=a.transferSize,i=a.initiatorType,l=a.duration;if(o&&l&&uh(i)){for(i=0,l=a.responseEnd,r+=1;r<n.length;r++){var s=n[r],u=s.startTime;if(u>l)break;var c=s.transferSize,d=s.initiatorType;c&&uh(d)&&(i+=c*((s=s.responseEnd)<l?1:(l-u)/(s-u)))}if(--r,t+=8*(o+i)/(a.duration/1e3),10<++e)break}}if(0<e)return t/e/1e6}return navigator.connection&&"number"==typeof(e=navigator.connection.downlink)?e:5}());var n=setTimeout(function(){if(m.waitingForImages=!1,0===m.count&&(m.stylesheets&&ce(m,m.stylesheets),m.unsuspend)){var e=m.unsuspend;m.unsuspend=null,e()}},(m.imgBytes>u6?50:800)+h);return m.unsuspend=e,function(){m.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null)){st=o,e.cancelPendingCommit=g(s_.bind(null,e,t,o,n,r,a,i,l,s,c,d,null,f,p)),sf(e,o,i,!u);return}}s_(e,t,o,n,r,a,i,l,s)}function sf(e,t,n,r){t&=~lZ,t&=~lY,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var a=t;0<a;){var o=31-eg(a),i=1<<o;r[o]=-1,a&=~i}0!==n&&eT(e,n,t)}function sp(){return 0!=(6&lF)||(sQ(0,!1),!1)}function sm(){if(null!==l$){if(0===lU)var e=l$.return;else e=l$,rB=r$=null,oa(e),ah=null,ag=0,e=l$;for(;null!==e;)i4(e.alternate,e),e=e.return;l$=null}}function sh(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,uE(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),st=0,sm(),lz=e,l$=n=rr(e.current,null),lB=t,lU=0,lq=null,lH=!1,lG=eE(e,t),lW=!1,lJ=lX=lZ=lY=lK=lQ=0,l1=l0=null,l2=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var a=31-eg(r),o=1<<a;t|=e[a],r&=~o}return lV=t,n4(),n}function sg(e,t){aY=null,O.H=ia,t===aa||t===al?(t=ap(),lU=3):t===ao?(t=ap(),lU=4):lU=t===ix?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,lq=t,null===l$&&(lQ=1,iy(e,rd(t,e.current)))}function sy(){var e=a$.current;return null===e||((4194048&lB)===lB?null===aB:((0x3c00000&lB)===lB||0!=(0x20000000&lB))&&e===aB)}function sb(){var e=O.H;return O.H=ia,null===e?ia:e}function sv(){var e=O.A;return O.A=lI,e}function sw(){lQ=4,lH||(4194048&lB)!==lB&&null!==a$.current||(lG=!0),0==(0x7ffffff&lK)&&0==(0x7ffffff&lY)||null===lz||sf(lz,lB,lX,!1)}function sk(e,t,n){var r=lF;lF|=2;var a=sb(),o=sv();(lz!==e||lB!==t)&&(l8=null,sh(e,t)),t=!1;var i=lQ;e:for(;;)try{if(0!==lU&&null!==l$){var l=l$,s=lq;switch(lU){case 8:sm(),i=6;break e;case 3:case 2:case 9:case 6:null===a$.current&&(t=!0);var u=lU;if(lU=0,lq=null,sE(e,l,s,u),n&&lG){i=0;break e}break;default:u=lU,lU=0,lq=null,sE(e,l,s,u)}}(function(){for(;null!==l$;)sx(l$)})(),i=lQ;break}catch(t){sg(e,t)}return t&&e.shellSuspendCounter++,rB=r$=null,lF=r,O.H=a,O.A=o,null===l$&&(lz=null,lB=0,n4()),i}function sx(e){var t=iY(e.alternate,e,lV);e.memoizedProps=e.pendingProps,null===t?sA(e):l$=t}function sS(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=iD(n,t,t.pendingProps,t.type,void 0,lB);break;case 11:t=iD(n,t,t.pendingProps,t.type.render,t.ref,lB);break;case 5:oa(t);default:i4(n,t),t=iY(n,t=l$=ra(t,lV),lV)}e.memoizedProps=e.pendingProps,null===t?sA(e):l$=t}function sE(e,t,n,r){rB=r$=null,oa(t),ah=null,ag=0;var a=t.return;try{if(function(e,t,n,r,a){if(n.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&rW(t,n,a,!0),null!==(n=a$.current)){switch(n.tag){case 31:case 13:return null===aB?sw():null===n.alternate&&0===lQ&&(lQ=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===as?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),sI(e,r,a)),!1;case 22:return n.flags|=65536,r===as?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),sI(e,r,a)),!1}throw Error(l(435,n.tag))}return sI(e,r,a),sw(),!1}if(rT)return null!==(t=a$.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==rN&&rF(rd(e=Error(l(422),{cause:r}),n))):(r!==rN&&rF(rd(t=Error(l(423),{cause:r}),n)),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=rd(r,n),a=iv(e.stateNode,r,a),aj(e,a),4!==lQ&&(lQ=2)),!1;var o=Error(l(520),{cause:r});if(o=rd(o,n),null===l0?l0=[o]:l0.push(o),4!==lQ&&(lQ=2),null===t)return!0;r=rd(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=iv(n.stateNode,r,e),aj(n,e),!1;case 1:if(t=n.type,o=n.stateNode,0==(128&n.flags)&&("function"==typeof t.getDerivedStateFromError||null!==o&&"function"==typeof o.componentDidCatch&&(null===l6||!l6.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,ik(a=iw(a),e,n,r),aj(n,a),!1}n=n.return}while(null!==n)return!1}(e,a,t,n,lB)){lQ=1,iy(e,rd(n,e.current)),l$=null;return}}catch(t){if(null!==a)throw l$=a,t;lQ=1,iy(e,rd(n,e.current)),l$=null;return}32768&t.flags?(rT||1===r?e=!0:lG||0!=(0x20000000&lB)?e=!1:(lH=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=a$.current)&&13===r.tag&&(r.flags|=16384)),sC(t,e)):sA(t)}function sA(e){var t=e;do{if(0!=(32768&t.flags))return void sC(t,lH);e=t.return;var n=function(e,t,n){var r=t.pendingProps;switch(rE(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return i2(t),null;case 3:return n=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),rq(r1),W(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===e||null===e.child)&&(rD(t)?iZ(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,rM())),i2(t),null;case 26:var a=t.type,o=t.memoizedState;return null===e?(iZ(t),null!==o?(i2(t),iJ(t,o)):(i2(t),iX(t,a,null,r,n))):o?o!==e.memoizedState?(iZ(t),i2(t),iJ(t,o)):(i2(t),t.flags&=-0x1000001):((e=e.memoizedProps)!==r&&iZ(t),i2(t),iX(t,a,e,r,n)),null;case 27:if(Q(t),n=q.current,a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return i2(t),null}e=B.current,rD(t)?rO(t,e):(t.stateNode=e=uz(a,r,n),iZ(t))}return i2(t),null;case 5:if(Q(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if(!r){if(null===t.stateNode)throw Error(l(166));return i2(t),null}if(o=B.current,rD(t))rO(t,o);else{var i=ub(q.current);switch(o){case 1:o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":o=i.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":o=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(o=i.createElement("div")).innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o="string"==typeof r.is?i.createElement("select",{is:r.is}):i.createElement("select"),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o="string"==typeof r.is?i.createElement(a,{is:r.is}):i.createElement(a)}}o[eI]=t,o[eM]=r;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)o.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(t.stateNode=o,um(o,a,r),a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&iZ(t)}}return i2(t),iX(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&iZ(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(l(166));if(e=q.current,rD(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,null!==(a=rC))switch(a.tag){case 27:case 5:r=a.memoizedProps}e[eI]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||ud(e.nodeValue,n)))||rR(t,!0)}else(e=ub(e).createTextNode(r))[eI]=t,t.stateNode=e}return i2(t),null;case 31:if(n=t.memoizedState,null===e||null!==e.memoizedState){if(r=rD(t),null!==n){if(null===e){if(!r)throw Error(l(318));if(!(e=null!==(e=t.memoizedState)?e.dehydrated:null))throw Error(l(557));e[eI]=t}else rI(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i2(t),e=!1}else n=rM(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e){if(256&t.flags)return aW(t),t;return aW(t),null}if(0!=(128&t.flags))throw Error(l(558))}return i2(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(a=rD(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(l(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(l(317));a[eI]=t}else rI(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;i2(t),a=!1}else a=rM(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a){if(256&t.flags)return aW(t),t;return aW(t),null}}if(aW(t),0!=(128&t.flags))return t.lanes=n,t;return n=null!==r,e=null!==e&&null!==e.memoizedState,n&&(r=t.child,a=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(a=r.alternate.memoizedState.cachePool.pool),o=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),i0(t,t.updateQueue),i2(t),null;case 4:return W(),null===e&&ut(t.stateNode.containerInfo),i2(t),null;case 10:return rq(t.type),i2(t),null;case 19:if(z(aV),null===(r=t.memoizedState))return i2(t),null;if(a=0!=(128&t.flags),null===(o=r.rendering))if(a)i1(r,!1);else{if(0!==lQ||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(o=aQ(e))){for(t.flags|=128,i1(r,!1),t.updateQueue=e=o.updateQueue,i0(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)ra(n,e),n=n.sibling;return $(aV,1&aV.current|2),rT&&rk(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&ea()>l5&&(t.flags|=128,a=!0,i1(r,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=aQ(o))){if(t.flags|=128,a=!0,t.updateQueue=e=e.updateQueue,i0(t,e),i1(r,!0),null===r.tail&&"hidden"===r.tailMode&&!o.alternate&&!rT)return i2(t),null}else 2*ea()-r.renderingStartTime>l5&&0x20000000!==n&&(t.flags|=128,a=!0,i1(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(null!==(e=r.last)?e.sibling=o:t.child=o,r.last=o)}if(null!==r.tail)return e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=ea(),e.sibling=null,n=aV.current,$(aV,a?1&n|2:1&n),rT&&rk(t,r.treeForkCount),e;return i2(t),null;case 22:case 23:return aW(t),az(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&n)&&0==(128&t.flags)&&(i2(t),6&t.subtreeFlags&&(t.flags|=8192)):i2(t),null!==(n=t.updateQueue)&&i0(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),null!==e&&z(ae),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),rq(r1),i2(t),null;case 25:case 30:return null}throw Error(l(156,t.tag))}(t.alternate,t,lV);if(null!==n){l$=n;return}if(null!==(t=t.sibling)){l$=t;return}l$=t=e}while(null!==t)0===lQ&&(lQ=5)}function sC(e,t){do{var n=function(e,t){switch(rE(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return rq(r1),W(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Q(t),null;case 31:if(null!==t.memoizedState){if(aW(t),null===t.alternate)throw Error(l(340));rI()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 13:if(aW(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(l(340));rI()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return z(aV),null;case 4:return W(),null;case 10:return rq(t.type),null;case 22:case 23:return aW(t),az(),null!==e&&z(ae),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return rq(r1),null;default:return null}}(e.alternate,e);if(null!==n){n.flags&=32767,l$=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){l$=e;return}l$=e=n}while(null!==e)lQ=6,l$=null}function s_(e,t,n,r,a,o,i,s,u){e.cancelPendingCommit=null;do sR();while(0!==l9)if(0!=(6&lF))throw Error(l(327));if(null!==t){if(t===e.current)throw Error(l(177));if(!function(e,t,n,r,a,o){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,u=e.hiddenUpdates;for(n=i&~n;0<n;){var c=31-eg(n),d=1<<c;l[c]=0,s[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-0x20000001)}n&=~d}0!==r&&eT(e,r,0),0!==o&&0===a&&0!==e.tag&&(e.suspendedLanes|=o&~(i&~t))}(e,n,o=t.lanes|t.childLanes|n2,i,s,u),e===lz&&(l$=lz=null,lB=0),se=t,l7=e,st=n,sn=o,sr=a,sa=r,0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?(e.callbackNode=null,e.callbackPriority=0,ee(es,function(){return sO(),null})):(e.callbackNode=null,e.callbackPriority=0),r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=O.T,O.T=null,a=L.p,L.p=2,i=lF,lF|=4;try{!function(e,t){if(e=e.containerInfo,ug=cc,nN(e=nP(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a,o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var s=0,u=-1,c=-1,d=0,f=0,p=e,m=null;t:for(;;){for(;p!==n||0!==o&&3!==p.nodeType||(u=s+o),p!==i||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(a=p.firstChild);)m=p,p=a;for(;;){if(p===e)break t;if(m===n&&++d===o&&(u=s),m===i&&++f===r&&(c=s),null!==(a=p.nextSibling))break;m=(p=m).parentNode}p=a}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(uy={focusedElem:e,selectionRange:n},cc=!1,lc=t;null!==lc;)if(e=(t=lc).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,lc=e;else for(;null!==lc;){switch(i=(t=lc).alternate,e=t.flags,t.tag){case 0:if(0!=(4&e)&&null!==(e=null!==(e=t.updateQueue)?e.events:null))for(n=0;n<e.length;n++)(o=e[n]).ref.impl=o.nextImpl;break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&e)&&null!==i){e=void 0,n=t,o=i.memoizedProps,i=i.memoizedState,r=n.stateNode;try{var h=ip(n.type,o);e=r.getSnapshotBeforeUpdate(h,i),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){sD(n,n.return,e)}}break;case 3:if(0!=(1024&e)){if(9===(n=(e=t.stateNode.containerInfo).nodeType))uN(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":uN(e);break;default:e.textContent=""}}break;default:if(0!=(1024&e))throw Error(l(163))}if(null!==(e=t.sibling)){e.return=t.return,lc=e;break}lc=t.return}}(e,t)}finally{lF=i,L.p=a,O.T=r}}l9=1,sT(),sj(),sP()}}function sT(){if(1===l9){l9=0;var e=l7,t=se,n=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||n){n=O.T,O.T=null;var r=L.p;L.p=2;var a=lF;lF|=4;try{lk(t,e);var o=uy,i=nP(e.containerInfo),l=o.focusedElem,s=o.selectionRange;if(i!==l&&l&&l.ownerDocument&&function e(t,n){return!!t&&!!n&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(l.ownerDocument.documentElement,l)){if(null!==s&&nN(l)){var u=s.start,c=s.end;if(void 0===c&&(c=u),"selectionStart"in l)l.selectionStart=u,l.selectionEnd=Math.min(c,l.value.length);else{var d=l.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=l.textContent.length,h=Math.min(s.start,m),g=void 0===s.end?h:Math.min(s.end,m);!p.extend&&h>g&&(i=g,g=h,h=i);var y=nj(l,h),b=nj(l,g);if(y&&b&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==b.node||p.focusOffset!==b.offset)){var v=d.createRange();v.setStart(y.node,y.offset),p.removeAllRanges(),h>g?(p.addRange(v),p.extend(b.node,b.offset)):(v.setEnd(b.node,b.offset),p.addRange(v))}}}}for(d=[],p=l;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var w=d[l];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}cc=!!ug,uy=ug=null}finally{lF=a,L.p=r,O.T=n}}e.current=t,l9=2}}function sj(){if(2===l9){l9=0;var e=l7,t=se,n=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||n){n=O.T,O.T=null;var r=L.p;L.p=2;var a=lF;lF|=4;try{ld(e,t.alternate,t)}finally{lF=a,L.p=r,O.T=n}}l9=3}}function sP(){if(4===l9||3===l9){l9=0,er();var e=l7,t=se,n=st,r=sa;0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?l9=5:(l9=0,se=l7=null,sN(e,e.pendingLanes));var a=e.pendingLanes;if(0===a&&(l6=null),eR(n),t=t.stateNode,em&&"function"==typeof em.onCommitFiberRoot)try{em.onCommitFiberRoot(ep,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==r){t=O.T,a=L.p,L.p=2,O.T=null;try{for(var o=e.onRecoverableError,i=0;i<r.length;i++){var l=r[i];o(l.value,{componentStack:l.stack})}}finally{O.T=t,L.p=a}}0!=(3&st)&&sR(),sV(e),a=e.pendingLanes,0!=(261930&n)&&0!=(42&a)?e===si?so++:(so=0,si=e):so=0,sQ(0,!1)}}function sN(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,r4(t))}function sR(){return sT(),sj(),sP(),sO()}function sO(){if(5!==l9)return!1;var e=l7,t=sn;sn=0;var n=eR(st),r=O.T,a=L.p;try{L.p=32>n?32:n,O.T=null,n=sr,sr=null;var o=l7,i=st;if(l9=0,se=l7=null,st=0,0!=(6&lF))throw Error(l(331));var s=lF;if(lF|=4,lL(o.current),l_(o,o.current,i,n),lF=s,sQ(0,!1),em&&"function"==typeof em.onPostCommitFiberRoot)try{em.onPostCommitFiberRoot(ep,o)}catch(e){}return!0}finally{L.p=a,O.T=r,sN(e,t)}}function sL(e,t,n){t=rd(n,t),t=iv(e.stateNode,t,2),null!==(e=a_(e,t,2))&&(e_(e,2),sV(e))}function sD(e,t,n){if(3===e.tag)sL(e,e,n);else for(;null!==t;){if(3===t.tag){sL(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===l6||!l6.has(r))){e=rd(n,e),null!==(r=a_(t,n=iw(2),2))&&(ik(n,r,t,e),e_(r,2),sV(r));break}}t=t.return}}function sI(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new lM;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(lW=!0,a.add(n),e=sM.bind(null,e,t,n),t.then(e,e))}function sM(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,lz===e&&(lB&n)===n&&(4===lQ||3===lQ&&(0x3c00000&lB)===lB&&300>ea()-l4?0==(2&lF)&&sh(e,0):lZ|=n,lJ===lB&&(lJ=0)),sV(e)}function sF(e,t){0===t&&(t=eA()),null!==(e=n8(e,t))&&(e_(e,t),sV(e))}function sz(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),sF(e,n)}function s$(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(l(314))}null!==r&&r.delete(t),sF(e,n)}var sB=null,sU=null,sq=!1,sH=!1,sG=!1,sW=0;function sV(e){e!==sU&&null===e.next&&(null===sU?sB=sU=e:sU=sU.next=e),sH=!0,sq||(sq=!0,uC(function(){0!=(6&lF)?ee(ei,sK):sY()}))}function sQ(e,t){if(!sG&&sH){sG=!0;do for(var n=!1,r=sB;null!==r;){if(!t)if(0!==e){var a=r.pendingLanes;if(0===a)var o=0;else{var i=r.suspendedLanes,l=r.pingedLanes;o=0xc000095&(o=(1<<31-eg(42|e)+1)-1&(a&~(i&~l)))?0xc000095&o|1:o?2|o:0}0!==o&&(n=!0,sJ(r,o))}else o=lB,0==(3&(o=eS(r,r===lz?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eE(r,o)||(n=!0,sJ(r,o));r=r.next}while(n)sG=!1}}function sK(){sY()}function sY(){sH=sq=!1;var e,t=0;0===sW||((e=window.event)&&"popstate"===e.type?e===ux||(ux=e,0):(ux=null,1))||(t=sW);for(var n=ea(),r=null,a=sB;null!==a;){var o=a.next,i=sZ(a,n);0===i?(a.next=null,null===r?sB=o:r.next=o,null===o&&(sU=r)):(r=a,(0!==t||0!=(3&i))&&(sH=!0)),a=o}0!==l9&&5!==l9||sQ(t,!1),0!==sW&&(sW=0)}function sZ(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=-0x3c00001&e.pendingLanes;0<o;){var i=31-eg(o),l=1<<i,s=a[i];-1===s?(0==(l&n)||0!=(l&r))&&(a[i]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}if(t=lz,n=lB,n=eS(e,e===t?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===lU||9===lU)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&et(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&n)||eE(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&et(r),eR(n)){case 2:case 8:n=el;break;case 32:default:n=es;break;case 0x10000000:n=ec}return n=ee(n,r=sX.bind(null,e)),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&et(r),e.callbackPriority=2,e.callbackNode=null,2}function sX(e,t){if(0!==l9&&5!==l9)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(sR()&&e.callbackNode!==n)return null;var r=lB;return 0===(r=eS(e,e===lz?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(sc(e,r,t),sZ(e,ea()),null!=e.callbackNode&&e.callbackNode===n?sX.bind(null,e):null)}function sJ(e,t){if(sR())return null;sc(e,t,!0)}function s0(){if(0===sW){var e=r8;0===e&&(e=ev,0==(261888&(ev<<=1))&&(ev=256)),sW=e}return sW}function s1(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tg(""+e)}function s2(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var s4=0;s4<nZ.length;s4++){var s3=nZ[s4];nX(s3.toLowerCase(),"on"+(s3[0].toUpperCase()+s3.slice(1)))}nX(nq,"onAnimationEnd"),nX(nH,"onAnimationIteration"),nX(nG,"onAnimationStart"),nX("dblclick","onDoubleClick"),nX("focusin","onFocus"),nX("focusout","onBlur"),nX(nW,"onTransitionRun"),nX(nV,"onTransitionStart"),nX(nQ,"onTransitionCancel"),nX(nK,"onTransitionEnd"),eJ("onMouseEnter",["mouseout","mouseover"]),eJ("onMouseLeave",["mouseout","mouseover"]),eJ("onPointerEnter",["pointerout","pointerover"]),eJ("onPointerLeave",["pointerout","pointerover"]),eX("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),eX("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),eX("onBeforeInput",["compositionend","keypress","textInput","paste"]),eX("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),eX("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),eX("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var s5="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),s8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(s5));function s6(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;o=l,a.currentTarget=u;try{o(a)}catch(e){nJ(e)}a.currentTarget=null,o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;o=l,a.currentTarget=u;try{o(a)}catch(e){nJ(e)}a.currentTarget=null,o=s}}}}function s9(e,t){var n=t[ez];void 0===n&&(n=t[ez]=new Set);var r=e+"__bubble";n.has(r)||(un(t,e,2,!1),n.add(r))}function s7(e,t,n){var r=0;t&&(r|=4),un(n,e,r,t)}var ue="_reactListening"+Math.random().toString(36).slice(2);function ut(e){if(!e[ue]){e[ue]=!0,eY.forEach(function(t){"selectionchange"!==t&&(s8.has(t)||s7(t,!1,e),s7(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[ue]||(t[ue]=!0,s7("selectionchange",!1,t))}}function un(e,t,n,r){switch(cy(t)){case 2:var a=cd;break;case 8:a=cf;break;default:a=cp}n=a.bind(null,t,n,e),a=void 0,t_&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function ur(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&i.stateNode.containerInfo===a)return;i=i.return}for(;null!==l;){if(null===(i=eG(l)))return;if(5===(s=i.tag)||6===s||26===s||27===s){r=o=i;continue e}l=l.parentNode}}r=r.return}tE(function(){var r=o,a=tv(n),i=[];e:{var l=nY.get(e);if(void 0!==l){var s=tq,c=e;switch(e){case"keypress":if(0===tO(n))break e;case"keydown":case"keyup":s=t3;break;case"focusin":c="focus",s=tK;break;case"focusout":c="blur",s=tK;break;case"beforeblur":case"afterblur":s=tK;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=tV;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=tQ;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=t8;break;case nq:case nH:case nG:s=tY;break;case nK:s=t6;break;case"scroll":case"scrollend":s=tG;break;case"wheel":s=t9;break;case"copy":case"cut":case"paste":s=tZ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=t5;break;case"toggle":case"beforetoggle":s=t7}var d=0!=(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var m,h=r;null!==h;){var g=h;if(m=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===m||null===p||null!=(g=tA(h,p))&&d.push(ua(h,g,m)),f)break;h=h.return}0<d.length&&(l=new s(l,c,null,n,a),i.push({event:l,listeners:d}))}}if(0==(7&t)){if((l="mouseover"===e||"pointerover"===e,s="mouseout"===e||"pointerout"===e,!(l&&n!==tb&&(c=n.relatedTarget||n.fromElement)&&(eG(c)||c[eF])))&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(c=n.relatedTarget||n.toElement,s=r,null!==(c=c?eG(c):null)&&(f=u(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(s=null,c=r),s!==c)){if(d=tV,g="onMouseLeave",p="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(d=t5,g="onPointerLeave",p="onPointerEnter",h="pointer"),f=null==s?l:eV(s),m=null==c?l:eV(c),(l=new d(g,h+"leave",s,n,a)).target=f,l.relatedTarget=m,g=null,eG(a)===r&&((d=new d(p,h+"enter",c,n,a)).target=m,d.relatedTarget=f,g=d),f=g,s&&c)t:{for(d=ui,p=s,h=c,m=0,g=p;g;g=d(g))m++;g=0;for(var y,b=h;b;b=d(b))g++;for(;0<m-g;)p=d(p),m--;for(;0<g-m;)h=d(h),g--;for(;m--;){if(p===h||null!==h&&p===h.alternate){d=p;break t}p=d(p),h=d(h)}d=null}else d=null;null!==s&&ul(i,l,s,d,!1),null!==c&&null!==f&&ul(i,f,c,d,!0)}e:{if("select"===(s=(l=r?eV(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=ng;else if(nc(l))if(ny)v=nA;else{v=nS;var w=nx}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)?v=nE:r&&tp(r.elementType)&&(v=ng);if(v&&(v=v(e,r))){nd(i,v,n,a);break e}w&&w(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&to(l,"number",l.value)}switch(w=r?eV(r):window,e){case"focusin":(nc(w)||"true"===w.contentEditable)&&(nO=w,nL=r,nD=null);break;case"focusout":nD=nL=nO=null;break;case"mousedown":nI=!0;break;case"contextmenu":case"mouseup":case"dragend":nI=!1,nM(i,n,a);break;case"selectionchange":if(nR)break;case"keydown":case"keyup":nM(i,n,a)}if(nt)t:{switch(e){case"compositionstart":var k="onCompositionStart";break t;case"compositionend":k="onCompositionEnd";break t;case"compositionupdate":k="onCompositionUpdate";break t}k=void 0}else ns?ni(e,n)&&(k="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(k="onCompositionStart");k&&(na&&"ko"!==n.locale&&(ns||"onCompositionStart"!==k?"onCompositionEnd"===k&&ns&&(y=tR()):(tP="value"in(tj=a)?tj.value:tj.textContent,ns=!0)),0<(w=uo(r,k)).length&&(k=new tX(k,e,null,n,a),i.push({event:k,listeners:w}),y?k.data=y:null!==(y=nl(n))&&(k.data=y))),(y=nr?function(e,t){switch(e){case"compositionend":return nl(t);case"keypress":if(32!==t.which)return null;return no=!0," ";case"textInput":return" "===(e=t.data)&&no?null:e;default:return null}}(e,n):function(e,t){if(ns)return"compositionend"===e||!nt&&ni(e,t)?(e=tR(),tN=tP=tj=null,ns=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return na&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(k=uo(r,"onBeforeInput")).length&&(w=new tX("onBeforeInput","beforeinput",null,n,a),i.push({event:w,listeners:k}),w.data=y);var x=e;if("submit"===x&&r&&r.stateNode===a){var S=s1((a[eM]||null).action),E=n.submitter;E&&null!==(x=(x=E[eM]||null)?s1(x.formAction):E.getAttribute("formAction"))&&(S=x,E=null);var A=new tq("action","action",null,n,a);i.push({event:A,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(0!==sW){var e=E?s2(a,E):new FormData(a);oJ(r,{pending:!0,data:e,method:a.method,action:S},null,e)}}else"function"==typeof S&&(A.preventDefault(),oJ(r,{pending:!0,data:e=E?s2(a,E):new FormData(a),method:a.method,action:S},S,e))},currentTarget:a}]})}}s6(i,t)})}function ua(e,t,n){return{instance:e,listener:t,currentTarget:n}}function uo(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===o||(null!=(a=tA(e,n))&&r.unshift(ua(e,a,o)),null!=(a=tA(e,t))&&r.push(ua(e,a,o))),3===e.tag)return r;e=e.return}return[]}function ui(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag)return e||null}function ul(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(l=l.tag,null!==s&&s===r)break;5!==l&&26!==l&&27!==l||null===u||(s=u,a?null!=(u=tA(n,o))&&i.unshift(ua(n,u,s)):a||null!=(u=tA(n,o))&&i.push(ua(n,u,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var us=/\r\n?/g,uu=/\u0000|\uFFFD/g;function uc(e){return("string"==typeof e?e:""+e).replace(us,"\n").replace(uu,"")}function ud(e,t){return t=uc(t),uc(e)===t}function uf(e,t,n,r,a,o){switch(n){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||tu(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&tu(e,""+r);break;case"className":e3(e,"class",r);break;case"tabIndex":e3(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":e3(e,n,r);break;case"style":tf(e,r,o);break;case"data":if("object"!==t){e3(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tg(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof o&&("formAction"===n?("input"!==t&&uf(e,t,"name",a.name,a,null),uf(e,t,"formEncType",a.formEncType,a,null),uf(e,t,"formMethod",a.formMethod,a,null),uf(e,t,"formTarget",a.formTarget,a,null)):(uf(e,t,"encType",a.encType,a,null),uf(e,t,"method",a.method,a,null),uf(e,t,"target",a.target,a,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}r=tg(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&(e.onclick=ty);break;case"onScroll":null!=r&&s9("scroll",e);break;case"onScrollEnd":null!=r&&s9("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":case"innerText":case"textContent":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}n=tg(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""+r):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,r):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case"popover":s9("beforetoggle",e),s9("toggle",e),e4(e,"popover",r);break;case"xlinkActuate":e5(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":e5(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":e5(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":e5(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":e5(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":e5(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":e5(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":e5(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":e5(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":e4(e,"is",r);break;default:2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1])||e4(e,n=tm.get(n)||n,r)}}function up(e,t,n,r,a,o){switch(n){case"style":tf(e,r,o);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(l(61));if(null!=(n=r.__html)){if(null!=a.children)throw Error(l(60));e.innerHTML=n}}break;case"children":"string"==typeof r?tu(e,r):("number"==typeof r||"bigint"==typeof r)&&tu(e,""+r);break;case"onScroll":null!=r&&s9("scroll",e);break;case"onScrollEnd":null!=r&&s9("scrollend",e);break;case"onClick":null!=r&&(e.onclick=ty);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:if(!eZ.hasOwnProperty(n))e:{if("o"===n[0]&&"n"===n[1]&&(a=n.endsWith("Capture"),t=n.slice(2,a?n.length-7:void 0),"function"==typeof(o=null!=(o=e[eM]||null)?o[n]:null)&&e.removeEventListener(t,o,a),"function"==typeof r)){"function"!=typeof o&&null!==o&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break e}n in e?e[n]=r:!0===r?e.setAttribute(n,""):e4(e,n,r)}}}function um(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":s9("error",e),s9("load",e);var r,a=!1,o=!1;for(r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)switch(r){case"src":a=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:uf(e,t,r,i,n,null)}}o&&uf(e,t,"srcSet",n.srcSet,n,null),a&&uf(e,t,"src",n.src,n,null);return;case"input":s9("invalid",e);var s=r=i=o=null,u=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var d=n[a];if(null!=d)switch(a){case"name":o=d;break;case"type":i=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(l(137,t));break;default:uf(e,t,a,d,n,null)}}ta(e,r,s,u,c,i,o,!1);return;case"select":for(o in s9("invalid",e),a=i=r=null,n)if(n.hasOwnProperty(o)&&null!=(s=n[o]))switch(o){case"value":r=s;break;case"defaultValue":i=s;break;case"multiple":a=s;default:uf(e,t,o,s,n,null)}t=r,n=i,e.multiple=!!a,null!=t?ti(e,!!a,t,!1):null!=n&&ti(e,!!a,n,!0);return;case"textarea":for(i in s9("invalid",e),r=o=a=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":a=s;break;case"defaultValue":o=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(l(91));break;default:uf(e,t,i,s,n,null)}ts(e,a,o,r);return;case"option":for(u in n)n.hasOwnProperty(u)&&null!=(a=n[u])&&("selected"===u?e.selected=a&&"function"!=typeof a&&"symbol"!=typeof a:uf(e,t,u,a,n,null));return;case"dialog":s9("beforetoggle",e),s9("toggle",e),s9("cancel",e),s9("close",e);break;case"iframe":case"object":s9("load",e);break;case"video":case"audio":for(a=0;a<s5.length;a++)s9(s5[a],e);break;case"image":s9("error",e),s9("load",e);break;case"details":s9("toggle",e);break;case"embed":case"source":case"link":s9("error",e),s9("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(a=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,t));default:uf(e,t,c,a,n,null)}return;default:if(tp(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(a=n[d])&&up(e,t,d,a,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(a=n[s])&&uf(e,t,s,a,n,null)}function uh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}var ug=null,uy=null;function ub(e){return 9===e.nodeType?e:e.ownerDocument}function uv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function uw(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function uk(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ux=null,uS="function"==typeof setTimeout?setTimeout:void 0,uE="function"==typeof clearTimeout?clearTimeout:void 0,uA="function"==typeof Promise?Promise:void 0,uC="function"==typeof queueMicrotask?queueMicrotask:void 0!==uA?function(e){return uA.resolve(null).then(e).catch(u_)}:uS;function u_(e){setTimeout(function(){throw e})}function uT(e){return"head"===e}function uj(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)||"/&"===n){if(0===r){e.removeChild(a),cD(t);return}r--}else if("$"===n||"$?"===n||"$~"===n||"$!"===n||"&"===n)r++;else if("html"===n)u$(e.ownerDocument.documentElement);else if("head"===n){u$(n=e.ownerDocument.head);for(var o=n.firstChild;o;){var i=o.nextSibling,l=o.nodeName;o[eq]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===o.rel.toLowerCase()||n.removeChild(o),o=i}}else"body"===n&&u$(e.ownerDocument.body);n=a}while(n)cD(t)}function uP(e,t){var n=e;e=0;do{var r=n.nextSibling;if(1===n.nodeType?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",""===n.getAttribute("style")&&n.removeAttribute("style")):3===n.nodeType&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),r&&8===r.nodeType)if("/$"===(n=r.data))if(0===e)break;else e--;else"$"!==n&&"$?"!==n&&"$~"!==n&&"$!"!==n||e++;n=r}while(n)}function uN(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":uN(n),eH(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function uR(e,t){for(;8!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t||null===(e=uD(e.nextSibling)))return null;return e}function uO(e){return"$?"===e.data||"$~"===e.data}function uL(e){return"$!"===e.data||"$?"===e.data&&"loading"!==e.ownerDocument.readyState}function uD(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"$~"===t||"&"===t||"F!"===t||"F"===t)break;if("/$"===t||"/&"===t)return null}}return e}var uI=null;function uM(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n||"/&"===n){if(0===t)return uD(e.nextSibling);t--}else"$"!==n&&"$!"!==n&&"$?"!==n&&"$~"!==n&&"&"!==n||t++}e=e.nextSibling}return null}function uF(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n||"$~"===n||"&"===n){if(0===t)return e;t--}else"/$"!==n&&"/&"!==n||t++}e=e.previousSibling}return null}function uz(e,t,n){switch(t=ub(n),e){case"html":if(!(e=t.documentElement))throw Error(l(452));return e;case"head":if(!(e=t.head))throw Error(l(453));return e;case"body":if(!(e=t.body))throw Error(l(454));return e;default:throw Error(l(451))}}function u$(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);eH(e)}var uB=new Map,uU=new Set;function uq(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var uH=L.d;L.d={f:function(){var e=uH.f(),t=sp();return e||t},r:function(e){var t=eW(e);null!==t&&5===t.tag&&"form"===t.type?o1(t):uH.r(e)},D:function(e){uH.D(e),uW("dns-prefetch",e,null)},C:function(e,t){uH.C(e,t),uW("preconnect",e,t)},L:function(e,t,n){if(uH.L(e,t,n),uG&&e&&t){var r='link[rel="preload"][as="'+tn(t)+'"]';"image"===t&&n&&n.imageSrcSet?(r+='[imagesrcset="'+tn(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(r+='[imagesizes="'+tn(n.imageSizes)+'"]')):r+='[href="'+tn(e)+'"]';var a=r;switch(t){case"style":a=uQ(e);break;case"script":a=uZ(e)}uB.has(a)||(e=p({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),uB.set(a,e),null!==uG.querySelector(r)||"style"===t&&uG.querySelector(uK(a))||"script"===t&&uG.querySelector(uX(a))||(um(t=uG.createElement("link"),"link",e),eK(t),uG.head.appendChild(t)))}},m:function(e,t){if(uH.m(e,t),uG&&e){var n=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+tn(n)+'"][href="'+tn(e)+'"]',a=r;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":a=uZ(e)}if(!uB.has(a)&&(e=p({rel:"modulepreload",href:e},t),uB.set(a,e),null===uG.querySelector(r))){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(uG.querySelector(uX(a)))return}um(n=uG.createElement("link"),"link",e),eK(n),uG.head.appendChild(n)}}},X:function(e,t){if(uH.X(e,t),uG&&e){var n=eQ(uG).hoistableScripts,r=uZ(e),a=n.get(r);a||((a=uG.querySelector(uX(r)))||(e=p({src:e,async:!0},t),(t=uB.get(r))&&u2(e,t),eK(a=uG.createElement("script")),um(a,"link",e),uG.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}},S:function(e,t,n){if(uH.S(e,t,n),uG&&e){var r=eQ(uG).hoistableStyles,a=uQ(e);t=t||"default";var o=r.get(a);if(!o){var i={loading:0,preload:null};if(o=uG.querySelector(uK(a)))i.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},n),(n=uB.get(a))&&u1(e,n);var l=o=uG.createElement("link");eK(l),um(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){i.loading|=1}),l.addEventListener("error",function(){i.loading|=2}),i.loading|=4,u0(o,t,uG)}o={type:"stylesheet",instance:o,count:1,state:i},r.set(a,o)}}},M:function(e,t){if(uH.M(e,t),uG&&e){var n=eQ(uG).hoistableScripts,r=uZ(e),a=n.get(r);a||((a=uG.querySelector(uX(r)))||(e=p({src:e,async:!0,type:"module"},t),(t=uB.get(r))&&u2(e,t),eK(a=uG.createElement("script")),um(a,"link",e),uG.head.appendChild(a)),a={type:"script",instance:a,count:1,state:null},n.set(r,a))}}};var uG="u"<typeof document?null:document;function uW(e,t,n){if(uG&&"string"==typeof t&&t){var r=tn(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof n&&(r+='[crossorigin="'+n+'"]'),uU.has(r)||(uU.add(r),e={rel:e,crossOrigin:n,href:t},null===uG.querySelector(r)&&(um(t=uG.createElement("link"),"link",e),eK(t),uG.head.appendChild(t)))}}function uV(e,t,n,r){var a=(a=q.current)?uq(a):null;if(!a)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=uQ(n.href),(r=(n=eQ(a).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=uQ(n.href);var o,i,s,u,c=eQ(a).hoistableStyles,d=c.get(e);if(d||(a=a.ownerDocument||a,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=a.querySelector(uK(e)))&&!c._p&&(d.instance=c,d.state.loading=5),uB.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},uB.set(e,n),c||(o=a,i=e,s=n,u=d.state,o.querySelector('link[rel="preload"][as="style"]['+i+"]")?u.loading=1:(u.preload=i=o.createElement("link"),i.addEventListener("load",function(){return u.loading|=1}),i.addEventListener("error",function(){return u.loading|=2}),um(i,"link",s),eK(i),o.head.appendChild(i))))),t&&null===r)throw Error(l(528,""));return d}if(t&&null!==r)throw Error(l(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=uZ(n),(r=(n=eQ(a).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},n.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function uQ(e){return'href="'+tn(e)+'"'}function uK(e){return'link[rel="stylesheet"]['+e+"]"}function uY(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function uZ(e){return'[src="'+tn(e)+'"]'}function uX(e){return"script[async]"+e}function uJ(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+tn(n.href)+'"]');if(r)return t.instance=r,eK(r),r;var a=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return eK(r=(e.ownerDocument||e).createElement("style")),um(r,"style",a),u0(r,n.precedence,e),t.instance=r;case"stylesheet":a=uQ(n.href);var o=e.querySelector(uK(a));if(o)return t.state.loading|=4,t.instance=o,eK(o),o;r=uY(n),(a=uB.get(a))&&u1(r,a),eK(o=(e.ownerDocument||e).createElement("link"));var i=o;return i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),um(o,"link",r),t.state.loading|=4,u0(o,n.precedence,e),t.instance=o;case"script":if(o=uZ(n.src),a=e.querySelector(uX(o)))return t.instance=a,eK(a),a;return r=n,(a=uB.get(o))&&u2(r=p({},n),a),eK(a=(e=e.ownerDocument||e).createElement("script")),um(a,"link",r),e.head.appendChild(a),t.instance=a;case"void":return null;default:throw Error(l(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,u0(r,n.precedence,e)),t.instance}function u0(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=r.length?r[r.length-1]:null,o=a,i=0;i<r.length;i++){var l=r[i];if(l.dataset.precedence===t)o=l;else if(o!==a)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function u1(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function u2(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var u4=null;function u3(e,t,n){if(null===u4){var r=new Map,a=u4=new Map;a.set(n,r)}else(r=(a=u4).get(n))||(r=new Map,a.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var o=n[a];if(!(o[eq]||o[eI]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var i=o.getAttribute(t)||"";i=e+i;var l=r.get(i);l?l.push(o):r.set(i,[o])}}return r}function u5(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function u8(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var u6=0;function u9(){if(this.count--,0===this.count&&(0===this.imgCount||!this.waitingForImages)){if(this.stylesheets)ce(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var u7=null;function ce(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,u7=new Map,t.forEach(ct,e),u7=null,u9.call(e))}function ct(e,t){if(!(4&t.state.loading)){var n=u7.get(e);if(n)var r=n.get(null);else{n=new Map,u7.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var i=a[o];("LINK"===i.nodeName||"not all"!==i.getAttribute("media"))&&(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(a=t.instance).getAttribute("data-precedence"),(o=n.get(i)||r)===r&&n.set(null,a),n.set(i,a),this.count++,r=u9.bind(this),a.addEventListener("load",r),a.addEventListener("error",r),o?o.parentNode.insertBefore(a,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var cn={$$typeof:k,Provider:null,Consumer:null,_currentValue:D,_currentValue2:D,_threadCount:0};function cr(e,t,n,r,a,o,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eC(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eC(0),this.hiddenUpdates=eC(null),this.identifierPrefix=r,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function ca(e,t,n,r,a,o,i,l,s,u,c,d){return e=new cr(e,t,n,i,s,u,c,d,l),t=1,!0===o&&(t|=24),o=rt(3,null,null,t),e.current=o,o.stateNode=e,t=r2(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},aE(o),e}function co(e,t,n,r,a,o){a=a?n7:n7,null===r.context?r.context=a:r.pendingContext=a,(r=aC(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=a_(e,r,t))&&(su(n,e,t),aT(n,e,t))}function ci(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function cl(e,t){ci(e,t),(e=e.alternate)&&ci(e,t)}function cs(e){if(13===e.tag||31===e.tag){var t=n8(e,0x4000000);null!==t&&su(t,e,0x4000000),cl(e,0x4000000)}}function cu(e){if(13===e.tag||31===e.tag){var t=sl(),n=n8(e,t=eN(t));null!==n&&su(n,e,t),cl(e,t)}}var cc=!0;function cd(e,t,n,r){var a=O.T;O.T=null;var o=L.p;try{L.p=2,cp(e,t,n,r)}finally{L.p=o,O.T=a}}function cf(e,t,n,r){var a=O.T;O.T=null;var o=L.p;try{L.p=8,cp(e,t,n,r)}finally{L.p=o,O.T=a}}function cp(e,t,n,r){if(cc){var a=cm(r);if(null===a)ur(e,t,r,ch,n),cC(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return cv=c_(cv,e,t,n,r,a),!0;case"dragenter":return cw=c_(cw,e,t,n,r,a),!0;case"mouseover":return ck=c_(ck,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return cx.set(o,c_(cx.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,cS.set(o,c_(cS.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(cC(e,r),4&t&&-1<cA.indexOf(e)){for(;null!==a;){var o=eW(a);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var i=ex(o.pendingLanes);if(0!==i){var l=o;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-eg(i);l.entanglements[1]|=s,i&=~s}sV(o),0==(6&lF)&&(l5=ea()+500,sQ(0,!1))}}break;case 31:case 13:null!==(l=n8(o,2))&&su(l,o,2),sp(),cl(o,2)}if(null===(o=cm(r))&&ur(e,t,r,ch,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else ur(e,t,r,null,n)}}function cm(e){return cg(e=tv(e))}var ch=null;function cg(e){if(ch=null,null!==(e=eG(e))){var t=u(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=c(t)))return e;e=null}else if(31===n){if(null!==(e=d(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ch=e,null}function cy(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(eo()){case ei:return 2;case el:return 8;case es:case eu:return 32;case ec:return 0x10000000;default:return 32}default:return 32}}var cb=!1,cv=null,cw=null,ck=null,cx=new Map,cS=new Map,cE=[],cA="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function cC(e,t){switch(e){case"focusin":case"focusout":cv=null;break;case"dragenter":case"dragleave":cw=null;break;case"mouseover":case"mouseout":ck=null;break;case"pointerover":case"pointerout":cx.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":cS.delete(t.pointerId)}}function c_(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&null!==(t=eW(t))&&cs(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a)),e}function cT(e){var t=eG(e.target);if(null!==t){var n=u(t);if(null!==n){if(13===(t=n.tag)){if(null!==(t=c(n))){e.blockedOn=t,eL(e.priority,function(){cu(n)});return}}else if(31===t){if(null!==(t=d(n))){e.blockedOn=t,eL(e.priority,function(){cu(n)});return}}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===n.tag?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function cj(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cm(e.nativeEvent);if(null!==n)return null!==(t=eW(n))&&cs(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);tb=r,n.target.dispatchEvent(r),tb=null,t.shift()}return!0}function cP(e,t,n){cj(e)&&n.delete(t)}function cN(){cb=!1,null!==cv&&cj(cv)&&(cv=null),null!==cw&&cj(cw)&&(cw=null),null!==ck&&cj(ck)&&(ck=null),cx.forEach(cP),cS.forEach(cP)}function cR(e,t){e.blockedOn===t&&(e.blockedOn=null,cb||(cb=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,cN)))}var cO=null;function cL(e){cO!==e&&(cO=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){cO===e&&(cO=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],a=e[t+2];if("function"!=typeof r)if(null===cg(r||n))continue;else break;var o=eW(n);null!==o&&(e.splice(t,3),t-=3,oJ(o,{pending:!0,data:a,method:n.method,action:r},r,a))}}))}function cD(e){function t(t){return cR(t,e)}null!==cv&&cR(cv,e),null!==cw&&cR(cw,e),null!==ck&&cR(ck,e),cx.forEach(t),cS.forEach(t);for(var n=0;n<cE.length;n++){var r=cE[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<cE.length&&null===(n=cE[0]).blockedOn;)cT(n),null===n.blockedOn&&cE.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var a=n[r],o=n[r+1],i=a[eM]||null;if("function"==typeof o)i||cL(n);else if(i){var l=null;if(o&&o.hasAttribute("formAction")){if(a=o,i=o[eM]||null)l=i.formAction;else if(null!==cg(a))continue}else l=i.action;"function"==typeof l?n[r+1]=l:(n.splice(r,3),r-=3),cL(n)}}}function cI(){function e(e){e.canIntercept&&"react-transition"===e.info&&e.intercept({handler:function(){return new Promise(function(e){return a=e})},focusReset:"manual",scroll:"manual"})}function t(){null!==a&&(a(),a=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&null!=e.url&&navigation.navigate(e.url,{state:e.getState(),info:"react-transition",history:"replace"})}}if("object"==typeof navigation){var r=!1,a=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),null!==a&&(a(),a=null)}}}function cM(e){this._internalRoot=e}function cF(e){this._internalRoot=e}cF.prototype.render=cM.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(l(409));co(t.current,sl(),e,t,null,null)},cF.prototype.unmount=cM.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;co(e.current,2,null,e,null,null),sp(),t[eF]=null}},cF.prototype.unstable_scheduleHydration=function(e){if(e){var t=eO();e={blockedOn:null,target:e,priority:t};for(var n=0;n<cE.length&&0!==t&&t<cE[n].priority;n++);cE.splice(n,0,e),0===n&&cT(e)}};var cz=o.version;if("19.2.5"!==cz)throw Error(l(527,cz,"19.2.5"));if(L.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(l(188));throw Error(l(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=u(e)))throw Error(l(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return f(a),e;if(o===r)return f(a),t;o=o.sibling}throw Error(l(188))}if(n.return!==r.return)n=a,r=o;else{for(var i=!1,s=a.child;s;){if(s===n){i=!0,n=a,r=o;break}if(s===r){i=!0,r=a,n=o;break}s=s.sibling}if(!i){for(s=o.child;s;){if(s===n){i=!0,n=o,r=a;break}if(s===r){i=!0,r=o,n=a;break}s=s.sibling}if(!i)throw Error(l(189))}}if(n.alternate!==r)throw Error(l(190))}if(3!==n.tag)throw Error(l(188));return n.stateNode.current===n?e:t}(t))?function e(t){var n=t.tag;if(5===n||26===n||27===n||6===n)return t;for(t=t.child;null!==t;){if(null!==(n=e(t)))return n;t=t.sibling}return null}(e):null)?null:e.stateNode},"u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var c$=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!c$.isDisabled&&c$.supportsFiber)try{ep=c$.inject({bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.5"}),em=c$}catch(e){}}t.createRoot=function(e,t){if(!s(e))throw Error(l(299));var n=!1,r="",a=im,o=ih,i=ig;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(o=t.onCaughtError),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=ca(e,1,!1,null,null,n,r,null,a,o,i,cI),e[eF]=t.current,ut(e),new cM(t)},t.hydrateRoot=function(e,t,n){if(!s(e))throw Error(l(299));var r=!1,a="",o=im,i=ih,u=ig,c=null;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(o=n.onUncaughtError),void 0!==n.onCaughtError&&(i=n.onCaughtError),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.formState&&(c=n.formState)),(t=ca(e,1,!0,t,null!=n?n:null,r,a,c,o,i,u,cI)).context=n7,n=t.current,(a=aC(r=eN(r=sl()))).callback=null,a_(n,a,r),n=r,t.current.lanes=n,e_(t,n),sV(t),e[eF]=t.current,ut(e),new cF(t)},t.version="19.2.5"},6221(e,t,n){"use strict";var r=n(6540);function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var i={d:{f:o,r:function(){throw Error(a(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},l=Symbol.for("react.portal"),s=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(a(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:l,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&i.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin),a="string"==typeof t.integrity?t.integrity:void 0,o="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):"script"===n&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=u(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&i.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,r=u(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=u(t.as,t.crossOrigin);i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else i.d.m(e)},t.requestFormReset=function(e){i.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},t.useFormStatus=function(){return s.H.useHostTransitionStatus()},t.version="19.2.5"},5338(e,t,n){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(1247)},961(e,t,n){"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(6221)},115(e){var t="u">typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,o){try{return function e(o,i){if(o===i)return!0;if(o&&i&&"object"==typeof o&&"object"==typeof i){var l,s,u,c;if(o.constructor!==i.constructor)return!1;if(Array.isArray(o)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(!e(o[s],i[s]))return!1;return!0}if(n&&o instanceof Map&&i instanceof Map){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=o.entries();!(s=c.next()).done;)if(!e(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&o instanceof Set&&i instanceof Set){if(o.size!==i.size)return!1;for(c=o.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(i)){if((l=o.length)!=i.length)return!1;for(s=l;0!=s--;)if(o[s]!==i[s])return!1;return!0}if(o.constructor===RegExp)return o.source===i.source&&o.flags===i.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof i.valueOf)return o.valueOf()===i.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof i.toString)return o.toString()===i.toString();if((l=(u=Object.keys(o)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&o instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!o.$$typeof)&&!e(o[u[s]],i[u[s]]))return!1;return!0}return o!=o&&i!=i}(e,o)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},545(e,t,n){"use strict";n.d(t,{mg:()=>Z,vd:()=>q});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),l=n.n(i),s=n(311),u=n.n(s),c=n(2833),d=n.n(c);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map(function(e){return g[e]}),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},x=Object.keys(k).reduce(function(e,t){return e[k[t]]=t,e},{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},E=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=S(e,"defaultTitle");return t||r||void 0},A=function(e,t){return t.filter(function(t){return void 0!==t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return f({},e,t)},{})},C=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var a={};n.filter(function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=f({},r[l],a[l]);r[l]=s}return e},[]).reverse()},_=function(e,t){if(Array.isArray(e)&&e.length){for(var n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},T=function(e){return Array.isArray(e)?e.join(""):e},j=function(e,t){return Array.isArray(e)?e.reduce(function(e,n){return!function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.default.push(n):e.priority.push(n),e},{priority:[],default:[]}):{default:e}},P=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},N=[g.NOSCRIPT,g.SCRIPT,g.STYLE],R=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},O=function(e){return Object.keys(e).reduce(function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},L=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce(function(t,n){return t[k[n]||n]=e[n],t},t)},D=function(e,t){return t.map(function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach(function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]}),r.createElement(e,o)})},I=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){var e,n,a,o;return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=L(n,a),[r.createElement(g.TITLE,o,e)]},toString:function(){var r,a,o,i;return r=t.title,a=t.titleAttributes,o=O(a),i=T(r),o?"<"+e+' data-rh="true" '+o+">"+R(i,n)+"</"+e+">":"<"+e+' data-rh="true">'+R(i,n)+"</"+e+">"}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return L(t)},toString:function(){return O(t)}};default:return{toComponent:function(){return D(e,t)},toString:function(){return t.reduce(function(t,r){var a=Object.keys(r).filter(function(e){return"innerHTML"!==e&&"cssText"!==e}).reduce(function(e,t){var a=void 0===r[t]?t:t+'="'+R(r[t],n)+'"';return e?e+" "+a:a},""),o=r.innerHTML||r.cssText||"",i=-1===N.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")},"")}}}},M=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=e.titleAttributes,u=e.linkTags,c=e.metaTags,d=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var p,m,h,w,k,x,S=(p=e.linkTags,m=e.scriptTags,h=e.encode,w=j(e.metaTags,v),k=j(p,y),x=j(m,b),{priorityMethods:{toComponent:function(){return[].concat(D(g.META,w.priority),D(g.LINK,k.priority),D(g.SCRIPT,x.priority))},toString:function(){return I(g.META,w.priority,h)+" "+I(g.LINK,k.priority,h)+" "+I(g.SCRIPT,x.priority,h)}},metaTags:w.default,linkTags:k.default,scriptTags:x.default});f=S.priorityMethods,u=S.linkTags,c=S.metaTags,d=S.scriptTags}return{priority:f,base:I(g.BASE,t,r),bodyAttributes:I("bodyAttributes",n,r),htmlAttributes:I("htmlAttributes",a,r),link:I(g.LINK,u,r),meta:I(g.META,c,r),noscript:I(g.NOSCRIPT,o,r),script:I(g.SCRIPT,d,r),style:I(g.STYLE,i,r),title:I(g.TITLE,{title:void 0===l?"":l,titleAttributes:s},r)}},F=[],z=function(e,t){var n=this;void 0===t&&(t="u">typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?F:n.instances},add:function(e){(n.canUseDOM?F:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?F:n.instances).indexOf(e);(n.canUseDOM?F:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=M({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),B=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),U="u">typeof document,q=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new z(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);q.canUseDOM=U,q.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var H=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach(function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some(function(e,t){return n=t,r.isEqualNode(e)})?o.splice(n,1):i.push(r)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return r.appendChild(e)}),{oldTags:o,newTags:i}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},W=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;G(g.BODY,e.bodyAttributes),G(g.HTML,r),void 0!==c&&document.title!==c&&(document.title=T(c)),G(g.TITLE,d);var f={baseTag:H(g.BASE,n),linkTags:H(g.LINK,a),metaTags:H(g.META,o),noscriptTags:H(g.NOSCRIPT,i),scriptTags:H(g.SCRIPT,s),styleTags:H(g.STYLE,u)},p={},m={};Object.keys(f).forEach(function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)}),t&&t(),l(e,p,m)},V=null,Q=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o={baseTag:(e=["href"],(t=n.helmetInstances.get().map(function(e){var t=f({},e.props);return delete t.context,t})).filter(function(e){return void 0!==e[g.BASE]}).map(function(e){return e[g.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t},[])),bodyAttributes:A("bodyAttributes",t),defer:S(t,"defer"),encode:S(t,"encodeSpecialCharacters"),htmlAttributes:A("htmlAttributes",t),linkTags:C(g.LINK,["rel","href"],t),metaTags:C(g.META,["name","charset","http-equiv","property","itemprop"],t),noscriptTags:C(g.NOSCRIPT,["innerHTML"],t),onChangeClientState:S(t,"onChangeClientState")||function(){},scriptTags:C(g.SCRIPT,["src","innerHTML"],t),styleTags:C(g.STYLE,["cssText"],t),title:E(t),titleAttributes:A("titleAttributes",t),prioritizeSeoTags:_(t,"prioritizeSeoTags")};q.canUseDOM?(V&&cancelAnimationFrame(V),o.defer?V=requestAnimationFrame(function(){W(o,function(){V=null})}):(W(o),V=null)):M&&(a=M(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Q.propTypes={context:B.isRequired},Q.displayName="HelmetDispatcher";var K=["children"],Y=["children"],Z=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(P(this.props,"helmetData"),P(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case g.BODY:return f({},a,{bodyAttributes:f({},o)});case g.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach(function(t){var r;n=f({},n,((r={})[t]=e[t],r))}),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some(function(t){return e.type===t}),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some(function(e){return"string"!=typeof e}),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,K),l=Object.keys(i).reduce(function(e,t){return e[x[t]||t]=i[t],e},{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}}),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,Y),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof z||(o=new z(o.context,o.instances)),o?r.createElement(Q,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,function(e){return r.createElement(Q,f({},a,{context:e}))})},t}(r.Component);Z.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},Z.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Z.displayName="Helmet"},2799(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case h:case s:return e;default:return t}}case a:return t}}}function x(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===c},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},4363(e,t,n){"use strict";e.exports=n(2799)},3259(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var l=n(6540),s=[],u=[],c=l.createContext(null);function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(function(e){return n.loading=!1,n.loaded=e,e}).catch(function(e){throw n.loading=!1,n.error=e,e}),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach(function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then(function(e){t.loaded[r]=e}).catch(function(e){t.error=e})})}catch(e){t.error=e}return t.promise=Promise.all(n).then(function(e){return t.loading=!1,e}).catch(function(e){throw t.loading=!1,e}),t}function p(e,t){return l.createElement(e&&e.__esModule?e.default:e,t)}function m(e,t){if(!t.loading)throw Error("react-loadable requires a `loading` component");var d,f,m=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return s.push(g),"function"==typeof m.webpack&&u.push(function(){if((0,m.webpack)().every(function(e){return void 0!==e&&void 0!==n.m[e]}))return g()}),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()}),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context&&Array.isArray(m.modules)&&m.modules.forEach(function(t){e.context.report(t)}),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout(function(){t({pastDelay:!0})},m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout(function(){t({timedOut:!0})},m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then(function(){return n(),null}).catch(function(e){return n(),null})}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextType",c),f}function h(e){return m(d,e)}function g(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then(function(){if(e.length)return g(e)})}h.Map=function(e){if("function"!=typeof e.render)throw Error("LoadableMap requires a `render(loaded, props)` function");return m(f,e)},h.Capture=function(e){function t(){return e.apply(this,arguments)||this}return r(t,e),t.prototype.render=function(){return l.createElement(c.Provider,{value:{report:this.props.report}},l.Children.only(this.props.children))},t}(l.Component),h.preloadAll=function(){return new Promise(function(e,t){g(s).then(e,t)})},h.preloadReady=function(){return new Promise(function(e,t){g(u).then(e,e)})},e.exports=h},2831(e,t,n){"use strict";n.d(t,{u:()=>function e(t,n,a){return void 0===a&&(a=[]),t.some(function(t){var o=t.path?(0,r.B6)(n,t):a.length?a[a.length-1].match:r.Ix.computeRootMatch(n);return o&&(a.push({route:t,match:o}),t.routes&&e(t.routes,n,a)),o}),a},v:()=>i});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map(function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})})):null}},4625(e,t,n){"use strict";n.d(t,{I9:()=>d,Kd:()=>c,N_:()=>y,k2:()=>w});var r=n(6347),a=n(594),o=n(6540),i=n(3328),l=n(8168),s=n(8587),u=n(1561),c=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component),d=function(e){function t(){for(var t,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.TM)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component),f=function(e,t){return"function"==typeof e?e(t):e},p=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},m=function(e){return e},h=o.forwardRef;void 0===h&&(h=m);var g=h(function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.A)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(e.preventDefault(),r())}});return m!==h?c.ref=t||n:c.ref=n,o.createElement("a",c)}),y=h(function(e,t){var n=e.component,a=void 0===n?g:n,c=e.replace,d=e.to,y=e.innerRef,b=(0,s.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,u.A)(!1);var n=e.history,r=p(f(d,e.location),e.location),s=r?n.createHref(r):"",g=(0,l.A)({},b,{href:s,navigate:function(){var t=f(d,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(p(t));(c||r?n.replace:n.push)(t)}});return m!==h?g.ref=t||y:g.innerRef=y,o.createElement(a,g)})}),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var w=v(function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,d=e.activeStyle,m=e.className,h=e.exact,g=e.isActive,w=e.location,k=e.sensitive,x=e.strict,S=e.style,E=e.to,A=e.innerRef,C=(0,s.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,function(e){e||(0,u.A)(!1);var n=w||e.location,i=p(f(E,n),n),s=i.pathname,_=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),T=_?(0,r.B6)(n.pathname,{path:_,exact:h,sensitive:k,strict:x}):null,j=!!(g?g(T,n):T),P="function"==typeof m?m(j):m,N="function"==typeof S?S(j):S;j&&(P=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return e}).join(" ")}(P,c),N=(0,l.A)({},N,d));var R=(0,l.A)({"aria-current":j&&a||null,className:P,style:N,to:i},C);return b!==v?R.ref=t||A:R.innerRef=A,o.createElement(y,R)})})},6347(e,t,n){"use strict";n.d(t,{B6:()=>v,Ix:()=>g,W6:()=>S,XZ:()=>h,dO:()=>k,qh:()=>w,zy:()=>E});var r=n(594),a=n(6540),o=n(5556),i=n.n(o),l=(n(3328),n(1561)),s=n(8168),u=n(5302),c=n.n(u);n(4363),n(8587),n(4146);var d="u">typeof globalThis?globalThis:"u">typeof window?window:void 0!==n.g?n.g:{},f=a.createContext||function(e,t){var n,o,l="__create-react-context-"+(d.__global_unique_id__=(d.__global_unique_id__||0)+1)+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return n=(t=e.call.apply(e,[this].concat(o))||this).props.value,r=[],t.emitter={on:function(e){r.push(e)},off:function(e){r=r.filter(function(t){return t!==e})},get:function(){return n},set:function(e,t){n=e,r.forEach(function(e){return e(n,t)})}},t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;(r===a?0!==r||1/r==1/a:r!=r&&a!=a)?n=0:0!=(n=("function"==typeof t?t(r,a):0x3fffffff)|0)&&this.emitter.set(e.value,n)}},a.render=function(){return this.props.children},n}(a.Component);(n={})[l]=i().object.isRequired,s.childContextTypes=n;var u=function(t){function n(){for(var e,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(e.observedBits&n)!=0&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?0x3fffffff:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?0x3fffffff:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){var e;return(Array.isArray(e=this.props.children)?e[0]:e)(this.state.value)},n}(a.Component);return(o={})[l]=i().object,u.contextTypes=o,{Provider:s,Consumer:u}},p=function(e){var t=f();return t.displayName=e,t},m=p("Router-History"),h=p("Router"),g=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen(function(e){n._pendingLocation=e})),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(t){e._isMounted&&e.setState({location:t})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(h.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component,a.Component;var y={},b=0;function v(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce(function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=y[n]||(y[n]={});if(r[e])return r[e];var a=[],o={regexp:c()(e,a,t),keys:a};return b<1e4&&(r[e]=o,b++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var d=s[0],f=s.slice(1),p=e===d;return o&&!p?null:{path:n,url:"/"===n&&""===d?"/":d,isExact:p,params:i.reduce(function(e,t,n){return e[t.name]=f[n],e},{})}},null)}var w=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,function(t){t||(0,l.A)(!1);var n,r=e.props.location||t.location,o=e.props.computedMatch?e.props.computedMatch:e.props.path?v(r.pathname,e.props):t.match,i=(0,s.A)({},t,{location:r,match:o}),u=e.props,c=u.children,d=u.component,f=u.render;return Array.isArray(c)&&(n=c,0===a.Children.count(n))&&(c=null),a.createElement(h.Provider,{value:i},i.match?c?"function"==typeof c?c(i):c:d?a.createElement(d,i):f?f(i):null:"function"==typeof c?c(i):null)})},t}(a.Component);a.Component;var k=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(h.Consumer,null,function(t){t||(0,l.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?v(o.pathname,(0,s.A)({},e.props,{path:i})):t.match}}),r?a.cloneElement(n,{location:o,computedMatch:r}):null})},t}(a.Component),x=a.useContext;function S(){return x(m)}function E(){return x(h).location}},9698(e,t){"use strict";var n=Symbol.for("react.transitional.element");function r(e,t,r){var a=null;if(void 0!==r&&(a=""+r),void 0!==t.key&&(a=""+t.key),"key"in t)for(var o in r={},t)"key"!==o&&(r[o]=t[o]);else r=t;return{$$typeof:n,type:e,key:a,ref:void 0!==(t=r.ref)?t:null,props:r}}t.Fragment=Symbol.for("react.fragment"),t.jsx=r,t.jsxs=r},9869(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),m=Symbol.iterator,h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}function v(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||h}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var k=w.prototype=new v;k.constructor=w,g(k,b.prototype),k.isPureReactComponent=!0;var x=Array.isArray;function S(){}var E={H:null,A:null,T:null,S:null},A=Object.prototype.hasOwnProperty;function C(e,t,r){var a=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==a?a:null,props:r}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function j(e,t){var n,r;return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function P(e,t,a){if(null==e)return e;var o=[],i=0;return!function e(t,a,o,i,l){var s,u,c,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var p=!1;if(null===t)p=!0;else switch(d){case"bigint":case"string":case"number":p=!0;break;case"object":switch(t.$$typeof){case n:case r:p=!0;break;case f:return e((p=t._init)(t._payload),a,o,i,l)}}if(p)return l=l(t),p=""===i?"."+j(t,0):i,x(l)?(o="",null!=p&&(o=p.replace(T,"$&/")+"/"),e(l,a,o,"",function(e){return e})):null!=l&&(_(l)&&(s=l,u=o+(null==l.key||t&&t.key===l.key?"":(""+l.key).replace(T,"$&/")+"/")+p,l=C(s.type,u,s.props)),a.push(l)),1;p=0;var h=""===i?".":i+":";if(x(t))for(var g=0;g<t.length;g++)d=h+j(i=t[g],g),p+=e(i,a,o,d,l);else if("function"==typeof(g=null===(c=t)||"object"!=typeof c?null:"function"==typeof(c=m&&c[m]||c["@@iterator"])?c:null))for(t=g.call(t),g=0;!(i=t.next()).done;)d=h+j(i=i.value,g++),p+=e(i,a,o,d,l);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),a,o,i,l);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(a=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return p}(e,o,"","",function(e){return t.call(a,e,i++)}),o}function N(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};t.Activity=p,t.Children={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=i,t.PureComponent=w,t.StrictMode=o,t.Suspense=c,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cacheSignal=function(){return null},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=g({},e.props),a=e.key;if(null!=t)for(o in void 0!==t.key&&(a=""+t.key),t)A.call(t,o)&&"key"!==o&&"__self"!==o&&"__source"!==o&&("ref"!==o||void 0!==t.ref)&&(r[o]=t[o]);var o=arguments.length-2;if(1===o)r.children=n;else if(1<o){for(var i=Array(o),l=0;l<o;l++)i[l]=arguments[l+2];r.children=i}return C(e.type,a,r)},t.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:l,_context:e},e},t.createElement=function(e,t,n){var r,a={},o=null;if(null!=t)for(r in void 0!==t.key&&(o=""+t.key),t)A.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(a[r]=t[r]);var i=arguments.length-2;if(1===i)a.children=n;else if(1<i){for(var l=Array(i),s=0;s<i;s++)l[s]=arguments[s+2];a.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps)void 0===a[r]&&(a[r]=i[r]);return C(e,o,a)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=E.T,n={};E.T=n;try{var r=e(),a=E.S;null!==a&&a(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(S,R)}catch(e){R(e)}finally{null!==t&&null!==n.types&&(t.types=n.types),E.T=t}},t.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},t.use=function(e){return E.H.use(e)},t.useActionState=function(e,t,n){return E.H.useActionState(e,t,n)},t.useCallback=function(e,t){return E.H.useCallback(e,t)},t.useContext=function(e){return E.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},t.useEffect=function(e,t){return E.H.useEffect(e,t)},t.useEffectEvent=function(e){return E.H.useEffectEvent(e)},t.useId=function(){return E.H.useId()},t.useImperativeHandle=function(e,t,n){return E.H.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return E.H.useMemo(e,t)},t.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},t.useReducer=function(e,t,n){return E.H.useReducer(e,t,n)},t.useRef=function(e){return E.H.useRef(e)},t.useState=function(e){return E.H.useState(e)},t.useSyncExternalStore=function(e,t,n){return E.H.useSyncExternalStore(e,t,n)},t.useTransition=function(){return E.H.useTransition()},t.version="19.2.5"},6540(e,t,n){"use strict";e.exports=n(9869)},4848(e,t,n){"use strict";e.exports=n(9698)},4477(e,t){"use strict";function n(e,t){var n=e.length;for(e.push(t);0<n;){var r=n-1>>>1,a=e[r];if(0<o(a,t))e[r]=t,e[n]=a,n=r;else break}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else if(u<a&&0>o(c,n))e[r]=c,e[u]=n,r=u;else break}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;t.unstable_now=function(){return l.now()}}else{var s=Date,u=s.now();t.unstable_now=function(){return s.now()-u}}var c=[],d=[],f=1,p=null,m=3,h=!1,g=!1,y=!1,b=!1,v="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,k="u">typeof setImmediate?setImmediate:null;function x(e){for(var t=r(d);null!==t;){if(null===t.callback)a(d);else if(t.startTime<=e)a(d),t.sortIndex=t.expirationTime,n(c,t);else break;t=r(d)}}function S(e){if(y=!1,x(e),!g)if(null!==r(c))g=!0,E||(E=!0,i());else{var t=r(d);null!==t&&R(S,t.startTime-e)}}var E=!1,A=-1,C=5,_=-1;function T(){return!!b||!(t.unstable_now()-_<C)}function j(){if(b=!1,E){var e=t.unstable_now();_=e;var n=!0;try{e:{g=!1,y&&(y=!1,w(A),A=-1),h=!0;var o=m;try{t:{for(x(e),p=r(c);null!==p&&!(p.expirationTime>e&&T());){var l=p.callback;if("function"==typeof l){p.callback=null,m=p.priorityLevel;var s=l(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof s){p.callback=s,x(e),n=!0;break t}p===r(c)&&a(c),x(e)}else a(c);p=r(c)}if(null!==p)n=!0;else{var u=r(d);null!==u&&R(S,u.startTime-e),n=!1}}break e}finally{p=null,m=o,h=!1}}}finally{n?i():E=!1}}}if("function"==typeof k)i=function(){k(j)};else if("u">typeof MessageChannel){var P=new MessageChannel,N=P.port2;P.port1.onmessage=j,i=function(){N.postMessage(null)}}else i=function(){v(j,0)};function R(e,n){A=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return m},t.unstable_next=function(e){switch(m){case 1:case 2:case 3:var t=3;break;default:t=m}var n=m;m=t;try{return e()}finally{m=n}},t.unstable_requestPaint=function(){b=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=m;m=e;try{return t()}finally{m=n}},t.unstable_scheduleCallback=function(e,a,o){var l=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?l+o:l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=0x3fffffff;break;case 4:s=1e4;break;default:s=5e3}return s=o+s,e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:s,sortIndex:-1},o>l?(e.sortIndex=o,n(d,e),null===r(c)&&e===r(d)&&(y?(w(A),A=-1):y=!0,R(S,o-l))):(e.sortIndex=s,n(c,e),g||h||(g=!0,E||(E=!0,i()))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=m;return function(){var n=m;m=t;try{return e.apply(this,arguments)}finally{m=n}}}},9982(e,t,n){"use strict";e.exports=n(4477)},2833(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},8460(e,t,n){"use strict";n.d(t,{A:()=>f}),n(6540);var r=n(4848),a=n(3259),o=n.n(a),i=n(4054);let l={"0058b4c6":[()=>n.e("266").then(n.t.bind(n,6164,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-175.json",6164],"0402ec03":[()=>n.e("351").then(n.bind(n,6019)),"@site/docs/integrations/telegram.mdx",6019],"09292580":[()=>n.e("851").then(n.bind(n,3131)),"@site/docs/reference/permissions.mdx",3131],"115f7d00":[()=>n.e("618").then(n.bind(n,4176)),"@site/docs/reference/second-brain.mdx",4176],"138e0e15":[()=>n.e("234").then(n.t.bind(n,1597,19)),"@generated/@easyops-cn/docusaurus-search-local/default/__plugin.json",1597],"15bc3129":[()=>n.e("724").then(n.bind(n,4415)),"@site/docs/releases/1.1.6.mdx",4415],0x11113f9:[()=>Promise.all([n.e("14"),n.e("106")]).then(n.bind(n,8181)),"@theme/DocItem",8181],"1a4e3797":[()=>Promise.all([n.e("14"),n.e("847")]).then(n.bind(n,4907)),"@theme/SearchPage",4907],"1df93b7f":[()=>Promise.all([n.e("14"),n.e("452")]).then(n.bind(n,5146)),"@site/src/pages/index.tsx",5146],"2aa6d146":[()=>n.e("651").then(n.bind(n,685)),"@site/docs/daemon-mode/system-service.mdx",685],"2b538913":[()=>n.e("283").then(n.bind(n,15)),"@site/docs/integrations/spotify.mdx",15],"35a35434":[()=>n.e("770").then(n.bind(n,7705)),"@site/docs/cli-commands/commands.mdx",7705],"37a27735":[()=>n.e("263").then(n.bind(n,7175)),"@site/docs/reference/provider-fallback.mdx",7175],"449e68eb":[()=>n.e("871").then(n.bind(n,810)),"@site/docs/getting-started/setup.mdx",810],"47fe99a6":[()=>n.e("713").then(n.bind(n,2361)),"@site/docs/integrations/github-companion.mdx",2361],"4df8d22c":[()=>n.e("523").then(n.bind(n,1646)),"@site/docs/daemon-mode/background-mode.mdx",1646],"5e95c892":[()=>n.e("668").then(n.bind(n,6569)),"@theme/DocsRoot",6569],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"6459b84b":[()=>n.e("336").then(n.bind(n,6198)),"@site/docs/getting-started/installation.mdx",6198],"653db0f6":[()=>n.e("904").then(n.bind(n,439)),"@site/docs/reference/skills.mdx",439],"7e0893c3":[()=>n.e("454").then(n.bind(n,2979)),"@site/docs/reference/scheduling.mdx",2979],"8b9e049f":[()=>n.e("203").then(n.bind(n,5699)),"@site/docs/cli-commands/doctor.mdx",5699],a06fff0d:[()=>n.e("225").then(n.bind(n,8019)),"@site/docs/integrations/sub-agents.mdx",8019],a6e053fd:[()=>Promise.all([n.e("14"),n.e("368")]).then(n.bind(n,514)),"@site/docs/daemon-mode/platform-guide.mdx",514],a7456010:[()=>n.e("56").then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a7bd4aaa:[()=>n.e("575").then(n.bind(n,8146)),"@theme/DocVersionRoot",8146],a94703ab:[()=>Promise.all([n.e("14"),n.e("785")]).then(n.bind(n,1399)),"@theme/DocRoot",1399],aba21aa0:[()=>n.e("747").then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],bc430709:[()=>n.e("788").then(n.bind(n,3505)),"@site/docs/getting-started/starting.mdx",3505],c12bbe07:[()=>n.e("624").then(n.bind(n,8494)),"@site/docs/integrations/coding-workspace.mdx",8494],c8078f0a:[()=>n.e("135").then(n.bind(n,7893)),"@site/docs/reference/configuration.mdx",7893],de57ece0:[()=>n.e("650").then(n.bind(n,4995)),"@site/docs/cli-commands/in-chat-commands.mdx",4995],e7df10b1:[()=>n.e("534").then(n.bind(n,5005)),"@site/docs/reference/built-in-tools.mdx",5005],f3244ec3:[()=>n.e("600").then(n.bind(n,9674)),"@site/docs/releases/releases.mdx",9674]};function s({error:e,retry:t,pastDelay:n}){return e?(0,r.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,r.jsx)("p",{children:String(e)}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{type:"button",onClick:t,children:"Retry"})})]}):n?(0,r.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,r.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,r.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,r.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,r.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,r.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var u=n(7665),c=n(7574);function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e("62").then(n.bind(n,629)),modules:["@theme/NotFound"],webpack:()=>[629],render(e,t){let n=e.default;return(0,r.jsx)(c.W,{value:{plugin:{name:"native",id:"default"}},children:(0,r.jsx)(n,{...t})})}});let a=i[`${e}-${t}`],d={},f=[],p=[];return Object.entries((0,u.A)(a)).forEach(([e,t])=>{let n=l[t];n&&(d[e]=n[0],f.push(n[1]),p.push(n[2]))}),o().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){let o=JSON.parse(JSON.stringify(a));Object.entries(t).forEach(([t,n])=>{let r=n.default;if(!r)throw Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);("object"==typeof r||"function"==typeof r)&&Object.keys(n).filter(e=>"default"!==e).forEach(e=>{r[e]=n[e]});let a=o,i=t.split(".");i.slice(0,-1).forEach(e=>{a=a[e]}),a[i[i.length-1]]=r});let i=o.__comp;delete o.__comp;let l=o.__context;delete o.__context;let s=o.__props;return delete o.__props,(0,r.jsx)(c.W,{value:l,children:(0,r.jsx)(i,{...o,...s,...n})})}})}let f=[{path:"/search",component:d("/search","822"),exact:!0},{path:"/docs",component:d("/docs","c0c"),routes:[{path:"/docs",component:d("/docs","37f"),routes:[{path:"/docs",component:d("/docs","3b4"),routes:[{path:"/docs",component:d("/docs","731"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/cli-commands",component:d("/docs/cli-commands/cli-commands","5e0"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/doctor",component:d("/docs/cli-commands/doctor","165"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/cli-commands/in-chat-commands",component:d("/docs/cli-commands/in-chat-commands","3be"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/daemon-mode",component:d("/docs/daemon-mode/daemon-mode","9c7"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/platform-guide",component:d("/docs/daemon-mode/platform-guide","346"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/daemon-mode/system-service",component:d("/docs/daemon-mode/system-service","d3a"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/getting-started/setup",component:d("/docs/getting-started/setup","870"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/getting-started/starting",component:d("/docs/getting-started/starting","449"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/coding-workspace",component:d("/docs/integrations/coding-workspace","2c2"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/github-companion",component:d("/docs/integrations/github-companion","b37"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/spotify",component:d("/docs/integrations/spotify","10e"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/sub-agents",component:d("/docs/integrations/sub-agents","1fe"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/integrations/telegram",component:d("/docs/integrations/telegram","ebc"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/built-in-tools",component:d("/docs/reference/built-in-tools","e86"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/configuration",component:d("/docs/reference/configuration","171"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/permissions",component:d("/docs/reference/permissions","bd4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/provider-fallback",component:d("/docs/reference/provider-fallback","b47"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/scheduling",component:d("/docs/reference/scheduling","0b4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/second-brain",component:d("/docs/reference/second-brain","2c4"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/reference/skills",component:d("/docs/reference/skills","d27"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/releases",component:d("/docs/releases","63f"),exact:!0,sidebar:"docsSidebar"},{path:"/docs/releases/1.1.6",component:d("/docs/releases/1.1.6","57f"),exact:!0,sidebar:"docsSidebar"}]}]}]},{path:"/",component:d("/","e5f"),exact:!0},{path:"*",component:d("*")}]},1173(e,t,n){"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(4848),a=n(6540);let o=a.createContext(!1);function i({children:e}){let[t,n]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{n(!0)},[]),(0,r.jsx)(o.Provider,{value:t,children:e})}},354(e,t,n){"use strict";var r=n(4848),a=n(6540),o=n(5338),i=n(545),l=n(4625),s=n(4784),u=n(1289);let c=[n(7612),n(6464),n(2489),n(3678),n(6448)];var d=n(8460),f=n(6347),p=n(2831);function m({children:e}){return(0,r.jsx)(r.Fragment,{children:e})}var h=n(3899);let g=e=>e.defaultFormatter(e);function y({children:e}){return(0,r.jsx)(h.AL,{formatter:g,children:e})}function b({children:e}){return(0,r.jsx)(y,{children:e})}var v=n(3572),w=n(898),k=n(6497),x=n(1022),S=n(4308),E=n(5243),A=n(5248),C=n(4175);function _(){let{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,w.A)(),a=(0,E.o)(),o=n[e].htmlLang;return(0,r.jsxs)(v.A,{children:[Object.entries(n).map(([e,{htmlLang:t}])=>(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:e,fullyQualified:!0}),hrefLang:t},e)),(0,r.jsx)("link",{rel:"alternate",href:a.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,r.jsx)("meta",{property:"og:locale",content:o.replace("-","_")}),Object.values(n).filter(e=>o!==e.htmlLang).map(e=>(0,r.jsx)("meta",{property:"og:locale:alternate",content:e.htmlLang.replace("-","_")},`meta-og-${e.htmlLang}`))]})}function T({permalink:e}){let{siteConfig:{url:t}}=(0,w.A)(),n=function(){let{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,w.A)(),{pathname:r}=(0,f.zy)();return e+(0,A.applyTrailingSlash)((0,k.Ay)(r),{trailingSlash:n,baseUrl:t})}(),a=e?`${t}${e}`:n;return(0,r.jsxs)(v.A,{children:[(0,r.jsx)("meta",{property:"og:url",content:a}),(0,r.jsx)("link",{rel:"canonical",href:a})]})}function j(){let{i18n:{currentLocale:e}}=(0,w.A)(),{metadata:t,image:n}=(0,x.p)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(v.A,{children:[(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("body",{})]}),n&&(0,r.jsx)(S.be,{image:n}),(0,r.jsx)(T,{}),(0,r.jsx)(_,{}),(0,r.jsx)(C.A,{tag:"default",locale:e}),(0,r.jsx)(v.A,{children:t.map((e,t)=>(0,r.jsx)("meta",{...e},t))})]})}let P=new Map;var N=n(1173),R=n(3587),O=n(9989);function L(e,...t){let n=c.map(n=>{let r=n.default?.[e]??n[e];return r?.(...t)});return()=>n.forEach(e=>e?.())}let D=function({children:e,location:t,previousLocation:n}){return(0,O.A)(()=>{n!==t&&(!function({location:e,previousLocation:t}){if(!t)return;let n=e.pathname===t.pathname,r=e.hash===t.hash,a=e.search===t.search;if(n&&r&&!a)return;let{hash:o}=e;if(o){let e=decodeURIComponent(o.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:t,previousLocation:n}),L("onRouteDidUpdate",{previousLocation:n,location:t}))},[n,t]),e};function I(e){return Promise.all(Array.from(new Set([e,decodeURI(e)])).map(e=>(0,p.u)(d.A,e)).flat().map(e=>e.route.component.preload?.()))}class M extends a.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=u.A.canUseDOM?L("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;let n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=L("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),I(n.pathname).then(()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})}).catch(e=>{console.warn(e),window.location.reload()}),!1}render(){let{children:e,location:t}=this.props;return(0,r.jsx)(D,{previousLocation:this.previousLocation,location:t,children:(0,r.jsx)(f.qh,{location:t,render:()=>e})})}}let F="__docusaurus-base-url-issue-banner-suggestion-container";function z(){let{siteConfig:{baseUrl:e}}=(0,w.A)();return(0,r.jsx)(r.Fragment,{children:!u.A.canUseDOM&&(0,r.jsx)(v.A,{children:(0,r.jsx)("script",{children:`
document.addEventListener('DOMContentLoaded', function maybeInsertBanner() {
var shouldInsert = typeof window['docusaurus'] === 'undefined';
shouldInsert && insertBanner();
@@ -24,7 +24,7 @@ function insertBanner() {
: actualHomePagePath + '/';
suggestionContainer.innerHTML = suggestedBaseUrl;
}
-`})})})}function $(){let{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,w.A)(),{pathname:n}=(0,f.zy)();return t&&n===e?(0,r.jsx)(z,{}):null}function B(){let{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,w.A)(),i=(0,k.Ay)(e),{htmlLang:l,direction:s}=o[a];return(0,r.jsxs)(v.A,{children:[(0,r.jsx)("html",{lang:l,dir:s}),(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,r.jsx)("link",{rel:"icon",href:i})]})}var U=n(1701),q=n(9863);function H(){let e=(0,q.A)();return(0,r.jsx)(v.A,{children:(0,r.jsx)("html",{"data-has-hydrated":e})})}let G=(0,p.v)(d.A);function W(){let e=function(e){if(P.has(e.pathname))return{...e,pathname:P.get(e.pathname)};if((0,p.u)(d.A,e.pathname).some(({route:e})=>!0===e.exact))return P.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return P.set(e.pathname,t),{...e,pathname:t}}((0,f.zy)());return(0,r.jsx)(M,{location:e,children:G})}var V=n(4054);let Q=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("u"<typeof document)return void n();let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var K=n(7665);let Y=new Set,Z=new Set,X=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,J=Object.freeze({prefetch:e=>!(X()||Z.has(e)||Y.has(e))&&(Y.add(e),Promise.all((0,p.u)(d.A,e).flatMap(e=>{let t;return t=e.route.path,Object.entries(V).filter(([e])=>e.replace(/-[^-]+$/,"")===t).flatMap(([,e])=>Object.values((0,K.A)(e)))}).map(e=>{let t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch(()=>{}):Promise.resolve()}))),preload:e=>!(X()||Z.has(e))&&(Z.add(e),I(e))});if(u.A.canUseDOM){window.docusaurus=J;let e=document.getElementById("__docusaurus"),t=(0,r.jsx)(i.vd,{children:(0,r.jsx)(function({children:e}){return"hash"===s.default.future.experimental_router?(0,r.jsx)(l.I9,{children:e}):(0,r.jsx)(l.Kd,{children:e})},{children:(0,r.jsx)(function(){return(0,r.jsx)(U.A,{children:(0,r.jsx)(R.l,{children:(0,r.jsxs)(N.x,{children:[(0,r.jsx)(m,{children:(0,r.jsxs)(b,{children:[(0,r.jsx)(B,{}),(0,r.jsx)(j,{}),(0,r.jsx)($,{}),(0,r.jsx)(W,{})]})}),(0,r.jsx)(H,{})]})})})},{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},u=()=>{window.docusaurusRoot?window.docusaurusRoot.render(t):window.docusaurusRoot=o.hydrateRoot(e,t,{onRecoverableError:n})};I(window.location.pathname).then(()=>{(0,a.startTransition)(u)})}},3587(e,t,n){"use strict";n.d(t,{l:()=>f,o:()=>d});var r=n(4848),a=n(6540),o=n(4784),i=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"getting-started/installation","docs":[{"id":"cli-commands/cli-commands","path":"/docs/cli-commands/cli-commands","sidebar":"docsSidebar"},{"id":"cli-commands/doctor","path":"/docs/cli-commands/doctor","sidebar":"docsSidebar"},{"id":"cli-commands/in-chat-commands","path":"/docs/cli-commands/in-chat-commands","sidebar":"docsSidebar"},{"id":"daemon-mode/daemon-mode","path":"/docs/daemon-mode/daemon-mode","sidebar":"docsSidebar"},{"id":"daemon-mode/platform-guide","path":"/docs/daemon-mode/platform-guide","sidebar":"docsSidebar"},{"id":"daemon-mode/system-service","path":"/docs/daemon-mode/system-service","sidebar":"docsSidebar"},{"id":"getting-started/installation","path":"/docs/","sidebar":"docsSidebar"},{"id":"getting-started/setup","path":"/docs/getting-started/setup","sidebar":"docsSidebar"},{"id":"getting-started/starting","path":"/docs/getting-started/starting","sidebar":"docsSidebar"},{"id":"integrations/github-companion","path":"/docs/integrations/github-companion","sidebar":"docsSidebar"},{"id":"integrations/spotify","path":"/docs/integrations/spotify","sidebar":"docsSidebar"},{"id":"integrations/sub-agents","path":"/docs/integrations/sub-agents","sidebar":"docsSidebar"},{"id":"integrations/telegram","path":"/docs/integrations/telegram","sidebar":"docsSidebar"},{"id":"reference/built-in-tools","path":"/docs/reference/built-in-tools","sidebar":"docsSidebar"},{"id":"reference/configuration","path":"/docs/reference/configuration","sidebar":"docsSidebar"},{"id":"reference/permissions","path":"/docs/reference/permissions","sidebar":"docsSidebar"},{"id":"reference/provider-fallback","path":"/docs/reference/provider-fallback","sidebar":"docsSidebar"},{"id":"reference/scheduling","path":"/docs/reference/scheduling","sidebar":"docsSidebar"},{"id":"reference/second-brain","path":"/docs/reference/second-brain","sidebar":"docsSidebar"},{"id":"reference/skills","path":"/docs/reference/skills","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/docs/","label":"getting-started/installation"}}}}],"breadcrumbs":true}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en","translate":false,"url":"https://mercury.cosmicstack.org","baseUrl":"/"}}}'),s=n(2654),u=JSON.parse('{"docusaurusVersion":"3.10.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-css-cascade-layers":{"type":"package","name":"@docusaurus/plugin-css-cascade-layers","version":"3.10.0"},"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.10.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.10.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.10.0"},"docusaurus-plugin-svgr":{"type":"package","name":"@docusaurus/plugin-svgr","version":"3.10.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.10.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.55.1"}}}');let c={siteConfig:o.default,siteMetadata:u,globalData:i,i18n:l,codeTranslations:s},d=a.createContext(c);function f({children:e}){return(0,r.jsx)(d.Provider,{value:c,children:e})}},1701(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(4848),a=n(6540),o=n(1289),i=n(3572),l=n(5248),s=n(816),u=n(7574);function c({error:e,tryAgain:t}){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,r.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,r.jsx)("button",{type:"button",onClick:t,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,r.jsx)(d,{error:e})]})}function d({error:e}){let t=(0,l.getErrorCausalChain)(e).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:t})}function f({children:e}){return(0,r.jsx)(u.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:e})}function p({error:e,tryAgain:t}){return(0,r.jsx)(f,{children:(0,r.jsxs)(m,{fallback:()=>(0,r.jsx)(c,{error:e,tryAgain:t}),children:[(0,r.jsx)(i.A,{children:(0,r.jsx)("title",{children:"Page Error"})}),(0,r.jsx)(s.A,{children:(0,r.jsx)(c,{error:e,tryAgain:t})})]})})}class m extends a.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.A.canUseDOM&&this.setState({error:e})}render(){let{children:e}=this.props,{error:t}=this.state;return t?(this.props.fallback??(e=>(0,r.jsx)(p,{...e})))({error:t,tryAgain:()=>this.setState({error:null})}):e??null}}},1289(e,t,n){"use strict";n.d(t,{A:()=>a});let r="u">typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},3572(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(545);function o(e){return(0,r.jsx)(a.mg,{...e})}},5310(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(4848),a=n(6540),o=n(4625),i=n(5248),l=n(898),s=n(8310),u=n(1289),c=n(5916),d=n(6497);let f=a.forwardRef(function({isNavLink:e,to:t,href:n,activeClassName:f,isActive:p,"data-noBrokenLinkCheck":m,autoAddBaseUrl:h=!0,...g},y){var b;let{siteConfig:v}=(0,l.A)(),{trailingSlash:w,baseUrl:k}=v,x=v.future.experimental_router,{withBaseUrl:S}=(0,d.hH)(),E=(0,c.A)(),A=(0,a.useRef)(null);(0,a.useImperativeHandle)(y,()=>A.current);let C=t||n,_=(0,s.A)(C),T=C?.replace("pathname://",""),j=void 0!==T?(b=T,h&&b.startsWith("/")?S(b):b):void 0;"hash"===x&&j?.startsWith("./")&&(j=j?.slice(1)),j&&_&&(j=(0,i.applyTrailingSlash)(j,{trailingSlash:w,baseUrl:k}));let P=(0,a.useRef)(!1),N=e?o.k2:o.N_,R=u.A.canUseIntersectionObserver,O=(0,a.useRef)(void 0),L=()=>{P.current||null==j||(window.docusaurus.preload(j),P.current=!0)};(0,a.useEffect)(()=>(!R&&_&&u.A.canUseDOM&&null!=j&&window.docusaurus.prefetch(j),()=>{R&&O.current&&O.current.disconnect()}),[O,j,R,_]);let D=j?.startsWith("#")??!1,I=!g.target||"_self"===g.target,M=!j||!_||!I||D&&"hash"!==x;m||!D&&M||E.collectLink(j),g.id&&E.collectAnchor(g.id);let F={};return M?(0,r.jsx)("a",{ref:A,href:j,...C&&!_&&{target:"_blank",rel:"noopener noreferrer"},...g,...F}):(0,r.jsx)(N,{...g,onMouseEnter:L,onTouchStart:L,innerRef:e=>{A.current=e,R&&e&&_&&(O.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))})}),O.current.observe(e))},to:j,...e&&{isActive:p,activeClassName:f},...F})})},568(e,t,n){"use strict";n.d(t,{A:()=>u,T:()=>s});var r=n(4848),a=n(6540);function o(e,t){let n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){let n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,a.isValidElement)(e))?n.map((e,t)=>(0,a.isValidElement)(e)?a.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n(2654);function l({id:e,message:t}){if(void 0===e&&void 0===t)throw Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[e??t]??t??e}function s({message:e,id:t},n){return o(l({message:e,id:t}),n)}function u({children:e,id:t,values:n}){if(e&&"string"!=typeof e)throw console.warn("Illegal <Translate> children",e),Error("The Docusaurus <Translate> component only accept simple string values");let a=l({message:e,id:t});return(0,r.jsx)(r.Fragment,{children:o(a,n)})}},8977(e,t,n){"use strict";n.d(t,{W:()=>r});let r="default"},8310(e,t,n){"use strict";function r(e){return/^(?:[A-Za-z][A-Za-z\d+.-]*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6497(e,t,n){"use strict";n.d(t,{Ay:()=>l,hH:()=>i});var r=n(6540),a=n(898),o=n(8310);function i(){let{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router;return{withBaseUrl:(0,r.useCallback)((e,r)=>(function({siteUrl:e,baseUrl:t,url:n,options:{forcePrependBaseUrl:r=!1,absolute:a=!1}={},router:i}){if(!n||n.startsWith("#")||(0,o.z)(n))return n;if("hash"===i)return n.startsWith("/")?`.${n}`:`./${n}`;if(r)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;let l=n.startsWith(t)?n:t+n.replace(/^\//,"");return a?e+l:l})({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i])}}function l(e,t={}){let{withBaseUrl:n}=i();return n(e,t)}},5916(e,t,n){"use strict";n.d(t,{A:()=>o}),n(4848);var r=n(6540);let a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}});function o(){return(0,r.useContext)(a)}},898(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(3587);function o(){return(0,r.useContext)(a.o)}},9863(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(1173);function o(){return(0,r.useContext)(a.o)}},9989(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(6540);let a=n(1289).A.canUseDOM?r.useLayoutEffect:r.useEffect},8491(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(7574);function o(){let e=r.useContext(a.o);if(!e)throw Error("Unexpected: no Docusaurus route context found");return e}},7665(e,t,n){"use strict";function r(e){let t={};return!function e(n,r){Object.entries(n).forEach(([n,a])=>{let o=r?`${r}.${n}`:n;"object"==typeof a&&a&&Object.keys(a).length>0?e(a,o):t[o]=a})}(e),t}n.d(t,{A:()=>r})},7574(e,t,n){"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(4848),a=n(6540);let o=a.createContext(null);function i({children:e,value:t}){let n=a.useContext(o),l=(0,a.useMemo)(()=>(function({parent:e,value:t}){if(!e){if(t){if(!("plugin"in t))throw Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute")}else throw Error("Unexpected: no Docusaurus route context found");return t}let n={...e.data,...t?.data};return{plugin:e.plugin,data:n}})({parent:n,value:t}),[n,t]);return(0,r.jsx)(o.Provider,{value:l,children:e})}},2086(e,t,n){"use strict";n.d(t,{VQ:()=>p,g1:()=>m});var r=n(4848),a=n(6540),o=n(698),i=n(8977),l=n(1022),s=n(1367),u=n(2260);let c=e=>`docs-preferred-version-${e}`,d=a.createContext(null);function f({children:e}){let t=function(){let e=(0,o.Gy)(),t=(0,l.p)().docs.versionPersistence,n=(0,a.useMemo)(()=>Object.keys(e),[e]),[r,i]=(0,a.useState)(()=>Object.fromEntries(n.map(e=>[e,{preferredVersionName:null}])));return(0,a.useEffect)(()=>{i(function({pluginIds:e,versionPersistence:t,allDocsData:n}){return Object.fromEntries(e.map(e=>{var r,a;let o,i,l;return[e,(i=e,l=t,o=(0,s.Wf)(c(i),{persistence:l}).get(),n[e].versions.some(e=>e.name===o)?{preferredVersionName:o}:(r=e,a=t,(0,s.Wf)(c(r),{persistence:a}).del(),{preferredVersionName:null}))]}))}({allDocsData:e,versionPersistence:t,pluginIds:n}))},[e,t,n]),[r,(0,a.useMemo)(()=>({savePreferredVersion:function(e,n){var r,a,o;r=e,a=t,o=n,(0,s.Wf)(c(r),{persistence:a}).set(o),i(t=>({...t,[e]:{preferredVersionName:n}}))}}),[t])]}();return(0,r.jsx)(d.Provider,{value:t,children:e})}function p({children:e}){return(0,r.jsx)(f,{children:e})}function m(e=i.W){let t=(0,o.ht)(e),[n,r]=function(){let e=(0,a.useContext)(d);if(!e)throw new u.dV("DocsPreferredVersionContextProvider");return e}(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find(e=>e.name===l)??null,savePreferredVersionName:(0,a.useCallback)(t=>{r.savePreferredVersion(e,t)},[r,e])}}},2473(e,t,n){"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(4848),a=n(6540),o=n(2260);let i=Symbol("EmptyContext"),l=a.createContext(i);function s({children:e,name:t,items:n}){let o=(0,a.useMemo)(()=>t&&n?{name:t,items:n}:null,[t,n]);return(0,r.jsx)(l.Provider,{value:o,children:e})}function u(){let e=(0,a.useContext)(l);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},8260(e,t,n){"use strict";n.d(t,{B5:()=>v,Nr:()=>function e(t){if("link"===t.type&&!t.unlisted)return t.href;if("category"===t.type){if(t.href&&!t.linkUnlisted)return t.href;for(let n of t.items){let t=e(n);if(t)return t}return}},OF:()=>h,QB:()=>b,Vd:()=>g,Y:()=>m,fW:()=>y,w8:()=>p});var r=n(6540),a=n(6347),o=n(2831),i=n(698),l=n(9209),s=n(618),u=n(2086),c=n(921),d=n(2473);let f=(e,t)=>void 0!==e&&(0,l.ys)(e,t);function p(e,t){if("link"===e.type)return f(e.href,t);if("category"===e.type){let n;return f(e.href,t)||(n=e.items,n.some(e=>p(e,t)))}return!1}function m(e,t){return(0,r.useMemo)(()=>e.filter(e=>(function e(t,n){switch(t.type){case"category":return p(t,n)||void 0!==t.href&&!t.linkUnlisted||t.items.some(t=>e(t,n));case"link":return!t.unlisted||p(t,n);default:return!0}})(e,t)),[e,t])}function h(){let e=(0,d.t)(),{pathname:t}=(0,a.zy)();return!1!==(0,i.vT)()?.pluginData.breadcrumbs&&e?function({sidebarItems:e,pathname:t,onlyCategories:n=!1}){let r=[];return!function e(a){for(let o of a)if("category"===o.type){if((0,l.ys)(o.href,t)||e(o.items))return r.unshift(o),!0}else if("link"===o.type&&o.docId&&(0,l.ys)(o.href,t))return n||r.unshift(o),!0;return!1}(e),r}({sidebarItems:e.items,pathname:t}):null}function g(e){let{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,u.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)(()=>(0,s.sb)([t,n,a].filter(Boolean)),[t,n,a])}function y(e,t){let n=g(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}".
+`})})})}function $(){let{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,w.A)(),{pathname:n}=(0,f.zy)();return t&&n===e?(0,r.jsx)(z,{}):null}function B(){let{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,w.A)(),i=(0,k.Ay)(e),{htmlLang:l,direction:s}=o[a];return(0,r.jsxs)(v.A,{children:[(0,r.jsx)("html",{lang:l,dir:s}),(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{property:"og:title",content:t}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,r.jsx)("link",{rel:"icon",href:i})]})}var U=n(1701),q=n(9863);function H(){let e=(0,q.A)();return(0,r.jsx)(v.A,{children:(0,r.jsx)("html",{"data-has-hydrated":e})})}let G=(0,p.v)(d.A);function W(){let e=function(e){if(P.has(e.pathname))return{...e,pathname:P.get(e.pathname)};if((0,p.u)(d.A,e.pathname).some(({route:e})=>!0===e.exact))return P.set(e.pathname,e.pathname),e;let t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return P.set(e.pathname,t),{...e,pathname:t}}((0,f.zy)());return(0,r.jsx)(M,{location:e,children:G})}var V=n(4054);let Q=!function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})}:function(e){return new Promise((t,n)=>{if("u"<typeof document)return void n();let r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();let a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)})};var K=n(7665);let Y=new Set,Z=new Set,X=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,J=Object.freeze({prefetch:e=>!(X()||Z.has(e)||Y.has(e))&&(Y.add(e),Promise.all((0,p.u)(d.A,e).flatMap(e=>{let t;return t=e.route.path,Object.entries(V).filter(([e])=>e.replace(/-[^-]+$/,"")===t).flatMap(([,e])=>Object.values((0,K.A)(e)))}).map(e=>{let t=n.gca(e);return t&&!t.includes("undefined")?Q(t).catch(()=>{}):Promise.resolve()}))),preload:e=>!(X()||Z.has(e))&&(Z.add(e),I(e))});if(u.A.canUseDOM){window.docusaurus=J;let e=document.getElementById("__docusaurus"),t=(0,r.jsx)(i.vd,{children:(0,r.jsx)(function({children:e}){return"hash"===s.default.future.experimental_router?(0,r.jsx)(l.I9,{children:e}):(0,r.jsx)(l.Kd,{children:e})},{children:(0,r.jsx)(function(){return(0,r.jsx)(U.A,{children:(0,r.jsx)(R.l,{children:(0,r.jsxs)(N.x,{children:[(0,r.jsx)(m,{children:(0,r.jsxs)(b,{children:[(0,r.jsx)(B,{}),(0,r.jsx)(j,{}),(0,r.jsx)($,{}),(0,r.jsx)(W,{})]})}),(0,r.jsx)(H,{})]})})})},{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},u=()=>{window.docusaurusRoot?window.docusaurusRoot.render(t):window.docusaurusRoot=o.hydrateRoot(e,t,{onRecoverableError:n})};I(window.location.pathname).then(()=>{(0,a.startTransition)(u)})}},3587(e,t,n){"use strict";n.d(t,{l:()=>f,o:()=>d});var r=n(4848),a=n(6540),o=n(4784),i=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"getting-started/installation","docs":[{"id":"cli-commands/cli-commands","path":"/docs/cli-commands/cli-commands","sidebar":"docsSidebar"},{"id":"cli-commands/doctor","path":"/docs/cli-commands/doctor","sidebar":"docsSidebar"},{"id":"cli-commands/in-chat-commands","path":"/docs/cli-commands/in-chat-commands","sidebar":"docsSidebar"},{"id":"daemon-mode/daemon-mode","path":"/docs/daemon-mode/daemon-mode","sidebar":"docsSidebar"},{"id":"daemon-mode/platform-guide","path":"/docs/daemon-mode/platform-guide","sidebar":"docsSidebar"},{"id":"daemon-mode/system-service","path":"/docs/daemon-mode/system-service","sidebar":"docsSidebar"},{"id":"getting-started/installation","path":"/docs/","sidebar":"docsSidebar"},{"id":"getting-started/setup","path":"/docs/getting-started/setup","sidebar":"docsSidebar"},{"id":"getting-started/starting","path":"/docs/getting-started/starting","sidebar":"docsSidebar"},{"id":"integrations/coding-workspace","path":"/docs/integrations/coding-workspace","sidebar":"docsSidebar"},{"id":"integrations/github-companion","path":"/docs/integrations/github-companion","sidebar":"docsSidebar"},{"id":"integrations/spotify","path":"/docs/integrations/spotify","sidebar":"docsSidebar"},{"id":"integrations/sub-agents","path":"/docs/integrations/sub-agents","sidebar":"docsSidebar"},{"id":"integrations/telegram","path":"/docs/integrations/telegram","sidebar":"docsSidebar"},{"id":"reference/built-in-tools","path":"/docs/reference/built-in-tools","sidebar":"docsSidebar"},{"id":"reference/configuration","path":"/docs/reference/configuration","sidebar":"docsSidebar"},{"id":"reference/permissions","path":"/docs/reference/permissions","sidebar":"docsSidebar"},{"id":"reference/provider-fallback","path":"/docs/reference/provider-fallback","sidebar":"docsSidebar"},{"id":"reference/scheduling","path":"/docs/reference/scheduling","sidebar":"docsSidebar"},{"id":"reference/second-brain","path":"/docs/reference/second-brain","sidebar":"docsSidebar"},{"id":"reference/skills","path":"/docs/reference/skills","sidebar":"docsSidebar"},{"id":"releases/1.1.6","path":"/docs/releases/1.1.6","sidebar":"docsSidebar"},{"id":"releases/releases","path":"/docs/releases/","sidebar":"docsSidebar"}],"draftIds":[],"sidebars":{"docsSidebar":{"link":{"path":"/docs/","label":"getting-started/installation"}}}}],"breadcrumbs":true}}}'),l=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en","translate":false,"url":"https://mercury.cosmicstack.org","baseUrl":"/"}}}'),s=n(2654),u=JSON.parse('{"docusaurusVersion":"3.10.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-css-cascade-layers":{"type":"package","name":"@docusaurus/plugin-css-cascade-layers","version":"3.10.0"},"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.10.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.10.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.10.0"},"docusaurus-plugin-svgr":{"type":"package","name":"@docusaurus/plugin-svgr","version":"3.10.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.10.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.55.1"}}}');let c={siteConfig:o.default,siteMetadata:u,globalData:i,i18n:l,codeTranslations:s},d=a.createContext(c);function f({children:e}){return(0,r.jsx)(d.Provider,{value:c,children:e})}},1701(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(4848),a=n(6540),o=n(1289),i=n(3572),l=n(5248),s=n(816),u=n(7574);function c({error:e,tryAgain:t}){return(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,r.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,r.jsx)("button",{type:"button",onClick:t,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,r.jsx)(d,{error:e})]})}function d({error:e}){let t=(0,l.getErrorCausalChain)(e).map(e=>e.message).join("\n\nCause:\n");return(0,r.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:t})}function f({children:e}){return(0,r.jsx)(u.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:e})}function p({error:e,tryAgain:t}){return(0,r.jsx)(f,{children:(0,r.jsxs)(m,{fallback:()=>(0,r.jsx)(c,{error:e,tryAgain:t}),children:[(0,r.jsx)(i.A,{children:(0,r.jsx)("title",{children:"Page Error"})}),(0,r.jsx)(s.A,{children:(0,r.jsx)(c,{error:e,tryAgain:t})})]})})}class m extends a.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.A.canUseDOM&&this.setState({error:e})}render(){let{children:e}=this.props,{error:t}=this.state;return t?(this.props.fallback??(e=>(0,r.jsx)(p,{...e})))({error:t,tryAgain:()=>this.setState({error:null})}):e??null}}},1289(e,t,n){"use strict";n.d(t,{A:()=>a});let r="u">typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},3572(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(545);function o(e){return(0,r.jsx)(a.mg,{...e})}},5310(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n(4848),a=n(6540),o=n(4625),i=n(5248),l=n(898),s=n(8310),u=n(1289),c=n(5916),d=n(6497);let f=a.forwardRef(function({isNavLink:e,to:t,href:n,activeClassName:f,isActive:p,"data-noBrokenLinkCheck":m,autoAddBaseUrl:h=!0,...g},y){var b;let{siteConfig:v}=(0,l.A)(),{trailingSlash:w,baseUrl:k}=v,x=v.future.experimental_router,{withBaseUrl:S}=(0,d.hH)(),E=(0,c.A)(),A=(0,a.useRef)(null);(0,a.useImperativeHandle)(y,()=>A.current);let C=t||n,_=(0,s.A)(C),T=C?.replace("pathname://",""),j=void 0!==T?(b=T,h&&b.startsWith("/")?S(b):b):void 0;"hash"===x&&j?.startsWith("./")&&(j=j?.slice(1)),j&&_&&(j=(0,i.applyTrailingSlash)(j,{trailingSlash:w,baseUrl:k}));let P=(0,a.useRef)(!1),N=e?o.k2:o.N_,R=u.A.canUseIntersectionObserver,O=(0,a.useRef)(void 0),L=()=>{P.current||null==j||(window.docusaurus.preload(j),P.current=!0)};(0,a.useEffect)(()=>(!R&&_&&u.A.canUseDOM&&null!=j&&window.docusaurus.prefetch(j),()=>{R&&O.current&&O.current.disconnect()}),[O,j,R,_]);let D=j?.startsWith("#")??!1,I=!g.target||"_self"===g.target,M=!j||!_||!I||D&&"hash"!==x;m||!D&&M||E.collectLink(j),g.id&&E.collectAnchor(g.id);let F={};return M?(0,r.jsx)("a",{ref:A,href:j,...C&&!_&&{target:"_blank",rel:"noopener noreferrer"},...g,...F}):(0,r.jsx)(N,{...g,onMouseEnter:L,onTouchStart:L,innerRef:e=>{A.current=e,R&&e&&_&&(O.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=j&&window.docusaurus.prefetch(j))})}),O.current.observe(e))},to:j,...e&&{isActive:p,activeClassName:f},...F})})},568(e,t,n){"use strict";n.d(t,{A:()=>u,T:()=>s});var r=n(4848),a=n(6540);function o(e,t){let n=e.split(/(\{\w+\})/).map((e,n)=>{if(n%2==1){let n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e});return n.some(e=>(0,a.isValidElement)(e))?n.map((e,t)=>(0,a.isValidElement)(e)?a.cloneElement(e,{key:t}):e).filter(e=>""!==e):n.join("")}var i=n(2654);function l({id:e,message:t}){if(void 0===e&&void 0===t)throw Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[e??t]??t??e}function s({message:e,id:t},n){return o(l({message:e,id:t}),n)}function u({children:e,id:t,values:n}){if(e&&"string"!=typeof e)throw console.warn("Illegal <Translate> children",e),Error("The Docusaurus <Translate> component only accept simple string values");let a=l({message:e,id:t});return(0,r.jsx)(r.Fragment,{children:o(a,n)})}},8977(e,t,n){"use strict";n.d(t,{W:()=>r});let r="default"},8310(e,t,n){"use strict";function r(e){return/^(?:[A-Za-z][A-Za-z\d+.-]*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6497(e,t,n){"use strict";n.d(t,{Ay:()=>l,hH:()=>i});var r=n(6540),a=n(898),o=n(8310);function i(){let{siteConfig:e}=(0,a.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router;return{withBaseUrl:(0,r.useCallback)((e,r)=>(function({siteUrl:e,baseUrl:t,url:n,options:{forcePrependBaseUrl:r=!1,absolute:a=!1}={},router:i}){if(!n||n.startsWith("#")||(0,o.z)(n))return n;if("hash"===i)return n.startsWith("/")?`.${n}`:`./${n}`;if(r)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;let l=n.startsWith(t)?n:t+n.replace(/^\//,"");return a?e+l:l})({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i])}}function l(e,t={}){let{withBaseUrl:n}=i();return n(e,t)}},5916(e,t,n){"use strict";n.d(t,{A:()=>o}),n(4848);var r=n(6540);let a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}});function o(){return(0,r.useContext)(a)}},898(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(3587);function o(){return(0,r.useContext)(a.o)}},9863(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(1173);function o(){return(0,r.useContext)(a.o)}},9989(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(6540);let a=n(1289).A.canUseDOM?r.useLayoutEffect:r.useEffect},8491(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(7574);function o(){let e=r.useContext(a.o);if(!e)throw Error("Unexpected: no Docusaurus route context found");return e}},7665(e,t,n){"use strict";function r(e){let t={};return!function e(n,r){Object.entries(n).forEach(([n,a])=>{let o=r?`${r}.${n}`:n;"object"==typeof a&&a&&Object.keys(a).length>0?e(a,o):t[o]=a})}(e),t}n.d(t,{A:()=>r})},7574(e,t,n){"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(4848),a=n(6540);let o=a.createContext(null);function i({children:e,value:t}){let n=a.useContext(o),l=(0,a.useMemo)(()=>(function({parent:e,value:t}){if(!e){if(t){if(!("plugin"in t))throw Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute")}else throw Error("Unexpected: no Docusaurus route context found");return t}let n={...e.data,...t?.data};return{plugin:e.plugin,data:n}})({parent:n,value:t}),[n,t]);return(0,r.jsx)(o.Provider,{value:l,children:e})}},2086(e,t,n){"use strict";n.d(t,{VQ:()=>p,g1:()=>m});var r=n(4848),a=n(6540),o=n(698),i=n(8977),l=n(1022),s=n(1367),u=n(2260);let c=e=>`docs-preferred-version-${e}`,d=a.createContext(null);function f({children:e}){let t=function(){let e=(0,o.Gy)(),t=(0,l.p)().docs.versionPersistence,n=(0,a.useMemo)(()=>Object.keys(e),[e]),[r,i]=(0,a.useState)(()=>Object.fromEntries(n.map(e=>[e,{preferredVersionName:null}])));return(0,a.useEffect)(()=>{i(function({pluginIds:e,versionPersistence:t,allDocsData:n}){return Object.fromEntries(e.map(e=>{var r,a;let o,i,l;return[e,(i=e,l=t,o=(0,s.Wf)(c(i),{persistence:l}).get(),n[e].versions.some(e=>e.name===o)?{preferredVersionName:o}:(r=e,a=t,(0,s.Wf)(c(r),{persistence:a}).del(),{preferredVersionName:null}))]}))}({allDocsData:e,versionPersistence:t,pluginIds:n}))},[e,t,n]),[r,(0,a.useMemo)(()=>({savePreferredVersion:function(e,n){var r,a,o;r=e,a=t,o=n,(0,s.Wf)(c(r),{persistence:a}).set(o),i(t=>({...t,[e]:{preferredVersionName:n}}))}}),[t])]}();return(0,r.jsx)(d.Provider,{value:t,children:e})}function p({children:e}){return(0,r.jsx)(f,{children:e})}function m(e=i.W){let t=(0,o.ht)(e),[n,r]=function(){let e=(0,a.useContext)(d);if(!e)throw new u.dV("DocsPreferredVersionContextProvider");return e}(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find(e=>e.name===l)??null,savePreferredVersionName:(0,a.useCallback)(t=>{r.savePreferredVersion(e,t)},[r,e])}}},2473(e,t,n){"use strict";n.d(t,{V:()=>s,t:()=>u});var r=n(4848),a=n(6540),o=n(2260);let i=Symbol("EmptyContext"),l=a.createContext(i);function s({children:e,name:t,items:n}){let o=(0,a.useMemo)(()=>t&&n?{name:t,items:n}:null,[t,n]);return(0,r.jsx)(l.Provider,{value:o,children:e})}function u(){let e=(0,a.useContext)(l);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},8260(e,t,n){"use strict";n.d(t,{B5:()=>v,Nr:()=>function e(t){if("link"===t.type&&!t.unlisted)return t.href;if("category"===t.type){if(t.href&&!t.linkUnlisted)return t.href;for(let n of t.items){let t=e(n);if(t)return t}return}},OF:()=>h,QB:()=>b,Vd:()=>g,Y:()=>m,fW:()=>y,w8:()=>p});var r=n(6540),a=n(6347),o=n(2831),i=n(698),l=n(9209),s=n(618),u=n(2086),c=n(921),d=n(2473);let f=(e,t)=>void 0!==e&&(0,l.ys)(e,t);function p(e,t){if("link"===e.type)return f(e.href,t);if("category"===e.type){let n;return f(e.href,t)||(n=e.items,n.some(e=>p(e,t)))}return!1}function m(e,t){return(0,r.useMemo)(()=>e.filter(e=>(function e(t,n){switch(t.type){case"category":return p(t,n)||void 0!==t.href&&!t.linkUnlisted||t.items.some(t=>e(t,n));case"link":return!t.unlisted||p(t,n);default:return!0}})(e,t)),[e,t])}function h(){let e=(0,d.t)(),{pathname:t}=(0,a.zy)();return!1!==(0,i.vT)()?.pluginData.breadcrumbs&&e?function({sidebarItems:e,pathname:t,onlyCategories:n=!1}){let r=[];return!function e(a){for(let o of a)if("category"===o.type){if((0,l.ys)(o.href,t)||e(o.items))return r.unshift(o),!0}else if("link"===o.type&&o.docId&&(0,l.ys)(o.href,t))return n||r.unshift(o),!0;return!1}(e),r}({sidebarItems:e.items,pathname:t}):null}function g(e){let{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,u.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)(()=>(0,s.sb)([t,n,a].filter(Boolean)),[t,n,a])}function y(e,t){let n=g(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.sidebars?Object.entries(e.sidebars):[]),r=t.find(t=>t[0]===e);if(!r)throw Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map(e=>e.name).join(", ")}".
Available sidebar ids are:
- ${t.map(e=>e[0]).join("\n- ")}`);return r[1]},[e,n])}function b(e,t){let n=g(t);return(0,r.useMemo)(()=>{let t=n.flatMap(e=>e.docs),r=t.find(t=>t.id===e);if(!r){if(n.flatMap(e=>e.draftIds).includes(e))return null;throw Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map(e=>e.name).join(", ")}".
Available doc ids are:
@@ -35,4 +35,4 @@ Please double-check the following navbar item (themeConfig.navbar.items) of your
${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,r.jsx)(e$,{...e})},t))})}function e0({left:e,right:t}){return(0,r.jsxs)("div",{className:"navbar__inner",children:[(0,r.jsx)("div",{className:(0,o.A)(h.G.layout.navbar.containerLeft,"navbar__items"),children:e}),(0,r.jsx)("div",{className:(0,o.A)(h.G.layout.navbar.containerRight,"navbar__items navbar__items--right"),children:t})]})}function e1(){let e=(0,S.M)(),t=(0,y.p)().navbar.items,[n,a]=function(e){function t(e){return(e.position??"right")==="left"}return[e.filter(t),e.filter(e=>!t(e))]}(t),o=t.find(e=>"search"===e.type);return(0,r.jsx)(e0,{left:(0,r.jsxs)(r.Fragment,{children:[!e.disabled&&(0,r.jsx)(eX,{}),(0,r.jsx)(q,{}),(0,r.jsx)(eJ,{items:n})]}),right:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eJ,{items:a}),(0,r.jsx)(B,{className:"colorModeToggle_DEke"}),!o&&(0,r.jsx)(eI,{children:(0,r.jsx)(eD,{})})]})})}function e2(){return(0,r.jsx)(eW,{children:(0,r.jsx)(e1,{})})}function e4({item:e}){let{to:t,href:n,label:a,prependBaseUrlToHref:i,className:l,...s}=e,u=(0,V.Ay)(t),c=(0,V.Ay)(n,{forcePrependBaseUrl:!0});return(0,r.jsxs)(W.A,{className:(0,o.A)("footer__link-item",l),...n?{href:i?c:n}:{to:u},...s,children:[a,n&&!(0,Q.A)(n)&&(0,r.jsx)(Y.A,{})]})}function e3({item:e}){return e.html?(0,r.jsx)("li",{className:(0,o.A)("footer__item",e.className),dangerouslySetInnerHTML:{__html:e.html}}):(0,r.jsx)("li",{className:"footer__item",children:(0,r.jsx)(e4,{item:e})},e.href??e.to)}function e5({column:e}){return(0,r.jsxs)("div",{className:(0,o.A)(h.G.layout.footer.column,"col footer__col",e.className),children:[(0,r.jsx)("div",{className:"footer__title",children:e.title}),(0,r.jsx)("ul",{className:"footer__items clean-list",children:e.items.map((e,t)=>(0,r.jsx)(e3,{item:e},t))})]})}function e8({columns:e}){return(0,r.jsx)("div",{className:"row footer__links",children:e.map((e,t)=>(0,r.jsx)(e5,{column:e},t))})}function e6(){return(0,r.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function e9({item:e}){return e.html?(0,r.jsx)("span",{className:(0,o.A)("footer__link-item",e.className),dangerouslySetInnerHTML:{__html:e.html}}):(0,r.jsx)(e4,{item:e})}function e7({links:e}){return(0,r.jsx)("div",{className:"footer__links text--center",children:(0,r.jsx)("div",{className:"footer__links",children:e.map((t,n)=>(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(e9,{item:t}),e.length!==n+1&&(0,r.jsx)(e6,{})]},n))})})}function te({links:e}){return"title"in e[0]?(0,r.jsx)(e8,{columns:e}):(0,r.jsx)(e7,{links:e})}var tt=n(8586);function tn({logo:e}){let{withBaseUrl:t}=(0,V.hH)(),n={light:t(e.src),dark:t(e.srcDark??e.src)};return(0,r.jsx)(tt.A,{className:(0,o.A)("footer__logo",e.className),alt:e.alt,sources:n,width:e.width,height:e.height,style:e.style})}function tr({logo:e}){return e.href?(0,r.jsx)(W.A,{href:e.href,className:"footerLogoLink_BH7S",target:e.target,children:(0,r.jsx)(tn,{logo:e})}):(0,r.jsx)(tn,{logo:e})}function ta({copyright:e}){return(0,r.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:e}})}function to({style:e,links:t,logo:n,copyright:a}){return(0,r.jsx)("footer",{className:(0,o.A)(h.G.layout.footer.container,"footer",{"footer--dark":"dark"===e}),children:(0,r.jsxs)("div",{className:"container container-fluid",children:[t,(n||a)&&(0,r.jsxs)("div",{className:"footer__bottom text--center",children:[n&&(0,r.jsx)("div",{className:"margin-bottom--sm",children:n}),a]})]})})}let ti=a.memo(function(){let{footer:e}=(0,y.p)();if(!e)return null;let{copyright:t,links:n,logo:a,style:o}=e;return(0,r.jsx)(to,{style:o,links:n&&n.length>0&&(0,r.jsx)(te,{links:n}),logo:a&&(0,r.jsx)(tr,{logo:a}),copyright:t&&(0,r.jsx)(ta,{copyright:t})})}),tl=(0,A.fM)([R.a,b.o,E.Tv,eL.VQ,l.Jx,function({children:e}){return(0,r.jsx)(C.y_,{children:(0,r.jsx)(S.e,{children:(0,r.jsx)(T,{children:e})})})}]);function ts({children:e}){return(0,r.jsx)(tl,{children:e})}var tu=n(2072);function tc({error:e,tryAgain:t}){return(0,r.jsx)("main",{className:"container margin-vert--xl",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,r.jsx)(tu.A,{as:"h1",className:"hero__title",children:(0,r.jsx)(u.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,r.jsx)("div",{className:"margin-vert--lg",children:(0,r.jsx)(eQ,{onClick:t,className:"button button--primary shadow--lw"})}),(0,r.jsx)("hr",{}),(0,r.jsx)("div",{className:"margin-vert--md",children:(0,r.jsx)(eK,{error:e})})]})})})}function td(e){let{children:t,noFooter:n,wrapperClassName:a,title:s,description:u}=e;return(0,r.jsxs)(ts,{children:[(0,r.jsx)(l.be,{title:s,description:u}),(0,r.jsx)(g,{}),(0,r.jsx)(x,{}),(0,r.jsx)(e2,{}),(0,r.jsx)("div",{id:d,className:(0,o.A)(h.G.layout.main.container,h.G.wrapper.main,"mainWrapper_z2l0",a),children:(0,r.jsx)(i.A,{fallback:e=>(0,r.jsx)(tc,{...e}),children:t})}),!n&&(0,r.jsx)(ti,{})]})}},5153(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(4848);n(6540);var a=n(5310),o=n(6497),i=n(898),l=n(1022),s=n(8586);function u({logo:e,alt:t,imageClassName:n}){let a={light:(0,o.Ay)(e.src),dark:(0,o.Ay)(e.srcDark||e.src)},i=(0,r.jsx)(s.A,{className:e.className,sources:a,height:e.height,width:e.width,alt:t,style:e.style});return n?(0,r.jsx)("div",{className:n,children:i}):i}function c(e){let{siteConfig:{title:t}}=(0,i.A)(),{navbar:{title:n,logo:s}}=(0,l.p)(),{imageClassName:c,titleClassName:d,...f}=e,p=(0,o.Ay)(s?.href||"/"),m=s?.alt??(n?"":t);return(0,r.jsxs)(a.A,{to:p,...f,...s?.target&&{target:s.target},children:[s&&(0,r.jsx)(u,{logo:s,alt:m,imageClassName:c}),null!=n&&(0,r.jsx)("b",{className:d,children:n})]})}},4175(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(3572);function o({locale:e,version:t,tag:n}){return(0,r.jsxs)(a.A,{children:[e&&(0,r.jsx)("meta",{name:"docusaurus_locale",content:e}),t&&(0,r.jsx)("meta",{name:"docusaurus_version",content:t}),n&&(0,r.jsx)("meta",{name:"docusaurus_tag",content:n}),e&&(0,r.jsx)("meta",{name:"docsearch:language",content:e}),t&&(0,r.jsx)("meta",{name:"docsearch:version",content:t}),n&&(0,r.jsx)("meta",{name:"docsearch:docusaurus_tag",content:n})]})}},8586(e,t,n){"use strict";n.d(t,{A:()=>c});var r=n(4848),a=n(6540),o=n(4164),i=n(9863),l=n(3941);let s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};function u({className:e,children:t}){let n=(0,i.A)(),{colorMode:c}=(0,l.G)();return(0,r.jsx)(r.Fragment,{children:(n?"dark"===c?["dark"]:["light"]:["light","dark"]).map(n=>{let i=t({theme:n,className:(0,o.A)(e,s.themedComponent,s[`themedComponent--${n}`])});return(0,r.jsx)(a.Fragment,{children:i},n)})})}function c(e){let{sources:t,className:n,alt:a,...o}=e;return(0,r.jsx)(u,{className:n,children:({theme:e,className:n})=>(0,r.jsx)("img",{src:t[e],alt:a,className:n,...o})})}},9510(e,t,n){"use strict";n.d(t,{N:()=>p,u:()=>l});var r=n(4848),a=n(6540),o=n(9989),i=n(269);function l({initialState:e}){let[t,n]=(0,a.useState)(e??!1),r=(0,a.useCallback)(()=>{n(e=>!e)},[]);return{collapsed:t,setCollapsed:n,toggleCollapsed:r}}let s={display:"none",overflow:"hidden",height:"0px"},u={display:"block",overflow:"visible",height:"auto"};function c(e,t){let n=t?s:u;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function d({as:e="div",collapsed:t,children:n,animation:o,onCollapseTransitionEnd:l,className:u}){let f=(0,a.useRef)(null);return!function({collapsibleRef:e,collapsed:t,animation:n}){let r=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let a,o=e.current;function l(){let e,t,r,a=(e=o.scrollHeight,t=n?.duration??function(e){if((0,i.O)())return 1;let t=e/36;return Math.round((4+15*t**.25+t/5)*10)}(e),r=n?.easing??"ease-in-out",{transition:`height ${t}ms ${r}`,height:`${e}px`});o.style.transition=a.transition,o.style.height=a.height}if(!r.current){c(o,t),r.current=!0;return}return o.style.willChange="height",a=requestAnimationFrame(()=>{t?(l(),requestAnimationFrame(()=>{o.style.height=s.height,o.style.overflow=s.overflow})):(o.style.display="block",requestAnimationFrame(()=>{l()}))}),()=>cancelAnimationFrame(a)},[e,t,n])}({collapsibleRef:f,collapsed:t,animation:o}),(0,r.jsx)(e,{ref:f,onTransitionEnd:e=>{"height"===e.propertyName&&(c(f.current,t),l?.(t))},className:u,children:n})}function f({collapsed:e,...t}){let[n,i]=(0,a.useState)(!e),[l,s]=(0,a.useState)(e);return(0,o.A)(()=>{e||i(!0)},[e]),(0,o.A)(()=>{n&&s(e)},[n,e]),n?(0,r.jsx)(d,{...t,collapsed:l}):null}function p({lazy:e,...t}){return(0,r.jsx)(e?f:d,{...t})}},3337(e,t,n){"use strict";n.d(t,{M:()=>m,o:()=>p});var r=n(4848),a=n(6540),o=n(9863),i=n(1367),l=n(2260),s=n(1022);let u=(0,i.Wf)("docusaurus.announcement.dismiss"),c=(0,i.Wf)("docusaurus.announcement.id"),d=e=>u.set(String(e)),f=a.createContext(null);function p({children:e}){let t=function(){let{announcementBar:e}=(0,s.p)(),t=(0,o.A)(),[n,r]=(0,a.useState)(()=>!!t&&"true"===u.get());(0,a.useEffect)(()=>{r("true"===u.get())},[]);let i=(0,a.useCallback)(()=>{d(!0),r(!0)},[]);return(0,a.useEffect)(()=>{if(!e)return;let{id:t}=e,n=c.get();"annoucement-bar"===n&&(n="announcement-bar");let a=t!==n;c.set(t),a&&d(!1),(a||"true"!==u.get())&&r(!1)},[e]),(0,a.useMemo)(()=>({isActive:!!e&&!n,close:i}),[e,n,i])}();return(0,r.jsx)(f.Provider,{value:t,children:e})}function m(){let e=(0,a.useContext)(f);if(!e)throw new l.dV("AnnouncementBarProvider");return e}},3941(e,t,n){"use strict";n.d(t,{G:()=>w,a:()=>v});var r=n(4848),a=n(6540),o=n(9863),i=n(2260),l=n(1367),s=n(1022);function u(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}let c=a.createContext(void 0),d=(0,l.Wf)("theme"),f="system",p=e=>"dark"===e?"dark":"light",m=e=>null===e||e===f?null:p(e),h=()=>p(document.documentElement.getAttribute("data-theme")),g=e=>{document.documentElement.setAttribute("data-theme",p(e))},y=()=>m(document.documentElement.getAttribute("data-theme-choice")),b=e=>{document.documentElement.setAttribute("data-theme-choice",m(e)??f)};function v({children:e}){let t=function(){let{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),{colorMode:r,setColorModeState:i,colorModeChoice:l,setColorModeChoiceState:c}=function(){let{colorMode:{defaultMode:e}}=(0,s.p)(),t=(0,o.A)(),[n,r]=(0,a.useState)(t?h():e),[i,l]=(0,a.useState)(t?y():null);return(0,a.useEffect)(()=>{r(h()),l(y())},[]),{colorMode:n,setColorModeState:r,colorModeChoice:i,setColorModeChoiceState:l}}();(0,a.useEffect)(()=>{t&&d.del()},[t]);let f=(0,a.useCallback)((t,r={})=>{let{persist:a=!0}=r;if(null===t){let t=n?u():e;g(t),i(t),b(null),c(null)}else g(t),b(t),i(t),c(t);a&&(null===t?d.del():d.set(p(t)))},[i,c,n,e]);return(0,a.useEffect)(()=>d.listen(e=>{f(m(e.newValue))}),[f]),(0,a.useEffect)(()=>{if(null===l&&n){var e,t;let n;return e=e=>{i(e),g(e)},t=()=>e(u()),(n=window.matchMedia("(prefers-color-scheme: dark)")).addEventListener("change",t),()=>n.removeEventListener("change",t)}},[n,l,i]),(0,a.useMemo)(()=>({colorMode:r,colorModeChoice:l,setColorMode:f,get isDarkTheme(){return"dark"===r},setLightTheme(){f("light")},setDarkTheme(){f("dark")}}),[r,l,f])}();return(0,r.jsx)(c.Provider,{value:t,children:e})}function w(){let e=(0,a.useContext)(c);if(null==e)throw new i.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},9965(e,t,n){"use strict";n.d(t,{M:()=>p,e:()=>f});var r=n(4848),a=n(6540),o=n(7e3),i=n(3741),l=n(6629),s=n(1022),u=n(2260);let c=a.createContext(void 0);function d({handler:e}){return(0,l.$Z)(e),null}function f({children:e}){let t=function(){let e=function(){let e=(0,o.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,i.l)(),n=!e&&"mobile"===t,[r,l]=(0,a.useState)(!1),u=(0,a.useCallback)(()=>{l(e=>!e)},[]);return(0,a.useEffect)(()=>{"desktop"===t&&l(!1)},[t]),(0,a.useMemo)(()=>({disabled:e,shouldRender:n,toggle:u,shown:r}),[e,n,u,r])}();return(0,r.jsxs)(r.Fragment,{children:[t.shown&&(0,r.jsx)(d,{handler:()=>(t.toggle(),!1)}),(0,r.jsx)(c.Provider,{value:t,children:e})]})}function p(){let e=a.useContext(c);if(void 0===e)throw new u.dV("NavbarMobileSidebarProvider");return e}},7e3(e,t,n){"use strict";n.d(t,{GX:()=>u,YL:()=>s,y_:()=>l});var r=n(4848),a=n(6540),o=n(2260);let i=a.createContext(null);function l({children:e}){let t=(0,a.useState)({component:null,props:null});return(0,r.jsx)(i.Provider,{value:t,children:e})}function s(){let e=(0,a.useContext)(i);if(!e)throw new o.dV("NavbarSecondaryMenuContentProvider");return e[0]}function u({component:e,props:t}){let n=(0,a.useContext)(i);if(!n)throw new o.dV("NavbarSecondaryMenuContentProvider");let[,r]=n,l=(0,o.Be)(t);return(0,a.useEffect)(()=>{r({component:e,props:l})},[r,e,l]),(0,a.useEffect)(()=>()=>r({component:null,props:null}),[r]),null}},3741(e,t,n){"use strict";n.d(t,{l:()=>o});var r=n(6540),a=n(1289);function o({desktopBreakpoint:e=996}={}){let[t,n]=(0,r.useState)(()=>"ssr");return(0,r.useEffect)(()=>{function t(){n(function(e){if(!a.A.canUseDOM)throw Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?"desktop":"mobile"}(e))}return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[e]),t}},8287(e,t,n){"use strict";n.d(t,{G:()=>r});let r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",admonitionType:e=>`theme-admonition-${e}`},announcementBar:{container:"theme-announcement-bar"},tabs:{container:"theme-tabs-container"},layout:{navbar:{container:"theme-layout-navbar",containerLeft:"theme-layout-navbar-left",containerRight:"theme-layout-navbar-right",mobileSidebar:{container:"theme-layout-navbar-sidebar",panel:"theme-layout-navbar-sidebar-panel"}},main:{container:"theme-layout-main"},footer:{container:"theme-layout-footer",column:"theme-layout-footer-column"}},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`,docCard:{container:"theme-doc-card-container",heading:"theme-doc-card-heading",icon:"theme-doc-card-icon",title:"theme-doc-card-title",description:"theme-doc-card-description"}},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},269(e,t,n){"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},4727(e,t,n){"use strict";n.d(t,{v:()=>a});var r=n(1022);function a(e){let{navbar:{hideOnScroll:t}}=(0,r.p)();if(void 0!==e)return t?"anchorTargetHideOnScrollNavbar_vjPI":"anchorTargetStickyNavbar_Vzrq"}},6629(e,t,n){"use strict";n.d(t,{$Z:()=>i,Hl:()=>l,aZ:()=>s,jy:()=>u});var r=n(6540),a=n(6347),o=n(2260);function i(e){let t,n;t=(0,a.W6)(),n=(0,o._q)((t,n)=>{if("POP"===n)return e(t,n)}),(0,r.useEffect)(()=>t.block((e,t)=>n(e,t)),[t,n])}function l(e){let t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,()=>e(t),()=>e({...t,location:{...t.location,search:"",hash:"",state:void 0}}))}function s(e){return l(t=>null===e?null:new URLSearchParams(t.location.search).get(e))}function u(e,t){let n=(function(e,t){let n=new URLSearchParams;for(let r of e)for(let[e,a]of r.entries())"append"===t?n.append(e,a):n.set(e,a);return n})(e.map(e=>new URLSearchParams(e??"")),t).toString();return n?`?${n}`:n}},618(e,t,n){"use strict";function r(e,t=(e,t)=>e===t){return e.filter((n,r)=>e.findIndex(e=>t(e,n))!==r)}function a(e){return Array.from(new Set(e))}n.d(t,{XI:()=>r,sb:()=>a})},4308(e,t,n){"use strict";n.d(t,{Jx:()=>y,be:()=>m,e3:()=>g});var r=n(4848),a=n(6540),o=n(4164),i=n(3572),l=n(8491),s=n(6497),u=n(3899);function c({title:e}){let t=(0,u.s$)().format(e);return(0,r.jsxs)(i.A,{children:[(0,r.jsx)("title",{children:t}),(0,r.jsx)("meta",{property:"og:title",content:t})]})}function d({description:e}){return(0,r.jsxs)(i.A,{children:[(0,r.jsx)("meta",{name:"description",content:e}),(0,r.jsx)("meta",{property:"og:description",content:e})]})}function f({image:e}){let{withBaseUrl:t}=(0,s.hH)(),n=t(e,{absolute:!0});return(0,r.jsxs)(i.A,{children:[(0,r.jsx)("meta",{property:"og:image",content:n}),(0,r.jsx)("meta",{name:"twitter:image",content:n})]})}function p({keywords:e}){return(0,r.jsx)(i.A,{children:(0,r.jsx)("meta",{name:"keywords",content:Array.isArray(e)?e.join(","):e})})}function m({title:e,description:t,keywords:n,image:a,children:o}){return(0,r.jsxs)(r.Fragment,{children:[e&&(0,r.jsx)(c,{title:e}),t&&(0,r.jsx)(d,{description:t}),n&&(0,r.jsx)(p,{keywords:n}),a&&(0,r.jsx)(f,{image:a}),o&&(0,r.jsx)(i.A,{children:o})]})}let h=a.createContext(void 0);function g({className:e,children:t}){let n=a.useContext(h),l=(0,o.A)(n,e);return(0,r.jsxs)(h.Provider,{value:l,children:[(0,r.jsx)(i.A,{children:(0,r.jsx)("html",{className:l})}),t]})}function y({children:e}){var t;let n=(0,l.A)(),a=(t=n.plugin.name,`plugin-${t.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`),i=`plugin-id-${n.plugin.id}`;return(0,r.jsx)(g,{className:(0,o.A)(a,i),children:e})}},2260(e,t,n){"use strict";n.d(t,{Be:()=>u,ZC:()=>l,_q:()=>i,dV:()=>s,fM:()=>c});var r=n(4848),a=n(6540),o=n(9989);function i(e){let t=(0,a.useRef)(e);return(0,o.A)(()=>{t.current=e},[e]),(0,a.useCallback)((...e)=>t.current(...e),[])}function l(e){let t=(0,a.useRef)(void 0);return(0,o.A)(()=>{t.current=e}),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function u(e){let t=Object.entries(e);return t.sort((e,t)=>e[0].localeCompare(t[0])),(0,a.useMemo)(()=>e,t.flat())}function c(e){return({children:t})=>(0,r.jsx)(r.Fragment,{children:e.reduceRight((e,t)=>(0,r.jsx)(t,{children:e}),t)})}},9209(e,t,n){"use strict";n.d(t,{Dt:()=>l,ys:()=>i});var r=n(6540),a=n(8460),o=n(898);function i(e,t){let n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){let{baseUrl:e}=(0,o.A)().siteConfig;return(0,r.useMemo)(()=>(function({baseUrl:e,routes:t}){function n(t){return t.path===e&&!0===t.exact}function r(t){return t.path===e&&!t.exact}return function e(t){if(0===t.length)return;let a=t.find(n);return a||e(t.filter(r).flatMap(e=>e.routes??[]))}(t)})({routes:a.A,baseUrl:e}),[e])}},8584(e,t,n){"use strict";n.d(t,{Mq:()=>p,Tv:()=>c,a_:()=>m,gk:()=>h});var r=n(4848),a=n(6540),o=n(1289),i=n(9863),l=n(9989),s=n(2260);let u=a.createContext(void 0);function c({children:e}){let t,n=(t=(0,a.useRef)(!0),(0,a.useMemo)(()=>({scrollEventsEnabledRef:t,enableScrollEvents:()=>{t.current=!0},disableScrollEvents:()=>{t.current=!1}}),[]));return(0,r.jsx)(u.Provider,{value:n,children:e})}function d(){let e=(0,a.useContext)(u);if(null==e)throw new s.dV("ScrollControllerProvider");return e}let f=()=>o.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t=[]){let{scrollEventsEnabledRef:n}=d(),r=(0,a.useRef)(f()),o=(0,s._q)(e);(0,a.useEffect)(()=>{let e=()=>{if(!n.current)return;let e=f();o(e,r.current),r.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)},[o,n,...t])}function m(){let e,t,n,r=d(),o=(e=(0,a.useRef)({elem:null,top:0}),t=(0,a.useCallback)(t=>{e.current={elem:t,top:t.getBoundingClientRect().top}},[]),n=(0,a.useCallback)(()=>{let{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};let r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}},[]),(0,a.useMemo)(()=>({save:t,restore:n}),[n,t])),i=(0,a.useRef)(void 0),s=(0,a.useCallback)(e=>{o.save(e),r.disableScrollEvents(),i.current=()=>{let{restored:e}=o.restore();if(i.current=void 0,e){let e=()=>{r.enableScrollEvents(),window.removeEventListener("scroll",e)};window.addEventListener("scroll",e)}else r.enableScrollEvents()}},[r,o]);return(0,l.A)(()=>{queueMicrotask(()=>i.current?.())}),{blockElementScrollPositionUntilNextRender:s}}function h(){let e=(0,a.useRef)(null),t=(0,i.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{let r,a;e.current=t?(window.scrollTo({top:n,behavior:"smooth"}),()=>{}):(r=null,a=document.documentElement.scrollTop>n,!function e(){let t=document.documentElement.scrollTop;(a&&t>n||!a&&t<n)&&(r=requestAnimationFrame(e),window.scrollTo(0,Math.floor((t-n)*.85)+n))}(),()=>r&&cancelAnimationFrame(r))},cancelScroll:()=>e.current?.()}}},1367(e,t,n){"use strict";n.d(t,{Wf:()=>u,Dv:()=>c});var r=n(6540),a=JSON.parse('{"N":"localStorage","M":"-f74"}');let o=a.N;function i({key:e,oldValue:t,newValue:n,storage:r}){if(t===n)return;let a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,e,t,n,window.location.href,r),window.dispatchEvent(a)}let l=!1,s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function u(e,t){let n=`${e}${a.M}`;if("u"<typeof window){function r(){throw Error(`Illegal storage API usage for storage key "${n}".
Docusaurus storage APIs are not supposed to be called on the server-rendering process.
Please only call storage APIs in effects and event handlers.`)}return{get:r,set:r,del:r,listen:r}}let u=function(e=o){if("u"<typeof window)throw Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(e){var t;return t=e,l||(console.warn(`Docusaurus browser storage is not available.
-Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,t),l=!0),null}}(t?.persistence);return null===u?s:{get:()=>{try{return u.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{let t=u.getItem(n);u.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{let e=u.getItem(n);u.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,e),()=>{}}}}}function c(e,t){let[n]=(0,r.useState)(()=>null===e?s:u(e,t)),a=(0,r.useCallback)(e=>"u"<typeof window?()=>{}:n.listen(e),[n]);return[(0,r.useSyncExternalStore)(a,()=>n.get(),()=>null),n]}},3899(e,t,n){"use strict";n.d(t,{AL:()=>c,s$:()=>d});var r=n(4848),a=n(6540),o=n(898),i=n(8491),l=n(2260);let s=({title:e,siteTitle:t,titleDelimiter:n})=>{let r=e?.trim();return r&&r!==t?`${r} ${n} ${t}`:t},u=(0,a.createContext)(null);function c({formatter:e,children:t}){return(0,r.jsx)(u.Provider,{value:e,children:t})}function d(){let e=function(){let e=(0,a.useContext)(u);if(null===e)throw new l.dV("TitleFormatterProvider");return e}(),{siteConfig:t}=(0,o.A)(),{title:n,titleDelimiter:r}=t,{plugin:c}=(0,i.A)();return{format:t=>e({title:t,siteTitle:n,titleDelimiter:r,plugin:c,defaultFormatter:s})}}},5243(e,t,n){"use strict";n.d(t,{o:()=>i});var r=n(898),a=n(6347),o=n(5248);function i(){let{siteConfig:{baseUrl:e,trailingSlash:t},i18n:{localeConfigs:n}}=(0,r.A)(),{pathname:i}=(0,a.zy)(),l=(0,o.applyTrailingSlash)(i,{trailingSlash:t,baseUrl:e}).replace(e,"");return{createUrl:function({locale:e,fullyQualified:t}){let r=function(e){let t=n[e];if(!t)throw Error(`Unexpected Docusaurus bug, no locale config found for locale=${e}`);return t}(e),a=`${t?r.url:""}`,o=r.baseUrl;return`${a}${o}${l}`}}}},8398(e,t,n){"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(2260);function i(e){let t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)(()=>{n&&t!==n&&i({location:t,previousLocation:n})},[i,t,n])}},1022(e,t,n){"use strict";n.d(t,{p:()=>a});var r=n(898);function a(){return(0,r.A)().siteConfig.themeConfig}},4207(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){let{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#")||void 0===n)return e;let[i]=e.split(/[#?]/),l="/"===i||i===r?i:n?a(i):o(i);return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(9262);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},7541(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},5248(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=void 0;let r=n(1635);var a=n(4207);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(a).default}}),n(9262);var o=n(7541);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9262(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},3962(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(4164);function o({className:e}){return(0,r.jsxs)("div",{className:(0,a.A)("loadingRing_RJI3",e),children:[(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{})]})}},9988(e,t,n){"use strict";let r;n.d(t,{w:()=>E,k:()=>S});let a=Symbol("Comlink.proxy"),o=Symbol("Comlink.endpoint"),i=Symbol("Comlink.releaseProxy"),l=Symbol("Comlink.finalizer"),s=Symbol("Comlink.thrown"),u=e=>"object"==typeof e&&null!==e||"function"==typeof e,c=new Map([["proxy",{canHandle:e=>u(e)&&e[a],serialize(e){let{port1:t,port2:n}=new MessageChannel;return function e(t,n=globalThis,r=["*"]){n.addEventListener("message",function o(i){let u;if(!i||!i.data)return;if(!function(e,t){for(let n of e)if(t===n||"*"===n||n instanceof RegExp&&n.test(t))return!0;return!1}(r,i.origin))return void console.warn(`Invalid origin '${i.origin}' for comlink proxy`);let{id:c,type:f,path:p}=Object.assign({path:[]},i.data),m=(i.data.argumentList||[]).map(w);try{var h,g,y;let n=p.slice(0,-1).reduce((e,t)=>e[t],t),r=p.reduce((e,t)=>e[t],t);switch(f){case"GET":u=r;break;case"SET":n[p.slice(-1)[0]]=w(i.data.value),u=!0;break;case"APPLY":u=r.apply(n,m);break;case"CONSTRUCT":h=new r(...m),u=Object.assign(h,{[a]:!0});break;case"ENDPOINT":{let{port1:n,port2:r}=new MessageChannel;e(t,r),g=n,y=[n],b.set(g,y),u=g}break;case"RELEASE":u=void 0;break;default:return}}catch(e){u={value:e,[s]:0}}Promise.resolve(u).catch(e=>({value:e,[s]:0})).then(e=>{let[r,a]=v(e);n.postMessage(Object.assign(Object.assign({},r),{id:c}),a),"RELEASE"===f&&(n.removeEventListener("message",o),d(n),l in t&&"function"==typeof t[l]&&t[l]())}).catch(e=>{let[t,r]=v({value:TypeError("Unserializable return value"),[s]:0});n.postMessage(Object.assign(Object.assign({},t),{id:c}),r)})}),n.start&&n.start()}(e,t),[n,[n]]},deserialize:e=>(e.start(),f(e))}],["throw",{canHandle:e=>u(e)&&s in e,serialize:({value:e})=>[e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[]],deserialize(e){if(e.isError)throw Object.assign(Error(e.value.message),e.value);throw e.value}}]]);function d(e){"MessagePort"===e.constructor.name&&e.close()}function f(e,t){let n=new Map;return e.addEventListener("message",function(e){let{data:t}=e;if(!t||!t.id)return;let r=n.get(t.id);if(r)try{r(t)}finally{n.delete(t.id)}}),function e(t,n,r=[],a=function(){}){let l,s=!1,u=new Proxy(a,{get(a,o){if(p(s),o===i)return()=>{g&&g.unregister(u),m(t),n.clear(),s=!0};if("then"===o){if(0===r.length)return{then:()=>u};let e=k(t,n,{type:"GET",path:r.map(e=>e.toString())}).then(w);return e.then.bind(e)}return e(t,n,[...r,o])},set(e,a,o){p(s);let[i,l]=v(o);return k(t,n,{type:"SET",path:[...r,a].map(e=>e.toString()),value:i},l).then(w)},apply(a,i,l){p(s);let u=r[r.length-1];if(u===o)return k(t,n,{type:"ENDPOINT"}).then(w);if("bind"===u)return e(t,n,r.slice(0,-1));let[c,d]=y(l);return k(t,n,{type:"APPLY",path:r.map(e=>e.toString()),argumentList:c},d).then(w)},construct(e,a){p(s);let[o,i]=y(a);return k(t,n,{type:"CONSTRUCT",path:r.map(e=>e.toString()),argumentList:o},i).then(w)}});return l=(h.get(t)||0)+1,h.set(t,l),g&&g.register(u,t,u),u}(e,n,[],t)}function p(e){if(e)throw Error("Proxy has been released and is not useable")}function m(e){return k(e,new Map,{type:"RELEASE"}).then(()=>{d(e)})}let h=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{let t=(h.get(e)||0)-1;h.set(e,t),0===t&&m(e)});function y(e){var t;let n=e.map(v);return[n.map(e=>e[0]),(t=n.map(e=>e[1]),Array.prototype.concat.apply([],t))]}let b=new WeakMap;function v(e){for(let[t,n]of c)if(n.canHandle(e)){let[r,a]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},a]}return[{type:"RAW",value:e},b.get(e)||[]]}function w(e){switch(e.type){case"HANDLER":return c.get(e.name).deserialize(e.value);case"RAW":return e.value}}function k(e,t,n,r){return new Promise(a=>{let o=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.set(o,a),e.start&&e.start(),e.postMessage(Object.assign({id:o},n),r)})}function x(){return r||(r=(async()=>{let e=f(new Worker(new URL(n.p+n.u("498"),n.b)));return await new e})()),r}async function S(e,t){{let n=await x();await n.fetchIndexes(e,t)}}async function E(e,t,n,r){return(await x()).search(e,t,n,r)}},8127(e,t,n){"use strict";function r(e){return e.join(" \u203A ")}n.d(t,{$:()=>r})},5079(e,t,n){"use strict";function r(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}n.d(t,{Z:()=>r})},1234(e,t,n){"use strict";function r(e,t){let n=[];for(let r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort((e,t)=>e[0]-t[0]||t[1]-e[1])}n.d(t,{g:()=>r})},177(e,t,n){"use strict";n.d(t,{Z:()=>function e(t,n,a){let o=[];for(let a of n){let i=t.toLowerCase().indexOf(a);if(i>=0){i>0&&o.push(e(t.substr(0,i),n)),o.push(`<mark>${(0,r.Z)(t.substr(i,a.length))}</mark>`);let l=i+a.length;l<t.length&&o.push(e(t.substr(l),n));break}}return 0===o.length?a?`<mark>${(0,r.Z)(t)}</mark>`:(0,r.Z)(t):o.join("")}});var r=n(5079)},429(e,t,n){"use strict";n.d(t,{C:()=>s});var r=n(5079),a=n(177);let o=/\w+|\p{Unified_Ideograph}/u;function i(e){let t=[],n=0,r=e;for(;r.length>0;){let a=r.match(o);if(!a){t.push(r);break}a.index>0&&t.push(r.substring(0,a.index)),t.push(a[0]),n+=a.index+a[0].length,r=e.substring(n)}return t}var l=n(3681);function s(e,t,n,o=l.rG){let{chunkIndex:u,chunks:c}=function(e,t,n){let o=[],l=0,s=0,u=-1;for(;l<t.length;){let[c,d]=t[l];if(l+=1,!(c<s)){if(c>s)for(let t of i(e.substring(s,c)).map(e=>({html:(0,r.Z)(e),textLength:e.length})))o.push(t);-1===u&&(u=o.length),s=c+d,o.push({html:(0,a.Z)(e.substring(c,s),n,!0),textLength:d})}}if(s<e.length)for(let t of i(e.substring(s)).map(e=>({html:(0,r.Z)(e),textLength:e.length})))o.push(t);return{chunkIndex:u,chunks:o}}(e,t,n),d=c.slice(0,u),f=c[u],p=[f.html],m=c.slice(u+1),h=f.textLength,g=0,y=0,b=!1,v=!1;for(;h<o;)if((g<=y||0===m.length)&&d.length>0){let e=d.pop();h+e.textLength<=o?(p.unshift(e.html),g+=e.textLength,h+=e.textLength):(b=!0,d.length=0)}else if(m.length>0){let e=m.shift();h+e.textLength<=o?(p.push(e.html),y+=e.textLength,h+=e.textLength):(v=!0,m.length=0)}else break;return(b||d.length>0)&&p.unshift("\u2026"),(v||m.length>0)&&p.push("\u2026"),p.join("")}},9553(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return{label:e,path:e};{let{label:n,path:r}=e;return"string"==typeof n?{label:n,path:r}:Object.prototype.hasOwnProperty.call(n,t)?{label:n[t],path:r}:{label:r,path:r}}}n.d(t,{p:()=>r})},3681(e,t,n){"use strict";n.d(t,{tF:()=>u,oZ:()=>h,CU:()=>a(),WW:()=>l,O6:()=>p,ZG:()=>c,rG:()=>o,dz:()=>m,tb:()=>i,UB:()=>d,Hg:()=>f,pk:()=>s});var r=n(689),a=n.n(r);let o=50,i=!1,l=!0,s=!0,u="mod+k",c="right",d,f=null,p=!1,m=!1,h=null},9137(e,t,n){"use strict";var r,a;n.d(t,{i:()=>r}),(a=r||(r={}))[a.Title=0]="Title",a[a.Heading=1]="Heading",a[a.Description=2]="Description",a[a.Keywords=3]="Keywords",a[a.Content=4]="Content",a[a.AskAI=5]="AskAI"},2328(e){"use strict";ask,ai,e.exports=open-ask-ai},6738(e){"use strict";ask,ai,styles.css,e.exports=open-ask-ai/styles.css},4784(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});let r={title:"Mercury",tagline:"Soul-driven AI agent with permission guardrails",favicon:"img/favicon.svg",future:{v4:{removeLegacyPostBuildHeadAttribute:!0,useCssCascadeLayers:!0,siteStorageNamespacing:!0,fasterByDefault:!0,mdx1CompatDisabledByDefault:!0},experimental_vcs:{},experimental_router:"browser",faster:{swcJsLoader:!0,swcJsMinimizer:!0,swcHtmlMinimizer:!0,lightningCssMinimizer:!0,mdxCrossCompilerCache:!0,rspackBundler:!0,rspackPersistentCache:!0,ssgWorkerThreads:!0,gitEagerVcs:!0}},url:"https://mercury.cosmicstack.org",baseUrl:"/",trailingSlash:!1,organizationName:"cosmicstack-labs",projectName:"mercury-agent",onBrokenLinks:"throw",onBrokenAnchors:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},scripts:[{src:"https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js",async:!0},{src:"/js/plausible-init.js"}],themes:[["@easyops-cn/docusaurus-search-local",{hashed:!0,language:["en"],indexBlog:!1,docsRouteBasePath:"/docs",highlightSearchTermsOnTargetPage:!0}]],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/"},blog:!1,theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{image:"img/card.png",colorMode:{respectPrefersColorScheme:!0,defaultMode:"light",disableSwitch:!1},navbar:{title:"\u263F Mercury",logo:{alt:"Mercury",src:"img/favicon.svg"},items:[{to:"/docs",label:"Docs",position:"left"},{href:"https://github.com/cosmicstack-labs/mercury-agent",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Getting Started",to:"/docs"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/cosmicstack-labs/mercury-agent"}]}],copyright:"Copyright \xa9 2026 Cosmic Stack. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},blog:{sidebar:{groupByYear:!0}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,storage:{type:"localStorage",namespace:!0},onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,emoji:!0,mdx1Compat:{comments:!1,admonitions:!1,headingIds:!1},anchors:{maintainCase:!1},hooks:{onBrokenMarkdownLinks:"warn",onBrokenMarkdownImages:"throw"}}}},8168(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{A:()=>r})},594(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},4164(e,t,n){"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r);return a}(e))&&(r&&(r+=" "),r+=t);return r}},1765(e,t,n){"use strict";let r,a,o,i,l;n.d(t,{My:()=>B,f4:()=>eb});var s,u,c,d,f,p,m,h,g,y,b,v,w,k,x,S,E,A,C=n(6540),_=n(4164),T=Object.create,j=Object.defineProperty,P=Object.defineProperties,N=Object.getOwnPropertyDescriptor,R=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertyNames,L=Object.getOwnPropertySymbols,D=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&F(e,n,t[n]);if(L)for(var n of L(t))M.call(t,n)&&F(e,n,t[n]);return e},$=(e,t)=>{var n={};for(var r in e)I.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&L)for(var r of L(e))0>t.indexOf(r)&&M.call(e,r)&&(n[r]=e[r]);return n},B=(l=null!=(o=(r={"../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(n[o=r.util.objId(t)])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":if(n[o=r.util.objId(t)])return n[o];return a=[],n[o]=a,t.forEach(function(t,r){a[r]=e(t,n)}),a;default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,function(t,n){n===u&&t!=e&&(this[t]=i)}),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var s in n)t[s]=n[s];delete t.rest}var u=new i;return l(u,u.head,e),function e(t,n,i,s,u,c){for(var d in i)if(i.hasOwnProperty(d)&&i[d]){var f=i[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(c&&c.cause==d+","+p)return;var m=f[p],h=m.inside,g=!!m.lookbehind,y=!!m.greedy,b=m.alias;if(y&&!m.pattern.global){var v=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,v+"g")}for(var w=m.pattern||m,k=s.next,x=u;k!==n.tail&&(!c||!(x>=c.reach));x+=k.value.length,k=k.next){var S,E=k.value;if(n.length>t.length)return;if(!(E instanceof a)){var A=1;if(y){if(!(S=o(w,x,t,g))||S.index>=t.length)break;var C=S.index,_=S.index+S[0].length,T=x;for(T+=k.value.length;C>=T;)T+=(k=k.next).value.length;if(T-=k.value.length,x=T,k.value instanceof a)continue;for(var j=k;j!==n.tail&&(T<_||"string"==typeof j.value);j=j.next)A++,T+=j.value.length;A--,E=t.slice(x,T),S.index-=x}else if(!(S=o(w,0,E,g)))continue;var C=S.index,P=S[0],N=E.slice(0,C),R=E.slice(C+P.length),O=x+E.length;c&&O>c.reach&&(c.reach=O);var L=k.prev;if(N&&(L=l(n,L,N),x+=N.length),function(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}(n,L,A),k=l(n,L,new a(d,h?r.tokenize(P,h):P,b,P)),R&&l(n,k,R),A>1){var D={cause:d+","+p,reach:O};e(t,n,i,k.prev,x,D),c&&D.reach>c.reach&&(c.reach=D.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[O(r)[0]])((a={exports:{}}).exports,a),a.exports})())?T(D(o)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of O(t))I.call(e,a)||a===n||j(e,a,{get:()=>t[a],enumerable:!(r=N(t,a))||r.enumerable});return e})(!i&&o&&o.__esModule?l:j(l,"default",{value:o,enumerable:!0}),o));B.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},B.languages.markup.tag.inside["attr-value"].inside.entity=B.languages.markup.entity,B.languages.markup.doctype.inside["internal-subset"].inside=B.languages.markup,B.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(B.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:B.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:B.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},B.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(B.languages.markup.tag,"addAttribute",{value:function(e,t){B.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:B.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),B.languages.html=B.languages.markup,B.languages.mathml=B.languages.markup,B.languages.svg=B.languages.markup,B.languages.xml=B.languages.extend("markup",{}),B.languages.ssml=B.languages.xml,B.languages.atom=B.languages.xml,B.languages.rss=B.languages.xml,s={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},c=RegExp((c="(?:[^\\\\-]|"+(u=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+c),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},B.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:u,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":s,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:u}},"special-escape":s,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:u,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":d}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},B.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},B.languages.javascript=B.languages.extend("clike",{"class-name":[B.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),B.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,B.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:B.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:B.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:B.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:B.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:B.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),B.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:B.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),B.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),B.languages.markup&&(B.languages.markup.tag.addInlined("script","javascript"),B.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),B.languages.js=B.languages.javascript,B.languages.actionscript=B.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),B.languages.actionscript["class-name"].alias="function",delete B.languages.actionscript.parameter,delete B.languages.actionscript["literal-property"],B.languages.markup&&B.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:B.languages.markup}}),f=/#(?!\{).+/,p={pattern:/#\{[^}]+\}/,alias:"variable"},B.languages.coffeescript=B.languages.extend("javascript",{comment:f,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:p}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),B.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:f,interpolation:p}}}),B.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:B.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:p}}]}),B.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete B.languages.coffeescript["template-string"],B.languages.coffee=B.languages.coffeescript,Object.defineProperty(m=B.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=B.languages[e]){var a,o=a[r];if((o=o||(a=B.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var i=0,l=o.length;i<l;i++)o[i]instanceof RegExp&&(o[i]={pattern:o[i]}),n(o[i]);else n(o)}})}}),m.addSupport(["java","javascript","php"],m),h=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,B.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+h.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+h.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+h.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+h.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:h,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},B.languages.css.atrule.inside.rest=B.languages.css,(h=B.languages.markup)&&(h.tag.addInlined("style","css"),h.tag.addAttribute("style","css")),g=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,B.languages.css.selector={pattern:B.languages.css.selector.pattern,lookbehind:!0,inside:g={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+g.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[g,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},B.languages.css.atrule.inside["selector-function-argument"].inside=g,B.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),g={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},y={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},B.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:g,number:y,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:g,number:y}),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(B),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",a=0,o=t.classes.length;a<o;a++){var u=t.classes[a],u=/language-(.+)/.exec(u);if(u){r=u[1];break}}var c,d=e.languages[r];d?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):l[t]||e}),d,r):r&&"none"!==r&&e.plugins.autoloader&&(c="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(B),B.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:B.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},B.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(c(["definition-mutation","punctuation"])&&"("===t[n+1].content){n+=2;var o=d(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=t[n+0];"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(c(["punctuation","property-query"])&&"{"===t[n+0].content&&(f(t[++n+0],"property-mutation"),0<a.length)){var l=d(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&f(u,"variable-input")}}}}function c(e,r){r=r||0;for(var a=0;a<e.length;a++){var o=t[n+(a+r)];if(!o||o.type!==e[a])return}return 1}function d(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l){if(e.test(l))a++;else if(r.test(l)&&0==--a)return o}}return -1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}}),B.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in s&&function t(n){for(var i=0,s=n.length;i<s;i++){var u,c,d,f=n[i];"string"!=typeof f&&(Array.isArray(u=f.content)?"template-string"===f.type?(f=u[1],3===u.length&&"string"!=typeof f&&"embedded-code"===f.type&&(c=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(f),f=Array.isArray(f=f.alias)?f[0]:f,d=e.languages[f])&&(u[1]=function(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},s=l(s.map(function(e){if("string"==typeof e)return e;for(var n,r,e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n}).join(""),n,i),d=Object.keys(c);return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,f,p,m,h,g,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(g=(h="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=h.substring(0,g),m=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(m,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,m),p=h.substring(g+i.length),m=[],s&&m.push(s),m.push(f),p&&(t(h=[p]),m.push.apply(m,h)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(m)),o+=m.length-1):y.content=m)):Array.isArray(g=y.content)?t(g):t([g])}}(s),new e.Token(i,s,"language-"+i,t)}(c,d,f))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(B),B.languages.typescript=B.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),B.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete B.languages.typescript.parameter,delete B.languages.typescript["literal-property"],b=B.languages.extend("typescript",{}),delete b["class-name"],B.languages.typescript["class-name"].inside=b,B.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:b}}}}),B.languages.ts=B.languages.typescript,v=B.languages.javascript,k="(@(?:arg|argument|param|property)\\s+(?:"+(w=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",B.languages.jsdoc=B.languages.extend("javadoclike",{parameter:{pattern:RegExp(k+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),B.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(k+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:v,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return w})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+w),lookbehind:!0,inside:{string:v.string,number:v.number,boolean:v.boolean,keyword:B.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:v,alias:"language-javascript"}}}}),B.languages.javadoclike.addSupport("javascript",B.languages.jsdoc),B.languages.flow=B.languages.extend("javascript",{}),B.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),B.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete B.languages.flow.parameter,B.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(B.languages.flow.keyword)||(B.languages.flow.keyword=[B.languages.flow.keyword]),B.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),B.languages.n4js=B.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),B.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),B.languages.n4jsd=B.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a],a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(B),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return a}),t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],a=0;a<n.length;a++){var o=n[a],l=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<r.length&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"!==o.content[o.content.length-1].content&&r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):0<r.length&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:0<r.length&&0<r[r.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:l=!0),(l||"string"==typeof o)&&0<r.length&&0===r[r.length-1].openedBraces&&(l=i(o),a<n.length-1&&("string"==typeof n[a+1]||"plain-text"===n[a+1].type)&&(l+=i(n[a+1]),n.splice(a+1,1)),0<a&&("string"==typeof n[a-1]||"plain-text"===n[a-1].type)&&(l=i(n[a-1])+l,n.splice(a-1,1),a--),n[a]=new e.Token("plain-text",l,null,l)),o.content&&"string"!=typeof o.content&&t(o.content)}}(t.tokens)})}(B),x=B.util.clone(B.languages.typescript),(B.languages.tsx=B.languages.extend("jsx",x),delete B.languages.tsx.parameter,delete B.languages.tsx["literal-property"],x=B.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+x.pattern.source+")",x.pattern.flags),x.lookbehind=!0,B.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},B.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=B.languages.swift}),B.languages.kotlin=B.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete B.languages.kotlin["class-name"],S={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:B.languages.kotlin}},B.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:S},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:S},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete B.languages.kotlin.string,B.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),B.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),B.languages.kt=B.languages.kotlin,B.languages.kts=B.languages.kotlin,B.languages.c=B.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),B.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),B.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},B.languages.c.string],char:B.languages.c.char,comment:B.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:B.languages.c}}}}),B.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete B.languages.c.boolean,B.languages.objectivec=B.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete B.languages.objectivec["class-name"],B.languages.objc=B.languages.objectivec,B.languages.reason=B.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),B.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete B.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(B),B.languages.go=B.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),B.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete B.languages.go["class-name"],E=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,A=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return E.source}),B.languages.cpp=B.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return E.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:E,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),B.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return A})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),B.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:B.languages.cpp}}}}),B.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),B.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:B.languages.extend("cpp",{})}}),B.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},B.languages.cpp["base-clause"]),B.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},B.languages.python["string-interpolation"].inside.interpolation.inside.rest=B.languages.python,B.languages.py=B.languages.python,B.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},B.languages.webmanifest=B.languages.json;var U={},q={dracula:()=>G,duotoneDark:()=>W,duotoneLight:()=>V,github:()=>Q,gruvboxMaterialDark:()=>ed,gruvboxMaterialLight:()=>ef,jettwaveDark:()=>el,jettwaveLight:()=>es,nightOwl:()=>K,nightOwlLight:()=>Y,oceanicNext:()=>J,okaidia:()=>ee,oneDark:()=>eu,oneLight:()=>ec,palenight:()=>et,shadesOfPurple:()=>en,synthwave84:()=>er,ultramin:()=>ea,vsDark:()=>eo,vsLight:()=>ei};for(var H in q)j(U,H,{get:q[H],enumerable:!0});var G={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},W={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},V={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},Q={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},K={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Y={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},Z="#c5a5c5",X="#8dc891",J={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:Z}},{types:["attr-value"],style:{color:X}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:X}},{types:["punctuation"],style:{color:X}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:Z}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},ee={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},et={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},en={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},er={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ea={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},eo={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ei={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},el={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},es={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},eu={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},ec={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},ed={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},ef={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},ep=/\r\n|\r|\n/,em=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eh=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eg=e=>{let t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,l=[],s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,u=t[i],c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=eh(u,c.type),c.alias&&(u=eh(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}let d=e.split(ep),f=d.length;l.push({types:u,content:d[0]});for(let e=1;e<f;e++)em(l),s.push(l=[]),l.push({types:u,content:d[e]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return em(l),s},ey=({children:e,language:t,code:n,theme:r,prism:a})=>{let o,i=t.toLowerCase(),l=((e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach(t=>{let n=z(z({},e[t]),a);e[t]=n}),e},{});return r.root=n,r.plain=P(z({},n),R({backgroundColor:void 0})),r})(r,i),s=(0,C.useCallback)(e=>{var{className:t,style:n,line:r}=e;let a=P(z({},$(e,["className","style","line"])),R({className:(0,_.A)("token-line",t)}));return"object"==typeof l&&"plain"in l&&(a.style=l.plain),"object"==typeof n&&(a.style=z(z({},a.style||{}),n)),a},[l]),u=(o=(0,C.useCallback)(({types:e,empty:t})=>{if(null!=l)return 1===e.length&&"plain"===e[0]?null!=t?{display:"inline-block"}:void 0:1===e.length&&null!=t?l[e[0]]:Object.assign(null!=t?{display:"inline-block"}:{},...e.map(e=>l[e]))},[l]),(0,C.useCallback)(e=>{var{token:t,className:n,style:r}=e;let a=P(z({},$(e,["token","className","style"])),R({className:(0,_.A)("token",...t.types,n),children:t.content,style:o(t)}));return null!=r&&(a.style=z(z({},a.style||{}),r)),a},[o])),c=a.languages[i];return e({tokens:(({prism:e,code:t,grammar:n,language:r})=>(0,C.useMemo)(()=>{if(null==n)return eg([t]);let a={code:t,grammar:n,language:r,tokens:[]};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(t,n),e.hooks.run("after-tokenize",a),eg(a.tokens)},[t,n,r,e]))({prism:a,language:i,code:n,grammar:c}),className:`prism-code language-${i}`,style:null!=l?l.root:{},getLineProps:s,getTokenProps:u})},eb=e=>(0,C.createElement)(ey,P(z({},e),R({prism:e.prism||B,theme:e.theme||eo,code:e.code,language:e.language})))},1561(e,t,n){"use strict";n.d(t,{A:()=>r});function r(e,t){if(!e)throw Error("Invariant failed")}},1635(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>D,__assign:()=>o,__asyncDelegator:()=>A,__asyncGenerator:()=>E,__asyncValues:()=>C,__await:()=>S,__awaiter:()=>m,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>l,__disposeResources:()=>M,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>a,__generator:()=>h,__importDefault:()=>N,__importStar:()=>P,__makeTemplateObject:()=>_,__metadata:()=>p,__param:()=>s,__propKey:()=>d,__read:()=>v,__rest:()=>i,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>w,__spreadArray:()=>x,__spreadArrays:()=>k,__values:()=>b,default:()=>z});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function l(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var l,s=r.kind,u="getter"===s?"get":"setter"===s?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,p=n.length-1;p>=0;p--){var m={};for(var h in r)m[h]="access"===h?{}:r[h];for(var h in r.access)m.access[h]=r.access[h];m.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var g=(0,n[p])("accessor"===s?{get:d.get,set:d.set}:d[u],m);if("accessor"===s){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(l=i(g.get))&&(d.get=l),(l=i(g.set))&&(d.set=l),(l=i(g.init))&&a.unshift(l)}else(l=i(g))&&("field"===s?a.unshift(l):d[u]=l)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function m(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,l)}s((r=r.apply(e,t||[])).next())})}function h(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var u=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function k(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),a=0,t=0;t<n;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)r[a]=o[i];return r}function x(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||l(e,t)})},t&&(r[e]=t(r[e])))}function l(e,t){try{var n;(n=a[e](t)).value instanceof S?Promise.resolve(n.value.v).then(s,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}function A(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function C(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,a){var o,i,l;o=r,i=a,l=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:l})},i)})}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},j=function(e){return(j=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function P(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=j(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return T(t,e),t}function N(e){return e&&e.__esModule?e:{default:e}}function R(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,a){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,n){if(null!=t){var r,a;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,function(e){return t(e),a()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,a,o){return n?t?".jsx":".js":!r||a&&o?r+a+"."+o.toLowerCase()+"js":e}):e}let z={__extends:a,__assign:o,__rest:i,__decorate:l,__param:s,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:p,__awaiter:m,__generator:h,__createBinding:g,__exportStar:y,__values:b,__read:v,__spread:w,__spreadArrays:k,__spreadArray:x,__await:S,__asyncGenerator:E,__asyncDelegator:A,__asyncValues:C,__makeTemplateObject:_,__importStar:P,__importDefault:N,__classPrivateFieldGet:R,__classPrivateFieldSet:O,__classPrivateFieldIn:L,__addDisposableResource:D,__disposeResources:M,__rewriteRelativeImportExtension:F}},2654(e){"use strict";e.exports={}},4054(e){"use strict";e.exports=JSON.parse('{"/search-822":{"__comp":"1a4e3797","__context":{"plugin":"138e0e15"}},"/docs-88d":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/docs-5d7":{"__comp":"a7bd4aaa","__props":"0058b4c6"},"/docs-37b":{"__comp":"a94703ab"},"/docs-731":{"__comp":"17896441","content":"6459b84b"},"/docs/cli-commands/cli-commands-5e0":{"__comp":"17896441","content":"35a35434"},"/docs/cli-commands/doctor-165":{"__comp":"17896441","content":"8b9e049f"},"/docs/cli-commands/in-chat-commands-3be":{"__comp":"17896441","content":"de57ece0"},"/docs/daemon-mode/daemon-mode-9c7":{"__comp":"17896441","content":"4df8d22c"},"/docs/daemon-mode/platform-guide-346":{"__comp":"17896441","content":"a6e053fd"},"/docs/daemon-mode/system-service-d3a":{"__comp":"17896441","content":"2aa6d146"},"/docs/getting-started/setup-870":{"__comp":"17896441","content":"449e68eb"},"/docs/getting-started/starting-449":{"__comp":"17896441","content":"bc430709"},"/docs/integrations/github-companion-b37":{"__comp":"17896441","content":"47fe99a6"},"/docs/integrations/spotify-10e":{"__comp":"17896441","content":"2b538913"},"/docs/integrations/sub-agents-1fe":{"__comp":"17896441","content":"a06fff0d"},"/docs/integrations/telegram-ebc":{"__comp":"17896441","content":"0402ec03"},"/docs/reference/built-in-tools-e86":{"__comp":"17896441","content":"e7df10b1"},"/docs/reference/configuration-171":{"__comp":"17896441","content":"c8078f0a"},"/docs/reference/permissions-bd4":{"__comp":"17896441","content":"09292580"},"/docs/reference/provider-fallback-b47":{"__comp":"17896441","content":"37a27735"},"/docs/reference/scheduling-0b4":{"__comp":"17896441","content":"7e0893c3"},"/docs/reference/second-brain-2c4":{"__comp":"17896441","content":"115f7d00"},"/docs/reference/skills-d27":{"__comp":"17896441","content":"653db0f6"},"/-e5f":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,["14"],function(){return e(e.s=354)}),e.O()}]);
\ No newline at end of file
+Possible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.`,t),l=!0),null}}(t?.persistence);return null===u?s:{get:()=>{try{return u.getItem(n)}catch(e){return console.error(`Docusaurus storage error, can't get key=${n}`,e),null}},set:e=>{try{let t=u.getItem(n);u.setItem(n,e),i({key:n,oldValue:t,newValue:e,storage:u})}catch(t){console.error(`Docusaurus storage error, can't set ${n}=${e}`,t)}},del:()=>{try{let e=u.getItem(n);u.removeItem(n),i({key:n,oldValue:e,newValue:null,storage:u})}catch(e){console.error(`Docusaurus storage error, can't delete key=${n}`,e)}},listen:e=>{try{let t=t=>{t.storageArea===u&&t.key===n&&e(t)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)}catch(e){return console.error(`Docusaurus storage error, can't listen for changes of key=${n}`,e),()=>{}}}}}function c(e,t){let[n]=(0,r.useState)(()=>null===e?s:u(e,t)),a=(0,r.useCallback)(e=>"u"<typeof window?()=>{}:n.listen(e),[n]);return[(0,r.useSyncExternalStore)(a,()=>n.get(),()=>null),n]}},3899(e,t,n){"use strict";n.d(t,{AL:()=>c,s$:()=>d});var r=n(4848),a=n(6540),o=n(898),i=n(8491),l=n(2260);let s=({title:e,siteTitle:t,titleDelimiter:n})=>{let r=e?.trim();return r&&r!==t?`${r} ${n} ${t}`:t},u=(0,a.createContext)(null);function c({formatter:e,children:t}){return(0,r.jsx)(u.Provider,{value:e,children:t})}function d(){let e=function(){let e=(0,a.useContext)(u);if(null===e)throw new l.dV("TitleFormatterProvider");return e}(),{siteConfig:t}=(0,o.A)(),{title:n,titleDelimiter:r}=t,{plugin:c}=(0,i.A)();return{format:t=>e({title:t,siteTitle:n,titleDelimiter:r,plugin:c,defaultFormatter:s})}}},5243(e,t,n){"use strict";n.d(t,{o:()=>i});var r=n(898),a=n(6347),o=n(5248);function i(){let{siteConfig:{baseUrl:e,trailingSlash:t},i18n:{localeConfigs:n}}=(0,r.A)(),{pathname:i}=(0,a.zy)(),l=(0,o.applyTrailingSlash)(i,{trailingSlash:t,baseUrl:e}).replace(e,"");return{createUrl:function({locale:e,fullyQualified:t}){let r=function(e){let t=n[e];if(!t)throw Error(`Unexpected Docusaurus bug, no locale config found for locale=${e}`);return t}(e),a=`${t?r.url:""}`,o=r.baseUrl;return`${a}${o}${l}`}}}},8398(e,t,n){"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(2260);function i(e){let t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)(()=>{n&&t!==n&&i({location:t,previousLocation:n})},[i,t,n])}},1022(e,t,n){"use strict";n.d(t,{p:()=>a});var r=n(898);function a(){return(0,r.A)().siteConfig.themeConfig}},4207(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addTrailingSlash=a,t.default=function(e,t){let{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#")||void 0===n)return e;let[i]=e.split(/[#?]/),l="/"===i||i===r?i:n?a(i):o(i);return e.replace(i,l)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=o;let r=n(9262);function a(e){return e.endsWith("/")?e:`${e}/`}function o(e){return(0,r.removeSuffix)(e,"/")}},7541(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},5248(e,t,n){"use strict";t.getErrorCausalChain=t.applyTrailingSlash=void 0;let r=n(1635);var a=n(4207);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r.__importDefault(a).default}}),n(9262);var o=n(7541);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9262(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},3962(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(4848);n(6540);var a=n(4164);function o({className:e}){return(0,r.jsxs)("div",{className:(0,a.A)("loadingRing_RJI3",e),children:[(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{}),(0,r.jsx)("div",{})]})}},9988(e,t,n){"use strict";let r;n.d(t,{w:()=>E,k:()=>S});let a=Symbol("Comlink.proxy"),o=Symbol("Comlink.endpoint"),i=Symbol("Comlink.releaseProxy"),l=Symbol("Comlink.finalizer"),s=Symbol("Comlink.thrown"),u=e=>"object"==typeof e&&null!==e||"function"==typeof e,c=new Map([["proxy",{canHandle:e=>u(e)&&e[a],serialize(e){let{port1:t,port2:n}=new MessageChannel;return function e(t,n=globalThis,r=["*"]){n.addEventListener("message",function o(i){let u;if(!i||!i.data)return;if(!function(e,t){for(let n of e)if(t===n||"*"===n||n instanceof RegExp&&n.test(t))return!0;return!1}(r,i.origin))return void console.warn(`Invalid origin '${i.origin}' for comlink proxy`);let{id:c,type:f,path:p}=Object.assign({path:[]},i.data),m=(i.data.argumentList||[]).map(w);try{var h,g,y;let n=p.slice(0,-1).reduce((e,t)=>e[t],t),r=p.reduce((e,t)=>e[t],t);switch(f){case"GET":u=r;break;case"SET":n[p.slice(-1)[0]]=w(i.data.value),u=!0;break;case"APPLY":u=r.apply(n,m);break;case"CONSTRUCT":h=new r(...m),u=Object.assign(h,{[a]:!0});break;case"ENDPOINT":{let{port1:n,port2:r}=new MessageChannel;e(t,r),g=n,y=[n],b.set(g,y),u=g}break;case"RELEASE":u=void 0;break;default:return}}catch(e){u={value:e,[s]:0}}Promise.resolve(u).catch(e=>({value:e,[s]:0})).then(e=>{let[r,a]=v(e);n.postMessage(Object.assign(Object.assign({},r),{id:c}),a),"RELEASE"===f&&(n.removeEventListener("message",o),d(n),l in t&&"function"==typeof t[l]&&t[l]())}).catch(e=>{let[t,r]=v({value:TypeError("Unserializable return value"),[s]:0});n.postMessage(Object.assign(Object.assign({},t),{id:c}),r)})}),n.start&&n.start()}(e,t),[n,[n]]},deserialize:e=>(e.start(),f(e))}],["throw",{canHandle:e=>u(e)&&s in e,serialize:({value:e})=>[e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[]],deserialize(e){if(e.isError)throw Object.assign(Error(e.value.message),e.value);throw e.value}}]]);function d(e){"MessagePort"===e.constructor.name&&e.close()}function f(e,t){let n=new Map;return e.addEventListener("message",function(e){let{data:t}=e;if(!t||!t.id)return;let r=n.get(t.id);if(r)try{r(t)}finally{n.delete(t.id)}}),function e(t,n,r=[],a=function(){}){let l,s=!1,u=new Proxy(a,{get(a,o){if(p(s),o===i)return()=>{g&&g.unregister(u),m(t),n.clear(),s=!0};if("then"===o){if(0===r.length)return{then:()=>u};let e=k(t,n,{type:"GET",path:r.map(e=>e.toString())}).then(w);return e.then.bind(e)}return e(t,n,[...r,o])},set(e,a,o){p(s);let[i,l]=v(o);return k(t,n,{type:"SET",path:[...r,a].map(e=>e.toString()),value:i},l).then(w)},apply(a,i,l){p(s);let u=r[r.length-1];if(u===o)return k(t,n,{type:"ENDPOINT"}).then(w);if("bind"===u)return e(t,n,r.slice(0,-1));let[c,d]=y(l);return k(t,n,{type:"APPLY",path:r.map(e=>e.toString()),argumentList:c},d).then(w)},construct(e,a){p(s);let[o,i]=y(a);return k(t,n,{type:"CONSTRUCT",path:r.map(e=>e.toString()),argumentList:o},i).then(w)}});return l=(h.get(t)||0)+1,h.set(t,l),g&&g.register(u,t,u),u}(e,n,[],t)}function p(e){if(e)throw Error("Proxy has been released and is not useable")}function m(e){return k(e,new Map,{type:"RELEASE"}).then(()=>{d(e)})}let h=new WeakMap,g="FinalizationRegistry"in globalThis&&new FinalizationRegistry(e=>{let t=(h.get(e)||0)-1;h.set(e,t),0===t&&m(e)});function y(e){var t;let n=e.map(v);return[n.map(e=>e[0]),(t=n.map(e=>e[1]),Array.prototype.concat.apply([],t))]}let b=new WeakMap;function v(e){for(let[t,n]of c)if(n.canHandle(e)){let[r,a]=n.serialize(e);return[{type:"HANDLER",name:t,value:r},a]}return[{type:"RAW",value:e},b.get(e)||[]]}function w(e){switch(e.type){case"HANDLER":return c.get(e.name).deserialize(e.value);case"RAW":return e.value}}function k(e,t,n,r){return new Promise(a=>{let o=[,,,,].fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");t.set(o,a),e.start&&e.start(),e.postMessage(Object.assign({id:o},n),r)})}function x(){return r||(r=(async()=>{let e=f(new Worker(new URL(n.p+n.u("498"),n.b)));return await new e})()),r}async function S(e,t){{let n=await x();await n.fetchIndexes(e,t)}}async function E(e,t,n,r){return(await x()).search(e,t,n,r)}},8127(e,t,n){"use strict";function r(e){return e.join(" \u203A ")}n.d(t,{$:()=>r})},5079(e,t,n){"use strict";function r(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}n.d(t,{Z:()=>r})},1234(e,t,n){"use strict";function r(e,t){let n=[];for(let r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort((e,t)=>e[0]-t[0]||t[1]-e[1])}n.d(t,{g:()=>r})},177(e,t,n){"use strict";n.d(t,{Z:()=>function e(t,n,a){let o=[];for(let a of n){let i=t.toLowerCase().indexOf(a);if(i>=0){i>0&&o.push(e(t.substr(0,i),n)),o.push(`<mark>${(0,r.Z)(t.substr(i,a.length))}</mark>`);let l=i+a.length;l<t.length&&o.push(e(t.substr(l),n));break}}return 0===o.length?a?`<mark>${(0,r.Z)(t)}</mark>`:(0,r.Z)(t):o.join("")}});var r=n(5079)},429(e,t,n){"use strict";n.d(t,{C:()=>s});var r=n(5079),a=n(177);let o=/\w+|\p{Unified_Ideograph}/u;function i(e){let t=[],n=0,r=e;for(;r.length>0;){let a=r.match(o);if(!a){t.push(r);break}a.index>0&&t.push(r.substring(0,a.index)),t.push(a[0]),n+=a.index+a[0].length,r=e.substring(n)}return t}var l=n(3681);function s(e,t,n,o=l.rG){let{chunkIndex:u,chunks:c}=function(e,t,n){let o=[],l=0,s=0,u=-1;for(;l<t.length;){let[c,d]=t[l];if(l+=1,!(c<s)){if(c>s)for(let t of i(e.substring(s,c)).map(e=>({html:(0,r.Z)(e),textLength:e.length})))o.push(t);-1===u&&(u=o.length),s=c+d,o.push({html:(0,a.Z)(e.substring(c,s),n,!0),textLength:d})}}if(s<e.length)for(let t of i(e.substring(s)).map(e=>({html:(0,r.Z)(e),textLength:e.length})))o.push(t);return{chunkIndex:u,chunks:o}}(e,t,n),d=c.slice(0,u),f=c[u],p=[f.html],m=c.slice(u+1),h=f.textLength,g=0,y=0,b=!1,v=!1;for(;h<o;)if((g<=y||0===m.length)&&d.length>0){let e=d.pop();h+e.textLength<=o?(p.unshift(e.html),g+=e.textLength,h+=e.textLength):(b=!0,d.length=0)}else if(m.length>0){let e=m.shift();h+e.textLength<=o?(p.push(e.html),y+=e.textLength,h+=e.textLength):(v=!0,m.length=0)}else break;return(b||d.length>0)&&p.unshift("\u2026"),(v||m.length>0)&&p.push("\u2026"),p.join("")}},9553(e,t,n){"use strict";function r(e,t){if("string"==typeof e)return{label:e,path:e};{let{label:n,path:r}=e;return"string"==typeof n?{label:n,path:r}:Object.prototype.hasOwnProperty.call(n,t)?{label:n[t],path:r}:{label:r,path:r}}}n.d(t,{p:()=>r})},3681(e,t,n){"use strict";n.d(t,{tF:()=>u,oZ:()=>h,CU:()=>a(),WW:()=>l,O6:()=>p,ZG:()=>c,rG:()=>o,dz:()=>m,tb:()=>i,UB:()=>d,Hg:()=>f,pk:()=>s});var r=n(689),a=n.n(r);let o=50,i=!1,l=!0,s=!0,u="mod+k",c="right",d,f=null,p=!1,m=!1,h=null},9137(e,t,n){"use strict";var r,a;n.d(t,{i:()=>r}),(a=r||(r={}))[a.Title=0]="Title",a[a.Heading=1]="Heading",a[a.Description=2]="Description",a[a.Keywords=3]="Keywords",a[a.Content=4]="Content",a[a.AskAI=5]="AskAI"},2328(e){"use strict";ask,ai,e.exports=open-ask-ai},6738(e){"use strict";ask,ai,styles.css,e.exports=open-ask-ai/styles.css},4784(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});let r={title:"Mercury",tagline:"Soul-driven AI agent with permission guardrails",favicon:"img/favicon.svg",future:{v4:{removeLegacyPostBuildHeadAttribute:!0,useCssCascadeLayers:!0,siteStorageNamespacing:!0,fasterByDefault:!0,mdx1CompatDisabledByDefault:!0},experimental_vcs:{},experimental_router:"browser",faster:{swcJsLoader:!0,swcJsMinimizer:!0,swcHtmlMinimizer:!0,lightningCssMinimizer:!0,mdxCrossCompilerCache:!0,rspackBundler:!0,rspackPersistentCache:!0,ssgWorkerThreads:!0,gitEagerVcs:!0}},url:"https://mercury.cosmicstack.org",baseUrl:"/",trailingSlash:!1,organizationName:"cosmicstack-labs",projectName:"mercury-agent",onBrokenLinks:"throw",onBrokenAnchors:"warn",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},scripts:[{src:"https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js",async:!0},{src:"/js/plausible-init.js"}],themes:[["@easyops-cn/docusaurus-search-local",{hashed:!0,language:["en"],indexBlog:!1,docsRouteBasePath:"/docs",highlightSearchTermsOnTargetPage:!0}]],presets:[["classic",{docs:{sidebarPath:"./sidebars.ts",editUrl:"https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/"},blog:!1,theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{image:"img/card.png",colorMode:{respectPrefersColorScheme:!0,defaultMode:"light",disableSwitch:!1},navbar:{title:"\u263F Mercury",items:[{to:"/docs",label:"Docs",position:"left"},{href:"https://github.com/cosmicstack-labs/mercury-agent",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"Getting Started",to:"/docs"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/cosmicstack-labs/mercury-agent"}]}],copyright:"Copyright \xa9 2026 Cosmic Stack. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},blog:{sidebar:{groupByYear:!0}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,storage:{type:"localStorage",namespace:!0},onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,emoji:!0,mdx1Compat:{comments:!1,admonitions:!1,headingIds:!1},anchors:{maintainCase:!1},hooks:{onBrokenMarkdownLinks:"warn",onBrokenMarkdownImages:"throw"}}}},8168(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}n.d(t,{A:()=>r})},594(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},4164(e,t,n){"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=function e(t){var n,r,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(a&&(a+=" "),a+=r)}else for(r in t)t[r]&&(a&&(a+=" "),a+=r);return a}(e))&&(r&&(r+=" "),r+=t);return r}},1765(e,t,n){"use strict";let r,a,o,i,l;n.d(t,{My:()=>B,f4:()=>eb});var s,u,c,d,f,p,m,h,g,y,b,v,w,k,x,S,E,A,C=n(6540),_=n(4164),T=Object.create,j=Object.defineProperty,P=Object.defineProperties,N=Object.getOwnPropertyDescriptor,R=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertyNames,L=Object.getOwnPropertySymbols,D=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,F=(e,t,n)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,z=(e,t)=>{for(var n in t||(t={}))I.call(t,n)&&F(e,n,t[n]);if(L)for(var n of L(t))M.call(t,n)&&F(e,n,t[n]);return e},$=(e,t)=>{var n={};for(var r in e)I.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&L)for(var r of L(e))0>t.indexOf(r)&&M.call(e,r)&&(n[r]=e[r]);return n},B=(l=null!=(o=(r={"../../node_modules/.pnpm/[email protected]_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(n[o=r.util.objId(t)])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":if(n[o=r.util.objId(t)])return n[o];return a=[],n[o]=a,t.forEach(function(t,r){a[r]=e(t,n)}),a;default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,function(t,n){n===u&&t!=e&&(this[t]=i)}),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var s in n)t[s]=n[s];delete t.rest}var u=new i;return l(u,u.head,e),function e(t,n,i,s,u,c){for(var d in i)if(i.hasOwnProperty(d)&&i[d]){var f=i[d];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(c&&c.cause==d+","+p)return;var m=f[p],h=m.inside,g=!!m.lookbehind,y=!!m.greedy,b=m.alias;if(y&&!m.pattern.global){var v=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,v+"g")}for(var w=m.pattern||m,k=s.next,x=u;k!==n.tail&&(!c||!(x>=c.reach));x+=k.value.length,k=k.next){var S,E=k.value;if(n.length>t.length)return;if(!(E instanceof a)){var A=1;if(y){if(!(S=o(w,x,t,g))||S.index>=t.length)break;var C=S.index,_=S.index+S[0].length,T=x;for(T+=k.value.length;C>=T;)T+=(k=k.next).value.length;if(T-=k.value.length,x=T,k.value instanceof a)continue;for(var j=k;j!==n.tail&&(T<_||"string"==typeof j.value);j=j.next)A++,T+=j.value.length;A--,E=t.slice(x,T),S.index-=x}else if(!(S=o(w,0,E,g)))continue;var C=S.index,P=S[0],N=E.slice(0,C),R=E.slice(C+P.length),O=x+E.length;c&&O>c.reach&&(c.reach=O);var L=k.prev;if(N&&(L=l(n,L,N),x+=N.length),function(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}(n,L,A),k=l(n,L,new a(d,h?r.tokenize(P,h):P,b,P)),R&&l(n,k,R),A>1){var D={cause:d+","+p,reach:O};e(t,n,i,k.prev,x,D),c&&D.reach>c.reach&&(c.reach=D.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach(function(t){a+=e(t,n)}),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,"&quot;")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[O(r)[0]])((a={exports:{}}).exports,a),a.exports})())?T(D(o)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of O(t))I.call(e,a)||a===n||j(e,a,{get:()=>t[a],enumerable:!(r=N(t,a))||r.enumerable});return e})(!i&&o&&o.__esModule?l:j(l,"default",{value:o,enumerable:!0}),o));B.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},B.languages.markup.tag.inside["attr-value"].inside.entity=B.languages.markup.entity,B.languages.markup.doctype.inside["internal-subset"].inside=B.languages.markup,B.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(B.languages.markup.tag,"addInlined",{value:function(e,t){var n={},n=(n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:B.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),t=(n["language-"+t]={pattern:/[\s\S]+/,inside:B.languages[t]},{});t[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},B.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(B.languages.markup.tag,"addAttribute",{value:function(e,t){B.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:B.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),B.languages.html=B.languages.markup,B.languages.mathml=B.languages.markup,B.languages.svg=B.languages.markup,B.languages.xml=B.languages.extend("markup",{}),B.languages.ssml=B.languages.xml,B.languages.atom=B.languages.xml,B.languages.rss=B.languages.xml,s={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},c=RegExp((c="(?:[^\\\\-]|"+(u=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+c),d={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},B.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:u,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":s,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:u}},"special-escape":s,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":d}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:u,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":d}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},B.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},B.languages.javascript=B.languages.extend("clike",{"class-name":[B.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),B.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,B.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:B.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:B.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:B.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:B.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:B.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),B.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:B.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),B.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),B.languages.markup&&(B.languages.markup.tag.addInlined("script","javascript"),B.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),B.languages.js=B.languages.javascript,B.languages.actionscript=B.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),B.languages.actionscript["class-name"].alias="function",delete B.languages.actionscript.parameter,delete B.languages.actionscript["literal-property"],B.languages.markup&&B.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:B.languages.markup}}),f=/#(?!\{).+/,p={pattern:/#\{[^}]+\}/,alias:"variable"},B.languages.coffeescript=B.languages.extend("javascript",{comment:f,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:p}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),B.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:f,interpolation:p}}}),B.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:B.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:p}}]}),B.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete B.languages.coffeescript["template-string"],B.languages.coffee=B.languages.coffeescript,Object.defineProperty(m=B.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(e,t){(e="string"==typeof e?[e]:e).forEach(function(e){var n=function(e){e.inside||(e.inside={}),e.inside.rest=t},r="doc-comment";if(a=B.languages[e]){var a,o=a[r];if((o=o||(a=B.languages.insertBefore(e,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[r])instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var i=0,l=o.length;i<l;i++)o[i]instanceof RegExp&&(o[i]={pattern:o[i]}),n(o[i]);else n(o)}})}}),m.addSupport(["java","javascript","php"],m),h=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,B.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+h.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+h.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+h.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+h.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:h,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},B.languages.css.atrule.inside.rest=B.languages.css,(h=B.languages.markup)&&(h.tag.addInlined("style","css"),h.tag.addAttribute("style","css")),g=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,B.languages.css.selector={pattern:B.languages.css.selector.pattern,lookbehind:!0,inside:g={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+g.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[g,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},B.languages.css.atrule.inside["selector-function-argument"].inside=g,B.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),g={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},y={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},B.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:g,number:y,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:g,number:y}),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(B),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",a=0,o=t.classes.length;a<o;a++){var u=t.classes[a],u=/language-(.+)/.exec(u);if(u){r=u[1];break}}var c,d=e.languages[r];d?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){return"#"===(t=t.toLowerCase())[0]?s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1))):l[t]||e}),d,r):r&&"none"!==r&&e.plugins.autoloader&&(c="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(B),B.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:B.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},B.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(c(["definition-mutation","punctuation"])&&"("===t[n+1].content){n+=2;var o=d(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=t[n+0];"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}if(c(["punctuation","property-query"])&&"{"===t[n+0].content&&(f(t[++n+0],"property-mutation"),0<a.length)){var l=d(/^\{$/,/^\}$/);if(-1!==l)for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&0<=a.indexOf(u.content)&&f(u,"variable-input")}}}}function c(e,r){r=r||0;for(var a=0;a<e.length;a++){var o=t[n+(a+r)];if(!o||o.type!==e[a])return}return 1}function d(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l){if(e.test(l))a++;else if(r.test(l)&&0==--a)return o}}return -1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}}),B.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var s={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in s&&function t(n){for(var i=0,s=n.length;i<s;i++){var u,c,d,f=n[i];"string"!=typeof f&&(Array.isArray(u=f.content)?"template-string"===f.type?(f=u[1],3===u.length&&"string"!=typeof f&&"embedded-code"===f.type&&(c=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(f),f=Array.isArray(f=f.alias)?f[0]:f,d=e.languages[f])&&(u[1]=function(t,n,i){var s=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),u=0,c={},s=l(s.map(function(e){if("string"==typeof e)return e;for(var n,r,e=e.content;-1!==t.indexOf((r=u++,n="___"+i.toUpperCase()+"_"+r+"___")););return c[n]=e,n}).join(""),n,i),d=Object.keys(c);return u=0,function t(n){for(var o=0;o<n.length;o++){if(u>=d.length)return;var i,s,f,p,m,h,g,y=n[o];"string"==typeof y||"string"==typeof y.content?(i=d[u],-1!==(g=(h="string"==typeof y?y:y.content).indexOf(i))&&(++u,s=h.substring(0,g),m=c[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(m,p)).length&&((f=[1,1]).push.apply(f,l(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,m),p=h.substring(g+i.length),m=[],s&&m.push(s),m.push(f),p&&(t(h=[p]),m.push.apply(m,h)),"string"==typeof y?(n.splice.apply(n,[o,1].concat(m)),o+=m.length-1):y.content=m)):Array.isArray(g=y.content)?t(g):t([g])}}(s),new e.Token(i,s,"language-"+i,t)}(c,d,f))):t(u):"string"!=typeof u&&t([u]))}}(t.tokens)})}(B),B.languages.typescript=B.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),B.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete B.languages.typescript.parameter,delete B.languages.typescript["literal-property"],b=B.languages.extend("typescript",{}),delete b["class-name"],B.languages.typescript["class-name"].inside=b,B.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:b}}}}),B.languages.ts=B.languages.typescript,v=B.languages.javascript,k="(@(?:arg|argument|param|property)\\s+(?:"+(w=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",B.languages.jsdoc=B.languages.extend("javadoclike",{parameter:{pattern:RegExp(k+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),B.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(k+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:v,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return w})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+w),lookbehind:!0,inside:{string:v.string,number:v.number,boolean:v.boolean,keyword:B.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:v,alias:"language-javascript"}}}}),B.languages.javadoclike.addSupport("javascript",B.languages.jsdoc),B.languages.flow=B.languages.extend("javascript",{}),B.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),B.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete B.languages.flow.parameter,B.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(B.languages.flow.keyword)||(B.languages.flow.keyword=[B.languages.flow.keyword]),B.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0}),B.languages.n4js=B.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),B.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),B.languages.n4jsd=B.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a],a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(B),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return RegExp(e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return a}),t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""};e.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||function t(n){for(var r=[],a=0;a<n.length;a++){var o=n[a],l=!1;"string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?0<r.length&&r[r.length-1].tagName===i(o.content[0].content[1])&&r.pop():"/>"!==o.content[o.content.length-1].content&&r.push({tagName:i(o.content[0].content[1]),openedBraces:0}):0<r.length&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:0<r.length&&0<r[r.length-1].openedBraces&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:l=!0),(l||"string"==typeof o)&&0<r.length&&0===r[r.length-1].openedBraces&&(l=i(o),a<n.length-1&&("string"==typeof n[a+1]||"plain-text"===n[a+1].type)&&(l+=i(n[a+1]),n.splice(a+1,1)),0<a&&("string"==typeof n[a-1]||"plain-text"===n[a-1].type)&&(l=i(n[a-1])+l,n.splice(a-1,1),a--),n[a]=new e.Token("plain-text",l,null,l)),o.content&&"string"!=typeof o.content&&t(o.content)}}(t.tokens)})}(B),x=B.util.clone(B.languages.typescript),(B.languages.tsx=B.languages.extend("jsx",x),delete B.languages.tsx.parameter,delete B.languages.tsx["literal-property"],x=B.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+x.pattern.source+")",x.pattern.flags),x.lookbehind=!0,B.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},B.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=B.languages.swift}),B.languages.kotlin=B.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete B.languages.kotlin["class-name"],S={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:B.languages.kotlin}},B.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:S},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:S},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete B.languages.kotlin.string,B.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),B.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),B.languages.kt=B.languages.kotlin,B.languages.kts=B.languages.kotlin,B.languages.c=B.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),B.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),B.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},B.languages.c.string],char:B.languages.c.char,comment:B.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:B.languages.c}}}}),B.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete B.languages.c.boolean,B.languages.objectivec=B.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete B.languages.objectivec["class-name"],B.languages.objc=B.languages.objectivec,B.languages.reason=B.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),B.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete B.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(B),B.languages.go=B.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),B.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete B.languages.go["class-name"],E=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,A=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return E.source}),B.languages.cpp=B.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return E.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:E,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),B.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return A})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),B.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:B.languages.cpp}}}}),B.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),B.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:B.languages.extend("cpp",{})}}),B.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},B.languages.cpp["base-clause"]),B.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},B.languages.python["string-interpolation"].inside.interpolation.inside.rest=B.languages.python,B.languages.py=B.languages.python,B.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},B.languages.webmanifest=B.languages.json;var U={},q={dracula:()=>G,duotoneDark:()=>W,duotoneLight:()=>V,github:()=>Q,gruvboxMaterialDark:()=>ed,gruvboxMaterialLight:()=>ef,jettwaveDark:()=>el,jettwaveLight:()=>es,nightOwl:()=>K,nightOwlLight:()=>Y,oceanicNext:()=>J,okaidia:()=>ee,oneDark:()=>eu,oneLight:()=>ec,palenight:()=>et,shadesOfPurple:()=>en,synthwave84:()=>er,ultramin:()=>ea,vsDark:()=>eo,vsLight:()=>ei};for(var H in q)j(U,H,{get:q[H],enumerable:!0});var G={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},W={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},V={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},Q={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},K={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Y={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},Z="#c5a5c5",X="#8dc891",J={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:Z}},{types:["attr-value"],style:{color:X}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:X}},{types:["punctuation"],style:{color:X}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:Z}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},ee={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},et={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},en={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},er={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},ea={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},eo={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},ei={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},el={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},es={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},eu={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},ec={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},ed={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},ef={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},ep=/\r\n|\r|\n/,em=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},eh=(e,t)=>{let n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},eg=e=>{let t=[[]],n=[e],r=[0],a=[e.length],o=0,i=0,l=[],s=[l];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,u=t[i],c=n[i][o];if("string"==typeof c?(u=i>0?u:["plain"],e=c):(u=eh(u,c.type),c.alias&&(u=eh(u,c.alias)),e=c.content),"string"!=typeof e){i++,t.push(u),n.push(e),r.push(0),a.push(e.length);continue}let d=e.split(ep),f=d.length;l.push({types:u,content:d[0]});for(let e=1;e<f;e++)em(l),s.push(l=[]),l.push({types:u,content:d[e]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return em(l),s},ey=({children:e,language:t,code:n,theme:r,prism:a})=>{let o,i=t.toLowerCase(),l=((e,t)=>{let{plain:n}=e,r=e.styles.reduce((e,n)=>{let{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach(t=>{let n=z(z({},e[t]),a);e[t]=n}),e},{});return r.root=n,r.plain=P(z({},n),R({backgroundColor:void 0})),r})(r,i),s=(0,C.useCallback)(e=>{var{className:t,style:n,line:r}=e;let a=P(z({},$(e,["className","style","line"])),R({className:(0,_.A)("token-line",t)}));return"object"==typeof l&&"plain"in l&&(a.style=l.plain),"object"==typeof n&&(a.style=z(z({},a.style||{}),n)),a},[l]),u=(o=(0,C.useCallback)(({types:e,empty:t})=>{if(null!=l)return 1===e.length&&"plain"===e[0]?null!=t?{display:"inline-block"}:void 0:1===e.length&&null!=t?l[e[0]]:Object.assign(null!=t?{display:"inline-block"}:{},...e.map(e=>l[e]))},[l]),(0,C.useCallback)(e=>{var{token:t,className:n,style:r}=e;let a=P(z({},$(e,["token","className","style"])),R({className:(0,_.A)("token",...t.types,n),children:t.content,style:o(t)}));return null!=r&&(a.style=z(z({},a.style||{}),r)),a},[o])),c=a.languages[i];return e({tokens:(({prism:e,code:t,grammar:n,language:r})=>(0,C.useMemo)(()=>{if(null==n)return eg([t]);let a={code:t,grammar:n,language:r,tokens:[]};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(t,n),e.hooks.run("after-tokenize",a),eg(a.tokens)},[t,n,r,e]))({prism:a,language:i,code:n,grammar:c}),className:`prism-code language-${i}`,style:null!=l?l.root:{},getLineProps:s,getTokenProps:u})},eb=e=>(0,C.createElement)(ey,P(z({},e),R({prism:e.prism||B,theme:e.theme||eo,code:e.code,language:e.language})))},1561(e,t,n){"use strict";n.d(t,{A:()=>r});function r(e,t){if(!e)throw Error("Invariant failed")}},1635(e,t,n){"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>D,__assign:()=>o,__asyncDelegator:()=>A,__asyncGenerator:()=>E,__asyncValues:()=>C,__await:()=>S,__awaiter:()=>m,__classPrivateFieldGet:()=>R,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>O,__createBinding:()=>g,__decorate:()=>l,__disposeResources:()=>M,__esDecorate:()=>u,__exportStar:()=>y,__extends:()=>a,__generator:()=>h,__importDefault:()=>N,__importStar:()=>P,__makeTemplateObject:()=>_,__metadata:()=>p,__param:()=>s,__propKey:()=>d,__read:()=>v,__rest:()=>i,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>w,__spreadArray:()=>x,__spreadArrays:()=>k,__values:()=>b,default:()=>z});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function i(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function l(e,t,n,r){var a,o=arguments.length,i=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(i=(o<3?a(i):o>3?a(t,n,i):a(t,n))||i);return o>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,a,o){function i(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var l,s=r.kind,u="getter"===s?"get":"setter"===s?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,p=n.length-1;p>=0;p--){var m={};for(var h in r)m[h]="access"===h?{}:r[h];for(var h in r.access)m.access[h]=r.access[h];m.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(i(e||null))};var g=(0,n[p])("accessor"===s?{get:d.get,set:d.set}:d[u],m);if("accessor"===s){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(l=i(g.get))&&(d.get=l),(l=i(g.set))&&(d.set=l),(l=i(g.init))&&a.unshift(l)}else(l=i(g))&&("field"===s?a.unshift(l):d[u]=l)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,a=0;a<t.length;a++)n=r?t[a].call(e,n):t[a].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function m(e,t,n,r){return new(n||(n=Promise))(function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(i,l)}s((r=r.apply(e,t||[])).next())})}function h(e,t){var n,r,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=l(0),i.throw=l(1),i.return=l(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(s){var u=[l,s];if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(a=2&u[0]?r.return:u[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;switch(r=0,a&&(u=[2&u[0],a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(6===u[0]&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=a=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function y(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,o=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return i}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function k(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),a=0,t=0;t<n;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)r[a]=o[i];return r}function x(e,t,n){if(n||2==arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),i("next"),i("throw"),i("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function i(e,t){a[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||l(e,t)})},t&&(r[e]=t(r[e])))}function l(e,t){try{var n;(n=a[e](t)).value instanceof S?Promise.resolve(n.value.v).then(s,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}}function s(e){l("next",e)}function u(e){l("throw",e)}function c(e,t){e(t),o.shift(),o.length&&l(o[0][0],o[0][1])}}function A(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:a?a(t):t}:a}}function C(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=b(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,a){var o,i,l;o=r,i=a,l=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:l})},i)})}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},j=function(e){return(j=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function P(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=j(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return T(t,e),t}function N(e){return e&&e.__esModule?e:{default:e}}function R(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function O(e,t,n,r,a){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!a)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?a.call(e,n):a?a.value=n:t.set(e,n),n}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function D(e,t,n){if(null!=t){var r,a;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(a=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");a&&(r=function(){try{a.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var I="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function M(e){function t(t){e.error=e.hasError?new I(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function a(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(a);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(a,function(e){return t(e),a()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,a,o){return n?t?".jsx":".js":!r||a&&o?r+a+"."+o.toLowerCase()+"js":e}):e}let z={__extends:a,__assign:o,__rest:i,__decorate:l,__param:s,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:p,__awaiter:m,__generator:h,__createBinding:g,__exportStar:y,__values:b,__read:v,__spread:w,__spreadArrays:k,__spreadArray:x,__await:S,__asyncGenerator:E,__asyncDelegator:A,__asyncValues:C,__makeTemplateObject:_,__importStar:P,__importDefault:N,__classPrivateFieldGet:R,__classPrivateFieldSet:O,__classPrivateFieldIn:L,__addDisposableResource:D,__disposeResources:M,__rewriteRelativeImportExtension:F}},2654(e){"use strict";e.exports={}},4054(e){"use strict";e.exports=JSON.parse('{"/search-822":{"__comp":"1a4e3797","__context":{"plugin":"138e0e15"}},"/docs-c0c":{"__comp":"5e95c892","__context":{"plugin":"aba21aa0"}},"/docs-37f":{"__comp":"a7bd4aaa","__props":"0058b4c6"},"/docs-3b4":{"__comp":"a94703ab"},"/docs-731":{"__comp":"17896441","content":"6459b84b"},"/docs/cli-commands/cli-commands-5e0":{"__comp":"17896441","content":"35a35434"},"/docs/cli-commands/doctor-165":{"__comp":"17896441","content":"8b9e049f"},"/docs/cli-commands/in-chat-commands-3be":{"__comp":"17896441","content":"de57ece0"},"/docs/daemon-mode/daemon-mode-9c7":{"__comp":"17896441","content":"4df8d22c"},"/docs/daemon-mode/platform-guide-346":{"__comp":"17896441","content":"a6e053fd"},"/docs/daemon-mode/system-service-d3a":{"__comp":"17896441","content":"2aa6d146"},"/docs/getting-started/setup-870":{"__comp":"17896441","content":"449e68eb"},"/docs/getting-started/starting-449":{"__comp":"17896441","content":"bc430709"},"/docs/integrations/coding-workspace-2c2":{"__comp":"17896441","content":"c12bbe07"},"/docs/integrations/github-companion-b37":{"__comp":"17896441","content":"47fe99a6"},"/docs/integrations/spotify-10e":{"__comp":"17896441","content":"2b538913"},"/docs/integrations/sub-agents-1fe":{"__comp":"17896441","content":"a06fff0d"},"/docs/integrations/telegram-ebc":{"__comp":"17896441","content":"0402ec03"},"/docs/reference/built-in-tools-e86":{"__comp":"17896441","content":"e7df10b1"},"/docs/reference/configuration-171":{"__comp":"17896441","content":"c8078f0a"},"/docs/reference/permissions-bd4":{"__comp":"17896441","content":"09292580"},"/docs/reference/provider-fallback-b47":{"__comp":"17896441","content":"37a27735"},"/docs/reference/scheduling-0b4":{"__comp":"17896441","content":"7e0893c3"},"/docs/reference/second-brain-2c4":{"__comp":"17896441","content":"115f7d00"},"/docs/reference/skills-d27":{"__comp":"17896441","content":"653db0f6"},"/docs/releases-63f":{"__comp":"17896441","content":"f3244ec3"},"/docs/releases/1.1.6-57f":{"__comp":"17896441","content":"15bc3129"},"/-e5f":{"__comp":"1df93b7f","__context":{"plugin":"a7456010"},"config":"5e9f5e1a"}}')}},function(e){e.O(0,["14"],function(){return e(e.s=354)}),e.O()}]);
\ No newline at end of file
diff --git a/docs/assets/js/runtime~main.26d25496.js b/docs/assets/js/runtime~main.26d25496.js
deleted file mode 100644
index c4dace92..00000000
--- a/docs/assets/js/runtime~main.26d25496.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var e,t,a,r,o,f,n,d={},c={};function i(e){var t=c[e];if(void 0!==t)return t.exports;var a=c[e]={exports:{}};return d[e].call(a.exports,a,a.exports,i),a.exports}i.m=d,i.c=c,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(a,r){if(1&r&&(a=this(a)),8&r||"object"==typeof a&&a&&(4&r&&a.__esModule||16&r&&"function"==typeof a.then))return a;var o=Object.create(null);i.r(o);var f={};e=e||[null,t({}),t([]),t(t)];for(var n=2&r&&a;("object"==typeof n||"function"==typeof n)&&!~e.indexOf(n);n=t(n))Object.getOwnPropertyNames(n).forEach(e=>{f[e]=()=>a[e]});return f.default=()=>a,i.d(o,f),o},i.d=(e,t)=>{for(var a in t)i.o(t,a)&&!i.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,a)=>(i.f[a](e,t),t),[])),i.u=e=>"assets/js/"+(({106:"17896441",135:"c8078f0a",203:"8b9e049f",225:"a06fff0d",234:"138e0e15",263:"37a27735",266:"0058b4c6",283:"2b538913",336:"6459b84b",351:"0402ec03",368:"a6e053fd",452:"1df93b7f",454:"7e0893c3",523:"4df8d22c",534:"e7df10b1",56:"a7456010",575:"a7bd4aaa",618:"115f7d00",650:"de57ece0",651:"2aa6d146",668:"5e95c892",713:"47fe99a6",747:"aba21aa0",770:"35a35434",785:"a94703ab",788:"bc430709",847:"1a4e3797",851:"09292580",871:"449e68eb",904:"653db0f6"})[e]||e)+"."+({106:"acf4bf36",135:"5ab8a5ad",203:"6aa3b5f4",225:"72dc6f75",234:"ffb52263",263:"0a7b0e42",266:"93dc7282",283:"c0391b96",314:"c4dd6034",336:"0253a2d0",351:"24b4b9ab",368:"9972c0ae",452:"de633640",454:"49a24ad2",498:"ac1279b5",523:"80a809b4",534:"d9603bc5",56:"59429b8c",575:"1a48235a",618:"a3a82bc0",62:"5db75b64",650:"1d6c1853",651:"04bd5ffd",668:"f35f7d4e",693:"77cc2acf",713:"e85172ef",747:"eafb5ecc",770:"9d6edcf5",785:"025095cf",788:"5b1e91ce",847:"24ac5ea6",851:"3faae294",871:"a5b08cae",904:"be54bbf6",92:"613668b5"})[e]+".js",i.miniCssF=e=>""+e+".css",i.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},i.l=function(e,t,r,o){if(a[e])return void a[e].push(t);if(void 0!==r)for(var f,n,d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var b=d[c];if(b.getAttribute("src")==e||b.getAttribute("data-rspack")=="website:"+r){f=b;break}}f||(n=!0,(f=document.createElement("script")).timeout=120,i.nc&&f.setAttribute("nonce",i.nc),f.setAttribute("data-rspack","website:"+r),f.src=e),a[e]=[t];var u=function(t,r){f.onerror=f.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],f.parentNode&&f.parentNode.removeChild(f),o&&o.forEach(function(e){return e(r)}),t)return t(r)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=u.bind(null,f.onerror),f.onload=u.bind(null,f.onload),n&&document.head.appendChild(f)},i.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r=[],i.O=(e,t,a,o)=>{if(t){o=o||0;for(var f=r.length;f>0&&r[f-1][2]>o;f--)r[f]=r[f-1];r[f]=[t,a,o];return}for(var n=1/0,f=0;f<r.length;f++){for(var t=r[f][0],a=r[f][1],o=r[f][2],d=!0,c=0;c<t.length;c++)(!1&o||n>=o)&&Object.keys(i.O).every(e=>i.O[e](t[c]))?t.splice(c--,1):(d=!1,o<n&&(n=o));if(d){r.splice(f--,1);var b=a();void 0!==b&&(e=b)}}return e},i.p="/",i.rv=()=>"1.7.11",i.gca=function(e){return e=({0x11113f9:"106",a7456010:"56",c8078f0a:"135","8b9e049f":"203",a06fff0d:"225","138e0e15":"234","37a27735":"263","0058b4c6":"266","2b538913":"283","6459b84b":"336","0402ec03":"351",a6e053fd:"368","1df93b7f":"452","7e0893c3":"454","4df8d22c":"523",e7df10b1:"534",a7bd4aaa:"575","115f7d00":"618",de57ece0:"650","2aa6d146":"651","5e95c892":"668","47fe99a6":"713",aba21aa0:"747","35a35434":"770",a94703ab:"785",bc430709:"788","1a4e3797":"847","09292580":"851","449e68eb":"871","653db0f6":"904"})[e]||e,i.p+i.u(e)},i.b=document.baseURI||self.location.href,o={14:0,783:0},i.f.j=function(e,t){var a=i.o(o,e)?o[e]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^(14|783)$/.test(e))o[e]=0;else{var r=new Promise((t,r)=>a=o[e]=[t,r]);t.push(a[2]=r);var f=i.p+i.u(e),n=Error();i.l(f,function(t){if(i.o(o,e)&&(0!==(a=o[e])&&(o[e]=void 0),a)){var r=t&&("load"===t.type?"missing":t.type),f=t&&t.target&&t.target.src;n.message="Loading chunk "+e+" failed.\n("+r+": "+f+")",n.name="ChunkLoadError",n.type=r,n.request=f,a[1](n)}},"chunk-"+e,e)}},i.O.j=e=>0===o[e],f=(e,t)=>{var a,r,f=t[0],n=t[1],d=t[2],c=0;if(f.some(e=>0!==o[e])){for(a in n)i.o(n,a)&&(i.m[a]=n[a]);if(d)var b=d(i)}for(e&&e(t);c<f.length;c++)r=f[c],i.o(o,r)&&o[r]&&o[r][0](),o[r]=0;return i.O(b)},(n=self.webpackChunkwebsite=self.webpackChunkwebsite||[]).forEach(f.bind(null,0)),n.push=f.bind(null,n.push.bind(n)),i.ruid="[email protected]"})();
\ No newline at end of file
diff --git a/docs/assets/js/runtime~main.46475263.js b/docs/assets/js/runtime~main.46475263.js
new file mode 100644
index 00000000..9b881475
--- /dev/null
+++ b/docs/assets/js/runtime~main.46475263.js
@@ -0,0 +1 @@
+(()=>{"use strict";var e,t,a,r,o,f,n,c={},b={};function d(e){var t=b[e];if(void 0!==t)return t.exports;var a=b[e]={exports:{}};return c[e].call(a.exports,a,a.exports,d),a.exports}d.m=c,d.c=b,d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(a,r){if(1&r&&(a=this(a)),8&r||"object"==typeof a&&a&&(4&r&&a.__esModule||16&r&&"function"==typeof a.then))return a;var o=Object.create(null);d.r(o);var f={};e=e||[null,t({}),t([]),t(t)];for(var n=2&r&&a;("object"==typeof n||"function"==typeof n)&&!~e.indexOf(n);n=t(n))Object.getOwnPropertyNames(n).forEach(e=>{f[e]=()=>a[e]});return f.default=()=>a,d.d(o,f),o},d.d=(e,t)=>{for(var a in t)d.o(t,a)&&!d.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce((t,a)=>(d.f[a](e,t),t),[])),d.u=e=>"assets/js/"+(({106:"17896441",135:"c8078f0a",203:"8b9e049f",225:"a06fff0d",234:"138e0e15",263:"37a27735",266:"0058b4c6",283:"2b538913",336:"6459b84b",351:"0402ec03",368:"a6e053fd",452:"1df93b7f",454:"7e0893c3",523:"4df8d22c",534:"e7df10b1",56:"a7456010",575:"a7bd4aaa",600:"f3244ec3",618:"115f7d00",624:"c12bbe07",650:"de57ece0",651:"2aa6d146",668:"5e95c892",713:"47fe99a6",724:"15bc3129",747:"aba21aa0",770:"35a35434",785:"a94703ab",788:"bc430709",847:"1a4e3797",851:"09292580",871:"449e68eb",904:"653db0f6"})[e]||e)+"."+({106:"acf4bf36",135:"5ab8a5ad",203:"9066b1a6",225:"a5831abf",234:"ffb52263",263:"62cbe913",266:"671f100d",283:"82697e70",314:"c4dd6034",336:"0253a2d0",351:"24b4b9ab",368:"8428bb73",452:"0bffce44",454:"49a24ad2",498:"61bd0138",523:"bb68aa6c",534:"d9603bc5",56:"59429b8c",575:"1a48235a",600:"1f244bc7",618:"a3a82bc0",62:"5db75b64",624:"18dd8763",650:"5c199cd5",651:"04bd5ffd",668:"f35f7d4e",693:"77cc2acf",713:"e85172ef",724:"bf770dad",747:"eafb5ecc",770:"f9cb7092",785:"025095cf",788:"ffceb7ec",847:"24ac5ea6",851:"3faae294",871:"a5b08cae",904:"575741d9",92:"613668b5"})[e]+".js",d.miniCssF=e=>""+e+".css",d.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},d.l=function(e,t,r,o){if(a[e])return void a[e].push(t);if(void 0!==r)for(var f,n,c=document.getElementsByTagName("script"),b=0;b<c.length;b++){var i=c[b];if(i.getAttribute("src")==e||i.getAttribute("data-rspack")=="website:"+r){f=i;break}}f||(n=!0,(f=document.createElement("script")).timeout=120,d.nc&&f.setAttribute("nonce",d.nc),f.setAttribute("data-rspack","website:"+r),f.src=e),a[e]=[t];var u=function(t,r){f.onerror=f.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],f.parentNode&&f.parentNode.removeChild(f),o&&o.forEach(function(e){return e(r)}),t)return t(r)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=u.bind(null,f.onerror),f.onload=u.bind(null,f.onload),n&&document.head.appendChild(f)},d.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r=[],d.O=(e,t,a,o)=>{if(t){o=o||0;for(var f=r.length;f>0&&r[f-1][2]>o;f--)r[f]=r[f-1];r[f]=[t,a,o];return}for(var n=1/0,f=0;f<r.length;f++){for(var t=r[f][0],a=r[f][1],o=r[f][2],c=!0,b=0;b<t.length;b++)(!1&o||n>=o)&&Object.keys(d.O).every(e=>d.O[e](t[b]))?t.splice(b--,1):(c=!1,o<n&&(n=o));if(c){r.splice(f--,1);var i=a();void 0!==i&&(e=i)}}return e},d.p="/",d.rv=()=>"1.7.11",d.gca=function(e){return e=({0x11113f9:"106",a7456010:"56",c8078f0a:"135","8b9e049f":"203",a06fff0d:"225","138e0e15":"234","37a27735":"263","0058b4c6":"266","2b538913":"283","6459b84b":"336","0402ec03":"351",a6e053fd:"368","1df93b7f":"452","7e0893c3":"454","4df8d22c":"523",e7df10b1:"534",a7bd4aaa:"575",f3244ec3:"600","115f7d00":"618",c12bbe07:"624",de57ece0:"650","2aa6d146":"651","5e95c892":"668","47fe99a6":"713","15bc3129":"724",aba21aa0:"747","35a35434":"770",a94703ab:"785",bc430709:"788","1a4e3797":"847","09292580":"851","449e68eb":"871","653db0f6":"904"})[e]||e,d.p+d.u(e)},d.b=document.baseURI||self.location.href,o={14:0,783:0},d.f.j=function(e,t){var a=d.o(o,e)?o[e]:void 0;if(0!==a)if(a)t.push(a[2]);else if(/^(14|783)$/.test(e))o[e]=0;else{var r=new Promise((t,r)=>a=o[e]=[t,r]);t.push(a[2]=r);var f=d.p+d.u(e),n=Error();d.l(f,function(t){if(d.o(o,e)&&(0!==(a=o[e])&&(o[e]=void 0),a)){var r=t&&("load"===t.type?"missing":t.type),f=t&&t.target&&t.target.src;n.message="Loading chunk "+e+" failed.\n("+r+": "+f+")",n.name="ChunkLoadError",n.type=r,n.request=f,a[1](n)}},"chunk-"+e,e)}},d.O.j=e=>0===o[e],f=(e,t)=>{var a,r,f=t[0],n=t[1],c=t[2],b=0;if(f.some(e=>0!==o[e])){for(a in n)d.o(n,a)&&(d.m[a]=n[a]);if(c)var i=c(d)}for(e&&e(t);b<f.length;b++)r=f[b],d.o(o,r)&&o[r]&&o[r][0](),o[r]=0;return d.O(i)},(n=self.webpackChunkwebsite=self.webpackChunkwebsite||[]).forEach(f.bind(null,0)),n.push=f.bind(null,n.push.bind(n)),d.ruid="[email protected]"})();
\ No newline at end of file
diff --git a/docs/docs.html b/docs/docs.html
index 8c69d91b..d2fa5299 100644
--- a/docs/docs.html
+++ b/docs/docs.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/installation" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Installation | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Installation | Mercury"/><meta data-rh=true name=description content="Mercury requires Node.js 20+. Install with npm:"/><meta data-rh=true property=og:description content="Mercury requires Node.js 20+. Install with npm:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/","name":"Installation","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/installation" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Installation | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Installation | Mercury"/><meta data-rh=true name=description content="Mercury requires Node.js 20+. Install with npm:"/><meta data-rh=true property=og:description content="Mercury requires Node.js 20+. Install with npm:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/","name":"Installation","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Installation</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Installation</h1></header><p>Mercury requires <strong>Node.js 20+</strong>. Install with npm:</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Installation</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Installation</h1></header><p>Mercury requires <strong>Node.js 20+</strong>. Install with npm:</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">npm i -g @cosmicstack/mercury-agent</span><br/></div></code></pre></div></div>
<p>Or run without installing:</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">npx @cosmicstack/mercury-agent</span><br/></div></code></pre></div></div>
diff --git a/docs/docs/cli-commands/cli-commands.html b/docs/docs/cli-commands/cli-commands.html
index 9e8855d7..3e816f20 100644
--- a/docs/docs/cli-commands/cli-commands.html
+++ b/docs/docs/cli-commands/cli-commands.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/cli-commands" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Full Command Reference | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Full Command Reference | Mercury"/><meta data-rh=true name=description content="| Command | Description |"/><meta data-rh=true property=og:description content="| Command | Description |"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/cli-commands","name":"Full Command Reference","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/cli-commands" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Full Command Reference | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Full Command Reference | Mercury"/><meta data-rh=true name=description content="| Command | Description |"/><meta data-rh=true property=og:description content="| Command | Description |"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/cli-commands hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/cli-commands","name":"Full Command Reference","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Full Command Reference</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>Full Command Reference</h1></header><table><thead><tr><th>Command<th>Description<tbody><tr><td><code>mercury up</code><td><strong>Recommended.</strong> Install service + start daemon + ensure running<tr><td><code>mercury</code><td>Start the agent (same as <code>mercury start</code>)<tr><td><code>mercury start</code><td>Start as background daemon (default)<tr><td><code>mercury start --foreground</code><td>Start in foreground (interactive) mode. Shorthand: <code>-f</code><tr><td><code>mercury restart</code><td>Restart a background Mercury process<tr><td><code>mercury stop</code><td>Stop a background Mercury process<tr><td><code>mercury logs</code><td>Show last 100 lines of daemon logs<tr><td><code>mercury status</code><td>Show config, providers, daemon PID, and budget<tr><td><code>mercury doctor</code><td>Reconfigure settings — press Enter to keep current values<tr><td><code>mercury setup</code><td>Re-run the setup wizard (same as doctor)<tr><td><code>mercury help</code><td>Show the full manual (tools, commands, config paths)<tr><td><code>mercury service install</code><td>Install as system service (auto-start on boot)<tr><td><code>mercury service uninstall</code><td>Uninstall the system service<tr><td><code>mercury service status</code><td>Show system service status<tr><td><code>mercury --verbose</code><td>Start with debug logging on stderr</table></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/commands.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/getting-started/starting><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Starting Mercury</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/cli-commands/doctor><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Doctor (Reconfigure)</div></a></nav></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Full Command Reference</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>Full Command Reference</h1></header><table><thead><tr><th>Command<th>Description<tbody><tr><td><code>mercury up</code><td><strong>Recommended.</strong> Install service + start daemon + ensure running<tr><td><code>mercury</code><td>Start the agent (same as <code>mercury start</code>)<tr><td><code>mercury start</code><td>Start as background daemon (default)<tr><td><code>mercury start --foreground</code><td>Start in foreground (interactive) mode. Shorthand: <code>-f</code><tr><td><code>mercury restart</code><td>Restart a background Mercury process<tr><td><code>mercury stop</code><td>Stop a background Mercury process<tr><td><code>mercury logs</code><td>Show last 100 lines of daemon logs<tr><td><code>mercury status</code><td>Show config, providers, daemon PID, and budget<tr><td><code>mercury doctor</code><td>Reconfigure settings — press Enter to keep current values<tr><td><code>mercury doctor --platform</code><td>Show cross-platform terminal/daemon compatibility diagnostics<tr><td><code>mercury setup</code><td>Re-run the setup wizard (same as doctor)<tr><td><code>mercury help</code><td>Show the full manual (tools, commands, config paths)<tr><td><code>mercury service install</code><td>Install as system service (auto-start on boot)<tr><td><code>mercury service uninstall</code><td>Uninstall the system service<tr><td><code>mercury service status</code><td>Show system service status<tr><td><code>mercury --verbose</code><td>Start with debug logging on stderr</table></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/commands.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/getting-started/starting><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Starting Mercury</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/cli-commands/doctor><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Doctor (Reconfigure)</div></a></nav></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/cli-commands/doctor.html b/docs/docs/cli-commands/doctor.html
index 60113904..1f434bbe 100644
--- a/docs/docs/cli-commands/doctor.html
+++ b/docs/docs/cli-commands/doctor.html
@@ -1,11 +1,24 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/doctor" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Doctor (Reconfigure) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/doctor /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Doctor (Reconfigure) | Mercury"/><meta data-rh=true name=description content="mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it."/><meta data-rh=true property=og:description content="mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/doctor /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/doctor hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/doctor hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/doctor","name":"Doctor (Reconfigure)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/doctor" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Doctor (Reconfigure) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/doctor /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Doctor (Reconfigure) | Mercury"/><meta data-rh=true name=description content="mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it."/><meta data-rh=true property=og:description content="mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/doctor /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/doctor hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/doctor hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/doctor","name":"Doctor (Reconfigure)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Doctor (Reconfigure)</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>Doctor (Reconfigure)</h1></header><p><code>mercury doctor</code> re-runs the setup wizard with your current values pre-filled. Press <strong>Enter</strong> on any field to keep it unchanged, or type a new value to replace it.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Doctor (Reconfigure)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Doctor (Reconfigure)</h1></header><p><code>mercury doctor</code> re-runs the setup wizard with your current values pre-filled. Press <strong>Enter</strong> on any field to keep it unchanged, or type a new value to replace it.</p>
<ul>
<li class=""><strong>API keys</strong> are shown masked: <code>sk-x••••4f2a</code></li>
<li class=""><strong>Providers and models</strong> can be reselected; Mercury fetches models again for changed credentials</li>
<li class=""><strong>Telegram token</strong> — type <code>none</code> to disable Telegram, or paste a token to start the pairing-code flow</li>
<li class=""><strong>Daily budget</strong> — change the token budget limit</li>
</ul>
-<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury doctor</span><br/></div></code></pre></div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/doctor.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/cli-commands/cli-commands><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Full Command Reference</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/cli-commands/in-chat-commands><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>In-Chat Commands</div></a></nav></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury doctor</span><br/></div></code></pre></div></div>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=platform-diagnostics>Platform Diagnostics<a href=#platform-diagnostics class=hash-link aria-label="Direct link to Platform Diagnostics" title="Direct link to Platform Diagnostics" translate=no>​</a></h2>
+<p>Use <code>--platform</code> to run a non-destructive compatibility check for your current environment:</p>
+<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury doctor --platform</span><br/></div></code></pre></div></div>
+<p>This prints:</p>
+<ul>
+<li class="">OS + architecture</li>
+<li class="">Node.js version</li>
+<li class="">Terminal + TTY/raw-mode capability</li>
+<li class="">SSH/CI detection</li>
+<li class="">Daemon status</li>
+<li class="">Spotify inline-art support status</li>
+<li class="">Keybinding fallbacks (<code>/view</code>, <code>/ws exit</code>, etc.)</li>
+</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/doctor.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/cli-commands/cli-commands><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Full Command Reference</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/cli-commands/in-chat-commands><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>In-Chat Commands</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#platform-diagnostics class="table-of-contents__link toc-highlight">Platform Diagnostics</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/cli-commands/in-chat-commands.html b/docs/docs/cli-commands/in-chat-commands.html
index 05faa21e..be545fbe 100644
--- a/docs/docs/cli-commands/in-chat-commands.html
+++ b/docs/docs/cli-commands/in-chat-commands.html
@@ -1,8 +1,8 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/in-chat-commands" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>In-Chat Commands | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="In-Chat Commands | Mercury"/><meta data-rh=true name=description content="Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens."/><meta data-rh=true property=og:description content="Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands","name":"In-Chat Commands","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-cli-commands/in-chat-commands" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>In-Chat Commands | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="In-Chat Commands | Mercury"/><meta data-rh=true name=description content="Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens."/><meta data-rh=true property=og:description content="Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands","name":"In-Chat Commands","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>In-Chat Commands</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>In-Chat Commands</h1></header><p>Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They <strong>do not consume API tokens</strong>.</p>
-<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/help</code><td>Show the full manual<tr><td><code>/status</code><td>Show agent name, provider, budget, and channels<tr><td><code>/</code> or <code>/menu</code><td>CLI only: open the arrow-key command picker with Back and Exit options<tr><td><code>/telegram</code><td>CLI only: open Telegram management with pending requests, approvals, roles, and reset actions<tr><td><code>/telegram pending</code><td>CLI only: list pending Telegram access requests<tr><td><code>/telegram users</code><td>CLI only: list approved Telegram admins and members<tr><td><code>/telegram approve &lt;code|id></code><td>CLI only: approve the first pairing code or a later Telegram access request<tr><td><code>/telegram reject &lt;id></code><td>CLI only: reject a pending Telegram access request<tr><td><code>/telegram remove &lt;id></code><td>CLI only: revoke an approved Telegram user<tr><td><code>/telegram promote &lt;id></code><td>CLI only: promote a Telegram member to admin<tr><td><code>/telegram demote &lt;id></code><td>CLI only: demote a Telegram admin to member<tr><td><code>/telegram reset</code><td>CLI only: clear all Telegram access and restart pairing from scratch<tr><td><code>/tools</code><td>List all currently loaded tools<tr><td><code>/skills</code><td>List installed skills<tr><td><code>/stream</code><td>Toggle Telegram text streaming (on/off)<tr><td><code>/stream off</code><td>Disable streaming — responses arrive as single message<tr><td><code>/budget</code><td>Show token budget status<tr><td><code>/budget override</code><td>Override budget for one request<tr><td><code>/budget reset</code><td>Reset usage to zero<tr><td><code>/budget set &lt;n></code><td>Change daily token budget<tr><td><code>/permissions</code><td>Change permission mode (Ask Me / Allow All) — Telegram only<tr><td><code>/tasks</code><td>List scheduled tasks<tr><td><code>/memory</code><td>View and manage second brain memory<tr><td><code>/unpair</code><td>Telegram only: reset all access, new users can /start again</table>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>CLI Commands</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>In-Chat Commands</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>In-Chat Commands</h1></header><p>Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They <strong>do not consume API tokens</strong>.</p>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/help</code><td>Show the full manual<tr><td><code>/status</code><td>Show agent name, provider, budget, and channels<tr><td><code>/</code> or <code>/menu</code><td>CLI only: open the arrow-key command picker with Back and Exit options<tr><td><code>/telegram</code><td>CLI only: open Telegram management with pending requests, approvals, roles, and reset actions<tr><td><code>/telegram pending</code><td>CLI only: list pending Telegram access requests<tr><td><code>/telegram users</code><td>CLI only: list approved Telegram admins and members<tr><td><code>/telegram approve &lt;code|id></code><td>CLI only: approve the first pairing code or a later Telegram access request<tr><td><code>/telegram reject &lt;id></code><td>CLI only: reject a pending Telegram access request<tr><td><code>/telegram remove &lt;id></code><td>CLI only: revoke an approved Telegram user<tr><td><code>/telegram promote &lt;id></code><td>CLI only: promote a Telegram member to admin<tr><td><code>/telegram demote &lt;id></code><td>CLI only: demote a Telegram admin to member<tr><td><code>/telegram reset</code><td>CLI only: clear all Telegram access and restart pairing from scratch<tr><td><code>/tools</code><td>List all currently loaded tools<tr><td><code>/skills</code><td>List installed skills<tr><td><code>/stream</code><td>Toggle Telegram text streaming (on/off)<tr><td><code>/stream off</code><td>Disable streaming — responses arrive as single message<tr><td><code>/budget</code><td>Show token budget status<tr><td><code>/budget override</code><td>Override budget for one request<tr><td><code>/budget reset</code><td>Reset usage to zero<tr><td><code>/budget set &lt;n></code><td>Change daily token budget<tr><td><code>/permissions</code><td>Change permission mode (Ask Me / Allow All) — Telegram only<tr><td><code>/models</code><td>List configured models/providers and switch active model for this session<tr><td><code>/models use &lt;provider></code><td>Switch the current session model/provider<tr><td><code>/models doctor</code><td>Show how to add/configure models via <code>mercury doctor</code><tr><td><code>/view</code><td>Toggle progress view (balanced/detailed)<tr><td><code>/view balanced</code><td>Set compact progress view<tr><td><code>/view detailed</code><td>Set full progress view<tr><td><code>/code agent &lt;task></code><td>Delegate a coding task to a sub-agent in the background<tr><td><code>/ws exit</code><td>Exit workspace IDE mode back to general chat<tr><td><code>/bg &lt;command></code><td>Run a shell command in the background<tr><td><code>/bg: &lt;task></code><td>Run a natural-language sub-agent task in background<tr><td><code>/bg current</code><td>Move the current in-flight task to background<tr><td><code>/bg list</code><td>Show background tasks<tr><td><code>/bg &lt;id></code><td>Show details/output for one background task<tr><td><code>/bg cancel &lt;id></code><td>Cancel a running background task<tr><td><code>/bg clear</code><td>Prune completed background tasks<tr><td><code>/tasks</code><td>List scheduled tasks<tr><td><code>/memory</code><td>View and manage second brain memory<tr><td><code>/unpair</code><td>Telegram only: reset all access, new users can /start again</table>
<p>:::info Telegram pairing and access
Telegram stays private 1:1 only. The first user sends <code>/start</code>, receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send <code>/start</code>, appear as pending requests, and can then be approved or rejected from the CLI <code>/telegram</code> menu.
:::</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/cli-commands/in-chat-commands.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/cli-commands/doctor><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Doctor (Reconfigure)</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/daemon-mode/daemon-mode><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Daemon Mode</div></a></nav></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/daemon-mode/daemon-mode.html b/docs/docs/daemon-mode/daemon-mode.html
index 8a4a09e6..3bfcba7b 100644
--- a/docs/docs/daemon-mode/daemon-mode.html
+++ b/docs/docs/daemon-mode/daemon-mode.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/daemon-mode" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Daemon Mode | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Daemon Mode | Mercury"/><meta data-rh=true name=description content="Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."/><meta data-rh=true property=og:description content="Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode","name":"Daemon Mode","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/daemon-mode" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Daemon Mode | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Daemon Mode | Mercury"/><meta data-rh=true name=description content="Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."/><meta data-rh=true property=og:description content="Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode","name":"Daemon Mode","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=linkLabel_WmDU>Daemon Mode</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/system-service><span title="System Service (Auto-Start on Boot)" class=linkLabel_WmDU>System Service (Auto-Start on Boot)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/platform-guide><span title="Platform-Specific Guide" class=linkLabel_WmDU>Platform-Specific Guide</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Daemon Mode</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Daemon Mode</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Daemon Mode</h1></header><p>Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=linkLabel_WmDU>Daemon Mode</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/system-service><span title="System Service (Auto-Start on Boot)" class=linkLabel_WmDU>System Service (Auto-Start on Boot)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/platform-guide><span title="Platform-Specific Guide" class=linkLabel_WmDU>Platform-Specific Guide</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Daemon Mode</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Daemon Mode</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Daemon Mode</h1></header><p>Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=start>Start<a href=#start class=hash-link aria-label="Direct link to Start" title="Direct link to Start" translate=no>​</a></h2>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury start</span><br/></div></code></pre></div></div>
<p>Starts Mercury as a background daemon. Spawns a detached child process, writes a PID file to <code>~/.mercury/daemon.pid</code>, and redirects output to <code>~/.mercury/daemon.log</code>. Stale PID files are automatically cleaned up.</p>
@@ -25,4 +25,19 @@
<p>Shows whether the daemon is running, its PID, and the log file path.</p>
<p>:::info Crash recovery
Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent "already running" false positives.
-:::</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/background-mode.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/cli-commands/in-chat-commands><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>In-Chat Commands</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/daemon-mode/system-service><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>System Service (Auto-Start on Boot)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#start class="table-of-contents__link toc-highlight">Start</a><li><a href=#start-in-foreground class="table-of-contents__link toc-highlight">Start in foreground</a><li><a href=#the-easy-way-mercury-up class="table-of-contents__link toc-highlight">The easy way: mercury up</a><li><a href=#stop class="table-of-contents__link toc-highlight">Stop</a><li><a href=#restart class="table-of-contents__link toc-highlight">Restart</a><li><a href=#view-logs class="table-of-contents__link toc-highlight">View logs</a><li><a href=#check-status class="table-of-contents__link toc-highlight">Check status</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+:::</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=background-tasks-and-workers>Background Tasks and Workers<a href=#background-tasks-and-workers class=hash-link aria-label="Direct link to Background Tasks and Workers" title="Direct link to Background Tasks and Workers" translate=no>​</a></h2>
+<p>Daemon mode supports async background execution for both shell commands and delegated sub-agent work.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=shell-background-tasks>Shell background tasks<a href=#shell-background-tasks class=hash-link aria-label="Direct link to Shell background tasks" title="Direct link to Shell background tasks" translate=no>​</a></h3>
+<ul>
+<li class="">Start with <code>/bg &lt;command></code></li>
+<li class="">Inspect with <code>/bg list</code> and <code>/bg &lt;id></code></li>
+<li class="">Cancel with <code>/bg cancel &lt;id></code></li>
+</ul>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=sub-agent-workers>Sub-agent workers<a href=#sub-agent-workers class=hash-link aria-label="Direct link to Sub-agent workers" title="Direct link to Sub-agent workers" translate=no>​</a></h3>
+<ul>
+<li class="">Delegate coding with <code>/code agent &lt;task></code> or <code>/bg: &lt;task></code></li>
+<li class="">Move active task to worker with <code>/bg current</code></li>
+<li class="">Worker progress/completion is surfaced in the shared background task board (<code>/bg list</code>)</li>
+</ul>
+<p>These workers are designed to keep Mercury responsive while long-running work continues.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/background-mode.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/cli-commands/in-chat-commands><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>In-Chat Commands</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/daemon-mode/system-service><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>System Service (Auto-Start on Boot)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#start class="table-of-contents__link toc-highlight">Start</a><li><a href=#start-in-foreground class="table-of-contents__link toc-highlight">Start in foreground</a><li><a href=#the-easy-way-mercury-up class="table-of-contents__link toc-highlight">The easy way: mercury up</a><li><a href=#stop class="table-of-contents__link toc-highlight">Stop</a><li><a href=#restart class="table-of-contents__link toc-highlight">Restart</a><li><a href=#view-logs class="table-of-contents__link toc-highlight">View logs</a><li><a href=#check-status class="table-of-contents__link toc-highlight">Check status</a><li><a href=#background-tasks-and-workers class="table-of-contents__link toc-highlight">Background Tasks and Workers</a><ul><li><a href=#shell-background-tasks class="table-of-contents__link toc-highlight">Shell background tasks</a><li><a href=#sub-agent-workers class="table-of-contents__link toc-highlight">Sub-agent workers</a></ul></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/daemon-mode/platform-guide.html b/docs/docs/daemon-mode/platform-guide.html
index 7e53cc27..43b544e5 100644
--- a/docs/docs/daemon-mode/platform-guide.html
+++ b/docs/docs/daemon-mode/platform-guide.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/platform-guide" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Platform-Specific Guide | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Platform-Specific Guide | Mercury"/><meta data-rh=true name=description content="mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist."/><meta data-rh=true property=og:description content="mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide","name":"Platform-Specific Guide","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/platform-guide" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Platform-Specific Guide | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Platform-Specific Guide | Mercury"/><meta data-rh=true name=description content="mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist."/><meta data-rh=true property=og:description content="mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide","name":"Platform-Specific Guide","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=linkLabel_WmDU>Daemon Mode</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/system-service><span title="System Service (Auto-Start on Boot)" class=linkLabel_WmDU>System Service (Auto-Start on Boot)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/daemon-mode/platform-guide><span title="Platform-Specific Guide" class=linkLabel_WmDU>Platform-Specific Guide</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Daemon Mode</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Platform-Specific Guide</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Platform-Specific Guide</h1></header><div class="theme-tabs-container tabs-container tabList__CuJ"><ul role=tablist aria-orientation=horizontal class=tabs><li role=tab tabindex=0 aria-selected=true class="tabs__item tabItem_LNqP tabs__item--active">macOS<li role=tab tabindex=-1 aria-selected=false class="tabs__item tabItem_LNqP">Linux<li role=tab tabindex=-1 aria-selected=false class="tabs__item tabItem_LNqP">Windows</ul><div class=margin-top--md><div role=tabpanel class=tabItem_Ymn6><p><code>mercury service install</code> creates a LaunchAgent at <code>~/Library/LaunchAgents/com.cosmicstack.mercury.plist</code>.<ul>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=linkLabel_WmDU>Daemon Mode</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/system-service><span title="System Service (Auto-Start on Boot)" class=linkLabel_WmDU>System Service (Auto-Start on Boot)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/daemon-mode/platform-guide><span title="Platform-Specific Guide" class=linkLabel_WmDU>Platform-Specific Guide</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Daemon Mode</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Platform-Specific Guide</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Platform-Specific Guide</h1></header><div class="theme-tabs-container tabs-container tabList__CuJ"><ul role=tablist aria-orientation=horizontal class=tabs><li role=tab tabindex=0 aria-selected=true class="tabs__item tabItem_LNqP tabs__item--active">macOS<li role=tab tabindex=-1 aria-selected=false class="tabs__item tabItem_LNqP">Linux<li role=tab tabindex=-1 aria-selected=false class="tabs__item tabItem_LNqP">Windows</ul><div class=margin-top--md><div role=tabpanel class=tabItem_Ymn6><p><code>mercury service install</code> creates a LaunchAgent at <code>~/Library/LaunchAgents/com.cosmicstack.mercury.plist</code>.<ul>
<li class=""><strong>Auto-start</strong>: Loads on login via <code>launchctl load</code></li>
<li class=""><strong>Crash recovery</strong>: <code>KeepAlive SuccessfulExit = false</code> restarts on crash</li>
<li class=""><strong>No sudo needed</strong>: User-level LaunchAgent, not system daemon</li>
@@ -17,4 +17,13 @@
<li class=""><strong>Crash recovery</strong>: Built-in watchdog with exponential backoff</li>
<li class=""><strong>No admin needed</strong>: Runs with limited privileges (<code>/rl limited</code>)</li>
<li class=""><strong>Logs</strong>: <code>%USERPROFILE%\.mercury\daemon.log</code></li>
-</ul><h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=manual-management-2>Manual management<a href=#manual-management-2 class=hash-link aria-label="Direct link to Manual management" title="Direct link to Manual management" translate=no>​</a></h3><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">schtasks /query /tn "MercuryAgent" /fo list</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">schtasks /run /tn "MercuryAgent"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">schtasks /delete /tn "MercuryAgent" /f</span><br/></div></code></pre></div></div></div></div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/platform-guide.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/daemon-mode/system-service><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>System Service (Auto-Start on Boot)</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/github-companion><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>GitHub Companion</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#manual-management class="table-of-contents__link toc-highlight">Manual management</a><li><a href=#manual-management-1 class="table-of-contents__link toc-highlight">Manual management</a><li><a href=#manual-management-2 class="table-of-contents__link toc-highlight">Manual management</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+</ul><h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=manual-management-2>Manual management<a href=#manual-management-2 class=hash-link aria-label="Direct link to Manual management" title="Direct link to Manual management" translate=no>​</a></h3><div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">schtasks /query /tn "MercuryAgent" /fo list</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">schtasks /run /tn "MercuryAgent"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">schtasks /delete /tn "MercuryAgent" /f</span><br/></div></code></pre></div></div></div></div></div>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=docker-status>Docker Status<a href=#docker-status class=hash-link aria-label="Direct link to Docker Status" title="Direct link to Docker Status" translate=no>​</a></h2>
+<p>Mercury does not currently ship first-party Docker assets in this repository (no <code>Dockerfile</code> or <code>docker-compose.yml</code> by default).</p>
+<p>If you run Mercury in a container, treat it as an advanced/custom deployment:</p>
+<ul>
+<li class="">Prefer foreground mode (<code>mercury start --foreground</code>) inside the container</li>
+<li class="">Let the container runtime handle restart policy</li>
+<li class="">Mount <code>~/.mercury</code> as persistent storage</li>
+<li class="">Validate terminal/TTY behavior separately for interactive CLI usage</li>
+</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/daemon-mode/platform-guide.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/daemon-mode/system-service><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>System Service (Auto-Start on Boot)</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/github-companion><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>GitHub Companion</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#manual-management class="table-of-contents__link toc-highlight">Manual management</a><li><a href=#manual-management-1 class="table-of-contents__link toc-highlight">Manual management</a><li><a href=#manual-management-2 class="table-of-contents__link toc-highlight">Manual management</a><li><a href=#docker-status class="table-of-contents__link toc-highlight">Docker Status</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/daemon-mode/system-service.html b/docs/docs/daemon-mode/system-service.html
index ab738bf5..c0c8c741 100644
--- a/docs/docs/daemon-mode/system-service.html
+++ b/docs/docs/daemon-mode/system-service.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/system-service" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>System Service (Auto-Start on Boot) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/system-service /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="System Service (Auto-Start on Boot) | Mercury"/><meta data-rh=true name=description content="Install Mercury as a system service so it starts automatically on boot and restarts on crash."/><meta data-rh=true property=og:description content="Install Mercury as a system service so it starts automatically on boot and restarts on crash."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/system-service","name":"System Service (Auto-Start on Boot)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-daemon-mode/system-service" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>System Service (Auto-Start on Boot) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/daemon-mode/system-service /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="System Service (Auto-Start on Boot) | Mercury"/><meta data-rh=true name=description content="Install Mercury as a system service so it starts automatically on boot and restarts on crash."/><meta data-rh=true property=og:description content="Install Mercury as a system service so it starts automatically on boot and restarts on crash."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/daemon-mode/system-service hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/daemon-mode/system-service","name":"System Service (Auto-Start on Boot)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=linkLabel_WmDU>Daemon Mode</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/daemon-mode/system-service><span title="System Service (Auto-Start on Boot)" class=linkLabel_WmDU>System Service (Auto-Start on Boot)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/platform-guide><span title="Platform-Specific Guide" class=linkLabel_WmDU>Platform-Specific Guide</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Daemon Mode</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>System Service (Auto-Start on Boot)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>System Service (Auto-Start on Boot)</h1></header><p>Install Mercury as a system service so it starts automatically on boot and restarts on crash.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=linkLabel_WmDU>Daemon Mode</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/daemon-mode/system-service><span title="System Service (Auto-Start on Boot)" class=linkLabel_WmDU>System Service (Auto-Start on Boot)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/daemon-mode/platform-guide><span title="Platform-Specific Guide" class=linkLabel_WmDU>Platform-Specific Guide</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Daemon Mode</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>System Service (Auto-Start on Boot)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>System Service (Auto-Start on Boot)</h1></header><p>Install Mercury as a system service so it starts automatically on boot and restarts on crash.</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury service install</span><br/></div></code></pre></div></div>
<p>This detects your platform and generates the appropriate service config.</p>
<table><thead><tr><th>Platform<th>Method<th>Requires Admin<th>Auto-Start<th>Crash Recovery<tbody><tr><td>macOS<td>LaunchAgent plist<td>No<td>On login<td>KeepAlive (restart on crash)<tr><td>Linux<td>systemd user unit<td>No*<td>On login<td>Restart=on-failure, 5s delay<tr><td>Windows<td>Task Scheduler (schtasks)<td>No<td>On logon<td>Built-in watchdog</table>
diff --git a/docs/docs/getting-started/setup.html b/docs/docs/getting-started/setup.html
index 701dbe97..87a139db 100644
--- a/docs/docs/getting-started/setup.html
+++ b/docs/docs/getting-started/setup.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/setup" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>First-Time Setup | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/getting-started/setup /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="First-Time Setup | Mercury"/><meta data-rh=true name=description content="Run mercury for the first time. The onboarding wizard asks for:"/><meta data-rh=true property=og:description content="Run mercury for the first time. The onboarding wizard asks for:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/getting-started/setup /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/setup hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/setup hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/getting-started/setup","name":"First-Time Setup","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/setup" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>First-Time Setup | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/getting-started/setup /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="First-Time Setup | Mercury"/><meta data-rh=true name=description content="Run mercury for the first time. The onboarding wizard asks for:"/><meta data-rh=true property=og:description content="Run mercury for the first time. The onboarding wizard asks for:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/getting-started/setup /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/setup hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/setup hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/getting-started/setup","name":"First-Time Setup","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>First-Time Setup</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>First-Time Setup</h1></header><p>Run <code>mercury</code> for the first time. The onboarding wizard asks for:</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>First-Time Setup</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>First-Time Setup</h1></header><p>Run <code>mercury</code> for the first time. The onboarding wizard asks for:</p>
<ul>
<li class=""><strong>Your name</strong> — used by the agent to address you</li>
<li class=""><strong>Agent name</strong> — defaults to "Mercury", customize it</li>
diff --git a/docs/docs/getting-started/starting.html b/docs/docs/getting-started/starting.html
index d025141a..957e61c0 100644
--- a/docs/docs/getting-started/starting.html
+++ b/docs/docs/getting-started/starting.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/starting" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Starting Mercury | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/getting-started/starting /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Starting Mercury | Mercury"/><meta data-rh=true name=description content="The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running."/><meta data-rh=true property=og:description content="The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/getting-started/starting /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/starting hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/starting hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/getting-started/starting","name":"Starting Mercury","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-getting-started/starting" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Starting Mercury | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/getting-started/starting /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Starting Mercury | Mercury"/><meta data-rh=true name=description content="The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running."/><meta data-rh=true property=og:description content="The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/getting-started/starting /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/starting hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/getting-started/starting hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/getting-started/starting","name":"Starting Mercury","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Starting Mercury</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Starting Mercury</h1></header><p>:::tip Recommended: mercury up
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current=page href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Starting Mercury</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Starting Mercury</h1></header><p>:::tip Recommended: mercury up
The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.
:::</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury up</span><br/></div></code></pre></div></div>
@@ -11,7 +11,7 @@ The easiest way to run Mercury persistently. Installs the system service if need
<p>Starts Mercury as a background daemon by default. Telegram becomes your primary interface. Logs go to <code>~/.mercury/daemon.log</code>. Stale PID files are auto-cleaned. Includes crash recovery with exponential backoff.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=foreground-interactive>Foreground (interactive)<a href=#foreground-interactive class=hash-link aria-label="Direct link to Foreground (interactive)" title="Direct link to Foreground (interactive)" translate=no>​</a></h2>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury start --foreground</span><br/></div></code></pre></div></div>
-<p>Runs Mercury attached to your terminal with a readline prompt. Press <code>Ctrl+C</code> to exit. All conversation happens in your terminal with real-time text streaming and markdown rendering. Shorthand: <code>mercury start -f</code>.</p>
+<p>Runs Mercury attached to your terminal with the Ink TUI interface. Press <code>Ctrl+C</code> to exit. The CLI supports chat, coding workspace mode, progress views, and interactive permission prompts. Shorthand: <code>mercury start -f</code>.</p>
<p>When running in background mode, you can stop it with:</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">mercury stop</span><br/></div></code></pre></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=verbose-logging>Verbose logging<a href=#verbose-logging class=hash-link aria-label="Direct link to Verbose logging" title="Direct link to Verbose logging" translate=no>​</a></h2>
diff --git a/docs/docs/integrations/coding-workspace.html b/docs/docs/integrations/coding-workspace.html
new file mode 100644
index 00000000..e77c8dc0
--- /dev/null
+++ b/docs/docs/integrations/coding-workspace.html
@@ -0,0 +1,39 @@
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/coding-workspace" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Coding Workspace (IDE Mode) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/coding-workspace /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Coding Workspace (IDE Mode) | Mercury"/><meta data-rh=true name=description content="Mercury includes a CLI IDE-style workspace mode for repository-focused coding."/><meta data-rh=true property=og:description content="Mercury includes a CLI IDE-style workspace mode for repository-focused coding."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/coding-workspace /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/coding-workspace hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/coding-workspace hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/coding-workspace","name":"Coding Workspace (IDE Mode)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
+</defs></svg>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Coding Workspace (IDE Mode)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Coding Workspace (IDE Mode)</h1></header><p>Mercury includes a CLI IDE-style workspace mode for repository-focused coding.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=enter-workspace-mode>Enter Workspace Mode<a href=#enter-workspace-mode class=hash-link aria-label="Direct link to Enter Workspace Mode" title="Direct link to Enter Workspace Mode" translate=no>​</a></h2>
+<p>You can enter workspace mode in multiple ways:</p>
+<ul>
+<li class=""><code>/code</code> and choose workspace</li>
+<li class=""><code>/code workspace</code></li>
+<li class=""><code>/ws open &lt;path></code></li>
+</ul>
+<p>Once active, Mercury switches to coding context for that repository.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=modes>Modes<a href=#modes class=hash-link aria-label="Direct link to Modes" title="Direct link to Modes" translate=no>​</a></h2>
+<p>Use programming modes to control behavior:</p>
+<ul>
+<li class=""><code>/code plan</code> — analysis/planning first, minimal code changes</li>
+<li class=""><code>/code execute</code> — implementation mode</li>
+<li class=""><code>/code off</code> — return to normal conversation behavior</li>
+</ul>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=keyboard-shortcuts-cli>Keyboard shortcuts (CLI)<a href=#keyboard-shortcuts-cli class=hash-link aria-label="Direct link to Keyboard shortcuts (CLI)" title="Direct link to Keyboard shortcuts (CLI)" translate=no>​</a></h3>
+<ul>
+<li class=""><code>Ctrl+P</code> → Plan mode</li>
+<li class=""><code>Ctrl+X</code> → Execute mode</li>
+<li class=""><code>Esc</code> or <code>Ctrl+Q</code> → Exit workspace back to chat</li>
+<li class=""><code>Ctrl+E</code> → Explorer pane</li>
+<li class=""><code>Ctrl+G</code> → Git pane</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=workspace-commands>Workspace Commands<a href=#workspace-commands class=hash-link aria-label="Direct link to Workspace Commands" title="Direct link to Workspace Commands" translate=no>​</a></h2>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/ws open &lt;path></code><td>Open a directory in workspace mode<tr><td><code>/ws refresh</code><td>Refresh file tree + git status<tr><td><code>/ws stage &lt;file|all></code><td>Stage one file or all changes<tr><td><code>/ws commit &lt;message></code><td>Commit staged changes<tr><td><code>/ws undo &lt;file></code><td>Revert file changes<tr><td><code>/ws exit</code><td>Exit workspace mode back to general chat</table>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=sub-agents--background-in-coding>Sub-Agents + Background in Coding<a href=#sub-agents--background-in-coding class=hash-link aria-label="Direct link to Sub-Agents + Background in Coding" title="Direct link to Sub-Agents + Background in Coding" translate=no>​</a></h2>
+<p>Workspace mode supports explicit delegation and backgrounding:</p>
+<ul>
+<li class=""><code>/code agent &lt;task></code> — delegate coding work to a sub-agent</li>
+<li class=""><code>/bg current</code> — move active in-flight work to background</li>
+<li class=""><code>/bg list</code> — inspect all background tasks (shell + sub-agent)</li>
+<li class=""><code>/bg &lt;id></code> — view task details/output</li>
+<li class=""><code>/bg cancel &lt;id></code> — cancel running background work</li>
+</ul>
+<p>This lets you continue coding/chatting while long operations run asynchronously.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/coding-workspace.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/spotify><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Spotify Integration</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/sub-agents><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Sub-Agents (Multi-Agent Mode)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#enter-workspace-mode class="table-of-contents__link toc-highlight">Enter Workspace Mode</a><li><a href=#modes class="table-of-contents__link toc-highlight">Modes</a><ul><li><a href=#keyboard-shortcuts-cli class="table-of-contents__link toc-highlight">Keyboard shortcuts (CLI)</a></ul><li><a href=#workspace-commands class="table-of-contents__link toc-highlight">Workspace Commands</a><li><a href=#sub-agents--background-in-coding class="table-of-contents__link toc-highlight">Sub-Agents + Background in Coding</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/integrations/github-companion.html b/docs/docs/integrations/github-companion.html
index 004252f4..1470d0ff 100644
--- a/docs/docs/integrations/github-companion.html
+++ b/docs/docs/integrations/github-companion.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/github-companion" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>GitHub Companion | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/github-companion /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="GitHub Companion | Mercury"/><meta data-rh=true name=description content="Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."/><meta data-rh=true property=og:description content="Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/github-companion /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/github-companion hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/github-companion hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/github-companion","name":"GitHub Companion","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/github-companion" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>GitHub Companion | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/github-companion /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="GitHub Companion | Mercury"/><meta data-rh=true name=description content="Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."/><meta data-rh=true property=og:description content="Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/github-companion /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/github-companion hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/github-companion hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/github-companion","name":"GitHub Companion","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>GitHub Companion</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>GitHub Companion</h1></header><p>Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>GitHub Companion</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>GitHub Companion</h1></header><p>Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram.</p>
<p>:::info Conditional availability
GitHub tools <strong>only appear when <code>GITHUB_TOKEN</code> is configured</strong> via <code>mercury doctor</code>. Without a token, these tools are not registered and won't be available in conversation.
:::</p>
diff --git a/docs/docs/integrations/spotify.html b/docs/docs/integrations/spotify.html
index 551b6013..fe7c1042 100644
--- a/docs/docs/integrations/spotify.html
+++ b/docs/docs/integrations/spotify.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/spotify" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Spotify Integration | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/spotify /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Spotify Integration | Mercury"/><meta data-rh=true name=description content='Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'/><meta data-rh=true property=og:description content='Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/spotify /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/spotify hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/spotify hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/spotify","name":"Spotify Integration","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/spotify" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Spotify Integration | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/spotify /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Spotify Integration | Mercury"/><meta data-rh=true name=description content='Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'/><meta data-rh=true property=og:description content='Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.'/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/spotify /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/spotify hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/spotify hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/spotify","name":"Spotify Integration","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Spotify Integration</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Spotify Integration</h1></header><p>Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Spotify Integration</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Spotify Integration</h1></header><p>Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say "play some chill music" and Mercury handles the rest.</p>
<p>:::info Spotify Premium
Read-only features (search, top tracks, playlists, now playing) work on <strong>free</strong> Spotify accounts. <strong>Playback control</strong> (play, pause, skip, volume, shuffle, repeat, queue) requires a <strong>Spotify Premium</strong> subscription — this is a Spotify API limitation, not a Mercury restriction.
:::</p>
@@ -58,6 +58,22 @@ When your Spotify Developer app is in <strong>development mode</strong> (the def
<p>The <code>/spotify player</code> command launches an interactive arrow-key player in your terminal:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain"> ▶ Play/Pause ◀ Previous ▶▶ Next</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> 🔊 Volume 🔀 Shuffle 🔁 Repeat</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> 🔍 Search 📋 Queue ✕ Exit</span><br/></div></code></pre></div></div>
<p>Every action shows real-time feedback with track info and a progress bar.</p>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=player-shortcuts>Player shortcuts<a href=#player-shortcuts class=hash-link aria-label="Direct link to Player shortcuts" title="Direct link to Player shortcuts" translate=no>​</a></h3>
+<p>Inside the Spotify player (CLI):</p>
+<ul>
+<li class=""><code>N</code> → next track</li>
+<li class=""><code>P</code> → previous track</li>
+<li class=""><code>+</code> / <code>-</code> → volume up/down by 10%</li>
+<li class=""><code>Z</code> → refresh now playing</li>
+<li class=""><code>Esc</code> → exit player</li>
+</ul>
+<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id=optional-inline-album-art>Optional inline album art<a href=#optional-inline-album-art class=hash-link aria-label="Direct link to Optional inline album art" title="Direct link to Optional inline album art" translate=no>​</a></h3>
+<p>Mercury supports inline album art as a progressive enhancement (text UI remains the default).</p>
+<ul>
+<li class="">Enable with: <code>MERCURY_SPOTIFY_ART=1</code></li>
+<li class="">Currently rendered only in local iTerm sessions</li>
+<li class="">Automatically falls back to text-only view in SSH/mobile/light terminals</li>
+</ul>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=managing-devices>Managing Devices<a href=#managing-devices class=hash-link aria-label="Direct link to Managing Devices" title="Direct link to Managing Devices" translate=no>​</a></h2>
<p>Spotify plays on <strong>your devices</strong> — phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">/spotify devices</span><br/></div></code></pre></div></div>
@@ -81,4 +97,4 @@ Your Spotify Client ID and Client Secret are stored in <code>~/.mercury/mercury.
:::</p>
<p>Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=troubleshooting>Troubleshooting<a href=#troubleshooting class=hash-link aria-label="Direct link to Troubleshooting" title="Direct link to Troubleshooting" translate=no>​</a></h2>
-<table><thead><tr><th>Issue<th>Solution<tbody><tr><td>"Spotify Premium is required" error<td>You need Premium for playback control. Read-only features still work on free accounts.<tr><td>403 errors on play/pause/skip<td>Your account is on Spotify's free tier. Playback APIs are Premium-only.<tr><td>"No active device"<td>Open Spotify on your phone/computer, play any song, then try again.<tr><td>Browser doesn't open for auth<td>Use the manual code flow: <code>/spotify auth</code> → choose "Paste code"<tr><td>Token expired after long idle<td>Run <code>/spotify auth</code> to get fresh tokens<tr><td>Account name not showing<td>Run <code>/spotify</code> and Mercury will fetch it live from Spotify's API</table></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/spotify.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/telegram><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Telegram</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/sub-agents><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Sub-Agents (Multi-Agent Mode)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#setup class="table-of-contents__link toc-highlight">Setup</a><ul><li><a href=#step-1-create-a-spotify-developer-app class="table-of-contents__link toc-highlight">Step 1: Create a Spotify Developer App</a><li><a href=#step-2-configure-mercury class="table-of-contents__link toc-highlight">Step 2: Configure Mercury</a><li><a href=#step-3-connect-your-spotify-account class="table-of-contents__link toc-highlight">Step 3: Connect Your Spotify Account</a></ul><li><a href=#commands class="table-of-contents__link toc-highlight">Commands</a><li><a href=#spotify-tools class="table-of-contents__link toc-highlight">Spotify Tools</a><ul><li><a href=#read-only-works-on-free-accounts class="table-of-contents__link toc-highlight">Read-only (works on free accounts)</a><li><a href=#playback-control-requires-spotify-premium class="table-of-contents__link toc-highlight">Playback control (requires Spotify Premium)</a></ul><li><a href=#using-it class="table-of-contents__link toc-highlight">Using It</a><li><a href=#interactive-player-cli class="table-of-contents__link toc-highlight">Interactive Player (CLI)</a><li><a href=#managing-devices class="table-of-contents__link toc-highlight">Managing Devices</a><li><a href=#token-management class="table-of-contents__link toc-highlight">Token Management</a><ul><li><a href=#disconnecting class="table-of-contents__link toc-highlight">Disconnecting</a></ul><li><a href=#security class="table-of-contents__link toc-highlight">Security</a><li><a href=#troubleshooting class="table-of-contents__link toc-highlight">Troubleshooting</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<table><thead><tr><th>Issue<th>Solution<tbody><tr><td>"Spotify Premium is required" error<td>You need Premium for playback control. Read-only features still work on free accounts.<tr><td>403 errors on play/pause/skip<td>Your account is on Spotify's free tier. Playback APIs are Premium-only.<tr><td>"No active device"<td>Open Spotify on your phone/computer, play any song, then try again.<tr><td>Browser doesn't open for auth<td>Use the manual code flow: <code>/spotify auth</code> → choose "Paste code"<tr><td>Token expired after long idle<td>Run <code>/spotify auth</code> to get fresh tokens<tr><td>Account name not showing<td>Run <code>/spotify</code> and Mercury will fetch it live from Spotify's API</table></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/spotify.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/telegram><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Telegram</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/integrations/coding-workspace><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Coding Workspace (IDE Mode)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#setup class="table-of-contents__link toc-highlight">Setup</a><ul><li><a href=#step-1-create-a-spotify-developer-app class="table-of-contents__link toc-highlight">Step 1: Create a Spotify Developer App</a><li><a href=#step-2-configure-mercury class="table-of-contents__link toc-highlight">Step 2: Configure Mercury</a><li><a href=#step-3-connect-your-spotify-account class="table-of-contents__link toc-highlight">Step 3: Connect Your Spotify Account</a></ul><li><a href=#commands class="table-of-contents__link toc-highlight">Commands</a><li><a href=#spotify-tools class="table-of-contents__link toc-highlight">Spotify Tools</a><ul><li><a href=#read-only-works-on-free-accounts class="table-of-contents__link toc-highlight">Read-only (works on free accounts)</a><li><a href=#playback-control-requires-spotify-premium class="table-of-contents__link toc-highlight">Playback control (requires Spotify Premium)</a></ul><li><a href=#using-it class="table-of-contents__link toc-highlight">Using It</a><li><a href=#interactive-player-cli class="table-of-contents__link toc-highlight">Interactive Player (CLI)</a><ul><li><a href=#player-shortcuts class="table-of-contents__link toc-highlight">Player shortcuts</a><li><a href=#optional-inline-album-art class="table-of-contents__link toc-highlight">Optional inline album art</a></ul><li><a href=#managing-devices class="table-of-contents__link toc-highlight">Managing Devices</a><li><a href=#token-management class="table-of-contents__link toc-highlight">Token Management</a><ul><li><a href=#disconnecting class="table-of-contents__link toc-highlight">Disconnecting</a></ul><li><a href=#security class="table-of-contents__link toc-highlight">Security</a><li><a href=#troubleshooting class="table-of-contents__link toc-highlight">Troubleshooting</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/integrations/sub-agents.html b/docs/docs/integrations/sub-agents.html
index 1f91665f..76e47437 100644
--- a/docs/docs/integrations/sub-agents.html
+++ b/docs/docs/integrations/sub-agents.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/sub-agents" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Sub-Agents (Multi-Agent Mode) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/sub-agents /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Sub-Agents (Multi-Agent Mode) | Mercury"/><meta data-rh=true name=description content="Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."/><meta data-rh=true property=og:description content="Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/sub-agents /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/sub-agents hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/sub-agents hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/sub-agents","name":"Sub-Agents (Multi-Agent Mode)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/sub-agents" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Sub-Agents (Multi-Agent Mode) | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/sub-agents /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Sub-Agents (Multi-Agent Mode) | Mercury"/><meta data-rh=true name=description content="Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."/><meta data-rh=true property=og:description content="Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/sub-agents /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/sub-agents hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/sub-agents hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/sub-agents","name":"Sub-Agents (Multi-Agent Mode)","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Sub-Agents (Multi-Agent Mode)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Sub-Agents (Multi-Agent Mode)</h1></header><p>Mercury isn't just a chatbot — it's an <strong>orchestrator</strong>. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Sub-Agents (Multi-Agent Mode)</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Sub-Agents (Multi-Agent Mode)</h1></header><p>Mercury isn't just a chatbot — it's an <strong>orchestrator</strong>. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=why-sub-agents-matter>Why Sub-Agents Matter<a href=#why-sub-agents-matter class=hash-link aria-label="Direct link to Why Sub-Agents Matter" title="Direct link to Why Sub-Agents Matter" translate=no>​</a></h2>
<p>Traditional AI agents are single-threaded: one context window, one task at a time. If you ask Mercury to "research this topic, write the code, and review the result," it does them sequentially — each step blocks the next.</p>
<p>Sub-agents break this bottleneck:</p>
@@ -15,7 +15,7 @@
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=how-it-works>How It Works<a href=#how-it-works class=hash-link aria-label="Direct link to How It Works" title="Direct link to How It Works" translate=no>​</a></h2>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">You: "Build a REST API for users and write integration tests"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain">Mercury decides to delegate:</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> 🤖 Multi-agent mode activated.</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> **Agent a1** is now working on: "Build REST API endpoints for users"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> **Agent a2** is now working on: "Write integration tests for user endpoints"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> Active agents: 2/4</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> You can continue chatting while the agents work.</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> Use /agents to check status.</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain">Mercury: I've delegated both tasks to parallel agents. Agent a1 is building the API</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> and agent a2 is writing tests. They'll work independently.</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> (you continue chatting normally)</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> 🔄 Agent a1: Using: read_file, create_file</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> 🔄 Agent a2: Using: list_dir, read_file</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> ✅ **Agent a1** completed (12.3s): "REST API built with 5 endpoints"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> ✅ **Agent a2** completed (18.7s): "12 integration tests passing"</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> Both agents are done. Want me to review the results together?</span><br/></div></code></pre></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=commands>Commands<a href=#commands class=hash-link aria-label="Direct link to Commands" title="Direct link to Commands" translate=no>​</a></h2>
-<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/agents</code><td>List all sub-agents (running and completed)<tr><td><code>/halt</code><td>Emergency: halt all sub-agents and clear the task queue<tr><td><code>/stop</code><td>Full reset: halt agents, clear queue, release locks, clear task board</table>
+<table><thead><tr><th>Command<th>Description<tbody><tr><td><code>/agents</code><td>List all sub-agents (running and completed)<tr><td><code>/code agent &lt;task></code><td>Delegate a coding task to a sub-agent immediately<tr><td><code>/bg: &lt;task></code><td>Run a natural-language sub-agent task in background<tr><td><code>/bg current</code><td>Move current in-flight task to a background sub-agent<tr><td><code>/bg list</code><td>List shell + sub-agent background tasks<tr><td><code>/halt</code><td>Emergency: halt all sub-agents and clear the task queue<tr><td><code>/stop</code><td>Full reset: halt agents, clear queue, release locks, clear task board</table>
<p>Slash commands like <code>/agents</code>, <code>/halt</code>, <code>/stop</code>, <code>/spotify</code>, and <code>/code status</code> work <strong>even while the main agent is busy</strong> — they're processed immediately on a fast path.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=delegation-tools>Delegation Tools<a href=#delegation-tools class=hash-link aria-label="Direct link to Delegation Tools" title="Direct link to Delegation Tools" translate=no>​</a></h2>
<p>Mercury uses these tools to manage sub-agents:</p>
@@ -46,6 +46,7 @@
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">🔄 Agent a1: Starting task...</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">🔄 Agent a1: Using: read_file, edit_file</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">🔄 Agent a2: Using: fetch_url, create_file</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">✅ Agent a1 completed (8.2s): "Analyzed the codebase..."</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">🔄 Agent a2: Using: run_command</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">✅ Agent a2 completed (14.5s): "Tests passing..."</span><br/></div></code></pre></div></div>
<p>If you send <code>/agents</code>, you'll see the full status:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-text codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token plain">**Sub-Agents:**</span><br/></div><div class=token-line style=color:#393A34><span class="token plain" style=display:inline-block></span><br/></div><div class=token-line style=color:#393A34><span class="token plain">🔄 a1: Build REST API endpoints — running (Using: read_file)</span><br/></div><div class=token-line style=color:#393A34><span class="token plain">⏳ a2: Write integration tests — pending</span><br/></div></code></pre></div></div>
+<p>Background-tracked agent tasks also appear in <code>/bg list</code> so shell jobs and delegated coding work share one progress surface.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=configuration>Configuration<a href=#configuration class=hash-link aria-label="Direct link to Configuration" title="Direct link to Configuration" translate=no>​</a></h2>
<p>Sub-agents are configured in <code>~/.mercury/mercury.yaml</code>:</p>
<div class="language-yaml codeBlockContainer_Ckt0 theme-code-block" style=--prism-color:#393A34;--prism-background-color:#f6f8fa><div class=codeBlockContent_QJqH><pre tabindex=0 class="prism-code language-yaml codeBlock_bY9V thin-scrollbar" style=color:#393A34;background-color:#f6f8fa><code class=codeBlockLines_e6Vv><div class=token-line style=color:#393A34><span class="token key atrule" style=color:#00a4db>subagents</span><span class="token punctuation" style=color:#393A34>:</span><span class="token plain"></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> </span><span class="token key atrule" style=color:#00a4db>enabled</span><span class="token punctuation" style=color:#393A34>:</span><span class="token plain"> </span><span class="token boolean important" style=color:#36acaa>true</span><span class="token plain"></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> </span><span class="token key atrule" style=color:#00a4db>maxConcurrent</span><span class="token punctuation" style=color:#393A34>:</span><span class="token plain"> auto </span><span class="token comment" style=color:#999988;font-style:italic># auto-detected from CPU/RAM, or set manually (e.g., 4)</span><span class="token plain"></span><br/></div><div class=token-line style=color:#393A34><span class="token plain"> </span><span class="token key atrule" style=color:#00a4db>mode</span><span class="token punctuation" style=color:#393A34>:</span><span class="token plain"> auto </span><span class="token comment" style=color:#999988;font-style:italic># "auto" (LLM decides) or "manual" (user controls)</span><br/></div></code></pre></div></div>
@@ -55,4 +56,4 @@
<p>Sub-agents pair well with Mercury's programming mode for code tasks:</p>
<table><thead><tr><th>Command<th>Mode<th>Behavior<tbody><tr><td><code>/code plan</code><td>Plan<td>Analyze without writing code<tr><td><code>/code execute</code><td>Execute<td>Implement step by step<tr><td><code>/code off</code><td>Off<td>Normal conversation<tr><td><code>/code toggle</code><td>—<td>Cycle through modes<tr><td><code>/code status</code><td>—<td>Show current mode</table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=programming-mode--sub-agents>Programming Mode + Sub-Agents<a href=#programming-mode--sub-agents class=hash-link aria-label="Direct link to Programming Mode + Sub-Agents" title="Direct link to Programming Mode + Sub-Agents" translate=no>​</a></h2>
-<p>When <code>/code plan</code> is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during <code>/code execute</code>. The <code>ask_user</code> tool lets Mercury present choices at decision points — on CLI this is an arrow-key menu, on Telegram it's inline buttons.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/sub-agents.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/spotify><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Spotify Integration</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/built-in-tools><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Built-in Tools</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#why-sub-agents-matter class="table-of-contents__link toc-highlight">Why Sub-Agents Matter</a><li><a href=#how-it-works class="table-of-contents__link toc-highlight">How It Works</a><li><a href=#commands class="table-of-contents__link toc-highlight">Commands</a><li><a href=#delegation-tools class="table-of-contents__link toc-highlight">Delegation Tools</a><li><a href=#architecture class="table-of-contents__link toc-highlight">Architecture</a><li><a href=#when-mercury-uses-sub-agents class="table-of-contents__link toc-highlight">When Mercury Uses Sub-Agents</a><li><a href=#what-happens-while-agents-work class="table-of-contents__link toc-highlight">What Happens While Agents Work</a><li><a href=#configuration class="table-of-contents__link toc-highlight">Configuration</a><li><a href=#programming-mode class="table-of-contents__link toc-highlight">Programming Mode</a><li><a href=#programming-mode--sub-agents class="table-of-contents__link toc-highlight">Programming Mode + Sub-Agents</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<p>When <code>/code plan</code> is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during <code>/code execute</code>. The <code>ask_user</code> tool lets Mercury present choices at decision points — on CLI this is an arrow-key menu, on Telegram it's inline buttons.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/integrations/sub-agents.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/integrations/coding-workspace><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Coding Workspace (IDE Mode)</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/built-in-tools><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Built-in Tools</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#why-sub-agents-matter class="table-of-contents__link toc-highlight">Why Sub-Agents Matter</a><li><a href=#how-it-works class="table-of-contents__link toc-highlight">How It Works</a><li><a href=#commands class="table-of-contents__link toc-highlight">Commands</a><li><a href=#delegation-tools class="table-of-contents__link toc-highlight">Delegation Tools</a><li><a href=#architecture class="table-of-contents__link toc-highlight">Architecture</a><li><a href=#when-mercury-uses-sub-agents class="table-of-contents__link toc-highlight">When Mercury Uses Sub-Agents</a><li><a href=#what-happens-while-agents-work class="table-of-contents__link toc-highlight">What Happens While Agents Work</a><li><a href=#configuration class="table-of-contents__link toc-highlight">Configuration</a><li><a href=#programming-mode class="table-of-contents__link toc-highlight">Programming Mode</a><li><a href=#programming-mode--sub-agents class="table-of-contents__link toc-highlight">Programming Mode + Sub-Agents</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/integrations/telegram.html b/docs/docs/integrations/telegram.html
index a5185e2d..d250ecc0 100644
--- a/docs/docs/integrations/telegram.html
+++ b/docs/docs/integrations/telegram.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/telegram" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Telegram | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/telegram /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Telegram | Mercury"/><meta data-rh=true name=description content="Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards."/><meta data-rh=true property=og:description content="Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/telegram /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/telegram hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/telegram hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/telegram","name":"Telegram","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-integrations/telegram" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Telegram | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/integrations/telegram /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Telegram | Mercury"/><meta data-rh=true name=description content="Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards."/><meta data-rh=true property=og:description content="Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/integrations/telegram /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/telegram hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/integrations/telegram hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/integrations/telegram","name":"Telegram","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Telegram</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Telegram</h1></header><p>Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Integrations</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Telegram</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Telegram</h1></header><p>Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=access-model>Access Model<a href=#access-model class=hash-link aria-label="Direct link to Access Model" title="Direct link to Access Model" translate=no>​</a></h2>
<p>Mercury uses an <strong>organization access model</strong> with admins and members. The first user becomes the admin by completing a pairing-code flow during setup. Additional users request access by sending <code>/start</code>, which admins can approve or reject.</p>
<p>:::info First-time pairing
diff --git a/docs/docs/reference/built-in-tools.html b/docs/docs/reference/built-in-tools.html
index 27b3bd72..964d15c2 100644
--- a/docs/docs/reference/built-in-tools.html
+++ b/docs/docs/reference/built-in-tools.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/built-in-tools" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Built-in Tools | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/built-in-tools /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Built-in Tools | Mercury"/><meta data-rh=true name=description content="Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them."/><meta data-rh=true property=og:description content="Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/built-in-tools /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/built-in-tools hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/built-in-tools hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/built-in-tools","name":"Built-in Tools","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/built-in-tools" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Built-in Tools | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/built-in-tools /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Built-in Tools | Mercury"/><meta data-rh=true name=description content="Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them."/><meta data-rh=true property=og:description content="Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/built-in-tools /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/built-in-tools hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/built-in-tools hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/built-in-tools","name":"Built-in Tools","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Built-in Tools</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Built-in Tools</h1></header><p>Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Built-in Tools</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Built-in Tools</h1></header><p>Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=filesystem>Filesystem<a href=#filesystem class=hash-link aria-label="Direct link to Filesystem" title="Direct link to Filesystem" translate=no>​</a></h2>
<table><thead><tr><th>Tool<th>What it does<th>Parameters<tbody><tr><td><code>read_file</code><td>Read file contents<td><code>path</code><tr><td><code>write_file</code><td>Write to an existing file<td><code>path</code>, <code>content</code><tr><td><code>create_file</code><td>Create a new file (creates parent dirs)<td><code>path</code>, <code>content</code><tr><td><code>edit_file</code><td>Search and replace text in a file<td><code>path</code>, <code>old_string</code>, <code>new_string</code><tr><td><code>list_dir</code><td>List directory contents<td><code>path</code><tr><td><code>delete_file</code><td>Delete a file<td><code>path</code><tr><td><code>send_file</code><td>Send file to user (Telegram upload)<td><code>path</code><tr><td><code>approve_scope</code><td>Request read/write access to a directory<td><code>path</code>, <code>mode</code></table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=messaging>Messaging<a href=#messaging class=hash-link aria-label="Direct link to Messaging" title="Direct link to Messaging" translate=no>​</a></h2>
diff --git a/docs/docs/reference/configuration.html b/docs/docs/reference/configuration.html
index 2b972324..c9267ae1 100644
--- a/docs/docs/reference/configuration.html
+++ b/docs/docs/reference/configuration.html
@@ -1,5 +1,5 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/configuration" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Configuration | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/configuration /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Configuration | Mercury"/><meta data-rh=true name=description content="All runtime data lives in ~/.mercury/ — not in your project directory."/><meta data-rh=true property=og:description content="All runtime data lives in ~/.mercury/ — not in your project directory."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/configuration /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/configuration hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/configuration hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/configuration","name":"Configuration","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/configuration" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Configuration | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/configuration /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Configuration | Mercury"/><meta data-rh=true name=description content="All runtime data lives in ~/.mercury/ — not in your project directory."/><meta data-rh=true property=og:description content="All runtime data lives in ~/.mercury/ — not in your project directory."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/configuration /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/configuration hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/configuration hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/configuration","name":"Configuration","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Configuration</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>Configuration</h1></header><p>All runtime data lives in <code>~/.mercury/</code> — not in your project directory.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Configuration</span></ul></nav><div class="theme-doc-markdown markdown"><header><h1>Configuration</h1></header><p>All runtime data lives in <code>~/.mercury/</code> — not in your project directory.</p>
<table><thead><tr><th>Path<th>Purpose<tbody><tr><td><code>~/.mercury/mercury.yaml</code><td>Main config (providers, channels, budget)<tr><td><code>~/.mercury/soul/*.md</code><td>Agent personality (soul, persona, taste, heartbeat)<tr><td><code>~/.mercury/permissions.yaml</code><td>Capabilities and approval rules<tr><td><code>~/.mercury/skills/</code><td>Installed skills<tr><td><code>~/.mercury/schedules.yaml</code><td>Scheduled tasks<tr><td><code>~/.mercury/token-usage.json</code><td>Daily token usage tracking<tr><td><code>~/.mercury/memory/</code><td>Short-term, long-term, episodic memory<tr><td><code>~/.mercury/daemon.pid</code><td>Background process PID<tr><td><code>~/.mercury/daemon.log</code><td>Daemon mode logs</table></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/configuration.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/built-in-tools><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Built-in Tools</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/permissions><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Permissions</div></a></nav></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/reference/permissions.html b/docs/docs/reference/permissions.html
index c2fd3202..d7681bb1 100644
--- a/docs/docs/reference/permissions.html
+++ b/docs/docs/reference/permissions.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/permissions" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Permissions | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/permissions /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Permissions | Mercury"/><meta data-rh=true name=description content="Mercury has a three-tier permission system for shell commands:"/><meta data-rh=true property=og:description content="Mercury has a three-tier permission system for shell commands:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/permissions /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/permissions hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/permissions hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/permissions","name":"Permissions","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/permissions" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Permissions | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/permissions /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Permissions | Mercury"/><meta data-rh=true name=description content="Mercury has a three-tier permission system for shell commands:"/><meta data-rh=true property=og:description content="Mercury has a three-tier permission system for shell commands:"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/permissions /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/permissions hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/permissions hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/permissions","name":"Permissions","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Permissions</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Permissions</h1></header><p>Mercury has a three-tier permission system for shell commands:</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Permissions</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Permissions</h1></header><p>Mercury has a three-tier permission system for shell commands:</p>
<ol>
<li class=""><strong>Blocked</strong> — Commands like <code>sudo</code>, <code>rm -rf /</code>, <code>mkfs</code> are never executed</li>
<li class=""><strong>Auto-approved</strong> — Safe commands like <code>ls</code>, <code>cat</code>, <code>git status</code> run without asking</li>
diff --git a/docs/docs/reference/provider-fallback.html b/docs/docs/reference/provider-fallback.html
index cdc3d9b3..d9fdab32 100644
--- a/docs/docs/reference/provider-fallback.html
+++ b/docs/docs/reference/provider-fallback.html
@@ -1,7 +1,15 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/provider-fallback" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Provider Fallback | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/provider-fallback /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Provider Fallback | Mercury"/><meta data-rh=true name=description content="Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."/><meta data-rh=true property=og:description content="Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/provider-fallback /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/provider-fallback hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/provider-fallback hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/provider-fallback","name":"Provider Fallback","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/provider-fallback" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Provider Fallback | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/provider-fallback /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Provider Fallback | Mercury"/><meta data-rh=true name=description content="Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."/><meta data-rh=true property=og:description content="Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/provider-fallback /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/provider-fallback hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/provider-fallback hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/provider-fallback","name":"Provider Fallback","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Provider Fallback</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Provider Fallback</h1></header><p>Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Provider Fallback</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Provider Fallback</h1></header><p>Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=session-model-switching>Session Model Switching<a href=#session-model-switching class=hash-link aria-label="Direct link to Session Model Switching" title="Direct link to Session Model Switching" translate=no>​</a></h2>
+<p>You can switch the active provider/model at runtime without restarting Mercury:</p>
+<ul>
+<li class=""><code>/models</code> — shows configured providers and current active model</li>
+<li class=""><code>/models use &lt;provider></code> — switches the active session model</li>
+<li class=""><code>/models doctor</code> — points to setup flow for adding/configuring providers</li>
+</ul>
+<p>This is a session-level switch for the running process. Use <code>mercury doctor</code> to change persisted defaults.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=supported-providers>Supported Providers<a href=#supported-providers class=hash-link aria-label="Direct link to Supported Providers" title="Direct link to Supported Providers" translate=no>​</a></h2>
<table><thead><tr><th>Provider<th>Default Model<th>API Key<th>Configuration<tbody><tr><td><strong>DeepSeek</strong><td><code>deepseek-chat</code><td><code>DEEPSEEK_API_KEY</code><td>Default provider, cost-effective<tr><td><strong>OpenAI</strong><td><code>gpt-4o-mini</code><td><code>OPENAI_API_KEY</code><td>GPT-4o-mini, GPT-4o, o3, etc.<tr><td><strong>Anthropic</strong><td><code>claude-sonnet-4-20250514</code><td><code>ANTHROPIC_API_KEY</code><td>Claude Sonnet, Haiku, Opus<tr><td><strong>Grok (xAI)</strong><td><code>grok-4</code><td><code>GROK_API_KEY</code><td>OpenAI-compatible endpoint<tr><td><strong>Ollama Cloud</strong><td><code>gpt-oss:120b</code><td><code>OLLAMA_CLOUD_API_KEY</code><td>Remote Ollama models via API<tr><td><strong>Ollama Local</strong><td><code>gpt-oss:20b</code><td>No key needed<td>Local Ollama instance (127.0.0.1:11434)<tr><td><strong>OpenAI Compatible</strong><td>Configurable<td><code>OPENAI_COMPAT_API_KEY</code><td>Any OpenAI-compatible server</table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=configuring-providers>Configuring Providers<a href=#configuring-providers class=hash-link aria-label="Direct link to Configuring Providers" title="Direct link to Configuring Providers" translate=no>​</a></h2>
@@ -11,4 +19,4 @@ Each provider has env vars for its API key, base URL, and model. For example, De
:::</p>
<p>:::warning More providers coming
Google Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key.
-:::</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/provider-fallback.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/second-brain><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Second Brain</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/scheduling><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Scheduling</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#supported-providers class="table-of-contents__link toc-highlight">Supported Providers</a><li><a href=#configuring-providers class="table-of-contents__link toc-highlight">Configuring Providers</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+:::</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/provider-fallback.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/second-brain><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Second Brain</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/reference/scheduling><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Scheduling</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#session-model-switching class="table-of-contents__link toc-highlight">Session Model Switching</a><li><a href=#supported-providers class="table-of-contents__link toc-highlight">Supported Providers</a><li><a href=#configuring-providers class="table-of-contents__link toc-highlight">Configuring Providers</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/reference/scheduling.html b/docs/docs/reference/scheduling.html
index 8e53a064..2b9c60b2 100644
--- a/docs/docs/reference/scheduling.html
+++ b/docs/docs/reference/scheduling.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/scheduling" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Scheduling | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/scheduling /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Scheduling | Mercury"/><meta data-rh=true name=description content="Mercury can schedule tasks using cron expressions or one-shot delays."/><meta data-rh=true property=og:description content="Mercury can schedule tasks using cron expressions or one-shot delays."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/scheduling /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/scheduling hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/scheduling hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/scheduling","name":"Scheduling","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/scheduling" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Scheduling | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/scheduling /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Scheduling | Mercury"/><meta data-rh=true name=description content="Mercury can schedule tasks using cron expressions or one-shot delays."/><meta data-rh=true property=og:description content="Mercury can schedule tasks using cron expressions or one-shot delays."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/scheduling /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/scheduling hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/scheduling hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/scheduling","name":"Scheduling","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Scheduling</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Scheduling</h1></header><p>Mercury can schedule tasks using cron expressions or one-shot delays.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Scheduling</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Scheduling</h1></header><p>Mercury can schedule tasks using cron expressions or one-shot delays.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=recurring-tasks>Recurring tasks<a href=#recurring-tasks class=hash-link aria-label="Direct link to Recurring tasks" title="Direct link to Recurring tasks" translate=no>​</a></h2>
<p>Tell Mercury in conversation:</p>
<ul>
diff --git a/docs/docs/reference/second-brain.html b/docs/docs/reference/second-brain.html
index 8817dd07..45419f06 100644
--- a/docs/docs/reference/second-brain.html
+++ b/docs/docs/reference/second-brain.html
@@ -1,7 +1,7 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/second-brain" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Second Brain | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/second-brain /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Second Brain | Mercury"/><meta data-rh=true name=description content="Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more."/><meta data-rh=true property=og:description content="Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/second-brain /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/second-brain hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/second-brain hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/second-brain","name":"Second Brain","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/second-brain" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Second Brain | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/second-brain /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Second Brain | Mercury"/><meta data-rh=true name=description content="Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more."/><meta data-rh=true property=og:description content="Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/second-brain /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/second-brain hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/second-brain hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/second-brain","name":"Second Brain","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Second Brain</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Second Brain</h1></header><p>Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Second Brain</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Second Brain</h1></header><p>Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=how-it-works>How it works<a href=#how-it-works class=hash-link aria-label="Direct link to How it works" title="Direct link to How it works" translate=no>​</a></h2>
<ol>
<li class=""><strong>Extraction</strong> — After each conversation, Mercury pulls 0–3 facts and stores them with type, confidence, importance, and durability scores.</li>
diff --git a/docs/docs/reference/skills.html b/docs/docs/reference/skills.html
index 27d07185..09b9750e 100644
--- a/docs/docs/reference/skills.html
+++ b/docs/docs/reference/skills.html
@@ -1,7 +1,11 @@
-<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/skills" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Skills | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/skills /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Skills | Mercury"/><meta data-rh=true name=description content="Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md."/><meta data-rh=true property=og:description content="Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/skills /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/skills hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/skills hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/skills","name":"Skills","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-reference/skills" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Skills | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/reference/skills /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Skills | Mercury"/><meta data-rh=true name=description content="Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md."/><meta data-rh=true property=og:description content="Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/reference/skills /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/skills hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/reference/skills hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/reference/skills","name":"Skills","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Skills</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Skills</h1></header><p>Skills are markdown-based extensions that live in <code>~/.mercury/skills/&lt;name>/SKILL.md</code>.</p>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/built-in-tools><span title="Built-in Tools" class=linkLabel_WmDU>Built-in Tools</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/configuration><span title=Configuration class=linkLabel_WmDU>Configuration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/permissions><span title=Permissions class=linkLabel_WmDU>Permissions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/second-brain><span title="Second Brain" class=linkLabel_WmDU>Second Brain</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/provider-fallback><span title="Provider Fallback" class=linkLabel_WmDU>Provider Fallback</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reference/scheduling><span title=Scheduling class=linkLabel_WmDU>Scheduling</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/reference/skills><span title=Skills class=linkLabel_WmDU>Skills</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Reference</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Skills</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Skills</h1></header><p>Skills are markdown-based extensions that live in <code>~/.mercury/skills/&lt;name>/SKILL.md</code>.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=default-skills>Default skills<a href=#default-skills class=hash-link aria-label="Direct link to Default skills" title="Direct link to Default skills" translate=no>​</a></h2>
+<p>On first run, Mercury seeds a built-in <code>web-search</code> skill at:</p>
+<p><code>~/.mercury/skills/web-search/SKILL.md</code></p>
+<p>If you already have your own <code>web-search</code> skill, Mercury does not overwrite it.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=installing>Installing<a href=#installing class=hash-link aria-label="Direct link to Installing" title="Direct link to Installing" translate=no>​</a></h2>
<p>Tell Mercury in conversation:</p>
<ul>
@@ -16,4 +20,4 @@
<ul>
<li class="">"Remind me daily at 9am to run the daily-digest skill"</li>
</ul>
-<p>Skills follow the <a href=https://agentskills.io target=_blank rel="noopener noreferrer" class="">Agent Skills specification</a>. They get elevated permissions via <code>allowed-tools</code> and are loaded with progressive disclosure to save tokens.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/skills.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/scheduling><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Scheduling</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#installing class="table-of-contents__link toc-highlight">Installing</a><li><a href=#invoking class="table-of-contents__link toc-highlight">Invoking</a><li><a href=#scheduling-a-skill class="table-of-contents__link toc-highlight">Scheduling a skill</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<p>Skills follow the <a href=https://agentskills.io target=_blank rel="noopener noreferrer" class="">Agent Skills specification</a>. They get elevated permissions via <code>allowed-tools</code> and are loaded with progressive disclosure to save tokens.</div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/reference/skills.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/scheduling><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Scheduling</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/releases><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Releases</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#default-skills class="table-of-contents__link toc-highlight">Default skills</a><li><a href=#installing class="table-of-contents__link toc-highlight">Installing</a><li><a href=#invoking class="table-of-contents__link toc-highlight">Invoking</a><li><a href=#scheduling-a-skill class="table-of-contents__link toc-highlight">Scheduling a skill</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/releases.html b/docs/docs/releases.html
new file mode 100644
index 00000000..d58cde46
--- /dev/null
+++ b/docs/docs/releases.html
@@ -0,0 +1,8 @@
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-releases/releases" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Releases | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/releases /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="Releases | Mercury"/><meta data-rh=true name=description content="This section tracks Mercury release notes by version."/><meta data-rh=true property=og:description content="This section tracks Mercury release notes by version."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/releases /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/releases/","name":"Releases","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
+</defs></svg>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/releases><span title=Releases class=linkLabel_WmDU>Releases</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases/1.1.6><span title=v1.1.6 class=linkLabel_WmDU>v1.1.6</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Releases</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>Releases</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Releases</h1></header><p>This section tracks Mercury release notes by version.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=available-release-notes>Available release notes<a href=#available-release-notes class=hash-link aria-label="Direct link to Available release notes" title="Direct link to Available release notes" translate=no>​</a></h2>
+<ul>
+<li class=""><a class="" href=/docs/releases/1.1.6>v1.1.6</a></li>
+</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/releases.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/reference/skills><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Skills</div></a><a class="pagination-nav__link pagination-nav__link--next" href=/docs/releases/1.1.6><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>v1.1.6</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#available-release-notes class="table-of-contents__link toc-highlight">Available release notes</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/docs/releases/1.1.6.html b/docs/docs/releases/1.1.6.html
new file mode 100644
index 00000000..28e20383
--- /dev/null
+++ b/docs/docs/releases/1.1.6.html
@@ -0,0 +1,67 @@
+<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-current docs-doc-page docs-doc-id-releases/1.1.6" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>v1.1.6 | Mercury</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/docs/releases/1.1.6 /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docusaurus_version content=current /><meta data-rh=true name=docusaurus_tag content=docs-default-current /><meta data-rh=true name=docsearch:version content=current /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-current /><meta data-rh=true property=og:title content="v1.1.6 | Mercury"/><meta data-rh=true name=description content="Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage."/><meta data-rh=true property=og:description content="Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage."/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/docs/releases/1.1.6 /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases/1.1.6 hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/docs/releases/1.1.6 hreflang=x-default /><script data-rh=true type=application/ld+json>{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","item":"https://mercury.cosmicstack.org/docs/releases/1.1.6","name":"v1.1.6","position":1}]}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
+<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
+</defs></svg>
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a aria-current=page class="navbar__item navbar__link navbar__link--active" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class=docsWrapper_hBAB><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type=button></button><div class=docRoot_UBD9><aside class="theme-doc-sidebar-container docSidebarContainer_YfHR"><div class=sidebarViewport_aRkj><div class=sidebar_njMd><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs><span title=Installation class=linkLabel_WmDU>Installation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/setup><span title="First-Time Setup" class=linkLabel_WmDU>First-Time Setup</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class=menu__link href=/docs/getting-started/starting><span title="Starting Mercury" class=linkLabel_WmDU>Starting Mercury</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/cli-commands/cli-commands><span title="CLI Commands" class=categoryLinkLabel_W154>CLI Commands</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/cli-commands><span title="Full Command Reference" class=linkLabel_WmDU>Full Command Reference</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/doctor><span title="Doctor (Reconfigure)" class=linkLabel_WmDU>Doctor (Reconfigure)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/cli-commands/in-chat-commands><span title="In-Chat Commands" class=linkLabel_WmDU>In-Chat Commands</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/daemon-mode/daemon-mode><span title="Daemon Mode" class=categoryLinkLabel_W154>Daemon Mode</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true href=/docs/integrations/github-companion><span title=Integrations class=categoryLinkLabel_W154>Integrations</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/github-companion><span title="GitHub Companion" class=linkLabel_WmDU>GitHub Companion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/telegram><span title=Telegram class=linkLabel_WmDU>Telegram</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/spotify><span title="Spotify Integration" class=linkLabel_WmDU>Spotify Integration</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/coding-workspace><span title="Coding Workspace (IDE Mode)" class=linkLabel_WmDU>Coding Workspace (IDE Mode)</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/integrations/sub-agents><span title="Sub-Agents (Multi-Agent Mode)" class=linkLabel_WmDU>Sub-Agents (Multi-Agent Mode)</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false href=/docs/reference/built-in-tools><span title=Reference class=categoryLinkLabel_W154>Reference</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_byQd menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/releases><span title=Releases class=categoryLinkLabel_W154>Releases</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/releases><span title=Releases class=linkLabel_WmDU>Releases</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/releases/1.1.6><span title=v1.1.6 class=linkLabel_WmDU>v1.1.6</span></a></ul></ul></nav></div></div></aside><main class=docMainContainer_TBSr><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_VOVn"><div class=docItemContainer_Djhp><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label=Breadcrumbs><ul class=breadcrumbs><li class=breadcrumbs__item><a aria-label="Home page" class=breadcrumbs__link href=/><svg viewBox="0 0 24 24" class=breadcrumbHomeIcon_YNFT><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill=currentColor /></svg></a><li class=breadcrumbs__item><span class=breadcrumbs__link>Releases</span><li class="breadcrumbs__item breadcrumbs__item--active"><span class=breadcrumbs__link>v1.1.6</span></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type=button class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>v1.1.6</h1></header><p>Release <code>1.1.6</code> focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.</p>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=highlights>Highlights<a href=#highlights class=hash-link aria-label="Direct link to Highlights" title="Direct link to Highlights" translate=no>​</a></h2>
+<ul>
+<li class="">New Ink-based interactive TUI with improved startup, status, and activity views.</li>
+<li class="">Workspace IDE mode with explorer, preview, git panel, coding chat, and keyboard navigation.</li>
+<li class="">Background task system for long-running shell and agent work (<code>/bg ...</code>) with live status.</li>
+<li class="">Sub-agent lifecycle integration with background tracking and coding delegation (<code>/code agent &lt;task></code>).</li>
+<li class="">Spotify UX revamp (Spotify Deck), shortcuts, volume up/down, and optional inline album art.</li>
+<li class="">New runtime model switching commands (<code>/models</code>, <code>/models use &lt;provider></code>).</li>
+<li class="">New platform diagnostics command (<code>mercury doctor --platform</code>).</li>
+<li class="">Default seeded <code>web-search</code> skill for fresh installs.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=clitui-improvements>CLI/TUI Improvements<a href=#clitui-improvements class=hash-link aria-label="Direct link to CLI/TUI Improvements" title="Direct link to CLI/TUI Improvements" translate=no>​</a></h2>
+<ul>
+<li class="">Added minimal/detailed activity views and updated controls.</li>
+<li class="">Improved streaming responsiveness and markdown rendering stability.</li>
+<li class="">Added coding shortcuts:<!-- -->
+<ul>
+<li class=""><code>Ctrl+P</code> plan</li>
+<li class=""><code>Ctrl+X</code> execute</li>
+<li class=""><code>Esc</code> / <code>Ctrl+Q</code> exit workspace</li>
+</ul>
+</li>
+<li class="">Improved startup permission picker behavior and one-step confirm flow.</li>
+<li class="">Added raw-mode watchdog to improve terminal input reliability across environments.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=workspace--coding>Workspace + Coding<a href=#workspace--coding class=hash-link aria-label="Direct link to Workspace + Coding" title="Direct link to Workspace + Coding" translate=no>​</a></h2>
+<ul>
+<li class="">Introduced <code>/ws</code> command family with open/refresh/stage/commit/undo/exit.</li>
+<li class="">Added dedicated coding workspace docs page and updated command references.</li>
+<li class="">Added automatic handoff of interrupted long tasks to background workers.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=background-tasks--sub-agents>Background Tasks + Sub-Agents<a href=#background-tasks--sub-agents class=hash-link aria-label="Direct link to Background Tasks + Sub-Agents" title="Direct link to Background Tasks + Sub-Agents" translate=no>​</a></h2>
+<ul>
+<li class="">Added <code>BackgroundTaskManager</code> integration into agent lifecycle.</li>
+<li class="">Added <code>/bg current</code> to move active work to background.</li>
+<li class="">Added <code>/bg list</code>, <code>/bg &lt;id></code>, <code>/bg cancel &lt;id></code>, <code>/bg clear</code> for operational control.</li>
+<li class="">Added supervisor lifecycle hooks so agent progress/completion is reflected in background board.</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=spotify>Spotify<a href=#spotify class=hash-link aria-label="Direct link to Spotify" title="Direct link to Spotify" translate=no>​</a></h2>
+<ul>
+<li class="">Added Spotify Deck-style panel and clearer action feedback.</li>
+<li class="">Added keyboard shortcuts in player mode (<code>N</code>, <code>P</code>, <code>+</code>, <code>-</code>, <code>Z</code>, <code>Esc</code>).</li>
+<li class="">Added separate volume up/down controls.</li>
+<li class="">Added safe-gated inline album art support (<code>MERCURY_SPOTIFY_ART=1</code>, iTerm local sessions).</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=docs>Docs<a href=#docs class=hash-link aria-label="Direct link to Docs" title="Direct link to Docs" translate=no>​</a></h2>
+<ul>
+<li class="">Expanded Docusaurus docs for:<!-- -->
+<ul>
+<li class="">coding workspace mode</li>
+<li class="">sub-agents + background tasks</li>
+<li class="">platform diagnostics</li>
+<li class="">Spotify player shortcuts and album art gating</li>
+<li class="">default <code>web-search</code> skill</li>
+<li class="">Docker status guidance (no first-party Docker assets shipped in repo)</li>
+</ul>
+</li>
+</ul>
+<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id=notes>Notes<a href=#notes class=hash-link aria-label="Direct link to Notes" title="Direct link to Notes" translate=no>​</a></h2>
+<ul>
+<li class="">This release includes broad UX/system changes across TUI, background execution, and docs.</li>
+<li class="">For provider/model management, use <code>mercury doctor</code> to configure and <code>/models</code> to switch session model.</li>
+</ul></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_WFHX"><a href=https://github.com/cosmicstack-labs/mercury-agent/tree/main/website/docs/releases/1.1.6.mdx target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_Z9Sw aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit this page</a></div><div class="col lastUpdated_JAkA"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href=/docs/releases><div class=pagination-nav__sublabel>Previous</div><div class=pagination-nav__label>Releases</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#highlights class="table-of-contents__link toc-highlight">Highlights</a><li><a href=#clitui-improvements class="table-of-contents__link toc-highlight">CLI/TUI Improvements</a><li><a href=#workspace--coding class="table-of-contents__link toc-highlight">Workspace + Coding</a><li><a href=#background-tasks--sub-agents class="table-of-contents__link toc-highlight">Background Tasks + Sub-Agents</a><li><a href=#spotify class="table-of-contents__link toc-highlight">Spotify</a><li><a href=#docs class="table-of-contents__link toc-highlight">Docs</a><li><a href=#notes class="table-of-contents__link toc-highlight">Notes</a></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index c747cbb5..89414637 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Mercury — Soul-Driven AI Agent with Permission Guardrails | Cosmic Stack</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true name=description content="The AI agent that asks before it acts. Permission guardrails, token efficiency, sub-agent orchestration, Spotify integration, and full control. Runs 24/7 from CLI or Telegram with multi-provider onboarding, skills, and scheduling."/><meta data-rh=true property=og:title content="Mercury — Soul-Driven AI Agent with Permission Guardrails"/><meta data-rh=true property=og:description content="The AI agent that asks before it acts. Permission guardrails, token efficiency, and full control. Runs 24/7 from CLI or Telegram."/><meta data-rh=true property=og:type content=website /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true name=twitter:title content="Mercury — Soul-Driven AI Agent with Permission Guardrails"/><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/ /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/ hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/ hreflang=x-default /><script data-rh=true>document.addEventListener("DOMContentLoaded",function(){void 0===window.docusaurus&&insertBanner()});function insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container",n.innerHTML='\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/</span> (default value)</p>\n <p>We suggest trying baseUrl = <span id="__docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname;e.innerHTML="/"===s.substr(-1)?s:s+"/"}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Mercury — Soul-Driven AI Agent with Permission Guardrails | Cosmic Stack</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true name=description content="The AI agent that asks before it acts. Permission guardrails, token efficiency, sub-agent orchestration, Spotify integration, and full control. Runs 24/7 from CLI or Telegram with multi-provider onboarding, skills, and scheduling."/><meta data-rh=true property=og:title content="Mercury — Soul-Driven AI Agent with Permission Guardrails"/><meta data-rh=true property=og:description content="The AI agent that asks before it acts. Permission guardrails, token efficiency, and full control. Runs 24/7 from CLI or Telegram."/><meta data-rh=true property=og:type content=website /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true name=twitter:title content="Mercury — Soul-Driven AI Agent with Permission Guardrails"/><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/ /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/ hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/ hreflang=x-default /><script data-rh=true>document.addEventListener("DOMContentLoaded",function(){void 0===window.docusaurus&&insertBanner()});function insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container",n.innerHTML='\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/</span> (default value)</p>\n <p>We suggest trying baseUrl = <span id="__docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname;e.innerHTML="/"===s.substr(-1)?s:s+"/"}</script><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div class=lp-page><nav class=lp-nav><div class=lp-nav-inner><a class=lp-nav-logo href=/>☿ Mercury</a><div class="lp-nav-links "><a href=/#features>Features</a><a href=/#how-it-works>Install</a><a href=/#demo>Demo</a><a href=/#capabilities>Capabilities</a><a href=/#github>GitHub</a><a href=/#compare>Compare</a><a href=/docs>Docs</a></div><div class=lp-nav-right><a href=https://github.com/cosmicstack-labs/mercury-agent class=lp-github-btn target=_blank rel=noopener><svg viewBox="0 0 16 16" width=16 height=16 fill=currentColor style=vertical-align:-2px><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg><span class=lp-github-btn-count> ⭐</span></a><button class=lp-nav-toggle aria-label=Menu>☰</button></div></div></nav><section class=lp-hero><div class=lp-hero-bg></div><div class="lp-container lp-hero-content"><pre class=lp-hero-ascii aria-hidden=true>
@@ -6,4 +6,4 @@
/ |/ / ____/ __ \/ ____/ / / / __ \ \/ /
/ /|_/ / __/ / /_/ / / / / / / /_/ /\ /
/ / / / /___/ _, _/ /___/ /_/ / _, _/ / /
-/_/ /_/_____/_/ |_|\____/\____/_/ |_| /_/</pre><p class=lp-hero-tagline>Soul-driven. Token-efficient. Always on.<p class=lp-hero-sub>Your personal AI agent with 31 built-in tools, skill system, multi-agent orchestration, Spotify integration, GitHub companion, and hardened permissions. Runs 24/7 from your terminal or Telegram.<div class=lp-hero-actions><a href=#how-it-works class="lp-btn lp-btn-primary">Get Started</a><a href=#demo class="lp-btn lp-btn-secondary">See it in action</a></div><div class=lp-hero-install><code>npm i -g @cosmicstack/mercury-agent && mercury</code></div><div class="lp-terminal-window lp-hero-terminal"><div class=lp-terminal-bar><span class="lp-terminal-dot lp-dot-red"></span><span class="lp-terminal-dot lp-dot-yellow"></span><span class="lp-terminal-dot lp-dot-green"></span><span class=lp-terminal-title>terminal</span></div><div class=lp-terminal-body></div></div></div></section><section id=features class=lp-section><div class=lp-container><h2 class=lp-section-title>Built Different</h2><p class=lp-section-sub>Not another chatbot. An orchestrator that works for you.<div class=lp-features-grid><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>☿</div><h3>Soul-Driven Identity</h3><p>Mercury isn't a blank slate. Its personality is defined by markdown soul files — soul.md, persona.md, taste.md, heartbeat.md — that you control.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>⚡</div><h3>Token-Efficient</h3><p>Daily token budgets with enforcement. Only soul + persona injected per request (~400 tokens). Progressive skill loading. Auto-concise when budget exceeds 70%.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>♾</div><h3>Always On</h3><p>Background daemon by default. Cron scheduling, delayed tasks, and a heartbeat system. Auto-starts on boot, auto-restarts on crash.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>📡</div><h3>Multi-Channel</h3><p>CLI with readline and arrow-key menus. Telegram with typing indicators, HTML formatting, file uploads, and private 1:1 access.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🤖</div><h3>Sub-Agents</h3><p>Spawn parallel AI agents for concurrent tasks. Mercury orchestrates — research, code, and review run simultaneously. Non-blocking: keep chatting while agents work.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🎵</div><h3>Spotify Integration</h3><p>Native Spotify control through conversation. Play music, manage playlists, DJ on your devices. Search, like, queue — all through natural language.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🧩</div><h3>Skill System</h3><p>Install community skills with a single command. Skills auto-load into context, get elevated permissions, and can be scheduled as recurring tasks.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🛡</div><h3>Permission Hardened</h3><p>Folder-level read/write scoping. Command blocklist. Pending approval flow. Ask Me or Allow All mode per session.</div></div></div></section><section id=second-brain class="lp-section lp-section-alt"><div class=lp-container><h2 class=lp-section-title>🧠 Second Brain</h2><p class=lp-section-sub>Most AI agents forget everything when you close the chat. Mercury <em>remembers</em> — automatically, privately, and with surgical precision.<div class=lp-brain-grid><div class="lp-brain-card lp-reveal"><h3>Learns Automatically</h3><p>After each conversation, Mercury extracts facts about you — your preferences, goals, projects, habits, relationships, and decisions.</div><div class="lp-brain-card lp-reveal"><h3>Recalls What Matters</h3><p>Only memories relevant to the current conversation are injected — up to 5 facts within a 900-character budget.</div><div class="lp-brain-card lp-reveal"><h3>Resolves Conflicts</h3><p>When Mercury detects a contradiction, the higher-confidence memory wins. No stale data.</div><div class="lp-brain-card lp-reveal"><h3>10 Memory Types</h3><p>Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection — each scored by confidence, importance, and durability.</div><div class="lp-brain-card lp-reveal"><h3>Auto-Consolidation</h3><p>Every hour Mercury synthesizes a profile summary and generates reflections from patterns it detects.</div><div class="lp-brain-card lp-reveal"><h3>You Stay in Control</h3><p>/memory gives you overview, search, pause, and clear. All data stays on your machine in SQLite — nothing leaves.</div></div></div></section><section id=how-it-works class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Up and Running in 60 Seconds</h2><div class=lp-steps><div class="lp-step lp-reveal"><div class=lp-step-number>1</div><h3>Install</h3><div class=lp-terminal-inline><code>npm i -g @cosmicstack/mercury-agent</code></div><p>Or use npx @cosmicstack/mercury-agent — no install needed.</div><div class="lp-step lp-reveal"><div class=lp-step-number>2</div><h3>Setup</h3><div class=lp-terminal-inline><code>mercury</code></div><p>First run triggers the onboarding wizard. Choose providers, validate keys, pick your default model, optionally pair Telegram.</div><div class="lp-step lp-reveal"><div class=lp-step-number>3</div><h3>Run</h3><div class=lp-terminal-inline><code>mercury start</code></div><p>Mercury wakes up, loads your soul files, restores scheduled tasks, and runs as a background daemon.</div></div></div></section><section id=demo class=lp-section><div class=lp-container><h2 class=lp-section-title>See It Work</h2><p class=lp-section-sub>A real Mercury session — tool calls, streaming, files, and scheduling.<div class=lp-terminal-window style="max-width:760px;margin:0 auto"><div class=lp-terminal-bar><span class="lp-terminal-dot lp-dot-red"></span><span class="lp-terminal-dot lp-dot-yellow"></span><span class="lp-terminal-dot lp-dot-green"></span><span class=lp-terminal-title>mercury</span></div><div class=lp-terminal-body></div></div></div></section><section id=capabilities class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>31 Built-In Tools</h2><p class=lp-section-sub>Plus extensible skills, scheduling, and memory.<div class=lp-caps-grid><div class="lp-cap-group lp-reveal"><h3>📂 Filesystem</h3><ul><li>read_file — Read file contents<li>write_file — Write to existing file<li>create_file — Create new files (+ dirs)<li>edit_file — Search & replace text<li>list_dir — List directory contents<li>delete_file — Delete a file<li>send_file — Send file to user<li>approve_scope — Request directory access</ul></div><div class="lp-cap-group lp-reveal"><h3>💬 Messaging</h3><ul><li>send_message — Send a message to approved Telegram recipients</ul></div><div class="lp-cap-group lp-reveal"><h3>🐚 Shell</h3><ul><li>run_command — Execute shell commands<li>cd — Change working directory<li>approve_command — Permanently approve a command</ul></div><div class="lp-cap-group lp-reveal"><h3>📦 Git</h3><ul><li>git_status — Working tree status<li>git_diff — Show file changes<li>git_log — Commit history<li>git_add — Stage files<li>git_commit — Create commits<li>git_push — Push to remote</ul></div><div class="lp-cap-group lp-reveal"><h3>🐙 GitHub</h3><ul><li>create_pr — Create pull requests<li>review_pr — Review PRs + post comments<li>list_issues — List & filter issues<li>create_issue — Create new issues<li>github_api — Raw API access<li>Co-authored-by on every commit</ul></div><div class="lp-cap-group lp-reveal"><h3>🎵 Spotify</h3><ul><li>spotify_search — Search tracks, artists, albums, playlists<li>spotify_play — Play on your devices<li>spotify_pause/next/previous — Playback controls<li>spotify_now_playing — What's playing + progress bar<li>spotify_devices — List & select devices<li>spotify_like/top_tracks/playlists — Library access<li>spotify_volume/shuffle/repeat/queue — Full player control</ul></div><div class="lp-cap-group lp-reveal"><h3>🤖 Sub-Agents</h3><ul><li>delegate_task — Spawn parallel AI agents<li>list_agents — Monitor running agents<li>stop_agent — Halt a specific agent<li>/agents — See all agents + status<li>/halt — Emergency stop all agents<li>File locks for concurrent safety<li>Auto-concurrency from CPU/RAM</ul></div><div class="lp-cap-group lp-reveal"><h3>🧩 Skills</h3><ul><li>install_skill — Install from URL or content<li>list_skills — Show installed skills<li>use_skill — Invoke a skill</ul></div><div class="lp-cap-group lp-reveal"><h3>⏰ Scheduler</h3><ul><li>schedule_task — Cron or one-shot tasks<li>list_scheduled_tasks — View all tasks<li>cancel_scheduled_task — Cancel a task</ul></div><div class="lp-cap-group lp-reveal"><h3>📊 System</h3><ul><li>budget_status — Check token budget</ul></div><div class="lp-cap-group lp-reveal"><h3>🧠 Memory</h3><ul><li>Short-term — Recent conversation per channel<li>Long-term — Auto-extracted facts with dedup<li>Episodic — Timestamped interaction log</ul></div></div></div></section><section id=compare class=lp-section><div class=lp-container><h2 class=lp-section-title>Honest Comparison</h2><p class=lp-section-sub>We built Mercury because nothing else did all of this.<div class="lp-compare-table lp-reveal"><table><thead><tr><th>Feature<th class=lp-highlight>Mercury<th>Open Interpreter<th>Claude Code<tbody><tr><td>Soul / Persona System<td class=lp-highlight>4 markdown files<td class=lp-partial>Custom instructions<td class=lp-partial>CLAUDE.md<tr><td>Token Budget<td class=lp-highlight>Daily budget + override<td class=lp-no>—<td class=lp-no>—<tr><td>Multi-Channel<td class=lp-highlight>CLI + Telegram + more<td class=lp-partial>All<td class=lp-partial>All<tr><td>Sub-Agents<td class=lp-highlight>Parallel AI workers, non-blocking<td class=lp-no>—<td class=lp-no>—<tr><td>Spotify Integration<td class=lp-highlight>Native playback + DJ mode<td class=lp-no>—<td class=lp-no>—<tr><td>Skill System<td class=lp-highlight>Install, invoke, schedule<td class=lp-no>—<td class=lp-no>—<tr><td>Cron + Delayed Scheduling<td class=lp-highlight>Persisted, auto-restore<td class=lp-no>—<td class=lp-no>—<tr><td>Permission Hardening<td class=lp-highlight>Blocklist + scope + approval<td class=lp-partial>Confirmation prompts<td class=lp-partial>Permission prompts<tr><td>GitHub Companion<td class=lp-highlight>PRs, issues, co-authored commits<td class=lp-no>—<td class=lp-no>—<tr><td>Proactive Notifications<td class=lp-highlight>Heartbeat + task alerts<td class=lp-no>—<td class=lp-no>—<tr><td>Auto Fact Extraction<td class=lp-highlight>With dedup<td class=lp-no>—<td class=lp-no>—<tr><td>Provider Fallback<td class=lp-highlight>Auto with last-successful<td class=lp-partial>Manual config<td class=lp-partial>Anthropic only<tr><td>File Upload (Telegram)<td class=lp-highlight>Auto type detection<td class=lp-no>—<td class=lp-no>—<tr><td>Streaming Output<td class=lp-highlight>Real-time text stream<td class=lp-partial>Real-time text stream<td class=lp-partial>Real-time text stream<tr><td>Headless / 24-7<td class=lp-highlight>Built-in<td class=lp-no>—<td class=lp-no>—<tr><td>Language<td class=lp-highlight>TypeScript / Node.js<td class=lp-partial>Python<td class=lp-partial>TypeScript / Node.js<tr><td>Open Source<td class=lp-highlight>MIT<td class=lp-partial>LGPL-2.1<td class=lp-partial>Source-available</table></div></div></section><section id=architecture class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Under the Hood</h2><p class=lp-section-sub>Minimal runtime, maximum capability.<div class=lp-arch-grid><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Core</div><div class=lp-arch-value>TypeScript + Node.js 18+</div><div class=lp-arch-desc>ESM, tsup build, SQLite-backed second brain</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>AI SDK</div><div class=lp-arch-value>Vercel AI SDK v4</div><div class=lp-arch-desc>streamText + generateText, 10-step agentic loop</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Sub-Agents</div><div class=lp-arch-value>Same-process async coroutines</div><div class=lp-arch-desc>Parallel task delegation, file locks, resource-aware concurrency</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Spotify</div><div class=lp-arch-value>Native Web API integration</div><div class=lp-arch-desc>OAuth2 auth, 14 tools, DJ mode skill, Premium + free support</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Providers</div><div class=lp-arch-value>DeepSeek · OpenAI · Anthropic · Grok · Ollama Cloud · Ollama Local</div><div class=lp-arch-desc>Validated onboarding, model discovery, and fallback with last-successful tracking</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Memory</div><div class=lp-arch-value>JSONL + SQLite</div><div class=lp-arch-desc>Short-term, long-term, episodic + second brain</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Telegram</div><div class=lp-arch-value>grammY</div><div class=lp-arch-desc>Long polling, pairing codes, CLI-managed access requests, broadcasts, file uploads</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Runtime Data</div><div class=lp-arch-value>~/.mercury/</div><div class=lp-arch-desc>Config, soul, memory, permissions, skills, schedules — all in your home dir</div></div></div></div></section><section id=providers class=lp-section><div class=lp-container><h2 class=lp-section-title>Supported Providers</h2><p class=lp-section-sub>Pick one or stack them all. Mercury falls back automatically.<div class="lp-provider-grid lp-reveal"><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>DeepSeek</h3><p>Default provider. Cost-effective with strong reasoning.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>OpenAI</h3><p>GPT-4o-mini, GPT-4o, o3. Industry standard.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Anthropic</h3><p>Claude Sonnet, Haiku, Opus. Nuanced reasoning.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Grok (xAI)</h3><p>xAI's models. OpenAI-compatible endpoint.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Ollama Cloud</h3><p>Remote Ollama models via API. No local setup.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Ollama Local</h3><p>On your machine. Zero API cost, fully private.</div></div></div><div class=lp-provider-note><p>More providers on the way — Google Gemini, Mistral, and others. Mercury's OpenAI-compatible architecture also supports custom endpoints.</div></div></section><section id=cta class="lp-section lp-cta-section"><div class=lp-container><h2 class=lp-section-title>Ready to Deploy Your Agent?</h2><div class=lp-cta-terminal><code>npm i -g @cosmicstack/mercury-agent && mercury</code></div><p class=lp-cta-sub>That's it. 60 seconds to your own AI agent with GitHub companion.<div class=lp-cta-links><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel=noopener>GitHub →</a><a href=https://github.com/cosmicstack-labs/mercury-agent/issues target=_blank rel=noopener>Report an Issue →</a></div></div></section><footer class=lp-footer><div class="lp-container lp-footer-inner"><div><span class=lp-footer-logo>☿ Mercury</span><span class=lp-footer-tagline>by Cosmic Stack</span></div><div class=lp-footer-links><a href=/docs>Docs</a><a href=https://mercury.cosmicstack.org>mercury.cosmicstack.org</a><a href=https://github.com/cosmicstack-labs/mercury-agent>GitHub</a><a href=https://github.com/cosmicstack-labs/mercury-agent/issues>Issues</a></div></div></footer></div></div></body>
\ No newline at end of file
+/_/ /_/_____/_/ |_|\____/\____/_/ |_| /_/</pre><p class=lp-hero-tagline>Soul-driven. Token-efficient. Always on.<p class=lp-hero-sub>Your personal AI agent with 31 built-in tools, skill system, multi-agent orchestration, Spotify integration, GitHub companion, and hardened permissions. Runs 24/7 from your terminal or Telegram.<div class=lp-hero-actions><a href=#how-it-works class="lp-btn lp-btn-primary">Get Started</a><a href=#demo class="lp-btn lp-btn-secondary">See it in action</a><a class="lp-btn lp-btn-secondary" href=/docs>Read Docs</a></div><div class=lp-hero-install><code>npm i -g @cosmicstack/mercury-agent && mercury</code></div><div class="lp-terminal-window lp-hero-terminal"><div class=lp-terminal-bar><span class="lp-terminal-dot lp-dot-red"></span><span class="lp-terminal-dot lp-dot-yellow"></span><span class="lp-terminal-dot lp-dot-green"></span><span class=lp-terminal-title>terminal</span></div><div class=lp-terminal-body></div></div></div></section><section id=features class=lp-section><div class=lp-container><h2 class=lp-section-title>Built Different</h2><p class=lp-section-sub>Not another chatbot. An orchestrator that works for you.<div class=lp-features-grid><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>☿</div><h3>Soul-Driven Identity</h3><p>Mercury isn't a blank slate. Its personality is defined by markdown soul files — soul.md, persona.md, taste.md, heartbeat.md — that you control.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>⚡</div><h3>Token-Efficient</h3><p>Daily token budgets with enforcement. Only soul + persona injected per request (~400 tokens). Progressive skill loading. Auto-concise when budget exceeds 70%.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>♾</div><h3>Always On</h3><p>Background daemon by default. Cron scheduling, delayed tasks, and a heartbeat system. Auto-starts on boot, auto-restarts on crash.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>📡</div><h3>Multi-Channel</h3><p>CLI with readline and arrow-key menus. Telegram with typing indicators, HTML formatting, file uploads, and private 1:1 access.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🤖</div><h3>Sub-Agents</h3><p>Spawn parallel AI agents for concurrent tasks. Mercury orchestrates — research, code, and review run simultaneously. Non-blocking: keep chatting while agents work.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🎵</div><h3>Spotify Integration</h3><p>Native Spotify control through conversation. Play music, manage playlists, DJ on your devices. Search, like, queue — all through natural language.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🧩</div><h3>Skill System</h3><p>Install community skills with a single command. Skills auto-load into context, get elevated permissions, and can be scheduled as recurring tasks.</div><div class="lp-feature-card lp-reveal"><div class=lp-feature-icon>🛡</div><h3>Permission Hardened</h3><p>Folder-level read/write scoping. Command blocklist. Pending approval flow. Ask Me or Allow All mode per session.</div></div></div></section><section id=second-brain class="lp-section lp-section-alt"><div class=lp-container><h2 class=lp-section-title>🧠 Second Brain</h2><p class=lp-section-sub>Most AI agents forget everything when you close the chat. Mercury <em>remembers</em> — automatically, privately, and with surgical precision.<div class=lp-brain-grid><div class="lp-brain-card lp-reveal"><h3>Learns Automatically</h3><p>After each conversation, Mercury extracts facts about you — your preferences, goals, projects, habits, relationships, and decisions.</div><div class="lp-brain-card lp-reveal"><h3>Recalls What Matters</h3><p>Only memories relevant to the current conversation are injected — up to 5 facts within a 900-character budget.</div><div class="lp-brain-card lp-reveal"><h3>Resolves Conflicts</h3><p>When Mercury detects a contradiction, the higher-confidence memory wins. No stale data.</div><div class="lp-brain-card lp-reveal"><h3>10 Memory Types</h3><p>Identity, preference, goal, project, habit, decision, constraint, relationship, episode, and reflection — each scored by confidence, importance, and durability.</div><div class="lp-brain-card lp-reveal"><h3>Auto-Consolidation</h3><p>Every hour Mercury synthesizes a profile summary and generates reflections from patterns it detects.</div><div class="lp-brain-card lp-reveal"><h3>You Stay in Control</h3><p>/memory gives you overview, search, pause, and clear. All data stays on your machine in SQLite — nothing leaves.</div></div></div></section><section id=how-it-works class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Up and Running in 60 Seconds</h2><div class=lp-steps><div class="lp-step lp-reveal"><div class=lp-step-number>1</div><h3>Install</h3><div class=lp-terminal-inline><code>npm i -g @cosmicstack/mercury-agent</code></div><p>Or use npx @cosmicstack/mercury-agent — no install needed.</div><div class="lp-step lp-reveal"><div class=lp-step-number>2</div><h3>Setup</h3><div class=lp-terminal-inline><code>mercury</code></div><p>First run triggers the onboarding wizard. Choose providers, validate keys, pick your default model, optionally pair Telegram.</div><div class="lp-step lp-reveal"><div class=lp-step-number>3</div><h3>Run</h3><div class=lp-terminal-inline><code>mercury start</code></div><p>Mercury wakes up, loads your soul files, restores scheduled tasks, and runs as a background daemon.</div></div></div></section><section id=demo class=lp-section><div class=lp-container><h2 class=lp-section-title>See It Work</h2><p class=lp-section-sub>A real Mercury session — tool calls, streaming, files, and scheduling.<div class=lp-terminal-window style="max-width:760px;margin:0 auto"><div class=lp-terminal-bar><span class="lp-terminal-dot lp-dot-red"></span><span class="lp-terminal-dot lp-dot-yellow"></span><span class="lp-terminal-dot lp-dot-green"></span><span class=lp-terminal-title>mercury</span></div><div class=lp-terminal-body></div></div></div></section><section id=capabilities class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>31 Built-In Tools</h2><p class=lp-section-sub>Plus extensible skills, scheduling, and memory.<div class=lp-caps-grid><div class="lp-cap-group lp-reveal"><h3>📂 Filesystem</h3><ul><li>read_file — Read file contents<li>write_file — Write to existing file<li>create_file — Create new files (+ dirs)<li>edit_file — Search & replace text<li>list_dir — List directory contents<li>delete_file — Delete a file<li>send_file — Send file to user<li>approve_scope — Request directory access</ul></div><div class="lp-cap-group lp-reveal"><h3>💬 Messaging</h3><ul><li>send_message — Send a message to approved Telegram recipients</ul></div><div class="lp-cap-group lp-reveal"><h3>🐚 Shell</h3><ul><li>run_command — Execute shell commands<li>cd — Change working directory<li>approve_command — Permanently approve a command</ul></div><div class="lp-cap-group lp-reveal"><h3>📦 Git</h3><ul><li>git_status — Working tree status<li>git_diff — Show file changes<li>git_log — Commit history<li>git_add — Stage files<li>git_commit — Create commits<li>git_push — Push to remote</ul></div><div class="lp-cap-group lp-reveal"><h3>🐙 GitHub</h3><ul><li>create_pr — Create pull requests<li>review_pr — Review PRs + post comments<li>list_issues — List & filter issues<li>create_issue — Create new issues<li>github_api — Raw API access<li>Co-authored-by on every commit</ul></div><div class="lp-cap-group lp-reveal"><h3>🎵 Spotify</h3><ul><li>spotify_search — Search tracks, artists, albums, playlists<li>spotify_play — Play on your devices<li>spotify_pause/next/previous — Playback controls<li>spotify_now_playing — What's playing + progress bar<li>spotify_devices — List & select devices<li>spotify_like/top_tracks/playlists — Library access<li>spotify_volume/shuffle/repeat/queue — Full player control</ul></div><div class="lp-cap-group lp-reveal"><h3>🤖 Sub-Agents</h3><ul><li>delegate_task — Spawn parallel AI agents<li>list_agents — Monitor running agents<li>stop_agent — Halt a specific agent<li>/agents — See all agents + status<li>/halt — Emergency stop all agents<li>File locks for concurrent safety<li>Auto-concurrency from CPU/RAM</ul></div><div class="lp-cap-group lp-reveal"><h3>🧩 Skills</h3><ul><li>install_skill — Install from URL or content<li>list_skills — Show installed skills<li>use_skill — Invoke a skill</ul></div><div class="lp-cap-group lp-reveal"><h3>⏰ Scheduler</h3><ul><li>schedule_task — Cron or one-shot tasks<li>list_scheduled_tasks — View all tasks<li>cancel_scheduled_task — Cancel a task</ul></div><div class="lp-cap-group lp-reveal"><h3>📊 System</h3><ul><li>budget_status — Check token budget</ul></div><div class="lp-cap-group lp-reveal"><h3>🧠 Memory</h3><ul><li>Short-term — Recent conversation per channel<li>Long-term — Auto-extracted facts with dedup<li>Episodic — Timestamped interaction log</ul></div></div></div></section><section id=compare class=lp-section><div class=lp-container><h2 class=lp-section-title>Honest Comparison</h2><p class=lp-section-sub>We built Mercury because nothing else did all of this.<div class="lp-compare-table lp-reveal"><table><thead><tr><th>Feature<th class=lp-highlight>Mercury<th>Open Interpreter<th>Claude Code<tbody><tr><td>Soul / Persona System<td class=lp-highlight>4 markdown files<td class=lp-partial>Custom instructions<td class=lp-partial>CLAUDE.md<tr><td>Token Budget<td class=lp-highlight>Daily budget + override<td class=lp-no>—<td class=lp-no>—<tr><td>Multi-Channel<td class=lp-highlight>CLI + Telegram + more<td class=lp-partial>All<td class=lp-partial>All<tr><td>Sub-Agents<td class=lp-highlight>Parallel AI workers, non-blocking<td class=lp-no>—<td class=lp-no>—<tr><td>Spotify Integration<td class=lp-highlight>Native playback + DJ mode<td class=lp-no>—<td class=lp-no>—<tr><td>Skill System<td class=lp-highlight>Install, invoke, schedule<td class=lp-no>—<td class=lp-no>—<tr><td>Cron + Delayed Scheduling<td class=lp-highlight>Persisted, auto-restore<td class=lp-no>—<td class=lp-no>—<tr><td>Permission Hardening<td class=lp-highlight>Blocklist + scope + approval<td class=lp-partial>Confirmation prompts<td class=lp-partial>Permission prompts<tr><td>GitHub Companion<td class=lp-highlight>PRs, issues, co-authored commits<td class=lp-no>—<td class=lp-no>—<tr><td>Proactive Notifications<td class=lp-highlight>Heartbeat + task alerts<td class=lp-no>—<td class=lp-no>—<tr><td>Auto Fact Extraction<td class=lp-highlight>With dedup<td class=lp-no>—<td class=lp-no>—<tr><td>Provider Fallback<td class=lp-highlight>Auto with last-successful<td class=lp-partial>Manual config<td class=lp-partial>Anthropic only<tr><td>File Upload (Telegram)<td class=lp-highlight>Auto type detection<td class=lp-no>—<td class=lp-no>—<tr><td>Streaming Output<td class=lp-highlight>Real-time text stream<td class=lp-partial>Real-time text stream<td class=lp-partial>Real-time text stream<tr><td>Headless / 24-7<td class=lp-highlight>Built-in<td class=lp-no>—<td class=lp-no>—<tr><td>Language<td class=lp-highlight>TypeScript / Node.js<td class=lp-partial>Python<td class=lp-partial>TypeScript / Node.js<tr><td>Open Source<td class=lp-highlight>MIT<td class=lp-partial>LGPL-2.1<td class=lp-partial>Source-available</table></div></div></section><section id=architecture class="lp-section lp-section-dark"><div class=lp-container><h2 class=lp-section-title>Under the Hood</h2><p class=lp-section-sub>Minimal runtime, maximum capability.<div class=lp-arch-grid><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Core</div><div class=lp-arch-value>TypeScript + Node.js 18+</div><div class=lp-arch-desc>ESM, tsup build, SQLite-backed second brain</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>AI SDK</div><div class=lp-arch-value>Vercel AI SDK v4</div><div class=lp-arch-desc>streamText + generateText, 10-step agentic loop</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Sub-Agents</div><div class=lp-arch-value>Same-process async coroutines</div><div class=lp-arch-desc>Parallel task delegation, file locks, resource-aware concurrency</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Spotify</div><div class=lp-arch-value>Native Web API integration</div><div class=lp-arch-desc>OAuth2 auth, 14 tools, DJ mode skill, Premium + free support</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Providers</div><div class=lp-arch-value>DeepSeek · OpenAI · Anthropic · Grok · Ollama Cloud · Ollama Local</div><div class=lp-arch-desc>Validated onboarding, model discovery, and fallback with last-successful tracking</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Memory</div><div class=lp-arch-value>JSONL + SQLite</div><div class=lp-arch-desc>Short-term, long-term, episodic + second brain</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Telegram</div><div class=lp-arch-value>grammY</div><div class=lp-arch-desc>Long polling, pairing codes, CLI-managed access requests, broadcasts, file uploads</div></div><div class="lp-arch-card lp-reveal"><div class=lp-arch-label>Runtime Data</div><div class=lp-arch-value>~/.mercury/</div><div class=lp-arch-desc>Config, soul, memory, permissions, skills, schedules — all in your home dir</div></div></div></div></section><section id=providers class=lp-section><div class=lp-container><h2 class=lp-section-title>Supported Providers</h2><p class=lp-section-sub>Pick one or stack them all. Mercury falls back automatically.<div class="lp-provider-grid lp-reveal"><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>DeepSeek</h3><p>Default provider. Cost-effective with strong reasoning.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>OpenAI</h3><p>GPT-4o-mini, GPT-4o, o3. Industry standard.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Anthropic</h3><p>Claude Sonnet, Haiku, Opus. Nuanced reasoning.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Grok (xAI)</h3><p>xAI's models. OpenAI-compatible endpoint.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Ollama Cloud</h3><p>Remote Ollama models via API. No local setup.</div></div><div class=lp-provider-card><div class=lp-provider-logo>⚡</div><div class=lp-provider-info><h3>Ollama Local</h3><p>On your machine. Zero API cost, fully private.</div></div></div><div class=lp-provider-note><p>More providers on the way — Google Gemini, Mistral, and others. Mercury's OpenAI-compatible architecture also supports custom endpoints.</div></div></section><section id=cta class="lp-section lp-cta-section"><div class=lp-container><h2 class=lp-section-title>Ready to Deploy Your Agent?</h2><div class=lp-cta-terminal><code>npm i -g @cosmicstack/mercury-agent && mercury</code></div><p class=lp-cta-sub>That's it. 60 seconds to your own AI agent with GitHub companion.<div class=lp-cta-links><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel=noopener>GitHub →</a><a href=https://github.com/cosmicstack-labs/mercury-agent/issues target=_blank rel=noopener>Report an Issue →</a></div></div></section><footer class=lp-footer><div class="lp-container lp-footer-inner"><div><span class=lp-footer-logo>☿ Mercury</span><span class=lp-footer-tagline>by Cosmic Stack</span></div><div class=lp-footer-links><a href=/docs>Docs</a><a href=https://mercury.cosmicstack.org>mercury.cosmicstack.org</a><a href=https://github.com/cosmicstack-labs/mercury-agent>GitHub</a><a href=https://github.com/cosmicstack-labs/mercury-agent/issues>Issues</a></div></div></footer></div></div></body>
\ No newline at end of file
diff --git a/docs/search-index.json b/docs/search-index.json
index 50ba51ff..648b6b85 100644
--- a/docs/search-index.json
+++ b/docs/search-index.json
@@ -1 +1 @@
-[{"documents":[{"i":1,"t":"Installation","u":"/docs","b":["Docs"]},{"i":5,"t":"Full Command Reference","u":"/docs/cli-commands/cli-commands","b":["Docs","CLI Commands"]},{"i":7,"t":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","b":["Docs","CLI Commands"]},{"i":9,"t":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","b":["Docs","CLI Commands"]},{"i":11,"t":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","b":["Docs","Daemon Mode"]},{"i":27,"t":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","b":["Docs","Daemon Mode"]},{"i":35,"t":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","b":["Docs","Daemon Mode"]},{"i":39,"t":"First-Time Setup","u":"/docs/getting-started/setup","b":["Docs"]},{"i":41,"t":"Starting Mercury","u":"/docs/getting-started/starting","b":["Docs"]},{"i":49,"t":"GitHub Companion","u":"/docs/integrations/github-companion","b":["Docs","Integrations"]},{"i":69,"t":"Spotify Integration","u":"/docs/integrations/spotify","b":["Docs","Integrations"]},{"i":100,"t":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","b":["Docs","Integrations"]},{"i":122,"t":"Telegram","u":"/docs/integrations/telegram","b":["Docs","Integrations"]},{"i":136,"t":"Built-in Tools","u":"/docs/reference/built-in-tools","b":["Docs","Reference"]},{"i":148,"t":"Configuration","u":"/docs/reference/configuration","b":["Docs","Reference"]},{"i":150,"t":"Permissions","u":"/docs/reference/permissions","b":["Docs","Reference"]},{"i":154,"t":"Provider Fallback","u":"/docs/reference/provider-fallback","b":["Docs","Reference"]},{"i":160,"t":"Scheduling","u":"/docs/reference/scheduling","b":["Docs","Reference"]},{"i":166,"t":"Second Brain","u":"/docs/reference/second-brain","b":["Docs","Reference"]},{"i":180,"t":"Skills","u":"/docs/reference/skills","b":["Docs","Reference"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[0,3.378]],["t/5",[1,2.272,2,1.832,3,2.272]],["t/7",[4,2.717,5,2.717]],["t/9",[2,2.191,6,2.717]],["t/11",[7,2.717,8,2.191]],["t/27",[9,2.272,10,2.272,11,2.272]],["t/35",[12,1.711,13,1.711,14,1.711,15,1.38,16,1.711]],["t/39",[17,2.272,18,2.272,19,2.272]],["t/41",[15,2.191,20,2.717]],["t/49",[21,2.717,22,2.717]],["t/69",[23,2.717,24,2.717]],["t/100",[8,1.38,25,1.711,26,2.643,27,1.711]],["t/122",[28,3.378]],["t/136",[29,2.717,30,2.717]],["t/148",[31,3.378]],["t/150",[32,3.378]],["t/154",[33,2.717,34,2.717]],["t/160",[35,3.378]],["t/166",[36,2.717,37,2.717]],["t/180",[38,3.378]]],"invertedIndex":[["agent",{"_index":26,"t":{"100":{"position":[[4,6],[18,5]]}}}],["auto",{"_index":14,"t":{"35":{"position":[[15,5]]}}}],["boot",{"_index":16,"t":{"35":{"position":[[30,5]]}}}],["brain",{"_index":37,"t":{"166":{"position":[[7,5]]}}}],["built",{"_index":29,"t":{"136":{"position":[[0,5]]}}}],["chat",{"_index":6,"t":{"9":{"position":[[3,4]]}}}],["command",{"_index":2,"t":{"5":{"position":[[5,7]]},"9":{"position":[[8,8]]}}}],["companion",{"_index":22,"t":{"49":{"position":[[7,9]]}}}],["configur",{"_index":31,"t":{"148":{"position":[[0,13]]}}}],["daemon",{"_index":7,"t":{"11":{"position":[[0,6]]}}}],["doctor",{"_index":4,"t":{"7":{"position":[[0,6]]}}}],["fallback",{"_index":34,"t":{"154":{"position":[[9,8]]}}}],["first",{"_index":17,"t":{"39":{"position":[[0,5]]}}}],["full",{"_index":1,"t":{"5":{"position":[[0,4]]}}}],["github",{"_index":21,"t":{"49":{"position":[[0,6]]}}}],["guid",{"_index":11,"t":{"27":{"position":[[18,5]]}}}],["instal",{"_index":0,"t":{"1":{"position":[[0,12]]}}}],["integr",{"_index":24,"t":{"69":{"position":[[8,11]]}}}],["mercuri",{"_index":20,"t":{"41":{"position":[[9,7]]}}}],["mode",{"_index":8,"t":{"11":{"position":[[7,4]]},"100":{"position":[[24,5]]}}}],["multi",{"_index":27,"t":{"100":{"position":[[11,6]]}}}],["permiss",{"_index":32,"t":{"150":{"position":[[0,11]]}}}],["platform",{"_index":9,"t":{"27":{"position":[[0,8]]}}}],["provid",{"_index":33,"t":{"154":{"position":[[0,8]]}}}],["reconfigur",{"_index":5,"t":{"7":{"position":[[7,13]]}}}],["refer",{"_index":3,"t":{"5":{"position":[[13,9]]}}}],["schedul",{"_index":35,"t":{"160":{"position":[[0,10]]}}}],["second",{"_index":36,"t":{"166":{"position":[[0,6]]}}}],["servic",{"_index":13,"t":{"35":{"position":[[7,7]]}}}],["setup",{"_index":19,"t":{"39":{"position":[[11,5]]}}}],["skill",{"_index":38,"t":{"180":{"position":[[0,6]]}}}],["specif",{"_index":10,"t":{"27":{"position":[[9,8]]}}}],["spotifi",{"_index":23,"t":{"69":{"position":[[0,7]]}}}],["start",{"_index":15,"t":{"35":{"position":[[21,5]]},"41":{"position":[[0,8]]}}}],["sub",{"_index":25,"t":{"100":{"position":[[0,3]]}}}],["system",{"_index":12,"t":{"35":{"position":[[0,6]]}}}],["telegram",{"_index":28,"t":{"122":{"position":[[0,8]]}}}],["time",{"_index":18,"t":{"39":{"position":[[6,4]]}}}],["tool",{"_index":30,"t":{"136":{"position":[[9,5]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":3,"t":"Upgrade","u":"/docs","h":"#upgrade","p":1},{"i":13,"t":"Start","u":"/docs/daemon-mode/daemon-mode","h":"#start","p":11},{"i":15,"t":"Start in foreground","u":"/docs/daemon-mode/daemon-mode","h":"#start-in-foreground","p":11},{"i":17,"t":"The easy way: mercury up","u":"/docs/daemon-mode/daemon-mode","h":"#the-easy-way-mercury-up","p":11},{"i":19,"t":"Stop","u":"/docs/daemon-mode/daemon-mode","h":"#stop","p":11},{"i":21,"t":"Restart","u":"/docs/daemon-mode/daemon-mode","h":"#restart","p":11},{"i":23,"t":"View logs","u":"/docs/daemon-mode/daemon-mode","h":"#view-logs","p":11},{"i":25,"t":"Check status","u":"/docs/daemon-mode/daemon-mode","h":"#check-status","p":11},{"i":29,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management","p":27},{"i":31,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-1","p":27},{"i":33,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-2","p":27},{"i":37,"t":"Other service commands","u":"/docs/daemon-mode/system-service","h":"#other-service-commands","p":35},{"i":43,"t":"Start (background daemon)","u":"/docs/getting-started/starting","h":"#start-background-daemon","p":41},{"i":45,"t":"Foreground (interactive)","u":"/docs/getting-started/starting","h":"#foreground-interactive","p":41},{"i":47,"t":"Verbose logging","u":"/docs/getting-started/starting","h":"#verbose-logging","p":41},{"i":51,"t":"Why set up GitHub?","u":"/docs/integrations/github-companion","h":"#why-set-up-github","p":49},{"i":53,"t":"Setup","u":"/docs/integrations/github-companion","h":"#setup","p":49},{"i":55,"t":"1. GitHub username","u":"/docs/integrations/github-companion","h":"#1-github-username","p":49},{"i":57,"t":"2. Co-authored-by (automatic)","u":"/docs/integrations/github-companion","h":"#2-co-authored-by-automatic","p":49},{"i":59,"t":"3. GitHub PAT (Personal Access Token)","u":"/docs/integrations/github-companion","h":"#3-github-pat-personal-access-token","p":49},{"i":61,"t":"4. Default repo (optional)","u":"/docs/integrations/github-companion","h":"#4-default-repo-optional","p":49},{"i":63,"t":"GitHub Tools","u":"/docs/integrations/github-companion","h":"#github-tools","p":49},{"i":65,"t":"Co-Authored Commits","u":"/docs/integrations/github-companion","h":"#co-authored-commits","p":49},{"i":67,"t":"Security","u":"/docs/integrations/github-companion","h":"#security","p":49},{"i":71,"t":"Setup","u":"/docs/integrations/spotify","h":"#setup","p":69},{"i":72,"t":"Step 1: Create a Spotify Developer App","u":"/docs/integrations/spotify","h":"#step-1-create-a-spotify-developer-app","p":69},{"i":74,"t":"Step 2: Configure Mercury","u":"/docs/integrations/spotify","h":"#step-2-configure-mercury","p":69},{"i":76,"t":"Step 3: Connect Your Spotify Account","u":"/docs/integrations/spotify","h":"#step-3-connect-your-spotify-account","p":69},{"i":78,"t":"Commands","u":"/docs/integrations/spotify","h":"#commands","p":69},{"i":80,"t":"Spotify Tools","u":"/docs/integrations/spotify","h":"#spotify-tools","p":69},{"i":82,"t":"Read-only (works on free accounts)","u":"/docs/integrations/spotify","h":"#read-only-works-on-free-accounts","p":69},{"i":84,"t":"Playback control (requires Spotify Premium)","u":"/docs/integrations/spotify","h":"#playback-control-requires-spotify-premium","p":69},{"i":86,"t":"Using It","u":"/docs/integrations/spotify","h":"#using-it","p":69},{"i":88,"t":"Interactive Player (CLI)","u":"/docs/integrations/spotify","h":"#interactive-player-cli","p":69},{"i":90,"t":"Managing Devices","u":"/docs/integrations/spotify","h":"#managing-devices","p":69},{"i":92,"t":"Token Management","u":"/docs/integrations/spotify","h":"#token-management","p":69},{"i":94,"t":"Disconnecting","u":"/docs/integrations/spotify","h":"#disconnecting","p":69},{"i":96,"t":"Security","u":"/docs/integrations/spotify","h":"#security","p":69},{"i":98,"t":"Troubleshooting","u":"/docs/integrations/spotify","h":"#troubleshooting","p":69},{"i":102,"t":"Why Sub-Agents Matter","u":"/docs/integrations/sub-agents","h":"#why-sub-agents-matter","p":100},{"i":104,"t":"How It Works","u":"/docs/integrations/sub-agents","h":"#how-it-works","p":100},{"i":106,"t":"Commands","u":"/docs/integrations/sub-agents","h":"#commands","p":100},{"i":108,"t":"Delegation Tools","u":"/docs/integrations/sub-agents","h":"#delegation-tools","p":100},{"i":110,"t":"Architecture","u":"/docs/integrations/sub-agents","h":"#architecture","p":100},{"i":112,"t":"When Mercury Uses Sub-Agents","u":"/docs/integrations/sub-agents","h":"#when-mercury-uses-sub-agents","p":100},{"i":114,"t":"What Happens While Agents Work","u":"/docs/integrations/sub-agents","h":"#what-happens-while-agents-work","p":100},{"i":116,"t":"Configuration","u":"/docs/integrations/sub-agents","h":"#configuration","p":100},{"i":118,"t":"Programming Mode","u":"/docs/integrations/sub-agents","h":"#programming-mode","p":100},{"i":120,"t":"Programming Mode + Sub-Agents","u":"/docs/integrations/sub-agents","h":"#programming-mode--sub-agents","p":100},{"i":124,"t":"Access Model","u":"/docs/integrations/telegram","h":"#access-model","p":122},{"i":126,"t":"Roles","u":"/docs/integrations/telegram","h":"#roles","p":122},{"i":128,"t":"CLI Commands","u":"/docs/integrations/telegram","h":"#cli-commands","p":122},{"i":130,"t":"In-Chat Commands","u":"/docs/integrations/telegram","h":"#in-chat-commands","p":122},{"i":132,"t":"Features","u":"/docs/integrations/telegram","h":"#features","p":122},{"i":134,"t":"Configuration","u":"/docs/integrations/telegram","h":"#configuration","p":122},{"i":138,"t":"Filesystem","u":"/docs/reference/built-in-tools","h":"#filesystem","p":136},{"i":140,"t":"Messaging","u":"/docs/reference/built-in-tools","h":"#messaging","p":136},{"i":142,"t":"Shell","u":"/docs/reference/built-in-tools","h":"#shell","p":136},{"i":144,"t":"Git","u":"/docs/reference/built-in-tools","h":"#git","p":136},{"i":146,"t":"Web, Skills, Scheduler, System","u":"/docs/reference/built-in-tools","h":"#web-skills-scheduler-system","p":136},{"i":152,"t":"Permission Modes","u":"/docs/reference/permissions","h":"#permission-modes","p":150},{"i":156,"t":"Supported Providers","u":"/docs/reference/provider-fallback","h":"#supported-providers","p":154},{"i":158,"t":"Configuring Providers","u":"/docs/reference/provider-fallback","h":"#configuring-providers","p":154},{"i":162,"t":"Recurring tasks","u":"/docs/reference/scheduling","h":"#recurring-tasks","p":160},{"i":164,"t":"One-shot delays","u":"/docs/reference/scheduling","h":"#one-shot-delays","p":160},{"i":168,"t":"How it works","u":"/docs/reference/second-brain","h":"#how-it-works","p":166},{"i":170,"t":"Memory Types","u":"/docs/reference/second-brain","h":"#memory-types","p":166},{"i":172,"t":"Conflict Resolution","u":"/docs/reference/second-brain","h":"#conflict-resolution","p":166},{"i":174,"t":"Evidence Kinds","u":"/docs/reference/second-brain","h":"#evidence-kinds","p":166},{"i":176,"t":"Managing Memory","u":"/docs/reference/second-brain","h":"#managing-memory","p":166},{"i":178,"t":"Enable / Disable","u":"/docs/reference/second-brain","h":"#enable--disable","p":166},{"i":182,"t":"Installing","u":"/docs/reference/skills","h":"#installing","p":180},{"i":184,"t":"Invoking","u":"/docs/reference/skills","h":"#invoking","p":180},{"i":186,"t":"Scheduling a skill","u":"/docs/reference/skills","h":"#scheduling-a-skill","p":180}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/3",[0,5.03]],["t/13",[1,3.94]],["t/15",[1,3.177,2,3.526]],["t/17",[3,2.923,4,2.923,5,2.29,6,2.541]],["t/19",[7,5.03]],["t/21",[8,5.03]],["t/23",[9,4.055,10,3.526]],["t/25",[11,4.055,12,4.055]],["t/29",[13,3.177,14,2.535]],["t/31",[13,3.177,14,2.535]],["t/33",[13,3.177,14,2.535]],["t/37",[15,4.055,16,2.708]],["t/43",[1,2.661,17,3.397,18,3.397]],["t/45",[2,3.526,19,3.526]],["t/47",[10,3.526,20,4.055]],["t/51",[6,2.954,21,3.397,22,2.443]],["t/53",[23,4.373]],["t/55",[22,2.443,24,2.954,25,3.397]],["t/57",[26,2.541,27,2.541,28,2.541,29,2.923]],["t/59",[22,1.643,30,1.987,31,2.285,32,2.285,33,1.987,34,1.987]],["t/61",[35,2.923,36,2.923,37,2.923,38,2.923]],["t/63",[22,2.917,39,3.177]],["t/65",[27,2.954,28,2.954,40,3.397]],["t/67",[41,4.373]],["t/71",[23,4.373]],["t/72",[24,1.987,42,1.79,43,2.285,44,1.643,45,2.285,46,2.285]],["t/74",[5,2.29,26,2.541,42,2.29,47,2.102]],["t/76",[30,2.23,42,2.009,44,1.845,48,2.565,49,2.23]],["t/78",[16,3.359]],["t/80",[39,3.177,44,2.917]],["t/82",[49,2.541,50,2.923,51,2.102,52,2.923]],["t/84",[44,1.845,53,2.565,54,2.565,55,2.565,56,2.565]],["t/86",[57,4.373]],["t/88",[19,2.954,58,3.397,59,2.954]],["t/90",[14,2.535,60,4.055]],["t/92",[14,2.535,34,3.526]],["t/94",[61,5.03]],["t/96",[41,4.373]],["t/98",[62,5.03]],["t/102",[63,2.661,64,2.443,65,3.397]],["t/104",[51,3.617]],["t/106",[16,3.359]],["t/108",[39,3.177,66,4.055]],["t/110",[67,5.03]],["t/112",[5,2.29,57,2.541,63,2.29,64,2.102]],["t/114",[51,2.443,64,2.443,68,3.397]],["t/116",[47,3.617]],["t/118",[69,3.526,70,3.177]],["t/120",[63,2.009,64,1.845,69,2.23,70,2.009,71,2.23]],["t/124",[33,3.526,72,4.055]],["t/126",[73,5.03]],["t/128",[16,2.708,59,3.526]],["t/130",[16,2.708,74,4.055]],["t/132",[75,5.03]],["t/134",[47,3.617]],["t/138",[76,5.03]],["t/140",[77,5.03]],["t/142",[78,5.03]],["t/144",[79,5.03]],["t/146",[80,2.923,81,2.541,82,2.541,83,2.923]],["t/152",[70,3.177,84,4.055]],["t/156",[85,4.055,86,3.526]],["t/158",[47,2.917,86,3.526]],["t/162",[87,4.055,88,4.055]],["t/164",[89,3.397,90,3.397,91,3.397]],["t/168",[51,3.617]],["t/170",[92,3.526,93,4.055]],["t/172",[94,4.055,95,4.055]],["t/174",[96,4.055,97,4.055]],["t/176",[14,2.535,92,3.526]],["t/178",[71,2.954,98,3.397,99,3.397]],["t/182",[100,5.03]],["t/184",[101,5.03]],["t/186",[81,3.526,82,3.526]]],"invertedIndex":[["",{"_index":71,"t":{"120":{"position":[[17,1]]},"178":{"position":[[7,1]]}}}],["1",{"_index":24,"t":{"55":{"position":[[0,2]]},"72":{"position":[[5,2]]}}}],["2",{"_index":26,"t":{"57":{"position":[[0,2]]},"74":{"position":[[5,2]]}}}],["3",{"_index":30,"t":{"59":{"position":[[0,2]]},"76":{"position":[[5,2]]}}}],["4",{"_index":35,"t":{"61":{"position":[[0,2]]}}}],["access",{"_index":33,"t":{"59":{"position":[[24,6]]},"124":{"position":[[0,6]]}}}],["account",{"_index":49,"t":{"76":{"position":[[29,7]]},"82":{"position":[[25,9]]}}}],["agent",{"_index":64,"t":{"102":{"position":[[8,6]]},"112":{"position":[[22,6]]},"114":{"position":[[19,6]]},"120":{"position":[[23,6]]}}}],["app",{"_index":46,"t":{"72":{"position":[[35,3]]}}}],["architectur",{"_index":67,"t":{"110":{"position":[[0,12]]}}}],["author",{"_index":28,"t":{"57":{"position":[[6,8]]},"65":{"position":[[3,8]]}}}],["automat",{"_index":29,"t":{"57":{"position":[[18,11]]}}}],["background",{"_index":17,"t":{"43":{"position":[[6,11]]}}}],["chat",{"_index":74,"t":{"130":{"position":[[3,4]]}}}],["check",{"_index":11,"t":{"25":{"position":[[0,5]]}}}],["cli",{"_index":59,"t":{"88":{"position":[[19,5]]},"128":{"position":[[0,3]]}}}],["co",{"_index":27,"t":{"57":{"position":[[3,2]]},"65":{"position":[[0,2]]}}}],["command",{"_index":16,"t":{"37":{"position":[[14,8]]},"78":{"position":[[0,8]]},"106":{"position":[[0,8]]},"128":{"position":[[4,8]]},"130":{"position":[[8,8]]}}}],["commit",{"_index":40,"t":{"65":{"position":[[12,7]]}}}],["configur",{"_index":47,"t":{"74":{"position":[[8,9]]},"116":{"position":[[0,13]]},"134":{"position":[[0,13]]},"158":{"position":[[0,11]]}}}],["conflict",{"_index":94,"t":{"172":{"position":[[0,8]]}}}],["connect",{"_index":48,"t":{"76":{"position":[[8,7]]}}}],["control",{"_index":54,"t":{"84":{"position":[[9,7]]}}}],["creat",{"_index":43,"t":{"72":{"position":[[8,6]]}}}],["daemon",{"_index":18,"t":{"43":{"position":[[18,7]]}}}],["default",{"_index":36,"t":{"61":{"position":[[3,7]]}}}],["delay",{"_index":91,"t":{"164":{"position":[[9,6]]}}}],["deleg",{"_index":66,"t":{"108":{"position":[[0,10]]}}}],["develop",{"_index":45,"t":{"72":{"position":[[25,9]]}}}],["devic",{"_index":60,"t":{"90":{"position":[[9,7]]}}}],["disabl",{"_index":99,"t":{"178":{"position":[[9,7]]}}}],["disconnect",{"_index":61,"t":{"94":{"position":[[0,13]]}}}],["easi",{"_index":3,"t":{"17":{"position":[[4,4]]}}}],["enabl",{"_index":98,"t":{"178":{"position":[[0,6]]}}}],["evid",{"_index":96,"t":{"174":{"position":[[0,8]]}}}],["featur",{"_index":75,"t":{"132":{"position":[[0,8]]}}}],["filesystem",{"_index":76,"t":{"138":{"position":[[0,10]]}}}],["foreground",{"_index":2,"t":{"15":{"position":[[9,10]]},"45":{"position":[[0,10]]}}}],["free",{"_index":52,"t":{"82":{"position":[[20,4]]}}}],["git",{"_index":79,"t":{"144":{"position":[[0,3]]}}}],["github",{"_index":22,"t":{"51":{"position":[[11,7]]},"55":{"position":[[3,6]]},"59":{"position":[[3,6]]},"63":{"position":[[0,6]]}}}],["happen",{"_index":68,"t":{"114":{"position":[[5,7]]}}}],["instal",{"_index":100,"t":{"182":{"position":[[0,10]]}}}],["interact",{"_index":19,"t":{"45":{"position":[[11,13]]},"88":{"position":[[0,11]]}}}],["invok",{"_index":101,"t":{"184":{"position":[[0,8]]}}}],["kind",{"_index":97,"t":{"174":{"position":[[9,5]]}}}],["log",{"_index":10,"t":{"23":{"position":[[5,4]]},"47":{"position":[[8,7]]}}}],["manag",{"_index":14,"t":{"29":{"position":[[7,10]]},"31":{"position":[[7,10]]},"33":{"position":[[7,10]]},"90":{"position":[[0,8]]},"92":{"position":[[6,10]]},"176":{"position":[[0,8]]}}}],["manual",{"_index":13,"t":{"29":{"position":[[0,6]]},"31":{"position":[[0,6]]},"33":{"position":[[0,6]]}}}],["matter",{"_index":65,"t":{"102":{"position":[[15,6]]}}}],["memori",{"_index":92,"t":{"170":{"position":[[0,6]]},"176":{"position":[[9,6]]}}}],["mercuri",{"_index":5,"t":{"17":{"position":[[14,7]]},"74":{"position":[[18,7]]},"112":{"position":[[5,7]]}}}],["messag",{"_index":77,"t":{"140":{"position":[[0,9]]}}}],["mode",{"_index":70,"t":{"118":{"position":[[12,4]]},"120":{"position":[[12,4]]},"152":{"position":[[11,5]]}}}],["model",{"_index":72,"t":{"124":{"position":[[7,5]]}}}],["on",{"_index":89,"t":{"164":{"position":[[0,3]]}}}],["option",{"_index":38,"t":{"61":{"position":[[16,10]]}}}],["pat",{"_index":31,"t":{"59":{"position":[[10,3]]}}}],["permiss",{"_index":84,"t":{"152":{"position":[[0,10]]}}}],["person",{"_index":32,"t":{"59":{"position":[[14,9]]}}}],["playback",{"_index":53,"t":{"84":{"position":[[0,8]]}}}],["player",{"_index":58,"t":{"88":{"position":[[12,6]]}}}],["premium",{"_index":56,"t":{"84":{"position":[[35,8]]}}}],["program",{"_index":69,"t":{"118":{"position":[[0,11]]},"120":{"position":[[0,11]]}}}],["provid",{"_index":86,"t":{"156":{"position":[[10,9]]},"158":{"position":[[12,9]]}}}],["read",{"_index":50,"t":{"82":{"position":[[0,4]]}}}],["recur",{"_index":87,"t":{"162":{"position":[[0,9]]}}}],["repo",{"_index":37,"t":{"61":{"position":[[11,4]]}}}],["requir",{"_index":55,"t":{"84":{"position":[[17,9]]}}}],["resolut",{"_index":95,"t":{"172":{"position":[[9,10]]}}}],["restart",{"_index":8,"t":{"21":{"position":[[0,7]]}}}],["role",{"_index":73,"t":{"126":{"position":[[0,5]]}}}],["schedul",{"_index":82,"t":{"146":{"position":[[13,10]]},"186":{"position":[[0,10]]}}}],["secur",{"_index":41,"t":{"67":{"position":[[0,8]]},"96":{"position":[[0,8]]}}}],["servic",{"_index":15,"t":{"37":{"position":[[6,7]]}}}],["set",{"_index":21,"t":{"51":{"position":[[4,3]]}}}],["setup",{"_index":23,"t":{"53":{"position":[[0,5]]},"71":{"position":[[0,5]]}}}],["shell",{"_index":78,"t":{"142":{"position":[[0,5]]}}}],["shot",{"_index":90,"t":{"164":{"position":[[4,4]]}}}],["skill",{"_index":81,"t":{"146":{"position":[[5,7]]},"186":{"position":[[13,5]]}}}],["spotifi",{"_index":44,"t":{"72":{"position":[[17,7]]},"76":{"position":[[21,7]]},"80":{"position":[[0,7]]},"84":{"position":[[27,7]]}}}],["start",{"_index":1,"t":{"13":{"position":[[0,5]]},"15":{"position":[[0,5]]},"43":{"position":[[0,5]]}}}],["statu",{"_index":12,"t":{"25":{"position":[[6,6]]}}}],["step",{"_index":42,"t":{"72":{"position":[[0,4]]},"74":{"position":[[0,4]]},"76":{"position":[[0,4]]}}}],["stop",{"_index":7,"t":{"19":{"position":[[0,4]]}}}],["sub",{"_index":63,"t":{"102":{"position":[[4,3]]},"112":{"position":[[18,3]]},"120":{"position":[[19,3]]}}}],["support",{"_index":85,"t":{"156":{"position":[[0,9]]}}}],["system",{"_index":83,"t":{"146":{"position":[[24,6]]}}}],["task",{"_index":88,"t":{"162":{"position":[[10,5]]}}}],["token",{"_index":34,"t":{"59":{"position":[[31,6]]},"92":{"position":[[0,5]]}}}],["tool",{"_index":39,"t":{"63":{"position":[[7,5]]},"80":{"position":[[8,5]]},"108":{"position":[[11,5]]}}}],["troubleshoot",{"_index":62,"t":{"98":{"position":[[0,15]]}}}],["type",{"_index":93,"t":{"170":{"position":[[7,5]]}}}],["up",{"_index":6,"t":{"17":{"position":[[22,2]]},"51":{"position":[[8,2]]}}}],["upgrad",{"_index":0,"t":{"3":{"position":[[0,7]]}}}],["us",{"_index":57,"t":{"86":{"position":[[0,5]]},"112":{"position":[[13,4]]}}}],["usernam",{"_index":25,"t":{"55":{"position":[[10,8]]}}}],["verbos",{"_index":20,"t":{"47":{"position":[[0,7]]}}}],["view",{"_index":9,"t":{"23":{"position":[[0,4]]}}}],["way",{"_index":4,"t":{"17":{"position":[[9,4]]}}}],["web",{"_index":80,"t":{"146":{"position":[[0,4]]}}}],["work",{"_index":51,"t":{"82":{"position":[[10,6]]},"104":{"position":[[7,5]]},"114":{"position":[[26,4]]},"168":{"position":[[7,5]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":1,"t":"Mercury requires Node.js 20+. Install with npm:","s":"Installation","u":"/docs","p":1},{"i":5,"t":"| Command | Description |","s":"Full Command Reference","u":"/docs/cli-commands/cli-commands","p":5},{"i":7,"t":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","s":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","p":7},{"i":9,"t":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","s":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","p":9},{"i":11,"t":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","s":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","p":11},{"i":27,"t":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","s":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","p":27},{"i":35,"t":"Install Mercury as a system service so it starts automatically on boot and restarts on crash.","s":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","p":35},{"i":39,"t":"Run mercury for the first time. The onboarding wizard asks for:","s":"First-Time Setup","u":"/docs/getting-started/setup","p":39},{"i":41,"t":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.","s":"Starting Mercury","u":"/docs/getting-started/starting","p":41},{"i":49,"t":"Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","s":"GitHub Companion","u":"/docs/integrations/github-companion","p":49},{"i":69,"t":"Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \"play some chill music\" and Mercury handles the rest.","s":"Spotify Integration","u":"/docs/integrations/spotify","p":69},{"i":100,"t":"Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","s":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","p":100},{"i":122,"t":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","s":"Telegram","u":"/docs/integrations/telegram","p":122},{"i":136,"t":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.","s":"Built-in Tools","u":"/docs/reference/built-in-tools","p":136},{"i":148,"t":"All runtime data lives in ~/.mercury/ — not in your project directory.","s":"Configuration","u":"/docs/reference/configuration","p":148},{"i":150,"t":"Mercury has a three-tier permission system for shell commands:","s":"Permissions","u":"/docs/reference/permissions","p":150},{"i":154,"t":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","s":"Provider Fallback","u":"/docs/reference/provider-fallback","p":154},{"i":160,"t":"Mercury can schedule tasks using cron expressions or one-shot delays.","s":"Scheduling","u":"/docs/reference/scheduling","p":160},{"i":166,"t":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.","s":"Second Brain","u":"/docs/reference/second-brain","p":166},{"i":180,"t":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","s":"Skills","u":"/docs/reference/skills","p":180}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[0,0.164,1,3.421,2,3.421,3,3.421,4,1.997,5,3.421]],["t/5",[6,1.872,7,2.417,8,3.56]],["t/7",[0,0.109,9,2.27,10,2.27,11,1.325,12,2.27,13,1.831,14,2.27,15,3.264,16,2.27,17,2.27,18,2.27,19,2.27,20,2.27,21,1.831,22,2.27,23,1.831,24,2.27,25,2.27]],["t/9",[0,0.125,23,2.103,26,2.103,27,1.159,28,1.77,29,2.608,30,2.103,31,1.522,32,2.608,33,2.608,34,2.608,35,2.608,36,2.608,37,2.103]],["t/11",[0,0.133,11,1.618,21,2.236,28,1.882,31,1.618,38,2.772,39,2.236,40,2.772,41,2.236,42,1.882,43,2.772,44,2.236]],["t/27",[0,0.164,4,1.997,45,2.323,46,2.759,47,3.421,48,3.421]],["t/35",[0,0.147,4,1.788,45,2.079,49,2.079,50,2.47,51,2.079,52,3.063,53,3.063,54,3.063]],["t/39",[0,0.158,11,1.922,13,2.655,55,2.655,56,3.293,57,3.293,58,3.293]],["t/41",[0,0.125,4,1.522,11,2.101,39,2.103,45,1.77,49,1.77,50,2.103,59,2.608,60,2.608,61,2.103,62,2.608,63,2.608,64,2.103]],["t/49",[0,0.076,6,0.968,27,0.701,31,0.92,44,1.271,46,1.271,65,1.577,66,2.48,67,1.577,68,1.577,69,1.577,70,1.577,71,1.577,72,2,73,1.577,74,1.577,75,1.577,76,1.577,77,1.577,78,1.271,79,1.271,80,1.271,81,1.577,82,1.577,83,1.577,84,1.577,85,1.577,86,1.271,87,1.271,88,1.577,89,1.577,90,1.577,91,1.577]],["t/69",[0,0.136,6,0.734,27,0.836,72,1.517,78,1.517,79,1.517,92,1.517,93,1.881,94,1.881,95,1.881,96,1.881,97,1.881,98,1.881,99,2.841,100,1.881,101,1.881,102,1.881,103,1.881,104,1.881,105,1.881,106,1.881,107,1.881,108,1.881,109,1.517,110,1.881]],["t/100",[0,0.148,6,0.822,27,0.936,28,1.43,42,1.43,64,1.699,109,1.699,111,2.107,112,2.107,113,2.107,114,2.107,115,2.107,116,2.107,117,2.493,118,2.107,119,2.107,120,2.107,121,2.107,122,2.107,123,2.107]],["t/122",[0,0.118,31,1.437,37,1.985,55,1.985,92,1.985,124,2.461,125,2.461,126,1.985,127,2.461,128,2.461,129,2.461,130,2.461,131,2.461,132,2.461,133,2.461,134,2.461]],["t/136",[0,0.133,6,1.082,7,1.882,26,2.236,27,1.232,30,2.236,86,2.236,87,2.236,117,2.236,135,2.236,136,2.772,137,2.772]],["t/148",[0,0.158,6,1.285,138,3.293,139,3.293,140,2.655,141,2.655,142,3.293]],["t/150",[0,0.158,7,2.236,49,2.236,143,3.293,144,3.293,145,3.293,146,3.293]],["t/154",[0,0.154,51,1.503,80,1.785,126,3.038,147,2.213,148,2.213,149,3.205,150,2.213,151,2.213,152,2.213,153,2.213,154,2.213,155,1.785,156,2.213,157,2.213,158,2.213]],["t/160",[0,0.147,41,2.47,42,2.079,135,2.47,155,2.47,159,3.063,160,3.063,161,3.063,162,3.063]],["t/166",[0,0.112,6,0.909,27,1.036,51,1.582,61,1.879,141,1.879,163,2.331,164,2.331,165,2.331,166,2.331,167,2.331,168,2.331,169,2.331,170,2.331,171,2.331,172,2.331,173,2.331,174,2.331]],["t/180",[140,2.759,175,3.421,176,3.421,177,3.421,178,3.421,179,3.421]]],"invertedIndex":[["",{"_index":6,"t":{"5":{"position":[[0,1],[10,1],[24,1]]},"49":{"position":[[41,1],[130,1]]},"69":{"position":[[50,1]]},"100":{"position":[[29,1]]},"136":{"position":[[91,1]]},"148":{"position":[[38,1]]},"166":{"position":[[159,1]]}}}],["20",{"_index":3,"t":{"1":{"position":[[25,4]]}}}],["account",{"_index":94,"t":{"69":{"position":[[33,7]]}}}],["act",{"_index":65,"t":{"49":{"position":[[12,3]]}}}],["agent",{"_index":117,"t":{"100":{"position":[[78,6],[161,5]]},"136":{"position":[[97,5]]}}}],["ai",{"_index":116,"t":{"100":{"position":[[75,2]]}}}],["alongsid",{"_index":84,"t":{"49":{"position":[[216,9]]}}}],["api",{"_index":36,"t":{"9":{"position":[[127,3]]}}}],["app",{"_index":105,"t":{"69":{"position":[[175,3]]}}}],["approv",{"_index":133,"t":{"122":{"position":[[122,8]]}}}],["ask",{"_index":58,"t":{"39":{"position":[[54,4]]}}}],["author",{"_index":76,"t":{"49":{"position":[[113,8]]}}}],["automat",{"_index":51,"t":{"35":{"position":[[49,13]]},"154":{"position":[[77,14]]},"166":{"position":[[97,13]]}}}],["back",{"_index":152,"t":{"154":{"position":[[72,4]]}}}],["background",{"_index":38,"t":{"11":{"position":[[18,10]]}}}],["base",{"_index":177,"t":{"180":{"position":[[20,5]]}}}],["boot",{"_index":52,"t":{"35":{"position":[[66,4]]}}}],["bot",{"_index":125,"t":{"122":{"position":[[35,3]]}}}],["both",{"_index":29,"t":{"9":{"position":[[60,4]]}}}],["browser",{"_index":103,"t":{"69":{"position":[[158,7]]}}}],["built",{"_index":86,"t":{"49":{"position":[[236,5]]},"136":{"position":[[14,5]]}}}],["call",{"_index":137,"t":{"136":{"position":[[119,4]]}}}],["chang",{"_index":122,"t":{"100":{"position":[[180,7]]}}}],["chatbot",{"_index":112,"t":{"100":{"position":[[21,7]]}}}],["chill",{"_index":108,"t":{"69":{"position":[[210,5]]}}}],["cli",{"_index":30,"t":{"9":{"position":[[65,3]]},"136":{"position":[[78,3]]}}}],["close",{"_index":43,"t":{"11":{"position":[[100,5]]}}}],["co",{"_index":75,"t":{"49":{"position":[[110,2]]}}}],["command",{"_index":7,"t":{"5":{"position":[[2,7]]},"136":{"position":[[82,8]]},"150":{"position":[[53,9]]}}}],["commit",{"_index":77,"t":{"49":{"position":[[122,7]]}}}],["companion",{"_index":67,"t":{"49":{"position":[[31,9]]}}}],["concurr",{"_index":118,"t":{"100":{"position":[[101,12]]}}}],["configur",{"_index":80,"t":{"49":{"position":[[171,11]]},"154":{"position":[[0,9]]}}}],["connect",{"_index":92,"t":{"69":{"position":[[8,8]]},"122":{"position":[[8,8]]}}}],["consum",{"_index":35,"t":{"9":{"position":[[119,7]]}}}],["continu",{"_index":119,"t":{"100":{"position":[[120,10]]}}}],["control",{"_index":96,"t":{"69":{"position":[[52,7]]}}}],["convers",{"_index":27,"t":{"9":{"position":[[20,12]]},"49":{"position":[[152,13]]},"69":{"position":[[141,13]]},"100":{"position":[[135,13]]},"136":{"position":[[49,14]]},"166":{"position":[[66,13]]}}}],["crash",{"_index":54,"t":{"35":{"position":[[87,6]]}}}],["creat",{"_index":46,"t":{"27":{"position":[[24,7]]},"49":{"position":[[43,8]]}}}],["cron",{"_index":159,"t":{"160":{"position":[[33,4]]}}}],["current",{"_index":14,"t":{"7":{"position":[[50,7]]}}}],["daemon",{"_index":39,"t":{"11":{"position":[[29,6]]},"41":{"position":[[95,7]]}}}],["data",{"_index":139,"t":{"148":{"position":[[12,4]]}}}],["decid",{"_index":136,"t":{"136":{"position":[[103,7]]}}}],["default",{"_index":40,"t":{"11":{"position":[[39,8]]}}}],["delay",{"_index":162,"t":{"160":{"position":[[62,7]]}}}],["descript",{"_index":8,"t":{"5":{"position":[[12,11]]}}}],["devic",{"_index":102,"t":{"69":{"position":[[117,7]]}}}],["directori",{"_index":142,"t":{"148":{"position":[[60,10]]}}}],["dj",{"_index":101,"t":{"69":{"position":[[106,2]]}}}],["doctor",{"_index":9,"t":{"7":{"position":[[8,6]]}}}],["dure",{"_index":26,"t":{"9":{"position":[[11,6]]},"136":{"position":[[42,6]]}}}],["easiest",{"_index":59,"t":{"41":{"position":[[4,7]]}}}],["enabl",{"_index":166,"t":{"166":{"position":[[85,8]]}}}],["ensur",{"_index":63,"t":{"41":{"position":[[107,7]]}}}],["enter",{"_index":19,"t":{"7":{"position":[[83,5]]}}}],["express",{"_index":160,"t":{"160":{"position":[[38,11]]}}}],["extens",{"_index":178,"t":{"180":{"position":[[26,10]]}}}],["extract",{"_index":167,"t":{"166":{"position":[[111,9]]}}}],["fact",{"_index":170,"t":{"166":{"position":[[143,5]]}}}],["fail",{"_index":153,"t":{"154":{"position":[[108,6]]}}}],["fall",{"_index":151,"t":{"154":{"position":[[66,5]]}}}],["field",{"_index":20,"t":{"7":{"position":[[96,5]]}}}],["file",{"_index":130,"t":{"122":{"position":[[97,4]]}}}],["fill",{"_index":17,"t":{"7":{"position":[[69,7]]}}}],["first",{"_index":55,"t":{"39":{"position":[[20,5]]},"122":{"position":[[65,5]]}}}],["five",{"_index":81,"t":{"49":{"position":[[183,4]]}}}],["fundament",{"_index":123,"t":{"100":{"position":[[206,14]]}}}],["github",{"_index":66,"t":{"49":{"position":[[24,6],[188,6]]}}}],["goal",{"_index":172,"t":{"166":{"position":[[179,6]]}}}],["grow",{"_index":165,"t":{"166":{"position":[[49,5]]}}}],["habit",{"_index":173,"t":{"166":{"position":[[196,7]]}}}],["handl",{"_index":109,"t":{"69":{"position":[[235,7]]},"100":{"position":[[88,6]]}}}],["inlin",{"_index":132,"t":{"122":{"position":[[115,6]]}}}],["instal",{"_index":4,"t":{"1":{"position":[[30,7]]},"27":{"position":[[16,7]]},"35":{"position":[[0,7]]},"41":{"position":[[45,8]]}}}],["interfac",{"_index":128,"t":{"122":{"position":[[71,9]]}}}],["isn't",{"_index":111,"t":{"100":{"position":[[8,5]]}}}],["issu",{"_index":73,"t":{"49":{"position":[[91,7]]}}}],["it'",{"_index":64,"t":{"41":{"position":[[115,4]]},"100":{"position":[[31,4]]}}}],["keep",{"_index":21,"t":{"7":{"position":[[105,4]]},"11":{"position":[[77,4]]}}}],["keyboard",{"_index":134,"t":{"122":{"position":[[131,10]]}}}],["last",{"_index":157,"t":{"154":{"position":[[160,4]]}}}],["launchag",{"_index":47,"t":{"27":{"position":[[34,11]]}}}],["leav",{"_index":91,"t":{"49":{"position":[[294,7]]}}}],["let",{"_index":88,"t":{"49":{"position":[[254,7]]}}}],["library/launchagents/com.cosmicstack.mercury.plist",{"_index":48,"t":{"27":{"position":[[49,53]]}}}],["live",{"_index":140,"t":{"148":{"position":[[17,5]]},"180":{"position":[[42,4]]}}}],["llm",{"_index":148,"t":{"154":{"position":[[19,3]]}}}],["make",{"_index":74,"t":{"49":{"position":[[103,6]]}}}],["manag",{"_index":72,"t":{"49":{"position":[[82,8],[266,6]]},"69":{"position":[[84,6]]}}}],["mark",{"_index":33,"t":{"9":{"position":[[89,6]]}}}],["markdown",{"_index":176,"t":{"180":{"position":[[11,8]]}}}],["memori",{"_index":164,"t":{"166":{"position":[[37,6]]}}}],["mercuri",{"_index":0,"t":{"1":{"position":[[0,7]]},"7":{"position":[[0,7]]},"9":{"position":[[38,8]]},"11":{"position":[[0,7]]},"27":{"position":[[0,7]]},"35":{"position":[[8,7]]},"39":{"position":[[4,7]]},"41":{"position":[[23,7]]},"49":{"position":[[0,7]]},"69":{"position":[[0,7],[227,7]]},"100":{"position":[[0,7],[192,7]]},"122":{"position":[[0,7]]},"136":{"position":[[0,7]]},"148":{"position":[[26,11]]},"150":{"position":[[0,7]]},"154":{"position":[[34,7],[115,7]]},"160":{"position":[[0,7]]},"166":{"position":[[0,7]]}}}],["mercury'",{"_index":85,"t":{"49":{"position":[[226,9]]}}}],["mercury/skills//skill.md",{"_index":179,"t":{"180":{"position":[[50,28]]}}}],["mobil",{"_index":127,"t":{"122":{"position":[[58,6]]}}}],["mode",{"_index":121,"t":{"100":{"position":[[167,5]]}}}],["more",{"_index":174,"t":{"166":{"position":[[208,5]]}}}],["multipl",{"_index":147,"t":{"154":{"position":[[10,8]]}}}],["music",{"_index":99,"t":{"69":{"position":[[77,6],[216,6]]}}}],["nativ",{"_index":95,"t":{"69":{"position":[[41,8]]}}}],["natur",{"_index":79,"t":{"49":{"position":[[144,7]]},"69":{"position":[[133,7]]}}}],["need",{"_index":62,"t":{"41":{"position":[[76,7]]}}}],["new",{"_index":24,"t":{"7":{"position":[[134,3]]}}}],["next",{"_index":154,"t":{"154":{"position":[[133,4]]}}}],["node.j",{"_index":2,"t":{"1":{"position":[[17,7]]}}}],["npm",{"_index":5,"t":{"1":{"position":[[43,4]]}}}],["on",{"_index":155,"t":{"154":{"position":[[138,3]]},"160":{"position":[[53,3]]}}}],["onboard",{"_index":57,"t":{"39":{"position":[[36,10]]}}}],["orchestr",{"_index":113,"t":{"100":{"position":[[39,13]]}}}],["order",{"_index":150,"t":{"154":{"position":[[56,5]]}}}],["otherwis",{"_index":34,"t":{"9":{"position":[[96,10]]}}}],["parallel",{"_index":115,"t":{"100":{"position":[[66,8]]}}}],["permiss",{"_index":145,"t":{"150":{"position":[[25,10]]}}}],["persist",{"_index":61,"t":{"41":{"position":[[31,13]]},"166":{"position":[[14,11]]}}}],["play",{"_index":107,"t":{"69":{"position":[[199,5]]}}}],["playback",{"_index":97,"t":{"69":{"position":[[60,9]]}}}],["playlist",{"_index":100,"t":{"69":{"position":[[91,10]]}}}],["pr",{"_index":71,"t":{"49":{"position":[[77,4]]}}}],["pre",{"_index":16,"t":{"7":{"position":[[65,3]]}}}],["prefer",{"_index":171,"t":{"166":{"position":[[166,12]]}}}],["press",{"_index":18,"t":{"7":{"position":[[77,5]]}}}],["project",{"_index":141,"t":{"148":{"position":[[52,7]]},"166":{"position":[[186,9]]}}}],["provid",{"_index":126,"t":{"122":{"position":[[46,9]]},"154":{"position":[[23,10],[99,8],[176,9]]}}}],["pull",{"_index":68,"t":{"49":{"position":[[52,4]]}}}],["re",{"_index":10,"t":{"7":{"position":[[15,2]]}}}],["regist",{"_index":83,"t":{"49":{"position":[[205,10]]}}}],["rememb",{"_index":156,"t":{"154":{"position":[[146,9]]}}}],["replac",{"_index":25,"t":{"7":{"position":[[147,7]]}}}],["repositori",{"_index":89,"t":{"49":{"position":[[273,12]]}}}],["request",{"_index":69,"t":{"49":{"position":[[57,9]]}}}],["requir",{"_index":1,"t":{"1":{"position":[[8,8]]}}}],["rest",{"_index":110,"t":{"69":{"position":[[247,5]]}}}],["restart",{"_index":53,"t":{"35":{"position":[[75,8]]}}}],["retriev",{"_index":169,"t":{"166":{"position":[[133,9]]}}}],["review",{"_index":70,"t":{"49":{"position":[[67,9]]}}}],["run",{"_index":11,"t":{"7":{"position":[[18,4]]},"11":{"position":[[8,4]]},"39":{"position":[[0,3]]},"41":{"position":[[19,3],[120,8]]}}}],["runtim",{"_index":138,"t":{"148":{"position":[[4,7]]}}}],["schedul",{"_index":41,"t":{"11":{"position":[[61,9]]},"160":{"position":[[12,8]]}}}],["search",{"_index":98,"t":{"69":{"position":[[70,6]]}}}],["servic",{"_index":45,"t":{"27":{"position":[[8,7]]},"35":{"position":[[28,7]]},"41":{"position":[[65,7]]}}}],["setup",{"_index":12,"t":{"7":{"position":[[27,5]]}}}],["shell",{"_index":146,"t":{"150":{"position":[[47,5]]}}}],["shot",{"_index":161,"t":{"160":{"position":[[57,4]]}}}],["skill",{"_index":175,"t":{"180":{"position":[[0,6]]}}}],["spawn",{"_index":114,"t":{"100":{"position":[[60,5]]}}}],["spotifi",{"_index":93,"t":{"69":{"position":[[25,7]]}}}],["start",{"_index":50,"t":{"35":{"position":[[42,6]]},"41":{"position":[[84,6]]}}}],["store",{"_index":168,"t":{"166":{"position":[[121,7]]}}}],["stream",{"_index":129,"t":{"122":{"position":[[86,10]]}}}],["structur",{"_index":163,"t":{"166":{"position":[[26,10]]}}}],["sub",{"_index":120,"t":{"100":{"position":[[157,3]]}}}],["success",{"_index":158,"t":{"154":{"position":[[165,10]]}}}],["switch",{"_index":106,"t":{"69":{"position":[[179,10]]}}}],["system",{"_index":49,"t":{"35":{"position":[[21,6]]},"41":{"position":[[58,6]]},"150":{"position":[[36,6]]}}}],["tab",{"_index":104,"t":{"69":{"position":[[166,5]]}}}],["task",{"_index":42,"t":{"11":{"position":[[71,5]]},"100":{"position":[[95,5]]},"160":{"position":[[21,5]]}}}],["telegram",{"_index":31,"t":{"9":{"position":[[73,8]]},"11":{"position":[[48,8]]},"49":{"position":[[318,9]]},"122":{"position":[[20,8]]}}}],["termin",{"_index":44,"t":{"11":{"position":[[110,9]]},"49":{"position":[[306,8]]}}}],["three",{"_index":143,"t":{"150":{"position":[[14,5]]}}}],["through",{"_index":78,"t":{"49":{"position":[[136,7]]},"69":{"position":[[125,7]]}}}],["tier",{"_index":144,"t":{"150":{"position":[[20,4]]}}}],["time",{"_index":56,"t":{"39":{"position":[[26,5]]}}}],["token",{"_index":37,"t":{"9":{"position":[[131,7]]},"122":{"position":[[39,6]]}}}],["tool",{"_index":82,"t":{"49":{"position":[[195,5]]}}}],["toolset",{"_index":87,"t":{"49":{"position":[[245,8]]},"136":{"position":[[23,7]]}}}],["tri",{"_index":149,"t":{"154":{"position":[[42,5],[123,5]]}}}],["type",{"_index":23,"t":{"7":{"position":[[127,4]]},"9":{"position":[[0,4]]}}}],["unchang",{"_index":22,"t":{"7":{"position":[[113,10]]}}}],["unless",{"_index":32,"t":{"9":{"position":[[82,6]]}}}],["upload",{"_index":131,"t":{"122":{"position":[[102,8]]}}}],["us",{"_index":135,"t":{"136":{"position":[[38,3]]},"160":{"position":[[27,5]]}}}],["valu",{"_index":15,"t":{"7":{"position":[[58,6],[138,5]]}}}],["via",{"_index":124,"t":{"122":{"position":[[29,3]]}}}],["way",{"_index":60,"t":{"41":{"position":[[12,3]]}}}],["without",{"_index":90,"t":{"49":{"position":[[286,7]]}}}],["wizard",{"_index":13,"t":{"7":{"position":[[33,6]]},"39":{"position":[[47,6]]}}}],["work",{"_index":28,"t":{"9":{"position":[[52,4]]},"11":{"position":[[82,7]]},"100":{"position":[[200,5]]}}}]],"pipeline":["stemmer"]}},{"documents":[],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[],"invertedIndex":[],"pipeline":["stemmer"]}},{"documents":[{"i":2,"t":"Mercury requires Node.js 20+. Install with npm: npm i -g @cosmicstack/mercury-agent Or run without installing: npx @cosmicstack/mercury-agent","s":"Installation","u":"/docs","h":"","p":1},{"i":4,"t":"Mercury includes a built-in upgrade command that handles the full update cycle: mercury upgrade This command: Checks npm for the latest published version Stops the daemon if running, to avoid conflicts Removes the old package first to prevent ENOTEMPTY errors Installs the latest version globally Shows the before/after version comparison :::tip ENOTEMPTY fix If you see ENOTEMPTY: directory not empty, rename when running npm i -g manually, use mercury upgrade instead — it removes the old package directory before installing the new one. :::","s":"Upgrade","u":"/docs","h":"#upgrade","p":1},{"i":6,"t":"Command Description mercury up Recommended. Install service + start daemon + ensure running mercury Start the agent (same as mercury start) mercury start Start as background daemon (default) mercury start --foreground Start in foreground (interactive) mode. Shorthand: -f mercury restart Restart a background Mercury process mercury stop Stop a background Mercury process mercury logs Show last 100 lines of daemon logs mercury status Show config, providers, daemon PID, and budget mercury doctor Reconfigure settings — press Enter to keep current values mercury setup Re-run the setup wizard (same as doctor) mercury help Show the full manual (tools, commands, config paths) mercury service install Install as system service (auto-start on boot) mercury service uninstall Uninstall the system service mercury service status Show system service status mercury --verbose Start with debug logging on stderr","s":"Full Command Reference","u":"/docs/cli-commands/cli-commands","h":"","p":5},{"i":8,"t":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it. API keys are shown masked: sk-x••••4f2a Providers and models can be reselected; Mercury fetches models again for changed credentials Telegram token — type none to disable Telegram, or paste a token to start the pairing-code flow Daily budget — change the token budget limit mercury doctor","s":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","h":"","p":7},{"i":10,"t":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens. Command Description /help Show the full manual /status Show agent name, provider, budget, and channels / or /menu CLI only: open the arrow-key command picker with Back and Exit options /telegram CLI only: open Telegram management with pending requests, approvals, roles, and reset actions /telegram pending CLI only: list pending Telegram access requests /telegram users CLI only: list approved Telegram admins and members /telegram approve <code|id> CLI only: approve the first pairing code or a later Telegram access request /telegram reject <id> CLI only: reject a pending Telegram access request /telegram remove <id> CLI only: revoke an approved Telegram user /telegram promote <id> CLI only: promote a Telegram member to admin /telegram demote <id> CLI only: demote a Telegram admin to member /telegram reset CLI only: clear all Telegram access and restart pairing from scratch /tools List all currently loaded tools /skills List installed skills /stream Toggle Telegram text streaming (on/off) /stream off Disable streaming — responses arrive as single message /budget Show token budget status /budget override Override budget for one request /budget reset Reset usage to zero /budget set <n> Change daily token budget /permissions Change permission mode (Ask Me / Allow All) — Telegram only /tasks List scheduled tasks /memory View and manage second brain memory /unpair Telegram only: reset all access, new users can /start again :::info Telegram pairing and access Telegram stays private 1:1 only. The first user sends /start, receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send /start, appear as pending requests, and can then be approved or rejected from the CLI /telegram menu. :::","s":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","h":"","p":9},{"i":12,"t":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","s":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","h":"","p":11},{"i":14,"t":"mercury start Starts Mercury as a background daemon. Spawns a detached child process, writes a PID file to ~/.mercury/daemon.pid, and redirects output to ~/.mercury/daemon.log. Stale PID files are automatically cleaned up.","s":"Start","u":"/docs/daemon-mode/daemon-mode","h":"#start","p":11},{"i":16,"t":"mercury start --foreground Runs Mercury attached to your terminal. Useful for debugging or when you want to see output directly. Shorthand: mercury start -f.","s":"Start in foreground","u":"/docs/daemon-mode/daemon-mode","h":"#start-in-foreground","p":11},{"i":18,"t":"mercury up This one command does everything: installs the system service if needed, starts the background daemon, and confirms Mercury is running. If it's already running, it just shows you the PID.","s":"The easy way: mercury up","u":"/docs/daemon-mode/daemon-mode","h":"#the-easy-way-mercury-up","p":11},{"i":20,"t":"mercury stop Sends SIGTERM (process.kill on Windows) to the background process and removes the PID file.","s":"Stop","u":"/docs/daemon-mode/daemon-mode","h":"#stop","p":11},{"i":22,"t":"mercury restart Stops the running daemon (if any) and starts a fresh one. Useful when something isn't working right and you need a clean restart.","s":"Restart","u":"/docs/daemon-mode/daemon-mode","h":"#restart","p":11},{"i":24,"t":"mercury logs Shows the last 100 lines of ~/.mercury/daemon.log.","s":"View logs","u":"/docs/daemon-mode/daemon-mode","h":"#view-logs","p":11},{"i":26,"t":"mercury status Shows whether the daemon is running, its PID, and the log file path. :::info Crash recovery Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent \"already running\" false positives. :::","s":"Check status","u":"/docs/daemon-mode/daemon-mode","h":"#check-status","p":11},{"i":28,"t":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist. Auto-start: Loads on login via launchctl load Crash recovery: KeepAlive SuccessfulExit = false restarts on crash No sudo needed: User-level LaunchAgent, not system daemon Logs: ~/.mercury/daemon.log and ~/.mercury/daemon-error.log","s":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","h":"","p":27},{"i":30,"t":"launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist launchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management","p":27},{"i":32,"t":"systemctl --user start mercury systemctl --user status mercury systemctl --user stop mercury","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-1","p":27},{"i":34,"t":"schtasks /query /tn \"MercuryAgent\" /fo list schtasks /run /tn \"MercuryAgent\" schtasks /delete /tn \"MercuryAgent\" /f","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-2","p":27},{"i":36,"t":"Install Mercury as a system service so it starts automatically on boot and restarts on crash. mercury service install This detects your platform and generates the appropriate service config. Platform Method Requires Admin Auto-Start Crash Recovery macOS LaunchAgent plist No On login KeepAlive (restart on crash) Linux systemd user unit No* On login Restart=on-failure, 5s delay Windows Task Scheduler (schtasks) No On logon Built-in watchdog *Linux boot-without-login requires loginctl enable-linger $USER (one-time, needs sudo).","s":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","h":"","p":35},{"i":38,"t":"mercury service status mercury service uninstall","s":"Other service commands","u":"/docs/daemon-mode/system-service","h":"#other-service-commands","p":35},{"i":40,"t":"Run mercury for the first time. The onboarding wizard asks for: Your name — used by the agent to address you Agent name — defaults to \"Mercury\", customize it LLM providers — choose one or more: DeepSeek, OpenAI, Anthropic, Grok, Ollama Cloud, Ollama Local, or OpenAI Compatible Model selection — after each valid key, Mercury fetches recommended chat models and lets you choose a default Telegram bot token — optional, for remote access in private 1:1 chats Provider keys are validated by format and then by fetching available models. If model discovery fails, Mercury asks you to re-enter the key instead of accepting random text. If you enable Telegram during first-time setup, Mercury starts a temporary pairing flow: send /start to your bot in Telegram, copy the pairing code you receive there, then paste that code into the CLI to finish setup. All config is stored in ~/.mercury/ — nothing in your project directory. :::info Masked keys When reconfiguring with mercury doctor, existing API keys are shown masked like sk-x••••4f2a. Press Enter to keep the current value, or paste a new key to replace it. :::","s":"First-Time Setup","u":"/docs/getting-started/setup","h":"","p":39},{"i":42,"t":":::tip Recommended: mercury up The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running. ::: mercury up If Mercury is already running, mercury up just confirms it and shows the PID. If the service isn't installed yet, it installs it first, then starts the daemon.","s":"Starting Mercury","u":"/docs/getting-started/starting","h":"","p":41},{"i":44,"t":"mercury start Starts Mercury as a background daemon by default. Telegram becomes your primary interface. Logs go to ~/.mercury/daemon.log. Stale PID files are auto-cleaned. Includes crash recovery with exponential backoff.","s":"Start (background daemon)","u":"/docs/getting-started/starting","h":"#start-background-daemon","p":41},{"i":46,"t":"mercury start --foreground Runs Mercury attached to your terminal with a readline prompt. Press Ctrl+C to exit. All conversation happens in your terminal with real-time text streaming and markdown rendering. Shorthand: mercury start -f. When running in background mode, you can stop it with: mercury stop","s":"Foreground (interactive)","u":"/docs/getting-started/starting","h":"#foreground-interactive","p":41},{"i":48,"t":"Add --verbose to any start command to see debug logs on stderr: mercury start --verbose","s":"Verbose logging","u":"/docs/getting-started/starting","h":"#verbose-logging","p":41},{"i":50,"t":"Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram. :::info Conditional availability GitHub tools only appear when GITHUB_TOKEN is configured via mercury doctor. Without a token, these tools are not registered and won't be available in conversation. :::","s":"GitHub Companion","u":"/docs/integrations/github-companion","h":"","p":49},{"i":52,"t":"Co-authored commits — Mercury's avatar appears alongside yours on every commit it helps with Pull requests — \"Create a PR for this change\" and Mercury stages, commits, pushes, and opens the PR Issue management — \"Check open issues\" or \"File a bug for the login crash\" Code review — \"Review PR #5\" and Mercury reads the diff and posts a summary Full API access — The github_api tool lets Mercury hit any GitHub endpoint","s":"Why set up GitHub?","u":"/docs/integrations/github-companion","h":"#why-set-up-github","p":49},{"i":54,"t":"Run mercury doctor and fill in the four GitHub fields: mercury doctor","s":"Setup","u":"/docs/integrations/github-companion","h":"#setup","p":49},{"i":56,"t":"Your GitHub username. This is used for commit attribution and identifying you in API calls. Example: hotheadhacker","s":"1. GitHub username","u":"/docs/integrations/github-companion","h":"#1-github-username","p":49},{"i":58,"t":"Every Mercury-assisted commit automatically includes a Co-authored-by: Mercury <[email protected]> trailer. No configuration needed — this is the default. Mercury's avatar will appear alongside yours on GitHub. You can customize the email in ~/.mercury/.env by setting GITHUB_EMAIL if you prefer a different co-author address.","s":"2. Co-authored-by (automatic)","u":"/docs/integrations/github-companion","h":"#2-co-authored-by-automatic","p":49},{"i":60,"t":"You need a token so Mercury can authenticate with the GitHub API. Never share this token. It's stored locally in ~/.mercury/.env and never sent anywhere except GitHub's API. :::warning Where to create your token Fine-grained PAT (recommended): Go to github.com/settings/personal-access-tokens/new Give it a name (e.g. mercury-agent) and set an expiration Under Repository access, select All repositories or choose specific repos Under Permissions → Repository permissions, grant: Contents — Read and write Pull requests — Read and write Issues — Read and write Click Generate token and copy it immediately Classic PAT: Go to github.com/settings/tokens/new Give it a name (e.g. mercury-agent) and set an expiration Select the repo scope (full control of private repositories) Click Generate token and copy it immediately :::","s":"3. GitHub PAT (Personal Access Token)","u":"/docs/integrations/github-companion","h":"#3-github-pat-personal-access-token","p":49},{"i":62,"t":"Set a default repository so you can say \"create an issue\" without specifying the repo every time. You can enter it in any of these formats: hotheadhacker/mercury-agent https://github.com/hotheadhacker/mercury-agent Mercury will parse the owner and repo name automatically from either format. Press Enter on any field to keep its current value. When the PAT is set, you'll see: ✓ GitHub tools registered (5)","s":"4. Default repo (optional)","u":"/docs/integrations/github-companion","h":"#4-default-repo-optional","p":49},{"i":64,"t":"Tool What it does create_pr Create a pull request with title, body, head branch, and base branch review_pr Fetch a PR diff, review the changes, and post review comments list_issues List and filter issues in a repository (open, closed, by label, by assignee) create_issue Create a new issue with title, body, labels, and assignees github_api Raw GitHub API access — an escape hatch for any endpoint not covered above","s":"GitHub Tools","u":"/docs/integrations/github-companion","h":"#github-tools","p":49},{"i":66,"t":"When Mercury commits code using git_commit, it automatically appends a Co-authored-by: Mercury <[email protected]> trailer. This means Mercury's avatar appears alongside yours in GitHub's commit history — giving credit where it's due.","s":"Co-Authored Commits","u":"/docs/integrations/github-companion","h":"#co-authored-commits","p":49},{"i":68,"t":":::warning PAT storage Your GitHub PAT is stored in ~/.mercury/mercury.yaml alongside your other configuration. It is never sent to any external service — only to the GitHub API directly from your machine. Treat this file like any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised. :::","s":"Security","u":"/docs/integrations/github-companion","h":"#security","p":49},{"i":70,"t":"Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \"play some chill music\" and Mercury handles the rest. :::info Spotify Premium Read-only features (search, top tracks, playlists, now playing) work on free Spotify accounts. Playback control (play, pause, skip, volume, shuffle, repeat, queue) requires a Spotify Premium subscription — this is a Spotify API limitation, not a Mercury restriction. :::","s":"Spotify Integration","u":"/docs/integrations/spotify","h":"","p":69},{"i":73,"t":"Go to developer.spotify.com/dashboard Log in with your Spotify account Click \"Create app\" Fill in: App name: Mercury (or anything you like) App description: Mercury Agent Spotify Integration Redirect URI: http://127.0.0.1:8888/callback — this must match exactly Click Save On the app's settings page, copy the Client ID and Client Secret :::tip Development Mode When your Spotify Developer app is in development mode (the default), you can grant access to up to 25 users. Go to your app's settings → User Management → add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request extended quota from Spotify. :::","s":"Step 1: Create a Spotify Developer App","u":"/docs/integrations/spotify","h":"#step-1-create-a-spotify-developer-app","p":69},{"i":75,"t":"Run mercury doctor (or mercury setup for first-time setup): mercury doctor When prompted for Spotify, choose Yes and enter: Spotify Client ID — paste the Client ID from Step 1 Spotify Client Secret — paste the Client Secret from Step 1 Press Enter on any other field to keep its current value. After setup, you'll see: Spotify: not connected — run /spotify auth to link your account","s":"Step 2: Configure Mercury","u":"/docs/integrations/spotify","h":"#step-2-configure-mercury","p":69},{"i":77,"t":"Start Mercury and run: /spotify auth Choose your authorization method: Method When to use Open browser (recommended) When Mercury is running locally on your machine Paste authorization code When browser auto-open fails, or via SSH For SSH or Telegram, Mercury will give you the auth URL. Open it on any device with a browser, then paste the code parameter from the redirect URL: /spotify code <paste-your-code-here> After successful auth, Mercury shows: Spotify: connected as YourName","s":"Step 3: Connect Your Spotify Account","u":"/docs/integrations/spotify","h":"#step-3-connect-your-spotify-account","p":69},{"i":79,"t":"Command Description /spotify Show connection status, account name, plan, and active device /spotify auth Start OAuth flow (browser or manual code) /spotify code <code> Complete auth with a pasted authorization code /spotify logout Disconnect Spotify and clear saved tokens /spotify player Interactive player with arrow-key controls (CLI only) /spotify devices List available Spotify devices /spotify device <id> Set active device /spotify now Show what is currently playing","s":"Commands","u":"/docs/integrations/spotify","h":"#commands","p":69},{"i":81,"t":"These are the tools Mercury uses when you talk about music:","s":"Spotify Tools","u":"/docs/integrations/spotify","h":"#spotify-tools","p":69},{"i":83,"t":"Tool What it does spotify_search Search tracks, artists, albums, playlists spotify_now_playing Show what's currently playing spotify_devices List available Spotify devices spotify_top_tracks Get your top tracks (time_range: short/medium/long term) spotify_playlists Get your playlists spotify_like Save a track to your library","s":"Read-only (works on free accounts)","u":"/docs/integrations/spotify","h":"#read-only-works-on-free-accounts","p":69},{"i":85,"t":"Tool What it does spotify_play Play a track, album, or playlist on a device spotify_pause Pause playback spotify_next Skip to next track spotify_previous Skip to previous track spotify_volume Set volume (0-100) spotify_shuffle Toggle shuffle on/off spotify_repeat Set repeat mode (off, track, context) spotify_queue Add a track to the playback queue","s":"Playback control (requires Spotify Premium)","u":"/docs/integrations/spotify","h":"#playback-control-requires-spotify-premium","p":69},{"i":87,"t":"Just talk to Mercury naturally about music: You say Mercury does \"play some chill music\" Searches \"lo-fi chill\", picks tracks, plays on your device \"what are my top tracks?\" Calls spotify_top_tracks, shows results \"skip this song\" Calls spotify_next \"pause\" Calls spotify_pause \"play my playlist Road Trip\" Searches your playlists, plays the match \"set volume to 50\" Calls spotify_volume(50) \"what's playing?\" Calls spotify_now_playing, shows artist — track + progress bar \"add this to my queue\" Calls spotify_queue with current track \"shuffle on\" Calls spotify_shuffle(true)","s":"Using It","u":"/docs/integrations/spotify","h":"#using-it","p":69},{"i":89,"t":"The /spotify player command launches an interactive arrow-key player in your terminal: ▶ Play/Pause ◀ Previous ▶▶ Next 🔊 Volume 🔀 Shuffle 🔁 Repeat 🔍 Search 📋 Queue ✕ Exit Every action shows real-time feedback with track info and a progress bar.","s":"Interactive Player (CLI)","u":"/docs/integrations/spotify","h":"#interactive-player-cli","p":69},{"i":91,"t":"Spotify plays on your devices — phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available: /spotify devices If no device is active, Mercury will tell you to open Spotify on a device first. You can set a default device: /spotify device <device-id> The device ID persists across sessions — Mercury remembers your preferred device.","s":"Managing Devices","u":"/docs/integrations/spotify","h":"#managing-devices","p":69},{"i":93,"t":"Mercury stores your Spotify tokens in ~/.mercury/mercury.yaml: Access token — short-lived, auto-refreshed Refresh token — long-lived, used to get new access tokens Account info — display name, user ID, plan (Premium/Free) Tokens refresh automatically before they expire. If the refresh token itself expires (rare), run /spotify auth again.","s":"Token Management","u":"/docs/integrations/spotify","h":"#token-management","p":69},{"i":95,"t":"/spotify logout This clears all tokens and account info. Run /spotify auth to reconnect later.","s":"Disconnecting","u":"/docs/integrations/spotify","h":"#disconnecting","p":69},{"i":97,"t":":::warning Client credentials Your Spotify Client ID and Client Secret are stored in ~/.mercury/mercury.yaml. They are only used to authenticate with Spotify's API from your machine — never shared externally. Treat this file like any other credential. ::: Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints.","s":"Security","u":"/docs/integrations/spotify","h":"#security","p":69},{"i":99,"t":"Issue Solution \"Spotify Premium is required\" error You need Premium for playback control. Read-only features still work on free accounts. 403 errors on play/pause/skip Your account is on Spotify's free tier. Playback APIs are Premium-only. \"No active device\" Open Spotify on your phone/computer, play any song, then try again. Browser doesn't open for auth Use the manual code flow: /spotify auth → choose \"Paste code\" Token expired after long idle Run /spotify auth to get fresh tokens Account name not showing Run /spotify and Mercury will fetch it live from Spotify's API","s":"Troubleshooting","u":"/docs/integrations/spotify","h":"#troubleshooting","p":69},{"i":101,"t":"Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","s":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","h":"","p":100},{"i":103,"t":"Traditional AI agents are single-threaded: one context window, one task at a time. If you ask Mercury to \"research this topic, write the code, and review the result,\" it does them sequentially — each step blocks the next. Sub-agents break this bottleneck: Parallel execution — Multiple tasks run simultaneously across isolated context windows LLM-driven delegation — Mercury itself decides when to delegate based on task complexity Non-blocking — You can keep chatting with Mercury while sub-agents work in the background File locks — Reader-writer locks prevent concurrent write conflicts between agents Resource-aware — Max concurrent agents is auto-detected from your system's CPU and RAM","s":"Why Sub-Agents Matter","u":"/docs/integrations/sub-agents","h":"#why-sub-agents-matter","p":100},{"i":105,"t":"You: \"Build a REST API for users and write integration tests\" Mercury decides to delegate: 🤖 Multi-agent mode activated. **Agent a1** is now working on: \"Build REST API endpoints for users\" **Agent a2** is now working on: \"Write integration tests for user endpoints\" Active agents: 2/4 You can continue chatting while the agents work. Use /agents to check status. Mercury: I've delegated both tasks to parallel agents. Agent a1 is building the API and agent a2 is writing tests. They'll work independently. (you continue chatting normally) 🔄 Agent a1: Using: read_file, create_file 🔄 Agent a2: Using: list_dir, read_file ✅ **Agent a1** completed (12.3s): \"REST API built with 5 endpoints\" ✅ **Agent a2** completed (18.7s): \"12 integration tests passing\" Both agents are done. Want me to review the results together?","s":"How It Works","u":"/docs/integrations/sub-agents","h":"#how-it-works","p":100},{"i":107,"t":"Command Description /agents List all sub-agents (running and completed) /halt Emergency: halt all sub-agents and clear the task queue /stop Full reset: halt agents, clear queue, release locks, clear task board Slash commands like /agents, /halt, /stop, /spotify, and /code status work even while the main agent is busy — they're processed immediately on a fast path.","s":"Commands","u":"/docs/integrations/sub-agents","h":"#commands","p":100},{"i":109,"t":"Mercury uses these tools to manage sub-agents: Tool Description delegate_task Spawn a sub-agent with a task description and optional context list_agents Show all running and completed sub-agents stop_agent Halt a specific running sub-agent by ID When Mercury decides a task is complex enough to benefit from parallel execution, it calls delegate_task. You'll see a response like: 🤖 Multi-agent mode activated. **Agent a1** is now working on: \"Analyze the codebase structure for...\" Active agents: 1/4 You can continue chatting while the agent works. I'll notify you when it's done. Use /agents to check status.","s":"Delegation Tools","u":"/docs/integrations/sub-agents","h":"#delegation-tools","p":100},{"i":111,"t":"User message → Main Agent (orchestrator) ├─ delegate_task(\"research X\") → Sub-Agent a1 (isolated context) ├─ delegate_task(\"implement Y\") → Sub-Agent a2 (isolated context) └─ continues conversation → responds to user │ a1: \"🔄 Using: read_file\" a1: \"🔄 Using: edit_file\" a2: \"🔄 Using: list_dir\" a1: \"✅ completed (8.2s)\" a2: \"🔄 Using: create_file\" a2: \"✅ completed (15.1s)\" Each sub-agent: Has its own context window — the main agent's conversation doesn't pollute it Runs an independent 10-step agentic loop with the same tool access Uses the same permission system — but with auto-approve for the task's scope Reports progress via the notification channel (CLI or Telegram) Respects file locks — if a1 is writing a file, a2 waits for the lock","s":"Architecture","u":"/docs/integrations/sub-agents","h":"#architecture","p":100},{"i":113,"t":"Mercury decides to delegate when: A task is naturally parallelizable (e.g., \"research X while I code Y\") The task benefits from an isolated context window (no pollution from the main conversation) A task is complex enough to warrant dedicated focus Multiple independent investigations would save time You can also ask Mercury explicitly: \"Use two agents for this\" or \"Delegate this task.\"","s":"When Mercury Uses Sub-Agents","u":"/docs/integrations/sub-agents","h":"#when-mercury-uses-sub-agents","p":100},{"i":115,"t":"You can keep chatting normally. Mercury processes your messages as they come in. Sub-agent progress and completion appear as notification messages in your channel: 🔄 Agent a1: Starting task... 🔄 Agent a1: Using: read_file, edit_file 🔄 Agent a2: Using: fetch_url, create_file ✅ Agent a1 completed (8.2s): \"Analyzed the codebase...\" 🔄 Agent a2: Using: run_command ✅ Agent a2 completed (14.5s): \"Tests passing...\" If you send /agents, you'll see the full status: **Sub-Agents:** 🔄 a1: Build REST API endpoints — running (Using: read_file) ⏳ a2: Write integration tests — pending","s":"What Happens While Agents Work","u":"/docs/integrations/sub-agents","h":"#what-happens-while-agents-work","p":100},{"i":117,"t":"Sub-agents are configured in ~/.mercury/mercury.yaml: subagents: enabled: true maxConcurrent: auto # auto-detected from CPU/RAM, or set manually (e.g., 4) mode: auto # \"auto\" (LLM decides) or \"manual\" (user controls) Environment variable overrides: Variable Description SUBAGENTS_ENABLED Enable/disable sub-agents SUBAGENTS_MAX_CONCURRENT Max number of concurrent agents SUBAGENTS_MODE auto or manual","s":"Configuration","u":"/docs/integrations/sub-agents","h":"#configuration","p":100},{"i":119,"t":"Sub-agents pair well with Mercury's programming mode for code tasks: Command Mode Behavior /code plan Plan Analyze without writing code /code execute Execute Implement step by step /code off Off Normal conversation /code toggle — Cycle through modes /code status — Show current mode","s":"Programming Mode","u":"/docs/integrations/sub-agents","h":"#programming-mode","p":100},{"i":121,"t":"When /code plan is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during /code execute. The ask_user tool lets Mercury present choices at decision points — on CLI this is an arrow-key menu, on Telegram it's inline buttons.","s":"Programming Mode + Sub-Agents","u":"/docs/integrations/sub-agents","h":"#programming-mode--sub-agents","p":100},{"i":123,"t":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","s":"Telegram","u":"/docs/integrations/telegram","h":"","p":122},{"i":125,"t":"Mercury uses an organization access model with admins and members. The first user becomes the admin by completing a pairing-code flow during setup. Additional users request access by sending /start, which admins can approve or reject. :::info First-time pairing When no admins exist yet, sending /start creates a pairing code that must be entered in the CLI to complete setup. This ensures only the legitimate owner can gain initial access. Once an admin exists, new users send /start to create a pending request that admins can approve or reject. ::: :::warning Private chats only Mercury only works in private (one-to-one) chats. Messages in groups or channels are always ignored. :::","s":"Access Model","u":"/docs/integrations/telegram","h":"#access-model","p":122},{"i":127,"t":"Role Description Can approve requests? Admin First user to pair. Can approve/reject access requests, promote/demote users, and reset all access. Yes Member Approved by an admin. Can send messages and receive responses. No Pending Sent /start but not yet approved. Can only see their pending status. No","s":"Roles","u":"/docs/integrations/telegram","h":"#roles","p":122},{"i":129,"t":"Command Description mercury telegram list Show approved admins, members, and pending requests mercury telegram approve <code|userId> Approve the first pairing code or a pending request by user ID mercury telegram reject <userId> Reject a pending access request mercury telegram remove <userId> Remove an approved admin or member mercury telegram promote <userId> Promote a member to admin mercury telegram demote <userId> Demote an admin to member (at least one admin must remain) mercury telegram reset Clear all Telegram access (admins, members, pending). Start fresh.","s":"CLI Commands","u":"/docs/integrations/telegram","h":"#cli-commands","p":122},{"i":131,"t":"Command Description /start or /pair Request access (new users) or check status (approved users) /unpair Admin only: Reset all Telegram access for this Mercury instance","s":"In-Chat Commands","u":"/docs/integrations/telegram","h":"#in-chat-commands","p":122},{"i":133,"t":"Feature Description Text streaming Real-time response editing with typing indicators (toggle with /stream) File uploads Photos, audio, video, and documents auto-detected and sent with the right API HTML formatting Markdown automatically converted to Telegram-compatible HTML Inline keyboards Shell command and scope approvals shown as Allow / Always / Deny buttons Multi-user access Organization model with admins and members. send_message broadcasts to all approved users. Bot commands menu 12 commands registered in Telegram's bot menu for quick access","s":"Features","u":"/docs/integrations/telegram","h":"#features","p":122},{"i":135,"t":"Telegram is set up during mercury doctor or initial onboarding. You need a bot token from @BotFather. Variable Description Default TELEGRAM_BOT_TOKEN Bot token from @BotFather — TELEGRAM_ENABLED Enable/disable Telegram channel false TELEGRAM_STREAMING Enable real-time text streaming true Type none as the bot token during mercury doctor to disable Telegram.","s":"Configuration","u":"/docs/integrations/telegram","h":"#configuration","p":122},{"i":137,"t":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.","s":"Built-in Tools","u":"/docs/reference/built-in-tools","h":"","p":136},{"i":139,"t":"Tool What it does Parameters read_file Read file contents path write_file Write to an existing file path, content create_file Create a new file (creates parent dirs) path, content edit_file Search and replace text in a file path, old_string, new_string list_dir List directory contents path delete_file Delete a file path send_file Send file to user (Telegram upload) path approve_scope Request read/write access to a directory path, mode","s":"Filesystem","u":"/docs/reference/built-in-tools","h":"#filesystem","p":136},{"i":141,"t":"Tool What it does Parameters send_message Send a message to approved Telegram recipients content","s":"Messaging","u":"/docs/reference/built-in-tools","h":"#messaging","p":136},{"i":143,"t":"Tool What it does Parameters run_command Execute a shell command command cd Change working directory (persists across calls) path approve_command Permanently approve a command type command (e.g. \"curl\")","s":"Shell","u":"/docs/reference/built-in-tools","h":"#shell","p":136},{"i":145,"t":"Tool What it does git_status Working tree status git_diff Show file changes git_log Commit history git_add Stage files git_commit Create a commit git_push Push to remote (needs approval)","s":"Git","u":"/docs/reference/built-in-tools","h":"#git","p":136},{"i":147,"t":"Tool What it does Category fetch_url Fetch a URL and return content (HTML stripped) Web install_skill Install a skill from URL or content Skills list_skills List installed skills Skills use_skill Invoke a skill by name Skills schedule_task Schedule recurring (cron) or one-shot (delay) task Scheduler list_scheduled_tasks View all scheduled tasks Scheduler cancel_scheduled_task Cancel a scheduled task Scheduler budget_status Check token budget usage System","s":"Web, Skills, Scheduler, System","u":"/docs/reference/built-in-tools","h":"#web-skills-scheduler-system","p":136},{"i":149,"t":"All runtime data lives in ~/.mercury/ — not in your project directory. Path Purpose ~/.mercury/mercury.yaml Main config (providers, channels, budget) ~/.mercury/soul/*.md Agent personality (soul, persona, taste, heartbeat) ~/.mercury/permissions.yaml Capabilities and approval rules ~/.mercury/skills/ Installed skills ~/.mercury/schedules.yaml Scheduled tasks ~/.mercury/token-usage.json Daily token usage tracking ~/.mercury/memory/ Short-term, long-term, episodic memory ~/.mercury/daemon.pid Background process PID ~/.mercury/daemon.log Daemon mode logs","s":"Configuration","u":"/docs/reference/configuration","h":"","p":148},{"i":151,"t":"Mercury has a three-tier permission system for shell commands: Blocked — Commands like sudo, rm -rf /, mkfs are never executed Auto-approved — Safe commands like ls, cat, git status run without asking Pending approval — Unknown commands pause and ask you. Say \"always\" to permanently approve a command type Edit ~/.mercury/permissions.yaml to customize. Skill elevation: skills with allowed-tools in their SKILL.md get automatic approval for those tools during execution.","s":"Permissions","u":"/docs/reference/permissions","h":"","p":150},{"i":153,"t":"At session start, Mercury asks you to choose a permission mode: 🔒 Ask Me — Mercury asks for confirmation before file writes, shell commands that need approval, and scope changes. Default on both CLI and Telegram. ✅ Allow All — Mercury auto-approves all directory scopes, all shell commands (except blocked), and loop-continuation prompts. No interruptions during the session. Resets on restart. On CLI: an arrow-key menu appears at startup before the first prompt. On Telegram: inline keyboard buttons appear with the first message. Use /permissions to change mode at any time. Scheduled tasks always run in Allow All mode — filesystem access and shell commands are auto-approved. You receive a notification before each task executes.","s":"Permission Modes","u":"/docs/reference/permissions","h":"#permission-modes","p":150},{"i":155,"t":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","s":"Provider Fallback","u":"/docs/reference/provider-fallback","h":"","p":154},{"i":157,"t":"Provider Default Model API Key Configuration DeepSeek deepseek-chat DEEPSEEK_API_KEY Default provider, cost-effective OpenAI gpt-4o-mini OPENAI_API_KEY GPT-4o-mini, GPT-4o, o3, etc. Anthropic claude-sonnet-4-20250514 ANTHROPIC_API_KEY Claude Sonnet, Haiku, Opus Grok (xAI) grok-4 GROK_API_KEY OpenAI-compatible endpoint Ollama Cloud gpt-oss:120b OLLAMA_CLOUD_API_KEY Remote Ollama models via API Ollama Local gpt-oss:20b No key needed Local Ollama instance (127.0.0.1:11434) OpenAI Compatible Configurable OPENAI_COMPAT_API_KEY Any OpenAI-compatible server","s":"Supported Providers","u":"/docs/reference/provider-fallback","h":"#supported-providers","p":154},{"i":159,"t":"Run mercury doctor and enter API keys for the providers you want to use. You can also set environment variables directly or edit ~/.mercury/mercury.yaml. :::tip Environment variables Each provider has env vars for its API key, base URL, and model. For example, DeepSeek uses DEEPSEEK_API_KEY, DEEPSEEK_BASE_URL, and DEEPSEEK_MODEL. Ollama Local requires no API key — just set OLLAMA_LOCAL_ENABLED=true and OLLAMA_LOCAL_MODEL to your preferred local model. ::: :::warning More providers coming Google Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key. :::","s":"Configuring Providers","u":"/docs/reference/provider-fallback","h":"#configuring-providers","p":154},{"i":161,"t":"Mercury can schedule tasks using cron expressions or one-shot delays.","s":"Scheduling","u":"/docs/reference/scheduling","h":"","p":160},{"i":163,"t":"Tell Mercury in conversation: \"Remind me every day at 9am to check the server\" \"Schedule a weekly summary every Monday at 10am\"","s":"Recurring tasks","u":"/docs/reference/scheduling","h":"#recurring-tasks","p":160},{"i":165,"t":"\"Remind me in 15 minutes to take a break\" \"Ping me in 2 hours about the deployment\" Tasks persist to ~/.mercury/schedules.yaml and restore on restart. Responses route back to the channel (CLI or Telegram) where the task was created.","s":"One-shot delays","u":"/docs/reference/scheduling","h":"#one-shot-delays","p":160},{"i":167,"t":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.","s":"Second Brain","u":"/docs/reference/second-brain","h":"","p":166},{"i":169,"t":"Extraction — After each conversation, Mercury pulls 0–3 facts and stores them with type, confidence, importance, and durability scores. Retrieval — Before each message, the top 5 relevant memories (within a 900-char budget) are injected into context. Mercury references them naturally. Consolidation — Every 60 minutes, Mercury builds a profile summary, an active-state summary, and generates reflection memories from detected patterns. Pruning — Active-scope memories stale after 21 days. Inferred memories decay. Low-confidence durable memories are dismissed after 120 days. Memories reinforced 3+ times are promoted to durable.","s":"How it works","u":"/docs/reference/second-brain","h":"#how-it-works","p":166},{"i":171,"t":"Type Scope What it stores identity durable Who you are — name, role, background preference durable What you like and dislike goal active What you're working toward project active What you're building habit durable Behavioral patterns and routines decision active Decisions and choices you've made constraint durable Rules and constraints you follow relationship durable People and connections episode active Specific events and experiences reflection durable System-generated insights from patterns","s":"Memory Types","u":"/docs/reference/second-brain","h":"#memory-types","p":166},{"i":173,"t":"When Mercury detects opposing memories (e.g. \"prefers TypeScript\" vs \"prefers Python\"), the higher-confidence one wins. If equal, the newer one wins. Negation mismatches (\"likes X\" vs \"does not like X\") are detected and resolved automatically.","s":"Conflict Resolution","u":"/docs/reference/second-brain","h":"#conflict-resolution","p":166},{"i":175,"t":"direct — Explicitly stated by you (highest confidence) inferred — Pattern Mercury detected (decays over time) manual — Added via /memory command system — Auto-generated reflections from consolidation","s":"Evidence Kinds","u":"/docs/reference/second-brain","h":"#evidence-kinds","p":166},{"i":177,"t":"Use /memory in any channel: Action CLI Telegram Overview Arrow-key menu → Overview Inline button: 📋 Overview Recent memories Arrow-key menu → Recent Inline button: 🔍 Recent Search Arrow-key menu → Search Not available (ask Mercury to search) Pause learning Arrow-key menu → Pause Inline button: ⏸ Pause Resume learning Arrow-key menu → Resume Inline button: ▶ Resume Clear all Arrow-key menu → Clear (with confirmation) Inline button: 🗑 Clear → Yes","s":"Managing Memory","u":"/docs/reference/second-brain","h":"#managing-memory","p":166},{"i":179,"t":"Second Brain is enabled by default. To disable it: Environment variable: SECOND_BRAIN_ENABLED=false Config file: set memory.secondBrain.enabled: false in ~/.mercury/mercury.yaml When disabled, Mercury falls back to basic long-term fact search (JSONL, text-match only). No extraction, no consolidation, no SQLite. All data is stored locally in ~/.mercury/memory/second-brain/second-brain.db (SQLite). Nothing leaves your machine.","s":"Enable / Disable","u":"/docs/reference/second-brain","h":"#enable--disable","p":166},{"i":181,"t":"Skills are markdown-based extensions that live in ~/.mercury/skills/<name>/SKILL.md.","s":"Skills","u":"/docs/reference/skills","h":"","p":180},{"i":183,"t":"Tell Mercury in conversation: \"Install skill from https://example.com/my-skill.md\" Or paste the SKILL.md content directly","s":"Installing","u":"/docs/reference/skills","h":"#installing","p":180},{"i":185,"t":"\"Use the daily-digest skill\"","s":"Invoking","u":"/docs/reference/skills","h":"#invoking","p":180},{"i":187,"t":"\"Remind me daily at 9am to run the daily-digest skill\" Skills follow the Agent Skills specification. They get elevated permissions via allowed-tools and are loaded with progressive disclosure to save tokens.","s":"Scheduling a skill","u":"/docs/reference/skills","h":"#scheduling-a-skill","p":180}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/2",[0,0.465,1,3.812,2,5.557,3,5.557,4,3.504,5,6.049,6,4.871,7,6.901,8,2.461,9,1.603,10,3.588,11,5.557]],["t/4",[0,0.493,4,2.546,5,4.395,6,3.033,9,1.446,12,2.541,13,2.373,14,5.897,15,2.037,16,2.751,17,2.114,18,3.46,19,3.033,20,2.009,21,5.014,22,3.46,23,5.897,24,2.114,25,1.757,26,3.46,27,3.033,28,3.683,29,5.014,30,5.014,31,1.757,32,2.751,33,5.897,34,3.033,35,3.46,36,1.406,37,3.46,38,3.46,39,2.541,40,3.46,41,2.009,42,3.237,43,3.46,44,3.46,45,2.114,46,1.124,47,3.033,48,0.802,49,2.373,50,1.916,51,1.623]],["t/6",[0,0.66,4,2.402,8,0.86,9,1.1,15,1.55,17,1.475,24,2.331,25,2.73,36,2.184,45,1.475,48,0.757,52,1.177,53,1.558,54,1.655,55,3.984,56,2.332,57,1.919,58,3.344,59,2.402,60,1.177,61,3.034,62,1.919,63,1.09,64,1.919,65,1.772,66,2.216,67,2.463,68,2.748,69,1.919,70,1.919,71,2.115,72,2.061,73,2.617,74,1.337,75,1.402,76,1.558,77,2.216,78,2.115,79,1.09,80,1.558,81,1.475,82,1.402,83,1.278,84,1.655,85,2.463,86,1.919,87,1.919,88,1.919,89,0.917,90,1.558,91,2.506,92,1.09,93,2.115,94,3.344,95,2.115,96,1.919,97,2.115]],["t/8",[0,0.509,9,1.057,48,0.836,50,2.03,56,1.228,74,2.03,76,3.375,77,3.036,80,2.367,81,2.24,82,2.129,83,1.942,84,3.586,85,2.367,86,2.915,87,2.915,98,3.666,99,2.915,100,2.692,101,3.666,102,3.036,103,2.915,104,1.541,105,1.942,106,2.915,107,3.213,108,3.213,109,3.213,110,3.375,111,3.666,112,2.515,113,2.692,114,3.036,115,2.915,116,1.987,117,2.561,118,3.213,119,2.692,120,2.24,121,2.129,122,1.597,123,2.515,124,2.515,125,3.213]],["t/10",[0,0.125,4,0.758,8,0.532,15,1.042,17,0.912,28,1.097,31,1.303,36,1.37,45,0.912,48,0.721,50,0.827,51,0.7,52,0.728,56,1.13,63,0.674,66,0.867,72,1.118,74,0.827,76,3.59,79,0.674,83,0.791,85,0.964,88,1.187,89,0.975,102,0.867,104,0.628,105,0.791,113,1.097,114,1.49,116,2.911,117,1.418,119,1.097,121,2.325,122,1.469,124,1.024,126,1.49,127,0.7,128,0.65,129,1.187,130,3.464,131,1.493,132,1.493,133,1.493,134,1.493,135,0.791,136,0.867,137,1.76,138,1.656,139,0.964,140,1.493,141,1.097,142,1.097,143,1.187,144,1.656,145,2.91,146,2.499,147,2.38,148,1.187,149,2.91,150,1.187,151,2.497,152,2.07,153,1.964,154,2.061,155,2.314,156,1.493,157,2.249,158,2.682,159,2.217,160,1.493,161,2.04,162,2.249,163,0.964,164,1.493,165,1.097,166,1.49,167,2.746,168,1.097,169,0.912,170,1.309,171,1.024,172,1.493,173,1.309,174,0.867,175,2.249,176,1.187,177,1.493,178,1.493,179,1.656,180,0.912,181,1.024,182,1.042,183,0.867,184,1.568,185,1.309,186,1.187,187,1.309,188,1.309,189,0.827,190,1.493,191,1.097,192,1.309,193,1.421,194,1.097,195,0.912]],["t/12",[0,0.49,9,1.69,25,2.975,59,2.975,60,2.857,82,3.403,116,2.227,128,2.552,182,2.381,183,3.403,196,5.136,197,4.02]],["t/14",[0,0.547,25,2.588,53,3.291,56,2.189,59,2.588,67,3.291,75,3.795,198,4.053,199,5.097,200,5.097,201,2.823,202,2.847,203,4.468,204,4.053,205,4.468,206,3.497,207,3.744,208,2.485,209,3.744]],["t/16",[0,0.624,9,1.582,41,3.186,46,1.783,56,2.294,61,4.363,64,4.363,65,4.03,96,4.363,197,3.764,205,4.809,210,4.809,211,4.363,212,4.03]],["t/18",[0,0.559,4,2.683,9,1.929,15,2.147,25,2.683,36,2.147,51,2.478,53,3.412,55,3.229,56,1.77,59,2.683,75,3.069,91,2.799,213,5.285,214,2.478,215,3.881,216,3.069,217,4.202]],["t/20",[0,0.497,24,3.63,28,4.363,59,3.016,67,3.835,75,3.45,193,3.29,202,2.588,218,5.94,219,5.94,220,4.075]],["t/22",[0,0.465,9,1.603,24,3.396,25,2.822,46,1.806,51,2.606,56,1.862,66,4.008,128,2.421,209,4.082,214,2.606,221,4.419,222,5.557,223,4.419,224,4.871]],["t/24",[0,0.526,36,2.554,68,3.652,69,5,70,5,71,5.511,206,4.313]],["t/26",[0,0.462,9,1.594,12,2.916,25,2.016,32,4.396,36,1.613,48,0.635,59,2.016,63,1.793,66,2.306,68,2.306,72,1.729,75,3.211,90,2.563,92,1.793,142,2.916,186,3.157,189,2.199,202,2.408,207,2.916,208,1.936,209,2.916,217,3.157,225,3.97,226,4.719,227,2.916,228,3.48,229,3.48,230,3.48,231,3.97,232,3.97,233,3.97,234,3.48,235,3.48,236,3.48,237,3.157,238,3.48,239,2.916,240,3.97]],["t/28",[0,0.385,4,2.339,25,2.339,48,0.737,55,2.815,56,1.543,66,2.675,68,2.675,91,2.44,92,2.081,153,2.007,165,4.493,206,3.16,214,2.16,226,4.197,227,3.383,239,3.383,241,2.339,242,5.362,243,4.038,244,3.663,245,2.675,246,4.038,247,4.038,248,4.606,249,3.663,250,4.606,251,4.606,252,4.606]],["t/30",[165,4.686,243,6.576,246,6.576,253,6.38]],["t/32",[0,0.643,24,3.58,56,1.963,72,2.552,153,3.348,254,7.685]],["t/34",[9,1.624,65,4.135,151,3.118,255,6.618,256,5.63,257,7.55,258,7.55,259,5.63,260,4.935]],["t/36",[0,0.422,1,3.46,4,2.561,10,2.252,13,2.393,51,1.636,55,3.62,56,1.69,66,2.929,73,2.393,91,1.848,92,1.575,93,4.421,153,2.197,154,2.131,182,1.417,183,2.026,208,1.701,214,1.636,220,2.393,226,4.064,227,2.562,228,3.057,242,3.057,244,4.711,247,3.057,249,2.773,255,3.057,261,2.131,262,5.043,263,2.393,264,3.488,265,3.057,266,3.488,267,3.488,268,5.043,269,3.488,270,3.488,271,3.488,272,3.488,273,3.488,274,2.773,275,3.488,276,3.488,277,2.252,278,3.488,279,1.575]],["t/38",[0,0.628,55,4.584,72,2.779,94,5.593]],["t/40",[0,0.529,8,1.281,9,0.645,31,1.824,42,1.445,46,0.727,47,1.961,48,1.012,50,1.239,51,1.049,54,1.535,56,1.204,60,1.752,73,1.535,74,1.99,77,1.3,78,1.961,80,1.445,81,2.195,82,1.3,83,1.185,84,1.535,85,2.319,86,1.779,87,1.779,103,1.779,104,0.941,105,3.191,106,1.779,107,3.149,108,1.961,109,1.961,110,3.326,112,2.464,116,1.711,117,0.941,120,2.195,121,2.086,122,1.565,123,1.535,126,1.3,130,1.185,135,1.903,143,1.779,152,0.941,169,1.367,180,2.195,189,1.239,191,1.644,192,1.961,193,1.239,194,1.644,277,1.445,279,1.623,280,1.961,281,1.779,282,1.644,283,1.644,284,2.319,285,1.644,286,1.779,287,2.857,288,1.961,289,1.961,290,2.857,291,1.961,292,1.3,293,1.644,294,1.961,295,1.445,296,3.592,297,2.195,298,1.644,299,2.639,300,1.779,301,1.779,302,1.445,303,2.238,304,1.779,305,2.238,306,2.238,307,2.238,308,1.779,309,2.238,310,1.239,311,1.961,312,1.644,313,1.779]],["t/42",[0,0.628,4,3.415,9,1.94,25,3.02,31,2.243,36,1.795,39,3.245,48,0.706,53,4.342,54,3.03,55,3.635,56,1.993,57,3.513,75,2.566,91,2.34,214,2.072,215,3.245,216,2.566,217,3.513,223,3.513,314,4.418,315,4.418,316,3.03]],["t/44",[0,0.542,12,3.7,25,2.558,56,2.173,59,2.558,60,2.456,68,2.926,75,2.926,92,2.275,116,1.915,202,2.194,206,3.456,207,3.7,209,3.7,226,3.456,227,3.7,229,4.415,230,4.415,317,4.415,318,5.037,319,4.415,320,4.006]],["t/46",[0,0.615,9,1.777,24,3.765,56,2.064,59,2.364,61,3.703,63,2.103,64,3.703,65,3.42,80,3.006,127,2.184,142,3.42,167,3.194,169,2.845,197,4.227,210,4.081,279,2.103,321,4.656,322,3.703,323,4.656,324,4.656,325,3.42,326,3.703,327,4.656]],["t/48",[0,0.497,15,2.413,41,3.45,56,2.409,68,3.45,95,6.302,96,4.724,97,5.207,328,4.363]],["t/50",[0,0.44,10,3.395,13,2.536,48,0.979,77,2.147,89,2.326,116,1.405,117,1.555,127,2.466,144,3.395,146,1.877,189,2.048,195,2.259,197,2.536,241,1.877,245,2.147,298,2.716,302,3.395,329,3.697,330,3.39,331,3.697,332,2.536,333,2.536,334,2.94,335,2.387,336,3.697,337,2.716,338,2.387,339,2.259,340,2.94,341,2.536,342,3.213,343,3.697,344,4.182,345,2.536,346,2.387,347,3.241,348,2.716,349,3.241,350,3.697,351,3.697,352,3.697]],["t/52",[0,0.512,17,2.259,20,2.147,48,1.126,88,2.94,89,1.405,104,1.555,114,2.147,122,1.611,138,3.395,144,2.387,146,1.877,152,1.555,195,2.259,202,1.611,226,2.536,241,1.877,244,2.94,298,2.716,330,2.048,332,2.536,333,3.607,334,4.867,335,3.395,337,2.716,338,2.387,339,3.74,345,2.536,346,2.387,353,2.94,354,2.94,355,3.241,356,3.241,357,3.697,358,2.716,359,2.536,360,3.241,361,3.241,362,2.94,363,3.241,364,3.697,365,2.387]],["t/54",[0,0.612,9,1.762,77,4.246,99,4.858,100,4.487,330,3.384,366,6.109]],["t/56",[46,1.957,104,2.533,330,3.336,339,3.681,367,6.023,368,6.023,369,6.023,370,4.132,371,5.28,372,6.023]],["t/58",[0,0.519,12,3.457,48,0.753,60,2.295,79,2.126,195,2.876,208,2.295,214,2.208,281,3.743,282,3.457,330,2.607,337,4.558,338,4.006,339,2.876,342,2.876,345,3.229,346,3.039,353,3.743,354,3.743,373,4.707,374,4.126,375,4.126,376,4.126,377,4.126,378,4.707,379,3.039,380,4.707]],["t/60",[0,0.434,8,1.522,17,1.704,48,1.002,54,1.913,79,1.928,104,1.795,117,2.634,135,2.261,146,1.416,152,1.795,179,2.756,191,2.048,201,2.873,214,1.308,216,1.619,241,1.416,263,2.928,284,1.8,292,1.619,294,3.742,308,3.395,310,1.544,320,3.395,330,1.544,332,1.913,335,1.8,348,4.269,359,3.558,377,2.444,381,2.444,382,2.928,383,2.217,384,2.048,385,2.444,386,2.217,387,2.444,388,1.913,389,2.788,390,2.788,391,3.395,392,2.788,393,2.788,394,3.395,395,2.928,396,3.395,397,4.269,398,2.048,399,3.742,400,2.444,401,1.913,402,3.742,403,3.742,404,2.788,405,2.788,406,1.8,407,1.913]],["t/62",[0,0.366,8,2.106,10,2.823,41,2.54,48,0.699,60,2.132,79,2.669,80,2.823,81,3.61,82,2.54,83,2.316,84,3,89,1.662,100,3.212,135,2.316,208,2.132,241,2.22,279,1.975,301,4.698,330,2.422,335,2.823,344,3.477,348,3.212,358,3.212,391,3.477,399,5.178,408,4.373,409,4.373,410,4.373,411,4.373,412,3.833,413,3]],["t/64",[48,0.629,50,2.179,89,1.495,104,1.654,112,2.698,114,2.285,138,2.54,146,1.997,151,2.179,152,1.654,196,3.448,241,2.789,330,2.179,332,2.698,333,3.768,334,3.128,335,3.547,348,2.889,360,3.448,361,3.448,363,3.448,365,2.54,414,3.933,415,5.493,416,5.493,417,3.933,418,5.493,419,2.889,420,3.933,421,3.933,422,3.933,423,3.933,424,5.493,425,5.493,426,3.933,427,3.933,428,3.933,429,3.933,430,3.933,431,3.933]],["t/66",[0,0.534,46,1.6,48,0.787,122,2.144,195,3.008,208,2.4,216,2.859,337,3.615,338,3.178,339,3.904,345,3.377,346,3.178,353,3.914,354,3.914,374,4.315,375,4.315,387,4.315,394,3.914,432,4.315,433,4.922,434,4.315,435,4.315,436,4.922,437,4.922]],["t/68",[48,0.985,55,2.845,104,1.958,115,3.703,117,1.958,202,2.028,212,3.42,216,2.704,310,2.579,330,3.413,339,2.845,342,2.845,345,3.194,382,3.194,383,3.703,384,3.42,388,3.194,391,4.9,438,4.656,439,2.845,440,4.081,441,3.42,442,4.081,443,6.161,444,4.656,445,4.656,446,4.656]],["t/70",[0,0.495,1,2.393,16,2.773,48,0.947,104,1.467,125,3.057,127,1.636,128,1.519,144,2.252,189,1.932,340,2.773,341,2.393,359,2.393,407,3.46,447,2.131,448,3.229,449,3.082,450,3.488,451,4.01,452,3.082,453,4.01,454,3.704,455,3.488,456,2.026,457,2.562,458,3.488,459,3.057,460,3.488,461,3.62,462,3.057,463,2.773,464,4.421,465,2.773,466,2.562,467,2.252,468,2.562,469,3.057,470,2.393,471,2.773,472,2.562,473,2.562,474,2.773,475,2.393,476,3.488,477,3.488]],["t/73",[0,0.386,8,1.101,39,2.268,46,1.003,48,0.979,52,1.506,53,1.994,60,1.506,63,2.083,68,1.793,79,2.083,99,2.455,135,1.636,144,1.994,146,1.568,152,1.298,153,2.404,159,1.71,204,2.455,214,2.163,241,1.568,281,2.455,285,2.268,308,2.455,320,3.667,328,2.268,376,2.707,400,2.707,402,4.042,413,2.118,447,1.887,448,3.072,449,1.887,459,5.366,478,3.088,479,3.088,480,2.455,481,3.088,482,3.088,483,2.455,484,3.088,485,2.118,486,4.611,487,3.088,488,3.667,489,2.455,490,5.519,491,4.611,492,3.088,493,3.088,494,2.707,495,3.088,496,3.088,497,3.088,498,3.088]],["t/75",[0,0.524,9,1.564,31,1.961,41,2.244,48,1.002,77,3.15,80,2.494,81,3.314,82,2.244,83,2.046,84,2.65,85,4.047,100,2.837,120,3.314,159,3.005,279,1.745,284,2.494,322,3.072,413,2.65,447,2.36,448,3.358,449,2.36,488,5.406,489,4.313,499,3.072,500,3.984,501,5.424,502,2.494,503,3.863]],["t/77",[0,0.564,9,1.545,36,1.542,46,1.233,54,2.603,56,1.271,92,1.714,116,1.443,120,3.794,122,2.938,138,4.008,204,3.018,245,2.204,265,4.695,284,2.45,292,2.204,304,3.018,338,3.458,394,3.018,441,2.787,447,2.319,448,2.912,456,2.204,457,4.56,502,4.008,504,5.357,505,4.26,506,2.787,507,3.795,508,3.326,509,3.795]],["t/79",[15,1.452,36,2.086,45,2.184,52,1.743,56,1.198,62,2.843,72,1.557,79,1.615,83,1.893,105,1.893,117,1.503,120,2.184,122,2.86,123,2.452,130,1.893,135,1.893,139,2.308,151,1.98,159,1.98,163,2.308,302,2.308,338,2.308,407,2.452,447,2.184,448,3.697,449,2.184,456,4.038,457,2.625,461,2.184,468,2.625,485,2.452,502,3.314,510,2.625,511,2.981,512,3.574,513,2.184,514,3.133,515,3.574,516,4.5]],["t/81",[0,0.542,46,2.104,89,2.462,453,5.15,517,5.677]],["t/83",[36,1.934,83,2.521,89,1.809,151,2.636,302,3.073,448,2.232,452,2.908,454,4.591,456,2.764,461,2.908,466,3.496,467,4.506,485,3.265,518,4.759,519,4.172,520,4.172,521,4.172,522,4.172,523,4.759,524,4.172,525,4.759,526,4.759,527,3.785,528,4.759,529,4.759,530,4.759]],["t/85",[63,1.955,70,3.442,79,2.65,89,1.645,168,3.179,170,3.794,328,3.179,451,4.666,454,3.179,456,2.514,461,2.645,467,4.815,470,2.97,471,4.666,472,3.179,473,3.179,474,3.442,475,2.97,520,3.794,531,4.329,532,3.794,533,3.794,534,3.179,535,4.329,536,3.794,537,4.329,538,4.329,539,4.329,540,4.329,541,2.795,542,3.794]],["t/87",[0,0.422,36,2.049,48,0.807,79,1.575,83,1.848,328,2.562,341,2.393,370,5.077,452,3.082,453,4.01,454,3.704,456,2.026,461,4.208,462,4.421,466,2.562,467,4.19,470,2.393,471,2.773,472,2.562,473,2.562,475,2.393,483,2.773,517,3.057,519,3.057,521,3.057,522,3.057,524,3.057,532,3.057,533,3.057,542,3.057,543,3.488,544,3.488,545,3.488,546,2.773,547,3.057,548,3.488,549,3.488,550,3.488,551,3.488,552,2.393,553,3.057,554,3.488]],["t/89",[15,1.795,36,1.795,48,1.302,62,3.513,105,2.34,139,2.852,142,3.245,150,3.513,189,2.447,197,3.03,279,1.995,325,3.245,448,2.072,452,2.699,467,2.852,472,3.245,473,3.245,474,3.513,475,3.03,516,5.214,534,3.245,536,3.872,552,3.03,553,3.872,555,4.418,556,4.418,557,4.418]],["t/91",[0,0.58,20,2.349,31,2.053,48,0.896,49,2.774,60,1.972,79,1.827,138,2.611,159,3.102,292,2.349,302,2.611,316,2.774,379,2.611,382,2.774,448,3.252,456,4.699,461,3.926,511,2.349,558,4.044,559,4.044,560,4.044,561,4.044,562,3.545,563,3.216,564,3.545,565,3.545]],["t/93",[0,0.341,9,1.177,46,1.327,48,1.033,49,2.801,50,2.261,92,1.844,113,2.999,117,3.177,135,2.163,152,2.37,153,1.778,159,2.261,189,2.261,208,1.991,310,2.261,396,4.483,439,2.495,448,2.644,449,2.495,502,2.636,510,2.999,566,3.579,567,4.14,568,6.103,569,2.999,570,4.083,571,4.083,572,3.579,573,4.083]],["t/95",[9,1.713,117,2.498,157,5.207,163,3.835,189,3.29,448,3.372,449,3.63,502,3.835,514,5.207,574,5.94]],["t/97",[0,0.369,46,1.436,48,0.951,104,2.501,115,4.73,117,1.858,152,1.858,159,2.447,193,2.447,202,1.924,292,2.566,310,3.295,365,2.852,381,3.872,382,4.081,383,3.513,385,3.872,386,3.513,388,3.03,439,2.699,440,3.872,441,3.245,442,3.872,448,2.072,488,5.348,489,3.513,568,3.872,575,5.214]],["t/99",[0,0.278,1,2.282,9,1.405,34,4.271,36,1.351,45,2.032,46,1.081,48,0.532,104,2.049,112,2.282,113,2.443,117,2.049,120,2.032,122,2.122,123,2.282,128,1.449,135,1.762,138,3.146,214,1.56,221,2.645,284,2.147,335,2.147,359,2.282,396,2.645,407,2.282,448,3.169,449,3.523,451,3.874,456,1.932,457,2.443,461,2.032,464,5.054,465,2.645,469,4.271,502,3.722,511,1.932,547,2.915,567,2.443,569,2.443,575,4.271,576,3.326,577,3.326,578,3.326,579,3.326,580,2.915,581,3.326,582,2.915,583,2.915,584,3.326]],["t/101",[0,0.551,8,2.348,16,4.102,48,0.825,63,2.33,114,2.996,127,2.419,128,2.247,182,2.096,198,4.102,216,2.996,223,4.102,585,5.158,586,4.521,587,3.538,588,4.521,589,4.102,590,3.538,591,2.857,592,5.158]],["t/103",[0,0.452,8,2.301,9,0.86,27,2.613,32,2.37,48,1.085,51,2.106,59,1.514,82,1.731,92,1.347,122,1.298,128,1.298,173,2.613,180,1.821,182,2.195,201,2.488,202,1.298,220,3.081,261,1.821,279,1.347,283,2.189,295,1.925,297,1.821,333,2.045,419,2.189,500,2.189,534,2.189,541,2.9,546,2.37,572,2.613,587,2.045,588,2.613,589,3.571,591,2.488,593,2.981,594,2.981,595,2.613,596,2.981,597,2.981,598,3.571,599,2.613,600,2.981,601,1.821,602,2.37,603,2.981,604,2.37,605,2.981,606,3.299,607,1.925,608,2.37,609,2.981,610,3.571,611,2.981,612,2.981,613,2.981,614,2.981,615,2.981,616,2.613,617,2.981,618,2.981,619,2.981]],["t/105",[0,0.34,8,2.758,13,1.796,20,1.521,46,1.62,48,0.974,63,1.183,72,1.141,104,2.364,128,2.449,129,3.234,153,2.172,182,1.064,201,2.762,211,2.082,297,2.485,333,1.796,358,1.923,365,3.22,463,3.966,468,2.987,480,3.966,511,2.362,513,2.485,546,2.082,587,1.796,590,2.79,606,2.987,607,1.691,620,3.663,621,4.928,622,2.082,623,4.13,624,4.471,625,2.619,626,2.619,627,2.619,628,2.082,629,2.082,630,2.987,631,1.923,632,2.082,633,2.619,634,2.619,635,2.295,636,2.295,637,2.295,638,2.619]],["t/107",[8,2.67,9,1.145,15,2.246,17,2.426,24,3.378,48,0.635,52,1.936,67,2.563,72,1.729,90,2.563,122,1.729,128,1.729,149,2.563,151,2.199,163,4.107,182,2.246,403,3.48,448,1.862,475,3.793,513,2.426,591,3.062,610,3.157,639,6.03,640,3.97,641,3.97,642,3.97,643,3.97,644,3.97,645,2.916,646,3.97,647,3.97,648,3.97]],["t/109",[0,0.405,8,2.715,9,1.397,20,1.917,36,1.341,41,1.917,46,1.574,48,0.528,52,2.362,63,1.491,72,1.438,89,1.842,128,2.11,143,2.625,144,2.131,159,1.828,171,2.264,182,1.968,198,2.625,216,1.917,297,2.017,370,2.264,398,2.424,413,2.264,468,2.424,511,2.814,513,2.017,541,2.131,587,2.264,590,2.264,591,3.503,601,2.017,607,2.131,608,2.625,622,2.625,623,2.424,637,2.893,639,2.893,649,4.845,650,3.301,651,3.301,652,2.893,653,2.893,654,2.424,655,2.893,656,2.893,657,3.301,658,3.301,659,3.301]],["t/111",[8,2.183,9,0.764,46,1.99,48,1.273,58,3.599,89,1.008,91,1.404,92,1.197,116,1.008,127,1.926,130,1.404,136,1.54,147,1.197,152,1.115,153,1.789,174,1.54,179,1.711,201,1.468,202,1.789,220,1.818,234,2.323,237,2.108,245,1.54,295,1.711,406,1.711,500,1.947,513,2.509,541,3.245,552,1.818,583,2.323,586,2.323,590,1.818,591,2.784,604,3.265,610,3.265,623,4.497,624,4.869,628,2.108,630,1.947,631,1.947,632,2.108,645,3.016,660,2.651,661,2.108,662,2.651,663,2.323,664,2.651,665,2.108,666,2.323,667,2.651,668,2.651,669,2.323,670,2.651,671,2.651,672,2.108,673,2.651,674,2.651]],["t/113",[0,0.491,8,1.543,46,1.407,122,1.886,127,2.03,180,2.645,182,2.899,220,2.97,279,1.955,341,2.97,395,2.97,485,2.97,541,2.795,595,3.794,602,3.442,604,3.442,606,4.31,607,2.795,608,3.442,628,3.442,645,3.179,652,3.794,653,3.794,661,3.442,663,3.794,669,3.794,675,4.329,676,4.329,677,4.329,678,4.329,679,4.329,680,3.794,681,4.329]],["t/115",[0,0.262,8,2.678,9,0.903,17,1.914,41,1.819,46,2.004,48,1.223,56,1.05,67,2.022,72,1.365,82,1.819,104,1.317,136,1.819,145,2.022,174,2.707,182,1.273,193,1.735,195,1.914,201,1.735,297,1.914,365,2.022,413,2.149,463,2.491,480,2.491,513,3.401,552,2.149,591,2.582,620,2.301,621,4.086,623,4.528,624,4.903,629,2.491,630,3.424,631,2.301,636,2.746,654,2.301,655,2.746,665,2.491,666,2.746,672,2.491,682,2.746,683,2.746,684,2.746,685,3.133]],["t/117",[8,2.313,45,3.965,48,0.907,52,2.01,63,1.862,79,1.862,92,3.312,153,1.795,175,3.613,261,2.519,277,2.661,283,3.027,342,2.519,395,2.827,407,2.827,439,2.519,589,3.278,591,3.143,607,2.661,616,3.613,686,4.122,687,3.613,688,4.122,689,4.122,690,3.613,691,3.278,692,4.168,693,4.122,694,3.613,695,4.122,696,4.122,697,4.122]],["t/119",[8,1.513,10,2.74,15,1.724,19,3.72,36,1.724,48,0.926,63,3.197,72,1.848,83,2.248,121,2.465,122,3.408,127,1.99,168,3.117,182,1.724,201,2.351,340,3.375,346,2.74,500,4.252,510,4.252,591,2.351,601,3.537,629,3.375,654,3.117,698,4.243,699,4.243,700,3.72,701,4.243]],["t/121",[0,0.56,8,1.559,48,0.699,89,1.662,105,2.316,116,1.662,122,2.573,126,2.54,128,1.905,130,2.316,137,3,139,2.823,182,1.777,216,2.54,298,3.212,510,4.914,511,2.54,587,3,591,2.422,601,2.672,606,3.212,654,3.212,702,5.908,703,4.373,704,4.373,705,4.373,706,3.833,707,3.833,708,4.373,709,3,710,3.212]],["t/123",[0,0.465,31,2.822,74,3.078,116,2.112,117,2.337,147,2.51,167,3.812,202,2.421,245,3.228,299,4.082,319,4.871,447,3.396,709,3.812,711,5.557,712,4.419,713,4.419]],["t/125",[0,0.39,31,2.367,46,1.018,48,0.745,50,1.735,51,2.186,56,1.865,57,2.491,81,1.914,85,3.009,110,2.022,121,3.233,122,2.03,123,2.149,126,1.819,128,1.365,130,1.659,136,1.819,145,2.022,146,2.367,147,2.106,152,2.341,153,2.425,154,4.221,155,2.149,158,3.707,174,1.819,189,1.735,191,3.424,193,3.083,241,2.367,279,1.415,297,2.848,313,3.707,317,2.746,388,2.149,412,2.746,513,2.848,714,2.746,715,2.746,716,3.133,717,3.133,718,2.746,719,3.133,720,3.133,721,2.301,722,3.133]],["t/127",[31,2.39,41,2.734,52,2.295,56,1.577,72,2.05,121,2.734,145,4.006,146,3.151,147,3.136,148,3.743,149,3.039,152,2.609,153,2.703,154,3.792,155,3.229,171,3.229,174,2.734,193,2.607,194,3.457,384,3.457,499,3.743,723,4.707,724,4.707]],["t/129",[0,0.612,15,1.362,28,3.599,31,1.702,36,1.362,51,1.572,52,1.634,56,1.123,116,2.849,121,1.947,122,1.46,145,4.113,146,2.94,147,2.878,149,2.164,151,1.857,152,2.06,153,1.46,154,4.326,155,4.649,158,3.896,159,1.857,161,3.896,162,4.295,163,2.164,221,2.666,725,3.352,726,6.371,727,3.352]],["t/131",[0,0.447,15,2.174,20,3.107,50,2.964,52,2.609,56,1.792,72,2.331,116,2.034,121,3.107,146,2.716,147,2.417,149,3.454,152,2.834,153,2.936,154,3.269,188,4.69,728,4.69]],["t/133",[15,2.363,48,0.788,52,1.647,92,1.526,102,1.962,104,1.421,106,2.686,110,2.181,116,1.284,137,3.38,147,2.226,152,2.072,153,2.147,154,2.064,155,2.317,167,3.38,168,2.481,169,2.064,171,2.317,181,2.317,202,1.472,208,1.647,224,2.961,261,2.064,279,1.526,293,2.481,299,3.619,301,2.686,325,2.481,326,2.686,344,2.686,384,2.481,406,2.181,465,2.686,562,2.961,622,2.686,635,2.961,709,2.317,710,2.481,712,2.686,713,2.686,714,2.961,721,2.481,729,2.686,730,3.378,731,3.378,732,3.378,733,3.378,734,4.319,735,3.378,736,2.481,737,3.378,738,2.961,739,3.378,740,3.378,741,3.378]],["t/135",[0,0.481,48,0.672,52,2.049,53,2.713,60,2.049,77,3.34,79,1.898,102,2.441,116,2.492,117,2.756,118,3.683,119,3.086,126,3.34,136,2.441,167,2.883,169,2.568,214,1.971,239,3.086,277,2.713,279,1.898,280,3.683,299,4.814,325,3.086,687,3.683,692,3.086,694,3.683,718,3.683,742,5.75,743,4.202,744,4.202,745,4.202]],["t/137",[0,0.49,8,2.089,13,4.02,15,2.381,46,1.904,48,0.937,126,3.403,127,2.748,130,3.104,347,5.136,370,4.02,607,3.783]],["t/139",[42,3.437,50,2.084,63,1.699,89,1.43,90,4.991,103,2.991,116,1.43,146,1.91,151,2.084,152,1.582,153,1.639,169,2.299,193,2.084,201,2.084,202,3.207,241,2.703,260,3.297,313,2.991,359,2.581,401,4.609,452,2.299,506,2.763,630,2.763,631,2.763,632,2.991,665,2.991,712,2.991,746,3.762,747,3.762,748,3.762,749,3.762,750,3.762,751,3.762,752,3.762,753,3.762,754,3.762]],["t/141",[89,2.322,116,2.322,147,2.759,174,3.548,193,3.384,401,4.191,506,4.487,738,5.355,755,6.109]],["t/143",[15,3.105,42,3.33,89,1.961,90,3.33,102,2.996,114,2.996,128,2.247,147,2.33,316,3.538,370,3.538,395,3.538,506,3.789,601,3.152,684,4.521,736,3.789,756,5.158,757,5.158,758,4.521,759,5.158]],["t/145",[36,2.071,72,2.22,89,1.937,114,2.96,128,2.22,147,2.302,202,2.847,214,2.39,241,2.588,300,4.053,339,3.993,355,4.468,356,4.468,432,4.468,435,4.468,760,5.097,761,5.097,762,5.097,763,5.097,764,5.097,765,5.097]],["t/147",[4,2.737,20,2.224,51,1.796,76,2.472,89,1.455,91,2.028,112,2.626,117,1.61,135,2.028,151,2.121,166,4.3,176,3.045,182,2.534,183,4.3,185,3.356,274,3.045,401,3.698,505,4.286,683,3.356,734,3.356,766,3.829,767,3.829,768,3.829,769,3.829,770,3.829,771,3.829,772,3.829,773,3.829,774,3.829,775,3.829,776,3.356,777,3.356,778,3.829,779,3.829,780,3.829,781,3.829]],["t/149",[0,0.315,4,1.91,8,1.341,25,1.91,42,2.429,48,0.602,59,1.91,63,1.699,67,2.429,68,2.185,73,2.581,74,2.084,75,2.185,76,2.429,90,2.429,117,1.582,124,2.581,136,2.185,147,1.699,166,2.185,176,2.991,182,1.528,183,2.185,184,2.299,203,3.297,206,2.581,312,2.763,439,2.299,467,2.429,494,3.297,527,4.234,566,3.297,567,2.763,569,2.763,645,2.763,782,3.762,783,3.297,784,3.762,785,3.762,786,3.762,787,3.762,788,3.762,789,3.762,790,3.297,791,3.762,792,3.297,793,3.762,794,3.297,795,3.762,796,3.762,797,3.762,798,3.297]],["t/151",[0,0.307,9,1.057,10,2.367,15,2.852,48,1.062,72,1.597,89,1.987,91,1.942,92,1.656,102,2.129,126,2.129,145,2.367,147,3,166,3.036,179,2.367,180,3.194,181,2.515,208,1.787,249,2.915,282,2.692,382,2.515,470,2.515,580,3.213,598,2.915,601,3.194,721,2.692,729,2.915,736,2.692,758,3.213,790,3.213,799,3.666,800,3.666,801,3.666,802,3.666,803,3.666,804,3.666,805,3.666,806,3.666,807,3.666,808,3.213,809,3.213,810,3.666]],["t/153",[0,0.446,9,0.842,15,2.168,31,2.245,42,1.885,46,0.949,48,1.023,49,3.661,56,0.978,60,1.424,63,2.411,66,1.696,92,1.997,105,1.547,114,2.568,116,1.681,126,1.696,129,2.322,130,2.342,137,2.003,139,1.885,147,2.411,149,1.885,152,1.228,174,1.696,179,2.855,180,3.261,181,3.033,182,1.797,183,1.696,194,2.145,195,2.702,201,1.618,202,1.272,214,1.37,215,2.145,237,2.322,238,2.56,279,1.319,284,1.885,295,1.885,322,3.516,386,2.322,406,2.855,564,3.876,590,2.003,598,2.322,601,1.784,672,2.322,709,2.003,710,2.145,713,2.322,721,2.145,736,3.92,811,2.92,812,2.92]],["t/155",[0,0.559,51,2.478,69,4.202,74,4.064,141,3.881,208,2.577,283,3.881,304,4.202,342,3.229,508,4.632,534,3.881,565,4.632,582,5.862,602,4.202,813,5.285,814,4.632]],["t/157",[60,2.336,74,2.654,104,2.015,105,2.538,110,3.093,214,1.525,245,1.888,286,3.81,287,4.992,288,2.849,289,4.199,290,4.992,291,2.849,292,2.782,293,4.179,297,1.986,300,2.585,342,2.927,365,2.099,690,4.199,728,2.849,815,2.849,816,3.251,817,3.251,818,6.693,819,5.689,820,4.791,821,3.251,822,3.251,823,3.251,824,4.791,825,4.791,826,3.251,827,3.251,828,3.251,829,3.251,830,3.251,831,3.251,832,3.251,833,3.251,834,3.251,835,3.251,836,3.251,837,2.849]],["t/159",[0,0.272,1,2.23,9,0.938,39,2.388,46,1.557,48,0.91,74,3.879,77,1.888,79,2.57,81,1.986,104,2.64,105,3.325,110,3.093,211,2.585,212,2.388,282,2.388,285,2.388,286,2.585,287,2.585,290,2.585,292,2.782,293,2.388,295,2.099,342,1.986,346,2.099,371,2.849,379,2.099,388,2.23,419,3.519,434,2.849,439,1.986,505,3.81,682,2.849,691,3.81,692,3.519,715,2.849,729,2.585,815,2.849,838,3.251,839,3.251,840,3.251,841,3.251,842,3.251,843,3.251,844,3.251,845,3.251,846,3.251,847,3.251,848,3.251]],["t/161",[0,0.511,46,1.985,51,2.865,182,2.482,183,3.548,274,4.858,776,5.355,777,5.355,849,6.109]],["t/163",[0,0.484,20,3.358,127,2.711,183,3.358,362,4.597,563,4.597,837,5.067,850,4.597,851,5.067,852,5.067,853,5.781,854,5.781,855,5.781]],["t/165",[66,2.996,116,1.961,130,2.732,136,2.996,141,3.789,171,3.538,182,2.675,241,2.619,316,3.538,599,4.521,794,4.521,850,4.102,856,5.158,857,4.521,858,5.158,859,5.158,860,5.158,861,5.158,862,5.158,863,5.158,864,5.158]],["t/167",[0,0.453,48,0.866,127,2.541,184,3.31,208,2.641,277,3.498,285,3.979,310,3.001,312,3.979,316,3.716,379,3.498,656,4.749,865,5.417,866,4.308,867,4.749,868,4.308,869,4.749,870,4.749]],["t/169",[0,0.474,48,1,49,2.213,76,2.083,102,1.874,127,1.513,161,2.566,174,1.874,184,4.267,207,2.37,235,2.828,236,2.828,261,1.972,263,2.213,279,1.457,295,3.076,310,1.787,332,2.213,341,2.213,358,2.37,362,3.789,406,2.083,466,2.37,511,2.767,541,2.083,620,2.37,851,4.176,857,2.828,866,2.566,867,2.828,868,2.566,871,3.226,872,3.789,873,3.226,874,4.965,875,3.226,876,3.226,877,3.226,878,3.226,879,3.226,880,3.226,881,2.566,882,3.226,883,2.828,884,2.566,885,2.566,886,3.226,887,3.226,888,2.828,889,2.828,890,3.226,891,3.226,892,3.226,893,3.226,894,3.226]],["t/171",[48,0.607,59,1.927,91,2.01,102,2.204,128,1.653,135,2.01,148,3.018,263,2.603,310,2.102,312,2.787,379,2.45,398,2.787,406,2.45,447,2.319,511,3.917,620,2.787,700,3.326,706,3.326,707,4.695,792,3.326,798,3.326,869,3.326,870,3.326,874,6.471,884,3.018,885,4.26,895,3.795,896,3.795,897,5.357,898,3.795,899,3.795,900,3.795,901,3.795,902,5.357,903,3.326,904,3.795,905,3.795,906,3.795,907,3.795,908,3.795]],["t/173",[0,0.407,51,2.975,184,2.974,208,2.373,261,3.876,379,4.095,395,3.339,661,5.044,872,3.87,909,4.867,910,4.867,911,6.343,912,4.867,913,4.867,914,6.343,915,4.867,916,4.867,917,4.867,918,4.867,919,4.867,920,4.867]],["t/175",[0,0.412,15,2,45,3.008,48,1.201,91,2.607,92,2.223,184,3.008,245,2.859,261,3.008,263,3.377,279,2.223,680,4.315,872,3.914,881,3.914,883,4.315,884,3.914,885,3.914,888,4.315,889,4.315,921,4.922,922,4.922,923,4.922,924,4.922]],["t/177",[0,0.27,46,1.048,48,1.264,105,3.699,116,1.226,130,1.709,136,1.874,137,4.791,139,4.509,150,2.566,163,3.657,180,1.972,184,2.911,215,2.37,302,2.083,452,3.461,470,3.886,499,2.566,709,4.577,710,4.901,925,5.664,926,5.664,927,4.764,928,5.664]],["t/179",[0,0.358,60,2.09,73,2.94,79,1.936,119,4.28,141,3.148,169,2.619,186,3.408,187,3.757,202,1.867,239,3.148,277,2.767,292,2.489,310,2.374,311,3.757,349,3.757,439,2.619,441,3.148,452,2.619,483,3.408,527,3.408,569,3.148,691,3.408,692,3.148,783,3.757,814,3.757,866,3.408,868,3.408,881,3.408,929,4.286,930,4.286,931,4.286,932,4.286,933,5.828,934,4.286,935,4.286,936,4.286]],["t/181",[166,3.706,326,5.074,419,4.686,567,4.686,937,6.38,938,6.38]],["t/183",[0,0.497,4,3.016,120,3.63,127,2.786,166,3.45,212,4.363,401,4.075,563,4.724,809,6.302,939,5.94]],["t/185",[46,2.137,124,4.51,166,3.819,940,5.763]],["t/187",[8,1.839,9,1.488,89,1.961,117,2.169,124,4.517,165,3.789,166,4.213,179,3.33,181,3.538,245,2.996,398,3.789,485,3.538,552,3.538,808,4.521,850,4.102,852,4.521,903,4.521,940,4.521,941,5.158]]],"invertedIndex":[["",{"_index":48,"t":{"4":{"position":[[470,1],[540,3]]},"6":{"position":[[60,1],[75,1],[518,1]]},"8":{"position":[[307,1],[401,1]]},"10":{"position":[[242,1],[1170,1],[1409,1],[1422,1],[1899,3]]},"26":{"position":[[397,3]]},"28":{"position":[[190,1]]},"40":{"position":[[74,1],[120,1],[172,1],[294,1],[407,1],[886,1],[1110,3]]},"42":{"position":[[160,3]]},"50":{"position":[[41,1],[130,1],[526,3]]},"52":{"position":[[20,1],[107,1],[210,1],[280,1],[360,1]]},"58":{"position":[[138,1]]},"60":{"position":[[447,1],[489,1],[520,1],[544,1],[820,3]]},"62":{"position":[[377,1]]},"64":{"position":[[363,1]]},"66":{"position":[[209,1]]},"68":{"position":[[153,1],[336,3]]},"70":{"position":[[50,1],[481,1],[544,3]]},"73":{"position":[[236,1],[498,1],[516,1],[724,3]]},"75":{"position":[[142,1],[198,1],[342,1]]},"87":{"position":[[450,1],[458,1]]},"89":{"position":[[87,1],[100,1],[111,2],[119,2],[129,2],[140,2],[150,2],[160,2],[169,1]]},"91":{"position":[[30,1],[350,1]]},"93":{"position":[[76,1],[120,1],[177,1]]},"97":{"position":[[182,1],[252,3]]},"99":{"position":[[397,1]]},"101":{"position":[[29,1]]},"103":{"position":[[193,1],[275,1],[365,1],[445,1],[533,1],[620,1]]},"105":{"position":[[91,2],[541,2],[584,2],[624,1],[692,1]]},"107":{"position":[[319,1]]},"109":{"position":[[380,2]]},"111":{"position":[[13,1],[41,2],[72,1],[106,2],[138,1],[172,2],[198,1],[217,1],[223,3],[249,3],[275,3],[300,2],[325,3],[353,2],[418,1],[568,1],[697,1]]},"115":{"position":[[164,2],[194,2],[235,2],[278,1],[334,2],[366,1],[480,2],[512,1],[541,1],[571,1]]},"117":{"position":[[99,1],[166,1]]},"119":{"position":[[228,1],[263,1]]},"121":{"position":[[240,1]]},"125":{"position":[[548,3],[683,3]]},"133":{"position":[[341,1],[350,1]]},"135":{"position":[[176,1]]},"137":{"position":[[91,1]]},"149":{"position":[[38,1]]},"151":{"position":[[71,1],[100,2],[141,1],[218,1]]},"153":{"position":[[64,2],[74,1],[214,1],[226,1],[624,1]]},"159":{"position":[[365,1],[456,3],[700,3]]},"167":{"position":[[159,1]]},"169":{"position":[[11,1],[146,1],[300,1],[445,1]]},"171":{"position":[[55,1]]},"175":{"position":[[7,1],[64,1],[117,1],[152,1]]},"177":{"position":[[72,1],[98,2],[141,1],[165,2],[197,1],[274,1],[297,1],[336,1],[360,1],[394,1],[437,2],[446,1]]}}}],["0",{"_index":538,"t":{"85":{"position":[[203,2]]}}}],["0–3",{"_index":871,"t":{"169":{"position":[[52,3]]}}}],["1",{"_index":501,"t":{"75":{"position":[[174,1],[234,1]]}}}],["1.25",{"_index":232,"t":{"26":{"position":[[220,6]]}}}],["1.56",{"_index":233,"t":{"26":{"position":[[227,10]]}}}],["1/4",{"_index":657,"t":{"109":{"position":[[498,3]]}}}],["10",{"_index":234,"t":{"26":{"position":[[244,2]]},"111":{"position":[[489,2]]}}}],["100",{"_index":70,"t":{"6":{"position":[[395,3]]},"24":{"position":[[28,3]]},"85":{"position":[[206,4]]}}}],["10am",{"_index":855,"t":{"163":{"position":[[122,5]]}}}],["12",{"_index":635,"t":{"105":{"position":[[726,3]]},"133":{"position":[[492,2]]}}}],["12.3",{"_index":633,"t":{"105":{"position":[[649,8]]}}}],["120",{"_index":892,"t":{"169":{"position":[[567,3]]}}}],["127.0.0.1:11434",{"_index":835,"t":{"157":{"position":[[457,17]]}}}],["14.5",{"_index":685,"t":{"115":{"position":[[387,8]]}}}],["15",{"_index":856,"t":{"165":{"position":[[14,2]]}}}],["15.1",{"_index":667,"t":{"111":{"position":[[366,8]]}}}],["18.7",{"_index":634,"t":{"105":{"position":[[717,8]]}}}],["1:1",{"_index":192,"t":{"10":{"position":[[1637,3]]},"40":{"position":[[448,3]]}}}],["1s",{"_index":231,"t":{"26":{"position":[[215,4]]}}}],["2",{"_index":860,"t":{"165":{"position":[[54,1]]}}}],["2/4",{"_index":625,"t":{"105":{"position":[[283,3]]}}}],["20",{"_index":3,"t":{"2":{"position":[[25,4]]}}}],["20250514",{"_index":826,"t":{"157":{"position":[[208,8]]}}}],["21",{"_index":887,"t":{"169":{"position":[[481,2]]}}}],["25",{"_index":491,"t":{"73":{"position":[[462,2],[662,2]]}}}],["3",{"_index":894,"t":{"169":{"position":[[597,2]]}}}],["4",{"_index":690,"t":{"117":{"position":[[152,2]]},"157":{"position":[[206,1],[278,1]]}}}],["403",{"_index":578,"t":{"99":{"position":[[138,3]]}}}],["4o",{"_index":819,"t":{"157":{"position":[[129,2],[156,2],[169,3]]}}}],["5",{"_index":358,"t":{"52":{"position":[[293,3]]},"62":{"position":[[403,3]]},"105":{"position":[[679,1]]},"169":{"position":[[177,1]]}}}],["50",{"_index":550,"t":{"87":{"position":[[363,3]]}}}],["5s",{"_index":273,"t":{"36":{"position":[[370,2]]}}}],["60",{"_index":236,"t":{"26":{"position":[[262,2]]},"169":{"position":[[308,2]]}}}],["8.2",{"_index":666,"t":{"111":{"position":[[313,7]]},"115":{"position":[[299,7]]}}}],["900",{"_index":877,"t":{"169":{"position":[[207,3]]}}}],["9am",{"_index":852,"t":{"163":{"position":[[54,3]]},"187":{"position":[[20,3]]}}}],["a1",{"_index":623,"t":{"105":{"position":[[130,4],[426,2],[550,3],[634,4]]},"109":{"position":[[419,4]]},"111":{"position":[[84,2],[219,3],[245,3],[296,3],[702,2]]},"115":{"position":[[173,3],[203,3],[286,2],[483,3]]}}}],["a2",{"_index":624,"t":{"105":{"position":[[199,4],[459,2],[593,3],[702,4]]},"111":{"position":[[150,2],[271,3],[321,3],[349,3],[724,2]]},"115":{"position":[[244,3],[343,3],[374,2],[543,3]]}}}],["abov",{"_index":431,"t":{"64":{"position":[[410,5]]}}}],["accept",{"_index":305,"t":{"40":{"position":[[609,9]]}}}],["access",{"_index":152,"t":{"10":{"position":[[478,6],[651,6],[724,6],[983,6],[1543,7],[1607,6]]},"40":{"position":[[430,6]]},"52":{"position":[[353,6]]},"60":{"position":[[279,6],[372,7]]},"64":{"position":[[356,6]]},"73":{"position":[[446,6]]},"93":{"position":[[63,6],[150,6]]},"97":{"position":[[261,6]]},"111":{"position":[[529,6]]},"125":{"position":[[29,6],[173,6],[433,7]]},"127":{"position":[[84,6],[137,7]]},"129":{"position":[[246,6],[523,6]]},"131":{"position":[[44,6],[135,6]]},"133":{"position":[[376,6],[548,6]]},"139":{"position":[[406,6]]},"153":{"position":[[637,6]]}}}],["account",{"_index":449,"t":{"70":{"position":[[33,7],[362,9]]},"73":{"position":[[63,7]]},"75":{"position":[[375,7]]},"79":{"position":[[53,7]]},"93":{"position":[[164,7]]},"95":{"position":[[43,7]]},"99":{"position":[[128,9],[173,7],[487,7]]}}}],["act",{"_index":329,"t":{"50":{"position":[[12,3]]}}}],["action",{"_index":150,"t":{"10":{"position":[[420,7]]},"89":{"position":[[182,6]]},"177":{"position":[[28,6]]}}}],["activ",{"_index":511,"t":{"79":{"position":[[77,6],[416,6]]},"91":{"position":[[188,7]]},"99":{"position":[[244,6]]},"105":{"position":[[111,10],[268,6]]},"109":{"position":[[400,10],[483,6]]},"121":{"position":[[19,7]]},"169":{"position":[[357,6],[447,6]]},"171":{"position":[[130,6],[172,6],[256,6],[401,6]]}}}],["ad",{"_index":924,"t":{"175":{"position":[[119,5]]}}}],["add",{"_index":328,"t":{"48":{"position":[[0,3]]},"73":{"position":[[518,3]]},"85":{"position":[[316,3]]},"87":{"position":[[473,4]]}}}],["addit",{"_index":715,"t":{"125":{"position":[[148,10]]},"159":{"position":[[637,10]]}}}],["address",{"_index":281,"t":{"40":{"position":[[97,7]]},"58":{"position":[[324,8]]},"73":{"position":[[540,9]]}}}],["admin",{"_index":154,"t":{"10":{"position":[[543,6],[866,5],[922,5]]},"36":{"position":[[216,5]]},"125":{"position":[[47,6],[94,5],[205,6],[270,6],[449,5],[518,6]]},"127":{"position":[[39,5],[171,6]]},"129":{"position":[[56,7],[313,5],[383,5],[432,5],[462,5],[530,8]]},"131":{"position":[[104,5]]},"133":{"position":[[407,6]]}}}],["again",{"_index":113,"t":{"8":{"position":[[262,5]]},"10":{"position":[[1572,5]]},"93":{"position":[[333,6]]},"99":{"position":[[320,6]]}}}],["agent",{"_index":8,"t":{"2":{"position":[[78,5],[136,5]]},"6":{"position":[[110,5]]},"10":{"position":[[199,5]]},"40":{"position":[[88,5],[109,5]]},"60":{"position":[[326,6],[685,6]]},"62":{"position":[[162,5],[209,5]]},"73":{"position":[[165,5]]},"101":{"position":[[78,6],[161,5]]},"103":{"position":[[15,6],[226,6],[492,6],[598,6],[637,6]]},"105":{"position":[[100,5],[122,7],[191,7],[275,7],[323,6],[340,7],[412,7],[420,5],[453,5],[544,5],[587,5],[626,7],[694,7],[762,6]]},"107":{"position":[[20,7],[41,6],[102,6],[157,7],[230,8],[305,5]]},"109":{"position":[[39,7],[90,5],[188,6],[234,5],[389,5],[411,7],[490,7],[538,5],[587,7]]},"111":{"position":[[20,5],[78,5],[144,5],[384,6],[497,7]]},"113":{"position":[[347,6]]},"115":{"position":[[85,5],[167,5],[197,5],[238,5],[280,5],[337,5],[368,5],[427,8],[470,9]]},"117":{"position":[[4,6],[307,6],[364,6]]},"119":{"position":[[4,6]]},"121":{"position":[[145,6]]},"137":{"position":[[97,5]]},"149":{"position":[[171,5]]},"187":{"position":[[73,5]]}}}],["agent'",{"_index":668,"t":{"111":{"position":[[429,7]]}}}],["ai",{"_index":588,"t":{"101":{"position":[[75,2]]},"103":{"position":[[12,2]]}}}],["album",{"_index":520,"t":{"83":{"position":[[57,7]]},"85":{"position":[[45,6]]}}}],["allow",{"_index":181,"t":{"10":{"position":[[1411,5]]},"133":{"position":[[335,5]]},"151":{"position":[[383,7]]},"153":{"position":[[216,5],[609,5]]},"187":{"position":[[135,7]]}}}],["alongsid",{"_index":345,"t":{"50":{"position":[[216,9]]},"52":{"position":[[47,9]]},"58":{"position":[[190,9]]},"66":{"position":[[166,9]]},"68":{"position":[[76,9]]}}}],["alreadi",{"_index":217,"t":{"18":{"position":[[155,7]]},"26":{"position":[[362,8]]},"42":{"position":[[189,7]]}}}],["alway",{"_index":721,"t":{"125":{"position":[[667,6]]},"133":{"position":[[343,6]]},"151":{"position":[[260,8]]},"153":{"position":[[595,6]]}}}],["analyz",{"_index":654,"t":{"109":{"position":[[443,8]]},"115":{"position":[[307,9]]},"119":{"position":[[107,7]]},"121":{"position":[[40,7]]}}}],["anthrop",{"_index":288,"t":{"40":{"position":[[212,10]]},"157":{"position":[[182,9]]}}}],["anthropic_api_key",{"_index":827,"t":{"157":{"position":[[217,17]]}}}],["anyon",{"_index":492,"t":{"73":{"position":[[553,6]]}}}],["anyth",{"_index":479,"t":{"73":{"position":[[121,8]]}}}],["anywher",{"_index":385,"t":{"60":{"position":[[144,8]]},"97":{"position":[[337,8]]}}}],["api",{"_index":104,"t":{"8":{"position":[[159,3]]},"10":{"position":[[127,3]]},"40":{"position":[[992,3]]},"52":{"position":[[349,3]]},"56":{"position":[[81,3]]},"60":{"position":[[61,4],[169,4]]},"64":{"position":[[352,3]]},"68":{"position":[[174,3]]},"70":{"position":[[501,3]]},"97":{"position":[[160,3],[363,3]]},"99":{"position":[[217,4],[571,3]]},"105":{"position":[[19,3],[166,3],[445,3],[664,3]]},"115":{"position":[[498,3]]},"133":{"position":[[194,3]]},"157":{"position":[[23,3],[392,3]]},"159":{"position":[[29,3],[218,3],[357,3],[691,3]]}}}],["app",{"_index":459,"t":{"70":{"position":[[175,3]]},"73":{"position":[[85,4],[99,3],[140,3],[390,3]]}}}],["app'",{"_index":486,"t":{"73":{"position":[[280,5],[483,5]]}}}],["appear",{"_index":195,"t":{"10":{"position":[[1805,6]]},"50":{"position":[[379,6]]},"52":{"position":[[39,7]]},"58":{"position":[[183,6]]},"66":{"position":[[158,7]]},"115":{"position":[[115,6]]},"153":{"position":[[422,7],[503,6]]}}}],["append",{"_index":433,"t":{"66":{"position":[[61,7]]}}}],["appropri",{"_index":264,"t":{"36":{"position":[[163,11]]}}}],["approv",{"_index":147,"t":{"10":{"position":[[392,10],[525,8],[572,7],[600,7],[781,8],[1721,7],[1849,8]]},"111":{"position":[[584,7]]},"123":{"position":[[122,8]]},"125":{"position":[[216,7],[529,7]]},"127":{"position":[[21,7],[156,8],[254,9]]},"129":{"position":[[47,8],[111,7],[133,7],[304,8]]},"131":{"position":[[79,9]]},"133":{"position":[[316,9],[458,8]]},"141":{"position":[[60,8]]},"143":{"position":[[158,7]]},"145":{"position":[[177,9]]},"149":{"position":[[268,8]]},"151":{"position":[[132,8],[209,8],[284,7],[429,8]]},"153":{"position":[[151,9],[241,8],[672,9]]}}}],["approve/reject",{"_index":723,"t":{"127":{"position":[[69,14]]}}}],["approve_command",{"_index":757,"t":{"143":{"position":[[130,15]]}}}],["approve_scop",{"_index":753,"t":{"139":{"position":[[373,13]]}}}],["architectur",{"_index":848,"t":{"159":{"position":[[594,12]]}}}],["arriv",{"_index":172,"t":{"10":{"position":[[1182,6]]}}}],["arrow",{"_index":139,"t":{"10":{"position":[[272,5]]},"79":{"position":[[313,5]]},"89":{"position":[[52,5]]},"121":{"position":[[260,5]]},"153":{"position":[[407,5]]},"177":{"position":[[57,5],[126,5],[182,5],[259,5],[321,5],[379,5]]}}}],["artist",{"_index":519,"t":{"83":{"position":[[48,8]]},"87":{"position":[[443,6]]}}}],["ask",{"_index":180,"t":{"10":{"position":[[1401,4]]},"40":{"position":[[54,4],[569,4]]},"103":{"position":[[90,3]]},"113":{"position":[[314,3]]},"151":{"position":[[194,6],[247,3]]},"153":{"position":[[26,4],[67,3],[84,4]]},"177":{"position":[[220,4]]}}}],["ask_us",{"_index":705,"t":{"121":{"position":[[178,8]]}}}],["assigne",{"_index":425,"t":{"64":{"position":[[248,9],[320,9]]}}}],["assist",{"_index":373,"t":{"58":{"position":[[14,8]]}}}],["attach",{"_index":210,"t":{"16":{"position":[[40,8]]},"46":{"position":[[40,8]]}}}],["attribut",{"_index":368,"t":{"56":{"position":[[46,11]]}}}],["audio",{"_index":562,"t":{"91":{"position":[[81,5]]},"133":{"position":[[128,6]]}}}],["auth",{"_index":502,"t":{"75":{"position":[[357,4]]},"77":{"position":[[32,4],[278,4],[433,5]]},"79":{"position":[[100,4],[177,4]]},"93":{"position":[[328,4]]},"95":{"position":[[70,4]]},"99":{"position":[[352,4],[392,4],[462,4]]}}}],["authent",{"_index":381,"t":{"60":{"position":[[32,12]]},"97":{"position":[[132,12]]}}}],["author",{"_index":338,"t":{"50":{"position":[[113,8]]},"52":{"position":[[3,8]]},"58":{"position":[[58,8],[317,6]]},"66":{"position":[[74,8]]},"77":{"position":[[49,13],[171,13]]},"79":{"position":[[196,13]]}}}],["auto",{"_index":92,"t":{"6":{"position":[[726,5]]},"26":{"position":[[327,4]]},"28":{"position":[[103,4]]},"36":{"position":[[222,4]]},"44":{"position":[[159,4]]},"77":{"position":[[203,4]]},"93":{"position":[[91,4]]},"103":{"position":[[647,4]]},"111":{"position":[[579,4]]},"117":{"position":[[94,4],[101,4],[161,4],[168,6],[386,4]]},"133":{"position":[[156,4]]},"151":{"position":[[127,4]]},"153":{"position":[[236,4],[667,4]]},"175":{"position":[[154,4]]}}}],["automat",{"_index":208,"t":{"14":{"position":[[197,13]]},"26":{"position":[[176,13]]},"36":{"position":[[49,13]]},"58":{"position":[[30,13]]},"62":{"position":[[258,13]]},"66":{"position":[[47,13]]},"93":{"position":[[237,13]]},"133":{"position":[[223,13]]},"151":{"position":[[419,9]]},"155":{"position":[[77,14]]},"167":{"position":[[97,13]]},"173":{"position":[[229,14]]}}}],["avail",{"_index":302,"t":{"40":{"position":[[517,9]]},"50":{"position":[[348,12],[499,9]]},"79":{"position":[[365,9]]},"83":{"position":[[146,9]]},"91":{"position":[[144,10]]},"177":{"position":[[210,9]]}}}],["avatar",{"_index":353,"t":{"52":{"position":[[32,6]]},"58":{"position":[[171,6]]},"66":{"position":[[151,6]]}}}],["avoid",{"_index":26,"t":{"4":{"position":[[186,5]]}}}],["awar",{"_index":615,"t":{"103":{"position":[[614,5]]}}}],["back",{"_index":141,"t":{"10":{"position":[[302,4]]},"155":{"position":[[72,4]]},"165":{"position":[[167,4]]},"179":{"position":[[207,4]]}}}],["background",{"_index":59,"t":{"6":{"position":[[163,10],[298,10],[345,10]]},"12":{"position":[[18,10]]},"14":{"position":[[34,10]]},"18":{"position":[[95,10]]},"20":{"position":[[60,10]]},"26":{"position":[[107,10]]},"44":{"position":[[34,10]]},"46":{"position":[[253,10]]},"103":{"position":[[511,10]]},"149":{"position":[[496,10]]},"171":{"position":[[69,10]]}}}],["backoff",{"_index":230,"t":{"26":{"position":[[207,7]]},"44":{"position":[[214,8]]}}}],["bar",{"_index":553,"t":{"87":{"position":[[469,3]]},"89":{"position":[[245,4]]}}}],["base",{"_index":419,"t":{"64":{"position":[[85,4]]},"103":{"position":[[407,5]]},"159":{"position":[[227,4],[678,4]]},"181":{"position":[[20,5]]}}}],["basic",{"_index":931,"t":{"179":{"position":[[215,5]]}}}],["becom",{"_index":317,"t":{"44":{"position":[[73,7]]},"125":{"position":[[82,7]]}}}],["befor",{"_index":49,"t":{"4":{"position":[[509,6]]},"91":{"position":[[96,6]]},"93":{"position":[[251,6]]},"153":{"position":[[106,6],[441,6],[709,6]]},"169":{"position":[[148,6]]}}}],["before/aft",{"_index":37,"t":{"4":{"position":[[307,12]]}}}],["behavior",{"_index":700,"t":{"119":{"position":[[82,8]]},"171":{"position":[[214,10]]}}}],["benefit",{"_index":653,"t":{"109":{"position":[[295,7]]},"113":{"position":[[114,8]]}}}],["between",{"_index":613,"t":{"103":{"position":[[590,7]]}}}],["block",{"_index":598,"t":{"103":{"position":[[205,6],[436,8]]},"151":{"position":[[63,7]]},"153":{"position":[[299,9]]}}}],["board",{"_index":642,"t":{"107":{"position":[[204,5]]}}}],["bodi",{"_index":416,"t":{"64":{"position":[[62,5],[302,5]]}}}],["boot",{"_index":93,"t":{"6":{"position":[[741,5]]},"36":{"position":[[66,4],[450,4]]}}}],["bot",{"_index":299,"t":{"40":{"position":[[397,3],[741,3]]},"123":{"position":[[35,3]]},"133":{"position":[[474,3],[529,3]]},"135":{"position":[[75,3],[150,3],[306,3]]}}}],["botfath",{"_index":742,"t":{"135":{"position":[[90,11],[165,10]]}}}],["both",{"_index":129,"t":{"10":{"position":[[60,4]]},"105":{"position":[[389,4],[757,4]]},"153":{"position":[[191,4]]}}}],["bottleneck",{"_index":600,"t":{"103":{"position":[[244,11]]}}}],["brain",{"_index":187,"t":{"10":{"position":[[1497,5]]},"179":{"position":[[7,5]]}}}],["brain.db",{"_index":936,"t":{"179":{"position":[[381,8]]}}}],["brain/second",{"_index":935,"t":{"179":{"position":[[368,12]]}}}],["branch",{"_index":418,"t":{"64":{"position":[[73,7],[90,6]]}}}],["break",{"_index":599,"t":{"103":{"position":[[233,5]]},"165":{"position":[[35,6]]}}}],["broadcast",{"_index":739,"t":{"133":{"position":[[440,10]]}}}],["browser",{"_index":457,"t":{"70":{"position":[[158,7]]},"77":{"position":[[95,7],[195,7],[317,8]]},"79":{"position":[[122,8]]},"99":{"position":[[327,7]]}}}],["budget",{"_index":76,"t":{"6":{"position":[[475,6]]},"8":{"position":[[394,6],[420,6]]},"10":{"position":[[221,7],[1207,7],[1226,6],[1240,7],[1266,6],[1289,7],[1323,7],[1358,6]]},"147":{"position":[[439,6]]},"149":{"position":[[142,7]]},"169":{"position":[[216,7]]}}}],["budget_statu",{"_index":781,"t":{"147":{"position":[[413,13]]}}}],["bug",{"_index":357,"t":{"52":{"position":[[243,3]]}}}],["build",{"_index":620,"t":{"105":{"position":[[5,6],[154,6],[432,8]]},"115":{"position":[[487,5]]},"169":{"position":[[328,6]]},"171":{"position":[[191,8]]}}}],["built",{"_index":13,"t":{"4":{"position":[[19,5]]},"36":{"position":[[425,5]]},"50":{"position":[[236,5]]},"105":{"position":[[668,5]]},"137":{"position":[[14,5]]}}}],["busi",{"_index":646,"t":{"107":{"position":[[314,4]]}}}],["button",{"_index":710,"t":{"121":{"position":[[300,8]]},"133":{"position":[[357,7]]},"153":{"position":[[495,7]]},"177":{"position":[[90,7],[157,7],[289,7],[352,7],[429,7]]}}}],["call",{"_index":370,"t":{"56":{"position":[[85,6]]},"87":{"position":[[174,5],[231,5],[258,5],[367,5],[410,5],[496,5],[548,5]]},"109":{"position":[[331,5]]},"137":{"position":[[119,4]]},"143":{"position":[[118,6]]}}}],["cancel",{"_index":780,"t":{"147":{"position":[[379,6]]}}}],["cancel_scheduled_task",{"_index":779,"t":{"147":{"position":[[357,21]]}}}],["capabl",{"_index":791,"t":{"149":{"position":[[251,12]]}}}],["cat",{"_index":805,"t":{"151":{"position":[[166,4]]}}}],["categori",{"_index":766,"t":{"147":{"position":[[18,8]]}}}],["cd",{"_index":756,"t":{"143":{"position":[[73,2]]}}}],["chang",{"_index":114,"t":{"8":{"position":[[272,7],[403,6]]},"10":{"position":[[1339,6],[1378,6]]},"52":{"position":[[131,7]]},"64":{"position":[[135,8]]},"101":{"position":[[180,7]]},"143":{"position":[[76,6]]},"145":{"position":[[68,7]]},"153":{"position":[[171,8],[554,6]]}}}],["channel",{"_index":136,"t":{"10":{"position":[[233,8]]},"111":{"position":[[651,7]]},"115":{"position":[[155,8]]},"125":{"position":[[654,8]]},"135":{"position":[[219,7]]},"149":{"position":[[132,9]]},"165":{"position":[[179,7]]},"177":{"position":[[19,8]]}}}],["char",{"_index":878,"t":{"169":{"position":[[211,4]]}}}],["chat",{"_index":297,"t":{"40":{"position":[[346,4],[452,5]]},"103":{"position":[[460,8]]},"105":{"position":[[304,8],[522,8]]},"109":{"position":[[519,8]]},"115":{"position":[[13,8]]},"125":{"position":[[571,5],[625,6]]},"157":{"position":[[63,4]]}}}],["chatbot",{"_index":585,"t":{"101":{"position":[[21,7]]}}}],["check",{"_index":20,"t":{"4":{"position":[[110,6]]},"52":{"position":[[212,6]]},"91":{"position":[[120,6]]},"105":{"position":[[351,5]]},"109":{"position":[[598,5]]},"131":{"position":[[66,5]]},"147":{"position":[[427,5]]},"163":{"position":[[61,5]]}}}],["child",{"_index":200,"t":{"14":{"position":[[71,5]]}}}],["chill",{"_index":462,"t":{"70":{"position":[[210,5]]},"87":{"position":[[76,5],[105,7]]}}}],["choic",{"_index":706,"t":{"121":{"position":[[213,7]]},"171":{"position":[[277,7]]}}}],["choos",{"_index":284,"t":{"40":{"position":[[174,6],[371,6]]},"60":{"position":[[407,6]]},"75":{"position":[[102,6]]},"77":{"position":[[37,6]]},"99":{"position":[[399,6]]},"153":{"position":[[38,6]]}}}],["classic",{"_index":404,"t":{"60":{"position":[[606,7]]}}}],["claud",{"_index":824,"t":{"157":{"position":[[192,6],[235,6]]}}}],["clean",{"_index":209,"t":{"14":{"position":[[211,7]]},"22":{"position":[[131,5]]},"26":{"position":[[332,7]]},"44":{"position":[[164,8]]}}}],["clear",{"_index":163,"t":{"10":{"position":[[964,5]]},"79":{"position":[[254,5]]},"95":{"position":[[21,6]]},"107":{"position":[[113,5],[165,5],[193,5]]},"129":{"position":[[504,5]]},"177":{"position":[[369,5],[396,5],[440,5]]}}}],["cli",{"_index":130,"t":{"10":{"position":[[65,3],[253,3],[334,3],[446,3],[510,3],[590,3],[688,3],[761,3],[827,3],[894,3],[954,3],[1748,3],[1879,3]]},"40":{"position":[[829,3]]},"79":{"position":[[332,4]]},"111":{"position":[[659,4]]},"121":{"position":[[245,3]]},"125":{"position":[[354,3]]},"137":{"position":[[78,3]]},"153":{"position":[[196,3],[399,4]]},"165":{"position":[[187,4]]},"177":{"position":[[35,3]]}}}],["click",{"_index":402,"t":{"60":{"position":[[561,5],[775,5]]},"73":{"position":[[71,5],[262,5]]}}}],["client",{"_index":488,"t":{"73":{"position":[[310,6],[324,6]]},"75":{"position":[[132,6],[154,6],[184,6],[210,6]]},"97":{"position":[[11,6],[43,6],[57,6]]}}}],["close",{"_index":196,"t":{"12":{"position":[[100,5]]},"64":{"position":[[227,7]]}}}],["cloud",{"_index":291,"t":{"40":{"position":[[236,6]]},"157":{"position":[[327,5]]}}}],["co",{"_index":337,"t":{"50":{"position":[[110,2]]},"52":{"position":[[0,2]]},"58":{"position":[[55,2],[314,2]]},"66":{"position":[[71,2]]}}}],["code",{"_index":122,"t":{"8":{"position":[[378,4]]},"10":{"position":[[626,4],[1695,4],[1734,4]]},"40":{"position":[[775,4],[815,4]]},"52":{"position":[[268,4]]},"66":{"position":[[21,4]]},"77":{"position":[[185,4],[341,4],[388,4],[405,4]]},"79":{"position":[[141,5],[156,4],[161,6],[210,4]]},"99":{"position":[[372,4],[413,5]]},"103":{"position":[[137,5]]},"107":{"position":[[267,5]]},"113":{"position":[[96,4]]},"119":{"position":[[57,4],[91,5],[131,4],[136,5],[181,5],[215,5],[250,5]]},"121":{"position":[[5,5],[159,5]]},"125":{"position":[[124,4],[321,4]]},"129":{"position":[[159,4]]}}}],["codebas",{"_index":655,"t":{"109":{"position":[[456,8]]},"115":{"position":[[321,12]]}}}],["code|id",{"_index":156,"t":{"10":{"position":[[580,9]]}}}],["code|userid",{"_index":725,"t":{"129":{"position":[[119,13]]}}}],["come",{"_index":682,"t":{"115":{"position":[[72,4]]},"159":{"position":[[486,6]]}}}],["command",{"_index":15,"t":{"4":{"position":[[36,7],[101,8]]},"6":{"position":[[0,7],[652,9]]},"10":{"position":[[139,7],[282,7]]},"18":{"position":[[20,7]]},"48":{"position":[[27,7]]},"79":{"position":[[0,7]]},"89":{"position":[[20,7]]},"107":{"position":[[0,7],[216,8]]},"119":{"position":[[69,7]]},"129":{"position":[[0,7]]},"131":{"position":[[0,7]]},"133":{"position":[[298,7],[478,8],[495,8]]},"137":{"position":[[82,8]]},"143":{"position":[[57,7],[65,7],[168,7],[181,7]]},"151":{"position":[[53,9],[73,8],[148,8],[228,8],[294,7]]},"153":{"position":[[132,8],[282,8],[654,8]]},"175":{"position":[[137,7]]}}}],["comment",{"_index":421,"t":{"64":{"position":[[160,8]]}}}],["commit",{"_index":339,"t":{"50":{"position":[[122,7]]},"52":{"position":[[12,7],[72,6],[159,8]]},"56":{"position":[[39,6]]},"58":{"position":[[23,6]]},"66":{"position":[[13,7],[194,6]]},"68":{"position":[[255,6]]},"145":{"position":[[84,6],[139,6]]}}}],["companion",{"_index":331,"t":{"50":{"position":[[31,9]]}}}],["comparison",{"_index":38,"t":{"4":{"position":[[328,10]]}}}],["compat",{"_index":293,"t":{"40":{"position":[[267,10]]},"133":{"position":[[259,10]]},"157":{"position":[[300,10],[482,10],[539,10]]},"159":{"position":[[574,10]]}}}],["complet",{"_index":513,"t":{"79":{"position":[[168,8]]},"105":{"position":[[639,9],[707,9]]},"107":{"position":[[61,10]]},"109":{"position":[[174,9]]},"111":{"position":[[303,9],[356,9]]},"115":{"position":[[104,10],[289,9],[377,9]]},"125":{"position":[[103,10],[361,8]]}}}],["complex",{"_index":608,"t":{"103":{"position":[[421,10]]},"109":{"position":[[277,7]]},"113":{"position":[[207,7]]}}}],["compromis",{"_index":446,"t":{"68":{"position":[[323,12]]}}}],["concurr",{"_index":589,"t":{"101":{"position":[[101,12]]},"103":{"position":[[563,10],[626,10]]},"117":{"position":[[353,10]]}}}],["condit",{"_index":350,"t":{"50":{"position":[[336,11]]}}}],["confid",{"_index":872,"t":{"169":{"position":[[89,11],[519,10]]},"173":{"position":[[99,10]]},"175":{"position":[[43,11]]}}}],["config",{"_index":73,"t":{"6":{"position":[[440,7],[662,6]]},"36":{"position":[[183,7]]},"40":{"position":[[854,6]]},"149":{"position":[[113,6]]},"179":{"position":[[100,6]]}}}],["configur",{"_index":342,"t":{"50":{"position":[[171,11],[407,10]]},"58":{"position":[[117,13]]},"68":{"position":[[97,14]]},"117":{"position":[[15,10]]},"155":{"position":[[0,9]]},"157":{"position":[[31,13],[493,12]]},"159":{"position":[[627,9]]}}}],["confirm",{"_index":215,"t":{"18":{"position":[[118,8]]},"42":{"position":[[222,8]]},"153":{"position":[[93,12]]},"177":{"position":[[408,13]]}}}],["conflict",{"_index":27,"t":{"4":{"position":[[192,9]]},"103":{"position":[[580,9]]}}}],["connect",{"_index":447,"t":{"70":{"position":[[8,8]]},"73":{"position":[[582,8]]},"75":{"position":[[332,9]]},"77":{"position":[[463,9]]},"79":{"position":[[34,10]]},"123":{"position":[[8,8]]},"171":{"position":[[381,11]]}}}],["consolid",{"_index":881,"t":{"169":{"position":[[286,13]]},"175":{"position":[[186,13]]},"179":{"position":[[287,14]]}}}],["constraint",{"_index":902,"t":{"171":{"position":[[297,10],[326,11]]}}}],["consum",{"_index":134,"t":{"10":{"position":[[119,7]]}}}],["content",{"_index":401,"t":{"60":{"position":[[480,8]]},"139":{"position":[[49,8],[106,7],[172,7],[277,8]]},"141":{"position":[[89,7]]},"147":{"position":[[60,7],[130,7]]},"183":{"position":[[105,7]]}}}],["context",{"_index":541,"t":{"85":{"position":[[293,8]]},"103":{"position":[[47,7],[327,7]]},"109":{"position":[[133,7]]},"111":{"position":[[97,8],[163,8],[403,7]]},"113":{"position":[[140,7]]},"169":{"position":[[242,8]]}}}],["continu",{"_index":590,"t":{"101":{"position":[[120,10]]},"105":{"position":[[295,8],[513,8]]},"109":{"position":[[510,8]]},"111":{"position":[[175,9]]},"153":{"position":[[318,12]]}}}],["control",{"_index":407,"t":{"60":{"position":[[742,7]]},"70":{"position":[[52,7],[381,7]]},"79":{"position":[[323,8]]},"99":{"position":[[81,8]]},"117":{"position":[[207,9]]}}}],["convers",{"_index":127,"t":{"10":{"position":[[20,12]]},"46":{"position":[[116,12]]},"50":{"position":[[152,13],[512,13]]},"70":{"position":[[141,13]]},"101":{"position":[[135,13]]},"111":{"position":[[185,12],[437,12]]},"113":{"position":[[183,13]]},"119":{"position":[[202,12]]},"137":{"position":[[49,14]]},"163":{"position":[[16,13]]},"167":{"position":[[66,13]]},"169":{"position":[[24,13]]},"183":{"position":[[16,13]]}}}],["convert",{"_index":735,"t":{"133":{"position":[[237,9]]}}}],["copi",{"_index":308,"t":{"40":{"position":[[758,4]]},"60":{"position":[[586,4],[800,4]]},"73":{"position":[[301,4]]}}}],["cosmicstack/mercuri",{"_index":7,"t":{"2":{"position":[[57,20],[115,20]]}}}],["cost",{"_index":816,"t":{"157":{"position":[[103,4]]}}}],["cover",{"_index":430,"t":{"64":{"position":[[402,7]]}}}],["cpu",{"_index":618,"t":{"103":{"position":[[680,3]]}}}],["cpu/ram",{"_index":689,"t":{"117":{"position":[[120,8]]}}}],["crash",{"_index":226,"t":{"26":{"position":[[92,5],[155,8],[247,7],[294,5]]},"28":{"position":[[149,5],[210,5]]},"36":{"position":[[87,6],[233,5],[306,6]]},"44":{"position":[[182,5]]},"52":{"position":[[261,6]]}}}],["creat",{"_index":241,"t":{"28":{"position":[[24,7]]},"50":{"position":[[43,8]]},"52":{"position":[[109,7]]},"60":{"position":[[194,6]]},"62":{"position":[[40,7]]},"64":{"position":[[28,6],[271,6]]},"73":{"position":[[77,7]]},"125":{"position":[[303,7],[488,6]]},"139":{"position":[[126,6],[144,8]]},"145":{"position":[[130,6]]},"165":{"position":[[224,8]]}}}],["create_fil",{"_index":631,"t":{"105":{"position":[[572,11]]},"111":{"position":[[336,12]]},"115":{"position":[[266,11]]},"139":{"position":[[114,11]]}}}],["create_issu",{"_index":426,"t":{"64":{"position":[[258,12]]}}}],["create_pr",{"_index":414,"t":{"64":{"position":[[18,9]]}}}],["credenti",{"_index":115,"t":{"8":{"position":[[280,11]]},"68":{"position":[[237,11]]},"97":{"position":[[18,11],[240,11]]}}}],["credit",{"_index":436,"t":{"66":{"position":[[218,6]]}}}],["cron",{"_index":776,"t":{"147":{"position":[[259,6]]},"161":{"position":[[33,4]]}}}],["ctrl+c",{"_index":323,"t":{"46":{"position":[[96,6]]}}}],["curl",{"_index":759,"t":{"143":{"position":[[195,7]]}}}],["current",{"_index":83,"t":{"6":{"position":[[540,7]]},"8":{"position":[[50,7]]},"10":{"position":[[1039,9]]},"40":{"position":[[1061,7]]},"62":{"position":[[329,7]]},"75":{"position":[[279,7]]},"79":{"position":[[456,9]]},"83":{"position":[[107,9]]},"87":{"position":[[521,7]]},"119":{"position":[[270,7]]}}}],["custom",{"_index":282,"t":{"40":{"position":[[145,9]]},"58":{"position":[[225,9]]},"151":{"position":[[343,10]]},"159":{"position":[[671,6]]}}}],["cycl",{"_index":19,"t":{"4":{"position":[[73,6]]},"119":{"position":[[230,5]]}}}],["daemon",{"_index":25,"t":{"4":{"position":[[164,6]]},"6":{"position":[[68,6],[174,6],[408,6],[459,6]]},"12":{"position":[[29,6]]},"14":{"position":[[45,7]]},"18":{"position":[[106,7]]},"22":{"position":[[34,6]]},"26":{"position":[[33,6]]},"28":{"position":[[267,6]]},"42":{"position":[[126,7],[327,7]]},"44":{"position":[[45,6]]},"149":{"position":[[541,6]]}}}],["daili",{"_index":124,"t":{"8":{"position":[[388,5]]},"10":{"position":[[1346,5]]},"149":{"position":[[389,5]]},"185":{"position":[[9,5]]},"187":{"position":[[11,5],[35,5]]}}}],["data",{"_index":783,"t":{"149":{"position":[[12,4]]},"179":{"position":[[317,4]]}}}],["day",{"_index":851,"t":{"163":{"position":[[47,3]]},"169":{"position":[[484,5],[571,5]]}}}],["debug",{"_index":96,"t":{"6":{"position":[[881,5]]},"16":{"position":[[78,9]]},"48":{"position":[[42,5]]}}}],["decay",{"_index":889,"t":{"169":{"position":[[508,6]]},"175":{"position":[[91,7]]}}}],["decid",{"_index":607,"t":{"103":{"position":[[382,7]]},"105":{"position":[[70,7]]},"109":{"position":[[259,7]]},"113":{"position":[[8,7]]},"117":{"position":[[180,8]]},"137":{"position":[[103,7]]}}}],["decis",{"_index":707,"t":{"121":{"position":[[224,8]]},"171":{"position":[[247,8],[263,9]]}}}],["dedic",{"_index":677,"t":{"113":{"position":[[233,9]]}}}],["deepseek",{"_index":286,"t":{"40":{"position":[[194,9]]},"157":{"position":[[45,8],[54,8]]},"159":{"position":[[261,8]]}}}],["deepseek_api_key",{"_index":815,"t":{"157":{"position":[[68,16]]},"159":{"position":[[275,17]]}}}],["deepseek_base_url",{"_index":840,"t":{"159":{"position":[[293,18]]}}}],["deepseek_model",{"_index":841,"t":{"159":{"position":[[316,15]]}}}],["default",{"_index":60,"t":{"6":{"position":[[181,9]]},"12":{"position":[[39,8]]},"40":{"position":[[122,8],[380,7]]},"44":{"position":[[55,8]]},"58":{"position":[[152,8]]},"62":{"position":[[6,7]]},"73":{"position":[[422,9]]},"91":{"position":[[267,7]]},"135":{"position":[[123,7]]},"153":{"position":[[180,7]]},"157":{"position":[[9,7],[85,7]]},"179":{"position":[[27,8]]}}}],["delay",{"_index":274,"t":{"36":{"position":[[373,5]]},"147":{"position":[[278,7]]},"161":{"position":[[62,7]]}}}],["deleg",{"_index":606,"t":{"103":{"position":[[354,10],[398,8]]},"105":{"position":[[81,9],[379,9]]},"113":{"position":[[19,8],[367,9]]},"121":{"position":[[123,8]]}}}],["delegate_task",{"_index":649,"t":{"109":{"position":[[64,13],[337,14]]}}}],["delegate_task(\"impl",{"_index":662,"t":{"111":{"position":[[109,24]]}}}],["delegate_task(\"research",{"_index":660,"t":{"111":{"position":[[44,23]]}}}],["delet",{"_index":260,"t":{"34":{"position":[[86,7]]},"139":{"position":[[303,6]]}}}],["delete_fil",{"_index":751,"t":{"139":{"position":[[291,11]]}}}],["demot",{"_index":162,"t":{"10":{"position":[[882,6],[904,6]]},"129":{"position":[[406,6],[422,6]]}}}],["deni",{"_index":737,"t":{"133":{"position":[[352,4]]}}}],["deploy",{"_index":862,"t":{"165":{"position":[[72,11]]}}}],["descript",{"_index":52,"t":{"6":{"position":[[8,11]]},"10":{"position":[[147,11]]},"73":{"position":[[144,12]]},"79":{"position":[[8,11]]},"107":{"position":[[8,11]]},"109":{"position":[[52,11],[108,11]]},"117":{"position":[[258,11]]},"127":{"position":[[5,11]]},"129":{"position":[[8,11]]},"131":{"position":[[8,11]]},"133":{"position":[[8,11]]},"135":{"position":[[111,11]]}}}],["desktop",{"_index":559,"t":{"91":{"position":[[39,8]]}}}],["detach",{"_index":199,"t":{"14":{"position":[[62,8]]}}}],["detect",{"_index":261,"t":{"36":{"position":[[123,7]]},"103":{"position":[[652,8]]},"117":{"position":[[106,8]]},"133":{"position":[[161,8]]},"169":{"position":[[418,8]]},"173":{"position":[[13,7],[207,8]]},"175":{"position":[[82,8]]}}}],["develop",{"_index":490,"t":{"73":{"position":[[345,11],[380,9],[400,11]]}}}],["developer.spotify.com/dashboard",{"_index":478,"t":{"73":{"position":[[6,31]]}}}],["devic",{"_index":456,"t":{"70":{"position":[[117,7]]},"77":{"position":[[303,6]]},"79":{"position":[[84,6],[352,7],[383,7],[400,6],[423,6]]},"83":{"position":[[164,7]]},"85":{"position":[[69,6]]},"87":{"position":[[141,6]]},"91":{"position":[[22,7],[132,7],[164,7],[178,6],[239,6],[275,7],[292,6],[299,7],[315,6],[385,7]]},"99":{"position":[[251,7]]}}}],["diff",{"_index":360,"t":{"52":{"position":[[319,4]]},"64":{"position":[[118,5]]}}}],["differ",{"_index":380,"t":{"58":{"position":[[304,9]]}}}],["digest",{"_index":940,"t":{"185":{"position":[[15,6]]},"187":{"position":[[41,6]]}}}],["dir",{"_index":748,"t":{"139":{"position":[[160,5]]}}}],["direct",{"_index":921,"t":{"175":{"position":[[0,6]]}}}],["directli",{"_index":212,"t":{"16":{"position":[[119,9]]},"68":{"position":[[178,8]]},"159":{"position":[[112,8]]},"183":{"position":[[113,8]]}}}],["directori",{"_index":42,"t":{"4":{"position":[[382,9],[499,9]]},"40":{"position":[[912,10]]},"139":{"position":[[267,9],[418,9]]},"143":{"position":[[91,9]]},"149":{"position":[[60,10]]},"153":{"position":[[254,9]]}}}],["disabl",{"_index":119,"t":{"8":{"position":[[322,7]]},"10":{"position":[[1152,7]]},"135":{"position":[[341,7]]},"179":{"position":[[39,7],[183,9]]}}}],["disclosur",{"_index":941,"t":{"187":{"position":[[181,10]]}}}],["disconnect",{"_index":515,"t":{"79":{"position":[[231,10]]}}}],["discoveri",{"_index":303,"t":{"40":{"position":[[544,9]]}}}],["dislik",{"_index":896,"t":{"171":{"position":[[117,7]]}}}],["dismiss",{"_index":891,"t":{"169":{"position":[[551,9]]}}}],["display",{"_index":570,"t":{"93":{"position":[[179,7]]}}}],["dj",{"_index":455,"t":{"70":{"position":[[106,2]]}}}],["doctor",{"_index":77,"t":{"6":{"position":[[490,6],[602,7]]},"8":{"position":[[8,6],[441,6]]},"40":{"position":[[975,7]]},"50":{"position":[[430,7]]},"54":{"position":[[12,6],[63,6]]},"75":{"position":[[12,6],[68,6]]},"135":{"position":[[34,6],[331,6]]},"159":{"position":[[12,6]]}}}],["document",{"_index":733,"t":{"133":{"position":[[146,9]]}}}],["doesn't",{"_index":583,"t":{"99":{"position":[[335,7]]},"111":{"position":[[450,7]]}}}],["don't",{"_index":443,"t":{"68":{"position":[[249,5],[266,5]]}}}],["done",{"_index":637,"t":{"105":{"position":[[773,5]]},"109":{"position":[[577,5]]}}}],["driven",{"_index":605,"t":{"103":{"position":[[347,6]]}}}],["due",{"_index":437,"t":{"66":{"position":[[236,4]]}}}],["durabl",{"_index":874,"t":{"169":{"position":[[117,10],[530,7],[622,8]]},"171":{"position":[[35,7],[91,7],[206,7],[308,7],[362,7],[451,7]]}}}],["dure",{"_index":126,"t":{"10":{"position":[[11,6],[1752,6]]},"40":{"position":[[655,6]]},"121":{"position":[[152,6]]},"125":{"position":[[134,6]]},"135":{"position":[[19,6],[316,6]]},"137":{"position":[[42,6]]},"151":{"position":[[454,6]]},"153":{"position":[[357,6]]}}}],["e.g",{"_index":395,"t":{"60":{"position":[[312,5],[671,5]]},"113":{"position":[[69,6]]},"117":{"position":[[145,6]]},"143":{"position":[[189,5]]},"173":{"position":[[39,5]]}}}],["each",{"_index":295,"t":{"40":{"position":[[302,4]]},"103":{"position":[[195,4]]},"111":{"position":[[375,4]]},"153":{"position":[[716,4]]},"159":{"position":[[183,4]]},"169":{"position":[[19,4],[155,4]]}}}],["easiest",{"_index":314,"t":{"42":{"position":[[35,7]]}}}],["edit",{"_index":729,"t":{"133":{"position":[[54,7]]},"151":{"position":[[307,4]]},"159":{"position":[[124,4]]}}}],["edit_fil",{"_index":665,"t":{"111":{"position":[[260,10]]},"115":{"position":[[225,9]]},"139":{"position":[[180,9]]}}}],["effect",{"_index":817,"t":{"157":{"position":[[108,9]]}}}],["elev",{"_index":808,"t":{"151":{"position":[[360,10]]},"187":{"position":[[110,8]]}}}],["email",{"_index":376,"t":{"58":{"position":[[239,5]]},"73":{"position":[[534,5]]}}}],["emerg",{"_index":640,"t":{"107":{"position":[[78,10]]}}}],["empti",{"_index":43,"t":{"4":{"position":[[396,6]]}}}],["enabl",{"_index":277,"t":{"36":{"position":[[487,6]]},"40":{"position":[[639,6]]},"117":{"position":[[65,8]]},"135":{"position":[[252,6]]},"167":{"position":[[85,8]]},"179":{"position":[[16,7]]}}}],["enable/dis",{"_index":694,"t":{"117":{"position":[[288,14]]},"135":{"position":[[195,14]]}}}],["endpoint",{"_index":365,"t":{"52":{"position":[[410,8]]},"64":{"position":[[389,8]]},"97":{"position":[[367,10]]},"105":{"position":[[170,9],[257,10],[681,10]]},"115":{"position":[[502,9]]},"157":{"position":[[311,8]]}}}],["enotempti",{"_index":33,"t":{"4":{"position":[[243,9],[346,9],[371,10]]}}}],["enough",{"_index":652,"t":{"109":{"position":[[285,6]]},"113":{"position":[[215,6]]}}}],["ensur",{"_index":57,"t":{"6":{"position":[[77,6]]},"42":{"position":[[138,7]]},"125":{"position":[[382,7]]}}}],["enter",{"_index":81,"t":{"6":{"position":[[526,5]]},"8":{"position":[[83,5]]},"40":{"position":[[584,5],[1043,5]]},"62":{"position":[[106,5],[298,5]]},"75":{"position":[[117,6],[242,5]]},"125":{"position":[[339,7]]},"159":{"position":[[23,5]]}}}],["env",{"_index":838,"t":{"159":{"position":[[201,3]]}}}],["environ",{"_index":691,"t":{"117":{"position":[[217,11]]},"159":{"position":[[90,11],[161,11]]},"179":{"position":[[51,11]]}}}],["episod",{"_index":798,"t":{"149":{"position":[[458,8]]},"171":{"position":[[393,7]]}}}],["equal",{"_index":915,"t":{"173":{"position":[[123,6]]}}}],["error",{"_index":34,"t":{"4":{"position":[[253,6]]},"99":{"position":[[45,5],[142,6]]}}}],["error.log",{"_index":252,"t":{"28":{"position":[[324,9]]}}}],["escap",{"_index":428,"t":{"64":{"position":[[368,6]]}}}],["etc",{"_index":823,"t":{"157":{"position":[[177,4]]}}}],["even",{"_index":644,"t":{"107":{"position":[[285,4]]}}}],["event",{"_index":906,"t":{"171":{"position":[[417,6]]}}}],["everyth",{"_index":213,"t":{"18":{"position":[[33,11]]}}}],["exactli",{"_index":484,"t":{"73":{"position":[[254,7]]}}}],["exampl",{"_index":371,"t":{"56":{"position":[[92,8]]},"159":{"position":[[252,8]]}}}],["except",{"_index":386,"t":{"60":{"position":[[153,6]]},"97":{"position":[[346,6]]},"153":{"position":[[291,7]]}}}],["execut",{"_index":601,"t":{"103":{"position":[[265,9]]},"109":{"position":[[317,10]]},"119":{"position":[[142,7],[150,7]]},"121":{"position":[[165,8]]},"143":{"position":[[41,7]]},"151":{"position":[[118,8],[461,10]]},"153":{"position":[[726,9]]}}}],["exist",{"_index":313,"t":{"40":{"position":[[983,8]]},"125":{"position":[[277,5],[455,7]]},"139":{"position":[[86,8]]}}}],["exit",{"_index":142,"t":{"10":{"position":[[311,4]]},"26":{"position":[[277,5]]},"46":{"position":[[106,5]]},"89":{"position":[[171,4]]}}}],["experi",{"_index":907,"t":{"171":{"position":[[428,11]]}}}],["expir",{"_index":396,"t":{"60":{"position":[[344,10],[703,10]]},"93":{"position":[[263,7],[299,7]]},"99":{"position":[[425,7]]}}}],["explicitli",{"_index":680,"t":{"113":{"position":[[326,11]]},"175":{"position":[[9,10]]}}}],["exponenti",{"_index":229,"t":{"26":{"position":[[195,11]]},"44":{"position":[[202,11]]}}}],["express",{"_index":849,"t":{"161":{"position":[[38,11]]}}}],["extend",{"_index":497,"t":{"73":{"position":[[695,8]]}}}],["extens",{"_index":937,"t":{"181":{"position":[[26,10]]}}}],["extern",{"_index":440,"t":{"68":{"position":[[136,8]]},"97":{"position":[[197,11]]}}}],["extract",{"_index":866,"t":{"167":{"position":[[111,9]]},"169":{"position":[[0,10]]},"179":{"position":[[272,11]]}}}],["f",{"_index":65,"t":{"6":{"position":[[270,1]]},"16":{"position":[[155,2]]},"34":{"position":[[113,2]]},"46":{"position":[[234,2]]}}}],["fact",{"_index":868,"t":{"167":{"position":[[143,5]]},"169":{"position":[[56,5]]},"179":{"position":[[231,4]]}}}],["fail",{"_index":304,"t":{"40":{"position":[[554,6]]},"77":{"position":[[213,6]]},"155":{"position":[[108,6]]}}}],["failur",{"_index":272,"t":{"36":{"position":[[361,8]]}}}],["fall",{"_index":814,"t":{"155":{"position":[[66,5]]},"179":{"position":[[201,5]]}}}],["fals",{"_index":239,"t":{"26":{"position":[[380,5]]},"28":{"position":[[192,5]]},"135":{"position":[[227,5]]},"179":{"position":[[145,5]]}}}],["fast",{"_index":648,"t":{"107":{"position":[[356,4]]}}}],["featur",{"_index":465,"t":{"70":{"position":[[287,8]]},"99":{"position":[[100,8]]},"133":{"position":[[0,7]]}}}],["feedback",{"_index":557,"t":{"89":{"position":[[205,8]]}}}],["fetch",{"_index":112,"t":{"8":{"position":[[247,7]]},"40":{"position":[[326,7],[508,8]]},"64":{"position":[[107,5]]},"99":{"position":[[542,5]]},"147":{"position":[[37,5]]}}}],["fetch_url",{"_index":683,"t":{"115":{"position":[[255,10]]},"147":{"position":[[27,9]]}}}],["fi",{"_index":544,"t":{"87":{"position":[[102,2]]}}}],["field",{"_index":100,"t":{"8":{"position":[[96,5]]},"54":{"position":[[47,7]]},"62":{"position":[[311,5]]},"75":{"position":[[261,5]]}}}],["file",{"_index":202,"t":{"14":{"position":[[99,4],[187,5]]},"20":{"position":[[99,5]]},"26":{"position":[[73,4],[317,5]]},"44":{"position":[[149,5]]},"52":{"position":[[235,5]]},"68":{"position":[[217,4]]},"97":{"position":[[220,4]]},"103":{"position":[[522,4]]},"111":{"position":[[686,4],[718,5]]},"123":{"position":[[97,4]]},"133":{"position":[[107,4]]},"139":{"position":[[44,4],[95,4],[139,4],[219,4],[312,4],[337,4]]},"145":{"position":[[63,4],[113,5]]},"153":{"position":[[113,4]]},"179":{"position":[[107,5]]}}}],["filesystem",{"_index":812,"t":{"153":{"position":[[626,10]]}}}],["fill",{"_index":99,"t":{"8":{"position":[[69,7]]},"54":{"position":[[23,4]]},"73":{"position":[[90,4]]}}}],["filter",{"_index":423,"t":{"64":{"position":[[190,6]]}}}],["fine",{"_index":389,"t":{"60":{"position":[[212,4]]}}}],["finish",{"_index":309,"t":{"40":{"position":[[836,6]]}}}],["first",{"_index":31,"t":{"4":{"position":[[226,5]]},"10":{"position":[[612,5],[1651,5]]},"40":{"position":[[20,5],[662,5]]},"42":{"position":[[304,6]]},"75":{"position":[[41,5]]},"91":{"position":[[246,6]]},"123":{"position":[[65,5]]},"125":{"position":[[71,5],[243,5]]},"127":{"position":[[45,5]]},"129":{"position":[[145,5]]},"153":{"position":[[452,5],[519,5]]}}}],["five",{"_index":343,"t":{"50":{"position":[[183,4]]}}}],["fix",{"_index":40,"t":{"4":{"position":[[356,3]]}}}],["flow",{"_index":123,"t":{"8":{"position":[[383,4]]},"40":{"position":[[715,5]]},"79":{"position":[[117,4]]},"99":{"position":[[377,5]]},"125":{"position":[[129,4]]}}}],["fo",{"_index":259,"t":{"34":{"position":[[35,3]]}}}],["focu",{"_index":678,"t":{"113":{"position":[[243,5]]}}}],["follow",{"_index":903,"t":{"171":{"position":[[342,6]]},"187":{"position":[[62,6]]}}}],["foreground",{"_index":61,"t":{"6":{"position":[[207,10],[227,10]]},"16":{"position":[[16,10]]},"46":{"position":[[16,10]]}}}],["format",{"_index":301,"t":{"40":{"position":[[489,6]]},"62":{"position":[[131,8],[284,7]]},"133":{"position":[[203,10]]}}}],["four",{"_index":366,"t":{"54":{"position":[[35,4]]}}}],["free",{"_index":469,"t":{"70":{"position":[[349,4]]},"99":{"position":[[123,4],[197,4]]}}}],["fresh",{"_index":221,"t":{"22":{"position":[[63,5]]},"99":{"position":[[474,5]]},"129":{"position":[[564,6]]}}}],["full",{"_index":17,"t":{"4":{"position":[[61,4]]},"6":{"position":[[632,4]]},"10":{"position":[[174,4]]},"52":{"position":[[344,4]]},"60":{"position":[[736,5]]},"107":{"position":[[140,4]]},"115":{"position":[[451,4]]}}}],["fundament",{"_index":592,"t":{"101":{"position":[[206,14]]}}}],["g",{"_index":6,"t":{"2":{"position":[[55,1]]},"4":{"position":[[430,1]]}}}],["gain",{"_index":717,"t":{"125":{"position":[[420,4]]}}}],["gemini",{"_index":845,"t":{"159":{"position":[[500,7]]}}}],["gener",{"_index":263,"t":{"36":{"position":[[149,9]]},"60":{"position":[[567,8],[781,8]]},"169":{"position":[[383,9]]},"171":{"position":[[466,9]]},"175":{"position":[[159,9]]}}}],["git",{"_index":806,"t":{"151":{"position":[[171,3]]}}}],["git_add",{"_index":764,"t":{"145":{"position":[[99,7]]}}}],["git_commit",{"_index":432,"t":{"66":{"position":[[32,11]]},"145":{"position":[[119,10]]}}}],["git_diff",{"_index":762,"t":{"145":{"position":[[49,8]]}}}],["git_log",{"_index":763,"t":{"145":{"position":[[76,7]]}}}],["git_push",{"_index":765,"t":{"145":{"position":[[146,8]]}}}],["git_statu",{"_index":760,"t":{"145":{"position":[[18,10]]}}}],["github",{"_index":330,"t":{"50":{"position":[[24,6],[188,6],[361,6]]},"52":{"position":[[403,6]]},"54":{"position":[[40,6]]},"56":{"position":[[5,6]]},"58":{"position":[[209,7]]},"60":{"position":[[54,6]]},"62":{"position":[[379,6]]},"64":{"position":[[345,6]]},"68":{"position":[[28,6],[167,6]]}}}],["github'",{"_index":387,"t":{"60":{"position":[[160,8]]},"66":{"position":[[185,8]]}}}],["github.com/settings/person",{"_index":392,"t":{"60":{"position":[[250,28]]}}}],["github.com/settings/tokens/new",{"_index":405,"t":{"60":{"position":[[625,30]]}}}],["github_api",{"_index":363,"t":{"52":{"position":[[366,10]]},"64":{"position":[[330,10]]}}}],["github_email",{"_index":378,"t":{"58":{"position":[[275,12]]}}}],["github_token",{"_index":351,"t":{"50":{"position":[[391,12]]}}}],["give",{"_index":394,"t":{"60":{"position":[[297,4],[656,4]]},"66":{"position":[[211,6]]},"77":{"position":[[265,4]]}}}],["global",{"_index":35,"t":{"4":{"position":[[288,8]]}}}],["go",{"_index":320,"t":{"44":{"position":[[110,2]]},"60":{"position":[[244,2],[619,2]]},"73":{"position":[[0,2],[472,2]]}}}],["goal",{"_index":869,"t":{"167":{"position":[[179,6]]},"171":{"position":[[125,4]]}}}],["googl",{"_index":844,"t":{"159":{"position":[[493,6]]}}}],["gpt",{"_index":818,"t":{"157":{"position":[[125,3],[152,3],[165,3],[333,3],[409,3]]}}}],["grain",{"_index":390,"t":{"60":{"position":[[217,7]]}}}],["grant",{"_index":400,"t":{"60":{"position":[[473,6]]},"73":{"position":[[440,5]]}}}],["grok",{"_index":289,"t":{"40":{"position":[[223,5]]},"157":{"position":[[262,4],[273,4]]}}}],["grok_api_key",{"_index":831,"t":{"157":{"position":[[280,12]]}}}],["group",{"_index":720,"t":{"125":{"position":[[644,6]]}}}],["grow",{"_index":865,"t":{"167":{"position":[[49,5]]}}}],["habit",{"_index":870,"t":{"167":{"position":[[196,7]]},"171":{"position":[[200,5]]}}}],["haiku",{"_index":828,"t":{"157":{"position":[[250,6]]}}}],["halt",{"_index":639,"t":{"107":{"position":[[72,5],[89,4],[152,4],[239,6]]},"109":{"position":[[206,4]]}}}],["handl",{"_index":16,"t":{"4":{"position":[[49,7]]},"70":{"position":[[235,7]]},"101":{"position":[[88,6]]}}}],["happen",{"_index":324,"t":{"46":{"position":[[129,7]]}}}],["hatch",{"_index":429,"t":{"64":{"position":[[375,5]]}}}],["head",{"_index":417,"t":{"64":{"position":[[68,4]]}}}],["heartbeat",{"_index":789,"t":{"149":{"position":[[212,10]]}}}],["help",{"_index":88,"t":{"6":{"position":[[618,4]]},"10":{"position":[[159,5]]},"52":{"position":[[82,5]]}}}],["here",{"_index":507,"t":{"77":{"position":[[410,5]]}}}],["higher",{"_index":913,"t":{"173":{"position":[[92,6]]}}}],["highest",{"_index":922,"t":{"175":{"position":[[34,8]]}}}],["histori",{"_index":435,"t":{"66":{"position":[[201,7]]},"145":{"position":[[91,7]]}}}],["hit",{"_index":364,"t":{"52":{"position":[[395,3]]}}}],["hotheadhack",{"_index":372,"t":{"56":{"position":[[101,13]]}}}],["hotheadhacker/mercuri",{"_index":409,"t":{"62":{"position":[[140,21]]}}}],["hour",{"_index":861,"t":{"165":{"position":[[56,5]]}}}],["html",{"_index":734,"t":{"133":{"position":[[198,4],[270,4]]},"147":{"position":[[68,5]]}}}],["http://127.0.0.1:8888/callback",{"_index":482,"t":{"73":{"position":[[205,30]]}}}],["https://example.com/mi",{"_index":939,"t":{"183":{"position":[[50,22]]}}}],["https://github.com/hotheadhacker/mercuri",{"_index":410,"t":{"62":{"position":[[168,40]]}}}],["i'll",{"_index":658,"t":{"109":{"position":[[551,4]]}}}],["i'v",{"_index":626,"t":{"105":{"position":[[374,4]]}}}],["id",{"_index":159,"t":{"10":{"position":[[683,4],[756,4],[822,4],[889,4]]},"73":{"position":[[317,2]]},"75":{"position":[[139,2],[161,2]]},"79":{"position":[[407,4]]},"91":{"position":[[307,3],[322,2]]},"93":{"position":[[198,3]]},"97":{"position":[[50,2]]},"109":{"position":[[243,2]]},"129":{"position":[[193,2]]}}}],["ident",{"_index":895,"t":{"171":{"position":[[26,8]]}}}],["identifi",{"_index":369,"t":{"56":{"position":[[62,11]]}}}],["idl",{"_index":584,"t":{"99":{"position":[[444,4]]}}}],["ignor",{"_index":722,"t":{"125":{"position":[[674,8]]}}}],["immedi",{"_index":403,"t":{"60":{"position":[[594,11],[808,11]]},"107":{"position":[[339,11]]}}}],["implement",{"_index":701,"t":{"119":{"position":[[158,9]]}}}],["import",{"_index":873,"t":{"169":{"position":[[101,11]]}}}],["includ",{"_index":12,"t":{"4":{"position":[[8,8]]},"26":{"position":[[123,8]]},"44":{"position":[[173,8]]},"58":{"position":[[44,8]]}}}],["independ",{"_index":628,"t":{"105":{"position":[[493,14]]},"111":{"position":[[477,11]]},"113":{"position":[[258,11]]}}}],["indic",{"_index":730,"t":{"133":{"position":[[74,10]]}}}],["infer",{"_index":888,"t":{"169":{"position":[[490,8]]},"175":{"position":[[55,8]]}}}],["info",{"_index":189,"t":{"10":{"position":[[1578,7]]},"26":{"position":[[84,7]]},"40":{"position":[[923,7]]},"50":{"position":[[328,7]]},"70":{"position":[[253,7]]},"89":{"position":[[225,4]]},"93":{"position":[[172,4]]},"95":{"position":[[51,5]]},"125":{"position":[[235,7]]}}}],["initi",{"_index":718,"t":{"125":{"position":[[425,7]]},"135":{"position":[[44,7]]}}}],["inject",{"_index":879,"t":{"169":{"position":[[228,8]]}}}],["inlin",{"_index":709,"t":{"121":{"position":[[293,6]]},"123":{"position":[[115,6]]},"133":{"position":[[275,6]]},"153":{"position":[[479,6]]},"177":{"position":[[83,6],[150,6],[282,6],[345,6],[422,6]]}}}],["insight",{"_index":908,"t":{"171":{"position":[[476,8]]}}}],["instal",{"_index":4,"t":{"2":{"position":[[30,7],[99,11]]},"4":{"position":[[260,8],[516,10]]},"6":{"position":[[44,7],[692,7],[700,7]]},"10":{"position":[[1075,9]]},"18":{"position":[[45,8]]},"28":{"position":[[16,7]]},"36":{"position":[[0,7],[110,7]]},"42":{"position":[[76,8],[274,9],[292,8]]},"147":{"position":[[102,7],[162,9]]},"149":{"position":[[302,9]]},"183":{"position":[[30,8]]}}}],["install_skil",{"_index":770,"t":{"147":{"position":[[88,13]]}}}],["instanc",{"_index":728,"t":{"131":{"position":[[159,8]]},"157":{"position":[[448,8]]}}}],["instead",{"_index":47,"t":{"4":{"position":[[462,7]]},"40":{"position":[[598,7]]}}}],["integr",{"_index":480,"t":{"73":{"position":[[179,11]]},"105":{"position":[[43,11],[230,11],[730,11]]},"115":{"position":[[553,11]]}}}],["interact",{"_index":62,"t":{"6":{"position":[[238,13]]},"79":{"position":[[289,11]]},"89":{"position":[[40,11]]}}}],["interfac",{"_index":319,"t":{"44":{"position":[[94,10]]},"123":{"position":[[71,9]]}}}],["interrupt",{"_index":811,"t":{"153":{"position":[[343,13]]}}}],["investig",{"_index":679,"t":{"113":{"position":[[270,14]]}}}],["invok",{"_index":773,"t":{"147":{"position":[[196,6]]}}}],["involv",{"_index":703,"t":{"121":{"position":[[87,8]]}}}],["isn't",{"_index":223,"t":{"22":{"position":[[96,5]]},"42":{"position":[[268,5]]},"101":{"position":[[8,5]]}}}],["isol",{"_index":604,"t":{"103":{"position":[[318,8]]},"111":{"position":[[87,9],[153,9]]},"113":{"position":[[131,8]]}}}],["issu",{"_index":335,"t":{"50":{"position":[[91,7]]},"52":{"position":[[193,5],[224,7]]},"60":{"position":[[537,6]]},"62":{"position":[[51,6]]},"64":{"position":[[197,6],[284,5]]},"99":{"position":[[0,5]]}}}],["it'",{"_index":216,"t":{"18":{"position":[[150,4]]},"42":{"position":[[146,4]]},"60":{"position":[[90,4]]},"66":{"position":[[231,4]]},"68":{"position":[[318,4]]},"101":{"position":[[31,4]]},"109":{"position":[[572,4]]},"121":{"position":[[288,4]]}}}],["itself",{"_index":572,"t":{"93":{"position":[[292,6]]},"103":{"position":[[375,6]]}}}],["jsonl",{"_index":932,"t":{"179":{"position":[[243,7]]}}}],["keep",{"_index":82,"t":{"6":{"position":[[535,4]]},"8":{"position":[[105,4]]},"12":{"position":[[77,4]]},"40":{"position":[[1052,4]]},"62":{"position":[[320,4]]},"75":{"position":[[270,4]]},"103":{"position":[[455,4]]},"115":{"position":[[8,4]]}}}],["keepal",{"_index":247,"t":{"28":{"position":[[165,9]]},"36":{"position":[[284,9]]}}}],["key",{"_index":105,"t":{"8":{"position":[[163,4]]},"10":{"position":[[278,3]]},"40":{"position":[[313,4],[467,4],[594,3],[938,4],[996,4],[1091,3]]},"79":{"position":[[319,3]]},"89":{"position":[[58,3]]},"121":{"position":[[266,3]]},"153":{"position":[[413,3]]},"157":{"position":[[27,3],[424,3]]},"159":{"position":[[33,4],[222,4],[361,3],[695,4]]},"177":{"position":[[63,3],[132,3],[188,3],[265,3],[327,3],[385,3]]}}}],["keyboard",{"_index":713,"t":{"123":{"position":[[131,10]]},"133":{"position":[[282,9]]},"153":{"position":[[486,8]]}}}],["label",{"_index":424,"t":{"64":{"position":[[238,6],[308,7]]}}}],["last",{"_index":69,"t":{"6":{"position":[[390,4]]},"24":{"position":[[23,4]]},"155":{"position":[[160,4]]}}}],["later",{"_index":157,"t":{"10":{"position":[[636,5],[1766,5]]},"95":{"position":[[88,6]]}}}],["latest",{"_index":21,"t":{"4":{"position":[[129,6],[273,6]]}}}],["launch",{"_index":555,"t":{"89":{"position":[[28,8]]}}}],["launchag",{"_index":242,"t":{"28":{"position":[[34,11],[243,12]]},"36":{"position":[[254,11]]}}}],["launchctl",{"_index":246,"t":{"28":{"position":[[134,9]]},"30":{"position":[[0,9],[68,9]]}}}],["learn",{"_index":927,"t":{"177":{"position":[[250,8],[312,8]]}}}],["leav",{"_index":349,"t":{"50":{"position":[[294,7]]},"179":{"position":[[408,6]]}}}],["legitim",{"_index":716,"t":{"125":{"position":[[399,10]]}}}],["let",{"_index":298,"t":{"40":{"position":[[362,4]]},"50":{"position":[[254,7]]},"52":{"position":[[382,4]]},"121":{"position":[[192,4]]}}}],["level",{"_index":250,"t":{"28":{"position":[[237,5]]}}}],["librari",{"_index":530,"t":{"83":{"position":[[319,7]]}}}],["library/launchagents/com.cosmicstack.mercury.plist",{"_index":243,"t":{"28":{"position":[[49,53]]},"30":{"position":[[15,52],[85,52]]}}}],["like",{"_index":919,"t":{"173":{"position":[[170,7]]}}}],["limit",{"_index":125,"t":{"8":{"position":[[427,5]]},"70":{"position":[[505,11]]}}}],["line",{"_index":71,"t":{"6":{"position":[[399,5]]},"24":{"position":[[32,5]]}}}],["linger",{"_index":278,"t":{"36":{"position":[[494,6]]}}}],["link",{"_index":503,"t":{"75":{"position":[[365,4]]}}}],["linux",{"_index":268,"t":{"36":{"position":[[313,5],[443,6]]}}}],["list",{"_index":151,"t":{"10":{"position":[[456,4],[520,4],[1030,4],[1070,4],[1445,4]]},"34":{"position":[[39,4]]},"64":{"position":[[181,4]]},"79":{"position":[[360,4]]},"83":{"position":[[141,4]]},"107":{"position":[[28,4]]},"129":{"position":[[37,4]]},"139":{"position":[[262,4]]},"147":{"position":[[157,4]]}}}],["list_ag",{"_index":650,"t":{"109":{"position":[[141,11]]}}}],["list_dir",{"_index":632,"t":{"105":{"position":[[604,9]]},"111":{"position":[[286,9]]},"139":{"position":[[253,8]]}}}],["list_issu",{"_index":422,"t":{"64":{"position":[[169,11]]}}}],["list_scheduled_task",{"_index":778,"t":{"147":{"position":[[301,20]]}}}],["list_skil",{"_index":771,"t":{"147":{"position":[[145,11]]}}}],["live",{"_index":567,"t":{"93":{"position":[[84,6],[127,6]]},"99":{"position":[[551,4]]},"149":{"position":[[17,5]]},"181":{"position":[[42,4]]}}}],["llm",{"_index":283,"t":{"40":{"position":[[158,3]]},"103":{"position":[[343,3]]},"117":{"position":[[175,4]]},"155":{"position":[[19,3]]}}}],["lo",{"_index":543,"t":{"87":{"position":[[98,3]]}}}],["load",{"_index":165,"t":{"10":{"position":[[1049,6]]},"28":{"position":[[115,5],[144,4]]},"30":{"position":[[10,4]]},"187":{"position":[[157,6]]}}}],["local",{"_index":292,"t":{"40":{"position":[[250,6]]},"60":{"position":[[102,7]]},"77":{"position":[[141,7]]},"91":{"position":[[87,8]]},"97":{"position":[[303,8]]},"157":{"position":[[403,5],[435,5]]},"159":{"position":[[339,5],[443,5]]},"179":{"position":[[332,7]]}}}],["lock",{"_index":610,"t":{"103":{"position":[[527,5],[549,5]]},"107":{"position":[[186,6]]},"111":{"position":[[691,5],[741,4]]}}}],["log",{"_index":68,"t":{"6":{"position":[[380,4],[415,4],[887,7]]},"24":{"position":[[8,4]]},"26":{"position":[[69,3]]},"28":{"position":[[274,5]]},"44":{"position":[[105,4]]},"48":{"position":[[48,4]]},"73":{"position":[[38,3]]},"149":{"position":[[553,4]]}}}],["login",{"_index":244,"t":{"28":{"position":[[124,5]]},"36":{"position":[[278,5],[344,5],[463,5]]},"52":{"position":[[255,5]]}}}],["loginctl",{"_index":276,"t":{"36":{"position":[[478,8]]}}}],["logon",{"_index":275,"t":{"36":{"position":[[419,5]]}}}],["logout",{"_index":514,"t":{"79":{"position":[[224,6]]},"95":{"position":[[9,6]]}}}],["long",{"_index":569,"t":{"93":{"position":[[122,4]]},"99":{"position":[[439,4]]},"149":{"position":[[447,4]]},"179":{"position":[[221,4]]}}}],["loop",{"_index":237,"t":{"26":{"position":[[300,6]]},"111":{"position":[[505,4]]},"153":{"position":[[313,4]]}}}],["low",{"_index":890,"t":{"169":{"position":[[515,3]]}}}],["ls",{"_index":804,"t":{"151":{"position":[[162,3]]}}}],["machin",{"_index":441,"t":{"68":{"position":[[197,8]]},"77":{"position":[[157,7]]},"97":{"position":[[174,7]]},"179":{"position":[[420,8]]}}}],["maco",{"_index":266,"t":{"36":{"position":[[248,5]]}}}],["made",{"_index":901,"t":{"171":{"position":[[292,4]]}}}],["main",{"_index":645,"t":{"107":{"position":[[300,4]]},"111":{"position":[[15,4],[424,4]]},"113":{"position":[[178,4]]},"149":{"position":[[108,4]]}}}],["make",{"_index":336,"t":{"50":{"position":[[103,6]]}}}],["manag",{"_index":144,"t":{"10":{"position":[[358,10],[1483,6]]},"50":{"position":[[82,8],[266,6]]},"52":{"position":[[199,10]]},"70":{"position":[[84,6]]},"73":{"position":[[505,10]]},"109":{"position":[[28,6]]}}}],["manual",{"_index":45,"t":{"4":{"position":[[432,9]]},"6":{"position":[[637,6]]},"10":{"position":[[179,6]]},"79":{"position":[[134,6]]},"99":{"position":[[365,6]]},"117":{"position":[[136,8],[192,8],[394,6]]},"175":{"position":[[110,6]]}}}],["mark",{"_index":132,"t":{"10":{"position":[[89,6]]}}}],["markdown",{"_index":326,"t":{"46":{"position":[[188,8]]},"133":{"position":[[214,8]]},"181":{"position":[[11,8]]}}}],["mask",{"_index":107,"t":{"8":{"position":[[178,7]]},"40":{"position":[[931,6],[1011,6]]}}}],["match",{"_index":483,"t":{"73":{"position":[[248,5]]},"87":{"position":[[342,5]]},"179":{"position":[[256,5]]}}}],["max",{"_index":616,"t":{"103":{"position":[[622,3]]},"117":{"position":[[339,3]]}}}],["maxconcurr",{"_index":688,"t":{"117":{"position":[[79,14]]}}}],["mean",{"_index":434,"t":{"66":{"position":[[135,5]]},"159":{"position":[[607,5]]}}}],["member",{"_index":155,"t":{"10":{"position":[[554,7],[856,6],[931,6]]},"125":{"position":[[58,8]]},"127":{"position":[[149,6]]},"129":{"position":[[64,8],[322,6],[373,6],[441,6],[539,8]]},"133":{"position":[[418,8]]}}}],["memori",{"_index":184,"t":{"10":{"position":[[1466,7],[1503,6]]},"149":{"position":[[467,6]]},"167":{"position":[[37,6]]},"169":{"position":[[188,8],[404,8],[460,8],[499,8],[538,8],[577,8]]},"173":{"position":[[30,8]]},"175":{"position":[[129,7]]},"177":{"position":[[4,7],[117,8]]}}}],["memory.secondbrain.en",{"_index":930,"t":{"179":{"position":[[117,27]]}}}],["menu",{"_index":137,"t":{"10":{"position":[[247,5],[1893,5]]},"121":{"position":[[270,5]]},"133":{"position":[[487,4],[533,4]]},"153":{"position":[[417,4]]},"177":{"position":[[67,4],[136,4],[192,4],[269,4],[331,4],[389,4]]}}}],["mercuri",{"_index":0,"t":{"2":{"position":[[0,7]]},"4":{"position":[[0,7],[80,7],[446,7]]},"6":{"position":[[20,7],[92,7],[125,7],[140,7],[191,7],[272,7],[309,7],[325,7],[356,7],[372,7],[420,7],[482,7],[555,7],[610,7],[676,7],[747,7],[802,7],[852,7]]},"8":{"position":[[0,7],[239,7],[433,7]]},"10":{"position":[[38,8]]},"12":{"position":[[0,7]]},"14":{"position":[[0,7],[21,7]]},"16":{"position":[[0,7],[32,7],[140,7]]},"18":{"position":[[0,7],[127,7]]},"20":{"position":[[0,7]]},"22":{"position":[[0,7]]},"24":{"position":[[0,7]]},"26":{"position":[[0,7],[147,7]]},"28":{"position":[[0,7]]},"32":{"position":[[23,7],[55,7],[85,7]]},"36":{"position":[[8,7],[94,7]]},"38":{"position":[[0,7],[23,7]]},"40":{"position":[[4,7],[134,10],[318,7],[561,7],[680,7],[874,11],[967,7]]},"42":{"position":[[20,7],[54,7],[164,7],[178,7],[206,7]]},"44":{"position":[[0,7],[21,7]]},"46":{"position":[[0,7],[32,7],[219,7],[292,7]]},"48":{"position":[[64,7]]},"50":{"position":[[0,7],[422,7]]},"52":{"position":[[143,7],[301,7],[387,7]]},"54":{"position":[[4,7],[55,7]]},"58":{"position":[[6,7],[71,7]]},"60":{"position":[[20,7],[318,7],[677,7]]},"62":{"position":[[215,7]]},"66":{"position":[[5,7],[87,7]]},"70":{"position":[[0,7],[227,7],[523,7]]},"73":{"position":[[109,7],[157,7]]},"75":{"position":[[4,7],[23,7],[60,7]]},"77":{"position":[[6,7],[122,7],[252,7],[439,7]]},"81":{"position":[[20,7]]},"87":{"position":[[13,7],[52,7]]},"91":{"position":[[61,7],[112,7],[196,7],[352,7]]},"93":{"position":[[0,7]]},"97":{"position":[[312,7]]},"99":{"position":[[529,7]]},"101":{"position":[[0,7],[192,7]]},"103":{"position":[[94,7],[367,7],[474,7]]},"105":{"position":[[62,7],[365,8]]},"109":{"position":[[0,7],[251,7]]},"113":{"position":[[0,7],[318,7]]},"115":{"position":[[32,7]]},"121":{"position":[[27,7],[111,7],[197,7]]},"123":{"position":[[0,7]]},"125":{"position":[[0,7],[582,7]]},"129":{"position":[[20,7],[94,7],[196,7],[261,7],[329,7],[389,7],[481,7]]},"131":{"position":[[151,7]]},"135":{"position":[[26,7],[323,7]]},"137":{"position":[[0,7]]},"149":{"position":[[26,11]]},"151":{"position":[[0,7]]},"153":{"position":[[18,7],[76,7],[228,7]]},"155":{"position":[[34,7],[115,7]]},"159":{"position":[[4,7]]},"161":{"position":[[0,7]]},"163":{"position":[[5,7]]},"167":{"position":[[0,7]]},"169":{"position":[[38,7],[251,7],[320,7]]},"173":{"position":[[5,7]]},"175":{"position":[[74,7]]},"177":{"position":[[225,7]]},"179":{"position":[[193,7]]},"183":{"position":[[5,7]]}}}],["mercury'",{"_index":346,"t":{"50":{"position":[[226,9]]},"52":{"position":[[22,9]]},"58":{"position":[[161,9]]},"66":{"position":[[141,9]]},"119":{"position":[[26,9]]},"159":{"position":[[557,9]]}}}],["mercury/.env",{"_index":377,"t":{"58":{"position":[[248,15]]},"60":{"position":[[113,15]]}}}],["mercury/daemon",{"_index":251,"t":{"28":{"position":[[306,17]]}}}],["mercury/daemon.log",{"_index":206,"t":{"14":{"position":[[154,22]]},"24":{"position":[[41,22]]},"28":{"position":[[280,21]]},"44":{"position":[[116,22]]},"149":{"position":[[519,21]]}}}],["mercury/daemon.pid",{"_index":203,"t":{"14":{"position":[[107,22]]},"149":{"position":[[474,21]]}}}],["mercury/memori",{"_index":797,"t":{"149":{"position":[[416,18]]}}}],["mercury/memory/second",{"_index":934,"t":{"179":{"position":[[343,24]]}}}],["mercury/mercury.yaml",{"_index":439,"t":{"68":{"position":[[52,23]]},"93":{"position":[[38,24]]},"97":{"position":[[85,24]]},"117":{"position":[[29,24]]},"149":{"position":[[84,23]]},"159":{"position":[[129,24]]},"179":{"position":[[154,23]]}}}],["mercury/permissions.yaml",{"_index":790,"t":{"149":{"position":[[223,27]]},"151":{"position":[[312,27]]}}}],["mercury/schedules.yaml",{"_index":794,"t":{"149":{"position":[[319,25]]},"165":{"position":[[101,25]]}}}],["mercury/skil",{"_index":793,"t":{"149":{"position":[[283,18]]}}}],["mercury/skills/<name>/skill.md",{"_index":938,"t":{"181":{"position":[[50,34]]}}}],["mercury/soul/*.md",{"_index":785,"t":{"149":{"position":[[150,20]]}}}],["mercury/token",{"_index":795,"t":{"149":{"position":[[361,16]]}}}],["[email protected]",{"_index":374,"t":{"58":{"position":[[79,25]]},"66":{"position":[[95,25]]}}}],["mercuryag",{"_index":258,"t":{"34":{"position":[[20,14],[62,14],[98,14]]}}}],["messag",{"_index":174,"t":{"10":{"position":[[1199,7]]},"111":{"position":[[5,7]]},"115":{"position":[[55,8],[138,8]]},"125":{"position":[[632,8]]},"127":{"position":[[187,8]]},"141":{"position":[[49,7]]},"153":{"position":[[525,8]]},"169":{"position":[[160,8]]}}}],["method",{"_index":265,"t":{"36":{"position":[[200,6]]},"77":{"position":[[63,7],[71,6]]}}}],["mini",{"_index":820,"t":{"157":{"position":[[132,4],[159,5]]}}}],["minut",{"_index":857,"t":{"165":{"position":[[17,7]]},"169":{"position":[[311,8]]}}}],["mismatch",{"_index":918,"t":{"173":{"position":[[159,10]]}}}],["mistral",{"_index":846,"t":{"159":{"position":[[508,8]]}}}],["mkf",{"_index":802,"t":{"151":{"position":[[103,4]]}}}],["mobil",{"_index":711,"t":{"123":{"position":[[58,6]]}}}],["mode",{"_index":63,"t":{"6":{"position":[[252,5]]},"10":{"position":[[1396,4]]},"26":{"position":[[118,4]]},"46":{"position":[[264,5]]},"73":{"position":[[357,4],[412,4]]},"85":{"position":[[275,4]]},"101":{"position":[[167,5]]},"105":{"position":[[106,4]]},"109":{"position":[[395,4]]},"117":{"position":[[155,5]]},"119":{"position":[[48,4],[77,4],[244,5],[278,4]]},"139":{"position":[[434,4]]},"149":{"position":[[548,4]]},"153":{"position":[[58,5],[561,4],[619,4]]}}}],["model",{"_index":110,"t":{"8":{"position":[[213,6],[255,6]]},"40":{"position":[[278,5],[351,6],[527,7],[538,5]]},"125":{"position":[[36,5]]},"133":{"position":[[396,5]]},"157":{"position":[[17,5],[381,6]]},"159":{"position":[[241,6],[449,6]]}}}],["monday",{"_index":854,"t":{"163":{"position":[[112,6]]}}}],["more",{"_index":285,"t":{"40":{"position":[[188,5]]},"73":{"position":[[652,4]]},"159":{"position":[[471,4]]},"167":{"position":[[208,5]]}}}],["multi",{"_index":622,"t":{"105":{"position":[[94,5]]},"109":{"position":[[383,5]]},"133":{"position":[[365,5]]}}}],["multipl",{"_index":602,"t":{"103":{"position":[[277,8]]},"113":{"position":[[249,8]]},"155":{"position":[[10,8]]}}}],["music",{"_index":453,"t":{"70":{"position":[[77,6],[216,6]]},"81":{"position":[[53,6]]},"87":{"position":[[37,6],[82,6]]}}}],["n",{"_index":178,"t":{"10":{"position":[[1335,3]]}}}],["name",{"_index":135,"t":{"10":{"position":[[205,5]]},"40":{"position":[[69,4],[115,4]]},"60":{"position":[[307,4],[666,4]]},"62":{"position":[[253,4]]},"73":{"position":[[103,5]]},"79":{"position":[[61,5]]},"93":{"position":[[187,5]]},"99":{"position":[[495,4]]},"147":{"position":[[214,4]]},"171":{"position":[[57,5]]}}}],["nativ",{"_index":450,"t":{"70":{"position":[[41,8]]}}}],["natur",{"_index":341,"t":{"50":{"position":[[144,7]]},"70":{"position":[[133,7]]},"87":{"position":[[21,9]]},"113":{"position":[[44,9]]},"169":{"position":[[275,10]]}}}],["need",{"_index":214,"t":{"18":{"position":[[76,7]]},"22":{"position":[[124,4]]},"28":{"position":[[224,7]]},"36":{"position":[[518,5]]},"42":{"position":[[107,7]]},"58":{"position":[[131,6]]},"60":{"position":[[4,4]]},"73":{"position":[[647,4],[679,4]]},"99":{"position":[[55,4]]},"135":{"position":[[68,4]]},"145":{"position":[[170,6]]},"153":{"position":[[146,4]]},"157":{"position":[[428,6]]}}}],["negat",{"_index":917,"t":{"173":{"position":[[150,8]]}}}],["never",{"_index":382,"t":{"60":{"position":[[66,5],[133,5]]},"68":{"position":[[118,5]]},"91":{"position":[[69,5]]},"97":{"position":[[184,5],[320,5]]},"151":{"position":[[112,5]]}}}],["new",{"_index":50,"t":{"4":{"position":[[531,3]]},"8":{"position":[[134,3]]},"10":{"position":[[1551,3]]},"40":{"position":[[1087,3]]},"64":{"position":[[280,3]]},"93":{"position":[[146,3]]},"125":{"position":[[463,3]]},"131":{"position":[[51,4]]},"139":{"position":[[135,3]]}}}],["new_str",{"_index":750,"t":{"139":{"position":[[242,10]]}}}],["newer",{"_index":916,"t":{"173":{"position":[[134,5]]}}}],["next",{"_index":534,"t":{"85":{"position":[[126,4]]},"89":{"position":[[114,4]]},"103":{"position":[[216,5]]},"155":{"position":[[133,4]]}}}],["node.j",{"_index":2,"t":{"2":{"position":[[17,7]]}}}],["non",{"_index":609,"t":{"103":{"position":[[432,3]]}}}],["none",{"_index":118,"t":{"8":{"position":[[314,4]]},"135":{"position":[[294,4]]}}}],["normal",{"_index":629,"t":{"105":{"position":[[531,9]]},"115":{"position":[[22,9]]},"119":{"position":[[195,6]]}}}],["noth",{"_index":311,"t":{"40":{"position":[[888,7]]},"179":{"position":[[400,7]]}}}],["notif",{"_index":672,"t":{"111":{"position":[[638,12]]},"115":{"position":[[125,12]]},"153":{"position":[[696,12]]}}}],["notifi",{"_index":659,"t":{"109":{"position":[[556,6]]}}}],["now",{"_index":468,"t":{"70":{"position":[[328,3]]},"79":{"position":[[439,3]]},"105":{"position":[[138,3],[207,3]]},"109":{"position":[[427,3]]}}}],["npm",{"_index":5,"t":{"2":{"position":[[43,4],[48,3]]},"4":{"position":[[117,3],[423,3]]}}}],["npx",{"_index":11,"t":{"2":{"position":[[111,3]]}}}],["number",{"_index":696,"t":{"117":{"position":[[343,6]]}}}],["o3",{"_index":822,"t":{"157":{"position":[[173,3]]}}}],["oauth",{"_index":512,"t":{"79":{"position":[[111,5]]}}}],["old",{"_index":29,"t":{"4":{"position":[[214,3],[487,3]]}}}],["old_str",{"_index":749,"t":{"139":{"position":[[230,11]]}}}],["ollama",{"_index":290,"t":{"40":{"position":[[229,6],[243,6]]},"157":{"position":[[320,6],[374,6],[396,6],[441,6]]},"159":{"position":[[332,6]]}}}],["ollama_cloud_api_key",{"_index":833,"t":{"157":{"position":[[346,20]]}}}],["ollama_local_enabled=tru",{"_index":842,"t":{"159":{"position":[[376,25]]}}}],["ollama_local_model",{"_index":843,"t":{"159":{"position":[[406,18]]}}}],["on",{"_index":51,"t":{"4":{"position":[[535,4]]},"10":{"position":[[1277,3]]},"18":{"position":[[16,3]]},"22":{"position":[[69,4]]},"36":{"position":[[507,4]]},"40":{"position":[[181,3]]},"103":{"position":[[43,3],[63,3]]},"125":{"position":[[612,4],[620,4]]},"129":{"position":[[458,3]]},"147":{"position":[[269,3]]},"155":{"position":[[138,3]]},"161":{"position":[[53,3]]},"173":{"position":[[110,3],[140,3]]}}}],["on/off",{"_index":170,"t":{"10":{"position":[[1131,8]]},"85":{"position":[[242,6]]}}}],["onboard",{"_index":280,"t":{"40":{"position":[[36,10]]},"135":{"position":[[52,11]]}}}],["onc",{"_index":719,"t":{"125":{"position":[[441,4]]}}}],["open",{"_index":138,"t":{"10":{"position":[[263,4],[344,4]]},"52":{"position":[[180,5],[219,4]]},"64":{"position":[[220,6]]},"77":{"position":[[90,4],[208,4],[288,4]]},"91":{"position":[[221,4]]},"99":{"position":[[259,4],[343,4]]}}}],["openai",{"_index":287,"t":{"40":{"position":[[204,7],[260,6]]},"157":{"position":[[118,6],[293,6],[475,6],[532,6]]},"159":{"position":[[567,6]]}}}],["openai_api_key",{"_index":821,"t":{"157":{"position":[[137,14]]}}}],["openai_compat_api_key",{"_index":836,"t":{"157":{"position":[[506,21]]}}}],["oppos",{"_index":909,"t":{"173":{"position":[[21,8]]}}}],["option",{"_index":143,"t":{"10":{"position":[[316,7]]},"40":{"position":[[409,9]]},"109":{"position":[[124,8]]}}}],["opu",{"_index":829,"t":{"157":{"position":[[257,4]]}}}],["orchestr",{"_index":586,"t":{"101":{"position":[[39,13]]},"111":{"position":[[26,14]]}}}],["order",{"_index":813,"t":{"155":{"position":[[56,5]]}}}],["organ",{"_index":714,"t":{"125":{"position":[[16,12]]},"133":{"position":[[383,12]]}}}],["oss:120b",{"_index":832,"t":{"157":{"position":[[337,8]]}}}],["oss:20b",{"_index":834,"t":{"157":{"position":[[413,7]]}}}],["otherwis",{"_index":133,"t":{"10":{"position":[[96,10]]}}}],["output",{"_index":205,"t":{"14":{"position":[[144,6]]},"16":{"position":[[112,6]]}}}],["over",{"_index":923,"t":{"175":{"position":[[99,4]]}}}],["overrid",{"_index":175,"t":{"10":{"position":[[1248,8],[1257,8]]},"117":{"position":[[238,10]]}}}],["overview",{"_index":925,"t":{"177":{"position":[[48,8],[74,8],[101,8]]}}}],["owner",{"_index":412,"t":{"62":{"position":[[238,5]]},"125":{"position":[[410,5]]}}}],["packag",{"_index":30,"t":{"4":{"position":[[218,7],[491,7]]}}}],["page",{"_index":487,"t":{"73":{"position":[[295,5]]}}}],["pair",{"_index":121,"t":{"8":{"position":[[370,7]]},"10":{"position":[[618,7],[1002,7],[1595,7],[1687,7]]},"40":{"position":[[707,7],[767,7]]},"119":{"position":[[11,4]]},"125":{"position":[[116,7],[254,7],[313,7]]},"127":{"position":[[59,5]]},"129":{"position":[[151,7]]},"131":{"position":[[30,5]]}}}],["parallel",{"_index":587,"t":{"101":{"position":[[66,8]]},"103":{"position":[[256,8]]},"105":{"position":[[403,8]]},"109":{"position":[[308,8]]},"121":{"position":[[96,8]]}}}],["paralleliz",{"_index":675,"t":{"113":{"position":[[54,14]]}}}],["paramet",{"_index":506,"t":{"77":{"position":[[346,9]]},"139":{"position":[[18,10]]},"141":{"position":[[18,10]]},"143":{"position":[[18,10]]}}}],["parent",{"_index":747,"t":{"139":{"position":[[153,6]]}}}],["pars",{"_index":411,"t":{"62":{"position":[[228,5]]}}}],["part",{"_index":704,"t":{"121":{"position":[[132,5]]}}}],["pass",{"_index":636,"t":{"105":{"position":[[748,8]]},"115":{"position":[[403,11]]}}}],["past",{"_index":120,"t":{"8":{"position":[[343,5]]},"40":{"position":[[804,5],[1079,5]]},"75":{"position":[[144,5],[200,5]]},"77":{"position":[[165,5],[331,5],[393,6]]},"79":{"position":[[189,6]]},"99":{"position":[[406,6]]},"183":{"position":[[86,5]]}}}],["pat",{"_index":391,"t":{"60":{"position":[[225,3],[614,4]]},"62":{"position":[[353,3]]},"68":{"position":[[11,3],[35,3]]}}}],["path",{"_index":90,"t":{"6":{"position":[[669,6]]},"26":{"position":[[78,5]]},"107":{"position":[[361,5]]},"139":{"position":[[58,4],[100,5],[166,5],[224,5],[286,4],[317,4],[368,4],[428,5]]},"143":{"position":[[125,4]]},"149":{"position":[[71,4]]}}}],["pattern",{"_index":885,"t":{"169":{"position":[[427,9]]},"171":{"position":[[225,8],[490,8]]},"175":{"position":[[66,7]]}}}],["paus",{"_index":470,"t":{"70":{"position":[[396,6]]},"85":{"position":[[90,5]]},"87":{"position":[[250,7]]},"151":{"position":[[237,5]]},"177":{"position":[[244,5],[276,5],[299,5]]}}}],["pend",{"_index":145,"t":{"10":{"position":[[374,7],[438,7],[461,7],[707,7],[1815,7]]},"115":{"position":[[573,7]]},"125":{"position":[[497,7]]},"127":{"position":[[222,7],[283,7]]},"129":{"position":[[77,7],[169,7],[238,7],[548,9]]},"151":{"position":[[201,7]]}}}],["peopl",{"_index":905,"t":{"171":{"position":[[370,6]]}}}],["perfect",{"_index":493,"t":{"73":{"position":[[599,7]]}}}],["perman",{"_index":758,"t":{"143":{"position":[[146,11]]},"151":{"position":[[272,11]]}}}],["permiss",{"_index":179,"t":{"10":{"position":[[1365,12],[1385,10]]},"60":{"position":[[435,11],[460,12]]},"111":{"position":[[550,10]]},"151":{"position":[[25,10]]},"153":{"position":[[47,10],[538,12]]},"187":{"position":[[119,11]]}}}],["persist",{"_index":316,"t":{"42":{"position":[[62,13]]},"91":{"position":[[325,8]]},"143":{"position":[[101,9]]},"165":{"position":[[90,7]]},"167":{"position":[[14,11]]}}}],["person",{"_index":494,"t":{"73":{"position":[[611,8]]},"149":{"position":[[177,11]]}}}],["persona",{"_index":787,"t":{"149":{"position":[[196,8]]}}}],["phone",{"_index":558,"t":{"91":{"position":[[32,6]]}}}],["phone/comput",{"_index":581,"t":{"99":{"position":[[280,15]]}}}],["photo",{"_index":731,"t":{"133":{"position":[[120,7]]}}}],["pick",{"_index":545,"t":{"87":{"position":[[113,5]]}}}],["picker",{"_index":140,"t":{"10":{"position":[[290,6]]}}}],["pid",{"_index":75,"t":{"6":{"position":[[466,4]]},"14":{"position":[[95,3],[183,3]]},"18":{"position":[[194,4]]},"20":{"position":[[95,3]]},"26":{"position":[[56,4],[313,3]]},"42":{"position":[[248,4]]},"44":{"position":[[145,3]]},"149":{"position":[[515,3]]}}}],["ping",{"_index":859,"t":{"165":{"position":[[42,5]]}}}],["plan",{"_index":510,"t":{"79":{"position":[[67,5]]},"93":{"position":[[202,4]]},"119":{"position":[[97,4],[102,4]]},"121":{"position":[[11,4],[69,5],[82,4]]}}}],["platform",{"_index":262,"t":{"36":{"position":[[136,8],[191,8]]}}}],["play",{"_index":461,"t":{"70":{"position":[[199,5],[332,8],[389,6]]},"79":{"position":[[466,7]]},"83":{"position":[[117,7]]},"85":{"position":[[31,4]]},"87":{"position":[[65,5],[127,5],[278,5],[332,5],[400,9]]},"91":{"position":[[8,5],[75,5],[103,8]]},"99":{"position":[[296,4]]}}}],["play/paus",{"_index":556,"t":{"89":{"position":[[89,10]]}}}],["play/pause/skip",{"_index":579,"t":{"99":{"position":[[152,15]]}}}],["playback",{"_index":451,"t":{"70":{"position":[[60,9],[372,8]]},"85":{"position":[[96,8],[335,8]]},"99":{"position":[[72,8],[208,8]]}}}],["player",{"_index":516,"t":{"79":{"position":[[282,6],[301,6]]},"89":{"position":[[13,6],[62,6]]}}}],["playlist",{"_index":454,"t":{"70":{"position":[[91,10],[317,10]]},"83":{"position":[[65,9],[275,9]]},"85":{"position":[[55,8]]},"87":{"position":[[287,8],[321,10]]}}}],["plist",{"_index":267,"t":{"36":{"position":[[266,5]]}}}],["point",{"_index":708,"t":{"121":{"position":[[233,6]]}}}],["pollut",{"_index":669,"t":{"111":{"position":[[458,7]]},"113":{"position":[[159,9]]}}}],["posit",{"_index":240,"t":{"26":{"position":[[386,10]]}}}],["post",{"_index":361,"t":{"52":{"position":[[328,5]]},"64":{"position":[[148,4]]}}}],["pr",{"_index":334,"t":{"50":{"position":[[77,4]]},"52":{"position":[[119,2],[190,2],[290,2]]},"64":{"position":[[115,2]]}}}],["pre",{"_index":98,"t":{"8":{"position":[[65,3]]}}}],["prefer",{"_index":379,"t":{"58":{"position":[[295,6]]},"91":{"position":[[375,9]]},"159":{"position":[[433,9]]},"167":{"position":[[166,12]]},"171":{"position":[[80,10]]},"173":{"position":[[45,8],[69,8]]}}}],["premium",{"_index":464,"t":{"70":{"position":[[269,7],[460,7]]},"99":{"position":[[24,7],[60,7],[226,7]]}}}],["premium/fre",{"_index":571,"t":{"93":{"position":[[207,14]]}}}],["present",{"_index":702,"t":{"121":{"position":[[59,7],[205,7]]}}}],["press",{"_index":80,"t":{"6":{"position":[[520,5]]},"8":{"position":[[77,5]]},"40":{"position":[[1037,5]]},"46":{"position":[[90,5]]},"62":{"position":[[292,5]]},"75":{"position":[[236,5]]}}}],["prevent",{"_index":32,"t":{"4":{"position":[[235,7]]},"26":{"position":[[286,7],[354,7]]},"103":{"position":[[555,7]]}}}],["previou",{"_index":536,"t":{"85":{"position":[[162,8]]},"89":{"position":[[102,8]]}}}],["primari",{"_index":318,"t":{"44":{"position":[[86,7]]}}}],["privat",{"_index":191,"t":{"10":{"position":[[1629,7]]},"40":{"position":[[440,7]]},"60":{"position":[[753,7]]},"125":{"position":[[563,7],[604,7]]}}}],["process",{"_index":67,"t":{"6":{"position":[[317,7],[364,7]]},"14":{"position":[[77,8]]},"20":{"position":[[71,7]]},"107":{"position":[[329,9]]},"115":{"position":[[40,9]]},"149":{"position":[[507,7]]}}}],["process.kil",{"_index":219,"t":{"20":{"position":[[27,13]]}}}],["profil",{"_index":882,"t":{"169":{"position":[[337,7]]}}}],["program",{"_index":699,"t":{"119":{"position":[[36,11]]}}}],["progress",{"_index":552,"t":{"87":{"position":[[460,8]]},"89":{"position":[[236,8]]},"111":{"position":[[621,8]]},"115":{"position":[[91,8]]},"187":{"position":[[169,11]]}}}],["project",{"_index":312,"t":{"40":{"position":[[904,7]]},"149":{"position":[[52,7]]},"167":{"position":[[186,9]]},"171":{"position":[[164,7]]}}}],["promot",{"_index":161,"t":{"10":{"position":[[814,7],[837,7]]},"129":{"position":[[346,7],[363,7]]},"169":{"position":[[610,8]]}}}],["promote/demot",{"_index":724,"t":{"127":{"position":[[101,14]]}}}],["prompt",{"_index":322,"t":{"46":{"position":[[82,7]]},"75":{"position":[[80,8]]},"153":{"position":[[331,8],[458,7]]}}}],["provid",{"_index":74,"t":{"6":{"position":[[448,10]]},"8":{"position":[[199,9]]},"10":{"position":[[211,9]]},"40":{"position":[[162,9],[458,8]]},"123":{"position":[[46,9]]},"149":{"position":[[120,11]]},"155":{"position":[[23,10],[99,8],[176,9]]},"157":{"position":[[0,8],[93,9]]},"159":{"position":[[46,9],[188,8],[476,9],[527,9],[585,8],[648,9]]}}}],["prune",{"_index":886,"t":{"169":{"position":[[437,7]]}}}],["publish",{"_index":22,"t":{"4":{"position":[[136,9]]}}}],["pull",{"_index":332,"t":{"50":{"position":[[52,4]]},"52":{"position":[[93,4]]},"60":{"position":[[506,4]]},"64":{"position":[[37,4]]},"169":{"position":[[46,5]]}}}],["purpos",{"_index":784,"t":{"149":{"position":[[76,7]]}}}],["push",{"_index":356,"t":{"52":{"position":[[168,7]]},"145":{"position":[[155,4]]}}}],["python",{"_index":912,"t":{"173":{"position":[[78,9]]}}}],["queri",{"_index":256,"t":{"34":{"position":[[9,6]]}}}],["queue",{"_index":475,"t":{"70":{"position":[[434,6]]},"85":{"position":[[344,5]]},"87":{"position":[[489,6]]},"89":{"position":[[163,5]]},"107":{"position":[[128,5],[171,6]]}}}],["quick",{"_index":741,"t":{"133":{"position":[[542,5]]}}}],["quota",{"_index":498,"t":{"73":{"position":[[704,5]]}}}],["ram",{"_index":619,"t":{"103":{"position":[[688,3]]}}}],["random",{"_index":306,"t":{"40":{"position":[[619,6]]}}}],["rare",{"_index":573,"t":{"93":{"position":[[307,7]]}}}],["raw",{"_index":427,"t":{"64":{"position":[[341,3]]}}}],["re",{"_index":86,"t":{"6":{"position":[[569,2]]},"8":{"position":[[15,2]]},"40":{"position":[[581,2]]}}}],["read",{"_index":359,"t":{"52":{"position":[[309,5]]},"60":{"position":[[491,4],[522,4],[546,4]]},"70":{"position":[[277,4]]},"99":{"position":[[90,4]]},"139":{"position":[[39,4]]}}}],["read/writ",{"_index":754,"t":{"139":{"position":[[395,10]]}}}],["read_fil",{"_index":630,"t":{"105":{"position":[[561,10],[614,9]]},"111":{"position":[[234,10]]},"115":{"position":[[214,10],[530,10]]},"139":{"position":[[29,9]]}}}],["reader",{"_index":611,"t":{"103":{"position":[[535,6]]}}}],["readlin",{"_index":321,"t":{"46":{"position":[[73,8]]}}}],["real",{"_index":325,"t":{"46":{"position":[[159,4]]},"89":{"position":[[195,4]]},"133":{"position":[[35,4]]},"135":{"position":[[259,4]]}}}],["receiv",{"_index":194,"t":{"10":{"position":[[1676,8]]},"40":{"position":[[784,7]]},"127":{"position":[[200,7]]},"153":{"position":[[686,7]]}}}],["recent",{"_index":926,"t":{"177":{"position":[[110,6],[143,6],[168,6]]}}}],["recipi",{"_index":755,"t":{"141":{"position":[[78,10]]}}}],["recommend",{"_index":54,"t":{"6":{"position":[[31,12]]},"40":{"position":[[334,11]]},"42":{"position":[[7,12]]},"60":{"position":[[229,14]]},"77":{"position":[[103,13]]}}}],["reconfigur",{"_index":78,"t":{"6":{"position":[[497,11]]},"40":{"position":[[948,13]]}}}],["reconnect",{"_index":574,"t":{"95":{"position":[[78,9]]}}}],["recoveri",{"_index":227,"t":{"26":{"position":[[98,8]]},"28":{"position":[[155,9]]},"36":{"position":[[239,8]]},"44":{"position":[[188,8]]}}}],["recur",{"_index":775,"t":{"147":{"position":[[249,9]]}}}],["redirect",{"_index":204,"t":{"14":{"position":[[134,9]]},"73":{"position":[[191,8]]},"77":{"position":[[365,8]]}}}],["refer",{"_index":880,"t":{"169":{"position":[[259,10]]}}}],["reflect",{"_index":884,"t":{"169":{"position":[[393,10]]},"171":{"position":[[440,10]]},"175":{"position":[[169,11]]}}}],["refresh",{"_index":568,"t":{"93":{"position":[[96,9],[106,7],[229,7],[278,7]]},"97":{"position":[[272,7]]}}}],["regist",{"_index":344,"t":{"50":{"position":[[205,10],[475,10]]},"62":{"position":[[392,10]]},"133":{"position":[[504,10]]}}}],["reinforc",{"_index":893,"t":{"169":{"position":[[586,10]]}}}],["reject",{"_index":158,"t":{"10":{"position":[[676,6],[698,6],[1861,8]]},"125":{"position":[[227,7],[540,7]]},"129":{"position":[[213,6],[229,6]]}}}],["relationship",{"_index":904,"t":{"171":{"position":[[349,12]]}}}],["releas",{"_index":641,"t":{"107":{"position":[[178,7]]}}}],["relev",{"_index":876,"t":{"169":{"position":[[179,8]]}}}],["remain",{"_index":727,"t":{"129":{"position":[[473,7]]}}}],["rememb",{"_index":565,"t":{"91":{"position":[[360,9]]},"155":{"position":[[146,9]]}}}],["remind",{"_index":850,"t":{"163":{"position":[[30,7]]},"165":{"position":[[0,7]]},"187":{"position":[[0,7]]}}}],["remot",{"_index":300,"t":{"40":{"position":[[423,6]]},"145":{"position":[[163,6]]},"157":{"position":[[367,6]]}}}],["remov",{"_index":28,"t":{"4":{"position":[[202,7],[475,7]]},"10":{"position":[[749,6]]},"20":{"position":[[83,7]]},"129":{"position":[[278,6],[294,6]]}}}],["renam",{"_index":44,"t":{"4":{"position":[[403,6]]}}}],["render",{"_index":327,"t":{"46":{"position":[[197,10]]}}}],["repeat",{"_index":474,"t":{"70":{"position":[[426,7]]},"85":{"position":[[268,6]]},"89":{"position":[[143,6]]}}}],["replac",{"_index":103,"t":{"8":{"position":[[147,7]]},"40":{"position":[[1098,7]]},"139":{"position":[[201,7]]}}}],["repo",{"_index":399,"t":{"60":{"position":[[423,5],[725,4]]},"62":{"position":[[81,4],[248,4]]}}}],["report",{"_index":671,"t":{"111":{"position":[[613,7]]}}}],["repositori",{"_index":348,"t":{"50":{"position":[[273,12]]},"60":{"position":[[361,10],[391,12],[449,10],[761,13]]},"62":{"position":[[14,10]]},"64":{"position":[[209,10]]}}}],["request",{"_index":146,"t":{"10":{"position":[[382,9],[485,8],[658,7],[731,7],[1281,7],[1823,9]]},"50":{"position":[[57,9]]},"52":{"position":[[98,8]]},"60":{"position":[[511,8]]},"64":{"position":[[42,7]]},"73":{"position":[[687,7]]},"125":{"position":[[165,7],[505,7]]},"127":{"position":[[29,9],[91,9]]},"129":{"position":[[85,8],[177,7],[253,7]]},"131":{"position":[[36,7]]},"139":{"position":[[387,7]]}}}],["requir",{"_index":1,"t":{"2":{"position":[[8,8]]},"36":{"position":[[207,8],[469,8]]},"70":{"position":[[441,8]]},"99":{"position":[[35,9]]},"159":{"position":[[345,8]]}}}],["research",{"_index":595,"t":{"103":{"position":[[105,9]]},"113":{"position":[[76,9]]}}}],["reselect",{"_index":111,"t":{"8":{"position":[[227,11]]}}}],["reset",{"_index":149,"t":{"10":{"position":[[414,5],[948,5],[1297,5],[1303,5],[1533,5]]},"107":{"position":[[145,6]]},"127":{"position":[[127,5]]},"129":{"position":[[498,5]]},"131":{"position":[[116,5]]},"153":{"position":[[377,6]]}}}],["resolv",{"_index":920,"t":{"173":{"position":[[220,8]]}}}],["resourc",{"_index":614,"t":{"103":{"position":[[605,8]]}}}],["respect",{"_index":673,"t":{"111":{"position":[[677,8]]}}}],["respond",{"_index":664,"t":{"111":{"position":[[200,8]]}}}],["respons",{"_index":171,"t":{"10":{"position":[[1172,9]]},"109":{"position":[[365,8]]},"127":{"position":[[208,10]]},"133":{"position":[[45,8]]},"165":{"position":[[151,9]]}}}],["rest",{"_index":463,"t":{"70":{"position":[[247,5]]},"105":{"position":[[14,4],[161,4],[658,5]]},"115":{"position":[[493,4]]}}}],["restart",{"_index":66,"t":{"6":{"position":[[280,7],[288,7]]},"10":{"position":[[994,7]]},"22":{"position":[[8,7],[137,8]]},"26":{"position":[[167,8]]},"28":{"position":[[198,8]]},"36":{"position":[[75,8],[294,8]]},"153":{"position":[[387,8]]},"165":{"position":[[142,8]]}}}],["restart=on",{"_index":271,"t":{"36":{"position":[[350,10]]}}}],["restor",{"_index":863,"t":{"165":{"position":[[131,7]]}}}],["restrict",{"_index":477,"t":{"70":{"position":[[531,12]]}}}],["result",{"_index":546,"t":{"87":{"position":[[206,7]]},"103":{"position":[[158,8]]},"105":{"position":[[801,7]]}}}],["resum",{"_index":928,"t":{"177":{"position":[[305,6],[338,6],[362,6]]}}}],["retriev",{"_index":867,"t":{"167":{"position":[[133,9]]},"169":{"position":[[136,9]]}}}],["return",{"_index":767,"t":{"147":{"position":[[53,6]]}}}],["review",{"_index":333,"t":{"50":{"position":[[67,9]]},"52":{"position":[[273,6],[282,7]]},"64":{"position":[[124,6],[153,6]]},"103":{"position":[[147,6]]},"105":{"position":[[790,6]]}}}],["review_pr",{"_index":420,"t":{"64":{"position":[[97,9]]}}}],["revok",{"_index":160,"t":{"10":{"position":[[771,6]]}}}],["rf",{"_index":801,"t":{"151":{"position":[[97,2]]}}}],["right",{"_index":224,"t":{"22":{"position":[[110,5]]},"133":{"position":[[188,5]]}}}],["rm",{"_index":800,"t":{"151":{"position":[[93,2]]}}}],["road",{"_index":548,"t":{"87":{"position":[[296,4]]}}}],["roadmap",{"_index":847,"t":{"159":{"position":[[548,8]]}}}],["role",{"_index":148,"t":{"10":{"position":[[403,6]]},"127":{"position":[[0,4]]},"171":{"position":[[63,5]]}}}],["rotat",{"_index":444,"t":{"68":{"position":[[286,6]]}}}],["rout",{"_index":864,"t":{"165":{"position":[[161,5]]}}}],["routin",{"_index":899,"t":{"171":{"position":[[238,8]]}}}],["rule",{"_index":792,"t":{"149":{"position":[[277,5]]},"171":{"position":[[316,5]]}}}],["run",{"_index":9,"t":{"2":{"position":[[87,3]]},"4":{"position":[[174,8],[415,7]]},"6":{"position":[[84,7],[572,3]]},"8":{"position":[[18,4]]},"12":{"position":[[8,4]]},"16":{"position":[[27,4]]},"18":{"position":[[138,8],[163,8]]},"22":{"position":[[26,7]]},"26":{"position":[[43,8],[371,8]]},"34":{"position":[[53,4]]},"40":{"position":[[0,3]]},"42":{"position":[[50,3],[151,8],[197,8]]},"46":{"position":[[27,4],[242,7]]},"54":{"position":[[0,3]]},"75":{"position":[[0,3],[344,3]]},"77":{"position":[[18,4],[133,7]]},"93":{"position":[[315,3]]},"95":{"position":[[57,3]]},"99":{"position":[[449,3],[512,3]]},"103":{"position":[[292,3]]},"107":{"position":[[48,8]]},"109":{"position":[[162,7],[222,7]]},"111":{"position":[[469,4]]},"115":{"position":[[514,7]]},"151":{"position":[[182,3]]},"153":{"position":[[602,3]]},"159":{"position":[[0,3]]},"187":{"position":[[27,3]]}}}],["run_command",{"_index":684,"t":{"115":{"position":[[354,11]]},"143":{"position":[[29,11]]}}}],["runtim",{"_index":782,"t":{"149":{"position":[[4,7]]}}}],["safe",{"_index":803,"t":{"151":{"position":[[143,4]]}}}],["same",{"_index":58,"t":{"6":{"position":[[116,5],[593,5]]},"111":{"position":[[519,4],[545,4]]}}}],["save",{"_index":485,"t":{"73":{"position":[[268,4]]},"79":{"position":[[260,5]]},"83":{"position":[[298,4]]},"113":{"position":[[291,4]]},"187":{"position":[[195,4]]}}}],["schedul",{"_index":183,"t":{"10":{"position":[[1450,9]]},"12":{"position":[[61,9]]},"36":{"position":[[392,9]]},"147":{"position":[[240,8],[291,9],[331,9],[347,9],[388,9],[403,9]]},"149":{"position":[[345,9]]},"153":{"position":[[579,9]]},"161":{"position":[[12,8]]},"163":{"position":[[79,9]]}}}],["schedule_task",{"_index":774,"t":{"147":{"position":[[226,13]]}}}],["schtask",{"_index":255,"t":{"34":{"position":[[0,8],[44,8],[77,8]]},"36":{"position":[[402,10]]}}}],["scope",{"_index":406,"t":{"60":{"position":[[730,5]]},"111":{"position":[[607,5]]},"133":{"position":[[310,5]]},"153":{"position":[[165,5],[264,7]]},"169":{"position":[[454,5]]},"171":{"position":[[5,5]]}}}],["score",{"_index":875,"t":{"169":{"position":[[128,7]]}}}],["scratch",{"_index":164,"t":{"10":{"position":[[1015,7]]}}}],["search",{"_index":452,"t":{"70":{"position":[[70,6],[296,8]]},"83":{"position":[[33,6]]},"87":{"position":[[89,8],[307,8]]},"89":{"position":[[153,6]]},"139":{"position":[[190,6]]},"177":{"position":[[175,6],[199,6],[236,7]]},"179":{"position":[[236,6]]}}}],["second",{"_index":186,"t":{"10":{"position":[[1490,6]]},"26":{"position":[[265,8]]},"179":{"position":[[0,6]]}}}],["second_brain_enabled=fals",{"_index":929,"t":{"179":{"position":[[73,26]]}}}],["secret",{"_index":489,"t":{"73":{"position":[[331,6]]},"75":{"position":[[191,6],[217,6]]},"97":{"position":[[64,6]]}}}],["see",{"_index":41,"t":{"4":{"position":[[367,3]]},"16":{"position":[[108,3]]},"48":{"position":[[38,3]]},"62":{"position":[[372,4]]},"75":{"position":[[314,4]]},"109":{"position":[[359,3]]},"115":{"position":[[443,3]]},"127":{"position":[[273,3]]}}}],["select",{"_index":294,"t":{"40":{"position":[[284,9]]},"60":{"position":[[380,6],[714,6]]}}}],["send",{"_index":193,"t":{"10":{"position":[[1662,5],[1792,4]]},"20":{"position":[[13,5]]},"40":{"position":[[721,4]]},"97":{"position":[[326,5]]},"115":{"position":[[422,4]]},"125":{"position":[[183,7],[288,7],[473,4]]},"127":{"position":[[182,4]]},"139":{"position":[[332,4]]},"141":{"position":[[42,4]]}}}],["send_fil",{"_index":752,"t":{"139":{"position":[[322,9]]}}}],["send_messag",{"_index":738,"t":{"133":{"position":[[427,12]]},"141":{"position":[[29,12]]}}}],["sent",{"_index":384,"t":{"60":{"position":[[139,4]]},"68":{"position":[[124,4]]},"127":{"position":[[230,4]]},"133":{"position":[[174,4]]}}}],["sequenti",{"_index":597,"t":{"103":{"position":[[180,12]]}}}],["server",{"_index":837,"t":{"157":{"position":[[550,6]]},"163":{"position":[[71,7]]}}}],["servic",{"_index":55,"t":{"6":{"position":[[52,7],[684,7],[718,7],[755,7],[794,7],[810,7],[837,7]]},"18":{"position":[[65,7]]},"28":{"position":[[8,7]]},"36":{"position":[[28,7],[102,7],[175,7]]},"38":{"position":[[8,7],[31,7]]},"42":{"position":[[96,7],[260,7]]},"68":{"position":[[145,7]]}}}],["session",{"_index":564,"t":{"91":{"position":[[341,8]]},"153":{"position":[[3,7],[368,8]]}}}],["set",{"_index":79,"t":{"6":{"position":[[509,8]]},"10":{"position":[[1331,3]]},"58":{"position":[[267,7]]},"60":{"position":[[337,3],[696,3]]},"62":{"position":[[0,3],[360,4]]},"73":{"position":[[286,8],[489,8]]},"79":{"position":[[412,3]]},"85":{"position":[[192,3],[264,3]]},"87":{"position":[[348,4]]},"91":{"position":[[261,3]]},"117":{"position":[[132,3]]},"135":{"position":[[12,3]]},"159":{"position":[[86,3],[372,3],[661,7]]},"179":{"position":[[113,3]]}}}],["setup",{"_index":85,"t":{"6":{"position":[[563,5],[580,5]]},"8":{"position":[[27,5]]},"10":{"position":[[1759,6]]},"40":{"position":[[673,6],[843,6]]},"75":{"position":[[31,5],[52,7],[300,6]]},"125":{"position":[[141,6],[370,6]]}}}],["share",{"_index":383,"t":{"60":{"position":[[72,5]]},"68":{"position":[[272,5]]},"97":{"position":[[190,6]]}}}],["shell",{"_index":736,"t":{"133":{"position":[[292,5]]},"143":{"position":[[51,5]]},"151":{"position":[[47,5]]},"153":{"position":[[126,5],[276,5],[648,5]]}}}],["short",{"_index":566,"t":{"93":{"position":[[78,5]]},"149":{"position":[[435,5]]}}}],["short/medium/long",{"_index":526,"t":{"83":{"position":[[224,17]]}}}],["shorthand",{"_index":64,"t":{"6":{"position":[[258,10]]},"16":{"position":[[129,10]]},"46":{"position":[[208,10]]}}}],["shot",{"_index":777,"t":{"147":{"position":[[273,4]]},"161":{"position":[[57,4]]}}}],["show",{"_index":36,"t":{"4":{"position":[[297,5]]},"6":{"position":[[385,4],[435,4],[623,4],[825,4]]},"10":{"position":[[165,4],[194,4],[1215,4]]},"18":{"position":[[180,5]]},"24":{"position":[[13,5]]},"26":{"position":[[15,5]]},"42":{"position":[[238,5]]},"77":{"position":[[447,6]]},"79":{"position":[[29,4],[443,4]]},"83":{"position":[[95,4]]},"87":{"position":[[200,5],[437,5]]},"89":{"position":[[189,5]]},"99":{"position":[[504,7]]},"109":{"position":[[153,4]]},"119":{"position":[[265,4]]},"129":{"position":[[42,4]]},"145":{"position":[[58,4]]}}}],["shown",{"_index":106,"t":{"8":{"position":[[172,5]]},"40":{"position":[[1005,5]]},"133":{"position":[[326,5]]}}}],["shuffl",{"_index":473,"t":{"70":{"position":[[417,8]]},"85":{"position":[[234,7]]},"87":{"position":[[535,8]]},"89":{"position":[[132,7]]}}}],["sigterm",{"_index":218,"t":{"20":{"position":[[19,7]]}}}],["simultan",{"_index":603,"t":{"103":{"position":[[296,14]]}}}],["singl",{"_index":173,"t":{"10":{"position":[[1192,6]]},"103":{"position":[[26,6]]}}}],["sk",{"_index":108,"t":{"8":{"position":[[186,2]]},"40":{"position":[[1023,2]]}}}],["skill",{"_index":166,"t":{"10":{"position":[[1062,7],[1085,6]]},"147":{"position":[[112,5],[138,6],[172,6],[179,6],[205,5],[219,6]]},"149":{"position":[[312,6]]},"151":{"position":[[354,5],[371,6]]},"181":{"position":[[0,6]]},"183":{"position":[[39,5]]},"185":{"position":[[22,6]]},"187":{"position":[[48,6],[55,6],[79,6]]}}}],["skill.md",{"_index":809,"t":{"151":{"position":[[406,8]]},"183":{"position":[[73,9],[96,8]]}}}],["skip",{"_index":471,"t":{"70":{"position":[[403,5]]},"85":{"position":[[118,4],[154,4]]},"87":{"position":[[214,5]]}}}],["slash",{"_index":643,"t":{"107":{"position":[[210,5]]}}}],["small",{"_index":495,"t":{"73":{"position":[[627,5]]}}}],["solut",{"_index":576,"t":{"99":{"position":[[6,8]]}}}],["someth",{"_index":222,"t":{"22":{"position":[[86,9]]}}}],["song",{"_index":547,"t":{"87":{"position":[[225,5]]},"99":{"position":[[305,5]]}}}],["sonnet",{"_index":825,"t":{"157":{"position":[[199,6],[242,7]]}}}],["soul",{"_index":786,"t":{"149":{"position":[[189,6]]}}}],["spawn",{"_index":198,"t":{"14":{"position":[[53,6]]},"101":{"position":[[60,5]]},"109":{"position":[[78,5]]}}}],["speaker",{"_index":561,"t":{"91":{"position":[[52,8]]}}}],["specif",{"_index":398,"t":{"60":{"position":[[414,8]]},"109":{"position":[[213,8]]},"171":{"position":[[408,8]]},"187":{"position":[[86,14]]}}}],["specifi",{"_index":408,"t":{"62":{"position":[[66,10]]}}}],["spotifi",{"_index":448,"t":{"70":{"position":[[25,7],[261,7],[354,7],[452,7],[493,7]]},"73":{"position":[[55,7],[171,7],[372,7],[526,7],[715,8]]},"75":{"position":[[93,8],[124,7],[176,7],[319,8],[348,8]]},"77":{"position":[[23,8],[379,8],[454,8]]},"79":{"position":[[20,8],[91,8],[147,8],[215,8],[242,7],[273,8],[343,8],[375,7],[391,8],[430,8]]},"83":{"position":[[156,7]]},"89":{"position":[[4,8]]},"91":{"position":[[0,7],[155,8],[226,7],[283,8]]},"93":{"position":[[20,7],[319,8]]},"95":{"position":[[0,8],[61,8]]},"97":{"position":[[35,7]]},"99":{"position":[[15,8],[264,7],[383,8],[453,8],[516,8]]},"107":{"position":[[253,9]]}}}],["spotify'",{"_index":575,"t":{"97":{"position":[[150,9],[353,9]]},"99":{"position":[[187,9],[561,9]]}}}],["spotify_devic",{"_index":523,"t":{"83":{"position":[[125,15]]}}}],["spotify_lik",{"_index":529,"t":{"83":{"position":[[285,12]]}}}],["spotify_next",{"_index":533,"t":{"85":{"position":[[105,12]]},"87":{"position":[[237,12]]}}}],["spotify_now_play",{"_index":521,"t":{"83":{"position":[[75,19]]},"87":{"position":[[416,20]]}}}],["spotify_paus",{"_index":532,"t":{"85":{"position":[[76,13]]},"87":{"position":[[264,13]]}}}],["spotify_play",{"_index":531,"t":{"85":{"position":[[18,12]]}}}],["spotify_playlist",{"_index":528,"t":{"83":{"position":[[248,17]]}}}],["spotify_previ",{"_index":535,"t":{"85":{"position":[[137,16]]}}}],["spotify_queu",{"_index":542,"t":{"85":{"position":[[302,13]]},"87":{"position":[[502,13]]}}}],["spotify_repeat",{"_index":540,"t":{"85":{"position":[[249,14]]}}}],["spotify_search",{"_index":518,"t":{"83":{"position":[[18,14]]}}}],["spotify_shuffl",{"_index":539,"t":{"85":{"position":[[211,15]]}}}],["spotify_shuffle(tru",{"_index":554,"t":{"87":{"position":[[554,21]]}}}],["spotify_top_track",{"_index":524,"t":{"83":{"position":[[172,18]]},"87":{"position":[[180,19]]}}}],["spotify_volum",{"_index":537,"t":{"85":{"position":[[177,14]]}}}],["spotify_volume(50",{"_index":551,"t":{"87":{"position":[[373,18]]}}}],["sqlite",{"_index":933,"t":{"179":{"position":[[305,7],[390,9]]}}}],["ssh",{"_index":504,"t":{"77":{"position":[[227,3],[235,3]]}}}],["stage",{"_index":355,"t":{"52":{"position":[[151,7]]},"145":{"position":[[107,5]]}}}],["stale",{"_index":207,"t":{"14":{"position":[[177,5]]},"26":{"position":[[307,5]]},"44":{"position":[[139,5]]},"169":{"position":[[469,5]]}}}],["start",{"_index":56,"t":{"6":{"position":[[62,5],[100,5],[133,6],[148,5],[154,5],[199,5],[218,5],[732,5],[870,5]]},"8":{"position":[[360,5]]},"10":{"position":[[1565,6],[1668,7],[1797,7]]},"14":{"position":[[8,5],[14,6]]},"16":{"position":[[8,5],[148,5]]},"18":{"position":[[84,6]]},"22":{"position":[[54,6]]},"28":{"position":[[108,6]]},"32":{"position":[[17,5]]},"36":{"position":[[42,6],[227,5]]},"40":{"position":[[688,6],[726,6]]},"42":{"position":[[115,6],[316,6]]},"44":{"position":[[8,5],[14,6]]},"46":{"position":[[8,5],[227,5]]},"48":{"position":[[21,5],[72,5]]},"77":{"position":[[0,5]]},"79":{"position":[[105,5]]},"115":{"position":[[177,8]]},"125":{"position":[[191,7],[296,6],[478,6]]},"127":{"position":[[235,6]]},"129":{"position":[[558,5]]},"131":{"position":[[20,6]]},"153":{"position":[[11,6]]}}}],["startup",{"_index":238,"t":{"26":{"position":[[343,7]]},"153":{"position":[[433,7]]}}}],["state",{"_index":883,"t":{"169":{"position":[[364,5]]},"175":{"position":[[20,6]]}}}],["statu",{"_index":72,"t":{"6":{"position":[[428,6],[818,6],[845,6]]},"10":{"position":[[186,7],[1233,6]]},"26":{"position":[[8,6]]},"32":{"position":[[48,6]]},"38":{"position":[[16,6]]},"79":{"position":[[45,7]]},"105":{"position":[[357,7]]},"107":{"position":[[273,6]]},"109":{"position":[[604,7]]},"115":{"position":[[456,7]]},"119":{"position":[[256,6]]},"127":{"position":[[291,7]]},"131":{"position":[[72,6]]},"145":{"position":[[42,6]]},"151":{"position":[[175,6]]}}}],["stay",{"_index":190,"t":{"10":{"position":[[1623,5]]}}}],["stderr",{"_index":97,"t":{"6":{"position":[[898,6]]},"48":{"position":[[56,7]]}}}],["step",{"_index":500,"t":{"75":{"position":[[169,4],[229,4]]},"103":{"position":[[200,4]]},"111":{"position":[[492,4]]},"119":{"position":[[168,4],[176,4]]}}}],["still",{"_index":577,"t":{"99":{"position":[[109,5]]}}}],["stop",{"_index":24,"t":{"4":{"position":[[154,5]]},"6":{"position":[[333,4],[338,4]]},"20":{"position":[[8,4]]},"22":{"position":[[16,5]]},"32":{"position":[[80,4]]},"46":{"position":[[278,4],[300,4]]},"107":{"position":[[134,5],[246,6]]}}}],["stop_ag",{"_index":651,"t":{"109":{"position":[[195,10]]}}}],["storag",{"_index":438,"t":{"68":{"position":[[15,7]]}}}],["store",{"_index":310,"t":{"40":{"position":[[864,6]]},"60":{"position":[[95,6]]},"68":{"position":[[42,6]]},"93":{"position":[[8,6]]},"97":{"position":[[75,6],[296,6]]},"167":{"position":[[121,7]]},"169":{"position":[[66,6]]},"171":{"position":[[19,6]]},"179":{"position":[[325,6]]}}}],["stream",{"_index":167,"t":{"10":{"position":[[1092,7],[1121,9],[1140,7],[1160,9]]},"46":{"position":[[174,9]]},"123":{"position":[[86,10]]},"133":{"position":[[25,9],[98,8]]},"135":{"position":[[274,9]]}}}],["strip",{"_index":768,"t":{"147":{"position":[[74,9]]}}}],["structur",{"_index":656,"t":{"109":{"position":[[465,9]]},"167":{"position":[[26,10]]}}}],["sub",{"_index":591,"t":{"101":{"position":[[157,3]]},"103":{"position":[[222,3],[488,3]]},"107":{"position":[[37,3],[98,3]]},"109":{"position":[[35,3],[86,3],[184,3],[230,3]]},"111":{"position":[[74,3],[140,3],[380,3]]},"115":{"position":[[81,3],[464,5]]},"117":{"position":[[0,3],[303,3]]},"119":{"position":[[0,3]]},"121":{"position":[[141,3]]}}}],["subag",{"_index":686,"t":{"117":{"position":[[54,10]]}}}],["subagents_en",{"_index":693,"t":{"117":{"position":[[270,17]]}}}],["subagents_max_concurr",{"_index":695,"t":{"117":{"position":[[314,24]]}}}],["subagents_mod",{"_index":697,"t":{"117":{"position":[[371,14]]}}}],["subscript",{"_index":476,"t":{"70":{"position":[[468,12]]}}}],["success",{"_index":508,"t":{"77":{"position":[[422,10]]},"155":{"position":[[165,10]]}}}],["successfulexit",{"_index":248,"t":{"28":{"position":[[175,14]]}}}],["sudo",{"_index":249,"t":{"28":{"position":[[219,4]]},"36":{"position":[[524,6]]},"151":{"position":[[87,5]]}}}],["summari",{"_index":362,"t":{"52":{"position":[[336,7]]},"163":{"position":[[98,7]]},"169":{"position":[[345,8],[370,8]]}}}],["suspect",{"_index":445,"t":{"68":{"position":[[310,7]]}}}],["switch",{"_index":460,"t":{"70":{"position":[[179,10]]}}}],["system",{"_index":91,"t":{"6":{"position":[[711,6],[787,6],[830,6]]},"18":{"position":[[58,6]]},"28":{"position":[[260,6]]},"36":{"position":[[21,6]]},"42":{"position":[[89,6]]},"111":{"position":[[561,6]]},"147":{"position":[[452,6]]},"151":{"position":[[36,6]]},"171":{"position":[[459,6]]},"175":{"position":[[145,6]]}}}],["system'",{"_index":617,"t":{"103":{"position":[[671,8]]}}}],["systemctl",{"_index":254,"t":{"32":{"position":[[0,9],[31,9],[63,9]]}}}],["systemd",{"_index":269,"t":{"36":{"position":[[319,7]]}}}],["tab",{"_index":458,"t":{"70":{"position":[[166,5]]}}}],["take",{"_index":858,"t":{"165":{"position":[[28,4]]}}}],["talk",{"_index":517,"t":{"81":{"position":[[42,4]]},"87":{"position":[[5,4]]}}}],["task",{"_index":182,"t":{"10":{"position":[[1438,6],[1460,5]]},"12":{"position":[[71,5]]},"36":{"position":[[387,4]]},"101":{"position":[[95,5]]},"103":{"position":[[67,4],[286,5],[416,4]]},"105":{"position":[[394,5]]},"107":{"position":[[123,4],[199,4]]},"109":{"position":[[103,4],[269,4]]},"113":{"position":[[36,4],[109,4],[199,4],[382,6]]},"115":{"position":[[186,7]]},"119":{"position":[[62,6]]},"121":{"position":[[50,4]]},"147":{"position":[[286,4],[341,5],[398,4]]},"149":{"position":[[355,5]]},"153":{"position":[[589,5],[721,4]]},"161":{"position":[[21,5]]},"165":{"position":[[84,5],[215,4]]}}}],["task'",{"_index":670,"t":{"111":{"position":[[600,6]]}}}],["tast",{"_index":788,"t":{"149":{"position":[[205,6]]}}}],["team",{"_index":496,"t":{"73":{"position":[[633,6]]}}}],["telegram",{"_index":116,"t":{"8":{"position":[[292,8],[330,9]]},"10":{"position":[[73,8],[324,9],[349,8],[428,9],[469,8],[494,9],[534,8],[562,9],[642,8],[666,9],[715,8],[739,9],[790,8],[804,9],[847,8],[872,9],[913,8],[938,9],[974,8],[1107,8],[1424,8],[1518,8],[1586,8],[1614,8],[1703,9],[1772,8],[1883,9]]},"12":{"position":[[48,8]]},"40":{"position":[[388,8],[646,8],[748,9]]},"44":{"position":[[64,8]]},"50":{"position":[[318,9]]},"77":{"position":[[242,9]]},"111":{"position":[[667,9]]},"121":{"position":[[279,8]]},"123":{"position":[[20,8]]},"129":{"position":[[28,8],[102,8],[204,8],[269,8],[337,8],[397,8],[489,8],[514,8]]},"131":{"position":[[126,8]]},"133":{"position":[[250,8]]},"135":{"position":[[0,8],[210,8],[349,9]]},"139":{"position":[[350,9]]},"141":{"position":[[69,8]]},"153":{"position":[[204,9],[469,9]]},"165":{"position":[[195,9]]},"177":{"position":[[39,8]]}}}],["telegram'",{"_index":740,"t":{"133":{"position":[[518,10]]}}}],["telegram_bot_token",{"_index":743,"t":{"135":{"position":[[131,18]]}}}],["telegram_en",{"_index":744,"t":{"135":{"position":[[178,16]]}}}],["telegram_stream",{"_index":745,"t":{"135":{"position":[[233,18]]}}}],["tell",{"_index":563,"t":{"91":{"position":[[209,4]]},"163":{"position":[[0,4]]},"183":{"position":[[0,4]]}}}],["temporari",{"_index":307,"t":{"40":{"position":[[697,9]]}}}],["term",{"_index":527,"t":{"83":{"position":[[242,5]]},"149":{"position":[[441,5],[452,5]]},"179":{"position":[[226,4]]}}}],["termin",{"_index":197,"t":{"12":{"position":[[110,9]]},"16":{"position":[[57,9]]},"46":{"position":[[57,8],[145,8]]},"50":{"position":[[306,8]]},"89":{"position":[[77,9]]}}}],["test",{"_index":621,"t":{"105":{"position":[[55,6],[242,5],[473,6],[742,5]]},"115":{"position":[[396,6],[565,5]]}}}],["text",{"_index":169,"t":{"10":{"position":[[1116,4]]},"40":{"position":[[626,5]]},"46":{"position":[[169,4]]},"133":{"position":[[20,4]]},"135":{"position":[[269,4]]},"139":{"position":[[209,4]]},"179":{"position":[[251,4]]}}}],["they'll",{"_index":627,"t":{"105":{"position":[[480,7]]}}}],["they'r",{"_index":647,"t":{"107":{"position":[[321,7]]}}}],["those",{"_index":810,"t":{"151":{"position":[[442,5]]}}}],["thread",{"_index":594,"t":{"103":{"position":[[33,9]]}}}],["three",{"_index":799,"t":{"151":{"position":[[14,5]]}}}],["through",{"_index":340,"t":{"50":{"position":[[136,7]]},"70":{"position":[[125,7]]},"119":{"position":[[236,7]]}}}],["tier",{"_index":580,"t":{"99":{"position":[[202,5]]},"151":{"position":[[20,4]]}}}],["time",{"_index":279,"t":{"36":{"position":[[512,5]]},"40":{"position":[[26,5],[668,4]]},"46":{"position":[[164,4]]},"62":{"position":[[92,5]]},"75":{"position":[[47,4]]},"89":{"position":[[200,4]]},"103":{"position":[[77,5]]},"113":{"position":[[296,4]]},"125":{"position":[[249,4]]},"133":{"position":[[40,4]]},"135":{"position":[[264,4]]},"153":{"position":[[573,5]]},"169":{"position":[[600,5]]},"175":{"position":[[104,5]]}}}],["time_rang",{"_index":525,"t":{"83":{"position":[[211,12]]}}}],["tip",{"_index":39,"t":{"4":{"position":[[339,6]]},"42":{"position":[[0,6]]},"73":{"position":[[338,6]]},"159":{"position":[[154,6]]}}}],["titl",{"_index":415,"t":{"64":{"position":[[55,6],[295,6]]}}}],["tn",{"_index":257,"t":{"34":{"position":[[16,3],[58,3],[94,3]]}}}],["togeth",{"_index":638,"t":{"105":{"position":[[809,9]]}}}],["toggl",{"_index":168,"t":{"10":{"position":[[1100,6]]},"85":{"position":[[227,6]]},"119":{"position":[[221,6]]},"133":{"position":[[85,7]]}}}],["token",{"_index":117,"t":{"8":{"position":[[301,5],[351,5],[414,5]]},"10":{"position":[[131,7],[1220,5],[1352,5]]},"40":{"position":[[401,5]]},"50":{"position":[[448,6]]},"60":{"position":[[11,5],[83,6],[206,5],[576,5],[790,5]]},"68":{"position":[[297,5]]},"79":{"position":[[266,6]]},"93":{"position":[[28,6],[70,5],[114,5],[157,6],[222,6],[286,5]]},"95":{"position":[[32,6]]},"97":{"position":[[280,6]]},"99":{"position":[[419,5],[480,6]]},"123":{"position":[[39,6]]},"135":{"position":[[79,5],[154,5],[310,5]]},"147":{"position":[[433,5]]},"149":{"position":[[395,5]]},"187":{"position":[[200,7]]}}}],["tokens/new",{"_index":393,"t":{"60":{"position":[[286,10]]}}}],["tool",{"_index":89,"t":{"6":{"position":[[644,7]]},"10":{"position":[[1023,6],[1056,5]]},"50":{"position":[[195,5],[368,5],[461,5]]},"52":{"position":[[377,4]]},"62":{"position":[[386,5]]},"64":{"position":[[0,4]]},"81":{"position":[[14,5]]},"83":{"position":[[0,4]]},"85":{"position":[[0,4]]},"109":{"position":[[19,5],[47,4]]},"111":{"position":[[524,4]]},"121":{"position":[[187,4]]},"139":{"position":[[0,4]]},"141":{"position":[[0,4]]},"143":{"position":[[0,4]]},"145":{"position":[[0,4]]},"147":{"position":[[0,4]]},"151":{"position":[[391,5],[448,5]]},"187":{"position":[[143,5]]}}}],["toolset",{"_index":347,"t":{"50":{"position":[[245,8]]},"137":{"position":[[23,7]]}}}],["top",{"_index":466,"t":{"70":{"position":[[305,3]]},"83":{"position":[[200,3]]},"87":{"position":[[161,3]]},"169":{"position":[[173,3]]}}}],["topic",{"_index":596,"t":{"103":{"position":[[120,6]]}}}],["toward",{"_index":898,"t":{"171":{"position":[[157,6]]}}}],["track",{"_index":467,"t":{"70":{"position":[[309,7]]},"83":{"position":[[40,7],[204,6],[305,5]]},"85":{"position":[[38,6],[131,5],[171,5],[286,6],[322,5]]},"87":{"position":[[119,7],[165,8],[452,5],[529,5]]},"89":{"position":[[219,5]]},"149":{"position":[[407,8]]}}}],["tradit",{"_index":593,"t":{"103":{"position":[[0,11]]}}}],["trailer",{"_index":375,"t":{"58":{"position":[[105,8]]},"66":{"position":[[121,8]]}}}],["treat",{"_index":442,"t":{"68":{"position":[[206,5]]},"97":{"position":[[209,5]]}}}],["tree",{"_index":761,"t":{"145":{"position":[[37,4]]}}}],["tri",{"_index":582,"t":{"99":{"position":[[316,3]]},"155":{"position":[[42,5],[123,5]]}}}],["trip",{"_index":549,"t":{"87":{"position":[[301,5]]}}}],["true",{"_index":687,"t":{"117":{"position":[[74,4]]},"135":{"position":[[284,4]]}}}],["tv",{"_index":560,"t":{"91":{"position":[[48,3]]}}}],["two",{"_index":681,"t":{"113":{"position":[[343,3]]}}}],["type",{"_index":102,"t":{"8":{"position":[[127,4],[309,4]]},"10":{"position":[[0,4]]},"133":{"position":[[67,6]]},"135":{"position":[[289,4]]},"143":{"position":[[176,4]]},"151":{"position":[[302,4]]},"169":{"position":[[83,5]]},"171":{"position":[[0,4]]}}}],["typescript",{"_index":910,"t":{"173":{"position":[[54,11]]}}}],["unchang",{"_index":101,"t":{"8":{"position":[[113,10]]}}}],["under",{"_index":397,"t":{"60":{"position":[[355,5],[429,5]]}}}],["uninstal",{"_index":94,"t":{"6":{"position":[[763,9],[773,9]]},"38":{"position":[[39,9]]}}}],["unit",{"_index":270,"t":{"36":{"position":[[332,4]]}}}],["unknown",{"_index":807,"t":{"151":{"position":[[220,7]]}}}],["unless",{"_index":131,"t":{"10":{"position":[[82,6]]}}}],["unload",{"_index":253,"t":{"30":{"position":[[78,6]]}}}],["unpair",{"_index":188,"t":{"10":{"position":[[1510,7]]},"131":{"position":[[96,7]]}}}],["up",{"_index":53,"t":{"6":{"position":[[28,2]]},"14":{"position":[[219,3]]},"18":{"position":[[8,2]]},"42":{"position":[[28,2],[172,2],[214,2]]},"73":{"position":[[456,2]]},"135":{"position":[[16,2]]}}}],["updat",{"_index":18,"t":{"4":{"position":[[66,6]]}}}],["upgrad",{"_index":14,"t":{"4":{"position":[[28,7],[88,7],[454,7]]}}}],["upload",{"_index":712,"t":{"123":{"position":[[102,8]]},"133":{"position":[[112,7]]},"139":{"position":[[360,7]]}}}],["uri",{"_index":481,"t":{"73":{"position":[[200,4]]}}}],["url",{"_index":505,"t":{"77":{"position":[[283,4],[374,4]]},"147":{"position":[[45,3],[123,3]]},"159":{"position":[[232,4],[683,3]]}}}],["us",{"_index":46,"t":{"4":{"position":[[442,3]]},"16":{"position":[[67,6]]},"22":{"position":[[74,6]]},"40":{"position":[[76,4]]},"56":{"position":[[30,4]]},"66":{"position":[[26,5]]},"73":{"position":[[620,3]]},"77":{"position":[[86,3]]},"81":{"position":[[28,4]]},"93":{"position":[[134,4]]},"97":{"position":[[124,4]]},"99":{"position":[[357,3]]},"105":{"position":[[336,3],[554,6],[597,6]]},"109":{"position":[[8,4],[583,3]]},"111":{"position":[[227,6],[253,6],[279,6],[329,6],[536,4]]},"113":{"position":[[338,4]]},"115":{"position":[[207,6],[248,6],[347,6],[522,7]]},"125":{"position":[[8,4]]},"137":{"position":[[38,3]]},"153":{"position":[[534,3]]},"159":{"position":[[68,4],[270,4]]},"161":{"position":[[27,5]]},"177":{"position":[[0,3]]},"185":{"position":[[0,4]]}}}],["usag",{"_index":176,"t":{"10":{"position":[[1309,5]]},"147":{"position":[[446,5]]},"149":{"position":[[401,5]]}}}],["usage.json",{"_index":796,"t":{"149":{"position":[[378,10]]}}}],["use_skil",{"_index":772,"t":{"147":{"position":[[186,9]]}}}],["user",{"_index":153,"t":{"10":{"position":[[504,5],[799,4],[1555,5],[1657,4],[1781,5]]},"28":{"position":[[232,4]]},"32":{"position":[[12,4],[43,4],[75,4]]},"36":{"position":[[327,4],[501,5]]},"73":{"position":[[465,6],[500,4],[665,6]]},"93":{"position":[[193,4]]},"105":{"position":[[27,5],[184,6],[252,4]]},"111":{"position":[[0,4],[212,4]]},"117":{"position":[[201,5]]},"125":{"position":[[77,4],[159,5],[467,5]]},"127":{"position":[[51,4],[116,6]]},"129":{"position":[[188,4]]},"131":{"position":[[56,6],[89,6]]},"133":{"position":[[371,4],[467,6]]},"139":{"position":[[345,4]]}}}],["userid",{"_index":726,"t":{"129":{"position":[[220,8],[285,8],[354,8],[413,8]]}}}],["usernam",{"_index":367,"t":{"56":{"position":[[12,9]]}}}],["valid",{"_index":296,"t":{"40":{"position":[[307,5],[476,9]]}}}],["valu",{"_index":84,"t":{"6":{"position":[[548,6]]},"8":{"position":[[58,6],[138,5]]},"40":{"position":[[1069,6]]},"62":{"position":[[337,6]]},"75":{"position":[[287,6]]}}}],["var",{"_index":839,"t":{"159":{"position":[[205,4]]}}}],["variabl",{"_index":692,"t":{"117":{"position":[[229,8],[249,8]]},"135":{"position":[[102,8]]},"159":{"position":[[102,9],[173,9]]},"179":{"position":[[63,9]]}}}],["verbos",{"_index":95,"t":{"6":{"position":[[862,7]]},"48":{"position":[[6,7],[80,7]]}}}],["version",{"_index":23,"t":{"4":{"position":[[146,7],[280,7],[320,7]]}}}],["via",{"_index":245,"t":{"28":{"position":[[130,3]]},"50":{"position":[[418,3]]},"77":{"position":[[223,3]]},"111":{"position":[[630,3]]},"123":{"position":[[29,3]]},"157":{"position":[[388,3]]},"175":{"position":[[125,3]]},"187":{"position":[[131,3]]}}}],["video",{"_index":732,"t":{"133":{"position":[[135,6]]}}}],["view",{"_index":185,"t":{"10":{"position":[[1474,4]]},"147":{"position":[[322,4]]}}}],["volum",{"_index":472,"t":{"70":{"position":[[409,7]]},"85":{"position":[[196,6]]},"87":{"position":[[353,6]]},"89":{"position":[[122,6]]}}}],["vs",{"_index":911,"t":{"173":{"position":[[66,2],[181,2]]}}}],["wait",{"_index":674,"t":{"111":{"position":[[727,5]]}}}],["want",{"_index":211,"t":{"16":{"position":[[100,4]]},"105":{"position":[[779,4]]},"159":{"position":[[60,4]]}}}],["warn",{"_index":388,"t":{"60":{"position":[[174,10]]},"68":{"position":[[0,10]]},"97":{"position":[[0,10]]},"125":{"position":[[552,10]]},"159":{"position":[[460,10]]}}}],["warrant",{"_index":676,"t":{"113":{"position":[[225,7]]}}}],["watchdog",{"_index":228,"t":{"26":{"position":[[134,9]]},"36":{"position":[[434,8]]}}}],["way",{"_index":315,"t":{"42":{"position":[[43,3]]}}}],["web",{"_index":769,"t":{"147":{"position":[[84,3]]}}}],["weekli",{"_index":853,"t":{"163":{"position":[[91,6]]}}}],["well",{"_index":698,"t":{"119":{"position":[[16,4]]}}}],["what'",{"_index":522,"t":{"83":{"position":[[100,6]]},"87":{"position":[[392,7]]}}}],["whether",{"_index":225,"t":{"26":{"position":[[21,7]]}}}],["win",{"_index":914,"t":{"173":{"position":[[114,5],[144,5]]}}}],["window",{"_index":220,"t":{"20":{"position":[[44,8]]},"36":{"position":[[379,7]]},"103":{"position":[[55,7],[335,7]]},"111":{"position":[[411,6]]},"113":{"position":[[148,6]]}}}],["within",{"_index":235,"t":{"26":{"position":[[255,6]]},"169":{"position":[[197,7]]}}}],["without",{"_index":10,"t":{"2":{"position":[[91,7]]},"36":{"position":[[455,7]]},"50":{"position":[[286,7],[438,7]]},"62":{"position":[[58,7]]},"119":{"position":[[115,7]]},"151":{"position":[[186,7]]}}}],["wizard",{"_index":87,"t":{"6":{"position":[[586,6]]},"8":{"position":[[33,6]]},"40":{"position":[[47,6]]}}}],["won't",{"_index":352,"t":{"50":{"position":[[490,5]]}}}],["work",{"_index":128,"t":{"10":{"position":[[52,4]]},"12":{"position":[[82,7]]},"22":{"position":[[102,7]]},"70":{"position":[[341,4]]},"99":{"position":[[115,4]]},"101":{"position":[[200,5]]},"103":{"position":[[499,4]]},"105":{"position":[[142,7],[211,7],[330,5],[488,4]]},"107":{"position":[[280,4]]},"109":{"position":[[431,7],[544,6]]},"121":{"position":[[105,5]]},"125":{"position":[[595,5]]},"143":{"position":[[83,7]]},"145":{"position":[[29,7]]},"171":{"position":[[149,7]]}}}],["write",{"_index":201,"t":{"14":{"position":[[86,6]]},"60":{"position":[[500,5],[531,5],[555,5]]},"103":{"position":[[127,5],[574,5]]},"105":{"position":[[37,5],[223,6],[465,7]]},"111":{"position":[[708,7]]},"115":{"position":[[547,5]]},"119":{"position":[[123,7]]},"139":{"position":[[74,5]]},"153":{"position":[[118,7]]}}}],["write_fil",{"_index":746,"t":{"139":{"position":[[63,10]]}}}],["writer",{"_index":612,"t":{"103":{"position":[[542,6]]}}}],["x",{"_index":661,"t":{"111":{"position":[[68,3]]},"113":{"position":[[86,1]]},"173":{"position":[[178,2],[199,3]]}}}],["xai",{"_index":830,"t":{"157":{"position":[[267,5]]}}}],["x••••4f2a",{"_index":109,"t":{"8":{"position":[[189,9]]},"40":{"position":[[1026,10]]}}}],["y",{"_index":663,"t":{"111":{"position":[[134,3]]},"113":{"position":[[101,3]]}}}],["ye",{"_index":499,"t":{"75":{"position":[[109,3]]},"127":{"position":[[145,3]]},"177":{"position":[[448,3]]}}}],["you'll",{"_index":413,"t":{"62":{"position":[[365,6]]},"73":{"position":[[672,6]]},"75":{"position":[[307,6]]},"109":{"position":[[352,6]]},"115":{"position":[[436,6]]}}}],["you'r",{"_index":897,"t":{"171":{"position":[[142,6],[184,6]]}}}],["you'v",{"_index":900,"t":{"171":{"position":[[285,6]]}}}],["your",{"_index":354,"t":{"52":{"position":[[57,5]]},"58":{"position":[[200,5]]},"66":{"position":[[176,5]]}}}],["yournam",{"_index":509,"t":{"77":{"position":[[476,8]]}}}],["zero",{"_index":177,"t":{"10":{"position":[[1318,4]]}}}]],"pipeline":["stemmer"]}}]
\ No newline at end of file
+[{"documents":[{"i":1,"t":"Installation","u":"/docs","b":["Docs"]},{"i":5,"t":"Full Command Reference","u":"/docs/cli-commands/cli-commands","b":["Docs","CLI Commands"]},{"i":7,"t":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","b":["Docs","CLI Commands"]},{"i":11,"t":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","b":["Docs","CLI Commands"]},{"i":13,"t":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","b":["Docs","Daemon Mode"]},{"i":35,"t":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","b":["Docs","Daemon Mode"]},{"i":45,"t":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","b":["Docs","Daemon Mode"]},{"i":49,"t":"First-Time Setup","u":"/docs/getting-started/setup","b":["Docs"]},{"i":51,"t":"Starting Mercury","u":"/docs/getting-started/starting","b":["Docs"]},{"i":59,"t":"Coding Workspace (IDE Mode)","u":"/docs/integrations/coding-workspace","b":["Docs","Integrations"]},{"i":71,"t":"GitHub Companion","u":"/docs/integrations/github-companion","b":["Docs","Integrations"]},{"i":91,"t":"Spotify Integration","u":"/docs/integrations/spotify","b":["Docs","Integrations"]},{"i":126,"t":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","b":["Docs","Integrations"]},{"i":148,"t":"Telegram","u":"/docs/integrations/telegram","b":["Docs","Integrations"]},{"i":162,"t":"Built-in Tools","u":"/docs/reference/built-in-tools","b":["Docs","Reference"]},{"i":174,"t":"Configuration","u":"/docs/reference/configuration","b":["Docs","Reference"]},{"i":176,"t":"Permissions","u":"/docs/reference/permissions","b":["Docs","Reference"]},{"i":180,"t":"Provider Fallback","u":"/docs/reference/provider-fallback","b":["Docs","Reference"]},{"i":188,"t":"Scheduling","u":"/docs/reference/scheduling","b":["Docs","Reference"]},{"i":194,"t":"Second Brain","u":"/docs/reference/second-brain","b":["Docs","Reference"]},{"i":208,"t":"Skills","u":"/docs/reference/skills","b":["Docs","Reference"]},{"i":218,"t":"Releases","u":"/docs/releases","b":["Docs","Releases"]},{"i":222,"t":"v1.1.6","u":"/docs/releases/1.1.6","b":["Docs","Releases"]}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[0,3.541]],["t/5",[1,2.376,2,1.938,3,2.376]],["t/7",[4,2.844,5,2.844]],["t/11",[2,2.32,6,2.844]],["t/13",[7,2.844,8,1.975]],["t/35",[9,2.376,10,2.376,11,2.376]],["t/45",[12,1.788,13,1.788,14,1.788,15,1.458,16,1.788]],["t/49",[17,2.376,18,2.376,19,2.376]],["t/51",[15,2.32,20,2.844]],["t/59",[8,1.417,21,2.04,22,2.04,23,2.04]],["t/71",[24,2.844,25,2.844]],["t/91",[26,2.844,27,2.844]],["t/126",[8,1.241,28,1.788,29,2.765,30,1.788]],["t/148",[31,3.541]],["t/162",[32,2.844,33,2.844]],["t/174",[34,3.541]],["t/176",[35,3.541]],["t/180",[36,2.844,37,2.844]],["t/188",[38,3.541]],["t/194",[39,2.844,40,2.844]],["t/208",[41,3.541]],["t/218",[42,3.541]],["t/222",[43,3.541]]],"invertedIndex":[["agent",{"_index":29,"t":{"126":{"position":[[4,6],[18,5]]}}}],["auto",{"_index":14,"t":{"45":{"position":[[15,5]]}}}],["boot",{"_index":16,"t":{"45":{"position":[[30,5]]}}}],["brain",{"_index":40,"t":{"194":{"position":[[7,5]]}}}],["built",{"_index":32,"t":{"162":{"position":[[0,5]]}}}],["chat",{"_index":6,"t":{"11":{"position":[[3,4]]}}}],["code",{"_index":21,"t":{"59":{"position":[[0,6]]}}}],["command",{"_index":2,"t":{"5":{"position":[[5,7]]},"11":{"position":[[8,8]]}}}],["companion",{"_index":25,"t":{"71":{"position":[[7,9]]}}}],["configur",{"_index":34,"t":{"174":{"position":[[0,13]]}}}],["daemon",{"_index":7,"t":{"13":{"position":[[0,6]]}}}],["doctor",{"_index":4,"t":{"7":{"position":[[0,6]]}}}],["fallback",{"_index":37,"t":{"180":{"position":[[9,8]]}}}],["first",{"_index":17,"t":{"49":{"position":[[0,5]]}}}],["full",{"_index":1,"t":{"5":{"position":[[0,4]]}}}],["github",{"_index":24,"t":{"71":{"position":[[0,6]]}}}],["guid",{"_index":11,"t":{"35":{"position":[[18,5]]}}}],["id",{"_index":23,"t":{"59":{"position":[[17,4]]}}}],["instal",{"_index":0,"t":{"1":{"position":[[0,12]]}}}],["integr",{"_index":27,"t":{"91":{"position":[[8,11]]}}}],["mercuri",{"_index":20,"t":{"51":{"position":[[9,7]]}}}],["mode",{"_index":8,"t":{"13":{"position":[[7,4]]},"59":{"position":[[22,5]]},"126":{"position":[[24,5]]}}}],["multi",{"_index":30,"t":{"126":{"position":[[11,6]]}}}],["permiss",{"_index":35,"t":{"176":{"position":[[0,11]]}}}],["platform",{"_index":9,"t":{"35":{"position":[[0,8]]}}}],["provid",{"_index":36,"t":{"180":{"position":[[0,8]]}}}],["reconfigur",{"_index":5,"t":{"7":{"position":[[7,13]]}}}],["refer",{"_index":3,"t":{"5":{"position":[[13,9]]}}}],["releas",{"_index":42,"t":{"218":{"position":[[0,8]]}}}],["schedul",{"_index":38,"t":{"188":{"position":[[0,10]]}}}],["second",{"_index":39,"t":{"194":{"position":[[0,6]]}}}],["servic",{"_index":13,"t":{"45":{"position":[[7,7]]}}}],["setup",{"_index":19,"t":{"49":{"position":[[11,5]]}}}],["skill",{"_index":41,"t":{"208":{"position":[[0,6]]}}}],["specif",{"_index":10,"t":{"35":{"position":[[9,8]]}}}],["spotifi",{"_index":26,"t":{"91":{"position":[[0,7]]}}}],["start",{"_index":15,"t":{"45":{"position":[[21,5]]},"51":{"position":[[0,8]]}}}],["sub",{"_index":28,"t":{"126":{"position":[[0,3]]}}}],["system",{"_index":12,"t":{"45":{"position":[[0,6]]}}}],["telegram",{"_index":31,"t":{"148":{"position":[[0,8]]}}}],["time",{"_index":18,"t":{"49":{"position":[[6,4]]}}}],["tool",{"_index":33,"t":{"162":{"position":[[9,5]]}}}],["v1.1.6",{"_index":43,"t":{"222":{"position":[[0,6]]}}}],["workspac",{"_index":22,"t":{"59":{"position":[[7,9]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":3,"t":"Upgrade","u":"/docs","h":"#upgrade","p":1},{"i":9,"t":"Platform Diagnostics","u":"/docs/cli-commands/doctor","h":"#platform-diagnostics","p":7},{"i":15,"t":"Start","u":"/docs/daemon-mode/daemon-mode","h":"#start","p":13},{"i":17,"t":"Start in foreground","u":"/docs/daemon-mode/daemon-mode","h":"#start-in-foreground","p":13},{"i":19,"t":"The easy way: mercury up","u":"/docs/daemon-mode/daemon-mode","h":"#the-easy-way-mercury-up","p":13},{"i":21,"t":"Stop","u":"/docs/daemon-mode/daemon-mode","h":"#stop","p":13},{"i":23,"t":"Restart","u":"/docs/daemon-mode/daemon-mode","h":"#restart","p":13},{"i":25,"t":"View logs","u":"/docs/daemon-mode/daemon-mode","h":"#view-logs","p":13},{"i":27,"t":"Check status","u":"/docs/daemon-mode/daemon-mode","h":"#check-status","p":13},{"i":29,"t":"Background Tasks and Workers","u":"/docs/daemon-mode/daemon-mode","h":"#background-tasks-and-workers","p":13},{"i":31,"t":"Shell background tasks","u":"/docs/daemon-mode/daemon-mode","h":"#shell-background-tasks","p":13},{"i":33,"t":"Sub-agent workers","u":"/docs/daemon-mode/daemon-mode","h":"#sub-agent-workers","p":13},{"i":37,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management","p":35},{"i":39,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-1","p":35},{"i":41,"t":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-2","p":35},{"i":43,"t":"Docker Status","u":"/docs/daemon-mode/platform-guide","h":"#docker-status","p":35},{"i":47,"t":"Other service commands","u":"/docs/daemon-mode/system-service","h":"#other-service-commands","p":45},{"i":53,"t":"Start (background daemon)","u":"/docs/getting-started/starting","h":"#start-background-daemon","p":51},{"i":55,"t":"Foreground (interactive)","u":"/docs/getting-started/starting","h":"#foreground-interactive","p":51},{"i":57,"t":"Verbose logging","u":"/docs/getting-started/starting","h":"#verbose-logging","p":51},{"i":61,"t":"Enter Workspace Mode","u":"/docs/integrations/coding-workspace","h":"#enter-workspace-mode","p":59},{"i":63,"t":"Modes","u":"/docs/integrations/coding-workspace","h":"#modes","p":59},{"i":65,"t":"Keyboard shortcuts (CLI)","u":"/docs/integrations/coding-workspace","h":"#keyboard-shortcuts-cli","p":59},{"i":67,"t":"Workspace Commands","u":"/docs/integrations/coding-workspace","h":"#workspace-commands","p":59},{"i":69,"t":"Sub-Agents + Background in Coding","u":"/docs/integrations/coding-workspace","h":"#sub-agents--background-in-coding","p":59},{"i":73,"t":"Why set up GitHub?","u":"/docs/integrations/github-companion","h":"#why-set-up-github","p":71},{"i":75,"t":"Setup","u":"/docs/integrations/github-companion","h":"#setup","p":71},{"i":77,"t":"1. GitHub username","u":"/docs/integrations/github-companion","h":"#1-github-username","p":71},{"i":79,"t":"2. Co-authored-by (automatic)","u":"/docs/integrations/github-companion","h":"#2-co-authored-by-automatic","p":71},{"i":81,"t":"3. GitHub PAT (Personal Access Token)","u":"/docs/integrations/github-companion","h":"#3-github-pat-personal-access-token","p":71},{"i":83,"t":"4. Default repo (optional)","u":"/docs/integrations/github-companion","h":"#4-default-repo-optional","p":71},{"i":85,"t":"GitHub Tools","u":"/docs/integrations/github-companion","h":"#github-tools","p":71},{"i":87,"t":"Co-Authored Commits","u":"/docs/integrations/github-companion","h":"#co-authored-commits","p":71},{"i":89,"t":"Security","u":"/docs/integrations/github-companion","h":"#security","p":71},{"i":93,"t":"Setup","u":"/docs/integrations/spotify","h":"#setup","p":91},{"i":94,"t":"Step 1: Create a Spotify Developer App","u":"/docs/integrations/spotify","h":"#step-1-create-a-spotify-developer-app","p":91},{"i":96,"t":"Step 2: Configure Mercury","u":"/docs/integrations/spotify","h":"#step-2-configure-mercury","p":91},{"i":98,"t":"Step 3: Connect Your Spotify Account","u":"/docs/integrations/spotify","h":"#step-3-connect-your-spotify-account","p":91},{"i":100,"t":"Commands","u":"/docs/integrations/spotify","h":"#commands","p":91},{"i":102,"t":"Spotify Tools","u":"/docs/integrations/spotify","h":"#spotify-tools","p":91},{"i":104,"t":"Read-only (works on free accounts)","u":"/docs/integrations/spotify","h":"#read-only-works-on-free-accounts","p":91},{"i":106,"t":"Playback control (requires Spotify Premium)","u":"/docs/integrations/spotify","h":"#playback-control-requires-spotify-premium","p":91},{"i":108,"t":"Using It","u":"/docs/integrations/spotify","h":"#using-it","p":91},{"i":110,"t":"Interactive Player (CLI)","u":"/docs/integrations/spotify","h":"#interactive-player-cli","p":91},{"i":112,"t":"Player shortcuts","u":"/docs/integrations/spotify","h":"#player-shortcuts","p":91},{"i":114,"t":"Optional inline album art","u":"/docs/integrations/spotify","h":"#optional-inline-album-art","p":91},{"i":116,"t":"Managing Devices","u":"/docs/integrations/spotify","h":"#managing-devices","p":91},{"i":118,"t":"Token Management","u":"/docs/integrations/spotify","h":"#token-management","p":91},{"i":120,"t":"Disconnecting","u":"/docs/integrations/spotify","h":"#disconnecting","p":91},{"i":122,"t":"Security","u":"/docs/integrations/spotify","h":"#security","p":91},{"i":124,"t":"Troubleshooting","u":"/docs/integrations/spotify","h":"#troubleshooting","p":91},{"i":128,"t":"Why Sub-Agents Matter","u":"/docs/integrations/sub-agents","h":"#why-sub-agents-matter","p":126},{"i":130,"t":"How It Works","u":"/docs/integrations/sub-agents","h":"#how-it-works","p":126},{"i":132,"t":"Commands","u":"/docs/integrations/sub-agents","h":"#commands","p":126},{"i":134,"t":"Delegation Tools","u":"/docs/integrations/sub-agents","h":"#delegation-tools","p":126},{"i":136,"t":"Architecture","u":"/docs/integrations/sub-agents","h":"#architecture","p":126},{"i":138,"t":"When Mercury Uses Sub-Agents","u":"/docs/integrations/sub-agents","h":"#when-mercury-uses-sub-agents","p":126},{"i":140,"t":"What Happens While Agents Work","u":"/docs/integrations/sub-agents","h":"#what-happens-while-agents-work","p":126},{"i":142,"t":"Configuration","u":"/docs/integrations/sub-agents","h":"#configuration","p":126},{"i":144,"t":"Programming Mode","u":"/docs/integrations/sub-agents","h":"#programming-mode","p":126},{"i":146,"t":"Programming Mode + Sub-Agents","u":"/docs/integrations/sub-agents","h":"#programming-mode--sub-agents","p":126},{"i":150,"t":"Access Model","u":"/docs/integrations/telegram","h":"#access-model","p":148},{"i":152,"t":"Roles","u":"/docs/integrations/telegram","h":"#roles","p":148},{"i":154,"t":"CLI Commands","u":"/docs/integrations/telegram","h":"#cli-commands","p":148},{"i":156,"t":"In-Chat Commands","u":"/docs/integrations/telegram","h":"#in-chat-commands","p":148},{"i":158,"t":"Features","u":"/docs/integrations/telegram","h":"#features","p":148},{"i":160,"t":"Configuration","u":"/docs/integrations/telegram","h":"#configuration","p":148},{"i":164,"t":"Filesystem","u":"/docs/reference/built-in-tools","h":"#filesystem","p":162},{"i":166,"t":"Messaging","u":"/docs/reference/built-in-tools","h":"#messaging","p":162},{"i":168,"t":"Shell","u":"/docs/reference/built-in-tools","h":"#shell","p":162},{"i":170,"t":"Git","u":"/docs/reference/built-in-tools","h":"#git","p":162},{"i":172,"t":"Web, Skills, Scheduler, System","u":"/docs/reference/built-in-tools","h":"#web-skills-scheduler-system","p":162},{"i":178,"t":"Permission Modes","u":"/docs/reference/permissions","h":"#permission-modes","p":176},{"i":182,"t":"Session Model Switching","u":"/docs/reference/provider-fallback","h":"#session-model-switching","p":180},{"i":184,"t":"Supported Providers","u":"/docs/reference/provider-fallback","h":"#supported-providers","p":180},{"i":186,"t":"Configuring Providers","u":"/docs/reference/provider-fallback","h":"#configuring-providers","p":180},{"i":190,"t":"Recurring tasks","u":"/docs/reference/scheduling","h":"#recurring-tasks","p":188},{"i":192,"t":"One-shot delays","u":"/docs/reference/scheduling","h":"#one-shot-delays","p":188},{"i":196,"t":"How it works","u":"/docs/reference/second-brain","h":"#how-it-works","p":194},{"i":198,"t":"Memory Types","u":"/docs/reference/second-brain","h":"#memory-types","p":194},{"i":200,"t":"Conflict Resolution","u":"/docs/reference/second-brain","h":"#conflict-resolution","p":194},{"i":202,"t":"Evidence Kinds","u":"/docs/reference/second-brain","h":"#evidence-kinds","p":194},{"i":204,"t":"Managing Memory","u":"/docs/reference/second-brain","h":"#managing-memory","p":194},{"i":206,"t":"Enable / Disable","u":"/docs/reference/second-brain","h":"#enable--disable","p":194},{"i":210,"t":"Default skills","u":"/docs/reference/skills","h":"#default-skills","p":208},{"i":212,"t":"Installing","u":"/docs/reference/skills","h":"#installing","p":208},{"i":214,"t":"Invoking","u":"/docs/reference/skills","h":"#invoking","p":208},{"i":216,"t":"Scheduling a skill","u":"/docs/reference/skills","h":"#scheduling-a-skill","p":208},{"i":220,"t":"Available release notes","u":"/docs/releases","h":"#available-release-notes","p":218},{"i":224,"t":"Highlights","u":"/docs/releases/1.1.6","h":"#highlights","p":222},{"i":226,"t":"CLI/TUI Improvements","u":"/docs/releases/1.1.6","h":"#clitui-improvements","p":222},{"i":228,"t":"Workspace + Coding","u":"/docs/releases/1.1.6","h":"#workspace--coding","p":222},{"i":230,"t":"Background Tasks + Sub-Agents","u":"/docs/releases/1.1.6","h":"#background-tasks--sub-agents","p":222},{"i":232,"t":"Spotify","u":"/docs/releases/1.1.6","h":"#spotify","p":222},{"i":234,"t":"Docs","u":"/docs/releases/1.1.6","h":"#docs","p":222},{"i":236,"t":"Notes","u":"/docs/releases/1.1.6","h":"#notes","p":222}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/3",[0,5.401]],["t/9",[1,4.375,2,4.375]],["t/15",[3,4.304]],["t/17",[3,3.486,4,3.839]],["t/19",[5,3.171,6,3.171,7,2.527,8,2.782]],["t/21",[9,5.401]],["t/23",[10,5.401]],["t/25",[11,4.375,12,3.839]],["t/27",[13,4.375,14,3.839]],["t/29",[15,2.531,16,2.708,17,3.227]],["t/31",[15,2.531,16,2.708,18,3.227]],["t/33",[17,3.227,19,2.384,20,2.258]],["t/37",[21,3.486,22,2.837]],["t/39",[21,3.486,22,2.837]],["t/41",[21,3.486,22,2.837]],["t/43",[14,3.839,23,4.375]],["t/47",[24,4.375,25,2.837]],["t/53",[3,2.93,15,2.531,26,3.677]],["t/55",[4,3.839,27,3.839]],["t/57",[12,3.839,28,4.375]],["t/61",[29,3.677,30,2.93,31,2.531]],["t/63",[31,3.718]],["t/65",[32,3.677,33,3.227,34,2.93]],["t/67",[25,2.837,30,3.486]],["t/69",[15,1.919,19,1.807,20,1.711,35,1.919,36,2.446]],["t/73",[8,3.227,37,3.677,38,2.708]],["t/75",[39,4.74]],["t/77",[38,2.708,40,3.227,41,3.677]],["t/79",[42,2.782,43,2.782,44,2.782,45,3.171]],["t/81",[38,1.831,46,2.182,47,2.486,48,2.486,49,2.182,50,2.182]],["t/83",[51,3.171,52,2.782,53,3.171,54,2.782]],["t/85",[38,3.223,55,3.486]],["t/87",[43,3.227,44,3.227,56,3.677]],["t/89",[57,4.74]],["t/93",[39,4.74]],["t/94",[40,2.182,58,1.981,59,2.486,60,1.712,61,2.486,62,2.486]],["t/96",[7,2.527,42,2.782,58,2.527,63,2.335]],["t/98",[46,2.446,58,2.221,60,1.919,64,2.787,65,2.446]],["t/100",[25,3.502]],["t/102",[55,3.486,60,3.012]],["t/104",[65,2.782,66,3.171,67,2.335,68,3.171]],["t/106",[60,1.919,69,2.787,70,2.787,71,2.787,72,2.787]],["t/108",[73,4.74]],["t/110",[27,3.227,34,2.93,74,3.227]],["t/112",[33,3.839,74,3.839]],["t/114",[54,2.782,75,3.171,76,3.171,77,3.171]],["t/116",[22,2.837,78,4.375]],["t/118",[22,2.837,50,3.839]],["t/120",[79,5.401]],["t/122",[57,4.74]],["t/124",[80,5.401]],["t/128",[19,2.384,20,2.258,81,3.677]],["t/130",[67,3.978]],["t/132",[25,3.502]],["t/134",[55,3.486,82,4.375]],["t/136",[83,5.401]],["t/138",[7,2.527,19,2.056,20,1.947,73,2.782]],["t/140",[20,2.258,67,2.708,84,3.677]],["t/142",[63,3.978]],["t/144",[31,3.012,85,3.839]],["t/146",[19,1.807,20,1.711,31,1.919,35,1.919,85,2.446]],["t/150",[49,3.839,86,3.839]],["t/152",[87,5.401]],["t/154",[25,2.837,34,3.486]],["t/156",[25,2.837,88,4.375]],["t/158",[89,5.401]],["t/160",[63,3.978]],["t/164",[90,5.401]],["t/166",[91,5.401]],["t/168",[18,4.74]],["t/170",[92,5.401]],["t/172",[93,3.171,94,2.527,95,2.782,96,3.171]],["t/178",[31,3.012,97,4.375]],["t/182",[86,3.227,98,3.677,99,3.677]],["t/184",[100,4.375,101,3.839]],["t/186",[63,3.223,101,3.839]],["t/190",[16,3.223,102,4.375]],["t/192",[103,3.677,104,3.677,105,3.677]],["t/196",[67,3.978]],["t/198",[106,3.839,107,4.375]],["t/200",[108,4.375,109,4.375]],["t/202",[110,4.375,111,4.375]],["t/204",[22,2.837,106,3.839]],["t/206",[35,2.531,112,3.677,113,3.677]],["t/210",[52,3.839,94,3.486]],["t/212",[114,5.401]],["t/214",[115,5.401]],["t/216",[94,3.486,95,3.839]],["t/220",[116,3.677,117,3.677,118,3.227]],["t/224",[119,5.401]],["t/226",[120,4.375,121,4.375]],["t/228",[30,2.93,35,2.531,36,3.227]],["t/230",[15,1.919,16,2.053,19,1.807,20,1.711,35,1.919]],["t/232",[60,3.718]],["t/234",[122,5.401]],["t/236",[118,4.74]]],"invertedIndex":[["",{"_index":35,"t":{"69":{"position":[[11,1]]},"146":{"position":[[17,1]]},"206":{"position":[[7,1]]},"228":{"position":[[10,1]]},"230":{"position":[[17,1]]}}}],["1",{"_index":40,"t":{"77":{"position":[[0,2]]},"94":{"position":[[5,2]]}}}],["2",{"_index":42,"t":{"79":{"position":[[0,2]]},"96":{"position":[[5,2]]}}}],["3",{"_index":46,"t":{"81":{"position":[[0,2]]},"98":{"position":[[5,2]]}}}],["4",{"_index":51,"t":{"83":{"position":[[0,2]]}}}],["access",{"_index":49,"t":{"81":{"position":[[24,6]]},"150":{"position":[[0,6]]}}}],["account",{"_index":65,"t":{"98":{"position":[[29,7]]},"104":{"position":[[25,9]]}}}],["agent",{"_index":20,"t":{"33":{"position":[[4,5]]},"69":{"position":[[4,6]]},"128":{"position":[[8,6]]},"138":{"position":[[22,6]]},"140":{"position":[[19,6]]},"146":{"position":[[23,6]]},"230":{"position":[[23,6]]}}}],["album",{"_index":76,"t":{"114":{"position":[[16,5]]}}}],["app",{"_index":62,"t":{"94":{"position":[[35,3]]}}}],["architectur",{"_index":83,"t":{"136":{"position":[[0,12]]}}}],["art",{"_index":77,"t":{"114":{"position":[[22,3]]}}}],["author",{"_index":44,"t":{"79":{"position":[[6,8]]},"87":{"position":[[3,8]]}}}],["automat",{"_index":45,"t":{"79":{"position":[[18,11]]}}}],["avail",{"_index":116,"t":{"220":{"position":[[0,9]]}}}],["background",{"_index":15,"t":{"29":{"position":[[0,10]]},"31":{"position":[[6,10]]},"53":{"position":[[6,11]]},"69":{"position":[[13,10]]},"230":{"position":[[0,10]]}}}],["chat",{"_index":88,"t":{"156":{"position":[[3,4]]}}}],["check",{"_index":13,"t":{"27":{"position":[[0,5]]}}}],["cli",{"_index":34,"t":{"65":{"position":[[19,5]]},"110":{"position":[[19,5]]},"154":{"position":[[0,3]]}}}],["cli/tui",{"_index":120,"t":{"226":{"position":[[0,7]]}}}],["co",{"_index":43,"t":{"79":{"position":[[3,2]]},"87":{"position":[[0,2]]}}}],["code",{"_index":36,"t":{"69":{"position":[[27,6]]},"228":{"position":[[12,6]]}}}],["command",{"_index":25,"t":{"47":{"position":[[14,8]]},"67":{"position":[[10,8]]},"100":{"position":[[0,8]]},"132":{"position":[[0,8]]},"154":{"position":[[4,8]]},"156":{"position":[[8,8]]}}}],["commit",{"_index":56,"t":{"87":{"position":[[12,7]]}}}],["configur",{"_index":63,"t":{"96":{"position":[[8,9]]},"142":{"position":[[0,13]]},"160":{"position":[[0,13]]},"186":{"position":[[0,11]]}}}],["conflict",{"_index":108,"t":{"200":{"position":[[0,8]]}}}],["connect",{"_index":64,"t":{"98":{"position":[[8,7]]}}}],["control",{"_index":70,"t":{"106":{"position":[[9,7]]}}}],["creat",{"_index":59,"t":{"94":{"position":[[8,6]]}}}],["daemon",{"_index":26,"t":{"53":{"position":[[18,7]]}}}],["default",{"_index":52,"t":{"83":{"position":[[3,7]]},"210":{"position":[[0,7]]}}}],["delay",{"_index":105,"t":{"192":{"position":[[9,6]]}}}],["deleg",{"_index":82,"t":{"134":{"position":[[0,10]]}}}],["develop",{"_index":61,"t":{"94":{"position":[[25,9]]}}}],["devic",{"_index":78,"t":{"116":{"position":[[9,7]]}}}],["diagnost",{"_index":2,"t":{"9":{"position":[[9,11]]}}}],["disabl",{"_index":113,"t":{"206":{"position":[[9,7]]}}}],["disconnect",{"_index":79,"t":{"120":{"position":[[0,13]]}}}],["doc",{"_index":122,"t":{"234":{"position":[[0,4]]}}}],["docker",{"_index":23,"t":{"43":{"position":[[0,6]]}}}],["easi",{"_index":5,"t":{"19":{"position":[[4,4]]}}}],["enabl",{"_index":112,"t":{"206":{"position":[[0,6]]}}}],["enter",{"_index":29,"t":{"61":{"position":[[0,5]]}}}],["evid",{"_index":110,"t":{"202":{"position":[[0,8]]}}}],["featur",{"_index":89,"t":{"158":{"position":[[0,8]]}}}],["filesystem",{"_index":90,"t":{"164":{"position":[[0,10]]}}}],["foreground",{"_index":4,"t":{"17":{"position":[[9,10]]},"55":{"position":[[0,10]]}}}],["free",{"_index":68,"t":{"104":{"position":[[20,4]]}}}],["git",{"_index":92,"t":{"170":{"position":[[0,3]]}}}],["github",{"_index":38,"t":{"73":{"position":[[11,7]]},"77":{"position":[[3,6]]},"81":{"position":[[3,6]]},"85":{"position":[[0,6]]}}}],["happen",{"_index":84,"t":{"140":{"position":[[5,7]]}}}],["highlight",{"_index":119,"t":{"224":{"position":[[0,10]]}}}],["improv",{"_index":121,"t":{"226":{"position":[[8,12]]}}}],["inlin",{"_index":75,"t":{"114":{"position":[[9,6]]}}}],["instal",{"_index":114,"t":{"212":{"position":[[0,10]]}}}],["interact",{"_index":27,"t":{"55":{"position":[[11,13]]},"110":{"position":[[0,11]]}}}],["invok",{"_index":115,"t":{"214":{"position":[[0,8]]}}}],["keyboard",{"_index":32,"t":{"65":{"position":[[0,8]]}}}],["kind",{"_index":111,"t":{"202":{"position":[[9,5]]}}}],["log",{"_index":12,"t":{"25":{"position":[[5,4]]},"57":{"position":[[8,7]]}}}],["manag",{"_index":22,"t":{"37":{"position":[[7,10]]},"39":{"position":[[7,10]]},"41":{"position":[[7,10]]},"116":{"position":[[0,8]]},"118":{"position":[[6,10]]},"204":{"position":[[0,8]]}}}],["manual",{"_index":21,"t":{"37":{"position":[[0,6]]},"39":{"position":[[0,6]]},"41":{"position":[[0,6]]}}}],["matter",{"_index":81,"t":{"128":{"position":[[15,6]]}}}],["memori",{"_index":106,"t":{"198":{"position":[[0,6]]},"204":{"position":[[9,6]]}}}],["mercuri",{"_index":7,"t":{"19":{"position":[[14,7]]},"96":{"position":[[18,7]]},"138":{"position":[[5,7]]}}}],["messag",{"_index":91,"t":{"166":{"position":[[0,9]]}}}],["mode",{"_index":31,"t":{"61":{"position":[[16,4]]},"63":{"position":[[0,5]]},"144":{"position":[[12,4]]},"146":{"position":[[12,4]]},"178":{"position":[[11,5]]}}}],["model",{"_index":86,"t":{"150":{"position":[[7,5]]},"182":{"position":[[8,5]]}}}],["note",{"_index":118,"t":{"220":{"position":[[18,5]]},"236":{"position":[[0,5]]}}}],["on",{"_index":103,"t":{"192":{"position":[[0,3]]}}}],["option",{"_index":54,"t":{"83":{"position":[[16,10]]},"114":{"position":[[0,8]]}}}],["pat",{"_index":47,"t":{"81":{"position":[[10,3]]}}}],["permiss",{"_index":97,"t":{"178":{"position":[[0,10]]}}}],["person",{"_index":48,"t":{"81":{"position":[[14,9]]}}}],["platform",{"_index":1,"t":{"9":{"position":[[0,8]]}}}],["playback",{"_index":69,"t":{"106":{"position":[[0,8]]}}}],["player",{"_index":74,"t":{"110":{"position":[[12,6]]},"112":{"position":[[0,6]]}}}],["premium",{"_index":72,"t":{"106":{"position":[[35,8]]}}}],["program",{"_index":85,"t":{"144":{"position":[[0,11]]},"146":{"position":[[0,11]]}}}],["provid",{"_index":101,"t":{"184":{"position":[[10,9]]},"186":{"position":[[12,9]]}}}],["read",{"_index":66,"t":{"104":{"position":[[0,4]]}}}],["recur",{"_index":102,"t":{"190":{"position":[[0,9]]}}}],["releas",{"_index":117,"t":{"220":{"position":[[10,7]]}}}],["repo",{"_index":53,"t":{"83":{"position":[[11,4]]}}}],["requir",{"_index":71,"t":{"106":{"position":[[17,9]]}}}],["resolut",{"_index":109,"t":{"200":{"position":[[9,10]]}}}],["restart",{"_index":10,"t":{"23":{"position":[[0,7]]}}}],["role",{"_index":87,"t":{"152":{"position":[[0,5]]}}}],["schedul",{"_index":95,"t":{"172":{"position":[[13,10]]},"216":{"position":[[0,10]]}}}],["secur",{"_index":57,"t":{"89":{"position":[[0,8]]},"122":{"position":[[0,8]]}}}],["servic",{"_index":24,"t":{"47":{"position":[[6,7]]}}}],["session",{"_index":98,"t":{"182":{"position":[[0,7]]}}}],["set",{"_index":37,"t":{"73":{"position":[[4,3]]}}}],["setup",{"_index":39,"t":{"75":{"position":[[0,5]]},"93":{"position":[[0,5]]}}}],["shell",{"_index":18,"t":{"31":{"position":[[0,5]]},"168":{"position":[[0,5]]}}}],["shortcut",{"_index":33,"t":{"65":{"position":[[9,9]]},"112":{"position":[[7,9]]}}}],["shot",{"_index":104,"t":{"192":{"position":[[4,4]]}}}],["skill",{"_index":94,"t":{"172":{"position":[[5,7]]},"210":{"position":[[8,6]]},"216":{"position":[[13,5]]}}}],["spotifi",{"_index":60,"t":{"94":{"position":[[17,7]]},"98":{"position":[[21,7]]},"102":{"position":[[0,7]]},"106":{"position":[[27,7]]},"232":{"position":[[0,7]]}}}],["start",{"_index":3,"t":{"15":{"position":[[0,5]]},"17":{"position":[[0,5]]},"53":{"position":[[0,5]]}}}],["statu",{"_index":14,"t":{"27":{"position":[[6,6]]},"43":{"position":[[7,6]]}}}],["step",{"_index":58,"t":{"94":{"position":[[0,4]]},"96":{"position":[[0,4]]},"98":{"position":[[0,4]]}}}],["stop",{"_index":9,"t":{"21":{"position":[[0,4]]}}}],["sub",{"_index":19,"t":{"33":{"position":[[0,3]]},"69":{"position":[[0,3]]},"128":{"position":[[4,3]]},"138":{"position":[[18,3]]},"146":{"position":[[19,3]]},"230":{"position":[[19,3]]}}}],["support",{"_index":100,"t":{"184":{"position":[[0,9]]}}}],["switch",{"_index":99,"t":{"182":{"position":[[14,9]]}}}],["system",{"_index":96,"t":{"172":{"position":[[24,6]]}}}],["task",{"_index":16,"t":{"29":{"position":[[11,5]]},"31":{"position":[[17,5]]},"190":{"position":[[10,5]]},"230":{"position":[[11,5]]}}}],["token",{"_index":50,"t":{"81":{"position":[[31,6]]},"118":{"position":[[0,5]]}}}],["tool",{"_index":55,"t":{"85":{"position":[[7,5]]},"102":{"position":[[8,5]]},"134":{"position":[[11,5]]}}}],["troubleshoot",{"_index":80,"t":{"124":{"position":[[0,15]]}}}],["type",{"_index":107,"t":{"198":{"position":[[7,5]]}}}],["up",{"_index":8,"t":{"19":{"position":[[22,2]]},"73":{"position":[[8,2]]}}}],["upgrad",{"_index":0,"t":{"3":{"position":[[0,7]]}}}],["us",{"_index":73,"t":{"108":{"position":[[0,5]]},"138":{"position":[[13,4]]}}}],["usernam",{"_index":41,"t":{"77":{"position":[[10,8]]}}}],["verbos",{"_index":28,"t":{"57":{"position":[[0,7]]}}}],["view",{"_index":11,"t":{"25":{"position":[[0,4]]}}}],["way",{"_index":6,"t":{"19":{"position":[[9,4]]}}}],["web",{"_index":93,"t":{"172":{"position":[[0,4]]}}}],["work",{"_index":67,"t":{"104":{"position":[[10,6]]},"130":{"position":[[7,5]]},"140":{"position":[[26,4]]},"196":{"position":[[7,5]]}}}],["worker",{"_index":17,"t":{"29":{"position":[[21,7]]},"33":{"position":[[10,7]]}}}],["workspac",{"_index":30,"t":{"61":{"position":[[6,9]]},"67":{"position":[[0,9]]},"228":{"position":[[0,9]]}}}]],"pipeline":["stemmer"]}},{"documents":[{"i":1,"t":"Mercury requires Node.js 20+. Install with npm:","s":"Installation","u":"/docs","p":1},{"i":5,"t":"| Command | Description |","s":"Full Command Reference","u":"/docs/cli-commands/cli-commands","p":5},{"i":7,"t":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it.","s":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","p":7},{"i":11,"t":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens.","s":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","p":11},{"i":13,"t":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","s":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","p":13},{"i":35,"t":"mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist.","s":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","p":35},{"i":45,"t":"Install Mercury as a system service so it starts automatically on boot and restarts on crash.","s":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","p":45},{"i":49,"t":"Run mercury for the first time. The onboarding wizard asks for:","s":"First-Time Setup","u":"/docs/getting-started/setup","p":49},{"i":51,"t":"The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running.","s":"Starting Mercury","u":"/docs/getting-started/starting","p":51},{"i":59,"t":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","s":"Coding Workspace (IDE Mode)","u":"/docs/integrations/coding-workspace","p":59},{"i":71,"t":"Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram.","s":"GitHub Companion","u":"/docs/integrations/github-companion","p":71},{"i":91,"t":"Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \"play some chill music\" and Mercury handles the rest.","s":"Spotify Integration","u":"/docs/integrations/spotify","p":91},{"i":126,"t":"Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","s":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","p":126},{"i":148,"t":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","s":"Telegram","u":"/docs/integrations/telegram","p":148},{"i":162,"t":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.","s":"Built-in Tools","u":"/docs/reference/built-in-tools","p":162},{"i":174,"t":"All runtime data lives in ~/.mercury/ — not in your project directory.","s":"Configuration","u":"/docs/reference/configuration","p":174},{"i":176,"t":"Mercury has a three-tier permission system for shell commands:","s":"Permissions","u":"/docs/reference/permissions","p":176},{"i":180,"t":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","s":"Provider Fallback","u":"/docs/reference/provider-fallback","p":180},{"i":188,"t":"Mercury can schedule tasks using cron expressions or one-shot delays.","s":"Scheduling","u":"/docs/reference/scheduling","p":188},{"i":194,"t":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.","s":"Second Brain","u":"/docs/reference/second-brain","p":194},{"i":208,"t":"Skills are markdown-based extensions that live in ~/.mercury/skills//SKILL.md.","s":"Skills","u":"/docs/reference/skills","p":208},{"i":218,"t":"This section tracks Mercury release notes by version.","s":"Releases","u":"/docs/releases","p":218},{"i":222,"t":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","s":"v1.1.6","u":"/docs/releases/1.1.6","p":222}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/1",[0,0.203,1,3.564,2,3.564,3,3.564,4,2.152,5,3.564]],["t/5",[6,2.107,7,2.578,8,3.713]],["t/7",[0,0.133,9,2.344,10,2.344,11,1.415,12,2.344,13,1.912,14,2.344,15,3.387,16,2.344,17,2.344,18,2.344,19,2.344,20,2.344,21,1.912,22,2.344,23,1.912,24,2.344,25,2.344]],["t/11",[0,0.153,23,2.202,26,2.202,27,1.272,28,1.875,29,2.699,30,1.875,31,1.63,32,2.699,33,2.699,34,2.699,35,2.699,36,2.699,37,2.202]],["t/13",[0,0.163,11,1.735,21,2.344,28,1.996,31,1.735,38,2.344,39,2.344,40,2.874,41,2.344,42,1.996,43,2.874,44,2.344]],["t/35",[0,0.203,4,2.152,45,2.475,46,2.908,47,3.564,48,3.564]],["t/45",[0,0.181,4,1.921,45,2.21,49,2.21,50,2.596,51,2.21,52,3.182,53,3.182,54,3.182]],["t/49",[0,0.195,11,2.069,13,2.796,55,2.796,56,3.427,57,3.427,58,3.427]],["t/51",[0,0.153,4,1.63,11,2.26,39,2.202,45,1.875,49,1.875,50,2.202,59,2.699,60,2.699,61,2.202,62,2.699,63,2.699,64,2.202]],["t/59",[0,0.175,30,2.133,65,3.072,66,2.506,67,3.072,68,2.506,69,2.506,70,2.506,71,2.506,72,3.072]],["t/71",[0,0.092,6,1.073,27,0.763,31,0.977,44,1.321,46,1.321,70,1.321,73,1.619,74,2.559,75,1.619,76,1.619,77,1.619,78,1.619,79,1.619,80,2.087,81,1.619,82,1.619,83,1.619,84,1.619,85,1.619,86,1.321,87,1.321,88,1.321,89,1.619,90,1.619,91,1.619,92,1.619,93,1.619,94,1.321,95,1.321,96,1.619,97,1.619,98,1.619]],["t/91",[0,0.167,6,0.812,27,0.912,80,1.579,86,1.579,87,1.579,99,1.579,100,1.936,101,1.936,102,1.936,103,1.936,104,1.936,105,1.936,106,2.939,107,1.936,108,1.936,109,1.936,110,1.936,111,1.936,112,1.936,113,1.936,114,1.936,115,1.936,116,1.579,117,1.936]],["t/126",[0,0.182,6,0.911,27,1.023,28,1.508,42,1.508,64,1.772,69,1.772,116,1.772,118,2.172,119,2.172,120,2.172,121,2.172,122,2.172,123,2.172,124,2.613,125,2.172,126,2.172,127,2.172,128,2.172,129,2.172]],["t/148",[0,0.145,31,1.537,37,2.076,55,2.076,99,2.076,130,2.545,131,2.545,132,2.076,133,2.545,134,2.545,135,2.545,136,2.545,137,2.545,138,2.545,139,2.545,140,2.545]],["t/162",[0,0.163,6,1.206,7,1.996,26,2.344,27,1.354,30,1.996,94,2.344,95,2.344,124,2.344,141,2.344,142,2.874,143,2.874]],["t/174",[0,0.195,6,1.438,144,3.427,145,3.427,146,2.796,147,2.796,148,3.427]],["t/176",[0,0.195,7,2.38,49,2.38,149,3.427,150,3.427,151,3.427,152,3.427]],["t/180",[0,0.189,51,1.586,88,1.863,132,3.196,153,2.284,154,2.284,155,3.323,156,2.284,157,2.284,158,2.284,159,2.284,160,2.284,161,1.863,162,2.284,163,2.284,164,2.284]],["t/188",[0,0.181,41,2.596,42,2.21,141,2.596,161,2.596,165,3.182,166,3.182,167,3.182,168,3.182]],["t/194",[0,0.137,6,1.01,27,1.134,51,1.672,61,1.964,147,1.964,169,2.407,170,2.407,171,2.407,172,2.407,173,2.407,174,2.407,175,2.407,176,2.407,177,2.407,178,2.407,179,2.407,180,2.407]],["t/208",[146,2.908,181,3.564,182,3.564,183,3.564,184,3.564,185,3.564]],["t/218",[0,0.203,186,3.564,187,3.564,188,2.908,189,3.564,190,3.564]],["t/222",[38,2.202,66,2.202,68,2.202,71,2.202,188,2.202,191,2.699,192,2.699,193,2.699,194,2.699,195,2.699,196,2.699,197,2.699,198,2.699,199,2.699]]],"invertedIndex":[["",{"_index":6,"t":{"5":{"position":[[0,1],[10,1],[24,1]]},"71":{"position":[[41,1],[130,1]]},"91":{"position":[[50,1]]},"126":{"position":[[29,1]]},"162":{"position":[[91,1]]},"174":{"position":[[38,1]]},"194":{"position":[[159,1]]}}}],["1.1.6",{"_index":191,"t":{"222":{"position":[[8,5]]}}}],["20",{"_index":3,"t":{"1":{"position":[[25,4]]}}}],["account",{"_index":101,"t":{"91":{"position":[[33,7]]}}}],["act",{"_index":73,"t":{"71":{"position":[[12,3]]}}}],["agent",{"_index":124,"t":{"126":{"position":[[78,6],[161,5]]},"162":{"position":[[97,5]]}}}],["ai",{"_index":123,"t":{"126":{"position":[[75,2]]}}}],["alongsid",{"_index":92,"t":{"71":{"position":[[216,9]]}}}],["api",{"_index":36,"t":{"11":{"position":[[127,3]]}}}],["app",{"_index":112,"t":{"91":{"position":[[175,3]]}}}],["approv",{"_index":139,"t":{"148":{"position":[[122,8]]}}}],["ask",{"_index":58,"t":{"49":{"position":[[54,4]]}}}],["author",{"_index":84,"t":{"71":{"position":[[113,8]]}}}],["automat",{"_index":51,"t":{"45":{"position":[[49,13]]},"180":{"position":[[77,14]]},"194":{"position":[[97,13]]}}}],["back",{"_index":158,"t":{"180":{"position":[[72,4]]}}}],["background",{"_index":38,"t":{"13":{"position":[[18,10]]},"222":{"position":[[70,10]]}}}],["base",{"_index":183,"t":{"208":{"position":[[20,5]]}}}],["boot",{"_index":52,"t":{"45":{"position":[[66,4]]}}}],["bot",{"_index":131,"t":{"148":{"position":[[35,3]]}}}],["both",{"_index":29,"t":{"11":{"position":[[60,4]]}}}],["browser",{"_index":110,"t":{"91":{"position":[[158,7]]}}}],["built",{"_index":94,"t":{"71":{"position":[[236,5]]},"162":{"position":[[14,5]]}}}],["call",{"_index":143,"t":{"162":{"position":[[119,4]]}}}],["chang",{"_index":128,"t":{"126":{"position":[[180,7]]}}}],["chatbot",{"_index":119,"t":{"126":{"position":[[21,7]]}}}],["chill",{"_index":115,"t":{"91":{"position":[[210,5]]}}}],["cli",{"_index":30,"t":{"11":{"position":[[65,3]]},"59":{"position":[[19,3]]},"162":{"position":[[78,3]]}}}],["cli/tui",{"_index":193,"t":{"222":{"position":[[33,7]]}}}],["close",{"_index":43,"t":{"13":{"position":[[100,5]]}}}],["co",{"_index":83,"t":{"71":{"position":[[110,2]]}}}],["code",{"_index":72,"t":{"59":{"position":[[71,7]]}}}],["command",{"_index":7,"t":{"5":{"position":[[2,7]]},"162":{"position":[[82,8]]},"176":{"position":[[53,9]]}}}],["commit",{"_index":85,"t":{"71":{"position":[[122,7]]}}}],["companion",{"_index":75,"t":{"71":{"position":[[31,9]]}}}],["concurr",{"_index":125,"t":{"126":{"position":[[101,12]]}}}],["configur",{"_index":88,"t":{"71":{"position":[[171,11]]},"180":{"position":[[0,9]]}}}],["connect",{"_index":99,"t":{"91":{"position":[[8,8]]},"148":{"position":[[8,8]]}}}],["consum",{"_index":35,"t":{"11":{"position":[[119,7]]}}}],["continu",{"_index":126,"t":{"126":{"position":[[120,10]]}}}],["control",{"_index":103,"t":{"91":{"position":[[52,7]]}}}],["convers",{"_index":27,"t":{"11":{"position":[[20,12]]},"71":{"position":[[152,13]]},"91":{"position":[[141,13]]},"126":{"position":[[135,13]]},"162":{"position":[[49,14]]},"194":{"position":[[66,13]]}}}],["coverag",{"_index":199,"t":{"222":{"position":[[113,9]]}}}],["crash",{"_index":54,"t":{"45":{"position":[[87,6]]}}}],["creat",{"_index":46,"t":{"35":{"position":[[24,7]]},"71":{"position":[[43,8]]}}}],["cron",{"_index":165,"t":{"188":{"position":[[33,4]]}}}],["current",{"_index":14,"t":{"7":{"position":[[50,7]]}}}],["daemon",{"_index":39,"t":{"13":{"position":[[29,6]]},"51":{"position":[[95,7]]}}}],["data",{"_index":145,"t":{"174":{"position":[[12,4]]}}}],["decid",{"_index":142,"t":{"162":{"position":[[103,7]]}}}],["default",{"_index":40,"t":{"13":{"position":[[39,8]]}}}],["delay",{"_index":168,"t":{"188":{"position":[[62,7]]}}}],["descript",{"_index":8,"t":{"5":{"position":[[12,11]]}}}],["devic",{"_index":109,"t":{"91":{"position":[[117,7]]}}}],["directori",{"_index":148,"t":{"174":{"position":[[60,10]]}}}],["dj",{"_index":108,"t":{"91":{"position":[[106,2]]}}}],["doc",{"_index":198,"t":{"222":{"position":[[108,4]]}}}],["doctor",{"_index":9,"t":{"7":{"position":[[8,6]]}}}],["dure",{"_index":26,"t":{"11":{"position":[[11,6]]},"162":{"position":[[42,6]]}}}],["easiest",{"_index":59,"t":{"51":{"position":[[4,7]]}}}],["enabl",{"_index":172,"t":{"194":{"position":[[85,8]]}}}],["ensur",{"_index":63,"t":{"51":{"position":[[107,7]]}}}],["enter",{"_index":19,"t":{"7":{"position":[[83,5]]}}}],["execut",{"_index":196,"t":{"222":{"position":[[81,9]]}}}],["express",{"_index":166,"t":{"188":{"position":[[38,11]]}}}],["extens",{"_index":184,"t":{"208":{"position":[[26,10]]}}}],["extract",{"_index":173,"t":{"194":{"position":[[111,9]]}}}],["fact",{"_index":176,"t":{"194":{"position":[[143,5]]}}}],["fail",{"_index":159,"t":{"180":{"position":[[108,6]]}}}],["fall",{"_index":157,"t":{"180":{"position":[[66,5]]}}}],["field",{"_index":20,"t":{"7":{"position":[[96,5]]}}}],["file",{"_index":136,"t":{"148":{"position":[[97,4]]}}}],["fill",{"_index":17,"t":{"7":{"position":[[69,7]]}}}],["first",{"_index":55,"t":{"49":{"position":[[20,5]]},"148":{"position":[[65,5]]}}}],["five",{"_index":89,"t":{"71":{"position":[[183,4]]}}}],["flow",{"_index":195,"t":{"222":{"position":[[64,5]]}}}],["focus",{"_index":71,"t":{"59":{"position":[[63,7]]},"222":{"position":[[14,7]]}}}],["fundament",{"_index":129,"t":{"126":{"position":[[206,14]]}}}],["github",{"_index":74,"t":{"71":{"position":[[24,6],[188,6]]}}}],["goal",{"_index":178,"t":{"194":{"position":[[179,6]]}}}],["grow",{"_index":171,"t":{"194":{"position":[[49,5]]}}}],["habit",{"_index":179,"t":{"194":{"position":[[196,7]]}}}],["handl",{"_index":116,"t":{"91":{"position":[[235,7]]},"126":{"position":[[88,6]]}}}],["id",{"_index":66,"t":{"59":{"position":[[23,3]]},"222":{"position":[[60,3]]}}}],["includ",{"_index":65,"t":{"59":{"position":[[8,8]]}}}],["inlin",{"_index":138,"t":{"148":{"position":[[115,6]]}}}],["instal",{"_index":4,"t":{"1":{"position":[[30,7]]},"35":{"position":[[16,7]]},"45":{"position":[[0,7]]},"51":{"position":[[45,8]]}}}],["interfac",{"_index":134,"t":{"148":{"position":[[71,9]]}}}],["isn't",{"_index":118,"t":{"126":{"position":[[8,5]]}}}],["issu",{"_index":81,"t":{"71":{"position":[[91,7]]}}}],["it'",{"_index":64,"t":{"51":{"position":[[115,4]]},"126":{"position":[[31,4]]}}}],["keep",{"_index":21,"t":{"7":{"position":[[105,4]]},"13":{"position":[[77,4]]}}}],["keyboard",{"_index":140,"t":{"148":{"position":[[131,10]]}}}],["last",{"_index":163,"t":{"180":{"position":[[160,4]]}}}],["launchag",{"_index":47,"t":{"35":{"position":[[34,11]]}}}],["leav",{"_index":98,"t":{"71":{"position":[[294,7]]}}}],["let",{"_index":96,"t":{"71":{"position":[[254,7]]}}}],["library/launchagents/com.cosmicstack.mercury.plist",{"_index":48,"t":{"35":{"position":[[49,53]]}}}],["live",{"_index":146,"t":{"174":{"position":[[17,5]]},"208":{"position":[[42,4]]}}}],["llm",{"_index":154,"t":{"180":{"position":[[19,3]]}}}],["major",{"_index":192,"t":{"222":{"position":[[27,5]]}}}],["make",{"_index":82,"t":{"71":{"position":[[103,6]]}}}],["manag",{"_index":80,"t":{"71":{"position":[[82,8],[266,6]]},"91":{"position":[[84,6]]}}}],["mark",{"_index":33,"t":{"11":{"position":[[89,6]]}}}],["markdown",{"_index":182,"t":{"208":{"position":[[11,8]]}}}],["memori",{"_index":170,"t":{"194":{"position":[[37,6]]}}}],["mercuri",{"_index":0,"t":{"1":{"position":[[0,7]]},"7":{"position":[[0,7]]},"11":{"position":[[38,8]]},"13":{"position":[[0,7]]},"35":{"position":[[0,7]]},"45":{"position":[[8,7]]},"49":{"position":[[4,7]]},"51":{"position":[[23,7]]},"59":{"position":[[0,7]]},"71":{"position":[[0,7]]},"91":{"position":[[0,7],[227,7]]},"126":{"position":[[0,7],[192,7]]},"148":{"position":[[0,7]]},"162":{"position":[[0,7]]},"174":{"position":[[26,11]]},"176":{"position":[[0,7]]},"180":{"position":[[34,7],[115,7]]},"188":{"position":[[0,7]]},"194":{"position":[[0,7]]},"218":{"position":[[20,7]]}}}],["mercury'",{"_index":93,"t":{"71":{"position":[[226,9]]}}}],["mercury/skills//skill.md",{"_index":185,"t":{"208":{"position":[[50,28]]}}}],["mobil",{"_index":133,"t":{"148":{"position":[[58,6]]}}}],["mode",{"_index":69,"t":{"59":{"position":[[43,4]]},"126":{"position":[[167,5]]}}}],["more",{"_index":180,"t":{"194":{"position":[[208,5]]}}}],["multipl",{"_index":153,"t":{"180":{"position":[[10,8]]}}}],["music",{"_index":106,"t":{"91":{"position":[[77,6],[216,6]]}}}],["nativ",{"_index":102,"t":{"91":{"position":[[41,8]]}}}],["natur",{"_index":87,"t":{"71":{"position":[[144,7]]},"91":{"position":[[133,7]]}}}],["need",{"_index":62,"t":{"51":{"position":[[76,7]]}}}],["new",{"_index":24,"t":{"7":{"position":[[134,3]]}}}],["next",{"_index":160,"t":{"180":{"position":[[133,4]]}}}],["node.j",{"_index":2,"t":{"1":{"position":[[17,7]]}}}],["note",{"_index":189,"t":{"218":{"position":[[36,5]]}}}],["npm",{"_index":5,"t":{"1":{"position":[[43,4]]}}}],["on",{"_index":161,"t":{"180":{"position":[[138,3]]},"188":{"position":[[53,3]]}}}],["onboard",{"_index":57,"t":{"49":{"position":[[36,10]]}}}],["orchestr",{"_index":120,"t":{"126":{"position":[[39,13]]}}}],["order",{"_index":156,"t":{"180":{"position":[[56,5]]}}}],["otherwis",{"_index":34,"t":{"11":{"position":[[96,10]]}}}],["parallel",{"_index":122,"t":{"126":{"position":[[66,8]]}}}],["permiss",{"_index":151,"t":{"176":{"position":[[25,10]]}}}],["persist",{"_index":61,"t":{"51":{"position":[[31,13]]},"194":{"position":[[14,11]]}}}],["play",{"_index":114,"t":{"91":{"position":[[199,5]]}}}],["playback",{"_index":104,"t":{"91":{"position":[[60,9]]}}}],["playlist",{"_index":107,"t":{"91":{"position":[[91,10]]}}}],["pr",{"_index":79,"t":{"71":{"position":[[77,4]]}}}],["pre",{"_index":16,"t":{"7":{"position":[[65,3]]}}}],["prefer",{"_index":177,"t":{"194":{"position":[[166,12]]}}}],["press",{"_index":18,"t":{"7":{"position":[[77,5]]}}}],["project",{"_index":147,"t":{"174":{"position":[[52,7]]},"194":{"position":[[186,9]]}}}],["provid",{"_index":132,"t":{"148":{"position":[[46,9]]},"180":{"position":[[23,10],[99,8],[176,9]]}}}],["pull",{"_index":76,"t":{"71":{"position":[[52,4]]}}}],["re",{"_index":10,"t":{"7":{"position":[[15,2]]}}}],["regist",{"_index":91,"t":{"71":{"position":[[205,10]]}}}],["releas",{"_index":188,"t":{"218":{"position":[[28,7]]},"222":{"position":[[0,7]]}}}],["reliabl",{"_index":197,"t":{"222":{"position":[[91,12]]}}}],["rememb",{"_index":162,"t":{"180":{"position":[[146,9]]}}}],["replac",{"_index":25,"t":{"7":{"position":[[147,7]]}}}],["repositori",{"_index":70,"t":{"59":{"position":[[52,10]]},"71":{"position":[[273,12]]}}}],["request",{"_index":77,"t":{"71":{"position":[[57,9]]}}}],["requir",{"_index":1,"t":{"1":{"position":[[8,8]]}}}],["rest",{"_index":117,"t":{"91":{"position":[[247,5]]}}}],["restart",{"_index":53,"t":{"45":{"position":[[75,8]]}}}],["retriev",{"_index":175,"t":{"194":{"position":[[133,9]]}}}],["review",{"_index":78,"t":{"71":{"position":[[67,9]]}}}],["run",{"_index":11,"t":{"7":{"position":[[18,4]]},"13":{"position":[[8,4]]},"49":{"position":[[0,3]]},"51":{"position":[[19,3],[120,8]]}}}],["runtim",{"_index":144,"t":{"174":{"position":[[4,7]]}}}],["schedul",{"_index":41,"t":{"13":{"position":[[61,9]]},"188":{"position":[[12,8]]}}}],["search",{"_index":105,"t":{"91":{"position":[[70,6]]}}}],["section",{"_index":186,"t":{"218":{"position":[[5,7]]}}}],["servic",{"_index":45,"t":{"35":{"position":[[8,7]]},"45":{"position":[[28,7]]},"51":{"position":[[65,7]]}}}],["setup",{"_index":12,"t":{"7":{"position":[[27,5]]}}}],["shell",{"_index":152,"t":{"176":{"position":[[47,5]]}}}],["shot",{"_index":167,"t":{"188":{"position":[[57,4]]}}}],["skill",{"_index":181,"t":{"208":{"position":[[0,6]]}}}],["spawn",{"_index":121,"t":{"126":{"position":[[60,5]]}}}],["spotifi",{"_index":100,"t":{"91":{"position":[[25,7]]}}}],["start",{"_index":50,"t":{"45":{"position":[[42,6]]},"51":{"position":[[84,6]]}}}],["store",{"_index":174,"t":{"194":{"position":[[121,7]]}}}],["stream",{"_index":135,"t":{"148":{"position":[[86,10]]}}}],["structur",{"_index":169,"t":{"194":{"position":[[26,10]]}}}],["style",{"_index":67,"t":{"59":{"position":[[27,5]]}}}],["sub",{"_index":127,"t":{"126":{"position":[[157,3]]}}}],["success",{"_index":164,"t":{"180":{"position":[[165,10]]}}}],["switch",{"_index":113,"t":{"91":{"position":[[179,10]]}}}],["system",{"_index":49,"t":{"45":{"position":[[21,6]]},"51":{"position":[[58,6]]},"176":{"position":[[36,6]]}}}],["tab",{"_index":111,"t":{"91":{"position":[[166,5]]}}}],["task",{"_index":42,"t":{"13":{"position":[[71,5]]},"126":{"position":[[95,5]]},"188":{"position":[[21,5]]}}}],["telegram",{"_index":31,"t":{"11":{"position":[[73,8]]},"13":{"position":[[48,8]]},"71":{"position":[[318,9]]},"148":{"position":[[20,8]]}}}],["termin",{"_index":44,"t":{"13":{"position":[[110,9]]},"71":{"position":[[306,8]]}}}],["three",{"_index":149,"t":{"176":{"position":[[14,5]]}}}],["through",{"_index":86,"t":{"71":{"position":[[136,7]]},"91":{"position":[[125,7]]}}}],["tier",{"_index":150,"t":{"176":{"position":[[20,4]]}}}],["time",{"_index":56,"t":{"49":{"position":[[26,5]]}}}],["token",{"_index":37,"t":{"11":{"position":[[131,7]]},"148":{"position":[[39,6]]}}}],["tool",{"_index":90,"t":{"71":{"position":[[195,5]]}}}],["toolset",{"_index":95,"t":{"71":{"position":[[245,8]]},"162":{"position":[[23,7]]}}}],["track",{"_index":187,"t":{"218":{"position":[[13,6]]}}}],["tri",{"_index":155,"t":{"180":{"position":[[42,5],[123,5]]}}}],["type",{"_index":23,"t":{"7":{"position":[[127,4]]},"11":{"position":[[0,4]]}}}],["unchang",{"_index":22,"t":{"7":{"position":[[113,10]]}}}],["unless",{"_index":32,"t":{"11":{"position":[[82,6]]}}}],["upgrad",{"_index":194,"t":{"222":{"position":[[41,8]]}}}],["upload",{"_index":137,"t":{"148":{"position":[[102,8]]}}}],["us",{"_index":141,"t":{"162":{"position":[[38,3]]},"188":{"position":[[27,5]]}}}],["valu",{"_index":15,"t":{"7":{"position":[[58,6],[138,5]]}}}],["version",{"_index":190,"t":{"218":{"position":[[45,8]]}}}],["via",{"_index":130,"t":{"148":{"position":[[29,3]]}}}],["way",{"_index":60,"t":{"51":{"position":[[12,3]]}}}],["without",{"_index":97,"t":{"71":{"position":[[286,7]]}}}],["wizard",{"_index":13,"t":{"7":{"position":[[33,6]]},"49":{"position":[[47,6]]}}}],["work",{"_index":28,"t":{"11":{"position":[[52,4]]},"13":{"position":[[82,7]]},"126":{"position":[[200,5]]}}}],["workspac",{"_index":68,"t":{"59":{"position":[[33,9]]},"222":{"position":[[50,9]]}}}]],"pipeline":["stemmer"]}},{"documents":[],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[],"invertedIndex":[],"pipeline":["stemmer"]}},{"documents":[{"i":2,"t":"Mercury requires Node.js 20+. Install with npm: npm i -g @cosmicstack/mercury-agent Or run without installing: npx @cosmicstack/mercury-agent","s":"Installation","u":"/docs","h":"","p":1},{"i":4,"t":"Mercury includes a built-in upgrade command that handles the full update cycle: mercury upgrade This command: Checks npm for the latest published version Stops the daemon if running, to avoid conflicts Removes the old package first to prevent ENOTEMPTY errors Installs the latest version globally Shows the before/after version comparison :::tip ENOTEMPTY fix If you see ENOTEMPTY: directory not empty, rename when running npm i -g manually, use mercury upgrade instead — it removes the old package directory before installing the new one. :::","s":"Upgrade","u":"/docs","h":"#upgrade","p":1},{"i":6,"t":"Command Description mercury up Recommended. Install service + start daemon + ensure running mercury Start the agent (same as mercury start) mercury start Start as background daemon (default) mercury start --foreground Start in foreground (interactive) mode. Shorthand: -f mercury restart Restart a background Mercury process mercury stop Stop a background Mercury process mercury logs Show last 100 lines of daemon logs mercury status Show config, providers, daemon PID, and budget mercury doctor Reconfigure settings — press Enter to keep current values mercury doctor --platform Show cross-platform terminal/daemon compatibility diagnostics mercury setup Re-run the setup wizard (same as doctor) mercury help Show the full manual (tools, commands, config paths) mercury service install Install as system service (auto-start on boot) mercury service uninstall Uninstall the system service mercury service status Show system service status mercury --verbose Start with debug logging on stderr","s":"Full Command Reference","u":"/docs/cli-commands/cli-commands","h":"","p":5},{"i":8,"t":"mercury doctor re-runs the setup wizard with your current values pre-filled. Press Enter on any field to keep it unchanged, or type a new value to replace it. API keys are shown masked: sk-x••••4f2a Providers and models can be reselected; Mercury fetches models again for changed credentials Telegram token — type none to disable Telegram, or paste a token to start the pairing-code flow Daily budget — change the token budget limit mercury doctor","s":"Doctor (Reconfigure)","u":"/docs/cli-commands/doctor","h":"","p":7},{"i":10,"t":"Use --platform to run a non-destructive compatibility check for your current environment: mercury doctor --platform This prints: OS + architecture Node.js version Terminal + TTY/raw-mode capability SSH/CI detection Daemon status Spotify inline-art support status Keybinding fallbacks (/view, /ws exit, etc.)","s":"Platform Diagnostics","u":"/docs/cli-commands/doctor","h":"#platform-diagnostics","p":7},{"i":12,"t":"Type these during a conversation with Mercury. Most work in both CLI and Telegram unless marked otherwise. They do not consume API tokens. Command Description /help Show the full manual /status Show agent name, provider, budget, and channels / or /menu CLI only: open the arrow-key command picker with Back and Exit options /telegram CLI only: open Telegram management with pending requests, approvals, roles, and reset actions /telegram pending CLI only: list pending Telegram access requests /telegram users CLI only: list approved Telegram admins and members /telegram approve <code|id> CLI only: approve the first pairing code or a later Telegram access request /telegram reject <id> CLI only: reject a pending Telegram access request /telegram remove <id> CLI only: revoke an approved Telegram user /telegram promote <id> CLI only: promote a Telegram member to admin /telegram demote <id> CLI only: demote a Telegram admin to member /telegram reset CLI only: clear all Telegram access and restart pairing from scratch /tools List all currently loaded tools /skills List installed skills /stream Toggle Telegram text streaming (on/off) /stream off Disable streaming — responses arrive as single message /budget Show token budget status /budget override Override budget for one request /budget reset Reset usage to zero /budget set <n> Change daily token budget /permissions Change permission mode (Ask Me / Allow All) — Telegram only /models List configured models/providers and switch active model for this session /models use <provider> Switch the current session model/provider /models doctor Show how to add/configure models via mercury doctor /view Toggle progress view (balanced/detailed) /view balanced Set compact progress view /view detailed Set full progress view /code agent <task> Delegate a coding task to a sub-agent in the background /ws exit Exit workspace IDE mode back to general chat /bg <command> Run a shell command in the background /bg: <task> Run a natural-language sub-agent task in background /bg current Move the current in-flight task to background /bg list Show background tasks /bg <id> Show details/output for one background task /bg cancel <id> Cancel a running background task /bg clear Prune completed background tasks /tasks List scheduled tasks /memory View and manage second brain memory /unpair Telegram only: reset all access, new users can /start again :::info Telegram pairing and access Telegram stays private 1:1 only. The first user sends /start, receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send /start, appear as pending requests, and can then be approved or rejected from the CLI /telegram menu. :::","s":"In-Chat Commands","u":"/docs/cli-commands/in-chat-commands","h":"","p":11},{"i":14,"t":"Mercury runs as a background daemon by default. Telegram and scheduled tasks keep working after you close the terminal.","s":"Daemon Mode","u":"/docs/daemon-mode/daemon-mode","h":"","p":13},{"i":16,"t":"mercury start Starts Mercury as a background daemon. Spawns a detached child process, writes a PID file to ~/.mercury/daemon.pid, and redirects output to ~/.mercury/daemon.log. Stale PID files are automatically cleaned up.","s":"Start","u":"/docs/daemon-mode/daemon-mode","h":"#start","p":13},{"i":18,"t":"mercury start --foreground Runs Mercury attached to your terminal. Useful for debugging or when you want to see output directly. Shorthand: mercury start -f.","s":"Start in foreground","u":"/docs/daemon-mode/daemon-mode","h":"#start-in-foreground","p":13},{"i":20,"t":"mercury up This one command does everything: installs the system service if needed, starts the background daemon, and confirms Mercury is running. If it's already running, it just shows you the PID.","s":"The easy way: mercury up","u":"/docs/daemon-mode/daemon-mode","h":"#the-easy-way-mercury-up","p":13},{"i":22,"t":"mercury stop Sends SIGTERM (process.kill on Windows) to the background process and removes the PID file.","s":"Stop","u":"/docs/daemon-mode/daemon-mode","h":"#stop","p":13},{"i":24,"t":"mercury restart Stops the running daemon (if any) and starts a fresh one. Useful when something isn't working right and you need a clean restart.","s":"Restart","u":"/docs/daemon-mode/daemon-mode","h":"#restart","p":13},{"i":26,"t":"mercury logs Shows the last 100 lines of ~/.mercury/daemon.log.","s":"View logs","u":"/docs/daemon-mode/daemon-mode","h":"#view-logs","p":13},{"i":28,"t":"mercury status Shows whether the daemon is running, its PID, and the log file path. :::info Crash recovery Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent \"already running\" false positives. :::","s":"Check status","u":"/docs/daemon-mode/daemon-mode","h":"#check-status","p":13},{"i":30,"t":"Daemon mode supports async background execution for both shell commands and delegated sub-agent work.","s":"Background Tasks and Workers","u":"/docs/daemon-mode/daemon-mode","h":"#background-tasks-and-workers","p":13},{"i":32,"t":"Start with /bg <command> Inspect with /bg list and /bg <id> Cancel with /bg cancel <id>","s":"Shell background tasks","u":"/docs/daemon-mode/daemon-mode","h":"#shell-background-tasks","p":13},{"i":34,"t":"Delegate coding with /code agent <task> or /bg: <task> Move active task to worker with /bg current Worker progress/completion is surfaced in the shared background task board (/bg list) These workers are designed to keep Mercury responsive while long-running work continues.","s":"Sub-agent workers","u":"/docs/daemon-mode/daemon-mode","h":"#sub-agent-workers","p":13},{"i":36,"t":"macOS Linux Windows mercury service install creates a LaunchAgent at ~/Library/LaunchAgents/com.cosmicstack.mercury.plist. Auto-start: Loads on login via launchctl load Crash recovery: KeepAlive SuccessfulExit = false restarts on crash No sudo needed: User-level LaunchAgent, not system daemon Logs: ~/.mercury/daemon.log and ~/.mercury/daemon-error.log Manual management​ launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist launchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist mercury service install creates a systemd user unit at ~/.config/systemd/user/mercury.service. Auto-start: Enabled via systemctl --user enable mercury.service Crash recovery: Restart=on-failure with 5s delay No sudo needed: User-level service Boot without login: Run sudo loginctl enable-linger $USER once Logs: ~/.mercury/daemon.log or journalctl --user -u mercury Manual management​ systemctl --user start mercury systemctl --user status mercury systemctl --user stop mercury mercury service install creates a Windows Task Scheduler task named MercuryAgent. Auto-start: Triggers on user logon via schtasks Crash recovery: Built-in watchdog with exponential backoff No admin needed: Runs with limited privileges (/rl limited) Logs: %USERPROFILE%\\.mercury\\daemon.log Manual management​ schtasks /query /tn \"MercuryAgent\" /fo list schtasks /run /tn \"MercuryAgent\" schtasks /delete /tn \"MercuryAgent\" /f","s":"Platform-Specific Guide","u":"/docs/daemon-mode/platform-guide","h":"","p":35},{"i":38,"t":"launchctl load ~/Library/LaunchAgents/com.cosmicstack.mercury.plist launchctl unload ~/Library/LaunchAgents/com.cosmicstack.mercury.plist","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management","p":35},{"i":40,"t":"systemctl --user start mercury systemctl --user status mercury systemctl --user stop mercury","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-1","p":35},{"i":42,"t":"schtasks /query /tn \"MercuryAgent\" /fo list schtasks /run /tn \"MercuryAgent\" schtasks /delete /tn \"MercuryAgent\" /f","s":"Manual management","u":"/docs/daemon-mode/platform-guide","h":"#manual-management-2","p":35},{"i":44,"t":"Mercury does not currently ship first-party Docker assets in this repository (no Dockerfile or docker-compose.yml by default). If you run Mercury in a container, treat it as an advanced/custom deployment: Prefer foreground mode (mercury start --foreground) inside the container Let the container runtime handle restart policy Mount ~/.mercury as persistent storage Validate terminal/TTY behavior separately for interactive CLI usage","s":"Docker Status","u":"/docs/daemon-mode/platform-guide","h":"#docker-status","p":35},{"i":46,"t":"Install Mercury as a system service so it starts automatically on boot and restarts on crash. mercury service install This detects your platform and generates the appropriate service config. Platform Method Requires Admin Auto-Start Crash Recovery macOS LaunchAgent plist No On login KeepAlive (restart on crash) Linux systemd user unit No* On login Restart=on-failure, 5s delay Windows Task Scheduler (schtasks) No On logon Built-in watchdog *Linux boot-without-login requires loginctl enable-linger $USER (one-time, needs sudo).","s":"System Service (Auto-Start on Boot)","u":"/docs/daemon-mode/system-service","h":"","p":45},{"i":48,"t":"mercury service status mercury service uninstall","s":"Other service commands","u":"/docs/daemon-mode/system-service","h":"#other-service-commands","p":45},{"i":50,"t":"Run mercury for the first time. The onboarding wizard asks for: Your name — used by the agent to address you Agent name — defaults to \"Mercury\", customize it LLM providers — choose one or more: DeepSeek, OpenAI, Anthropic, Grok, Ollama Cloud, Ollama Local, or OpenAI Compatible Model selection — after each valid key, Mercury fetches recommended chat models and lets you choose a default Telegram bot token — optional, for remote access in private 1:1 chats Provider keys are validated by format and then by fetching available models. If model discovery fails, Mercury asks you to re-enter the key instead of accepting random text. If you enable Telegram during first-time setup, Mercury starts a temporary pairing flow: send /start to your bot in Telegram, copy the pairing code you receive there, then paste that code into the CLI to finish setup. All config is stored in ~/.mercury/ — nothing in your project directory. :::info Masked keys When reconfiguring with mercury doctor, existing API keys are shown masked like sk-x••••4f2a. Press Enter to keep the current value, or paste a new key to replace it. :::","s":"First-Time Setup","u":"/docs/getting-started/setup","h":"","p":49},{"i":52,"t":":::tip Recommended: mercury up The easiest way to run Mercury persistently. Installs the system service if needed, starts the daemon, and ensures it's running. ::: mercury up If Mercury is already running, mercury up just confirms it and shows the PID. If the service isn't installed yet, it installs it first, then starts the daemon.","s":"Starting Mercury","u":"/docs/getting-started/starting","h":"","p":51},{"i":54,"t":"mercury start Starts Mercury as a background daemon by default. Telegram becomes your primary interface. Logs go to ~/.mercury/daemon.log. Stale PID files are auto-cleaned. Includes crash recovery with exponential backoff.","s":"Start (background daemon)","u":"/docs/getting-started/starting","h":"#start-background-daemon","p":51},{"i":56,"t":"mercury start --foreground Runs Mercury attached to your terminal with the Ink TUI interface. Press Ctrl+C to exit. The CLI supports chat, coding workspace mode, progress views, and interactive permission prompts. Shorthand: mercury start -f. When running in background mode, you can stop it with: mercury stop","s":"Foreground (interactive)","u":"/docs/getting-started/starting","h":"#foreground-interactive","p":51},{"i":58,"t":"Add --verbose to any start command to see debug logs on stderr: mercury start --verbose","s":"Verbose logging","u":"/docs/getting-started/starting","h":"#verbose-logging","p":51},{"i":60,"t":"Mercury includes a CLI IDE-style workspace mode for repository-focused coding.","s":"Coding Workspace (IDE Mode)","u":"/docs/integrations/coding-workspace","h":"","p":59},{"i":62,"t":"You can enter workspace mode in multiple ways: /code and choose workspace /code workspace /ws open <path> Once active, Mercury switches to coding context for that repository.","s":"Enter Workspace Mode","u":"/docs/integrations/coding-workspace","h":"#enter-workspace-mode","p":59},{"i":64,"t":"Use programming modes to control behavior: /code plan — analysis/planning first, minimal code changes /code execute — implementation mode /code off — return to normal conversation behavior","s":"Modes","u":"/docs/integrations/coding-workspace","h":"#modes","p":59},{"i":66,"t":"Ctrl+P → Plan mode Ctrl+X → Execute mode Esc or Ctrl+Q → Exit workspace back to chat Ctrl+E → Explorer pane Ctrl+G → Git pane","s":"Keyboard shortcuts (CLI)","u":"/docs/integrations/coding-workspace","h":"#keyboard-shortcuts-cli","p":59},{"i":68,"t":"Command Description /ws open <path> Open a directory in workspace mode /ws refresh Refresh file tree + git status /ws stage <file|all> Stage one file or all changes /ws commit <message> Commit staged changes /ws undo <file> Revert file changes /ws exit Exit workspace mode back to general chat","s":"Workspace Commands","u":"/docs/integrations/coding-workspace","h":"#workspace-commands","p":59},{"i":70,"t":"Workspace mode supports explicit delegation and backgrounding: /code agent <task> — delegate coding work to a sub-agent /bg current — move active in-flight work to background /bg list — inspect all background tasks (shell + sub-agent) /bg <id> — view task details/output /bg cancel <id> — cancel running background work This lets you continue coding/chatting while long operations run asynchronously.","s":"Sub-Agents + Background in Coding","u":"/docs/integrations/coding-workspace","h":"#sub-agents--background-in-coding","p":59},{"i":72,"t":"Mercury can act as your GitHub companion — creating pull requests, reviewing PRs, managing issues, and making co-authored commits — all through natural conversation. When configured, five GitHub tools are registered alongside Mercury's built-in toolset, letting you manage repositories without leaving the terminal or Telegram. :::info Conditional availability GitHub tools only appear when GITHUB_TOKEN is configured via mercury doctor. Without a token, these tools are not registered and won't be available in conversation. :::","s":"GitHub Companion","u":"/docs/integrations/github-companion","h":"","p":71},{"i":74,"t":"Co-authored commits — Mercury's avatar appears alongside yours on every commit it helps with Pull requests — \"Create a PR for this change\" and Mercury stages, commits, pushes, and opens the PR Issue management — \"Check open issues\" or \"File a bug for the login crash\" Code review — \"Review PR #5\" and Mercury reads the diff and posts a summary Full API access — The github_api tool lets Mercury hit any GitHub endpoint","s":"Why set up GitHub?","u":"/docs/integrations/github-companion","h":"#why-set-up-github","p":71},{"i":76,"t":"Run mercury doctor and fill in the four GitHub fields: mercury doctor","s":"Setup","u":"/docs/integrations/github-companion","h":"#setup","p":71},{"i":78,"t":"Your GitHub username. This is used for commit attribution and identifying you in API calls. Example: hotheadhacker","s":"1. GitHub username","u":"/docs/integrations/github-companion","h":"#1-github-username","p":71},{"i":80,"t":"Every Mercury-assisted commit automatically includes a Co-authored-by: Mercury <[email protected]> trailer. No configuration needed — this is the default. Mercury's avatar will appear alongside yours on GitHub. You can customize the email in ~/.mercury/.env by setting GITHUB_EMAIL if you prefer a different co-author address.","s":"2. Co-authored-by (automatic)","u":"/docs/integrations/github-companion","h":"#2-co-authored-by-automatic","p":71},{"i":82,"t":"You need a token so Mercury can authenticate with the GitHub API. Never share this token. It's stored locally in ~/.mercury/.env and never sent anywhere except GitHub's API. :::warning Where to create your token Fine-grained PAT (recommended): Go to github.com/settings/personal-access-tokens/new Give it a name (e.g. mercury-agent) and set an expiration Under Repository access, select All repositories or choose specific repos Under Permissions → Repository permissions, grant: Contents — Read and write Pull requests — Read and write Issues — Read and write Click Generate token and copy it immediately Classic PAT: Go to github.com/settings/tokens/new Give it a name (e.g. mercury-agent) and set an expiration Select the repo scope (full control of private repositories) Click Generate token and copy it immediately :::","s":"3. GitHub PAT (Personal Access Token)","u":"/docs/integrations/github-companion","h":"#3-github-pat-personal-access-token","p":71},{"i":84,"t":"Set a default repository so you can say \"create an issue\" without specifying the repo every time. You can enter it in any of these formats: hotheadhacker/mercury-agent https://github.com/hotheadhacker/mercury-agent Mercury will parse the owner and repo name automatically from either format. Press Enter on any field to keep its current value. When the PAT is set, you'll see: ✓ GitHub tools registered (5)","s":"4. Default repo (optional)","u":"/docs/integrations/github-companion","h":"#4-default-repo-optional","p":71},{"i":86,"t":"Tool What it does create_pr Create a pull request with title, body, head branch, and base branch review_pr Fetch a PR diff, review the changes, and post review comments list_issues List and filter issues in a repository (open, closed, by label, by assignee) create_issue Create a new issue with title, body, labels, and assignees github_api Raw GitHub API access — an escape hatch for any endpoint not covered above","s":"GitHub Tools","u":"/docs/integrations/github-companion","h":"#github-tools","p":71},{"i":88,"t":"When Mercury commits code using git_commit, it automatically appends a Co-authored-by: Mercury <[email protected]> trailer. This means Mercury's avatar appears alongside yours in GitHub's commit history — giving credit where it's due.","s":"Co-Authored Commits","u":"/docs/integrations/github-companion","h":"#co-authored-commits","p":71},{"i":90,"t":":::warning PAT storage Your GitHub PAT is stored in ~/.mercury/mercury.yaml alongside your other configuration. It is never sent to any external service — only to the GitHub API directly from your machine. Treat this file like any other credential: don't commit it, don't share it, and rotate the token if you suspect it's compromised. :::","s":"Security","u":"/docs/integrations/github-companion","h":"#security","p":71},{"i":92,"t":"Mercury connects to your Spotify account natively — control playback, search music, manage playlists, and DJ on your devices through natural conversation. No browser tabs, no app switching. Just say \"play some chill music\" and Mercury handles the rest. :::info Spotify Premium Read-only features (search, top tracks, playlists, now playing) work on free Spotify accounts. Playback control (play, pause, skip, volume, shuffle, repeat, queue) requires a Spotify Premium subscription — this is a Spotify API limitation, not a Mercury restriction. :::","s":"Spotify Integration","u":"/docs/integrations/spotify","h":"","p":91},{"i":95,"t":"Go to developer.spotify.com/dashboard Log in with your Spotify account Click \"Create app\" Fill in: App name: Mercury (or anything you like) App description: Mercury Agent Spotify Integration Redirect URI: http://127.0.0.1:8888/callback — this must match exactly Click Save On the app's settings page, copy the Client ID and Client Secret :::tip Development Mode When your Spotify Developer app is in development mode (the default), you can grant access to up to 25 users. Go to your app's settings → User Management → add the Spotify email addresses of anyone who should be able to connect. This is perfect for personal use or small teams. If you need more than 25 users, you'll need to request extended quota from Spotify. :::","s":"Step 1: Create a Spotify Developer App","u":"/docs/integrations/spotify","h":"#step-1-create-a-spotify-developer-app","p":91},{"i":97,"t":"Run mercury doctor (or mercury setup for first-time setup): mercury doctor When prompted for Spotify, choose Yes and enter: Spotify Client ID — paste the Client ID from Step 1 Spotify Client Secret — paste the Client Secret from Step 1 Press Enter on any other field to keep its current value. After setup, you'll see: Spotify: not connected — run /spotify auth to link your account","s":"Step 2: Configure Mercury","u":"/docs/integrations/spotify","h":"#step-2-configure-mercury","p":91},{"i":99,"t":"Start Mercury and run: /spotify auth Choose your authorization method: Method When to use Open browser (recommended) When Mercury is running locally on your machine Paste authorization code When browser auto-open fails, or via SSH For SSH or Telegram, Mercury will give you the auth URL. Open it on any device with a browser, then paste the code parameter from the redirect URL: /spotify code <paste-your-code-here> After successful auth, Mercury shows: Spotify: connected as YourName","s":"Step 3: Connect Your Spotify Account","u":"/docs/integrations/spotify","h":"#step-3-connect-your-spotify-account","p":91},{"i":101,"t":"Command Description /spotify Show connection status, account name, plan, and active device /spotify auth Start OAuth flow (browser or manual code) /spotify code <code> Complete auth with a pasted authorization code /spotify logout Disconnect Spotify and clear saved tokens /spotify player Interactive player with arrow-key controls (CLI only) /spotify devices List available Spotify devices /spotify device <id> Set active device /spotify now Show what is currently playing","s":"Commands","u":"/docs/integrations/spotify","h":"#commands","p":91},{"i":103,"t":"These are the tools Mercury uses when you talk about music:","s":"Spotify Tools","u":"/docs/integrations/spotify","h":"#spotify-tools","p":91},{"i":105,"t":"Tool What it does spotify_search Search tracks, artists, albums, playlists spotify_now_playing Show what's currently playing spotify_devices List available Spotify devices spotify_top_tracks Get your top tracks (time_range: short/medium/long term) spotify_playlists Get your playlists spotify_like Save a track to your library","s":"Read-only (works on free accounts)","u":"/docs/integrations/spotify","h":"#read-only-works-on-free-accounts","p":91},{"i":107,"t":"Tool What it does spotify_play Play a track, album, or playlist on a device spotify_pause Pause playback spotify_next Skip to next track spotify_previous Skip to previous track spotify_volume Set volume (0-100) spotify_shuffle Toggle shuffle on/off spotify_repeat Set repeat mode (off, track, context) spotify_queue Add a track to the playback queue","s":"Playback control (requires Spotify Premium)","u":"/docs/integrations/spotify","h":"#playback-control-requires-spotify-premium","p":91},{"i":109,"t":"Just talk to Mercury naturally about music: You say Mercury does \"play some chill music\" Searches \"lo-fi chill\", picks tracks, plays on your device \"what are my top tracks?\" Calls spotify_top_tracks, shows results \"skip this song\" Calls spotify_next \"pause\" Calls spotify_pause \"play my playlist Road Trip\" Searches your playlists, plays the match \"set volume to 50\" Calls spotify_volume(50) \"what's playing?\" Calls spotify_now_playing, shows artist — track + progress bar \"add this to my queue\" Calls spotify_queue with current track \"shuffle on\" Calls spotify_shuffle(true)","s":"Using It","u":"/docs/integrations/spotify","h":"#using-it","p":91},{"i":111,"t":"The /spotify player command launches an interactive arrow-key player in your terminal: ▶ Play/Pause ◀ Previous ▶▶ Next 🔊 Volume 🔀 Shuffle 🔁 Repeat 🔍 Search 📋 Queue ✕ Exit Every action shows real-time feedback with track info and a progress bar.","s":"Interactive Player (CLI)","u":"/docs/integrations/spotify","h":"#interactive-player-cli","p":91},{"i":113,"t":"Inside the Spotify player (CLI): N → next track P → previous track + / - → volume up/down by 10% Z → refresh now playing Esc → exit player","s":"Player shortcuts","u":"/docs/integrations/spotify","h":"#player-shortcuts","p":91},{"i":115,"t":"Mercury supports inline album art as a progressive enhancement (text UI remains the default). Enable with: MERCURY_SPOTIFY_ART=1 Currently rendered only in local iTerm sessions Automatically falls back to text-only view in SSH/mobile/light terminals","s":"Optional inline album art","u":"/docs/integrations/spotify","h":"#optional-inline-album-art","p":91},{"i":117,"t":"Spotify plays on your devices — phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available: /spotify devices If no device is active, Mercury will tell you to open Spotify on a device first. You can set a default device: /spotify device <device-id> The device ID persists across sessions — Mercury remembers your preferred device.","s":"Managing Devices","u":"/docs/integrations/spotify","h":"#managing-devices","p":91},{"i":119,"t":"Mercury stores your Spotify tokens in ~/.mercury/mercury.yaml: Access token — short-lived, auto-refreshed Refresh token — long-lived, used to get new access tokens Account info — display name, user ID, plan (Premium/Free) Tokens refresh automatically before they expire. If the refresh token itself expires (rare), run /spotify auth again.","s":"Token Management","u":"/docs/integrations/spotify","h":"#token-management","p":91},{"i":121,"t":"/spotify logout This clears all tokens and account info. Run /spotify auth to reconnect later.","s":"Disconnecting","u":"/docs/integrations/spotify","h":"#disconnecting","p":91},{"i":123,"t":":::warning Client credentials Your Spotify Client ID and Client Secret are stored in ~/.mercury/mercury.yaml. They are only used to authenticate with Spotify's API from your machine — never shared externally. Treat this file like any other credential. ::: Your access and refresh tokens are also stored locally. Mercury never sends them anywhere except Spotify's API endpoints.","s":"Security","u":"/docs/integrations/spotify","h":"#security","p":91},{"i":125,"t":"Issue Solution \"Spotify Premium is required\" error You need Premium for playback control. Read-only features still work on free accounts. 403 errors on play/pause/skip Your account is on Spotify's free tier. Playback APIs are Premium-only. \"No active device\" Open Spotify on your phone/computer, play any song, then try again. Browser doesn't open for auth Use the manual code flow: /spotify auth → choose \"Paste code\" Token expired after long idle Run /spotify auth to get fresh tokens Account name not showing Run /spotify and Mercury will fetch it live from Spotify's API","s":"Troubleshooting","u":"/docs/integrations/spotify","h":"#troubleshooting","p":91},{"i":127,"t":"Mercury isn't just a chatbot — it's an orchestrator. It can spawn parallel AI agents to handle tasks concurrently while continuing the conversation. This is sub-agent mode, and it changes how Mercury works fundamentally.","s":"Sub-Agents (Multi-Agent Mode)","u":"/docs/integrations/sub-agents","h":"","p":126},{"i":129,"t":"Traditional AI agents are single-threaded: one context window, one task at a time. If you ask Mercury to \"research this topic, write the code, and review the result,\" it does them sequentially — each step blocks the next. Sub-agents break this bottleneck: Parallel execution — Multiple tasks run simultaneously across isolated context windows LLM-driven delegation — Mercury itself decides when to delegate based on task complexity Non-blocking — You can keep chatting with Mercury while sub-agents work in the background File locks — Reader-writer locks prevent concurrent write conflicts between agents Resource-aware — Max concurrent agents is auto-detected from your system's CPU and RAM","s":"Why Sub-Agents Matter","u":"/docs/integrations/sub-agents","h":"#why-sub-agents-matter","p":126},{"i":131,"t":"You: \"Build a REST API for users and write integration tests\" Mercury decides to delegate: 🤖 Multi-agent mode activated. **Agent a1** is now working on: \"Build REST API endpoints for users\" **Agent a2** is now working on: \"Write integration tests for user endpoints\" Active agents: 2/4 You can continue chatting while the agents work. Use /agents to check status. Mercury: I've delegated both tasks to parallel agents. Agent a1 is building the API and agent a2 is writing tests. They'll work independently. (you continue chatting normally) 🔄 Agent a1: Using: read_file, create_file 🔄 Agent a2: Using: list_dir, read_file ✅ **Agent a1** completed (12.3s): \"REST API built with 5 endpoints\" ✅ **Agent a2** completed (18.7s): \"12 integration tests passing\" Both agents are done. Want me to review the results together?","s":"How It Works","u":"/docs/integrations/sub-agents","h":"#how-it-works","p":126},{"i":133,"t":"Command Description /agents List all sub-agents (running and completed) /code agent <task> Delegate a coding task to a sub-agent immediately /bg: <task> Run a natural-language sub-agent task in background /bg current Move current in-flight task to a background sub-agent /bg list List shell + sub-agent background tasks /halt Emergency: halt all sub-agents and clear the task queue /stop Full reset: halt agents, clear queue, release locks, clear task board Slash commands like /agents, /halt, /stop, /spotify, and /code status work even while the main agent is busy — they're processed immediately on a fast path.","s":"Commands","u":"/docs/integrations/sub-agents","h":"#commands","p":126},{"i":135,"t":"Mercury uses these tools to manage sub-agents: Tool Description delegate_task Spawn a sub-agent with a task description and optional context list_agents Show all running and completed sub-agents stop_agent Halt a specific running sub-agent by ID When Mercury decides a task is complex enough to benefit from parallel execution, it calls delegate_task. You'll see a response like: 🤖 Multi-agent mode activated. **Agent a1** is now working on: \"Analyze the codebase structure for...\" Active agents: 1/4 You can continue chatting while the agent works. I'll notify you when it's done. Use /agents to check status.","s":"Delegation Tools","u":"/docs/integrations/sub-agents","h":"#delegation-tools","p":126},{"i":137,"t":"User message → Main Agent (orchestrator) ├─ delegate_task(\"research X\") → Sub-Agent a1 (isolated context) ├─ delegate_task(\"implement Y\") → Sub-Agent a2 (isolated context) └─ continues conversation → responds to user │ a1: \"🔄 Using: read_file\" a1: \"🔄 Using: edit_file\" a2: \"🔄 Using: list_dir\" a1: \"✅ completed (8.2s)\" a2: \"🔄 Using: create_file\" a2: \"✅ completed (15.1s)\" Each sub-agent: Has its own context window — the main agent's conversation doesn't pollute it Runs an independent 10-step agentic loop with the same tool access Uses the same permission system — but with auto-approve for the task's scope Reports progress via the notification channel (CLI or Telegram) Respects file locks — if a1 is writing a file, a2 waits for the lock","s":"Architecture","u":"/docs/integrations/sub-agents","h":"#architecture","p":126},{"i":139,"t":"Mercury decides to delegate when: A task is naturally parallelizable (e.g., \"research X while I code Y\") The task benefits from an isolated context window (no pollution from the main conversation) A task is complex enough to warrant dedicated focus Multiple independent investigations would save time You can also ask Mercury explicitly: \"Use two agents for this\" or \"Delegate this task.\"","s":"When Mercury Uses Sub-Agents","u":"/docs/integrations/sub-agents","h":"#when-mercury-uses-sub-agents","p":126},{"i":141,"t":"You can keep chatting normally. Mercury processes your messages as they come in. Sub-agent progress and completion appear as notification messages in your channel: 🔄 Agent a1: Starting task... 🔄 Agent a1: Using: read_file, edit_file 🔄 Agent a2: Using: fetch_url, create_file ✅ Agent a1 completed (8.2s): \"Analyzed the codebase...\" 🔄 Agent a2: Using: run_command ✅ Agent a2 completed (14.5s): \"Tests passing...\" If you send /agents, you'll see the full status: **Sub-Agents:** 🔄 a1: Build REST API endpoints — running (Using: read_file) ⏳ a2: Write integration tests — pending Background-tracked agent tasks also appear in /bg list so shell jobs and delegated coding work share one progress surface.","s":"What Happens While Agents Work","u":"/docs/integrations/sub-agents","h":"#what-happens-while-agents-work","p":126},{"i":143,"t":"Sub-agents are configured in ~/.mercury/mercury.yaml: subagents: enabled: true maxConcurrent: auto # auto-detected from CPU/RAM, or set manually (e.g., 4) mode: auto # \"auto\" (LLM decides) or \"manual\" (user controls) Environment variable overrides: Variable Description SUBAGENTS_ENABLED Enable/disable sub-agents SUBAGENTS_MAX_CONCURRENT Max number of concurrent agents SUBAGENTS_MODE auto or manual","s":"Configuration","u":"/docs/integrations/sub-agents","h":"#configuration","p":126},{"i":145,"t":"Sub-agents pair well with Mercury's programming mode for code tasks: Command Mode Behavior /code plan Plan Analyze without writing code /code execute Execute Implement step by step /code off Off Normal conversation /code toggle — Cycle through modes /code status — Show current mode","s":"Programming Mode","u":"/docs/integrations/sub-agents","h":"#programming-mode","p":126},{"i":147,"t":"When /code plan is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during /code execute. The ask_user tool lets Mercury present choices at decision points — on CLI this is an arrow-key menu, on Telegram it's inline buttons.","s":"Programming Mode + Sub-Agents","u":"/docs/integrations/sub-agents","h":"#programming-mode--sub-agents","p":126},{"i":149,"t":"Mercury connects to Telegram via a bot token, providing a mobile-first interface with streaming, file uploads, and inline approval keyboards.","s":"Telegram","u":"/docs/integrations/telegram","h":"","p":148},{"i":151,"t":"Mercury uses an organization access model with admins and members. The first user becomes the admin by completing a pairing-code flow during setup. Additional users request access by sending /start, which admins can approve or reject. :::info First-time pairing When no admins exist yet, sending /start creates a pairing code that must be entered in the CLI to complete setup. This ensures only the legitimate owner can gain initial access. Once an admin exists, new users send /start to create a pending request that admins can approve or reject. ::: :::warning Private chats only Mercury only works in private (one-to-one) chats. Messages in groups or channels are always ignored. :::","s":"Access Model","u":"/docs/integrations/telegram","h":"#access-model","p":148},{"i":153,"t":"Role Description Can approve requests? Admin First user to pair. Can approve/reject access requests, promote/demote users, and reset all access. Yes Member Approved by an admin. Can send messages and receive responses. No Pending Sent /start but not yet approved. Can only see their pending status. No","s":"Roles","u":"/docs/integrations/telegram","h":"#roles","p":148},{"i":155,"t":"Command Description mercury telegram list Show approved admins, members, and pending requests mercury telegram approve <code|userId> Approve the first pairing code or a pending request by user ID mercury telegram reject <userId> Reject a pending access request mercury telegram remove <userId> Remove an approved admin or member mercury telegram promote <userId> Promote a member to admin mercury telegram demote <userId> Demote an admin to member (at least one admin must remain) mercury telegram reset Clear all Telegram access (admins, members, pending). Start fresh.","s":"CLI Commands","u":"/docs/integrations/telegram","h":"#cli-commands","p":148},{"i":157,"t":"Command Description /start or /pair Request access (new users) or check status (approved users) /unpair Admin only: Reset all Telegram access for this Mercury instance","s":"In-Chat Commands","u":"/docs/integrations/telegram","h":"#in-chat-commands","p":148},{"i":159,"t":"Feature Description Text streaming Real-time response editing with typing indicators (toggle with /stream) File uploads Photos, audio, video, and documents auto-detected and sent with the right API HTML formatting Markdown automatically converted to Telegram-compatible HTML Inline keyboards Shell command and scope approvals shown as Allow / Always / Deny buttons Multi-user access Organization model with admins and members. send_message broadcasts to all approved users. Bot commands menu 12 commands registered in Telegram's bot menu for quick access","s":"Features","u":"/docs/integrations/telegram","h":"#features","p":148},{"i":161,"t":"Telegram is set up during mercury doctor or initial onboarding. You need a bot token from @BotFather. Variable Description Default TELEGRAM_BOT_TOKEN Bot token from @BotFather — TELEGRAM_ENABLED Enable/disable Telegram channel false TELEGRAM_STREAMING Enable real-time text streaming true Type none as the bot token during mercury doctor to disable Telegram.","s":"Configuration","u":"/docs/integrations/telegram","h":"#configuration","p":148},{"i":163,"t":"Mercury has a built-in toolset it can use during conversations. These are not CLI commands — the agent decides when to call them.","s":"Built-in Tools","u":"/docs/reference/built-in-tools","h":"","p":162},{"i":165,"t":"Tool What it does Parameters read_file Read file contents path write_file Write to an existing file path, content create_file Create a new file (creates parent dirs) path, content edit_file Search and replace text in a file path, old_string, new_string list_dir List directory contents path delete_file Delete a file path send_file Send file to user (Telegram upload) path approve_scope Request read/write access to a directory path, mode","s":"Filesystem","u":"/docs/reference/built-in-tools","h":"#filesystem","p":162},{"i":167,"t":"Tool What it does Parameters send_message Send a message to approved Telegram recipients content","s":"Messaging","u":"/docs/reference/built-in-tools","h":"#messaging","p":162},{"i":169,"t":"Tool What it does Parameters run_command Execute a shell command command cd Change working directory (persists across calls) path approve_command Permanently approve a command type command (e.g. \"curl\")","s":"Shell","u":"/docs/reference/built-in-tools","h":"#shell","p":162},{"i":171,"t":"Tool What it does git_status Working tree status git_diff Show file changes git_log Commit history git_add Stage files git_commit Create a commit git_push Push to remote (needs approval)","s":"Git","u":"/docs/reference/built-in-tools","h":"#git","p":162},{"i":173,"t":"Tool What it does Category fetch_url Fetch a URL and return content (HTML stripped) Web install_skill Install a skill from URL or content Skills list_skills List installed skills Skills use_skill Invoke a skill by name Skills schedule_task Schedule recurring (cron) or one-shot (delay) task Scheduler list_scheduled_tasks View all scheduled tasks Scheduler cancel_scheduled_task Cancel a scheduled task Scheduler budget_status Check token budget usage System","s":"Web, Skills, Scheduler, System","u":"/docs/reference/built-in-tools","h":"#web-skills-scheduler-system","p":162},{"i":175,"t":"All runtime data lives in ~/.mercury/ — not in your project directory. Path Purpose ~/.mercury/mercury.yaml Main config (providers, channels, budget) ~/.mercury/soul/*.md Agent personality (soul, persona, taste, heartbeat) ~/.mercury/permissions.yaml Capabilities and approval rules ~/.mercury/skills/ Installed skills ~/.mercury/schedules.yaml Scheduled tasks ~/.mercury/token-usage.json Daily token usage tracking ~/.mercury/memory/ Short-term, long-term, episodic memory ~/.mercury/daemon.pid Background process PID ~/.mercury/daemon.log Daemon mode logs","s":"Configuration","u":"/docs/reference/configuration","h":"","p":174},{"i":177,"t":"Mercury has a three-tier permission system for shell commands: Blocked — Commands like sudo, rm -rf /, mkfs are never executed Auto-approved — Safe commands like ls, cat, git status run without asking Pending approval — Unknown commands pause and ask you. Say \"always\" to permanently approve a command type Edit ~/.mercury/permissions.yaml to customize. Skill elevation: skills with allowed-tools in their SKILL.md get automatic approval for those tools during execution.","s":"Permissions","u":"/docs/reference/permissions","h":"","p":176},{"i":179,"t":"At session start, Mercury asks you to choose a permission mode: 🔒 Ask Me — Mercury asks for confirmation before file writes, shell commands that need approval, and scope changes. Default on both CLI and Telegram. ✅ Allow All — Mercury auto-approves all directory scopes, all shell commands (except blocked), and loop-continuation prompts. No interruptions during the session. Resets on restart. On CLI: an arrow-key menu appears at startup before the first prompt. On Telegram: inline keyboard buttons appear with the first message. Use /permissions to change mode at any time. Scheduled tasks always run in Allow All mode — filesystem access and shell commands are auto-approved. You receive a notification before each task executes.","s":"Permission Modes","u":"/docs/reference/permissions","h":"#permission-modes","p":176},{"i":181,"t":"Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.","s":"Provider Fallback","u":"/docs/reference/provider-fallback","h":"","p":180},{"i":183,"t":"You can switch the active provider/model at runtime without restarting Mercury: /models — shows configured providers and current active model /models use <provider> — switches the active session model /models doctor — points to setup flow for adding/configuring providers This is a session-level switch for the running process. Use mercury doctor to change persisted defaults.","s":"Session Model Switching","u":"/docs/reference/provider-fallback","h":"#session-model-switching","p":180},{"i":185,"t":"Provider Default Model API Key Configuration DeepSeek deepseek-chat DEEPSEEK_API_KEY Default provider, cost-effective OpenAI gpt-4o-mini OPENAI_API_KEY GPT-4o-mini, GPT-4o, o3, etc. Anthropic claude-sonnet-4-20250514 ANTHROPIC_API_KEY Claude Sonnet, Haiku, Opus Grok (xAI) grok-4 GROK_API_KEY OpenAI-compatible endpoint Ollama Cloud gpt-oss:120b OLLAMA_CLOUD_API_KEY Remote Ollama models via API Ollama Local gpt-oss:20b No key needed Local Ollama instance (127.0.0.1:11434) OpenAI Compatible Configurable OPENAI_COMPAT_API_KEY Any OpenAI-compatible server","s":"Supported Providers","u":"/docs/reference/provider-fallback","h":"#supported-providers","p":180},{"i":187,"t":"Run mercury doctor and enter API keys for the providers you want to use. You can also set environment variables directly or edit ~/.mercury/mercury.yaml. :::tip Environment variables Each provider has env vars for its API key, base URL, and model. For example, DeepSeek uses DEEPSEEK_API_KEY, DEEPSEEK_BASE_URL, and DEEPSEEK_MODEL. Ollama Local requires no API key — just set OLLAMA_LOCAL_ENABLED=true and OLLAMA_LOCAL_MODEL to your preferred local model. ::: :::warning More providers coming Google Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key. :::","s":"Configuring Providers","u":"/docs/reference/provider-fallback","h":"#configuring-providers","p":180},{"i":189,"t":"Mercury can schedule tasks using cron expressions or one-shot delays.","s":"Scheduling","u":"/docs/reference/scheduling","h":"","p":188},{"i":191,"t":"Tell Mercury in conversation: \"Remind me every day at 9am to check the server\" \"Schedule a weekly summary every Monday at 10am\"","s":"Recurring tasks","u":"/docs/reference/scheduling","h":"#recurring-tasks","p":188},{"i":193,"t":"\"Remind me in 15 minutes to take a break\" \"Ping me in 2 hours about the deployment\" Tasks persist to ~/.mercury/schedules.yaml and restore on restart. Responses route back to the channel (CLI or Telegram) where the task was created.","s":"One-shot delays","u":"/docs/reference/scheduling","h":"#one-shot-delays","p":188},{"i":195,"t":"Mercury has a persistent, structured memory that grows with every conversation. When enabled, it automatically extracts, stores, and retrieves facts about you — your preferences, goals, projects, habits, and more.","s":"Second Brain","u":"/docs/reference/second-brain","h":"","p":194},{"i":197,"t":"Extraction — After each conversation, Mercury pulls 0–3 facts and stores them with type, confidence, importance, and durability scores. Retrieval — Before each message, the top 5 relevant memories (within a 900-char budget) are injected into context. Mercury references them naturally. Consolidation — Every 60 minutes, Mercury builds a profile summary, an active-state summary, and generates reflection memories from detected patterns. Pruning — Active-scope memories stale after 21 days. Inferred memories decay. Low-confidence durable memories are dismissed after 120 days. Memories reinforced 3+ times are promoted to durable.","s":"How it works","u":"/docs/reference/second-brain","h":"#how-it-works","p":194},{"i":199,"t":"Type Scope What it stores identity durable Who you are — name, role, background preference durable What you like and dislike goal active What you're working toward project active What you're building habit durable Behavioral patterns and routines decision active Decisions and choices you've made constraint durable Rules and constraints you follow relationship durable People and connections episode active Specific events and experiences reflection durable System-generated insights from patterns","s":"Memory Types","u":"/docs/reference/second-brain","h":"#memory-types","p":194},{"i":201,"t":"When Mercury detects opposing memories (e.g. \"prefers TypeScript\" vs \"prefers Python\"), the higher-confidence one wins. If equal, the newer one wins. Negation mismatches (\"likes X\" vs \"does not like X\") are detected and resolved automatically.","s":"Conflict Resolution","u":"/docs/reference/second-brain","h":"#conflict-resolution","p":194},{"i":203,"t":"direct — Explicitly stated by you (highest confidence) inferred — Pattern Mercury detected (decays over time) manual — Added via /memory command system — Auto-generated reflections from consolidation","s":"Evidence Kinds","u":"/docs/reference/second-brain","h":"#evidence-kinds","p":194},{"i":205,"t":"Use /memory in any channel: Action CLI Telegram Overview Arrow-key menu → Overview Inline button: 📋 Overview Recent memories Arrow-key menu → Recent Inline button: 🔍 Recent Search Arrow-key menu → Search Not available (ask Mercury to search) Pause learning Arrow-key menu → Pause Inline button: ⏸ Pause Resume learning Arrow-key menu → Resume Inline button: ▶ Resume Clear all Arrow-key menu → Clear (with confirmation) Inline button: 🗑 Clear → Yes","s":"Managing Memory","u":"/docs/reference/second-brain","h":"#managing-memory","p":194},{"i":207,"t":"Second Brain is enabled by default. To disable it: Environment variable: SECOND_BRAIN_ENABLED=false Config file: set memory.secondBrain.enabled: false in ~/.mercury/mercury.yaml When disabled, Mercury falls back to basic long-term fact search (JSONL, text-match only). No extraction, no consolidation, no SQLite. All data is stored locally in ~/.mercury/memory/second-brain/second-brain.db (SQLite). Nothing leaves your machine.","s":"Enable / Disable","u":"/docs/reference/second-brain","h":"#enable--disable","p":194},{"i":209,"t":"Skills are markdown-based extensions that live in ~/.mercury/skills/<name>/SKILL.md.","s":"Skills","u":"/docs/reference/skills","h":"","p":208},{"i":211,"t":"On first run, Mercury seeds a built-in web-search skill at: ~/.mercury/skills/web-search/SKILL.md If you already have your own web-search skill, Mercury does not overwrite it.","s":"Default skills","u":"/docs/reference/skills","h":"#default-skills","p":208},{"i":213,"t":"Tell Mercury in conversation: \"Install skill from https://example.com/my-skill.md\" Or paste the SKILL.md content directly","s":"Installing","u":"/docs/reference/skills","h":"#installing","p":208},{"i":215,"t":"\"Use the daily-digest skill\"","s":"Invoking","u":"/docs/reference/skills","h":"#invoking","p":208},{"i":217,"t":"\"Remind me daily at 9am to run the daily-digest skill\" Skills follow the Agent Skills specification. They get elevated permissions via allowed-tools and are loaded with progressive disclosure to save tokens.","s":"Scheduling a skill","u":"/docs/reference/skills","h":"#scheduling-a-skill","p":208},{"i":219,"t":"This section tracks Mercury release notes by version.","s":"Releases","u":"/docs/releases","h":"","p":218},{"i":221,"t":"v1.1.6","s":"Available release notes","u":"/docs/releases","h":"#available-release-notes","p":218},{"i":223,"t":"Release 1.1.6 focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.","s":"v1.1.6","u":"/docs/releases/1.1.6","h":"","p":222},{"i":225,"t":"New Ink-based interactive TUI with improved startup, status, and activity views. Workspace IDE mode with explorer, preview, git panel, coding chat, and keyboard navigation. Background task system for long-running shell and agent work (/bg ...) with live status. Sub-agent lifecycle integration with background tracking and coding delegation (/code agent <task>). Spotify UX revamp (Spotify Deck), shortcuts, volume up/down, and optional inline album art. New runtime model switching commands (/models, /models use <provider>). New platform diagnostics command (mercury doctor --platform). Default seeded web-search skill for fresh installs.","s":"Highlights","u":"/docs/releases/1.1.6","h":"#highlights","p":222},{"i":227,"t":"Added minimal/detailed activity views and updated controls. Improved streaming responsiveness and markdown rendering stability. Added coding shortcuts: Ctrl+P plan Ctrl+X execute Esc / Ctrl+Q exit workspace Improved startup permission picker behavior and one-step confirm flow. Added raw-mode watchdog to improve terminal input reliability across environments.","s":"CLI/TUI Improvements","u":"/docs/releases/1.1.6","h":"#clitui-improvements","p":222},{"i":229,"t":"Introduced /ws command family with open/refresh/stage/commit/undo/exit. Added dedicated coding workspace docs page and updated command references. Added automatic handoff of interrupted long tasks to background workers.","s":"Workspace + Coding","u":"/docs/releases/1.1.6","h":"#workspace--coding","p":222},{"i":231,"t":"Added BackgroundTaskManager integration into agent lifecycle. Added /bg current to move active work to background. Added /bg list, /bg <id>, /bg cancel <id>, /bg clear for operational control. Added supervisor lifecycle hooks so agent progress/completion is reflected in background board.","s":"Background Tasks + Sub-Agents","u":"/docs/releases/1.1.6","h":"#background-tasks--sub-agents","p":222},{"i":233,"t":"Added Spotify Deck-style panel and clearer action feedback. Added keyboard shortcuts in player mode (N, P, +, -, Z, Esc). Added separate volume up/down controls. Added safe-gated inline album art support (MERCURY_SPOTIFY_ART=1, iTerm local sessions).","s":"Spotify","u":"/docs/releases/1.1.6","h":"#spotify","p":222},{"i":235,"t":"Expanded Docusaurus docs for: coding workspace mode sub-agents + background tasks platform diagnostics Spotify player shortcuts and album art gating default web-search skill Docker status guidance (no first-party Docker assets shipped in repo)","s":"Docs","u":"/docs/releases/1.1.6","h":"#docs","p":222},{"i":237,"t":"This release includes broad UX/system changes across TUI, background execution, and docs. For provider/model management, use mercury doctor to configure and /models to switch session model.","s":"Notes","u":"/docs/releases/1.1.6","h":"#notes","p":222}],"index":{"version":"2.3.9","fields":["t"],"fieldVectors":[["t/2",[0,0.574,1,4.116,2,5.172,3,5.856,4,3.751,5,6.43,6,5.172,7,7.281,8,2.439,9,1.546,10,3.533,11,5.856]],["t/4",[0,0.609,4,2.715,5,4.655,6,3.205,9,1.392,12,2.412,13,2.294,14,5.481,15,2.007,16,2.718,17,2.294,18,2.926,19,3.205,20,2.097,21,5.27,22,3.629,23,5.004,24,2.19,25,1.806,26,3.629,27,3.205,28,3.947,29,5.27,30,5.27,31,1.691,32,2.926,33,6.206,34,3.205,35,3.629,36,1.544,37,3.629,38,3.629,39,2.718,40,3.629,41,2.19,42,3.331,43,3.629,44,3.629,45,2.19,46,1.13,47,3.205,48,0.835,49,2.551,50,2.014,51,1.639]],["t/6",[0,0.815,4,2.478,8,0.805,9,1.016,15,1.465,17,1.519,24,2.321,25,2.735,36,2.558,45,1.45,48,0.762,52,1.196,53,1.598,54,1.69,55,4.256,56,2.541,57,1.938,58,3.397,59,1.784,60,1.054,61,2.88,62,1.598,63,0.805,64,1.938,65,1.69,66,2.135,67,2.431,68,2.902,69,1.938,70,1.938,71,2.123,72,1.934,73,2.704,74,1.284,75,1.45,76,1.598,77,2.393,78,2.123,79,1.157,80,1.598,81,1.45,82,1.389,83,1.023,84,1.69,85,2.704,86,2.404,87,2.404,88,1.598,89,1.938,90,2.431,91,1.938,92,1.938,93,1.938,94,0.994,95,1.45,96,2.569,97,1.157,98,1.938,99,3.397,100,2.123,101,1.938,102,2.123]],["t/8",[0,0.629,9,1.016,48,0.871,50,2.135,56,1.355,74,2.055,76,3.654,77,2.735,80,2.557,81,2.321,82,2.223,83,1.637,84,3.864,90,2.431,91,3.102,92,3.102,103,3.847,104,3.102,105,2.881,106,3.847,107,3.317,108,3.102,109,1.738,110,2.135,111,3.102,112,3.398,113,3.398,114,3.398,115,3.051,116,3.847,117,2.704,118,2.881,119,2.832,120,3.102,121,2.273,122,2.897,123,3.398,124,2.881,125,2.431,126,2.321,127,1.321,128,2.321,129,2.704,130,3.102]],["t/10",[0,0.446,2,4.018,9,1.201,20,2.629,23,3.668,25,2.264,46,1.416,48,0.979,63,1.524,72,2.484,77,2.264,83,1.936,85,4.342,88,3.024,131,4.018,132,4.549,133,3.198,134,4.549,135,4.549,136,4.018,137,2.745,138,4.549,139,4.018,140,4.549,141,2.745,142,1.936,143,2.629,144,3.198,145,3.024,146,4.549,147,4.549,148,2.745,149,3.198,150,2.629,151,4.018]],["t/12",[0,0.2,4,0.589,8,1.129,9,0.731,15,1.283,17,1.291,28,0.856,31,0.952,36,1.831,45,0.689,46,0.356,48,0.614,50,0.634,51,0.923,52,0.569,56,0.976,59,1.851,63,0.684,66,0.634,72,0.821,74,1.091,76,3.318,77,1.016,79,1.333,83,1.434,90,0.722,93,0.921,94,0.845,107,0.689,109,0.516,110,0.634,115,2.15,118,0.856,119,1.052,121,3.121,122,1.251,124,0.856,126,2.033,127,1.33,129,0.803,148,2.818,149,0.803,150,1.601,152,1.232,153,0.569,154,0.447,155,0.856,156,2.948,157,1.143,158,1.143,159,1.143,160,1.143,161,0.61,162,0.689,163,1.436,164,1.232,165,0.76,166,1.009,167,1.291,168,0.856,169,1.232,170,2.575,171,2.298,172,2.248,173,0.921,174,2.575,175,0.856,176,2.177,177,1.943,178,1.805,179,1.671,180,1.947,181,1.143,182,1.804,183,2.233,184,2.177,185,1.143,186,1.647,187,1.804,188,1.291,189,1.143,190,0.856,191,1.091,192,2.369,193,1.53,194,0.722,195,1.009,196,0.722,197,1.143,198,1.009,199,0.66,200,1.804,201,0.856,202,1.143,203,0.921,204,1.232,205,0.722,206,0.803,207,0.634,208,1.143,209,1.358,210,0.516,211,1.291,212,1.143,213,1.143,214,0.66,215,1.671,216,1.143,217,1.143,218,1.143,219,1.143,220,2.131,221,0.61,222,0.983,223,0.589,224,0.722,225,0.589,226,2.818,227,0.634,228,0.722,229,1.009,230,0.803,231,0.921,232,1.009,233,1.436,234,1.009,235,0.689,236,0.66,237,1.291,238,0.921,239,1.009,240,1.009,241,0.66,242,1.143,243,0.856,244,1.009,245,1.181,246,0.856,247,0.722]],["t/14",[0,0.606,9,1.631,25,3.074,59,2.291,60,2.708,82,3.571,121,2.555,137,3.728,154,2.417,220,2.291,236,3.571,248,5.457]],["t/16",[0,0.676,25,2.67,53,3.567,56,2.426,59,1.99,67,3.391,75,4.157,249,4.326,250,5.365,251,5.365,252,3.101,253,3.112,254,4.739,255,4.326,256,4.739,257,3.771,258,4.018,259,2.582,260,4.018]],["t/18",[0,0.772,9,1.526,41,3.488,46,1.799,56,2.544,61,4.328,64,4.66,65,4.063,101,4.66,137,3.488,256,5.105,261,5.105,262,4.66,263,4.328]],["t/20",[0,0.691,4,2.867,9,1.862,15,2.119,25,2.769,36,2.368,51,2.514,53,3.699,55,3.517,56,1.96,59,2.064,75,3.358,96,2.973,264,5.565,265,2.769,266,3.912,267,3.358,268,4.167]],["t/22",[0,0.614,24,3.78,28,4.691,59,2.323,67,3.959,75,3.78,245,3.621,253,2.83,269,6.265,270,6.265,271,4.164]],["t/24",[0,0.574,9,1.546,24,3.533,25,2.914,46,1.823,51,2.645,56,2.062,66,4.041,154,2.291,260,4.385,265,2.914,272,4.385,273,5.856,274,4.721,275,5.172]],["t/26",[0,0.651,36,2.824,68,4.004,69,5.35,70,5.35,71,5.86,257,4.664]],["t/28",[0,0.57,9,1.536,12,2.771,25,2.074,32,4.69,36,1.774,48,0.661,59,1.546,63,1.396,66,2.314,68,2.515,72,1.676,75,3.51,95,2.515,97,2.006,150,2.409,238,3.361,241,2.409,253,2.628,258,3.122,259,2.006,260,3.122,268,3.122,276,4.169,277,5.097,278,3.122,279,3.122,280,3.361,281,3.361,282,4.169,283,4.169,284,4.169,285,3.361,286,3.682,287,3.682,288,3.361,289,3.122,290,3.122,291,4.169]],["t/30",[8,2.041,15,2.321,25,3.033,59,2.26,63,2.041,145,4.051,154,2.384,155,4.564,221,3.256,222,2.933,227,3.383,292,6.094,293,3.033]],["t/32",[15,2.353,56,2.176,176,2.879,184,3.507,226,5.096,233,5.289,294,5.457]],["t/34",[0,0.48,8,1.64,9,1.293,59,1.816,82,2.83,83,2.084,127,2.229,154,1.916,176,2.282,196,3.095,210,2.212,220,2.875,221,2.616,226,4.393,230,3.442,295,6.43,296,4.325,297,4.325,298,3.442,299,3.948,300,4.897,301,2.955,302,3.095]],["t/36",[0,0.629,4,2.289,9,1.173,10,1.291,13,1.353,24,1.291,25,1.065,45,2.681,48,0.339,55,3.245,56,1.808,65,1.504,66,1.188,68,2.681,72,0.861,96,1.143,97,2.139,98,1.726,130,2.823,161,1.143,169,2.681,176,0.997,178,3.323,179,1.291,190,3.327,214,2.568,220,1.299,236,1.237,257,2.461,265,2.211,271,2.328,277,3.609,278,3.327,279,1.603,280,1.726,281,1.726,290,1.603,303,1.89,304,1.89,305,2.374,306,3.092,307,3.925,308,2.823,309,3.925,310,1.89,311,2.14,312,3.583,313,3.092,314,2.14,315,2.14,316,1.89,317,1.89,318,1.89,319,2.14,320,2.681,321,4.535,322,2.14,323,1.89,324,1.89,325,1.89,326,1.603,327,1.89,328,1.89,329,1.726,330,2.14,331,2.14,332,4.535,333,2.14,334,1.89,335,4.14,336,2.14,337,2.14,338,2.14,339,1.89,340,3.925,341,1.89,342,1.726]],["t/38",[190,5.043,307,6.998,309,6.998,316,5.948]],["t/40",[0,0.796,24,3.728,56,2.176,72,2.484,178,3.782,321,7.167]],["t/42",[9,1.567,65,4.171,176,2.765,332,7.039,335,6.426,339,5.24,340,7.039,341,5.24,342,4.784]],["t/44",[0,0.726,9,1.154,16,3.274,31,2.037,56,1.54,60,1.916,61,4.502,62,2.906,63,1.464,66,2.427,83,1.861,156,2.104,201,3.274,343,3.861,344,3.861,345,5.31,346,3.861,347,2.763,348,4.372,349,4.372,350,6.871,351,3.525,352,4.372,353,3.861,354,2.763,355,3.861,356,3.274,357,4.372,358,4.372,359,2.763,360,3.861,361,3.861,362,4.372,363,3.073,364,3.861]],["t/46",[0,0.52,1,3.727,4,2.731,10,2.208,13,2.312,51,1.653,55,3.94,56,1.867,66,2.943,73,2.572,85,3.727,96,1.955,97,1.761,98,4.274,141,2.208,178,2.471,179,2.208,220,1.357,224,2.312,236,2.115,259,1.761,265,1.821,271,2.432,277,4.383,278,2.74,279,2.74,303,3.231,304,4.682,306,3.231,308,5.027,310,3.231,312,2.95,317,3.231,318,3.231,320,2.208,323,3.231,324,3.231,325,3.231,326,2.74,327,3.231,328,3.231,334,3.231,335,2.95,365,3.659,366,3.231,367,3.659,368,1.821]],["t/48",[0,0.777,55,5.008,72,2.708,99,5.948]],["t/50",[0,0.653,8,1.261,9,0.618,31,1.755,42,1.48,46,0.729,47,2.068,48,1.056,50,1.3,51,1.058,54,1.646,56,1.326,60,1.651,73,1.646,74,2.012,77,1.165,78,2.068,80,1.556,81,2.272,82,1.353,83,0.996,84,1.646,88,1.556,90,2.38,91,1.888,92,1.888,108,1.888,109,1.058,110,3.518,111,1.888,112,3.326,113,2.068,114,2.068,115,3.005,117,2.647,121,1.954,122,1.058,125,2.38,126,2.272,127,1.293,128,1.413,152,1.413,156,1.127,161,2.012,168,1.753,177,1.058,194,1.48,205,2.38,225,1.94,241,1.353,243,1.753,244,2.068,245,1.353,246,1.753,320,1.413,361,3.326,368,1.874,369,2.068,370,1.888,371,1.753,372,1.753,373,2.38,374,1.753,375,1.888,376,3.036,377,2.068,378,2.068,379,3.036,380,2.068,381,1.3,382,2.068,383,1.556,384,1.646,385,2.82,386,1.888,387,1.888,388,1.556,389,2.341,390,1.888,391,2.341,392,2.341,393,2.341,394,1.888,395,2.341,396,1.353,397,2.068,398,1.753,399,1.888]],["t/52",[0,0.777,4,3.652,9,1.872,25,3.117,31,2.164,36,1.976,39,3.477,48,0.736,53,4.712,54,3.264,55,3.959,56,2.206,57,3.744,75,2.802,96,2.481,265,2.311,266,3.264,267,2.802,268,3.477,274,3.744,359,2.935,400,4.643,401,4.101]],["t/54",[0,0.67,12,3.524,25,2.638,56,2.408,59,1.966,60,2.324,68,3.199,75,3.199,97,2.552,121,2.193,253,2.395,257,3.727,258,3.97,260,3.97,277,3.727,278,3.97,280,4.275,281,4.275,402,4.683,403,5.302,404,4.275,405,4.275]],["t/56",[0,0.75,9,1.677,24,3.833,56,2.237,59,1.759,61,3.551,62,3.152,63,2.128,64,3.823,65,3.333,80,3.152,127,1.628,137,2.861,145,3.152,148,2.861,150,2.74,156,2.282,204,2.861,215,2.861,223,2.443,225,2.443,261,4.188,404,3.823,406,4.188,407,3.823,408,4.742,409,3.823]],["t/58",[0,0.614,15,2.386,41,3.78,56,2.673,68,3.78,100,6.702,101,5.051,102,5.533,410,4.691]],["t/60",[0,0.623,12,4.223,63,2.128,127,2.182,156,3.058,184,2.961,223,3.273,347,4.015,411,5.611,412,5.611]],["t/62",[0,0.546,63,1.864,81,3.358,95,3.358,127,2.658,149,3.912,164,3.358,209,3.699,210,2.514,223,3.988,329,4.487,347,3.517,373,3.517,401,4.915,413,4.167,414,3.517]],["t/64",[31,2.471,46,1.65,48,1.199,63,2.29,119,2.732,127,2.745,153,2.638,293,2.638,363,4.806,415,4.683,416,3.064,417,3.351,418,5.302,419,5.302,420,4.683,421,4.683,422,3.97]],["t/66",[48,1.316,63,2.308,150,3.101,167,3.391,223,2.764,225,2.764,293,2.67,417,3.391,423,4.739,424,4.739,425,4.018,426,4.739,427,5.365,428,4.739,429,6.889,430,5.365,431,4.018]],["t/68",[15,1.633,42,2.71,48,0.68,51,1.937,52,2.134,63,1.987,72,1.724,95,2.588,119,3.504,149,5.602,150,3.429,164,3.58,167,2.71,199,2.478,223,3.057,224,2.71,225,2.209,253,3.316,431,3.211,432,4.442,433,3.787,434,5.484,435,4.288,436,3.58,437,4.288,438,4.288]],["t/70",[8,2.169,9,1.469,48,1.227,59,2.615,63,1.311,83,1.666,127,1.911,145,2.602,148,2.362,154,2.533,176,1.824,184,2.593,210,1.768,220,2.401,221,2.973,222,2.678,223,2.017,226,4.255,227,2.173,230,2.751,231,3.156,232,3.457,233,3.912,294,3.457,301,2.362,302,2.474,384,2.751,439,3.914,440,3.914,441,3.457,442,3.914]],["t/72",[0,0.542,10,3.337,13,2.452,48,1.021,77,1.931,94,2.665,121,1.605,122,1.753,137,2.341,153,2.752,169,3.337,171,2.073,207,3.07,214,2.243,228,2.452,241,2.243,247,2.452,305,2.073,347,2.452,384,2.728,388,3.676,436,2.341,443,3.88,444,3.724,445,3.88,446,2.728,447,2.728,448,3.129,449,2.579,450,3.88,451,2.906,452,2.579,453,3.129,454,3.88,455,4.459,456,2.728,457,2.579,458,3.427,459,3.427,460,3.88,461,3.88,462,3.88]],["t/74",[0,0.632,17,2.452,20,2.243,48,1.177,93,3.129,94,1.605,109,1.753,119,1.999,127,1.333,164,3.337,169,2.341,171,2.073,177,1.753,247,2.452,253,1.753,277,2.728,305,2.073,308,3.129,384,2.728,434,3.129,436,3.888,444,2.243,446,2.728,447,3.887,448,5.195,449,3.676,451,2.906,452,2.579,456,2.728,457,2.579,463,3.129,464,3.129,465,3.427,466,3.88,467,2.906,468,2.728,469,3.427,470,3.427,471,3.129,472,3.427,473,3.88,474,2.579]],["t/76",[0,0.757,9,1.702,77,3.841,104,5.196,105,4.826,444,3.725,475,6.445]],["t/78",[46,1.978,109,2.87,436,3.834,444,3.672,476,6.353,477,6.353,478,6.353,479,4.466,480,5.611,481,6.353]],["t/80",[0,0.641,12,3.291,48,0.785,60,2.17,79,2.383,207,2.748,247,3.129,259,2.383,265,2.464,354,3.129,370,3.992,371,3.707,436,2.987,444,2.861,451,4.896,452,4.346,456,3.48,457,3.291,463,3.992,464,3.992,482,4.951,483,4.373,484,4.373,485,4.373,486,4.373,487,4.951,488,4.951]],["t/82",[0,0.535,8,1.501,17,1.846,48,1.045,54,2.053,79,2.157,109,2.024,122,2.979,161,2.394,171,1.56,177,2.024,204,2.704,224,2.832,243,2.187,252,3.151,265,1.453,267,1.762,298,2.053,305,1.56,347,3.864,373,1.846,381,1.621,382,3.957,394,3.613,396,1.688,405,3.613,416,1.688,444,1.688,446,2.053,449,1.941,468,3.832,486,2.579,489,2.579,490,3.15,491,2.187,492,2.579,493,2.355,494,2.579,495,2.053,496,2.92,497,2.92,498,3.613,499,2.92,500,2.92,501,3.613,502,3.15,503,3.613,504,4.481,505,2.187,506,3.613,507,2.579,508,2.053,509,3.957,510,3.957,511,2.92,512,2.92,513,1.941]],["t/84",[0,0.451,8,2.084,10,2.773,41,2.773,48,0.728,60,2.014,79,2.994,80,3.055,81,3.753,82,2.656,83,1.956,84,3.231,94,1.901,105,3.441,161,2.455,259,2.212,305,2.455,347,2.905,368,2.287,387,5.015,444,2.656,449,3.055,455,3.705,467,3.441,498,3.705,506,5.015,514,4.596,515,4.596,516,4.596,517,4.596,518,4.059,519,3.231]],["t/86",[48,0.655,50,2.293,94,1.708,109,1.866,117,2.903,119,2.128,164,2.492,171,2.207,176,1.925,177,1.866,248,3.648,305,3.088,347,2.61,444,2.387,446,2.903,447,4.063,448,3.33,449,3.842,469,3.648,470,3.648,472,3.648,474,2.746,520,4.13,521,5.78,522,5.78,523,4.13,524,5.78,525,2.903,526,4.13,527,4.13,528,4.13,529,4.13,530,5.78,531,5.78,532,4.13,533,3.648,534,4.13,535,4.13,536,4.13,537,4.13]],["t/88",[0,0.66,46,1.612,48,0.821,127,1.779,247,3.274,259,2.493,267,3.125,436,4.063,451,3.878,452,3.443,456,3.641,457,3.443,463,4.176,464,4.176,483,4.575,484,4.575,494,4.575,501,4.176,538,4.575,539,5.18,540,4.575,541,4.575,542,5.18,543,5.18]],["t/90",[48,1.029,55,3.095,109,2.212,120,3.948,122,2.212,207,2.718,253,2.212,263,3.667,267,2.955,298,3.442,351,3.948,360,4.325,396,2.83,436,2.955,444,3.751,456,3.442,490,3.442,491,3.667,495,3.442,498,5.233,544,3.095,545,4.325,546,3.667,547,6.491,548,4.897,549,4.897,550,4.897]],["t/92",[0,0.611,1,2.572,16,2.74,48,0.988,109,1.653,130,2.95,142,3.088,153,1.821,154,1.431,169,2.208,209,2.432,228,2.312,241,2.115,416,3.064,453,2.95,468,2.572,551,2.312,552,3.351,553,3.659,554,4.274,555,2.943,556,4.274,557,3.97,558,3.659,559,2.208,560,2.74,561,3.659,562,3.231,563,3.762,564,3.231,565,2.95,566,4.682,567,2.95,568,2.74,569,2.031,570,2.572,571,3.231,572,2.572,573,2.95,574,2.312,575,2.74,576,2.95,577,2.572,578,3.659,579,3.659]],["t/95",[0,0.475,8,1.084,39,2.423,46,1.007,48,1.021,52,1.61,53,2.151,60,1.418,63,1.622,68,1.953,79,2.331,104,2.609,142,2.936,161,1.729,169,1.953,171,1.729,177,1.462,178,2.705,184,1.508,255,2.609,265,2.41,305,1.729,370,2.609,374,2.423,394,2.609,405,3.905,410,2.423,485,2.858,507,2.858,509,4.278,519,2.275,551,2.045,552,2.045,562,5.691,580,3.236,581,3.236,582,2.275,583,3.236,584,3.236,585,2.609,586,3.236,587,2.275,588,4.844,589,2.858,590,3.905,591,2.609,592,5.804,593,4.844,594,3.236,595,3.236,596,2.858,597,3.236,598,3.236,599,3.236,600,3.236]],["t/97",[0,0.647,9,1.507,31,1.89,41,2.447,48,1.046,77,2.84,80,2.696,81,3.443,82,2.344,83,1.726,84,2.851,90,4.172,105,3.037,125,3.606,142,3.213,184,2.659,368,2.018,373,2.563,409,3.27,519,2.851,551,2.563,552,2.563,590,5.776,591,4.601,601,3.27,602,4.011,603,5.706,604,2.696,605,4.056]],["t/99",[0,0.697,9,1.488,36,1.695,46,1.24,54,2.8,56,1.403,97,1.917,121,1.647,125,4.132,127,2.441,142,2.782,164,3.945,214,2.302,255,3.212,366,4.976,373,2.518,381,2.211,390,3.212,452,3.745,501,3.212,546,2.983,551,2.518,559,2.404,560,4.895,604,4.346,606,5.634,607,4.543,608,2.983,609,3.984,610,3.518,611,3.984]],["t/101",[15,1.428,36,2.297,45,2.263,52,1.866,56,1.321,62,2.493,72,1.508,79,1.805,83,1.596,110,2.082,122,1.694,125,2.37,127,2.375,128,2.263,142,3.541,156,1.805,161,2.004,165,2.493,176,1.748,184,1.748,188,2.37,210,2.438,235,2.263,388,2.493,416,2.168,417,2.37,452,2.493,551,2.37,552,2.37,559,4.421,560,2.808,563,2.263,570,2.636,587,2.636,604,3.588,612,3.75,613,3.312,614,3.75,615,3.794]],["t/103",[0,0.67,46,2.128,94,2.828,556,5.513,616,6.039]],["t/105",[36,2.131,83,2.131,94,2.07,142,2.131,176,2.333,388,3.328,555,2.779,557,4.932,559,3.021,563,3.021,568,3.749,569,4.085,587,3.519,617,5.006,618,4.421,619,3.328,620,4.421,621,4.421,622,5.006,623,4.421,624,5.006,625,5.006,626,4.036,627,5.006,628,5.006,629,5.006]],["t/107",[63,1.524,70,3.668,79,2.973,94,1.881,193,3.406,195,4.018,410,3.406,414,2.875,554,4.981,557,3.406,559,2.745,563,2.745,569,4.367,572,3.198,573,4.981,574,2.875,575,3.406,576,3.668,577,3.198,619,3.024,630,4.549,631,4.018,632,4.018,633,3.198,634,4.549,635,3.668,636,4.549,637,4.549,638,4.549,639,4.549,640,4.018]],["t/109",[0,0.52,36,2.256,48,0.84,79,1.761,83,1.557,215,2.208,228,2.312,410,2.74,479,5.486,555,2.943,556,4.274,557,3.97,559,2.208,563,4.379,564,4.682,568,2.74,569,3.795,572,2.572,573,2.95,574,2.312,575,2.74,577,2.572,585,2.95,616,3.231,618,3.231,620,3.231,621,3.231,623,3.231,631,3.231,632,3.231,640,3.231,641,3.659,642,3.659,643,3.659,644,2.95,645,3.231,646,3.659,647,3.659,648,3.659,649,3.659,650,3.231,651,3.659]],["t/111",[15,1.768,36,1.976,48,1.363,62,3.087,110,2.577,137,2.802,142,1.976,150,2.684,165,3.087,175,3.477,215,2.802,241,2.684,368,2.311,555,2.577,569,2.577,574,2.935,575,3.477,576,3.744,577,3.264,615,4.403,633,3.264,635,3.744,650,4.101,652,4.643,653,4.643,654,3.744,655,4.101]],["t/113",[48,1.355,142,2.179,150,2.959,156,2.464,203,4.128,285,4.128,355,4.522,425,3.834,432,3.834,563,3.09,569,3.71,570,3.599,574,3.236,615,4.698,633,3.599,635,4.128,656,4.522,657,4.128,658,4.522]],["t/115",[0,0.514,60,2.297,83,2.23,137,3.162,143,3.029,144,3.683,145,3.483,148,3.162,167,3.312,194,4.288,211,3.312,215,3.162,259,2.522,320,3.162,381,2.909,619,3.483,659,5.24,660,5.24,661,4.628,662,4.628,663,4.628,664,4.628,665,4.225,666,5.24]],["t/117",[0,0.717,20,2.455,31,1.98,48,0.934,49,2.986,60,1.862,79,2.044,142,3.111,164,2.563,184,2.747,210,1.919,211,2.685,354,2.685,359,2.685,381,2.358,388,2.824,490,2.986,559,5.154,563,4.084,667,4.248,668,4.248,669,4.248,670,4.248,671,3.752,672,3.425,673,3.752]],["t/119",[0,0.42,9,1.132,46,1.335,48,1.078,49,3.014,50,2.38,97,2.064,118,3.211,122,3.6,142,2.525,161,2.291,177,2.68,178,1.998,184,1.998,241,2.478,259,2.064,301,2.588,396,2.478,417,2.71,432,5.496,503,4.783,544,2.71,552,2.71,604,2.851,674,3.787,675,4.17,676,4.288,677,4.288,678,3.787,679,4.288]],["t/121",[9,1.654,122,2.83,142,3.23,182,5.533,188,3.959,241,3.621,552,3.959,604,4.164,613,5.533,680,6.265]],["t/123",[0,0.455,46,1.445,48,0.993,109,2.83,120,5.05,122,2.098,142,1.976,177,2.098,184,2.164,245,2.684,253,2.098,298,3.264,351,3.744,381,2.577,396,3.62,432,3.477,474,3.087,489,4.101,490,4.403,492,4.101,493,3.744,495,3.264,544,2.935,545,4.101,546,3.477,590,5.715,591,3.744,681,5.532]],["t/125",[0,0.342,1,2.452,9,1.352,34,4.522,36,1.484,45,2.105,46,1.086,48,0.553,109,2.313,117,2.452,118,2.612,122,2.313,125,2.204,127,1.758,128,2.105,142,3.029,154,1.365,161,1.864,164,3.089,210,1.576,265,1.736,272,2.612,301,2.105,373,2.204,416,2.016,449,2.319,468,2.452,503,2.812,552,3.834,554,4.128,559,2.105,560,2.612,563,2.105,566,5.358,567,2.812,571,4.522,604,4.032,645,3.081,675,2.452,681,4.522,682,3.488,683,3.488,684,3.488,685,3.488,686,3.081,687,3.488,688,3.081,689,3.081,690,3.488]],["t/127",[0,0.681,8,2.325,16,4.066,48,0.861,63,1.819,119,2.798,153,2.702,154,2.124,220,2.014,222,2.614,249,4.378,267,3.277,274,4.378,302,3.432,691,5.43,692,4.796,693,3.817,694,4.796,695,4.378,696,5.43]],["t/129",[0,0.557,8,2.276,9,0.825,27,2.759,32,2.519,48,1.132,51,2.131,59,1.159,82,1.805,97,1.503,127,1.073,131,2.759,141,1.885,154,1.222,198,2.759,205,1.974,220,2.107,221,2.52,222,2.27,225,1.609,252,2.726,253,1.411,271,3.135,293,1.554,368,1.554,372,2.339,383,2.076,413,2.339,414,2.981,447,2.196,525,2.196,602,2.196,633,2.196,644,2.519,678,2.759,693,2.196,694,2.759,695,3.803,697,3.124,698,3.124,699,2.759,700,3.124,701,3.124,702,3.803,703,2.759,704,3.124,705,3.124,706,2.519,707,3.124,708,2.076,709,2.519,710,3.803,711,3.124,712,3.124,713,3.124,714,3.124,715,3.124,716,2.759,717,3.124,718,3.124,719,3.124]],["t/131",[0,0.418,8,2.733,13,1.733,20,1.585,46,1.631,48,1.015,63,0.918,72,1.103,109,2.671,154,2.313,155,3.196,178,2.442,210,1.928,220,1.017,221,2.28,225,2.199,235,2.575,252,3.028,262,2.211,302,2.697,422,2.053,447,1.927,467,2.053,474,3.483,565,4.224,570,3,582,3.683,644,2.211,693,1.927,708,1.823,720,3.923,721,5.222,722,2.211,723,4.428,724,4.767,725,2.742,726,2.742,727,2.742,728,2.211,729,3.196,730,2.053,731,2.211,732,2.742,733,2.742,734,2.422,735,2.422,736,2.422,737,2.742]],["t/133",[8,2.71,9,1.245,15,1.796,17,1.974,24,2.846,48,0.747,52,1.554,59,2.107,67,1.974,72,1.256,83,2.007,95,1.885,127,1.951,142,1.329,154,1.222,174,2.076,176,2.648,188,3.591,220,2.832,221,1.669,222,3.439,226,3.428,227,1.734,228,1.974,229,2.759,230,2.196,231,2.519,235,1.885,299,2.519,510,4.165,577,3.315,710,2.519,738,5.591,739,3.124,740,2.339,741,3.124,742,3.124,743,2.339,744,3.124,745,3.124,746,3.124]],["t/135",[0,0.499,8,2.691,9,1.344,20,2,36,1.473,41,2.088,46,1.585,48,0.549,52,2.533,63,1.159,72,1.392,94,2.105,154,1.992,168,2.592,169,2.088,184,1.613,196,2.187,210,2.3,220,1.888,222,3.205,225,1.783,235,2.088,249,2.791,267,2.088,293,1.722,302,2.187,414,2.187,479,2.433,505,2.592,519,2.433,570,2.433,693,2.433,708,2.301,709,2.791,722,2.791,723,2.592,736,3.057,738,3.057,747,5.091,748,3.461,749,3.461,750,3.057,751,3.057,752,2.592,753,3.057,754,3.057,755,3.461,756,3.461,757,3.461]],["t/137",[8,2.158,9,0.733,46,2.006,48,1.332,58,3.805,94,1.148,96,1.483,97,1.336,121,1.148,153,2.144,156,1.336,162,1.675,172,1.336,177,1.254,178,2.008,199,1.604,204,1.675,214,1.604,215,1.675,222,2.541,235,2.6,252,1.604,253,1.946,271,1.845,285,2.238,288,2.238,302,1.754,383,1.845,414,3.337,513,1.845,602,1.951,689,2.452,692,2.452,706,3.474,710,3.474,723,4.825,724,5.195,728,2.238,729,2.079,730,2.079,731,2.238,743,3.226,758,2.776,759,2.238,760,2.776,761,2.452,762,2.776,763,2.238,764,2.452,765,2.776,766,2.776,767,2.452,768,2.776,769,2.776,770,2.238,771,2.776,772,2.776]],["t/139",[0,0.606,8,1.524,46,1.416,127,1.562,153,2.264,205,2.875,220,2.791,221,3.301,228,2.875,271,3.024,368,2.264,413,3.406,414,2.875,502,3.198,587,3.198,699,4.018,706,3.668,708,3.024,709,3.668,728,3.668,743,3.406,750,4.018,751,4.018,759,3.668,761,4.018,767,4.018,773,4.549,774,4.549,775,4.018,776,4.549,777,4.549,778,4.018,779,4.549]],["t/141",[0,0.288,8,2.626,9,0.776,17,1.858,41,1.774,46,1.91,48,1.242,51,1.328,56,1.035,59,1.09,67,1.858,72,1.182,82,1.699,109,1.328,127,1.009,154,1.15,162,1.774,170,1.954,176,1.37,199,2.603,215,2.717,220,1.67,221,1.571,222,2.167,225,1.514,226,1.774,227,1.632,235,3.303,245,1.699,247,2.846,252,1.699,297,2.596,298,2.066,422,2.201,474,1.954,519,2.066,565,2.37,569,1.632,582,2.066,720,2.201,721,3.977,723,4.594,724,4.947,729,3.372,730,2.201,735,2.596,752,2.201,753,2.596,763,2.37,764,2.596,770,2.37,780,2.596,781,2.596,782,2.596,783,2.939,784,2.939]],["t/143",[8,2.29,45,4.125,48,0.946,52,2.155,63,1.45,79,2.084,97,3.721,133,3.043,141,2.613,178,2.018,200,3.824,207,2.403,222,2.874,320,2.613,372,3.242,416,2.502,502,3.043,544,2.736,695,3.491,708,2.878,716,3.824,785,4.33,786,3.824,787,4.33,788,4.33,789,3.824,790,4.472,791,4.33,792,3.824,793,4.33,794,4.33,795,4.33]],["t/145",[8,1.493,10,2.69,15,1.698,19,3.938,36,1.898,48,0.966,63,2.499,72,1.793,83,1.898,126,2.69,127,2.835,153,2.219,193,3.339,220,1.654,222,2.146,252,2.577,293,3.032,363,3.134,415,3.938,417,3.851,420,3.938,422,3.339,453,3.595,457,2.964,602,4.283,752,3.339,796,4.459]],["t/147",[0,0.691,8,1.539,48,0.728,94,1.901,110,2.551,121,1.901,127,2.136,143,2.656,152,2.773,154,1.798,156,2.212,163,3.231,165,3.055,210,2.076,220,1.705,221,2.455,222,2.212,267,2.773,293,2.287,384,3.231,417,4.457,693,3.231,752,3.441,797,6.22,798,4.596,799,4.596,800,4.596,801,4.059,802,4.059,803,4.059,804,3.441]],["t/149",[0,0.574,31,2.729,74,3.129,121,2.422,122,2.645,143,3.384,172,2.818,192,4.116,214,3.384,253,2.645,385,4.385,404,4.721,551,3.701,805,5.856,806,4.721,807,4.116]],["t/151",[0,0.48,31,2.282,46,1.022,48,0.776,50,1.823,51,2.212,56,2.062,57,2.648,81,1.981,90,3.095,115,1.823,126,3.533,127,1.682,128,1.981,152,1.981,154,1.285,156,1.58,162,1.981,170,2.183,171,2.616,172,2.357,177,2.645,178,2.729,179,4.393,180,2.308,183,3.948,199,1.898,225,2.523,235,2.955,241,1.898,243,3.667,245,3.384,305,2.616,329,2.648,368,1.634,399,3.948,402,2.9,495,2.308,518,2.9,808,2.9,809,2.9,810,3.284,811,3.284,812,2.9,813,3.284,814,2.459,815,3.284]],["t/153",[31,2.307,41,2.987,52,2.464,56,1.744,72,1.991,126,2.987,170,4.346,171,3.493,172,3.523,173,3.992,174,3.291,177,2.953,178,3.047,179,3.945,180,3.48,196,3.129,199,2.861,245,2.861,246,3.707,491,3.707,601,3.992,816,4.951,817,4.951]],["t/155",[0,0.756,15,1.339,28,3.856,31,1.638,36,1.496,51,1.588,52,1.749,56,1.238,121,3.269,126,2.121,127,1.207,170,4.459,171,3.256,172,3.229,174,2.337,176,1.638,177,2.326,178,1.638,179,4.502,180,5.02,183,4.152,184,1.638,186,4.152,187,4.548,188,2.222,272,2.632,661,3.105,818,3.515,819,6.709]],["t/157",[0,0.553,15,2.146,20,3.257,50,3.128,52,2.804,56,1.985,72,2.266,121,2.33,126,3.4,171,3.011,172,2.712,174,3.746,177,3.211,178,3.312,179,3.4,240,4.977,820,4.977]],["t/159",[15,2.331,48,0.821,52,1.763,88,2.355,97,1.705,107,2.138,109,1.601,111,2.857,115,1.967,121,1.465,141,2.138,143,2.048,163,3.641,172,2.493,177,2.34,178,2.414,179,2.138,180,2.491,192,3.641,193,2.653,194,2.239,196,2.239,206,2.491,227,1.967,253,1.601,259,1.705,275,3.129,368,1.763,385,3.878,387,2.857,455,2.857,491,2.653,513,2.355,567,2.857,654,2.857,671,3.129,722,2.857,734,3.129,804,2.653,806,2.857,807,2.491,808,3.129,814,2.653,821,2.857,822,3.543,823,3.543,824,3.543,825,3.543,826,4.574,827,2.857,828,3.543,829,3.543,830,3.129,831,3.543,832,3.543,833,3.543]],["t/161",[0,0.593,48,0.7,52,2.197,53,2.935,60,1.935,77,3.012,79,2.125,107,2.664,121,2.856,122,3.12,123,3.899,124,3.306,152,3.652,162,2.664,192,3.103,194,2.79,265,2.197,290,3.306,320,2.664,368,2.197,369,3.899,385,5.172,654,3.56,786,3.899,790,3.306,792,3.899,812,3.899,834,6.053,835,4.415,836,4.415,837,4.415]],["t/163",[0,0.606,8,2.069,13,3.905,15,2.353,46,1.923,48,0.979,152,3.728,153,3.074,156,2.974,458,5.457,479,4.343,708,4.107]],["t/165",[42,3.539,50,2.192,63,1.323,94,1.633,95,4.922,108,3.184,121,1.633,171,2.11,176,1.84,177,1.784,178,1.84,194,2.496,245,2.282,252,2.282,253,3.507,305,2.992,342,3.184,399,3.184,468,2.776,508,4.976,555,2.192,608,2.957,729,2.957,730,2.957,731,3.184,763,3.184,806,3.184,838,3.949,839,3.949,840,3.949,841,3.949,842,3.949,843,3.949,844,3.949,845,3.949,846,3.949]],["t/167",[94,2.665,121,2.665,172,3.102,199,3.725,245,3.725,508,4.53,608,4.826,830,5.692,847,6.445]],["t/169",[15,3.072,42,3.432,94,2.246,95,3.277,107,3.277,119,2.798,154,2.124,172,2.614,227,3.014,293,2.702,359,3.432,479,3.817,502,3.817,608,4.066,782,4.796,848,5.43,849,5.43,850,4.796,851,5.43]],["t/171",[36,2.283,72,2.157,94,2.219,119,2.764,154,2.099,172,2.582,253,3.112,265,2.67,305,2.867,386,4.326,433,4.739,434,4.326,436,4.157,465,4.739,538,4.739,541,4.739,852,5.365,853,5.365,854,5.365,855,5.365,856,5.365]],["t/173",[4,2.921,20,2.323,51,1.816,76,2.672,94,1.662,96,2.147,117,2.825,122,1.816,148,2.425,161,2.147,176,1.873,191,4.172,201,3.01,220,2.437,233,2.825,236,4.513,326,3.01,421,3.55,508,3.986,607,4.572,781,3.55,826,3.55,857,4.019,858,4.019,859,3.01,860,4.019,861,4.019,862,4.019,863,4.019,864,4.019,865,4.019,866,3.55,867,3.55,868,4.019,869,4.019,870,4.019]],["t/175",[0,0.387,4,2.034,8,1.323,25,1.965,42,2.496,48,0.626,59,1.464,63,1.323,67,2.496,68,2.383,73,2.776,74,2.11,75,2.383,76,2.625,95,2.383,122,1.784,129,2.776,139,3.487,162,2.383,172,1.9,191,2.11,201,2.957,220,1.464,236,2.282,237,2.496,254,3.487,257,2.776,301,2.383,356,2.957,398,2.957,544,2.496,569,2.192,596,3.487,626,4.515,674,3.487,675,2.776,743,2.957,871,3.487,872,3.949,873,3.949,874,3.949,875,3.949,876,3.949,877,3.949,878,3.487,879,3.487,880,3.949,881,3.487,882,3.949,883,3.949,884,3.949,885,3.487]],["t/177",[0,0.377,9,1.016,10,2.321,15,2.818,48,1.109,72,1.547,94,2.273,96,2.055,97,1.851,107,2.321,152,2.321,170,2.557,172,3.367,191,2.937,204,2.321,205,3.474,206,2.704,227,2.135,259,1.851,293,2.735,312,3.102,371,2.881,431,2.881,490,2.704,572,2.704,686,3.398,702,3.102,814,2.881,821,3.102,850,3.398,878,3.398,886,3.847,887,3.847,888,3.847,889,3.847,890,3.398,891,3.847,892,3.847,893,3.847,894,3.398,895,3.398,896,3.847]],["t/179",[0,0.55,9,0.808,15,2.137,31,2.164,42,1.934,46,0.952,48,1.067,49,3.944,56,1.078,60,1.341,63,1.879,66,1.698,97,2.235,110,1.698,119,2.392,121,1.92,143,1.768,152,1.846,155,2.291,156,2.235,163,2.151,165,2.034,172,2.7,174,2.034,177,1.382,199,1.768,204,2.802,205,3.546,206,3.264,211,2.934,220,1.722,227,3.114,236,1.768,246,2.291,247,2.934,252,1.768,253,1.382,265,1.523,266,2.151,288,2.467,289,2.291,293,1.523,302,1.934,368,1.523,373,1.934,383,2.034,409,3.744,493,2.467,513,3.086,702,2.467,770,2.467,804,2.291,807,2.151,814,2.291,897,2.702,898,3.06]],["t/181",[0,0.691,51,2.514,69,4.487,74,4.136,167,3.517,207,3.089,259,2.678,372,4.167,390,4.487,413,4.167,610,4.915,633,3.912,665,4.487,673,4.915,688,6.228,899,5.565]],["t/183",[0,0.589,9,1.154,10,2.638,36,1.861,46,1.871,48,1.089,60,1.916,66,2.427,67,2.763,74,3.671,77,2.992,83,1.861,90,2.763,115,4.307,119,2.252,128,2.638,207,2.427,209,4.568,210,3.104,211,3.8,313,3.861,356,3.274,359,2.763,803,3.861,900,3.861,901,4.372]],["t/185",[60,2.206,74,2.689,88,3.979,109,2.274,110,2.794,115,2.794,151,3.01,207,2.794,214,1.97,225,1.756,265,1.696,375,4.059,376,5.329,377,3.01,378,4.446,379,5.329,380,3.01,381,2.794,386,2.748,474,2.266,789,4.446,820,3.01,902,3.01,903,3.408,904,3.408,905,7.051,906,5.985,907,5.034,908,3.408,909,3.408,910,5.034,911,5.034,912,3.408,913,3.408,914,3.408,915,3.408,916,3.408,917,3.408,918,3.408,919,3.408,920,3.408,921,3.408,922,3.408,923,3.01]],["t/187",[0,0.334,1,2.396,9,0.9,39,2.552,46,1.567,48,0.949,74,3.943,77,1.696,79,2.881,81,2.057,88,2.266,109,2.986,110,3.669,115,2.794,133,3.538,136,3.01,207,1.892,262,2.748,263,2.552,354,2.154,371,2.552,374,2.552,375,2.748,376,2.748,379,2.748,381,2.794,383,2.266,457,2.266,480,3.01,495,2.396,525,3.538,540,3.01,544,2.154,607,4.059,780,3.01,790,3.769,809,3.01,821,2.748,902,3.01,924,3.408,925,3.408,926,3.408,927,3.408,928,3.408,929,3.408,930,3.408,931,3.408,932,3.408,933,3.408]],["t/189",[0,0.632,46,2.006,51,2.911,220,2.39,236,3.725,326,4.826,866,5.692,867,5.692,934,6.445]],["t/191",[0,0.598,20,3.522,153,3.033,236,3.522,471,4.914,672,4.914,923,5.383,935,4.914,936,5.383,937,5.383,938,6.094,939,6.094,940,6.094]],["t/193",[66,3.014,121,2.246,156,2.614,162,3.277,167,3.432,196,3.432,220,2.575,305,2.901,353,4.796,359,3.432,703,4.796,881,4.796,935,4.378,941,5.43,942,4.796,943,5.43,944,5.43,945,5.43,946,5.43,947,5.43,948,5.43]],["t/195",[0,0.56,48,0.904,153,2.84,237,3.607,259,2.747,320,3.443,354,3.607,359,3.607,374,4.273,396,3.298,398,4.273,754,5.04,949,5.707,950,4.601,951,5.04,952,4.601,953,5.04,954,5.04]],["t/197",[0,0.584,48,1.044,49,2.378,76,2.249,107,2.041,141,2.041,153,1.683,186,2.727,199,1.955,210,2.261,224,2.138,228,2.138,234,2.988,237,4.651,258,2.533,286,2.988,287,2.988,368,1.683,383,3.327,396,1.955,414,2.138,446,2.378,467,2.533,471,4.036,513,2.249,568,2.533,720,2.533,936,4.421,942,2.988,950,2.727,951,2.988,952,2.727,955,3.383,956,4.036,957,3.383,958,5.263,959,3.383,960,3.383,961,3.383,962,3.383,963,3.383,964,2.988,965,2.727,966,3.383,967,2.988,968,2.533,969,2.727,970,3.383,971,2.988,972,2.988,973,3.383,974,3.383,975,3.383,976,3.383,977,3.383]],["t/199",[48,0.631,59,1.477,96,2.128,107,2.404,154,1.558,161,2.128,173,3.212,210,3.211,224,2.518,354,2.518,363,2.8,396,2.302,398,2.983,505,2.983,513,2.648,551,2.518,720,2.983,801,3.518,802,4.976,879,3.518,885,3.518,953,3.518,954,3.518,958,6.876,968,2.983,969,4.543,978,3.984,979,3.984,980,5.634,981,3.984,982,3.984,983,3.984,984,3.984,985,5.634,986,3.518,987,3.984,988,3.984,989,3.984,990,3.984,991,3.984]],["t/201",[0,0.502,51,3.019,141,4.033,237,3.236,259,2.464,354,4.224,502,3.599,759,5.389,956,4.128,992,5.12,993,5.12,994,6.684,995,5.12,996,5.12,997,6.684,998,5.12,999,5.12,1000,5.12,1001,5.12,1002,5.12,1003,5.12]],["t/203",[0,0.508,15,1.973,45,3.125,48,1.256,96,2.767,97,2.493,141,3.125,214,2.994,224,3.274,237,3.274,368,2.577,778,4.575,956,4.176,965,4.176,967,4.575,968,3.878,969,4.176,971,4.575,972,4.575,1004,5.18,1005,5.18,1006,5.18,1007,3.641]],["t/205",[0,0.332,46,1.053,48,1.322,110,4.085,121,1.399,143,4.063,156,1.628,162,2.041,163,5.173,165,4.892,175,2.533,188,3.766,205,2.138,237,3.164,266,2.378,388,2.249,555,3.308,572,4.189,601,2.727,804,5.263,1008,5.959,1009,5.959,1010,5.006,1011,5.959]],["t/207",[0,0.442,60,1.974,73,3.166,79,2.167,124,4.594,133,3.166,167,2.846,194,2.846,238,3.631,239,3.978,253,2.034,290,3.372,301,2.717,320,2.717,381,2.5,396,2.603,397,3.978,459,3.978,544,2.846,546,3.372,555,2.5,585,3.631,626,3.631,665,3.631,790,3.372,871,3.978,950,3.631,952,3.631,965,3.631,1012,4.504,1013,4.504,1014,4.504,1015,4.504,1016,6.135,1017,4.504,1018,4.504,1019,4.504]],["t/209",[191,3.598,525,4.734,675,4.734,827,5.43,1020,6.735,1021,6.735]],["t/211",[0,0.714,9,1.546,13,3.701,31,2.729,191,3.89,268,4.385,555,4.041,859,5.452,1022,5.172,1023,5.856,1024,5.856,1025,5.856]],["t/213",[0,0.614,4,3.228,125,3.959,153,3.117,191,3.347,263,4.691,508,4.404,672,5.051,895,6.702,1026,6.265]],["t/215",[46,2.161,129,4.881,191,3.71,1027,6.132]],["t/217",[8,1.819,9,1.434,94,2.246,122,2.453,129,4.88,190,4.066,191,4.089,204,3.277,206,3.817,214,3.139,215,3.277,505,4.066,587,3.817,894,4.796,935,4.378,937,4.796,986,4.796,1027,4.796,1028,5.43]],["t/219",[0,0.66,23,5.43,569,3.738,740,5.043,1029,6.735,1030,6.735]],["t/221",[1031,7.281]],["t/223",[14,5.31,59,2.23,128,3.628,184,2.802,223,3.098,293,2.992,412,5.31,740,4.502,1032,6.013,1033,6.013,1034,6.013,1035,5.31,1036,4.502,1037,6.013]],["t/225",[0,0.315,4,1.655,8,1.936,9,0.848,15,1.835,46,1,48,0.509,50,3.208,59,1.787,60,1.408,62,2.136,63,1.076,72,1.937,74,1.717,77,1.599,85,3.386,89,2.591,96,1.717,115,3.208,127,1.985,142,2.05,143,1.857,144,2.259,148,1.939,154,1.257,168,2.406,184,1.497,191,1.717,209,2.136,210,1.452,220,1.787,221,1.717,222,1.546,223,1.655,225,1.655,226,1.939,227,1.784,272,2.406,289,2.406,301,1.939,356,2.406,406,2.838,407,2.591,428,2.838,431,2.406,525,2.259,555,1.784,569,1.784,574,2.031,582,2.259,619,2.136,657,2.591,675,2.259,807,2.259,859,2.406,1022,2.838,1038,2.838,1039,3.213,1040,2.838,1041,3.213,1042,2.838,1043,3.213,1044,3.213,1045,2.838,1046,2.406]],["t/227",[18,3.525,48,0.693,51,1.975,63,1.464,127,1.501,128,2.638,133,3.073,137,2.638,148,2.638,150,2.527,166,3.861,192,3.073,196,2.763,204,2.638,210,1.975,223,2.252,266,3.073,279,3.274,289,3.274,293,2.176,363,3.073,416,2.527,417,2.763,423,3.861,424,3.861,425,3.274,426,3.861,533,3.861,602,3.073,663,3.861,827,3.525,1007,4.83,1035,3.861,1038,6.069,1046,3.274,1047,4.372,1048,4.372,1049,4.372]],["t/229",[15,2.644,18,4.378,59,2.014,127,1.865,149,3.817,220,2.014,223,2.798,259,2.614,295,4.796,301,3.277,589,4.796,775,4.796,897,4.796,964,4.796,1007,4.88,1036,4.066,1050,5.43,1051,5.43,1052,5.43,1053,5.43]],["t/231",[8,2.143,59,2.373,83,2.039,154,1.875,176,2.233,184,2.982,188,3.029,210,2.165,226,4.832,230,3.369,233,3.369,296,4.232,299,3.864,416,2.77,441,4.232,582,3.369,968,3.588,1007,5.402,1042,5.651,1054,4.792,1055,4.792,1056,4.792]],["t/233",[48,1,63,1.572,142,1.997,143,2.712,144,3.298,145,3.119,175,3.513,203,3.783,211,2.965,364,4.144,381,2.604,411,4.144,416,2.712,425,3.513,574,2.965,615,3.298,619,3.119,655,4.144,656,4.144,657,3.783,658,4.144,662,4.144,664,4.144,807,3.298,890,4.144,1007,5.357,1040,4.144,1045,4.144,1046,3.513,1057,4.692,1058,4.144]],["t/235",[8,1.622,31,2.257,48,0.768,59,1.797,60,2.123,63,1.622,72,1.948,85,3.405,89,3.906,127,1.663,142,2.061,144,3.405,191,2.588,220,1.797,222,2.331,223,2.496,343,4.278,344,4.278,345,5.691,346,4.278,506,3.906,555,2.689,615,3.405,619,3.22,859,3.627,1036,3.627,1046,3.627,1058,4.278,1059,4.844,1060,4.844,1061,4.844]],["t/237",[0,0.553,12,3.746,46,1.754,59,2.09,77,2.804,115,3.945,119,2.903,169,3.4,207,3.128,209,3.746,211,3.561,293,2.804,407,4.543,740,4.22,900,4.977,1036,4.22,1062,5.635,1063,5.635]]],"invertedIndex":[["",{"_index":48,"t":{"4":{"position":[[470,1],[540,3]]},"6":{"position":[[60,1],[75,1],[518,1]]},"8":{"position":[[307,1],[401,1]]},"10":{"position":[[132,1],[172,1]]},"12":{"position":[[242,1],[1170,1],[1409,1],[1422,1],[2718,3]]},"28":{"position":[[397,3]]},"36":{"position":[[210,1]]},"50":{"position":[[74,1],[120,1],[172,1],[294,1],[407,1],[886,1],[1110,3]]},"52":{"position":[[160,3]]},"64":{"position":[[54,1],[116,1],[148,1]]},"66":{"position":[[7,1],[26,1],[55,1],[92,1],[115,1]]},"68":{"position":[[101,1]]},"70":{"position":[[82,1],[132,1],[184,1],[222,1],[244,1],[287,1]]},"72":{"position":[[41,1],[130,1],[526,3]]},"74":{"position":[[20,1],[107,1],[210,1],[280,1],[360,1]]},"80":{"position":[[138,1]]},"82":{"position":[[447,1],[489,1],[520,1],[544,1],[820,3]]},"84":{"position":[[377,1]]},"86":{"position":[[363,1]]},"88":{"position":[[209,1]]},"90":{"position":[[153,1],[336,3]]},"92":{"position":[[50,1],[481,1],[544,3]]},"95":{"position":[[236,1],[498,1],[516,1],[724,3]]},"97":{"position":[[142,1],[198,1],[342,1]]},"109":{"position":[[450,1],[458,1]]},"111":{"position":[[87,1],[100,1],[111,2],[119,2],[129,2],[140,2],[150,2],[160,2],[169,1]]},"113":{"position":[[35,1],[50,1],[67,1],[69,1],[73,1],[99,1],[125,1]]},"117":{"position":[[30,1],[350,1]]},"119":{"position":[[76,1],[120,1],[177,1]]},"123":{"position":[[182,1],[252,3]]},"125":{"position":[[397,1]]},"127":{"position":[[29,1]]},"129":{"position":[[193,1],[275,1],[365,1],[445,1],[533,1],[620,1]]},"131":{"position":[[91,2],[541,2],[584,2],[624,1],[692,1]]},"133":{"position":[[291,1],[567,1]]},"135":{"position":[[380,2]]},"137":{"position":[[13,1],[41,2],[72,1],[106,2],[138,1],[172,2],[198,1],[217,1],[223,3],[249,3],[275,3],[300,2],[325,3],[353,2],[418,1],[568,1],[697,1]]},"141":{"position":[[164,2],[194,2],[235,2],[278,1],[334,2],[366,1],[480,2],[512,1],[541,1],[571,1]]},"143":{"position":[[99,1],[166,1]]},"145":{"position":[[228,1],[263,1]]},"147":{"position":[[240,1]]},"151":{"position":[[548,3],[683,3]]},"159":{"position":[[341,1],[350,1]]},"161":{"position":[[176,1]]},"163":{"position":[[91,1]]},"175":{"position":[[38,1]]},"177":{"position":[[71,1],[100,2],[141,1],[218,1]]},"179":{"position":[[64,2],[74,1],[214,1],[226,1],[624,1]]},"183":{"position":[[88,1],[165,1],[216,1]]},"187":{"position":[[365,1],[456,3],[700,3]]},"195":{"position":[[159,1]]},"197":{"position":[[11,1],[146,1],[300,1],[445,1]]},"199":{"position":[[55,1]]},"203":{"position":[[7,1],[64,1],[117,1],[152,1]]},"205":{"position":[[72,1],[98,2],[141,1],[165,2],[197,1],[274,1],[297,1],[336,1],[360,1],[394,1],[437,2],[446,1]]},"225":{"position":[[239,4]]},"227":{"position":[[183,1]]},"233":{"position":[[107,2],[111,1]]},"235":{"position":[[63,1]]}}}],["0",{"_index":637,"t":{"107":{"position":[[203,2]]}}}],["0–3",{"_index":955,"t":{"197":{"position":[[52,3]]}}}],["1",{"_index":603,"t":{"97":{"position":[[174,1],[234,1]]}}}],["1.1.6",{"_index":1032,"t":{"223":{"position":[[8,5]]}}}],["1.25",{"_index":283,"t":{"28":{"position":[[220,6]]}}}],["1.56",{"_index":284,"t":{"28":{"position":[[227,10]]}}}],["1/4",{"_index":755,"t":{"135":{"position":[[498,3]]}}}],["10",{"_index":285,"t":{"28":{"position":[[244,2]]},"113":{"position":[[93,3]]},"137":{"position":[[489,2]]}}}],["100",{"_index":70,"t":{"6":{"position":[[395,3]]},"26":{"position":[[28,3]]},"107":{"position":[[206,4]]}}}],["10am",{"_index":940,"t":{"191":{"position":[[122,5]]}}}],["12",{"_index":734,"t":{"131":{"position":[[726,3]]},"159":{"position":[[492,2]]}}}],["12.3",{"_index":732,"t":{"131":{"position":[[649,8]]}}}],["120",{"_index":975,"t":{"197":{"position":[[567,3]]}}}],["127.0.0.1:11434",{"_index":921,"t":{"185":{"position":[[457,17]]}}}],["14.5",{"_index":783,"t":{"141":{"position":[[387,8]]}}}],["15",{"_index":941,"t":{"193":{"position":[[14,2]]}}}],["15.1",{"_index":765,"t":{"137":{"position":[[366,8]]}}}],["18.7",{"_index":733,"t":{"131":{"position":[[717,8]]}}}],["1:1",{"_index":244,"t":{"12":{"position":[[2456,3]]},"50":{"position":[[448,3]]}}}],["1s",{"_index":282,"t":{"28":{"position":[[215,4]]}}}],["2",{"_index":945,"t":{"193":{"position":[[54,1]]}}}],["2/4",{"_index":725,"t":{"131":{"position":[[283,3]]}}}],["20",{"_index":3,"t":{"2":{"position":[[25,4]]}}}],["20250514",{"_index":912,"t":{"185":{"position":[[208,8]]}}}],["21",{"_index":970,"t":{"197":{"position":[[481,2]]}}}],["25",{"_index":593,"t":{"95":{"position":[[462,2],[662,2]]}}}],["3",{"_index":977,"t":{"197":{"position":[[597,2]]}}}],["4",{"_index":789,"t":{"143":{"position":[[152,2]]},"185":{"position":[[206,1],[278,1]]}}}],["403",{"_index":684,"t":{"125":{"position":[[138,3]]}}}],["4o",{"_index":906,"t":{"185":{"position":[[129,2],[156,2],[169,3]]}}}],["5",{"_index":467,"t":{"74":{"position":[[293,3]]},"84":{"position":[[403,3]]},"131":{"position":[[679,1]]},"197":{"position":[[177,1]]}}}],["50",{"_index":648,"t":{"109":{"position":[[363,3]]}}}],["5s",{"_index":325,"t":{"36":{"position":[[710,2]]},"46":{"position":[[370,2]]}}}],["60",{"_index":287,"t":{"28":{"position":[[262,2]]},"197":{"position":[[308,2]]}}}],["8.2",{"_index":764,"t":{"137":{"position":[[313,7]]},"141":{"position":[[299,7]]}}}],["900",{"_index":961,"t":{"197":{"position":[[207,3]]}}}],["9am",{"_index":937,"t":{"191":{"position":[[54,3]]},"217":{"position":[[20,3]]}}}],["a1",{"_index":723,"t":{"131":{"position":[[130,4],[426,2],[550,3],[634,4]]},"135":{"position":[[419,4]]},"137":{"position":[[84,2],[219,3],[245,3],[296,3],[702,2]]},"141":{"position":[[173,3],[203,3],[286,2],[483,3]]}}}],["a2",{"_index":724,"t":{"131":{"position":[[199,4],[459,2],[593,3],[702,4]]},"137":{"position":[[150,2],[271,3],[321,3],[349,3],[724,2]]},"141":{"position":[[244,3],[343,3],[374,2],[543,3]]}}}],["abov",{"_index":537,"t":{"86":{"position":[[410,5]]}}}],["accept",{"_index":391,"t":{"50":{"position":[[609,9]]}}}],["access",{"_index":177,"t":{"12":{"position":[[478,6],[651,6],[724,6],[983,6],[2362,7],[2426,6]]},"50":{"position":[[430,6]]},"74":{"position":[[353,6]]},"82":{"position":[[279,6],[372,7]]},"86":{"position":[[356,6]]},"95":{"position":[[446,6]]},"119":{"position":[[63,6],[150,6]]},"123":{"position":[[261,6]]},"137":{"position":[[529,6]]},"151":{"position":[[29,6],[173,6],[433,7]]},"153":{"position":[[84,6],[137,7]]},"155":{"position":[[246,6],[523,6]]},"157":{"position":[[44,6],[135,6]]},"159":{"position":[[376,6],[548,6]]},"165":{"position":[[406,6]]},"179":{"position":[[637,6]]}}}],["account",{"_index":552,"t":{"92":{"position":[[33,7],[362,9]]},"95":{"position":[[63,7]]},"97":{"position":[[375,7]]},"101":{"position":[[53,7]]},"119":{"position":[[164,7]]},"121":{"position":[[43,7]]},"125":{"position":[[128,9],[173,7],[487,7]]}}}],["act",{"_index":443,"t":{"72":{"position":[[12,3]]}}}],["action",{"_index":175,"t":{"12":{"position":[[420,7]]},"111":{"position":[[182,6]]},"205":{"position":[[28,6]]},"233":{"position":[[43,6]]}}}],["activ",{"_index":210,"t":{"12":{"position":[[1490,6]]},"34":{"position":[[60,6]]},"62":{"position":[[111,7]]},"70":{"position":[[139,6]]},"101":{"position":[[77,6],[416,6]]},"117":{"position":[[188,7]]},"125":{"position":[[244,6]]},"131":{"position":[[111,10],[268,6]]},"135":{"position":[[400,10],[483,6]]},"147":{"position":[[19,7]]},"183":{"position":[[19,6],[129,6],[180,6]]},"197":{"position":[[357,6],[447,6]]},"199":{"position":[[130,6],[172,6],[256,6],[401,6]]},"225":{"position":[[65,8]]},"227":{"position":[[23,8]]},"231":{"position":[[88,6]]}}}],["ad",{"_index":1007,"t":{"203":{"position":[[119,5]]},"227":{"position":[[0,5],[128,5],[278,5]]},"229":{"position":[[72,5],[147,5]]},"231":{"position":[[0,5],[62,5],[115,5],[193,5]]},"233":{"position":[[0,5],[60,5],[122,5],[162,5]]}}}],["add",{"_index":410,"t":{"58":{"position":[[0,3]]},"95":{"position":[[518,3]]},"107":{"position":[[316,3]]},"109":{"position":[[473,4]]}}}],["add/configur",{"_index":213,"t":{"12":{"position":[[1612,13]]}}}],["adding/configur",{"_index":901,"t":{"183":{"position":[[243,18]]}}}],["addit",{"_index":809,"t":{"151":{"position":[[148,10]]},"187":{"position":[[637,10]]}}}],["address",{"_index":370,"t":{"50":{"position":[[97,7]]},"80":{"position":[[324,8]]},"95":{"position":[[540,9]]}}}],["admin",{"_index":179,"t":{"12":{"position":[[543,6],[866,5],[922,5]]},"36":{"position":[[1181,5]]},"46":{"position":[[216,5]]},"151":{"position":[[47,6],[94,5],[205,6],[270,6],[449,5],[518,6]]},"153":{"position":[[39,5],[171,6]]},"155":{"position":[[56,7],[313,5],[383,5],[432,5],[462,5],[530,8]]},"157":{"position":[[104,5]]},"159":{"position":[[407,6]]}}}],["advanced/custom",{"_index":352,"t":{"44":{"position":[[177,15]]}}}],["again",{"_index":118,"t":{"8":{"position":[[262,5]]},"12":{"position":[[2391,5]]},"119":{"position":[[333,6]]},"125":{"position":[[320,6]]}}}],["agent",{"_index":8,"t":{"2":{"position":[[78,5],[136,5]]},"6":{"position":[[110,5]]},"12":{"position":[[199,5],[1784,5],[1829,5],[1998,5]]},"30":{"position":[[90,5]]},"34":{"position":[[27,5]]},"50":{"position":[[88,5],[109,5]]},"70":{"position":[[69,5],[114,5],[228,6]]},"82":{"position":[[326,6],[685,6]]},"84":{"position":[[162,5],[209,5]]},"95":{"position":[[165,5]]},"127":{"position":[[78,6],[161,5]]},"129":{"position":[[15,6],[226,6],[492,6],[598,6],[637,6]]},"131":{"position":[[100,5],[122,7],[191,7],[275,7],[323,6],[340,7],[412,7],[420,5],[453,5],[544,5],[587,5],[626,7],[694,7],[762,6]]},"133":{"position":[[20,7],[41,6],[78,5],[123,5],[180,5],[265,5],[297,5],[350,6],[405,7],[478,8],[553,5]]},"135":{"position":[[39,7],[90,5],[188,6],[234,5],[389,5],[411,7],[490,7],[538,5],[587,7]]},"137":{"position":[[20,5],[78,5],[144,5],[384,6],[497,7]]},"139":{"position":[[347,6]]},"141":{"position":[[85,5],[167,5],[197,5],[238,5],[280,5],[337,5],[368,5],[427,8],[470,9],[600,5]]},"143":{"position":[[4,6],[307,6],[364,6]]},"145":{"position":[[4,6]]},"147":{"position":[[145,6]]},"163":{"position":[[97,5]]},"175":{"position":[[171,5]]},"217":{"position":[[73,5]]},"225":{"position":[[223,5],[266,5],[348,5]]},"231":{"position":[[45,5],[229,5]]},"235":{"position":[[56,6]]}}}],["agent'",{"_index":766,"t":{"137":{"position":[[429,7]]}}}],["ai",{"_index":694,"t":{"127":{"position":[[75,2]]},"129":{"position":[[12,2]]}}}],["album",{"_index":619,"t":{"105":{"position":[[57,7]]},"107":{"position":[[45,6]]},"115":{"position":[[24,5]]},"225":{"position":[[444,5]]},"233":{"position":[[186,5]]},"235":{"position":[[132,5]]}}}],["allow",{"_index":206,"t":{"12":{"position":[[1411,5]]},"159":{"position":[[335,5]]},"177":{"position":[[383,7]]},"179":{"position":[[216,5],[609,5]]},"217":{"position":[[135,7]]}}}],["alongsid",{"_index":456,"t":{"72":{"position":[[216,9]]},"74":{"position":[[47,9]]},"80":{"position":[[190,9]]},"88":{"position":[[166,9]]},"90":{"position":[[76,9]]}}}],["alreadi",{"_index":268,"t":{"20":{"position":[[155,7]]},"28":{"position":[[362,8]]},"52":{"position":[[189,7]]},"211":{"position":[[105,7]]}}}],["alway",{"_index":814,"t":{"151":{"position":[[667,6]]},"159":{"position":[[343,6]]},"177":{"position":[[260,8]]},"179":{"position":[[595,6]]}}}],["analysis/plan",{"_index":418,"t":{"64":{"position":[[56,17]]}}}],["analyz",{"_index":752,"t":{"135":{"position":[[443,8]]},"141":{"position":[[307,9]]},"145":{"position":[[107,7]]},"147":{"position":[[40,7]]}}}],["anthrop",{"_index":377,"t":{"50":{"position":[[212,10]]},"185":{"position":[[182,9]]}}}],["anthropic_api_key",{"_index":913,"t":{"185":{"position":[[217,17]]}}}],["anyon",{"_index":594,"t":{"95":{"position":[[553,6]]}}}],["anyth",{"_index":581,"t":{"95":{"position":[[121,8]]}}}],["anywher",{"_index":492,"t":{"82":{"position":[[144,8]]},"123":{"position":[[337,8]]}}}],["api",{"_index":109,"t":{"8":{"position":[[159,3]]},"12":{"position":[[127,3]]},"50":{"position":[[992,3]]},"74":{"position":[[349,3]]},"78":{"position":[[81,3]]},"82":{"position":[[61,4],[169,4]]},"86":{"position":[[352,3]]},"90":{"position":[[174,3]]},"92":{"position":[[501,3]]},"123":{"position":[[160,3],[363,3]]},"125":{"position":[[217,4],[571,3]]},"131":{"position":[[19,3],[166,3],[445,3],[664,3]]},"141":{"position":[[498,3]]},"159":{"position":[[194,3]]},"185":{"position":[[23,3],[392,3]]},"187":{"position":[[29,3],[218,3],[357,3],[691,3]]}}}],["app",{"_index":562,"t":{"92":{"position":[[175,3]]},"95":{"position":[[85,4],[99,3],[140,3],[390,3]]}}}],["app'",{"_index":588,"t":{"95":{"position":[[280,5],[483,5]]}}}],["appear",{"_index":247,"t":{"12":{"position":[[2624,6]]},"72":{"position":[[379,6]]},"74":{"position":[[39,7]]},"80":{"position":[[183,6]]},"88":{"position":[[158,7]]},"141":{"position":[[115,6],[617,6]]},"179":{"position":[[422,7],[503,6]]}}}],["append",{"_index":539,"t":{"88":{"position":[[61,7]]}}}],["appropri",{"_index":365,"t":{"46":{"position":[[163,11]]}}}],["approv",{"_index":172,"t":{"12":{"position":[[392,10],[525,8],[572,7],[600,7],[781,8],[2540,7],[2668,8]]},"137":{"position":[[584,7]]},"149":{"position":[[122,8]]},"151":{"position":[[216,7],[529,7]]},"153":{"position":[[21,7],[156,8],[254,9]]},"155":{"position":[[47,8],[111,7],[133,7],[304,8]]},"157":{"position":[[79,9]]},"159":{"position":[[316,9],[458,8]]},"167":{"position":[[60,8]]},"169":{"position":[[158,7]]},"171":{"position":[[177,9]]},"175":{"position":[[268,8]]},"177":{"position":[[132,8],[209,8],[284,7],[429,8]]},"179":{"position":[[151,9],[241,8],[672,9]]}}}],["approve/reject",{"_index":816,"t":{"153":{"position":[[69,14]]}}}],["approve_command",{"_index":849,"t":{"169":{"position":[[130,15]]}}}],["approve_scop",{"_index":845,"t":{"165":{"position":[[373,13]]}}}],["architectur",{"_index":136,"t":{"10":{"position":[[134,12]]},"187":{"position":[[594,12]]}}}],["arriv",{"_index":197,"t":{"12":{"position":[[1182,6]]}}}],["arrow",{"_index":165,"t":{"12":{"position":[[272,5]]},"101":{"position":[[313,5]]},"111":{"position":[[52,5]]},"147":{"position":[[260,5]]},"179":{"position":[[407,5]]},"205":{"position":[[57,5],[126,5],[182,5],[259,5],[321,5],[379,5]]}}}],["art",{"_index":144,"t":{"10":{"position":[[244,3]]},"115":{"position":[[30,3]]},"225":{"position":[[450,4]]},"233":{"position":[[192,3]]},"235":{"position":[[138,3]]}}}],["artist",{"_index":618,"t":{"105":{"position":[[48,8]]},"109":{"position":[[443,6]]}}}],["ask",{"_index":205,"t":{"12":{"position":[[1401,4]]},"50":{"position":[[54,4],[569,4]]},"129":{"position":[[90,3]]},"139":{"position":[[314,3]]},"177":{"position":[[194,6],[247,3]]},"179":{"position":[[26,4],[67,3],[84,4]]},"205":{"position":[[220,4]]}}}],["ask_us",{"_index":800,"t":{"147":{"position":[[178,8]]}}}],["asset",{"_index":346,"t":{"44":{"position":[[51,6]]},"235":{"position":[[220,6]]}}}],["assigne",{"_index":531,"t":{"86":{"position":[[248,9],[320,9]]}}}],["assist",{"_index":482,"t":{"80":{"position":[[14,8]]}}}],["async",{"_index":292,"t":{"30":{"position":[[21,5]]}}}],["asynchron",{"_index":442,"t":{"70":{"position":[[385,15]]}}}],["attach",{"_index":261,"t":{"18":{"position":[[40,8]]},"56":{"position":[[40,8]]}}}],["attribut",{"_index":477,"t":{"78":{"position":[[46,11]]}}}],["audio",{"_index":671,"t":{"117":{"position":[[81,5]]},"159":{"position":[[128,6]]}}}],["auth",{"_index":604,"t":{"97":{"position":[[357,4]]},"99":{"position":[[32,4],[278,4],[433,5]]},"101":{"position":[[100,4],[177,4]]},"119":{"position":[[328,4]]},"121":{"position":[[70,4]]},"125":{"position":[[352,4],[392,4],[462,4]]}}}],["authent",{"_index":489,"t":{"82":{"position":[[32,12]]},"123":{"position":[[132,12]]}}}],["author",{"_index":452,"t":{"72":{"position":[[113,8]]},"74":{"position":[[3,8]]},"80":{"position":[[58,8],[317,6]]},"88":{"position":[[74,8]]},"99":{"position":[[49,13],[171,13]]},"101":{"position":[[196,13]]}}}],["auto",{"_index":97,"t":{"6":{"position":[[814,5]]},"28":{"position":[[327,4]]},"36":{"position":[[123,4],[606,4],[1071,4]]},"46":{"position":[[222,4]]},"54":{"position":[[159,4]]},"99":{"position":[[203,4]]},"119":{"position":[[91,4]]},"129":{"position":[[647,4]]},"137":{"position":[[579,4]]},"143":{"position":[[94,4],[101,4],[161,4],[168,6],[386,4]]},"159":{"position":[[156,4]]},"177":{"position":[[127,4]]},"179":{"position":[[236,4],[667,4]]},"203":{"position":[[154,4]]}}}],["automat",{"_index":259,"t":{"16":{"position":[[197,13]]},"28":{"position":[[176,13]]},"46":{"position":[[49,13]]},"80":{"position":[[30,13]]},"84":{"position":[[258,13]]},"88":{"position":[[47,13]]},"115":{"position":[[177,13]]},"119":{"position":[[237,13]]},"159":{"position":[[223,13]]},"177":{"position":[[419,9]]},"181":{"position":[[77,14]]},"195":{"position":[[97,13]]},"201":{"position":[[229,14]]},"229":{"position":[[153,9]]}}}],["avail",{"_index":388,"t":{"50":{"position":[[517,9]]},"72":{"position":[[348,12],[499,9]]},"101":{"position":[[365,9]]},"105":{"position":[[146,9]]},"117":{"position":[[144,10]]},"205":{"position":[[210,9]]}}}],["avatar",{"_index":463,"t":{"74":{"position":[[32,6]]},"80":{"position":[[171,6]]},"88":{"position":[[151,6]]}}}],["avoid",{"_index":26,"t":{"4":{"position":[[186,5]]}}}],["awar",{"_index":715,"t":{"129":{"position":[[614,5]]}}}],["back",{"_index":167,"t":{"12":{"position":[[302,4],[1886,4]]},"66":{"position":[[72,4]]},"68":{"position":[[273,4]]},"115":{"position":[[197,4]]},"181":{"position":[[72,4]]},"193":{"position":[[167,4]]},"207":{"position":[[207,4]]}}}],["background",{"_index":59,"t":{"6":{"position":[[163,10],[298,10],[345,10]]},"12":{"position":[[1842,10],[1948,10],[2012,10],[2070,10],[2095,10],[2149,10],[2198,10],[2240,10]]},"14":{"position":[[18,10]]},"16":{"position":[[34,10]]},"20":{"position":[[95,10]]},"22":{"position":[[60,10]]},"28":{"position":[[107,10]]},"30":{"position":[[27,10]]},"34":{"position":[[152,10]]},"54":{"position":[[34,10]]},"56":{"position":[[259,10]]},"70":{"position":[[48,14],[164,10],[198,10],[304,10]]},"129":{"position":[[511,10]]},"133":{"position":[[194,10],[250,10],[303,10]]},"141":{"position":[[581,10]]},"175":{"position":[[496,10]]},"199":{"position":[[69,10]]},"223":{"position":[[70,10]]},"225":{"position":[[173,10],[299,10]]},"229":{"position":[[200,10]]},"231":{"position":[[103,11],[271,10]]},"235":{"position":[[65,10]]},"237":{"position":[[58,10]]}}}],["backgroundtaskmanag",{"_index":1054,"t":{"231":{"position":[[6,21]]}}}],["backoff",{"_index":281,"t":{"28":{"position":[[207,7]]},"36":{"position":[[1170,7]]},"54":{"position":[[214,8]]}}}],["balanc",{"_index":217,"t":{"12":{"position":[[1705,8]]}}}],["balanced/detail",{"_index":216,"t":{"12":{"position":[[1679,19]]}}}],["bar",{"_index":650,"t":{"109":{"position":[[469,3]]},"111":{"position":[[245,4]]}}}],["base",{"_index":525,"t":{"86":{"position":[[85,4]]},"129":{"position":[[407,5]]},"187":{"position":[[227,4],[678,4]]},"209":{"position":[[20,5]]},"225":{"position":[[8,5]]}}}],["basic",{"_index":1014,"t":{"207":{"position":[[215,5]]}}}],["becom",{"_index":402,"t":{"54":{"position":[[73,7]]},"151":{"position":[[82,7]]}}}],["befor",{"_index":49,"t":{"4":{"position":[[509,6]]},"117":{"position":[[96,6]]},"119":{"position":[[251,6]]},"179":{"position":[[106,6],[441,6],[709,6]]},"197":{"position":[[148,6]]}}}],["before/aft",{"_index":37,"t":{"4":{"position":[[307,12]]}}}],["behavior",{"_index":363,"t":{"44":{"position":[[387,8]]},"64":{"position":[[33,9],[180,8]]},"145":{"position":[[82,8]]},"199":{"position":[[214,10]]},"227":{"position":[[242,8]]}}}],["benefit",{"_index":751,"t":{"135":{"position":[[295,7]]},"139":{"position":[[114,8]]}}}],["between",{"_index":713,"t":{"129":{"position":[[590,7]]}}}],["bg",{"_index":226,"t":{"12":{"position":[[1907,3],[1959,4],[2023,3],[2081,3],[2112,3],[2165,3],[2214,3]]},"32":{"position":[[11,3],[38,3],[51,3],[72,3]]},"34":{"position":[[43,4],[87,3],[174,4]]},"70":{"position":[[120,3],[175,3],[235,3],[271,3]]},"133":{"position":[[141,4],[205,3],[271,3]]},"141":{"position":[[627,3]]},"225":{"position":[[234,4]]},"231":{"position":[[68,3],[121,3],[131,3],[141,3],[158,3]]}}}],["block",{"_index":702,"t":{"129":{"position":[[205,6],[436,8]]},"177":{"position":[[63,7]]},"179":{"position":[[299,9]]}}}],["board",{"_index":299,"t":{"34":{"position":[[168,5]]},"133":{"position":[[452,5]]},"231":{"position":[[282,6]]}}}],["bodi",{"_index":522,"t":{"86":{"position":[[62,5],[302,5]]}}}],["boot",{"_index":98,"t":{"6":{"position":[[829,5]]},"36":{"position":[[754,4]]},"46":{"position":[[66,4],[450,4]]}}}],["bot",{"_index":385,"t":{"50":{"position":[[397,3],[741,3]]},"149":{"position":[[35,3]]},"159":{"position":[[474,3],[529,3]]},"161":{"position":[[75,3],[150,3],[306,3]]}}}],["botfath",{"_index":834,"t":{"161":{"position":[[90,11],[165,10]]}}}],["both",{"_index":155,"t":{"12":{"position":[[60,4]]},"30":{"position":[[52,4]]},"131":{"position":[[389,4],[757,4]]},"179":{"position":[[191,4]]}}}],["bottleneck",{"_index":704,"t":{"129":{"position":[[244,11]]}}}],["brain",{"_index":239,"t":{"12":{"position":[[2316,5]]},"207":{"position":[[7,5]]}}}],["brain.db",{"_index":1019,"t":{"207":{"position":[[381,8]]}}}],["brain/second",{"_index":1018,"t":{"207":{"position":[[368,12]]}}}],["branch",{"_index":524,"t":{"86":{"position":[[73,7],[90,6]]}}}],["break",{"_index":703,"t":{"129":{"position":[[233,5]]},"193":{"position":[[35,6]]}}}],["broad",{"_index":1062,"t":{"237":{"position":[[22,5]]}}}],["broadcast",{"_index":831,"t":{"159":{"position":[[440,10]]}}}],["browser",{"_index":560,"t":{"92":{"position":[[158,7]]},"99":{"position":[[95,7],[195,7],[317,8]]},"101":{"position":[[122,8]]},"125":{"position":[[327,7]]}}}],["budget",{"_index":76,"t":{"6":{"position":[[475,6]]},"8":{"position":[[394,6],[420,6]]},"12":{"position":[[221,7],[1207,7],[1226,6],[1240,7],[1266,6],[1289,7],[1323,7],[1358,6]]},"173":{"position":[[439,6]]},"175":{"position":[[142,7]]},"197":{"position":[[216,7]]}}}],["budget_statu",{"_index":870,"t":{"173":{"position":[[413,13]]}}}],["bug",{"_index":466,"t":{"74":{"position":[[243,3]]}}}],["build",{"_index":720,"t":{"131":{"position":[[5,6],[154,6],[432,8]]},"141":{"position":[[487,5]]},"197":{"position":[[328,6]]},"199":{"position":[[191,8]]}}}],["built",{"_index":13,"t":{"4":{"position":[[19,5]]},"36":{"position":[[1135,5]]},"46":{"position":[[425,5]]},"72":{"position":[[236,5]]},"131":{"position":[[668,5]]},"163":{"position":[[14,5]]},"211":{"position":[[30,5]]}}}],["busi",{"_index":744,"t":{"133":{"position":[[562,4]]}}}],["button",{"_index":804,"t":{"147":{"position":[[300,8]]},"159":{"position":[[357,7]]},"179":{"position":[[495,7]]},"205":{"position":[[90,7],[157,7],[289,7],[352,7],[429,7]]}}}],["call",{"_index":479,"t":{"78":{"position":[[85,6]]},"109":{"position":[[174,5],[231,5],[258,5],[367,5],[410,5],[496,5],[548,5]]},"135":{"position":[[331,5]]},"163":{"position":[[119,4]]},"169":{"position":[[118,6]]}}}],["cancel",{"_index":233,"t":{"12":{"position":[[2169,6],[2181,6]]},"32":{"position":[[60,6],[76,6]]},"70":{"position":[[275,6],[289,6]]},"173":{"position":[[379,6]]},"231":{"position":[[145,6]]}}}],["cancel_scheduled_task",{"_index":869,"t":{"173":{"position":[[357,21]]}}}],["capabl",{"_index":139,"t":{"10":{"position":[[187,10]]},"175":{"position":[[251,12]]}}}],["cat",{"_index":892,"t":{"177":{"position":[[166,4]]}}}],["categori",{"_index":857,"t":{"173":{"position":[[18,8]]}}}],["cd",{"_index":848,"t":{"169":{"position":[[73,2]]}}}],["chang",{"_index":119,"t":{"8":{"position":[[272,7],[403,6]]},"12":{"position":[[1339,6],[1378,6]]},"64":{"position":[[94,7]]},"68":{"position":[[157,7],[200,7],[236,7]]},"74":{"position":[[131,7]]},"86":{"position":[[135,8]]},"127":{"position":[[180,7]]},"169":{"position":[[76,6]]},"171":{"position":[[68,7]]},"179":{"position":[[171,8],[554,6]]},"183":{"position":[[350,6]]},"237":{"position":[[38,7]]}}}],["channel",{"_index":162,"t":{"12":{"position":[[233,8]]},"137":{"position":[[651,7]]},"141":{"position":[[155,8]]},"151":{"position":[[654,8]]},"161":{"position":[[219,7]]},"175":{"position":[[132,9]]},"193":{"position":[[179,7]]},"205":{"position":[[19,8]]}}}],["char",{"_index":962,"t":{"197":{"position":[[211,4]]}}}],["chat",{"_index":225,"t":{"12":{"position":[[1902,4]]},"50":{"position":[[346,4],[452,5]]},"56":{"position":[[133,5]]},"66":{"position":[[80,4]]},"68":{"position":[[289,4]]},"129":{"position":[[460,8]]},"131":{"position":[[304,8],[522,8]]},"135":{"position":[[519,8]]},"141":{"position":[[13,8]]},"151":{"position":[[571,5],[625,6]]},"185":{"position":[[63,4]]},"225":{"position":[[142,5]]}}}],["chatbot",{"_index":691,"t":{"127":{"position":[[21,7]]}}}],["check",{"_index":20,"t":{"4":{"position":[[110,6]]},"10":{"position":[[54,5]]},"74":{"position":[[212,6]]},"117":{"position":[[120,6]]},"131":{"position":[[351,5]]},"135":{"position":[[598,5]]},"157":{"position":[[66,5]]},"173":{"position":[[427,5]]},"191":{"position":[[61,5]]}}}],["child",{"_index":251,"t":{"16":{"position":[[71,5]]}}}],["chill",{"_index":564,"t":{"92":{"position":[[210,5]]},"109":{"position":[[76,5],[105,7]]}}}],["choic",{"_index":801,"t":{"147":{"position":[[213,7]]},"199":{"position":[[277,7]]}}}],["choos",{"_index":373,"t":{"50":{"position":[[174,6],[371,6]]},"62":{"position":[[57,6]]},"82":{"position":[[407,6]]},"97":{"position":[[102,6]]},"99":{"position":[[37,6]]},"125":{"position":[[399,6]]},"179":{"position":[[38,6]]}}}],["classic",{"_index":511,"t":{"82":{"position":[[606,7]]}}}],["claud",{"_index":910,"t":{"185":{"position":[[192,6],[235,6]]}}}],["clean",{"_index":260,"t":{"16":{"position":[[211,7]]},"24":{"position":[[131,5]]},"28":{"position":[[332,7]]},"54":{"position":[[164,8]]}}}],["clear",{"_index":188,"t":{"12":{"position":[[964,5],[2218,5]]},"101":{"position":[[254,5]]},"121":{"position":[[21,6]]},"133":{"position":[[361,5],[413,5],[441,5]]},"155":{"position":[[504,5]]},"205":{"position":[[369,5],[396,5],[440,5]]},"231":{"position":[[162,5]]}}}],["clearer",{"_index":1057,"t":{"233":{"position":[[35,7]]}}}],["cli",{"_index":156,"t":{"12":{"position":[[65,3],[253,3],[334,3],[446,3],[510,3],[590,3],[688,3],[761,3],[827,3],[894,3],[954,3],[2567,3],[2698,3]]},"44":{"position":[[423,3]]},"50":{"position":[[829,3]]},"56":{"position":[[120,3]]},"60":{"position":[[19,3]]},"101":{"position":[[332,4]]},"113":{"position":[[26,6]]},"137":{"position":[[659,4]]},"147":{"position":[[245,3]]},"151":{"position":[[354,3]]},"163":{"position":[[78,3]]},"179":{"position":[[196,3],[399,4]]},"193":{"position":[[187,4]]},"205":{"position":[[35,3]]}}}],["cli/tui",{"_index":1034,"t":{"223":{"position":[[33,7]]}}}],["click",{"_index":509,"t":{"82":{"position":[[561,5],[775,5]]},"95":{"position":[[71,5],[262,5]]}}}],["client",{"_index":590,"t":{"95":{"position":[[310,6],[324,6]]},"97":{"position":[[132,6],[154,6],[184,6],[210,6]]},"123":{"position":[[11,6],[43,6],[57,6]]}}}],["close",{"_index":248,"t":{"14":{"position":[[100,5]]},"86":{"position":[[227,7]]}}}],["cloud",{"_index":380,"t":{"50":{"position":[[236,6]]},"185":{"position":[[327,5]]}}}],["co",{"_index":451,"t":{"72":{"position":[[110,2]]},"74":{"position":[[0,2]]},"80":{"position":[[55,2],[314,2]]},"88":{"position":[[71,2]]}}}],["code",{"_index":127,"t":{"8":{"position":[[378,4]]},"12":{"position":[[626,4],[1778,5],[1808,6],[2514,4],[2553,4]]},"34":{"position":[[9,6],[21,5]]},"50":{"position":[[775,4],[815,4]]},"56":{"position":[[139,6]]},"60":{"position":[[71,7]]},"62":{"position":[[47,5],[74,5],[139,6]]},"64":{"position":[[43,5],[89,4],[102,5],[138,5]]},"70":{"position":[[63,5],[93,6]]},"74":{"position":[[268,4]]},"88":{"position":[[21,4]]},"99":{"position":[[185,4],[341,4],[388,4],[405,4]]},"101":{"position":[[141,5],[156,4],[161,6],[210,4]]},"125":{"position":[[372,4],[413,5]]},"129":{"position":[[137,5]]},"133":{"position":[[72,5],[102,6],[515,5]]},"139":{"position":[[96,4]]},"141":{"position":[[664,6]]},"145":{"position":[[57,4],[91,5],[131,4],[136,5],[181,5],[215,5],[250,5]]},"147":{"position":[[5,5],[159,5]]},"151":{"position":[[124,4],[321,4]]},"155":{"position":[[159,4]]},"225":{"position":[[135,6],[323,6],[341,6]]},"227":{"position":[[134,6]]},"229":{"position":[[88,6]]},"235":{"position":[[30,6]]}}}],["codebas",{"_index":753,"t":{"135":{"position":[[456,8]]},"141":{"position":[[321,12]]}}}],["code|id",{"_index":181,"t":{"12":{"position":[[580,9]]}}}],["code|userid",{"_index":818,"t":{"155":{"position":[[119,13]]}}}],["coding/chat",{"_index":440,"t":{"70":{"position":[[343,15]]}}}],["come",{"_index":780,"t":{"141":{"position":[[72,4]]},"187":{"position":[[486,6]]}}}],["command",{"_index":15,"t":{"4":{"position":[[36,7],[101,8]]},"6":{"position":[[0,7],[740,9]]},"12":{"position":[[139,7],[282,7],[1911,9],[1933,7]]},"20":{"position":[[20,7]]},"30":{"position":[[63,8]]},"32":{"position":[[15,9]]},"58":{"position":[[27,7]]},"68":{"position":[[0,7]]},"101":{"position":[[0,7]]},"111":{"position":[[20,7]]},"133":{"position":[[0,7],[464,8]]},"145":{"position":[[69,7]]},"155":{"position":[[0,7]]},"157":{"position":[[0,7]]},"159":{"position":[[298,7],[478,8],[495,8]]},"163":{"position":[[82,8]]},"169":{"position":[[57,7],[65,7],[168,7],[181,7]]},"177":{"position":[[53,9],[73,8],[148,8],[228,8],[294,7]]},"179":{"position":[[132,8],[282,8],[654,8]]},"203":{"position":[[137,7]]},"225":{"position":[[483,8],[552,7]]},"229":{"position":[[15,7],[127,7]]}}}],["comment",{"_index":527,"t":{"86":{"position":[[160,8]]}}}],["commit",{"_index":436,"t":{"68":{"position":[[169,6],[186,6]]},"72":{"position":[[122,7]]},"74":{"position":[[12,7],[72,6],[159,8]]},"78":{"position":[[39,6]]},"80":{"position":[[23,6]]},"88":{"position":[[13,7],[194,6]]},"90":{"position":[[255,6]]},"171":{"position":[[84,6],[139,6]]}}}],["compact",{"_index":218,"t":{"12":{"position":[[1718,7]]}}}],["companion",{"_index":445,"t":{"72":{"position":[[31,9]]}}}],["comparison",{"_index":38,"t":{"4":{"position":[[328,10]]}}}],["compat",{"_index":88,"t":{"6":{"position":[[617,13]]},"10":{"position":[[40,13]]},"50":{"position":[[267,10]]},"159":{"position":[[259,10]]},"185":{"position":[[300,10],[482,10],[539,10]]},"187":{"position":[[574,10]]}}}],["complet",{"_index":235,"t":{"12":{"position":[[2230,9]]},"101":{"position":[[168,8]]},"131":{"position":[[639,9],[707,9]]},"133":{"position":[[61,10]]},"135":{"position":[[174,9]]},"137":{"position":[[303,9],[356,9]]},"141":{"position":[[104,10],[289,9],[377,9]]},"151":{"position":[[103,10],[361,8]]}}}],["complex",{"_index":709,"t":{"129":{"position":[[421,10]]},"135":{"position":[[277,7]]},"139":{"position":[[207,7]]}}}],["compose.yml",{"_index":349,"t":{"44":{"position":[[102,11]]}}}],["compromis",{"_index":550,"t":{"90":{"position":[[323,12]]}}}],["concurr",{"_index":695,"t":{"127":{"position":[[101,12]]},"129":{"position":[[563,10],[626,10]]},"143":{"position":[[353,10]]}}}],["condit",{"_index":460,"t":{"72":{"position":[[336,11]]}}}],["confid",{"_index":956,"t":{"197":{"position":[[89,11],[519,10]]},"201":{"position":[[99,10]]},"203":{"position":[[43,11]]}}}],["config",{"_index":73,"t":{"6":{"position":[[440,7],[750,6]]},"46":{"position":[[183,7]]},"50":{"position":[[854,6]]},"175":{"position":[[113,6]]},"207":{"position":[[100,6]]}}}],["config/systemd/user/mercury.servic",{"_index":319,"t":{"36":{"position":[[566,39]]}}}],["configur",{"_index":207,"t":{"12":{"position":[[1451,10]]},"72":{"position":[[171,11],[407,10]]},"80":{"position":[[117,13]]},"90":{"position":[[97,14]]},"143":{"position":[[15,10]]},"181":{"position":[[0,9]]},"183":{"position":[[96,10]]},"185":{"position":[[31,13],[493,12]]},"187":{"position":[[627,9]]},"237":{"position":[[143,9]]}}}],["confirm",{"_index":266,"t":{"20":{"position":[[118,8]]},"52":{"position":[[222,8]]},"179":{"position":[[93,12]]},"205":{"position":[[408,13]]},"227":{"position":[[264,7]]}}}],["conflict",{"_index":27,"t":{"4":{"position":[[192,9]]},"129":{"position":[[580,9]]}}}],["connect",{"_index":551,"t":{"92":{"position":[[8,8]]},"95":{"position":[[582,8]]},"97":{"position":[[332,9]]},"99":{"position":[[463,9]]},"101":{"position":[[34,10]]},"149":{"position":[[8,8]]},"199":{"position":[[381,11]]}}}],["consolid",{"_index":965,"t":{"197":{"position":[[286,13]]},"203":{"position":[[186,13]]},"207":{"position":[[287,14]]}}}],["constraint",{"_index":985,"t":{"199":{"position":[[297,10],[326,11]]}}}],["consum",{"_index":160,"t":{"12":{"position":[[119,7]]}}}],["contain",{"_index":350,"t":{"44":{"position":[[151,10],[268,9],[286,9]]}}}],["content",{"_index":508,"t":{"82":{"position":[[480,8]]},"165":{"position":[[49,8],[106,7],[172,7],[277,8]]},"167":{"position":[[89,7]]},"173":{"position":[[60,7],[130,7]]},"213":{"position":[[105,7]]}}}],["context",{"_index":414,"t":{"62":{"position":[[146,7]]},"107":{"position":[[293,8]]},"129":{"position":[[47,7],[327,7]]},"135":{"position":[[133,7]]},"137":{"position":[[97,8],[163,8],[403,7]]},"139":{"position":[[140,7]]},"197":{"position":[[242,8]]}}}],["continu",{"_index":302,"t":{"34":{"position":[[263,10]]},"70":{"position":[[334,8]]},"127":{"position":[[120,10]]},"131":{"position":[[295,8],[513,8]]},"135":{"position":[[510,8]]},"137":{"position":[[175,9]]},"179":{"position":[[318,12]]}}}],["control",{"_index":416,"t":{"64":{"position":[[25,7]]},"82":{"position":[[742,7]]},"92":{"position":[[52,7],[381,7]]},"101":{"position":[[323,8]]},"125":{"position":[[81,8]]},"143":{"position":[[207,9]]},"227":{"position":[[50,9]]},"231":{"position":[[184,8]]},"233":{"position":[[152,9]]}}}],["convers",{"_index":153,"t":{"12":{"position":[[20,12]]},"64":{"position":[[167,12]]},"72":{"position":[[152,13],[512,13]]},"92":{"position":[[141,13]]},"127":{"position":[[135,13]]},"137":{"position":[[185,12],[437,12]]},"139":{"position":[[183,13]]},"145":{"position":[[202,12]]},"163":{"position":[[49,14]]},"191":{"position":[[16,13]]},"195":{"position":[[66,13]]},"197":{"position":[[24,13]]},"213":{"position":[[16,13]]}}}],["convert",{"_index":828,"t":{"159":{"position":[[237,9]]}}}],["copi",{"_index":394,"t":{"50":{"position":[[758,4]]},"82":{"position":[[586,4],[800,4]]},"95":{"position":[[301,4]]}}}],["cosmicstack/mercuri",{"_index":7,"t":{"2":{"position":[[57,20],[115,20]]}}}],["cost",{"_index":903,"t":{"185":{"position":[[103,4]]}}}],["cover",{"_index":536,"t":{"86":{"position":[[402,7]]}}}],["coverag",{"_index":1037,"t":{"223":{"position":[[113,9]]}}}],["cpu",{"_index":718,"t":{"129":{"position":[[680,3]]}}}],["cpu/ram",{"_index":788,"t":{"143":{"position":[[120,8]]}}}],["crash",{"_index":277,"t":{"28":{"position":[[92,5],[155,8],[247,7],[294,5]]},"36":{"position":[[169,5],[230,5],[670,5],[1119,5]]},"46":{"position":[[87,6],[233,5],[306,6]]},"54":{"position":[[182,5]]},"74":{"position":[[261,6]]}}}],["creat",{"_index":305,"t":{"36":{"position":[[44,7],[535,7],[1013,7]]},"72":{"position":[[43,8]]},"74":{"position":[[109,7]]},"82":{"position":[[194,6]]},"84":{"position":[[40,7]]},"86":{"position":[[28,6],[271,6]]},"95":{"position":[[77,7]]},"151":{"position":[[303,7],[488,6]]},"165":{"position":[[126,6],[144,8]]},"171":{"position":[[130,6]]},"193":{"position":[[224,8]]}}}],["create_fil",{"_index":730,"t":{"131":{"position":[[572,11]]},"137":{"position":[[336,12]]},"141":{"position":[[266,11]]},"165":{"position":[[114,11]]}}}],["create_issu",{"_index":532,"t":{"86":{"position":[[258,12]]}}}],["create_pr",{"_index":520,"t":{"86":{"position":[[18,9]]}}}],["credenti",{"_index":120,"t":{"8":{"position":[[280,11]]},"90":{"position":[[237,11]]},"123":{"position":[[18,11],[240,11]]}}}],["credit",{"_index":542,"t":{"88":{"position":[[218,6]]}}}],["cron",{"_index":866,"t":{"173":{"position":[[259,6]]},"189":{"position":[[33,4]]}}}],["cross",{"_index":86,"t":{"6":{"position":[[586,5]]}}}],["ctrl+c",{"_index":408,"t":{"56":{"position":[[100,6]]}}}],["ctrl+e",{"_index":427,"t":{"66":{"position":[[85,6]]}}}],["ctrl+g",{"_index":430,"t":{"66":{"position":[[108,6]]}}}],["ctrl+p",{"_index":423,"t":{"66":{"position":[[0,6]]},"227":{"position":[[152,6]]}}}],["ctrl+q",{"_index":426,"t":{"66":{"position":[[48,6]]},"227":{"position":[[185,6]]}}}],["ctrl+x",{"_index":424,"t":{"66":{"position":[[19,6]]},"227":{"position":[[164,6]]}}}],["curl",{"_index":851,"t":{"169":{"position":[[195,7]]}}}],["current",{"_index":83,"t":{"6":{"position":[[540,7]]},"8":{"position":[[50,7]]},"10":{"position":[[69,7]]},"12":{"position":[[1039,9],[1554,7],[2027,7],[2044,7]]},"34":{"position":[[91,7]]},"44":{"position":[[17,9]]},"50":{"position":[[1061,7]]},"70":{"position":[[124,7]]},"84":{"position":[[329,7]]},"97":{"position":[[279,7]]},"101":{"position":[[456,9]]},"105":{"position":[[107,9]]},"109":{"position":[[521,7]]},"115":{"position":[[129,9]]},"133":{"position":[[209,7],[222,7]]},"145":{"position":[[270,7]]},"183":{"position":[[121,7]]},"231":{"position":[[72,7]]}}}],["custom",{"_index":371,"t":{"50":{"position":[[145,9]]},"80":{"position":[[225,9]]},"177":{"position":[[343,10]]},"187":{"position":[[671,6]]}}}],["cycl",{"_index":19,"t":{"4":{"position":[[73,6]]},"145":{"position":[[230,5]]}}}],["daemon",{"_index":25,"t":{"4":{"position":[[164,6]]},"6":{"position":[[68,6],[174,6],[408,6],[459,6]]},"10":{"position":[[215,6]]},"14":{"position":[[29,6]]},"16":{"position":[[45,7]]},"20":{"position":[[106,7]]},"24":{"position":[[34,6]]},"28":{"position":[[33,6]]},"30":{"position":[[0,6]]},"36":{"position":[[287,6]]},"52":{"position":[[126,7],[327,7]]},"54":{"position":[[45,6]]},"175":{"position":[[541,6]]}}}],["daili",{"_index":129,"t":{"8":{"position":[[388,5]]},"12":{"position":[[1346,5]]},"175":{"position":[[389,5]]},"215":{"position":[[9,5]]},"217":{"position":[[11,5],[35,5]]}}}],["data",{"_index":871,"t":{"175":{"position":[[12,4]]},"207":{"position":[[317,4]]}}}],["day",{"_index":936,"t":{"191":{"position":[[47,3]]},"197":{"position":[[484,5],[571,5]]}}}],["debug",{"_index":101,"t":{"6":{"position":[[969,5]]},"18":{"position":[[78,9]]},"58":{"position":[[42,5]]}}}],["decay",{"_index":972,"t":{"197":{"position":[[508,6]]},"203":{"position":[[91,7]]}}}],["decid",{"_index":708,"t":{"129":{"position":[[382,7]]},"131":{"position":[[70,7]]},"135":{"position":[[259,7]]},"139":{"position":[[8,7]]},"143":{"position":[[180,8]]},"163":{"position":[[103,7]]}}}],["decis",{"_index":802,"t":{"147":{"position":[[224,8]]},"199":{"position":[[247,8],[263,9]]}}}],["deck",{"_index":1045,"t":{"225":{"position":[[390,6]]},"233":{"position":[[14,4]]}}}],["dedic",{"_index":775,"t":{"139":{"position":[[233,9]]},"229":{"position":[[78,9]]}}}],["deepseek",{"_index":375,"t":{"50":{"position":[[194,9]]},"185":{"position":[[45,8],[54,8]]},"187":{"position":[[261,8]]}}}],["deepseek_api_key",{"_index":902,"t":{"185":{"position":[[68,16]]},"187":{"position":[[275,17]]}}}],["deepseek_base_url",{"_index":926,"t":{"187":{"position":[[293,18]]}}}],["deepseek_model",{"_index":927,"t":{"187":{"position":[[316,15]]}}}],["default",{"_index":60,"t":{"6":{"position":[[181,9]]},"14":{"position":[[39,8]]},"44":{"position":[[117,9]]},"50":{"position":[[122,8],[380,7]]},"54":{"position":[[55,8]]},"80":{"position":[[152,8]]},"84":{"position":[[6,7]]},"95":{"position":[[422,9]]},"115":{"position":[[84,9]]},"117":{"position":[[267,7]]},"161":{"position":[[123,7]]},"179":{"position":[[180,7]]},"183":{"position":[[367,9]]},"185":{"position":[[9,7],[85,7]]},"207":{"position":[[27,8]]},"225":{"position":[[589,7]]},"235":{"position":[[149,7]]}}}],["delay",{"_index":326,"t":{"36":{"position":[[713,5]]},"46":{"position":[[373,5]]},"173":{"position":[[278,7]]},"189":{"position":[[62,7]]}}}],["deleg",{"_index":221,"t":{"12":{"position":[[1797,8]]},"30":{"position":[[76,9]]},"34":{"position":[[0,8]]},"70":{"position":[[33,10],[84,8]]},"129":{"position":[[354,10],[398,8]]},"131":{"position":[[81,9],[379,9]]},"133":{"position":[[91,8]]},"139":{"position":[[19,8],[367,9]]},"141":{"position":[[654,9]]},"147":{"position":[[123,8]]},"225":{"position":[[330,10]]}}}],["delegate_task",{"_index":747,"t":{"135":{"position":[[64,13],[337,14]]}}}],["delegate_task(\"impl",{"_index":760,"t":{"137":{"position":[[109,24]]}}}],["delegate_task(\"research",{"_index":758,"t":{"137":{"position":[[44,23]]}}}],["delet",{"_index":342,"t":{"36":{"position":[[1383,7]]},"42":{"position":[[86,7]]},"165":{"position":[[303,6]]}}}],["delete_fil",{"_index":843,"t":{"165":{"position":[[291,11]]}}}],["demot",{"_index":187,"t":{"12":{"position":[[882,6],[904,6]]},"155":{"position":[[406,6],[422,6]]}}}],["deni",{"_index":829,"t":{"159":{"position":[[352,4]]}}}],["deploy",{"_index":353,"t":{"44":{"position":[[193,11]]},"193":{"position":[[72,11]]}}}],["descript",{"_index":52,"t":{"6":{"position":[[8,11]]},"12":{"position":[[147,11]]},"68":{"position":[[8,11]]},"95":{"position":[[144,12]]},"101":{"position":[[8,11]]},"133":{"position":[[8,11]]},"135":{"position":[[52,11],[108,11]]},"143":{"position":[[258,11]]},"153":{"position":[[5,11]]},"155":{"position":[[8,11]]},"157":{"position":[[8,11]]},"159":{"position":[[8,11]]},"161":{"position":[[111,11]]}}}],["design",{"_index":300,"t":{"34":{"position":[[203,8]]}}}],["desktop",{"_index":668,"t":{"117":{"position":[[39,8]]}}}],["destruct",{"_index":132,"t":{"10":{"position":[[28,11]]}}}],["detach",{"_index":250,"t":{"16":{"position":[[62,8]]}}}],["detail",{"_index":219,"t":{"12":{"position":[[1746,8]]}}}],["details/output",{"_index":232,"t":{"12":{"position":[[2126,14]]},"70":{"position":[[256,14]]}}}],["detect",{"_index":141,"t":{"10":{"position":[[205,9]]},"46":{"position":[[123,7]]},"129":{"position":[[652,8]]},"143":{"position":[[106,8]]},"159":{"position":[[161,8]]},"197":{"position":[[418,8]]},"201":{"position":[[13,7],[207,8]]},"203":{"position":[[82,8]]}}}],["develop",{"_index":592,"t":{"95":{"position":[[345,11],[380,9],[400,11]]}}}],["developer.spotify.com/dashboard",{"_index":580,"t":{"95":{"position":[[6,31]]}}}],["devic",{"_index":559,"t":{"92":{"position":[[117,7]]},"99":{"position":[[303,6]]},"101":{"position":[[84,6],[352,7],[383,7],[400,6],[423,6]]},"105":{"position":[[164,7]]},"107":{"position":[[69,6]]},"109":{"position":[[141,6]]},"117":{"position":[[22,7],[132,7],[164,7],[178,6],[239,6],[275,7],[292,6],[299,7],[315,6],[385,7]]},"125":{"position":[[251,7]]}}}],["diagnost",{"_index":89,"t":{"6":{"position":[[631,11]]},"225":{"position":[[540,11]]},"235":{"position":[[91,11]]}}}],["diff",{"_index":469,"t":{"74":{"position":[[319,4]]},"86":{"position":[[118,5]]}}}],["differ",{"_index":488,"t":{"80":{"position":[[304,9]]}}}],["digest",{"_index":1027,"t":{"215":{"position":[[15,6]]},"217":{"position":[[41,6]]}}}],["dir",{"_index":840,"t":{"165":{"position":[[160,5]]}}}],["direct",{"_index":1004,"t":{"203":{"position":[[0,6]]}}}],["directli",{"_index":263,"t":{"18":{"position":[[119,9]]},"90":{"position":[[178,8]]},"187":{"position":[[112,8]]},"213":{"position":[[113,8]]}}}],["directori",{"_index":42,"t":{"4":{"position":[[382,9],[499,9]]},"50":{"position":[[912,10]]},"68":{"position":[[43,9]]},"165":{"position":[[267,9],[418,9]]},"169":{"position":[[91,9]]},"175":{"position":[[60,10]]},"179":{"position":[[254,9]]}}}],["disabl",{"_index":124,"t":{"8":{"position":[[322,7]]},"12":{"position":[[1152,7]]},"161":{"position":[[341,7]]},"207":{"position":[[39,7],[183,9]]}}}],["disclosur",{"_index":1028,"t":{"217":{"position":[[181,10]]}}}],["disconnect",{"_index":614,"t":{"101":{"position":[[231,10]]}}}],["discoveri",{"_index":389,"t":{"50":{"position":[[544,9]]}}}],["dislik",{"_index":979,"t":{"199":{"position":[[117,7]]}}}],["dismiss",{"_index":974,"t":{"197":{"position":[[551,9]]}}}],["display",{"_index":676,"t":{"119":{"position":[[179,7]]}}}],["dj",{"_index":558,"t":{"92":{"position":[[106,2]]}}}],["doc",{"_index":1036,"t":{"223":{"position":[[108,4]]},"229":{"position":[[105,4]]},"235":{"position":[[20,4]]},"237":{"position":[[84,5]]}}}],["docker",{"_index":345,"t":{"44":{"position":[[44,6],[95,6]]},"235":{"position":[[174,6],[213,6]]}}}],["dockerfil",{"_index":348,"t":{"44":{"position":[[81,10]]}}}],["doctor",{"_index":77,"t":{"6":{"position":[[490,6],[563,6],[690,7]]},"8":{"position":[[8,6],[441,6]]},"10":{"position":[[98,6]]},"12":{"position":[[1593,6],[1645,6]]},"50":{"position":[[975,7]]},"72":{"position":[[430,7]]},"76":{"position":[[12,6],[63,6]]},"97":{"position":[[12,6],[68,6]]},"161":{"position":[[34,6],[331,6]]},"183":{"position":[[209,6],[340,6]]},"187":{"position":[[12,6]]},"225":{"position":[[569,6]]},"237":{"position":[[133,6]]}}}],["document",{"_index":825,"t":{"159":{"position":[[146,9]]}}}],["docusauru",{"_index":1060,"t":{"235":{"position":[[9,10]]}}}],["doesn't",{"_index":689,"t":{"125":{"position":[[335,7]]},"137":{"position":[[450,7]]}}}],["don't",{"_index":547,"t":{"90":{"position":[[249,5],[266,5]]}}}],["done",{"_index":736,"t":{"131":{"position":[[773,5]]},"135":{"position":[[577,5]]}}}],["driven",{"_index":707,"t":{"129":{"position":[[347,6]]}}}],["due",{"_index":543,"t":{"88":{"position":[[236,4]]}}}],["durabl",{"_index":958,"t":{"197":{"position":[[117,10],[530,7],[622,8]]},"199":{"position":[[35,7],[91,7],[206,7],[308,7],[362,7],[451,7]]}}}],["dure",{"_index":152,"t":{"12":{"position":[[11,6],[2571,6]]},"50":{"position":[[655,6]]},"147":{"position":[[152,6]]},"151":{"position":[[134,6]]},"161":{"position":[[19,6],[316,6]]},"163":{"position":[[42,6]]},"177":{"position":[[454,6]]},"179":{"position":[[357,6]]}}}],["e.g",{"_index":502,"t":{"82":{"position":[[312,5],[671,5]]},"139":{"position":[[69,6]]},"143":{"position":[[145,6]]},"169":{"position":[[189,5]]},"201":{"position":[[39,5]]}}}],["each",{"_index":383,"t":{"50":{"position":[[302,4]]},"129":{"position":[[195,4]]},"137":{"position":[[375,4]]},"179":{"position":[[716,4]]},"187":{"position":[[183,4]]},"197":{"position":[[19,4],[155,4]]}}}],["easiest",{"_index":400,"t":{"52":{"position":[[35,7]]}}}],["edit",{"_index":821,"t":{"159":{"position":[[54,7]]},"177":{"position":[[307,4]]},"187":{"position":[[124,4]]}}}],["edit_fil",{"_index":763,"t":{"137":{"position":[[260,10]]},"141":{"position":[[225,9]]},"165":{"position":[[180,9]]}}}],["effect",{"_index":904,"t":{"185":{"position":[[108,9]]}}}],["elev",{"_index":894,"t":{"177":{"position":[[360,10]]},"217":{"position":[[110,8]]}}}],["email",{"_index":485,"t":{"80":{"position":[[239,5]]},"95":{"position":[[534,5]]}}}],["emerg",{"_index":739,"t":{"133":{"position":[[326,10]]}}}],["empti",{"_index":43,"t":{"4":{"position":[[396,6]]}}}],["enabl",{"_index":320,"t":{"36":{"position":[[618,7],[647,6],[792,6]]},"46":{"position":[[487,6]]},"50":{"position":[[639,6]]},"115":{"position":[[94,6]]},"143":{"position":[[65,8]]},"161":{"position":[[252,6]]},"195":{"position":[[85,8]]},"207":{"position":[[16,7]]}}}],["enable/dis",{"_index":792,"t":{"143":{"position":[[288,14]]},"161":{"position":[[195,14]]}}}],["endpoint",{"_index":474,"t":{"74":{"position":[[410,8]]},"86":{"position":[[389,8]]},"123":{"position":[[367,10]]},"131":{"position":[[170,9],[257,10],[681,10]]},"141":{"position":[[502,9]]},"185":{"position":[[311,8]]}}}],["enhanc",{"_index":659,"t":{"115":{"position":[[51,11]]}}}],["enotempti",{"_index":33,"t":{"4":{"position":[[243,9],[346,9],[371,10]]}}}],["enough",{"_index":750,"t":{"135":{"position":[[285,6]]},"139":{"position":[[215,6]]}}}],["ensur",{"_index":57,"t":{"6":{"position":[[77,6]]},"52":{"position":[[138,7]]},"151":{"position":[[382,7]]}}}],["enter",{"_index":81,"t":{"6":{"position":[[526,5]]},"8":{"position":[[83,5]]},"50":{"position":[[584,5],[1043,5]]},"62":{"position":[[8,5]]},"84":{"position":[[106,5],[298,5]]},"97":{"position":[[117,6],[242,5]]},"151":{"position":[[339,7]]},"187":{"position":[[23,5]]}}}],["env",{"_index":924,"t":{"187":{"position":[[201,3]]}}}],["environ",{"_index":133,"t":{"10":{"position":[[77,12]]},"143":{"position":[[217,11]]},"187":{"position":[[90,11],[161,11]]},"207":{"position":[[51,11]]},"227":{"position":[[347,13]]}}}],["episod",{"_index":885,"t":{"175":{"position":[[458,8]]},"199":{"position":[[393,7]]}}}],["equal",{"_index":998,"t":{"201":{"position":[[123,6]]}}}],["error",{"_index":34,"t":{"4":{"position":[[253,6]]},"125":{"position":[[45,5],[142,6]]}}}],["error.log",{"_index":315,"t":{"36":{"position":[[344,9]]}}}],["esc",{"_index":425,"t":{"66":{"position":[[41,3]]},"113":{"position":[[121,3]]},"227":{"position":[[179,3]]},"233":{"position":[[116,5]]}}}],["escap",{"_index":534,"t":{"86":{"position":[[368,6]]}}}],["etc",{"_index":151,"t":{"10":{"position":[[302,5]]},"185":{"position":[[177,4]]}}}],["even",{"_index":742,"t":{"133":{"position":[[533,4]]}}}],["event",{"_index":989,"t":{"199":{"position":[[417,6]]}}}],["everyth",{"_index":264,"t":{"20":{"position":[[33,11]]}}}],["exactli",{"_index":586,"t":{"95":{"position":[[254,7]]}}}],["exampl",{"_index":480,"t":{"78":{"position":[[92,8]]},"187":{"position":[[252,8]]}}}],["except",{"_index":493,"t":{"82":{"position":[[153,6]]},"123":{"position":[[346,6]]},"179":{"position":[[291,7]]}}}],["execut",{"_index":293,"t":{"30":{"position":[[38,9]]},"64":{"position":[[108,7]]},"66":{"position":[[28,7]]},"129":{"position":[[265,9]]},"135":{"position":[[317,10]]},"145":{"position":[[142,7],[150,7]]},"147":{"position":[[165,8]]},"169":{"position":[[41,7]]},"177":{"position":[[118,8],[461,10]]},"179":{"position":[[726,9]]},"223":{"position":[[81,9]]},"227":{"position":[[171,7]]},"237":{"position":[[69,10]]}}}],["exist",{"_index":399,"t":{"50":{"position":[[983,8]]},"151":{"position":[[277,5],[455,7]]},"165":{"position":[[86,8]]}}}],["exit",{"_index":150,"t":{"10":{"position":[[296,5]]},"12":{"position":[[311,4],[1857,4],[1862,4]]},"28":{"position":[[277,5]]},"56":{"position":[[110,5]]},"66":{"position":[[57,4]]},"68":{"position":[[248,4],[253,4]]},"111":{"position":[[171,4]]},"113":{"position":[[127,4]]},"227":{"position":[[192,4]]}}}],["expand",{"_index":1059,"t":{"235":{"position":[[0,8]]}}}],["experi",{"_index":990,"t":{"199":{"position":[[428,11]]}}}],["expir",{"_index":503,"t":{"82":{"position":[[344,10],[703,10]]},"119":{"position":[[263,7],[299,7]]},"125":{"position":[[425,7]]}}}],["explicit",{"_index":439,"t":{"70":{"position":[[24,8]]}}}],["explicitli",{"_index":778,"t":{"139":{"position":[[326,11]]},"203":{"position":[[9,10]]}}}],["explor",{"_index":428,"t":{"66":{"position":[[94,8]]},"225":{"position":[[105,9]]}}}],["exponenti",{"_index":280,"t":{"28":{"position":[[195,11]]},"36":{"position":[[1158,11]]},"54":{"position":[[202,11]]}}}],["express",{"_index":934,"t":{"189":{"position":[[38,11]]}}}],["extend",{"_index":599,"t":{"95":{"position":[[695,8]]}}}],["extens",{"_index":1020,"t":{"209":{"position":[[26,10]]}}}],["extern",{"_index":545,"t":{"90":{"position":[[136,8]]},"123":{"position":[[197,11]]}}}],["extract",{"_index":950,"t":{"195":{"position":[[111,9]]},"197":{"position":[[0,10]]},"207":{"position":[[272,11]]}}}],["f",{"_index":65,"t":{"6":{"position":[[270,1]]},"18":{"position":[[155,2]]},"36":{"position":[[1410,2]]},"42":{"position":[[113,2]]},"56":{"position":[[240,2]]}}}],["fact",{"_index":952,"t":{"195":{"position":[[143,5]]},"197":{"position":[[56,5]]},"207":{"position":[[231,4]]}}}],["fail",{"_index":390,"t":{"50":{"position":[[554,6]]},"99":{"position":[[213,6]]},"181":{"position":[[108,6]]}}}],["failur",{"_index":324,"t":{"36":{"position":[[697,7]]},"46":{"position":[[361,8]]}}}],["fall",{"_index":665,"t":{"115":{"position":[[191,5]]},"181":{"position":[[66,5]]},"207":{"position":[[201,5]]}}}],["fallback",{"_index":147,"t":{"10":{"position":[[274,9]]}}}],["fals",{"_index":290,"t":{"28":{"position":[[380,5]]},"36":{"position":[[212,5]]},"161":{"position":[[227,5]]},"207":{"position":[[145,5]]}}}],["famili",{"_index":1051,"t":{"229":{"position":[[23,6]]}}}],["fast",{"_index":746,"t":{"133":{"position":[[604,4]]}}}],["featur",{"_index":567,"t":{"92":{"position":[[287,8]]},"125":{"position":[[100,8]]},"159":{"position":[[0,7]]}}}],["feedback",{"_index":655,"t":{"111":{"position":[[205,8]]},"233":{"position":[[50,9]]}}}],["fetch",{"_index":117,"t":{"8":{"position":[[247,7]]},"50":{"position":[[326,7],[508,8]]},"86":{"position":[[107,5]]},"125":{"position":[[542,5]]},"173":{"position":[[37,5]]}}}],["fetch_url",{"_index":781,"t":{"141":{"position":[[255,10]]},"173":{"position":[[27,9]]}}}],["fi",{"_index":642,"t":{"109":{"position":[[102,2]]}}}],["field",{"_index":105,"t":{"8":{"position":[[96,5]]},"76":{"position":[[47,7]]},"84":{"position":[[311,5]]},"97":{"position":[[261,5]]}}}],["file",{"_index":253,"t":{"16":{"position":[[99,4],[187,5]]},"22":{"position":[[99,5]]},"28":{"position":[[73,4],[317,5]]},"54":{"position":[[149,5]]},"68":{"position":[[91,4],[145,4],[217,6],[231,4]]},"74":{"position":[[235,5]]},"90":{"position":[[217,4]]},"123":{"position":[[220,4]]},"129":{"position":[[522,4]]},"137":{"position":[[686,4],[718,5]]},"149":{"position":[[97,4]]},"159":{"position":[[107,4]]},"165":{"position":[[44,4],[95,4],[139,4],[219,4],[312,4],[337,4]]},"171":{"position":[[63,4],[113,5]]},"179":{"position":[[113,4]]},"207":{"position":[[107,5]]}}}],["filesystem",{"_index":898,"t":{"179":{"position":[[626,10]]}}}],["file|al",{"_index":435,"t":{"68":{"position":[[124,10]]}}}],["fill",{"_index":104,"t":{"8":{"position":[[69,7]]},"76":{"position":[[23,4]]},"95":{"position":[[90,4]]}}}],["filter",{"_index":529,"t":{"86":{"position":[[190,6]]}}}],["fine",{"_index":496,"t":{"82":{"position":[[212,4]]}}}],["finish",{"_index":395,"t":{"50":{"position":[[836,6]]}}}],["first",{"_index":31,"t":{"4":{"position":[[226,5]]},"12":{"position":[[612,5],[2470,5]]},"44":{"position":[[32,5]]},"50":{"position":[[20,5],[662,5]]},"52":{"position":[[304,6]]},"64":{"position":[[74,6]]},"97":{"position":[[41,5]]},"117":{"position":[[246,6]]},"149":{"position":[[65,5]]},"151":{"position":[[71,5],[243,5]]},"153":{"position":[[45,5]]},"155":{"position":[[145,5]]},"179":{"position":[[452,5],[519,5]]},"211":{"position":[[3,5]]},"235":{"position":[[201,5]]}}}],["five",{"_index":454,"t":{"72":{"position":[[183,4]]}}}],["fix",{"_index":40,"t":{"4":{"position":[[356,3]]}}}],["flight",{"_index":231,"t":{"12":{"position":[[2055,6]]},"70":{"position":[[149,6]]},"133":{"position":[[233,6]]}}}],["flow",{"_index":128,"t":{"8":{"position":[[383,4]]},"50":{"position":[[715,5]]},"101":{"position":[[117,4]]},"125":{"position":[[377,5]]},"151":{"position":[[129,4]]},"183":{"position":[[234,4]]},"223":{"position":[[64,5]]},"227":{"position":[[272,5]]}}}],["fo",{"_index":341,"t":{"36":{"position":[[1332,3]]},"42":{"position":[[35,3]]}}}],["focu",{"_index":776,"t":{"139":{"position":[[243,5]]}}}],["focus",{"_index":412,"t":{"60":{"position":[[63,7]]},"223":{"position":[[14,7]]}}}],["follow",{"_index":986,"t":{"199":{"position":[[342,6]]},"217":{"position":[[62,6]]}}}],["foreground",{"_index":61,"t":{"6":{"position":[[207,10],[227,10]]},"18":{"position":[[16,10]]},"44":{"position":[[212,10],[245,11]]},"56":{"position":[[16,10]]}}}],["format",{"_index":387,"t":{"50":{"position":[[489,6]]},"84":{"position":[[131,8],[284,7]]},"159":{"position":[[203,10]]}}}],["four",{"_index":475,"t":{"76":{"position":[[35,4]]}}}],["free",{"_index":571,"t":{"92":{"position":[[349,4]]},"125":{"position":[[123,4],[197,4]]}}}],["fresh",{"_index":272,"t":{"24":{"position":[[63,5]]},"125":{"position":[[474,5]]},"155":{"position":[[564,6]]},"225":{"position":[[625,5]]}}}],["full",{"_index":17,"t":{"4":{"position":[[61,4]]},"6":{"position":[[720,4]]},"12":{"position":[[174,4],[1759,4]]},"74":{"position":[[344,4]]},"82":{"position":[[736,5]]},"133":{"position":[[388,4]]},"141":{"position":[[451,4]]}}}],["fundament",{"_index":696,"t":{"127":{"position":[[206,14]]}}}],["g",{"_index":6,"t":{"2":{"position":[[55,1]]},"4":{"position":[[430,1]]}}}],["gain",{"_index":811,"t":{"151":{"position":[[420,4]]}}}],["gate",{"_index":1058,"t":{"233":{"position":[[173,5]]},"235":{"position":[[142,6]]}}}],["gemini",{"_index":931,"t":{"187":{"position":[[500,7]]}}}],["gener",{"_index":224,"t":{"12":{"position":[[1894,7]]},"46":{"position":[[149,9]]},"68":{"position":[[281,7]]},"82":{"position":[[567,8],[781,8]]},"197":{"position":[[383,9]]},"199":{"position":[[466,9]]},"203":{"position":[[159,9]]}}}],["git",{"_index":431,"t":{"66":{"position":[[117,3]]},"68":{"position":[[103,3]]},"177":{"position":[[171,3]]},"225":{"position":[[124,3]]}}}],["git_add",{"_index":855,"t":{"171":{"position":[[99,7]]}}}],["git_commit",{"_index":538,"t":{"88":{"position":[[32,11]]},"171":{"position":[[119,10]]}}}],["git_diff",{"_index":853,"t":{"171":{"position":[[49,8]]}}}],["git_log",{"_index":854,"t":{"171":{"position":[[76,7]]}}}],["git_push",{"_index":856,"t":{"171":{"position":[[146,8]]}}}],["git_statu",{"_index":852,"t":{"171":{"position":[[18,10]]}}}],["github",{"_index":444,"t":{"72":{"position":[[24,6],[188,6],[361,6]]},"74":{"position":[[403,6]]},"76":{"position":[[40,6]]},"78":{"position":[[5,6]]},"80":{"position":[[209,7]]},"82":{"position":[[54,6]]},"84":{"position":[[379,6]]},"86":{"position":[[345,6]]},"90":{"position":[[28,6],[167,6]]}}}],["github'",{"_index":494,"t":{"82":{"position":[[160,8]]},"88":{"position":[[185,8]]}}}],["github.com/settings/person",{"_index":499,"t":{"82":{"position":[[250,28]]}}}],["github.com/settings/tokens/new",{"_index":512,"t":{"82":{"position":[[625,30]]}}}],["github_api",{"_index":472,"t":{"74":{"position":[[366,10]]},"86":{"position":[[330,10]]}}}],["github_email",{"_index":487,"t":{"80":{"position":[[275,12]]}}}],["github_token",{"_index":461,"t":{"72":{"position":[[391,12]]}}}],["give",{"_index":501,"t":{"82":{"position":[[297,4],[656,4]]},"88":{"position":[[211,6]]},"99":{"position":[[265,4]]}}}],["global",{"_index":35,"t":{"4":{"position":[[288,8]]}}}],["go",{"_index":405,"t":{"54":{"position":[[110,2]]},"82":{"position":[[244,2],[619,2]]},"95":{"position":[[0,2],[472,2]]}}}],["goal",{"_index":953,"t":{"195":{"position":[[179,6]]},"199":{"position":[[125,4]]}}}],["googl",{"_index":930,"t":{"187":{"position":[[493,6]]}}}],["gpt",{"_index":905,"t":{"185":{"position":[[125,3],[152,3],[165,3],[333,3],[409,3]]}}}],["grain",{"_index":497,"t":{"82":{"position":[[217,7]]}}}],["grant",{"_index":507,"t":{"82":{"position":[[473,6]]},"95":{"position":[[440,5]]}}}],["grok",{"_index":378,"t":{"50":{"position":[[223,5]]},"185":{"position":[[262,4],[273,4]]}}}],["grok_api_key",{"_index":917,"t":{"185":{"position":[[280,12]]}}}],["group",{"_index":813,"t":{"151":{"position":[[644,6]]}}}],["grow",{"_index":949,"t":{"195":{"position":[[49,5]]}}}],["guidanc",{"_index":1061,"t":{"235":{"position":[[188,8]]}}}],["habit",{"_index":954,"t":{"195":{"position":[[196,7]]},"199":{"position":[[200,5]]}}}],["haiku",{"_index":914,"t":{"185":{"position":[[250,6]]}}}],["halt",{"_index":738,"t":{"133":{"position":[[320,5],[337,4],[400,4],[487,6]]},"135":{"position":[[206,4]]}}}],["handl",{"_index":16,"t":{"4":{"position":[[49,7]]},"44":{"position":[[304,6]]},"92":{"position":[[235,7]]},"127":{"position":[[88,6]]}}}],["handoff",{"_index":1053,"t":{"229":{"position":[[163,7]]}}}],["hatch",{"_index":535,"t":{"86":{"position":[[375,5]]}}}],["head",{"_index":523,"t":{"86":{"position":[[68,4]]}}}],["heartbeat",{"_index":877,"t":{"175":{"position":[[212,10]]}}}],["help",{"_index":93,"t":{"6":{"position":[[706,4]]},"12":{"position":[[159,5]]},"74":{"position":[[82,5]]}}}],["here",{"_index":609,"t":{"99":{"position":[[410,5]]}}}],["higher",{"_index":996,"t":{"201":{"position":[[92,6]]}}}],["highest",{"_index":1005,"t":{"203":{"position":[[34,8]]}}}],["histori",{"_index":541,"t":{"88":{"position":[[201,7]]},"171":{"position":[[91,7]]}}}],["hit",{"_index":473,"t":{"74":{"position":[[395,3]]}}}],["hook",{"_index":1056,"t":{"231":{"position":[[220,5]]}}}],["hotheadhack",{"_index":481,"t":{"78":{"position":[[101,13]]}}}],["hotheadhacker/mercuri",{"_index":515,"t":{"84":{"position":[[140,21]]}}}],["hour",{"_index":946,"t":{"193":{"position":[[56,5]]}}}],["html",{"_index":826,"t":{"159":{"position":[[198,4],[270,4]]},"173":{"position":[[68,5]]}}}],["http://127.0.0.1:8888/callback",{"_index":584,"t":{"95":{"position":[[205,30]]}}}],["https://example.com/mi",{"_index":1026,"t":{"213":{"position":[[50,22]]}}}],["https://github.com/hotheadhacker/mercuri",{"_index":516,"t":{"84":{"position":[[168,40]]}}}],["i'll",{"_index":756,"t":{"135":{"position":[[551,4]]}}}],["i'v",{"_index":726,"t":{"131":{"position":[[374,4]]}}}],["id",{"_index":184,"t":{"12":{"position":[[683,4],[756,4],[822,4],[889,4],[1877,3],[2116,4],[2176,4]]},"32":{"position":[[55,4],[83,4]]},"60":{"position":[[23,3]]},"70":{"position":[[239,4],[282,4]]},"95":{"position":[[317,2]]},"97":{"position":[[139,2],[161,2]]},"101":{"position":[[407,4]]},"117":{"position":[[307,3],[322,2]]},"119":{"position":[[198,3]]},"123":{"position":[[50,2]]},"135":{"position":[[243,2]]},"155":{"position":[[193,2]]},"223":{"position":[[60,3]]},"225":{"position":[[91,3]]},"231":{"position":[[135,5],[152,5]]}}}],["ident",{"_index":978,"t":{"199":{"position":[[26,8]]}}}],["identifi",{"_index":478,"t":{"78":{"position":[[62,11]]}}}],["idl",{"_index":690,"t":{"125":{"position":[[444,4]]}}}],["ignor",{"_index":815,"t":{"151":{"position":[[674,8]]}}}],["immedi",{"_index":510,"t":{"82":{"position":[[594,11],[808,11]]},"133":{"position":[[129,11],[587,11]]}}}],["implement",{"_index":420,"t":{"64":{"position":[[118,14]]},"145":{"position":[[158,9]]}}}],["import",{"_index":957,"t":{"197":{"position":[[101,11]]}}}],["improv",{"_index":1038,"t":{"225":{"position":[[35,8]]},"227":{"position":[[60,8],[207,8],[305,7]]}}}],["includ",{"_index":12,"t":{"4":{"position":[[8,8]]},"28":{"position":[[123,8]]},"54":{"position":[[173,8]]},"60":{"position":[[8,8]]},"80":{"position":[[44,8]]},"237":{"position":[[13,8]]}}}],["independ",{"_index":728,"t":{"131":{"position":[[493,14]]},"137":{"position":[[477,11]]},"139":{"position":[[258,11]]}}}],["indic",{"_index":822,"t":{"159":{"position":[[74,10]]}}}],["infer",{"_index":971,"t":{"197":{"position":[[490,8]]},"203":{"position":[[55,8]]}}}],["info",{"_index":241,"t":{"12":{"position":[[2397,7]]},"28":{"position":[[84,7]]},"50":{"position":[[923,7]]},"72":{"position":[[328,7]]},"92":{"position":[[253,7]]},"111":{"position":[[225,4]]},"119":{"position":[[172,4]]},"121":{"position":[[51,5]]},"151":{"position":[[235,7]]}}}],["initi",{"_index":812,"t":{"151":{"position":[[425,7]]},"161":{"position":[[44,7]]}}}],["inject",{"_index":963,"t":{"197":{"position":[[228,8]]}}}],["ink",{"_index":406,"t":{"56":{"position":[[75,3]]},"225":{"position":[[4,3]]}}}],["inlin",{"_index":143,"t":{"10":{"position":[[237,6]]},"115":{"position":[[17,6]]},"147":{"position":[[293,6]]},"149":{"position":[[115,6]]},"159":{"position":[[275,6]]},"179":{"position":[[479,6]]},"205":{"position":[[83,6],[150,6],[282,6],[345,6],[422,6]]},"225":{"position":[[437,6]]},"233":{"position":[[179,6]]}}}],["input",{"_index":1049,"t":{"227":{"position":[[322,5]]}}}],["insid",{"_index":355,"t":{"44":{"position":[[257,6]]},"113":{"position":[[0,6]]}}}],["insight",{"_index":991,"t":{"199":{"position":[[476,8]]}}}],["inspect",{"_index":294,"t":{"32":{"position":[[25,7]]},"70":{"position":[[186,7]]}}}],["instal",{"_index":4,"t":{"2":{"position":[[30,7],[99,11]]},"4":{"position":[[260,8],[516,10]]},"6":{"position":[[44,7],[780,7],[788,7]]},"12":{"position":[[1075,9]]},"20":{"position":[[45,8]]},"36":{"position":[[36,7],[527,7],[1005,7]]},"46":{"position":[[0,7],[110,7]]},"52":{"position":[[76,8],[274,9],[292,8]]},"173":{"position":[[102,7],[162,9]]},"175":{"position":[[302,9]]},"213":{"position":[[30,8]]},"225":{"position":[[631,9]]}}}],["install_skil",{"_index":860,"t":{"173":{"position":[[88,13]]}}}],["instanc",{"_index":820,"t":{"157":{"position":[[159,8]]},"185":{"position":[[448,8]]}}}],["instead",{"_index":47,"t":{"4":{"position":[[462,7]]},"50":{"position":[[598,7]]}}}],["integr",{"_index":582,"t":{"95":{"position":[[179,11]]},"131":{"position":[[43,11],[230,11],[730,11]]},"141":{"position":[[553,11]]},"225":{"position":[[282,11]]},"231":{"position":[[28,11]]}}}],["interact",{"_index":62,"t":{"6":{"position":[[238,13]]},"44":{"position":[[411,11]]},"56":{"position":[[182,11]]},"101":{"position":[[289,11]]},"111":{"position":[[40,11]]},"225":{"position":[[14,11]]}}}],["interfac",{"_index":404,"t":{"54":{"position":[[94,10]]},"56":{"position":[[83,10]]},"149":{"position":[[71,9]]}}}],["interrupt",{"_index":897,"t":{"179":{"position":[[343,13]]},"229":{"position":[[174,11]]}}}],["introduc",{"_index":1050,"t":{"229":{"position":[[0,10]]}}}],["investig",{"_index":777,"t":{"139":{"position":[[270,14]]}}}],["invok",{"_index":863,"t":{"173":{"position":[[196,6]]}}}],["involv",{"_index":798,"t":{"147":{"position":[[87,8]]}}}],["isn't",{"_index":274,"t":{"24":{"position":[[96,5]]},"52":{"position":[[268,5]]},"127":{"position":[[8,5]]}}}],["isol",{"_index":706,"t":{"129":{"position":[[318,8]]},"137":{"position":[[87,9],[153,9]]},"139":{"position":[[131,8]]}}}],["issu",{"_index":449,"t":{"72":{"position":[[91,7]]},"74":{"position":[[193,5],[224,7]]},"82":{"position":[[537,6]]},"84":{"position":[[51,6]]},"86":{"position":[[197,6],[284,5]]},"125":{"position":[[0,5]]}}}],["it'",{"_index":267,"t":{"20":{"position":[[150,4]]},"52":{"position":[[146,4]]},"82":{"position":[[90,4]]},"88":{"position":[[231,4]]},"90":{"position":[[318,4]]},"127":{"position":[[31,4]]},"135":{"position":[[572,4]]},"147":{"position":[[288,4]]}}}],["iterm",{"_index":664,"t":{"115":{"position":[[162,5]]},"233":{"position":[[228,5]]}}}],["itself",{"_index":678,"t":{"119":{"position":[[292,6]]},"129":{"position":[[375,6]]}}}],["job",{"_index":784,"t":{"141":{"position":[[645,4]]}}}],["journalctl",{"_index":330,"t":{"36":{"position":[[848,10]]}}}],["jsonl",{"_index":1015,"t":{"207":{"position":[[243,7]]}}}],["keep",{"_index":82,"t":{"6":{"position":[[535,4]]},"8":{"position":[[105,4]]},"14":{"position":[[77,4]]},"34":{"position":[[215,4]]},"50":{"position":[[1052,4]]},"84":{"position":[[320,4]]},"97":{"position":[[270,4]]},"129":{"position":[[455,4]]},"141":{"position":[[8,4]]}}}],["keepal",{"_index":310,"t":{"36":{"position":[[185,9]]},"46":{"position":[[284,9]]}}}],["key",{"_index":110,"t":{"8":{"position":[[163,4]]},"12":{"position":[[278,3]]},"50":{"position":[[313,4],[467,4],[594,3],[938,4],[996,4],[1091,3]]},"101":{"position":[[319,3]]},"111":{"position":[[58,3]]},"147":{"position":[[266,3]]},"179":{"position":[[413,3]]},"185":{"position":[[27,3],[424,3]]},"187":{"position":[[33,4],[222,4],[361,3],[695,4]]},"205":{"position":[[63,3],[132,3],[188,3],[265,3],[327,3],[385,3]]}}}],["keybind",{"_index":146,"t":{"10":{"position":[[263,10]]}}}],["keyboard",{"_index":807,"t":{"149":{"position":[[131,10]]},"159":{"position":[[282,9]]},"179":{"position":[[486,8]]},"225":{"position":[[152,8]]},"233":{"position":[[66,8]]}}}],["label",{"_index":530,"t":{"86":{"position":[[238,6],[308,7]]}}}],["languag",{"_index":229,"t":{"12":{"position":[[1985,8]]},"133":{"position":[[167,8]]}}}],["last",{"_index":69,"t":{"6":{"position":[[390,4]]},"26":{"position":[[23,4]]},"181":{"position":[[160,4]]}}}],["later",{"_index":182,"t":{"12":{"position":[[636,5],[2585,5]]},"121":{"position":[[88,6]]}}}],["latest",{"_index":21,"t":{"4":{"position":[[129,6],[273,6]]}}}],["launch",{"_index":652,"t":{"111":{"position":[[28,8]]}}}],["launchag",{"_index":306,"t":{"36":{"position":[[54,11],[263,12]]},"46":{"position":[[254,11]]}}}],["launchctl",{"_index":309,"t":{"36":{"position":[[154,9],[373,9],[441,9]]},"38":{"position":[[0,9],[68,9]]}}}],["learn",{"_index":1010,"t":{"205":{"position":[[250,8],[312,8]]}}}],["leav",{"_index":459,"t":{"72":{"position":[[294,7]]},"207":{"position":[[408,6]]}}}],["legitim",{"_index":810,"t":{"151":{"position":[[399,10]]}}}],["let",{"_index":384,"t":{"50":{"position":[[362,4]]},"70":{"position":[[325,4]]},"72":{"position":[[254,7]]},"74":{"position":[[382,4]]},"147":{"position":[[192,4]]}}}],["level",{"_index":313,"t":{"36":{"position":[[257,5],[740,5]]},"183":{"position":[[290,5]]}}}],["librari",{"_index":629,"t":{"105":{"position":[[319,7]]}}}],["library/launchagents/com.cosmicstack.mercury.plist",{"_index":307,"t":{"36":{"position":[[69,53],[388,52],[458,52]]},"38":{"position":[[15,52],[85,52]]}}}],["lifecycl",{"_index":1042,"t":{"225":{"position":[[272,9]]},"231":{"position":[[51,10],[210,9]]}}}],["like",{"_index":1002,"t":{"201":{"position":[[170,7]]}}}],["limit",{"_index":130,"t":{"8":{"position":[[427,5]]},"36":{"position":[[1205,7],[1229,8]]},"92":{"position":[[505,11]]}}}],["line",{"_index":71,"t":{"6":{"position":[[399,5]]},"26":{"position":[[32,5]]}}}],["linger",{"_index":328,"t":{"36":{"position":[[799,6]]},"46":{"position":[[494,6]]}}}],["link",{"_index":605,"t":{"97":{"position":[[365,4]]}}}],["linux",{"_index":304,"t":{"36":{"position":[[6,5]]},"46":{"position":[[313,5],[443,6]]}}}],["list",{"_index":176,"t":{"12":{"position":[[456,4],[520,4],[1030,4],[1070,4],[1446,4],[2085,4],[2264,4]]},"32":{"position":[[42,4]]},"34":{"position":[[179,5]]},"36":{"position":[[1336,4]]},"42":{"position":[[39,4]]},"70":{"position":[[179,4]]},"86":{"position":[[181,4]]},"101":{"position":[[360,4]]},"105":{"position":[[141,4]]},"133":{"position":[[28,4],[275,4],[280,4]]},"141":{"position":[[631,4]]},"155":{"position":[[37,4]]},"165":{"position":[[262,4]]},"173":{"position":[[157,4]]},"231":{"position":[[125,5]]}}}],["list_ag",{"_index":748,"t":{"135":{"position":[[141,11]]}}}],["list_dir",{"_index":731,"t":{"131":{"position":[[604,9]]},"137":{"position":[[286,9]]},"165":{"position":[[253,8]]}}}],["list_issu",{"_index":528,"t":{"86":{"position":[[169,11]]}}}],["list_scheduled_task",{"_index":868,"t":{"173":{"position":[[301,20]]}}}],["list_skil",{"_index":861,"t":{"173":{"position":[[145,11]]}}}],["live",{"_index":675,"t":{"119":{"position":[[84,6],[127,6]]},"125":{"position":[[551,4]]},"175":{"position":[[17,5]]},"209":{"position":[[42,4]]},"225":{"position":[[249,4]]}}}],["llm",{"_index":372,"t":{"50":{"position":[[158,3]]},"129":{"position":[[343,3]]},"143":{"position":[[175,4]]},"181":{"position":[[19,3]]}}}],["lo",{"_index":641,"t":{"109":{"position":[[98,3]]}}}],["load",{"_index":190,"t":{"12":{"position":[[1049,6]]},"36":{"position":[[135,5],[164,4],[383,4]]},"38":{"position":[[10,4]]},"217":{"position":[[157,6]]}}}],["local",{"_index":381,"t":{"50":{"position":[[250,6]]},"82":{"position":[[102,7]]},"99":{"position":[[141,7]]},"115":{"position":[[156,5]]},"117":{"position":[[87,8]]},"123":{"position":[[303,8]]},"185":{"position":[[403,5],[435,5]]},"187":{"position":[[339,5],[443,5]]},"207":{"position":[[332,7]]},"233":{"position":[[234,5]]}}}],["lock",{"_index":710,"t":{"129":{"position":[[527,5],[549,5]]},"133":{"position":[[434,6]]},"137":{"position":[[691,5],[741,4]]}}}],["log",{"_index":68,"t":{"6":{"position":[[380,4],[415,4],[975,7]]},"26":{"position":[[8,4]]},"28":{"position":[[69,3]]},"36":{"position":[[294,5],[817,5],[1238,5]]},"54":{"position":[[105,4]]},"58":{"position":[[48,4]]},"95":{"position":[[38,3]]},"175":{"position":[[553,4]]}}}],["login",{"_index":308,"t":{"36":{"position":[[144,5],[767,6]]},"46":{"position":[[278,5],[344,5],[463,5]]},"74":{"position":[[255,5]]}}}],["loginctl",{"_index":327,"t":{"36":{"position":[[783,8]]},"46":{"position":[[478,8]]}}}],["logon",{"_index":334,"t":{"36":{"position":[[1100,5]]},"46":{"position":[[419,5]]}}}],["logout",{"_index":613,"t":{"101":{"position":[[224,6]]},"121":{"position":[[9,6]]}}}],["long",{"_index":301,"t":{"34":{"position":[[245,4]]},"70":{"position":[[365,4]]},"119":{"position":[[122,4]]},"125":{"position":[[439,4]]},"175":{"position":[[447,4]]},"207":{"position":[[221,4]]},"225":{"position":[[200,4]]},"229":{"position":[[186,4]]}}}],["loop",{"_index":288,"t":{"28":{"position":[[300,6]]},"137":{"position":[[505,4]]},"179":{"position":[[313,4]]}}}],["low",{"_index":973,"t":{"197":{"position":[[515,3]]}}}],["ls",{"_index":891,"t":{"177":{"position":[[162,3]]}}}],["machin",{"_index":546,"t":{"90":{"position":[[197,8]]},"99":{"position":[[157,7]]},"123":{"position":[[174,7]]},"207":{"position":[[420,8]]}}}],["maco",{"_index":303,"t":{"36":{"position":[[0,5]]},"46":{"position":[[248,5]]}}}],["made",{"_index":984,"t":{"199":{"position":[[292,4]]}}}],["main",{"_index":743,"t":{"133":{"position":[[548,4]]},"137":{"position":[[15,4],[424,4]]},"139":{"position":[[178,4]]},"175":{"position":[[108,4]]}}}],["major",{"_index":1033,"t":{"223":{"position":[[27,5]]}}}],["make",{"_index":450,"t":{"72":{"position":[[103,6]]}}}],["manag",{"_index":169,"t":{"12":{"position":[[358,10],[2302,6]]},"36":{"position":[[361,11],[884,11],[1285,11]]},"72":{"position":[[82,8],[266,6]]},"74":{"position":[[199,10]]},"92":{"position":[[84,6]]},"95":{"position":[[505,10]]},"135":{"position":[[28,6]]},"237":{"position":[[109,11]]}}}],["manual",{"_index":45,"t":{"4":{"position":[[432,9]]},"6":{"position":[[725,6]]},"12":{"position":[[179,6]]},"36":{"position":[[354,6],[877,6],[1278,6]]},"101":{"position":[[134,6]]},"125":{"position":[[365,6]]},"143":{"position":[[136,8],[192,8],[394,6]]},"203":{"position":[[110,6]]}}}],["mark",{"_index":158,"t":{"12":{"position":[[89,6]]}}}],["markdown",{"_index":827,"t":{"159":{"position":[[214,8]]},"209":{"position":[[11,8]]},"227":{"position":[[98,8]]}}}],["mask",{"_index":112,"t":{"8":{"position":[[178,7]]},"50":{"position":[[931,6],[1011,6]]}}}],["match",{"_index":585,"t":{"95":{"position":[[248,5]]},"109":{"position":[[342,5]]},"207":{"position":[[256,5]]}}}],["max",{"_index":716,"t":{"129":{"position":[[622,3]]},"143":{"position":[[339,3]]}}}],["maxconcurr",{"_index":787,"t":{"143":{"position":[[79,14]]}}}],["mean",{"_index":540,"t":{"88":{"position":[[135,5]]},"187":{"position":[[607,5]]}}}],["member",{"_index":180,"t":{"12":{"position":[[554,7],[856,6],[931,6]]},"151":{"position":[[58,8]]},"153":{"position":[[149,6]]},"155":{"position":[[64,8],[322,6],[373,6],[441,6],[539,8]]},"159":{"position":[[418,8]]}}}],["memori",{"_index":237,"t":{"12":{"position":[[2285,7],[2322,6]]},"175":{"position":[[467,6]]},"195":{"position":[[37,6]]},"197":{"position":[[188,8],[404,8],[460,8],[499,8],[538,8],[577,8]]},"201":{"position":[[30,8]]},"203":{"position":[[129,7]]},"205":{"position":[[4,7],[117,8]]}}}],["memory.secondbrain.en",{"_index":1013,"t":{"207":{"position":[[117,27]]}}}],["menu",{"_index":163,"t":{"12":{"position":[[247,5],[2712,5]]},"147":{"position":[[270,5]]},"159":{"position":[[487,4],[533,4]]},"179":{"position":[[417,4]]},"205":{"position":[[67,4],[136,4],[192,4],[269,4],[331,4],[389,4]]}}}],["mercuri",{"_index":0,"t":{"2":{"position":[[0,7]]},"4":{"position":[[0,7],[80,7],[446,7]]},"6":{"position":[[20,7],[92,7],[125,7],[140,7],[191,7],[272,7],[309,7],[325,7],[356,7],[372,7],[420,7],[482,7],[555,7],[643,7],[698,7],[764,7],[835,7],[890,7],[940,7]]},"8":{"position":[[0,7],[239,7],[433,7]]},"10":{"position":[[90,7]]},"12":{"position":[[38,8],[1637,7]]},"14":{"position":[[0,7]]},"16":{"position":[[0,7],[21,7]]},"18":{"position":[[0,7],[32,7],[140,7]]},"20":{"position":[[0,7],[127,7]]},"22":{"position":[[0,7]]},"24":{"position":[[0,7]]},"26":{"position":[[0,7]]},"28":{"position":[[0,7],[147,7]]},"34":{"position":[[220,7]]},"36":{"position":[[20,7],[511,7],[869,7],[919,7],[951,7],[981,7],[989,7]]},"40":{"position":[[23,7],[55,7],[85,7]]},"44":{"position":[[0,7],[138,7],[228,8],[332,10]]},"46":{"position":[[8,7],[94,7]]},"48":{"position":[[0,7],[23,7]]},"50":{"position":[[4,7],[134,10],[318,7],[561,7],[680,7],[874,11],[967,7]]},"52":{"position":[[20,7],[54,7],[164,7],[178,7],[206,7]]},"54":{"position":[[0,7],[21,7]]},"56":{"position":[[0,7],[32,7],[225,7],[298,7]]},"58":{"position":[[64,7]]},"60":{"position":[[0,7]]},"62":{"position":[[119,7]]},"72":{"position":[[0,7],[422,7]]},"74":{"position":[[143,7],[301,7],[387,7]]},"76":{"position":[[4,7],[55,7]]},"80":{"position":[[6,7],[71,7]]},"82":{"position":[[20,7],[318,7],[677,7]]},"84":{"position":[[215,7]]},"88":{"position":[[5,7],[87,7]]},"92":{"position":[[0,7],[227,7],[523,7]]},"95":{"position":[[109,7],[157,7]]},"97":{"position":[[4,7],[23,7],[60,7]]},"99":{"position":[[6,7],[122,7],[252,7],[439,7]]},"103":{"position":[[20,7]]},"109":{"position":[[13,7],[52,7]]},"115":{"position":[[0,7]]},"117":{"position":[[61,7],[112,7],[196,7],[352,7]]},"119":{"position":[[0,7]]},"123":{"position":[[312,7]]},"125":{"position":[[529,7]]},"127":{"position":[[0,7],[192,7]]},"129":{"position":[[94,7],[367,7],[474,7]]},"131":{"position":[[62,7],[365,8]]},"135":{"position":[[0,7],[251,7]]},"139":{"position":[[0,7],[318,7]]},"141":{"position":[[32,7]]},"147":{"position":[[27,7],[111,7],[197,7]]},"149":{"position":[[0,7]]},"151":{"position":[[0,7],[582,7]]},"155":{"position":[[20,7],[94,7],[196,7],[261,7],[329,7],[389,7],[481,7]]},"157":{"position":[[151,7]]},"161":{"position":[[26,7],[323,7]]},"163":{"position":[[0,7]]},"175":{"position":[[26,11]]},"177":{"position":[[0,7]]},"179":{"position":[[18,7],[76,7],[228,7]]},"181":{"position":[[34,7],[115,7]]},"183":{"position":[[71,8],[332,7]]},"187":{"position":[[4,7]]},"189":{"position":[[0,7]]},"191":{"position":[[5,7]]},"195":{"position":[[0,7]]},"197":{"position":[[38,7],[251,7],[320,7]]},"201":{"position":[[5,7]]},"203":{"position":[[74,7]]},"205":{"position":[[225,7]]},"207":{"position":[[193,7]]},"211":{"position":[[14,7],[145,7]]},"213":{"position":[[5,7]]},"219":{"position":[[20,7]]},"225":{"position":[[560,8]]},"237":{"position":[[125,7]]}}}],["mercury'",{"_index":457,"t":{"72":{"position":[[226,9]]},"74":{"position":[[22,9]]},"80":{"position":[[161,9]]},"88":{"position":[[141,9]]},"145":{"position":[[26,9]]},"187":{"position":[[557,9]]}}}],["mercury.servic",{"_index":322,"t":{"36":{"position":[[654,15]]}}}],["mercury/.env",{"_index":486,"t":{"80":{"position":[[248,15]]},"82":{"position":[[113,15]]}}}],["mercury/daemon",{"_index":314,"t":{"36":{"position":[[326,17]]}}}],["mercury/daemon.log",{"_index":257,"t":{"16":{"position":[[154,22]]},"26":{"position":[[41,22]]},"36":{"position":[[300,21],[823,21]]},"54":{"position":[[116,22]]},"175":{"position":[[519,21]]}}}],["mercury/daemon.pid",{"_index":254,"t":{"16":{"position":[[107,22]]},"175":{"position":[[474,21]]}}}],["mercury/memori",{"_index":884,"t":{"175":{"position":[[416,18]]}}}],["mercury/memory/second",{"_index":1017,"t":{"207":{"position":[[343,24]]}}}],["mercury/mercury.yaml",{"_index":544,"t":{"90":{"position":[[52,23]]},"119":{"position":[[38,24]]},"123":{"position":[[85,24]]},"143":{"position":[[29,24]]},"175":{"position":[[84,23]]},"187":{"position":[[129,24]]},"207":{"position":[[154,23]]}}}],["mercury/permissions.yaml",{"_index":878,"t":{"175":{"position":[[223,27]]},"177":{"position":[[312,27]]}}}],["mercury/schedules.yaml",{"_index":881,"t":{"175":{"position":[[319,25]]},"193":{"position":[[101,25]]}}}],["mercury/skil",{"_index":880,"t":{"175":{"position":[[283,18]]}}}],["mercury/skills/<name>/skill.md",{"_index":1021,"t":{"209":{"position":[[50,34]]}}}],["mercury/skills/web",{"_index":1023,"t":{"211":{"position":[[60,21]]}}}],["mercury/soul/*.md",{"_index":873,"t":{"175":{"position":[[150,20]]}}}],["mercury/token",{"_index":882,"t":{"175":{"position":[[361,16]]}}}],["[email protected]",{"_index":483,"t":{"80":{"position":[[79,25]]},"88":{"position":[[95,25]]}}}],["mercury_spotify_art=1",{"_index":662,"t":{"115":{"position":[[107,21]]},"233":{"position":[[204,23]]}}}],["mercuryag",{"_index":332,"t":{"36":{"position":[[1057,13],[1317,14],[1359,14],[1395,14]]},"42":{"position":[[20,14],[62,14],[98,14]]}}}],["messag",{"_index":199,"t":{"12":{"position":[[1199,7]]},"68":{"position":[[176,9]]},"137":{"position":[[5,7]]},"141":{"position":[[55,8],[138,8]]},"151":{"position":[[632,8]]},"153":{"position":[[187,8]]},"167":{"position":[[49,7]]},"179":{"position":[[525,8]]},"197":{"position":[[160,8]]}}}],["method",{"_index":366,"t":{"46":{"position":[[200,6]]},"99":{"position":[[63,7],[71,6]]}}}],["mini",{"_index":907,"t":{"185":{"position":[[132,4],[159,5]]}}}],["minim",{"_index":419,"t":{"64":{"position":[[81,7]]}}}],["minimal/detail",{"_index":1047,"t":{"227":{"position":[[6,16]]}}}],["minut",{"_index":942,"t":{"193":{"position":[[17,7]]},"197":{"position":[[311,8]]}}}],["mismatch",{"_index":1001,"t":{"201":{"position":[[159,10]]}}}],["mistral",{"_index":932,"t":{"187":{"position":[[508,8]]}}}],["mkf",{"_index":889,"t":{"177":{"position":[[103,4]]}}}],["mobil",{"_index":805,"t":{"149":{"position":[[58,6]]}}}],["mode",{"_index":63,"t":{"6":{"position":[[252,5]]},"10":{"position":[[182,4]]},"12":{"position":[[1396,4],[1881,4]]},"28":{"position":[[118,4]]},"30":{"position":[[7,4]]},"44":{"position":[[223,4]]},"56":{"position":[[156,5],[270,5]]},"60":{"position":[[43,4]]},"62":{"position":[[24,4]]},"64":{"position":[[16,5],[133,4]]},"66":{"position":[[14,4],[36,4]]},"68":{"position":[[66,4],[268,4]]},"70":{"position":[[10,4]]},"95":{"position":[[357,4],[412,4]]},"107":{"position":[[275,4]]},"127":{"position":[[167,5]]},"131":{"position":[[106,4]]},"135":{"position":[[395,4]]},"143":{"position":[[155,5]]},"145":{"position":[[48,4],[77,4],[244,5],[278,4]]},"165":{"position":[[434,4]]},"175":{"position":[[548,4]]},"179":{"position":[[58,5],[561,4],[619,4]]},"225":{"position":[[95,4]]},"227":{"position":[[288,4]]},"233":{"position":[[95,4]]},"235":{"position":[[47,4]]}}}],["model",{"_index":115,"t":{"8":{"position":[[213,6],[255,6]]},"12":{"position":[[1438,7],[1497,5],[1520,7],[1585,7],[1626,6]]},"50":{"position":[[278,5],[351,6],[527,7],[538,5]]},"151":{"position":[[36,5]]},"159":{"position":[[396,5]]},"183":{"position":[[80,7],[136,5],[142,7],[195,5],[201,7]]},"185":{"position":[[17,5],[381,6]]},"187":{"position":[[241,6],[449,6]]},"225":{"position":[[467,5],[492,9],[502,7]]},"237":{"position":[[157,7],[183,6]]}}}],["model/provid",{"_index":212,"t":{"12":{"position":[[1570,14]]}}}],["models/provid",{"_index":208,"t":{"12":{"position":[[1462,16]]}}}],["monday",{"_index":939,"t":{"191":{"position":[[112,6]]}}}],["more",{"_index":374,"t":{"50":{"position":[[188,5]]},"95":{"position":[[652,4]]},"187":{"position":[[471,4]]},"195":{"position":[[208,5]]}}}],["mount",{"_index":358,"t":{"44":{"position":[[326,5]]}}}],["move",{"_index":230,"t":{"12":{"position":[[2035,4]]},"34":{"position":[[55,4]]},"70":{"position":[[134,4]]},"133":{"position":[[217,4]]},"231":{"position":[[83,4]]}}}],["multi",{"_index":722,"t":{"131":{"position":[[94,5]]},"135":{"position":[[383,5]]},"159":{"position":[[365,5]]}}}],["multipl",{"_index":413,"t":{"62":{"position":[[32,8]]},"129":{"position":[[277,8]]},"139":{"position":[[249,8]]},"181":{"position":[[10,8]]}}}],["music",{"_index":556,"t":{"92":{"position":[[77,6],[216,6]]},"103":{"position":[[53,6]]},"109":{"position":[[37,6],[82,6]]}}}],["n",{"_index":203,"t":{"12":{"position":[[1335,3]]},"113":{"position":[[33,1]]},"233":{"position":[[100,3]]}}}],["name",{"_index":161,"t":{"12":{"position":[[205,5]]},"36":{"position":[[1051,5]]},"50":{"position":[[69,4],[115,4]]},"82":{"position":[[307,4],[666,4]]},"84":{"position":[[253,4]]},"95":{"position":[[103,5]]},"101":{"position":[[61,5]]},"119":{"position":[[187,5]]},"125":{"position":[[495,4]]},"173":{"position":[[214,4]]},"199":{"position":[[57,5]]}}}],["nativ",{"_index":553,"t":{"92":{"position":[[41,8]]}}}],["natur",{"_index":228,"t":{"12":{"position":[[1977,7]]},"72":{"position":[[144,7]]},"92":{"position":[[133,7]]},"109":{"position":[[21,9]]},"133":{"position":[[159,7]]},"139":{"position":[[44,9]]},"197":{"position":[[275,10]]}}}],["navig",{"_index":1041,"t":{"225":{"position":[[161,11]]}}}],["need",{"_index":265,"t":{"20":{"position":[[76,7]]},"24":{"position":[[124,4]]},"36":{"position":[[244,7],[727,7],[1187,7]]},"46":{"position":[[518,5]]},"52":{"position":[[107,7]]},"80":{"position":[[131,6]]},"82":{"position":[[4,4]]},"95":{"position":[[647,4],[679,4]]},"125":{"position":[[55,4]]},"161":{"position":[[68,4]]},"171":{"position":[[170,6]]},"179":{"position":[[146,4]]},"185":{"position":[[428,6]]}}}],["negat",{"_index":1000,"t":{"201":{"position":[[150,8]]}}}],["never",{"_index":490,"t":{"82":{"position":[[66,5],[133,5]]},"90":{"position":[[118,5]]},"117":{"position":[[69,5]]},"123":{"position":[[184,5],[320,5]]},"177":{"position":[[112,5]]}}}],["new",{"_index":50,"t":{"4":{"position":[[531,3]]},"8":{"position":[[134,3]]},"12":{"position":[[2370,3]]},"50":{"position":[[1087,3]]},"86":{"position":[[280,3]]},"119":{"position":[[146,3]]},"151":{"position":[[463,3]]},"157":{"position":[[51,4]]},"165":{"position":[[135,3]]},"225":{"position":[[0,3],[455,3],[527,3]]}}}],["new_str",{"_index":842,"t":{"165":{"position":[[242,10]]}}}],["newer",{"_index":999,"t":{"201":{"position":[[134,5]]}}}],["next",{"_index":633,"t":{"107":{"position":[[126,4]]},"111":{"position":[[114,4]]},"113":{"position":[[37,4]]},"129":{"position":[[216,5]]},"181":{"position":[[133,4]]}}}],["node.j",{"_index":2,"t":{"2":{"position":[[17,7]]},"10":{"position":[[147,7]]}}}],["non",{"_index":131,"t":{"10":{"position":[[24,3]]},"129":{"position":[[432,3]]}}}],["none",{"_index":123,"t":{"8":{"position":[[314,4]]},"161":{"position":[[294,4]]}}}],["normal",{"_index":422,"t":{"64":{"position":[[160,6]]},"131":{"position":[[531,9]]},"141":{"position":[[22,9]]},"145":{"position":[[195,6]]}}}],["note",{"_index":1030,"t":{"219":{"position":[[36,5]]}}}],["noth",{"_index":397,"t":{"50":{"position":[[888,7]]},"207":{"position":[[400,7]]}}}],["notif",{"_index":770,"t":{"137":{"position":[[638,12]]},"141":{"position":[[125,12]]},"179":{"position":[[696,12]]}}}],["notifi",{"_index":757,"t":{"135":{"position":[[556,6]]}}}],["now",{"_index":570,"t":{"92":{"position":[[328,3]]},"101":{"position":[[439,3]]},"113":{"position":[[109,3]]},"131":{"position":[[138,3],[207,3]]},"135":{"position":[[427,3]]}}}],["npm",{"_index":5,"t":{"2":{"position":[[43,4],[48,3]]},"4":{"position":[[117,3],[423,3]]}}}],["npx",{"_index":11,"t":{"2":{"position":[[111,3]]}}}],["number",{"_index":794,"t":{"143":{"position":[[343,6]]}}}],["o3",{"_index":909,"t":{"185":{"position":[[173,3]]}}}],["oauth",{"_index":612,"t":{"101":{"position":[[111,5]]}}}],["old",{"_index":29,"t":{"4":{"position":[[214,3],[487,3]]}}}],["old_str",{"_index":841,"t":{"165":{"position":[[230,11]]}}}],["ollama",{"_index":379,"t":{"50":{"position":[[229,6],[243,6]]},"185":{"position":[[320,6],[374,6],[396,6],[441,6]]},"187":{"position":[[332,6]]}}}],["ollama_cloud_api_key",{"_index":919,"t":{"185":{"position":[[346,20]]}}}],["ollama_local_enabled=tru",{"_index":928,"t":{"187":{"position":[[376,25]]}}}],["ollama_local_model",{"_index":929,"t":{"187":{"position":[[406,18]]}}}],["on",{"_index":51,"t":{"4":{"position":[[535,4]]},"12":{"position":[[1277,3],[2145,3]]},"20":{"position":[[16,3]]},"24":{"position":[[69,4]]},"46":{"position":[[507,4]]},"50":{"position":[[181,3]]},"68":{"position":[[141,3]]},"129":{"position":[[43,3],[63,3]]},"141":{"position":[[682,3]]},"151":{"position":[[612,4],[620,4]]},"155":{"position":[[458,3]]},"173":{"position":[[269,3]]},"181":{"position":[[138,3]]},"189":{"position":[[53,3]]},"201":{"position":[[110,3],[140,3]]},"227":{"position":[[255,3]]}}}],["on/off",{"_index":195,"t":{"12":{"position":[[1131,8]]},"107":{"position":[[242,6]]}}}],["onboard",{"_index":369,"t":{"50":{"position":[[36,10]]},"161":{"position":[[52,11]]}}}],["onc",{"_index":329,"t":{"36":{"position":[[812,4]]},"62":{"position":[[106,4]]},"151":{"position":[[441,4]]}}}],["open",{"_index":164,"t":{"12":{"position":[[263,4],[344,4]]},"62":{"position":[[94,4]]},"68":{"position":[[24,4],[36,4]]},"74":{"position":[[180,5],[219,4]]},"86":{"position":[[220,6]]},"99":{"position":[[90,4],[208,4],[288,4]]},"117":{"position":[[221,4]]},"125":{"position":[[259,4],[343,4]]}}}],["open/refresh/stage/commit/undo/exit",{"_index":1052,"t":{"229":{"position":[[35,36]]}}}],["openai",{"_index":376,"t":{"50":{"position":[[204,7],[260,6]]},"185":{"position":[[118,6],[293,6],[475,6],[532,6]]},"187":{"position":[[567,6]]}}}],["openai_api_key",{"_index":908,"t":{"185":{"position":[[137,14]]}}}],["openai_compat_api_key",{"_index":922,"t":{"185":{"position":[[506,21]]}}}],["oper",{"_index":441,"t":{"70":{"position":[[370,10]]},"231":{"position":[[172,11]]}}}],["oppos",{"_index":992,"t":{"201":{"position":[[21,8]]}}}],["option",{"_index":168,"t":{"12":{"position":[[316,7]]},"50":{"position":[[409,9]]},"135":{"position":[[124,8]]},"225":{"position":[[428,8]]}}}],["opu",{"_index":915,"t":{"185":{"position":[[257,4]]}}}],["orchestr",{"_index":692,"t":{"127":{"position":[[39,13]]},"137":{"position":[[26,14]]}}}],["order",{"_index":899,"t":{"181":{"position":[[56,5]]}}}],["organ",{"_index":808,"t":{"151":{"position":[[16,12]]},"159":{"position":[[383,12]]}}}],["os",{"_index":135,"t":{"10":{"position":[[129,2]]}}}],["oss:120b",{"_index":918,"t":{"185":{"position":[[337,8]]}}}],["oss:20b",{"_index":920,"t":{"185":{"position":[[413,7]]}}}],["otherwis",{"_index":159,"t":{"12":{"position":[[96,10]]}}}],["output",{"_index":256,"t":{"16":{"position":[[144,6]]},"18":{"position":[[112,6]]}}}],["over",{"_index":1006,"t":{"203":{"position":[[99,4]]}}}],["overrid",{"_index":200,"t":{"12":{"position":[[1248,8],[1257,8]]},"143":{"position":[[238,10]]}}}],["overview",{"_index":1008,"t":{"205":{"position":[[48,8],[74,8],[101,8]]}}}],["overwrit",{"_index":1025,"t":{"211":{"position":[[162,9]]}}}],["owner",{"_index":518,"t":{"84":{"position":[[238,5]]},"151":{"position":[[410,5]]}}}],["p",{"_index":656,"t":{"113":{"position":[[48,1]]},"233":{"position":[[104,2]]}}}],["packag",{"_index":30,"t":{"4":{"position":[[218,7],[491,7]]}}}],["page",{"_index":589,"t":{"95":{"position":[[295,5]]},"229":{"position":[[110,4]]}}}],["pair",{"_index":126,"t":{"8":{"position":[[370,7]]},"12":{"position":[[618,7],[1002,7],[2414,7],[2506,7]]},"50":{"position":[[707,7],[767,7]]},"145":{"position":[[11,4]]},"151":{"position":[[116,7],[254,7],[313,7]]},"153":{"position":[[59,5]]},"155":{"position":[[151,7]]},"157":{"position":[[30,5]]}}}],["pane",{"_index":429,"t":{"66":{"position":[[103,4],[121,4]]}}}],["panel",{"_index":1040,"t":{"225":{"position":[[128,6]]},"233":{"position":[[25,5]]}}}],["parallel",{"_index":693,"t":{"127":{"position":[[66,8]]},"129":{"position":[[256,8]]},"131":{"position":[[403,8]]},"135":{"position":[[308,8]]},"147":{"position":[[96,8]]}}}],["paralleliz",{"_index":773,"t":{"139":{"position":[[54,14]]}}}],["paramet",{"_index":608,"t":{"99":{"position":[[346,9]]},"165":{"position":[[18,10]]},"167":{"position":[[18,10]]},"169":{"position":[[18,10]]}}}],["parent",{"_index":839,"t":{"165":{"position":[[153,6]]}}}],["pars",{"_index":517,"t":{"84":{"position":[[228,5]]}}}],["part",{"_index":799,"t":{"147":{"position":[[132,5]]}}}],["parti",{"_index":344,"t":{"44":{"position":[[38,5]]},"235":{"position":[[207,5]]}}}],["pass",{"_index":735,"t":{"131":{"position":[[748,8]]},"141":{"position":[[403,11]]}}}],["past",{"_index":125,"t":{"8":{"position":[[343,5]]},"50":{"position":[[804,5],[1079,5]]},"97":{"position":[[144,5],[200,5]]},"99":{"position":[[165,5],[331,5],[393,6]]},"101":{"position":[[189,6]]},"125":{"position":[[406,6]]},"213":{"position":[[86,5]]}}}],["pat",{"_index":498,"t":{"82":{"position":[[225,3],[614,4]]},"84":{"position":[[353,3]]},"90":{"position":[[11,3],[35,3]]}}}],["path",{"_index":95,"t":{"6":{"position":[[757,6]]},"28":{"position":[[78,5]]},"62":{"position":[[99,6]]},"68":{"position":[[29,6]]},"133":{"position":[[609,5]]},"165":{"position":[[58,4],[100,5],[166,5],[224,5],[286,4],[317,4],[368,4],[428,5]]},"169":{"position":[[125,4]]},"175":{"position":[[71,4]]}}}],["pattern",{"_index":969,"t":{"197":{"position":[[427,9]]},"199":{"position":[[225,8],[490,8]]},"203":{"position":[[66,7]]}}}],["paus",{"_index":572,"t":{"92":{"position":[[396,6]]},"107":{"position":[[90,5]]},"109":{"position":[[250,7]]},"177":{"position":[[237,5]]},"205":{"position":[[244,5],[276,5],[299,5]]}}}],["pend",{"_index":170,"t":{"12":{"position":[[374,7],[438,7],[461,7],[707,7],[2634,7]]},"141":{"position":[[573,7]]},"151":{"position":[[497,7]]},"153":{"position":[[222,7],[283,7]]},"155":{"position":[[77,7],[169,7],[238,7],[548,9]]},"177":{"position":[[201,7]]}}}],["peopl",{"_index":988,"t":{"199":{"position":[[370,6]]}}}],["perfect",{"_index":595,"t":{"95":{"position":[[599,7]]}}}],["perman",{"_index":850,"t":{"169":{"position":[[146,11]]},"177":{"position":[[272,11]]}}}],["permiss",{"_index":204,"t":{"12":{"position":[[1365,12],[1385,10]]},"56":{"position":[[194,10]]},"82":{"position":[[435,11],[460,12]]},"137":{"position":[[550,10]]},"177":{"position":[[25,10]]},"179":{"position":[[47,10],[538,12]]},"217":{"position":[[119,11]]},"227":{"position":[[224,10]]}}}],["persist",{"_index":359,"t":{"44":{"position":[[346,10]]},"52":{"position":[[62,13]]},"117":{"position":[[325,8]]},"169":{"position":[[101,9]]},"183":{"position":[[357,9]]},"193":{"position":[[90,7]]},"195":{"position":[[14,11]]}}}],["person",{"_index":596,"t":{"95":{"position":[[611,8]]},"175":{"position":[[177,11]]}}}],["persona",{"_index":875,"t":{"175":{"position":[[196,8]]}}}],["phone",{"_index":667,"t":{"117":{"position":[[32,6]]}}}],["phone/comput",{"_index":687,"t":{"125":{"position":[[280,15]]}}}],["photo",{"_index":823,"t":{"159":{"position":[[120,7]]}}}],["pick",{"_index":643,"t":{"109":{"position":[[113,5]]}}}],["picker",{"_index":166,"t":{"12":{"position":[[290,6]]},"227":{"position":[[235,6]]}}}],["pid",{"_index":75,"t":{"6":{"position":[[466,4]]},"16":{"position":[[95,3],[183,3]]},"20":{"position":[[194,4]]},"22":{"position":[[95,3]]},"28":{"position":[[56,4],[313,3]]},"52":{"position":[[248,4]]},"54":{"position":[[145,3]]},"175":{"position":[[515,3]]}}}],["ping",{"_index":944,"t":{"193":{"position":[[42,5]]}}}],["plan",{"_index":417,"t":{"64":{"position":[[49,4]]},"66":{"position":[[9,4]]},"101":{"position":[[67,5]]},"119":{"position":[[202,4]]},"145":{"position":[[97,4],[102,4]]},"147":{"position":[[11,4],[69,5],[82,4]]},"227":{"position":[[159,4]]}}}],["platform",{"_index":85,"t":{"6":{"position":[[572,8],[592,8]]},"10":{"position":[[6,8],[107,8]]},"46":{"position":[[136,8],[191,8]]},"225":{"position":[[531,8],[578,10]]},"235":{"position":[[82,8]]}}}],["play",{"_index":563,"t":{"92":{"position":[[199,5],[332,8],[389,6]]},"101":{"position":[[466,7]]},"105":{"position":[[117,7]]},"107":{"position":[[31,4]]},"109":{"position":[[65,5],[127,5],[278,5],[332,5],[400,9]]},"113":{"position":[[113,7]]},"117":{"position":[[8,5],[75,5],[103,8]]},"125":{"position":[[296,4]]}}}],["play/paus",{"_index":653,"t":{"111":{"position":[[89,10]]}}}],["play/pause/skip",{"_index":685,"t":{"125":{"position":[[152,15]]}}}],["playback",{"_index":554,"t":{"92":{"position":[[60,9],[372,8]]},"107":{"position":[[96,8],[335,8]]},"125":{"position":[[72,8],[208,8]]}}}],["player",{"_index":615,"t":{"101":{"position":[[282,6],[301,6]]},"111":{"position":[[13,6],[62,6]]},"113":{"position":[[19,6],[132,6]]},"233":{"position":[[88,6]]},"235":{"position":[[111,6]]}}}],["playlist",{"_index":557,"t":{"92":{"position":[[91,10],[317,10]]},"105":{"position":[[65,9],[275,9]]},"107":{"position":[[55,8]]},"109":{"position":[[287,8],[321,10]]}}}],["plist",{"_index":367,"t":{"46":{"position":[[266,5]]}}}],["point",{"_index":803,"t":{"147":{"position":[[233,6]]},"183":{"position":[[218,6]]}}}],["polici",{"_index":357,"t":{"44":{"position":[[319,6]]}}}],["pollut",{"_index":767,"t":{"137":{"position":[[458,7]]},"139":{"position":[[159,9]]}}}],["posit",{"_index":291,"t":{"28":{"position":[[386,10]]}}}],["post",{"_index":470,"t":{"74":{"position":[[328,5]]},"86":{"position":[[148,4]]}}}],["pr",{"_index":448,"t":{"72":{"position":[[77,4]]},"74":{"position":[[119,2],[190,2],[290,2]]},"86":{"position":[[115,2]]}}}],["pre",{"_index":103,"t":{"8":{"position":[[65,3]]}}}],["prefer",{"_index":354,"t":{"44":{"position":[[205,6]]},"80":{"position":[[295,6]]},"117":{"position":[[375,9]]},"187":{"position":[[433,9]]},"195":{"position":[[166,12]]},"199":{"position":[[80,10]]},"201":{"position":[[45,8],[69,8]]}}}],["premium",{"_index":566,"t":{"92":{"position":[[269,7],[460,7]]},"125":{"position":[[24,7],[60,7],[226,7]]}}}],["premium/fre",{"_index":677,"t":{"119":{"position":[[207,14]]}}}],["present",{"_index":797,"t":{"147":{"position":[[59,7],[205,7]]}}}],["press",{"_index":80,"t":{"6":{"position":[[520,5]]},"8":{"position":[[77,5]]},"50":{"position":[[1037,5]]},"56":{"position":[[94,5]]},"84":{"position":[[292,5]]},"97":{"position":[[236,5]]}}}],["prevent",{"_index":32,"t":{"4":{"position":[[235,7]]},"28":{"position":[[286,7],[354,7]]},"129":{"position":[[555,7]]}}}],["preview",{"_index":1039,"t":{"225":{"position":[[115,8]]}}}],["previou",{"_index":635,"t":{"107":{"position":[[162,8]]},"111":{"position":[[102,8]]},"113":{"position":[[52,8]]}}}],["primari",{"_index":403,"t":{"54":{"position":[[86,7]]}}}],["print",{"_index":134,"t":{"10":{"position":[[121,7]]}}}],["privat",{"_index":243,"t":{"12":{"position":[[2448,7]]},"50":{"position":[[440,7]]},"82":{"position":[[753,7]]},"151":{"position":[[563,7],[604,7]]}}}],["privileg",{"_index":336,"t":{"36":{"position":[[1213,10]]}}}],["process",{"_index":67,"t":{"6":{"position":[[317,7],[364,7]]},"16":{"position":[[77,8]]},"22":{"position":[[71,7]]},"133":{"position":[[577,9]]},"141":{"position":[[40,9]]},"175":{"position":[[507,7]]},"183":{"position":[[319,8]]}}}],["process.kil",{"_index":270,"t":{"22":{"position":[[27,13]]}}}],["profil",{"_index":966,"t":{"197":{"position":[[337,7]]}}}],["program",{"_index":415,"t":{"64":{"position":[[4,11]]},"145":{"position":[[36,11]]}}}],["progress",{"_index":215,"t":{"12":{"position":[[1665,8],[1726,8],[1764,8]]},"56":{"position":[[162,8]]},"109":{"position":[[460,8]]},"111":{"position":[[236,8]]},"115":{"position":[[39,11]]},"137":{"position":[[621,8]]},"141":{"position":[[91,8],[686,8]]},"217":{"position":[[169,11]]}}}],["progress/complet",{"_index":296,"t":{"34":{"position":[[106,19]]},"231":{"position":[[235,19]]}}}],["project",{"_index":398,"t":{"50":{"position":[[904,7]]},"175":{"position":[[52,7]]},"195":{"position":[[186,9]]},"199":{"position":[[164,7]]}}}],["promot",{"_index":186,"t":{"12":{"position":[[814,7],[837,7]]},"155":{"position":[[346,7],[363,7]]},"197":{"position":[[610,8]]}}}],["promote/demot",{"_index":817,"t":{"153":{"position":[[101,14]]}}}],["prompt",{"_index":409,"t":{"56":{"position":[[205,8]]},"97":{"position":[[80,8]]},"179":{"position":[[331,8],[458,7]]}}}],["provid",{"_index":74,"t":{"6":{"position":[[448,10]]},"8":{"position":[[199,9]]},"12":{"position":[[211,9],[1532,10]]},"50":{"position":[[162,9],[458,8]]},"149":{"position":[[46,9]]},"175":{"position":[[120,11]]},"181":{"position":[[23,10],[99,8],[176,9]]},"183":{"position":[[107,9],[154,10],[262,9]]},"185":{"position":[[0,8],[93,9]]},"187":{"position":[[46,9],[188,8],[476,9],[527,9],[585,8],[648,9]]},"225":{"position":[[514,12]]}}}],["provider/model",{"_index":900,"t":{"183":{"position":[[26,14]]},"237":{"position":[[94,14]]}}}],["prune",{"_index":234,"t":{"12":{"position":[[2224,5]]},"197":{"position":[[437,7]]}}}],["publish",{"_index":22,"t":{"4":{"position":[[136,9]]}}}],["pull",{"_index":446,"t":{"72":{"position":[[52,4]]},"74":{"position":[[93,4]]},"82":{"position":[[506,4]]},"86":{"position":[[37,4]]},"197":{"position":[[46,5]]}}}],["purpos",{"_index":872,"t":{"175":{"position":[[76,7]]}}}],["push",{"_index":465,"t":{"74":{"position":[[168,7]]},"171":{"position":[[155,4]]}}}],["python",{"_index":995,"t":{"201":{"position":[[78,9]]}}}],["queri",{"_index":339,"t":{"36":{"position":[[1306,6]]},"42":{"position":[[9,6]]}}}],["queue",{"_index":577,"t":{"92":{"position":[[434,6]]},"107":{"position":[[344,5]]},"109":{"position":[[489,6]]},"111":{"position":[[163,5]]},"133":{"position":[[376,5],[419,6]]}}}],["quick",{"_index":833,"t":{"159":{"position":[[542,5]]}}}],["quota",{"_index":600,"t":{"95":{"position":[[704,5]]}}}],["ram",{"_index":719,"t":{"129":{"position":[[688,3]]}}}],["random",{"_index":392,"t":{"50":{"position":[[619,6]]}}}],["rare",{"_index":679,"t":{"119":{"position":[[307,7]]}}}],["raw",{"_index":533,"t":{"86":{"position":[[341,3]]},"227":{"position":[[284,3]]}}}],["re",{"_index":91,"t":{"6":{"position":[[657,2]]},"8":{"position":[[15,2]]},"50":{"position":[[581,2]]}}}],["read",{"_index":468,"t":{"74":{"position":[[309,5]]},"82":{"position":[[491,4],[522,4],[546,4]]},"92":{"position":[[277,4]]},"125":{"position":[[90,4]]},"165":{"position":[[39,4]]}}}],["read/writ",{"_index":846,"t":{"165":{"position":[[395,10]]}}}],["read_fil",{"_index":729,"t":{"131":{"position":[[561,10],[614,9]]},"137":{"position":[[234,10]]},"141":{"position":[[214,10],[530,10]]},"165":{"position":[[29,9]]}}}],["reader",{"_index":711,"t":{"129":{"position":[[535,6]]}}}],["real",{"_index":654,"t":{"111":{"position":[[195,4]]},"159":{"position":[[35,4]]},"161":{"position":[[259,4]]}}}],["receiv",{"_index":246,"t":{"12":{"position":[[2495,8]]},"50":{"position":[[784,7]]},"153":{"position":[[200,7]]},"179":{"position":[[686,7]]}}}],["recent",{"_index":1009,"t":{"205":{"position":[[110,6],[143,6],[168,6]]}}}],["recipi",{"_index":847,"t":{"167":{"position":[[78,10]]}}}],["recommend",{"_index":54,"t":{"6":{"position":[[31,12]]},"50":{"position":[[334,11]]},"52":{"position":[[7,12]]},"82":{"position":[[229,14]]},"99":{"position":[[103,13]]}}}],["reconfigur",{"_index":78,"t":{"6":{"position":[[497,11]]},"50":{"position":[[948,13]]}}}],["reconnect",{"_index":680,"t":{"121":{"position":[[78,9]]}}}],["recoveri",{"_index":278,"t":{"28":{"position":[[98,8]]},"36":{"position":[[175,9],[676,9],[1125,9]]},"46":{"position":[[239,8]]},"54":{"position":[[188,8]]}}}],["recur",{"_index":865,"t":{"173":{"position":[[249,9]]}}}],["redirect",{"_index":255,"t":{"16":{"position":[[134,9]]},"95":{"position":[[191,8]]},"99":{"position":[[365,8]]}}}],["refer",{"_index":964,"t":{"197":{"position":[[259,10]]},"229":{"position":[[135,11]]}}}],["reflect",{"_index":968,"t":{"197":{"position":[[393,10]]},"199":{"position":[[440,10]]},"203":{"position":[[169,11]]},"231":{"position":[[258,9]]}}}],["refresh",{"_index":432,"t":{"68":{"position":[[75,7],[83,7]]},"113":{"position":[[101,7]]},"119":{"position":[[96,9],[106,7],[229,7],[278,7]]},"123":{"position":[[272,7]]}}}],["regist",{"_index":455,"t":{"72":{"position":[[205,10],[475,10]]},"84":{"position":[[392,10]]},"159":{"position":[[504,10]]}}}],["reinforc",{"_index":976,"t":{"197":{"position":[[586,10]]}}}],["reject",{"_index":183,"t":{"12":{"position":[[676,6],[698,6],[2680,8]]},"151":{"position":[[227,7],[540,7]]},"155":{"position":[[213,6],[229,6]]}}}],["relationship",{"_index":987,"t":{"199":{"position":[[349,12]]}}}],["releas",{"_index":740,"t":{"133":{"position":[[426,7]]},"219":{"position":[[28,7]]},"223":{"position":[[0,7]]},"237":{"position":[[5,7]]}}}],["relev",{"_index":960,"t":{"197":{"position":[[179,8]]}}}],["reliabl",{"_index":1035,"t":{"223":{"position":[[91,12]]},"227":{"position":[[328,11]]}}}],["remain",{"_index":661,"t":{"115":{"position":[[72,7]]},"155":{"position":[[473,7]]}}}],["rememb",{"_index":673,"t":{"117":{"position":[[360,9]]},"181":{"position":[[146,9]]}}}],["remind",{"_index":935,"t":{"191":{"position":[[30,7]]},"193":{"position":[[0,7]]},"217":{"position":[[0,7]]}}}],["remot",{"_index":386,"t":{"50":{"position":[[423,6]]},"171":{"position":[[163,6]]},"185":{"position":[[367,6]]}}}],["remov",{"_index":28,"t":{"4":{"position":[[202,7],[475,7]]},"12":{"position":[[749,6]]},"22":{"position":[[83,7]]},"155":{"position":[[278,6],[294,6]]}}}],["renam",{"_index":44,"t":{"4":{"position":[[403,6]]}}}],["render",{"_index":663,"t":{"115":{"position":[[139,8]]},"227":{"position":[[107,9]]}}}],["repeat",{"_index":576,"t":{"92":{"position":[[426,7]]},"107":{"position":[[268,6]]},"111":{"position":[[143,6]]}}}],["replac",{"_index":108,"t":{"8":{"position":[[147,7]]},"50":{"position":[[1098,7]]},"165":{"position":[[201,7]]}}}],["repo",{"_index":506,"t":{"82":{"position":[[423,5],[725,4]]},"84":{"position":[[81,4],[248,4]]},"235":{"position":[[238,5]]}}}],["report",{"_index":769,"t":{"137":{"position":[[613,7]]}}}],["repositori",{"_index":347,"t":{"44":{"position":[[66,10]]},"60":{"position":[[52,10]]},"62":{"position":[[163,11]]},"72":{"position":[[273,12]]},"82":{"position":[[361,10],[391,12],[449,10],[761,13]]},"84":{"position":[[14,10]]},"86":{"position":[[209,10]]}}}],["request",{"_index":171,"t":{"12":{"position":[[382,9],[485,8],[658,7],[731,7],[1281,7],[2642,9]]},"72":{"position":[[57,9]]},"74":{"position":[[98,8]]},"82":{"position":[[511,8]]},"86":{"position":[[42,7]]},"95":{"position":[[687,7]]},"151":{"position":[[165,7],[505,7]]},"153":{"position":[[29,9],[91,9]]},"155":{"position":[[85,8],[177,7],[253,7]]},"157":{"position":[[36,7]]},"165":{"position":[[387,7]]}}}],["requir",{"_index":1,"t":{"2":{"position":[[8,8]]},"46":{"position":[[207,8],[469,8]]},"92":{"position":[[441,8]]},"125":{"position":[[35,9]]},"187":{"position":[[345,8]]}}}],["research",{"_index":699,"t":{"129":{"position":[[105,9]]},"139":{"position":[[76,9]]}}}],["reselect",{"_index":116,"t":{"8":{"position":[[227,11]]}}}],["reset",{"_index":174,"t":{"12":{"position":[[414,5],[948,5],[1297,5],[1303,5],[2352,5]]},"133":{"position":[[393,6]]},"153":{"position":[[127,5]]},"155":{"position":[[498,5]]},"157":{"position":[[116,5]]},"179":{"position":[[377,6]]}}}],["resolv",{"_index":1003,"t":{"201":{"position":[[220,8]]}}}],["resourc",{"_index":714,"t":{"129":{"position":[[605,8]]}}}],["respect",{"_index":771,"t":{"137":{"position":[[677,8]]}}}],["respond",{"_index":762,"t":{"137":{"position":[[200,8]]}}}],["respons",{"_index":196,"t":{"12":{"position":[[1172,9]]},"34":{"position":[[228,10]]},"135":{"position":[[365,8]]},"153":{"position":[[208,10]]},"159":{"position":[[45,8]]},"193":{"position":[[151,9]]},"227":{"position":[[79,14]]}}}],["rest",{"_index":565,"t":{"92":{"position":[[247,5]]},"131":{"position":[[14,4],[161,4],[658,5]]},"141":{"position":[[493,4]]}}}],["restart",{"_index":66,"t":{"6":{"position":[[280,7],[288,7]]},"12":{"position":[[994,7]]},"24":{"position":[[8,7],[137,8]]},"28":{"position":[[167,8]]},"36":{"position":[[218,8]]},"44":{"position":[[311,7]]},"46":{"position":[[75,8],[294,8]]},"179":{"position":[[387,8]]},"183":{"position":[[60,10]]},"193":{"position":[[142,8]]}}}],["restart=on",{"_index":323,"t":{"36":{"position":[[686,10]]},"46":{"position":[[350,10]]}}}],["restor",{"_index":947,"t":{"193":{"position":[[131,7]]}}}],["restrict",{"_index":579,"t":{"92":{"position":[[531,12]]}}}],["result",{"_index":644,"t":{"109":{"position":[[206,7]]},"129":{"position":[[158,8]]},"131":{"position":[[801,7]]}}}],["resum",{"_index":1011,"t":{"205":{"position":[[305,6],[338,6],[362,6]]}}}],["retriev",{"_index":951,"t":{"195":{"position":[[133,9]]},"197":{"position":[[136,9]]}}}],["return",{"_index":421,"t":{"64":{"position":[[150,6]]},"173":{"position":[[53,6]]}}}],["revamp",{"_index":1044,"t":{"225":{"position":[[374,6]]}}}],["revert",{"_index":438,"t":{"68":{"position":[[224,6]]}}}],["review",{"_index":447,"t":{"72":{"position":[[67,9]]},"74":{"position":[[273,6],[282,7]]},"86":{"position":[[124,6],[153,6]]},"129":{"position":[[147,6]]},"131":{"position":[[790,6]]}}}],["review_pr",{"_index":526,"t":{"86":{"position":[[97,9]]}}}],["revok",{"_index":185,"t":{"12":{"position":[[771,6]]}}}],["rf",{"_index":888,"t":{"177":{"position":[[97,2]]}}}],["right",{"_index":275,"t":{"24":{"position":[[110,5]]},"159":{"position":[[188,5]]}}}],["rl",{"_index":337,"t":{"36":{"position":[[1224,4]]}}}],["rm",{"_index":887,"t":{"177":{"position":[[93,2]]}}}],["road",{"_index":646,"t":{"109":{"position":[[296,4]]}}}],["roadmap",{"_index":933,"t":{"187":{"position":[[548,8]]}}}],["role",{"_index":173,"t":{"12":{"position":[[403,6]]},"153":{"position":[[0,4]]},"199":{"position":[[63,5]]}}}],["rotat",{"_index":548,"t":{"90":{"position":[[286,6]]}}}],["rout",{"_index":948,"t":{"193":{"position":[[161,5]]}}}],["routin",{"_index":982,"t":{"199":{"position":[[238,8]]}}}],["rule",{"_index":879,"t":{"175":{"position":[[277,5]]},"199":{"position":[[316,5]]}}}],["run",{"_index":9,"t":{"2":{"position":[[87,3]]},"4":{"position":[[174,8],[415,7]]},"6":{"position":[[84,7],[660,3]]},"8":{"position":[[18,4]]},"10":{"position":[[18,3]]},"12":{"position":[[1921,3],[1971,3],[2190,7]]},"14":{"position":[[8,4]]},"18":{"position":[[27,4]]},"20":{"position":[[138,8],[163,8]]},"24":{"position":[[26,7]]},"28":{"position":[[43,8],[371,8]]},"34":{"position":[[250,7]]},"36":{"position":[[774,3],[1195,4],[1350,4]]},"42":{"position":[[53,4]]},"44":{"position":[[134,3]]},"50":{"position":[[0,3]]},"52":{"position":[[50,3],[151,8],[197,8]]},"56":{"position":[[27,4],[248,7]]},"70":{"position":[[296,7],[381,3]]},"76":{"position":[[0,3]]},"97":{"position":[[0,3],[344,3]]},"99":{"position":[[18,4],[133,7]]},"119":{"position":[[315,3]]},"121":{"position":[[57,3]]},"125":{"position":[[449,3],[512,3]]},"129":{"position":[[292,3]]},"133":{"position":[[48,8],[153,3]]},"135":{"position":[[162,7],[222,7]]},"137":{"position":[[469,4]]},"141":{"position":[[514,7]]},"177":{"position":[[182,3]]},"179":{"position":[[602,3]]},"183":{"position":[[311,7]]},"187":{"position":[[0,3]]},"211":{"position":[[9,4]]},"217":{"position":[[27,3]]},"225":{"position":[[205,7]]}}}],["run_command",{"_index":782,"t":{"141":{"position":[[354,11]]},"169":{"position":[[29,11]]}}}],["runtim",{"_index":356,"t":{"44":{"position":[[296,7]]},"175":{"position":[[4,7]]},"183":{"position":[[44,7]]},"225":{"position":[[459,7]]}}}],["safe",{"_index":890,"t":{"177":{"position":[[143,4]]},"233":{"position":[[168,4]]}}}],["same",{"_index":58,"t":{"6":{"position":[[116,5],[681,5]]},"137":{"position":[[519,4],[545,4]]}}}],["save",{"_index":587,"t":{"95":{"position":[[268,4]]},"101":{"position":[[260,5]]},"105":{"position":[[298,4]]},"139":{"position":[[291,4]]},"217":{"position":[[195,4]]}}}],["schedul",{"_index":236,"t":{"12":{"position":[[2269,9]]},"14":{"position":[[61,9]]},"36":{"position":[[1036,9]]},"46":{"position":[[392,9]]},"173":{"position":[[240,8],[291,9],[331,9],[347,9],[388,9],[403,9]]},"175":{"position":[[345,9]]},"179":{"position":[[579,9]]},"189":{"position":[[12,8]]},"191":{"position":[[79,9]]}}}],["schedule_task",{"_index":864,"t":{"173":{"position":[[226,13]]}}}],["schtask",{"_index":335,"t":{"36":{"position":[[1110,8],[1297,8],[1341,8],[1374,8]]},"42":{"position":[[0,8],[44,8],[77,8]]},"46":{"position":[[402,10]]}}}],["scope",{"_index":513,"t":{"82":{"position":[[730,5]]},"137":{"position":[[607,5]]},"159":{"position":[[310,5]]},"179":{"position":[[165,5],[264,7]]},"197":{"position":[[454,5]]},"199":{"position":[[5,5]]}}}],["score",{"_index":959,"t":{"197":{"position":[[128,7]]}}}],["scratch",{"_index":189,"t":{"12":{"position":[[1015,7]]}}}],["search",{"_index":555,"t":{"92":{"position":[[70,6],[296,8]]},"105":{"position":[[33,6]]},"109":{"position":[[89,8],[307,8]]},"111":{"position":[[153,6]]},"165":{"position":[[190,6]]},"205":{"position":[[175,6],[199,6],[236,7]]},"207":{"position":[[236,6]]},"211":{"position":[[43,6],[131,6]]},"225":{"position":[[608,6]]},"235":{"position":[[161,6]]}}}],["search/skill.md",{"_index":1024,"t":{"211":{"position":[[82,15]]}}}],["second",{"_index":238,"t":{"12":{"position":[[2309,6]]},"28":{"position":[[265,8]]},"207":{"position":[[0,6]]}}}],["second_brain_enabled=fals",{"_index":1012,"t":{"207":{"position":[[73,26]]}}}],["secret",{"_index":591,"t":{"95":{"position":[[331,6]]},"97":{"position":[[191,6],[217,6]]},"123":{"position":[[64,6]]}}}],["section",{"_index":1029,"t":{"219":{"position":[[5,7]]}}}],["see",{"_index":41,"t":{"4":{"position":[[367,3]]},"18":{"position":[[108,3]]},"58":{"position":[[38,3]]},"84":{"position":[[372,4]]},"97":{"position":[[314,4]]},"135":{"position":[[359,3]]},"141":{"position":[[443,3]]},"153":{"position":[[273,3]]}}}],["seed",{"_index":1022,"t":{"211":{"position":[[22,5]]},"225":{"position":[[597,6]]}}}],["select",{"_index":382,"t":{"50":{"position":[[284,9]]},"82":{"position":[[380,6],[714,6]]}}}],["send",{"_index":245,"t":{"12":{"position":[[2481,5],[2611,4]]},"22":{"position":[[13,5]]},"50":{"position":[[721,4]]},"123":{"position":[[326,5]]},"141":{"position":[[422,4]]},"151":{"position":[[183,7],[288,7],[473,4]]},"153":{"position":[[182,4]]},"165":{"position":[[332,4]]},"167":{"position":[[42,4]]}}}],["send_fil",{"_index":844,"t":{"165":{"position":[[322,9]]}}}],["send_messag",{"_index":830,"t":{"159":{"position":[[427,12]]},"167":{"position":[[29,12]]}}}],["sent",{"_index":491,"t":{"82":{"position":[[139,4]]},"90":{"position":[[124,4]]},"153":{"position":[[230,4]]},"159":{"position":[[174,4]]}}}],["separ",{"_index":364,"t":{"44":{"position":[[396,10]]},"233":{"position":[[128,8]]}}}],["sequenti",{"_index":701,"t":{"129":{"position":[[180,12]]}}}],["server",{"_index":923,"t":{"185":{"position":[[550,6]]},"191":{"position":[[71,7]]}}}],["servic",{"_index":55,"t":{"6":{"position":[[52,7],[772,7],[806,7],[843,7],[882,7],[898,7],[925,7]]},"20":{"position":[[65,7]]},"36":{"position":[[28,7],[519,7],[746,7],[997,7]]},"46":{"position":[[28,7],[102,7],[175,7]]},"48":{"position":[[8,7],[31,7]]},"52":{"position":[[96,7],[260,7]]},"90":{"position":[[145,7]]}}}],["session",{"_index":211,"t":{"12":{"position":[[1512,7],[1562,7]]},"115":{"position":[[168,8]]},"117":{"position":[[341,8]]},"179":{"position":[[3,7],[368,8]]},"183":{"position":[[187,7],[282,7]]},"233":{"position":[[240,10]]},"237":{"position":[[175,7]]}}}],["set",{"_index":79,"t":{"6":{"position":[[509,8]]},"12":{"position":[[1331,3],[1714,3],[1755,3]]},"80":{"position":[[267,7]]},"82":{"position":[[337,3],[696,3]]},"84":{"position":[[0,3],[360,4]]},"95":{"position":[[286,8],[489,8]]},"101":{"position":[[412,3]]},"107":{"position":[[192,3],[264,3]]},"109":{"position":[[348,4]]},"117":{"position":[[261,3]]},"143":{"position":[[132,3]]},"161":{"position":[[12,3]]},"187":{"position":[[86,3],[372,3],[661,7]]},"207":{"position":[[113,3]]}}}],["setup",{"_index":90,"t":{"6":{"position":[[651,5],[668,5]]},"8":{"position":[[27,5]]},"12":{"position":[[2578,6]]},"50":{"position":[[673,6],[843,6]]},"97":{"position":[[31,5],[52,7],[300,6]]},"151":{"position":[[141,6],[370,6]]},"183":{"position":[[228,5]]}}}],["share",{"_index":298,"t":{"34":{"position":[[145,6]]},"82":{"position":[[72,5]]},"90":{"position":[[272,5]]},"123":{"position":[[190,6]]},"141":{"position":[[676,5]]}}}],["shell",{"_index":227,"t":{"12":{"position":[[1927,5]]},"30":{"position":[[57,5]]},"70":{"position":[[215,6]]},"133":{"position":[[285,5]]},"141":{"position":[[639,5]]},"159":{"position":[[292,5]]},"169":{"position":[[51,5]]},"177":{"position":[[47,5]]},"179":{"position":[[126,5],[276,5],[648,5]]},"225":{"position":[[213,5]]}}}],["ship",{"_index":343,"t":{"44":{"position":[[27,4]]},"235":{"position":[[227,7]]}}}],["short",{"_index":674,"t":{"119":{"position":[[78,5]]},"175":{"position":[[435,5]]}}}],["short/medium/long",{"_index":625,"t":{"105":{"position":[[224,17]]}}}],["shortcut",{"_index":1046,"t":{"225":{"position":[[397,10]]},"227":{"position":[[141,10]]},"233":{"position":[[75,9]]},"235":{"position":[[118,9]]}}}],["shorthand",{"_index":64,"t":{"6":{"position":[[258,10]]},"18":{"position":[[129,10]]},"56":{"position":[[214,10]]}}}],["shot",{"_index":867,"t":{"173":{"position":[[273,4]]},"189":{"position":[[57,4]]}}}],["show",{"_index":36,"t":{"4":{"position":[[297,5]]},"6":{"position":[[385,4],[435,4],[581,4],[711,4],[913,4]]},"12":{"position":[[165,4],[194,4],[1215,4],[1600,4],[2090,4],[2121,4]]},"20":{"position":[[180,5]]},"26":{"position":[[13,5]]},"28":{"position":[[15,5]]},"52":{"position":[[238,5]]},"99":{"position":[[447,6]]},"101":{"position":[[29,4],[443,4]]},"105":{"position":[[95,4]]},"109":{"position":[[200,5],[437,5]]},"111":{"position":[[189,5]]},"125":{"position":[[504,7]]},"135":{"position":[[153,4]]},"145":{"position":[[265,4]]},"155":{"position":[[42,4]]},"171":{"position":[[58,4]]},"183":{"position":[[90,5]]}}}],["shown",{"_index":111,"t":{"8":{"position":[[172,5]]},"50":{"position":[[1005,5]]},"159":{"position":[[326,5]]}}}],["shuffl",{"_index":575,"t":{"92":{"position":[[417,8]]},"107":{"position":[[234,7]]},"109":{"position":[[535,8]]},"111":{"position":[[132,7]]}}}],["sigterm",{"_index":269,"t":{"22":{"position":[[19,7]]}}}],["simultan",{"_index":705,"t":{"129":{"position":[[296,14]]}}}],["singl",{"_index":198,"t":{"12":{"position":[[1192,6]]},"129":{"position":[[26,6]]}}}],["sk",{"_index":113,"t":{"8":{"position":[[186,2]]},"50":{"position":[[1023,2]]}}}],["skill",{"_index":191,"t":{"12":{"position":[[1062,7],[1085,6]]},"173":{"position":[[112,5],[138,6],[172,6],[179,6],[205,5],[219,6]]},"175":{"position":[[312,6]]},"177":{"position":[[354,5],[371,6]]},"209":{"position":[[0,6]]},"211":{"position":[[50,5],[138,6]]},"213":{"position":[[39,5]]},"215":{"position":[[22,6]]},"217":{"position":[[48,6],[55,6],[79,6]]},"225":{"position":[[615,5]]},"235":{"position":[[168,5]]}}}],["skill.md",{"_index":895,"t":{"177":{"position":[[406,8]]},"213":{"position":[[73,9],[96,8]]}}}],["skip",{"_index":573,"t":{"92":{"position":[[403,5]]},"107":{"position":[[118,4],[154,4]]},"109":{"position":[[214,5]]}}}],["slash",{"_index":741,"t":{"133":{"position":[[458,5]]}}}],["small",{"_index":597,"t":{"95":{"position":[[627,5]]}}}],["solut",{"_index":682,"t":{"125":{"position":[[6,8]]}}}],["someth",{"_index":273,"t":{"24":{"position":[[86,9]]}}}],["song",{"_index":645,"t":{"109":{"position":[[225,5]]},"125":{"position":[[305,5]]}}}],["sonnet",{"_index":911,"t":{"185":{"position":[[199,6],[242,7]]}}}],["soul",{"_index":874,"t":{"175":{"position":[[189,6]]}}}],["spawn",{"_index":249,"t":{"16":{"position":[[53,6]]},"127":{"position":[[60,5]]},"135":{"position":[[78,5]]}}}],["speaker",{"_index":670,"t":{"117":{"position":[[52,8]]}}}],["specif",{"_index":505,"t":{"82":{"position":[[414,8]]},"135":{"position":[[213,8]]},"199":{"position":[[408,8]]},"217":{"position":[[86,14]]}}}],["specifi",{"_index":514,"t":{"84":{"position":[[66,10]]}}}],["spotifi",{"_index":142,"t":{"10":{"position":[[229,7]]},"92":{"position":[[25,7],[261,7],[354,7],[452,7],[493,7]]},"95":{"position":[[55,7],[171,7],[372,7],[526,7],[715,8]]},"97":{"position":[[93,8],[124,7],[176,7],[319,8],[348,8]]},"99":{"position":[[23,8],[379,8],[454,8]]},"101":{"position":[[20,8],[91,8],[147,8],[215,8],[242,7],[273,8],[343,8],[375,7],[391,8],[430,8]]},"105":{"position":[[156,7]]},"111":{"position":[[4,8]]},"113":{"position":[[11,7]]},"117":{"position":[[0,7],[155,8],[226,7],[283,8]]},"119":{"position":[[20,7],[319,8]]},"121":{"position":[[0,8],[61,8]]},"123":{"position":[[35,7]]},"125":{"position":[[15,8],[264,7],[383,8],[453,8],[516,8]]},"133":{"position":[[501,9]]},"225":{"position":[[363,7],[381,8]]},"233":{"position":[[6,7]]},"235":{"position":[[103,7]]}}}],["spotify'",{"_index":681,"t":{"123":{"position":[[150,9],[353,9]]},"125":{"position":[[187,9],[561,9]]}}}],["spotify_devic",{"_index":622,"t":{"105":{"position":[[125,15]]}}}],["spotify_lik",{"_index":628,"t":{"105":{"position":[[285,12]]}}}],["spotify_next",{"_index":632,"t":{"107":{"position":[[105,12]]},"109":{"position":[[237,12]]}}}],["spotify_now_play",{"_index":620,"t":{"105":{"position":[[75,19]]},"109":{"position":[[416,20]]}}}],["spotify_paus",{"_index":631,"t":{"107":{"position":[[76,13]]},"109":{"position":[[264,13]]}}}],["spotify_play",{"_index":630,"t":{"107":{"position":[[18,12]]}}}],["spotify_playlist",{"_index":627,"t":{"105":{"position":[[248,17]]}}}],["spotify_previ",{"_index":634,"t":{"107":{"position":[[137,16]]}}}],["spotify_queu",{"_index":640,"t":{"107":{"position":[[302,13]]},"109":{"position":[[502,13]]}}}],["spotify_repeat",{"_index":639,"t":{"107":{"position":[[249,14]]}}}],["spotify_search",{"_index":617,"t":{"105":{"position":[[18,14]]}}}],["spotify_shuffl",{"_index":638,"t":{"107":{"position":[[211,15]]}}}],["spotify_shuffle(tru",{"_index":651,"t":{"109":{"position":[[554,21]]}}}],["spotify_top_track",{"_index":623,"t":{"105":{"position":[[172,18]]},"109":{"position":[[180,19]]}}}],["spotify_volum",{"_index":636,"t":{"107":{"position":[[177,14]]}}}],["spotify_volume(50",{"_index":649,"t":{"109":{"position":[[373,18]]}}}],["sqlite",{"_index":1016,"t":{"207":{"position":[[305,7],[390,9]]}}}],["ssh",{"_index":606,"t":{"99":{"position":[[227,3],[235,3]]}}}],["ssh/ci",{"_index":140,"t":{"10":{"position":[[198,6]]}}}],["ssh/mobile/light",{"_index":666,"t":{"115":{"position":[[223,16]]}}}],["stabil",{"_index":1048,"t":{"227":{"position":[[117,10]]}}}],["stage",{"_index":434,"t":{"68":{"position":[[118,5],[135,5],[193,6]]},"74":{"position":[[151,7]]},"171":{"position":[[107,5]]}}}],["stale",{"_index":258,"t":{"16":{"position":[[177,5]]},"28":{"position":[[307,5]]},"54":{"position":[[139,5]]},"197":{"position":[[469,5]]}}}],["start",{"_index":56,"t":{"6":{"position":[[62,5],[100,5],[133,6],[148,5],[154,5],[199,5],[218,5],[820,5],[958,5]]},"8":{"position":[[360,5]]},"12":{"position":[[2384,6],[2487,7],[2616,7]]},"16":{"position":[[8,5],[14,6]]},"18":{"position":[[8,5],[148,5]]},"20":{"position":[[84,6]]},"24":{"position":[[54,6]]},"32":{"position":[[0,5]]},"36":{"position":[[128,6],[611,6],[913,5],[1076,6]]},"40":{"position":[[17,5]]},"44":{"position":[[237,5]]},"46":{"position":[[42,6],[227,5]]},"50":{"position":[[688,6],[726,6]]},"52":{"position":[[115,6],[316,6]]},"54":{"position":[[8,5],[14,6]]},"56":{"position":[[8,5],[233,5]]},"58":{"position":[[21,5],[72,5]]},"99":{"position":[[0,5]]},"101":{"position":[[105,5]]},"141":{"position":[[177,8]]},"151":{"position":[[191,7],[296,6],[478,6]]},"153":{"position":[[235,6]]},"155":{"position":[[558,5]]},"157":{"position":[[20,6]]},"179":{"position":[[11,6]]}}}],["startup",{"_index":289,"t":{"28":{"position":[[343,7]]},"179":{"position":[[433,7]]},"225":{"position":[[44,8]]},"227":{"position":[[216,7]]}}}],["state",{"_index":967,"t":{"197":{"position":[[364,5]]},"203":{"position":[[20,6]]}}}],["statu",{"_index":72,"t":{"6":{"position":[[428,6],[906,6],[933,6]]},"10":{"position":[[222,6],[256,6]]},"12":{"position":[[186,7],[1233,6]]},"28":{"position":[[8,6]]},"36":{"position":[[944,6]]},"40":{"position":[[48,6]]},"48":{"position":[[16,6]]},"68":{"position":[[107,6]]},"101":{"position":[[45,7]]},"131":{"position":[[357,7]]},"133":{"position":[[521,6]]},"135":{"position":[[604,7]]},"141":{"position":[[456,7]]},"145":{"position":[[256,6]]},"153":{"position":[[291,7]]},"157":{"position":[[72,6]]},"171":{"position":[[42,6]]},"177":{"position":[[175,6]]},"225":{"position":[[53,7],[254,7]]},"235":{"position":[[181,6]]}}}],["stay",{"_index":242,"t":{"12":{"position":[[2442,5]]}}}],["stderr",{"_index":102,"t":{"6":{"position":[[986,6]]},"58":{"position":[[56,7]]}}}],["step",{"_index":602,"t":{"97":{"position":[[169,4],[229,4]]},"129":{"position":[[200,4]]},"137":{"position":[[492,4]]},"145":{"position":[[168,4],[176,4]]},"227":{"position":[[259,4]]}}}],["still",{"_index":683,"t":{"125":{"position":[[109,5]]}}}],["stop",{"_index":24,"t":{"4":{"position":[[154,5]]},"6":{"position":[[333,4],[338,4]]},"22":{"position":[[8,4]]},"24":{"position":[[16,5]]},"36":{"position":[[976,4]]},"40":{"position":[[80,4]]},"56":{"position":[[284,4],[306,4]]},"133":{"position":[[382,5],[494,6]]}}}],["stop_ag",{"_index":749,"t":{"135":{"position":[[195,10]]}}}],["storag",{"_index":360,"t":{"44":{"position":[[357,7]]},"90":{"position":[[15,7]]}}}],["store",{"_index":396,"t":{"50":{"position":[[864,6]]},"82":{"position":[[95,6]]},"90":{"position":[[42,6]]},"119":{"position":[[8,6]]},"123":{"position":[[75,6],[296,6]]},"195":{"position":[[121,7]]},"197":{"position":[[66,6]]},"199":{"position":[[19,6]]},"207":{"position":[[325,6]]}}}],["stream",{"_index":192,"t":{"12":{"position":[[1092,7],[1121,9],[1140,7],[1160,9]]},"149":{"position":[[86,10]]},"159":{"position":[[25,9],[98,8]]},"161":{"position":[[274,9]]},"227":{"position":[[69,9]]}}}],["strip",{"_index":858,"t":{"173":{"position":[[74,9]]}}}],["structur",{"_index":754,"t":{"135":{"position":[[465,9]]},"195":{"position":[[26,10]]}}}],["style",{"_index":411,"t":{"60":{"position":[[27,5]]},"233":{"position":[[19,5]]}}}],["sub",{"_index":222,"t":{"12":{"position":[[1825,3],[1994,3]]},"30":{"position":[[86,3]]},"70":{"position":[[110,3],[224,3]]},"127":{"position":[[157,3]]},"129":{"position":[[222,3],[488,3]]},"133":{"position":[[37,3],[119,3],[176,3],[261,3],[293,3],[346,3]]},"135":{"position":[[35,3],[86,3],[184,3],[230,3]]},"137":{"position":[[74,3],[140,3],[380,3]]},"141":{"position":[[81,3],[464,5]]},"143":{"position":[[0,3],[303,3]]},"145":{"position":[[0,3]]},"147":{"position":[[141,3]]},"225":{"position":[[262,3]]},"235":{"position":[[52,3]]}}}],["subag",{"_index":785,"t":{"143":{"position":[[54,10]]}}}],["subagents_en",{"_index":791,"t":{"143":{"position":[[270,17]]}}}],["subagents_max_concurr",{"_index":793,"t":{"143":{"position":[[314,24]]}}}],["subagents_mod",{"_index":795,"t":{"143":{"position":[[371,14]]}}}],["subscript",{"_index":578,"t":{"92":{"position":[[468,12]]}}}],["success",{"_index":610,"t":{"99":{"position":[[422,10]]},"181":{"position":[[165,10]]}}}],["successfulexit",{"_index":311,"t":{"36":{"position":[[195,14]]}}}],["sudo",{"_index":312,"t":{"36":{"position":[[239,4],[722,4],[778,4]]},"46":{"position":[[524,6]]},"177":{"position":[[87,5]]}}}],["summari",{"_index":471,"t":{"74":{"position":[[336,7]]},"191":{"position":[[98,7]]},"197":{"position":[[345,8],[370,8]]}}}],["supervisor",{"_index":1055,"t":{"231":{"position":[[199,10]]}}}],["support",{"_index":145,"t":{"10":{"position":[[248,7]]},"30":{"position":[[12,8]]},"56":{"position":[[124,8]]},"70":{"position":[[15,8]]},"115":{"position":[[8,8]]},"233":{"position":[[196,7]]}}}],["surfac",{"_index":297,"t":{"34":{"position":[[129,8]]},"141":{"position":[[695,8]]}}}],["suspect",{"_index":549,"t":{"90":{"position":[[310,7]]}}}],["switch",{"_index":209,"t":{"12":{"position":[[1483,6],[1543,6]]},"62":{"position":[[127,8]]},"92":{"position":[[179,10]]},"183":{"position":[[8,6],[167,8],[296,6]]},"225":{"position":[[473,9]]},"237":{"position":[[168,6]]}}}],["system",{"_index":96,"t":{"6":{"position":[[799,6],[875,6],[918,6]]},"20":{"position":[[58,6]]},"36":{"position":[[280,6]]},"46":{"position":[[21,6]]},"52":{"position":[[89,6]]},"137":{"position":[[561,6]]},"173":{"position":[[452,6]]},"177":{"position":[[36,6]]},"199":{"position":[[459,6]]},"203":{"position":[[145,6]]},"225":{"position":[[189,6]]}}}],["system'",{"_index":717,"t":{"129":{"position":[[671,8]]}}}],["systemctl",{"_index":321,"t":{"36":{"position":[[630,9],[896,9],[927,9],[959,9]]},"40":{"position":[[0,9],[31,9],[63,9]]}}}],["systemd",{"_index":317,"t":{"36":{"position":[[545,7]]},"46":{"position":[[319,7]]}}}],["tab",{"_index":561,"t":{"92":{"position":[[166,5]]}}}],["take",{"_index":943,"t":{"193":{"position":[[28,4]]}}}],["talk",{"_index":616,"t":{"103":{"position":[[42,4]]},"109":{"position":[[5,4]]}}}],["task",{"_index":220,"t":{"12":{"position":[[1790,6],[1815,4],[1964,6],[2004,4],[2062,4],[2106,5],[2160,4],[2209,4],[2251,5],[2257,6],[2279,5]]},"14":{"position":[[71,5]]},"34":{"position":[[33,6],[48,6],[67,4],[163,4]]},"36":{"position":[[1031,4],[1046,4]]},"46":{"position":[[387,4]]},"70":{"position":[[75,6],[209,5],[251,4]]},"127":{"position":[[95,5]]},"129":{"position":[[67,4],[286,5],[416,4]]},"131":{"position":[[394,5]]},"133":{"position":[[84,6],[109,4],[146,6],[186,4],[240,4],[314,5],[371,4],[447,4]]},"135":{"position":[[103,4],[269,4]]},"139":{"position":[[36,4],[109,4],[199,4],[382,6]]},"141":{"position":[[186,7],[606,5]]},"145":{"position":[[62,6]]},"147":{"position":[[50,4]]},"173":{"position":[[286,4],[341,5],[398,4]]},"175":{"position":[[355,5]]},"179":{"position":[[589,5],[721,4]]},"189":{"position":[[21,5]]},"193":{"position":[[84,5],[215,4]]},"225":{"position":[[184,4],[354,8]]},"229":{"position":[[191,5]]},"235":{"position":[[76,5]]}}}],["task'",{"_index":768,"t":{"137":{"position":[[600,6]]}}}],["tast",{"_index":876,"t":{"175":{"position":[[205,6]]}}}],["team",{"_index":598,"t":{"95":{"position":[[633,6]]}}}],["telegram",{"_index":121,"t":{"8":{"position":[[292,8],[330,9]]},"12":{"position":[[73,8],[324,9],[349,8],[428,9],[469,8],[494,9],[534,8],[562,9],[642,8],[666,9],[715,8],[739,9],[790,8],[804,9],[847,8],[872,9],[913,8],[938,9],[974,8],[1107,8],[1424,8],[2337,8],[2405,8],[2433,8],[2522,9],[2591,8],[2702,9]]},"14":{"position":[[48,8]]},"50":{"position":[[388,8],[646,8],[748,9]]},"54":{"position":[[64,8]]},"72":{"position":[[318,9]]},"99":{"position":[[242,9]]},"137":{"position":[[667,9]]},"147":{"position":[[279,8]]},"149":{"position":[[20,8]]},"155":{"position":[[28,8],[102,8],[204,8],[269,8],[337,8],[397,8],[489,8],[514,8]]},"157":{"position":[[126,8]]},"159":{"position":[[250,8]]},"161":{"position":[[0,8],[210,8],[349,9]]},"165":{"position":[[350,9]]},"167":{"position":[[69,8]]},"179":{"position":[[204,9],[469,9]]},"193":{"position":[[195,9]]},"205":{"position":[[39,8]]}}}],["telegram'",{"_index":832,"t":{"159":{"position":[[518,10]]}}}],["telegram_bot_token",{"_index":835,"t":{"161":{"position":[[131,18]]}}}],["telegram_en",{"_index":836,"t":{"161":{"position":[[178,16]]}}}],["telegram_stream",{"_index":837,"t":{"161":{"position":[[233,18]]}}}],["tell",{"_index":672,"t":{"117":{"position":[[209,4]]},"191":{"position":[[0,4]]},"213":{"position":[[0,4]]}}}],["temporari",{"_index":393,"t":{"50":{"position":[[697,9]]}}}],["term",{"_index":626,"t":{"105":{"position":[[242,5]]},"175":{"position":[[441,5],[452,5]]},"207":{"position":[[226,4]]}}}],["termin",{"_index":137,"t":{"10":{"position":[[163,8]]},"14":{"position":[[110,9]]},"18":{"position":[[57,9]]},"56":{"position":[[57,8]]},"72":{"position":[[306,8]]},"111":{"position":[[77,9]]},"115":{"position":[[240,9]]},"227":{"position":[[313,8]]}}}],["terminal/daemon",{"_index":87,"t":{"6":{"position":[[601,15]]}}}],["terminal/tti",{"_index":362,"t":{"44":{"position":[[374,12]]}}}],["test",{"_index":721,"t":{"131":{"position":[[55,6],[242,5],[473,6],[742,5]]},"141":{"position":[[396,6],[565,5]]}}}],["text",{"_index":194,"t":{"12":{"position":[[1116,4]]},"50":{"position":[[626,5]]},"115":{"position":[[63,5],[205,4]]},"159":{"position":[[20,4]]},"161":{"position":[[269,4]]},"165":{"position":[[209,4]]},"207":{"position":[[251,4]]}}}],["they'll",{"_index":727,"t":{"131":{"position":[[480,7]]}}}],["they'r",{"_index":745,"t":{"133":{"position":[[569,7]]}}}],["those",{"_index":896,"t":{"177":{"position":[[442,5]]}}}],["thread",{"_index":698,"t":{"129":{"position":[[33,9]]}}}],["three",{"_index":886,"t":{"177":{"position":[[14,5]]}}}],["through",{"_index":453,"t":{"72":{"position":[[136,7]]},"92":{"position":[[125,7]]},"145":{"position":[[236,7]]}}}],["tier",{"_index":686,"t":{"125":{"position":[[202,5]]},"177":{"position":[[20,4]]}}}],["time",{"_index":368,"t":{"46":{"position":[[512,5]]},"50":{"position":[[26,5],[668,4]]},"84":{"position":[[92,5]]},"97":{"position":[[47,4]]},"111":{"position":[[200,4]]},"129":{"position":[[77,5]]},"139":{"position":[[296,4]]},"151":{"position":[[249,4]]},"159":{"position":[[40,4]]},"161":{"position":[[264,4]]},"179":{"position":[[573,5]]},"197":{"position":[[600,5]]},"203":{"position":[[104,5]]}}}],["time_rang",{"_index":624,"t":{"105":{"position":[[211,12]]}}}],["tip",{"_index":39,"t":{"4":{"position":[[339,6]]},"52":{"position":[[0,6]]},"95":{"position":[[338,6]]},"187":{"position":[[154,6]]}}}],["titl",{"_index":521,"t":{"86":{"position":[[55,6],[295,6]]}}}],["tn",{"_index":340,"t":{"36":{"position":[[1313,3],[1355,3],[1391,3]]},"42":{"position":[[16,3],[58,3],[94,3]]}}}],["togeth",{"_index":737,"t":{"131":{"position":[[809,9]]}}}],["toggl",{"_index":193,"t":{"12":{"position":[[1100,6],[1658,6]]},"107":{"position":[[227,6]]},"145":{"position":[[221,6]]},"159":{"position":[[85,7]]}}}],["token",{"_index":122,"t":{"8":{"position":[[301,5],[351,5],[414,5]]},"12":{"position":[[131,7],[1220,5],[1352,5]]},"50":{"position":[[401,5]]},"72":{"position":[[448,6]]},"82":{"position":[[11,5],[83,6],[206,5],[576,5],[790,5]]},"90":{"position":[[297,5]]},"101":{"position":[[266,6]]},"119":{"position":[[28,6],[70,5],[114,5],[157,6],[222,6],[286,5]]},"121":{"position":[[32,6]]},"123":{"position":[[280,6]]},"125":{"position":[[419,5],[480,6]]},"149":{"position":[[39,6]]},"161":{"position":[[79,5],[154,5],[310,5]]},"173":{"position":[[433,5]]},"175":{"position":[[395,5]]},"217":{"position":[[200,7]]}}}],["tokens/new",{"_index":500,"t":{"82":{"position":[[286,10]]}}}],["tool",{"_index":94,"t":{"6":{"position":[[732,7]]},"12":{"position":[[1023,6],[1056,5]]},"72":{"position":[[195,5],[368,5],[461,5]]},"74":{"position":[[377,4]]},"84":{"position":[[386,5]]},"86":{"position":[[0,4]]},"103":{"position":[[14,5]]},"105":{"position":[[0,4]]},"107":{"position":[[0,4]]},"135":{"position":[[19,5],[47,4]]},"137":{"position":[[524,4]]},"147":{"position":[[187,4]]},"165":{"position":[[0,4]]},"167":{"position":[[0,4]]},"169":{"position":[[0,4]]},"171":{"position":[[0,4]]},"173":{"position":[[0,4]]},"177":{"position":[[391,5],[448,5]]},"217":{"position":[[143,5]]}}}],["toolset",{"_index":458,"t":{"72":{"position":[[245,8]]},"163":{"position":[[23,7]]}}}],["top",{"_index":568,"t":{"92":{"position":[[305,3]]},"105":{"position":[[200,3]]},"109":{"position":[[161,3]]},"197":{"position":[[173,3]]}}}],["topic",{"_index":700,"t":{"129":{"position":[[120,6]]}}}],["toward",{"_index":981,"t":{"199":{"position":[[157,6]]}}}],["track",{"_index":569,"t":{"92":{"position":[[309,7]]},"105":{"position":[[40,7],[204,6],[305,5]]},"107":{"position":[[38,6],[131,5],[171,5],[286,6],[322,5]]},"109":{"position":[[119,7],[165,8],[452,5],[529,5]]},"111":{"position":[[219,5]]},"113":{"position":[[42,5],[61,5]]},"141":{"position":[[592,7]]},"175":{"position":[[407,8]]},"219":{"position":[[13,6]]},"225":{"position":[[310,8]]}}}],["tradit",{"_index":697,"t":{"129":{"position":[[0,11]]}}}],["trailer",{"_index":484,"t":{"80":{"position":[[105,8]]},"88":{"position":[[121,8]]}}}],["treat",{"_index":351,"t":{"44":{"position":[[162,5]]},"90":{"position":[[206,5]]},"123":{"position":[[209,5]]}}}],["tree",{"_index":433,"t":{"68":{"position":[[96,4]]},"171":{"position":[[37,4]]}}}],["tri",{"_index":688,"t":{"125":{"position":[[316,3]]},"181":{"position":[[42,5],[123,5]]}}}],["trigger",{"_index":333,"t":{"36":{"position":[[1083,8]]}}}],["trip",{"_index":647,"t":{"109":{"position":[[301,5]]}}}],["true",{"_index":786,"t":{"143":{"position":[[74,4]]},"161":{"position":[[284,4]]}}}],["tty/raw",{"_index":138,"t":{"10":{"position":[[174,7]]}}}],["tui",{"_index":407,"t":{"56":{"position":[[79,3]]},"225":{"position":[[26,3]]},"237":{"position":[[53,4]]}}}],["tv",{"_index":669,"t":{"117":{"position":[[48,3]]}}}],["two",{"_index":779,"t":{"139":{"position":[[343,3]]}}}],["type",{"_index":107,"t":{"8":{"position":[[127,4],[309,4]]},"12":{"position":[[0,4]]},"159":{"position":[[67,6]]},"161":{"position":[[289,4]]},"169":{"position":[[176,4]]},"177":{"position":[[302,4]]},"197":{"position":[[83,5]]},"199":{"position":[[0,4]]}}}],["typescript",{"_index":993,"t":{"201":{"position":[[54,11]]}}}],["u",{"_index":331,"t":{"36":{"position":[[867,1]]}}}],["ui",{"_index":660,"t":{"115":{"position":[[69,2]]}}}],["unchang",{"_index":106,"t":{"8":{"position":[[113,10]]}}}],["under",{"_index":504,"t":{"82":{"position":[[355,5],[429,5]]}}}],["undo",{"_index":437,"t":{"68":{"position":[[212,4]]}}}],["uninstal",{"_index":99,"t":{"6":{"position":[[851,9],[861,9]]},"48":{"position":[[39,9]]}}}],["unit",{"_index":318,"t":{"36":{"position":[[558,4]]},"46":{"position":[[332,4]]}}}],["unknown",{"_index":893,"t":{"177":{"position":[[220,7]]}}}],["unless",{"_index":157,"t":{"12":{"position":[[82,6]]}}}],["unload",{"_index":316,"t":{"36":{"position":[[451,6]]},"38":{"position":[[78,6]]}}}],["unpair",{"_index":240,"t":{"12":{"position":[[2329,7]]},"157":{"position":[[96,7]]}}}],["up",{"_index":53,"t":{"6":{"position":[[28,2]]},"16":{"position":[[219,3]]},"20":{"position":[[8,2]]},"52":{"position":[[28,2],[172,2],[214,2]]},"95":{"position":[[456,2]]},"161":{"position":[[16,2]]}}}],["up/down",{"_index":657,"t":{"113":{"position":[[82,7]]},"225":{"position":[[415,8]]},"233":{"position":[[144,7]]}}}],["updat",{"_index":18,"t":{"4":{"position":[[66,6]]},"227":{"position":[[42,7]]},"229":{"position":[[119,7]]}}}],["upgrad",{"_index":14,"t":{"4":{"position":[[28,7],[88,7],[454,7]]},"223":{"position":[[41,8]]}}}],["upload",{"_index":806,"t":{"149":{"position":[[102,8]]},"159":{"position":[[112,7]]},"165":{"position":[[360,7]]}}}],["uri",{"_index":583,"t":{"95":{"position":[[200,4]]}}}],["url",{"_index":607,"t":{"99":{"position":[[283,4],[374,4]]},"173":{"position":[[45,3],[123,3]]},"187":{"position":[[232,4],[683,3]]}}}],["us",{"_index":46,"t":{"4":{"position":[[442,3]]},"10":{"position":[[0,3]]},"12":{"position":[[1528,3]]},"18":{"position":[[67,6]]},"24":{"position":[[74,6]]},"50":{"position":[[76,4]]},"64":{"position":[[0,3]]},"78":{"position":[[30,4]]},"88":{"position":[[26,5]]},"95":{"position":[[620,3]]},"99":{"position":[[86,3]]},"103":{"position":[[28,4]]},"119":{"position":[[134,4]]},"123":{"position":[[124,4]]},"125":{"position":[[357,3]]},"131":{"position":[[336,3],[554,6],[597,6]]},"135":{"position":[[8,4],[583,3]]},"137":{"position":[[227,6],[253,6],[279,6],[329,6],[536,4]]},"139":{"position":[[338,4]]},"141":{"position":[[207,6],[248,6],[347,6],[522,7]]},"151":{"position":[[8,4]]},"163":{"position":[[38,3]]},"179":{"position":[[534,3]]},"183":{"position":[[150,3],[328,3]]},"187":{"position":[[68,4],[270,4]]},"189":{"position":[[27,5]]},"205":{"position":[[0,3]]},"215":{"position":[[0,4]]},"225":{"position":[[510,3]]},"237":{"position":[[121,3]]}}}],["usag",{"_index":201,"t":{"12":{"position":[[1309,5]]},"44":{"position":[[427,5]]},"173":{"position":[[446,5]]},"175":{"position":[[401,5]]}}}],["usage.json",{"_index":883,"t":{"175":{"position":[[378,10]]}}}],["use_skil",{"_index":862,"t":{"173":{"position":[[186,9]]}}}],["user",{"_index":178,"t":{"12":{"position":[[504,5],[799,4],[2374,5],[2476,4],[2600,5]]},"36":{"position":[[252,4],[553,4],[642,4],[735,4],[806,5],[861,4],[908,4],[939,4],[971,4],[1095,4]]},"40":{"position":[[12,4],[43,4],[75,4]]},"46":{"position":[[327,4],[501,5]]},"95":{"position":[[465,6],[500,4],[665,6]]},"119":{"position":[[193,4]]},"131":{"position":[[27,5],[184,6],[252,4]]},"137":{"position":[[0,4],[212,4]]},"143":{"position":[[201,5]]},"151":{"position":[[77,4],[159,5],[467,5]]},"153":{"position":[[51,4],[116,6]]},"155":{"position":[[188,4]]},"157":{"position":[[56,6],[89,6]]},"159":{"position":[[371,4],[467,6]]},"165":{"position":[[345,4]]}}}],["userid",{"_index":819,"t":{"155":{"position":[[220,8],[285,8],[354,8],[413,8]]}}}],["usernam",{"_index":476,"t":{"78":{"position":[[12,9]]}}}],["userprofile%\\.mercury\\daemon.log",{"_index":338,"t":{"36":{"position":[[1244,33]]}}}],["ux",{"_index":1043,"t":{"225":{"position":[[371,2]]}}}],["ux/system",{"_index":1063,"t":{"237":{"position":[[28,9]]}}}],["v1.1.6",{"_index":1031,"t":{"221":{"position":[[0,6]]}}}],["valid",{"_index":361,"t":{"44":{"position":[[365,8]]},"50":{"position":[[307,5],[476,9]]}}}],["valu",{"_index":84,"t":{"6":{"position":[[548,6]]},"8":{"position":[[58,6],[138,5]]},"50":{"position":[[1069,6]]},"84":{"position":[[337,6]]},"97":{"position":[[287,6]]}}}],["var",{"_index":925,"t":{"187":{"position":[[205,4]]}}}],["variabl",{"_index":790,"t":{"143":{"position":[[229,8],[249,8]]},"161":{"position":[[102,8]]},"187":{"position":[[102,9],[173,9]]},"207":{"position":[[63,9]]}}}],["verbos",{"_index":100,"t":{"6":{"position":[[950,7]]},"58":{"position":[[6,7],[80,7]]}}}],["version",{"_index":23,"t":{"4":{"position":[[146,7],[280,7],[320,7]]},"10":{"position":[[155,7]]},"219":{"position":[[45,8]]}}}],["via",{"_index":214,"t":{"12":{"position":[[1633,3]]},"36":{"position":[[150,3],[626,3],[1106,3]]},"72":{"position":[[418,3]]},"99":{"position":[[223,3]]},"137":{"position":[[630,3]]},"149":{"position":[[29,3]]},"185":{"position":[[388,3]]},"203":{"position":[[125,3]]},"217":{"position":[[131,3]]}}}],["video",{"_index":824,"t":{"159":{"position":[[135,6]]}}}],["view",{"_index":148,"t":{"10":{"position":[[284,7]]},"12":{"position":[[1652,5],[1674,4],[1699,5],[1735,4],[1740,5],[1773,4],[2293,4]]},"56":{"position":[[171,6]]},"70":{"position":[[246,4]]},"115":{"position":[[215,4]]},"173":{"position":[[322,4]]},"225":{"position":[[74,6]]},"227":{"position":[[32,5]]}}}],["volum",{"_index":574,"t":{"92":{"position":[[409,7]]},"107":{"position":[[196,6]]},"109":{"position":[[353,6]]},"111":{"position":[[122,6]]},"113":{"position":[[75,6]]},"225":{"position":[[408,6]]},"233":{"position":[[137,6]]}}}],["vs",{"_index":994,"t":{"201":{"position":[[66,2],[181,2]]}}}],["wait",{"_index":772,"t":{"137":{"position":[[727,5]]}}}],["want",{"_index":262,"t":{"18":{"position":[[100,4]]},"131":{"position":[[779,4]]},"187":{"position":[[60,4]]}}}],["warn",{"_index":495,"t":{"82":{"position":[[174,10]]},"90":{"position":[[0,10]]},"123":{"position":[[0,10]]},"151":{"position":[[552,10]]},"187":{"position":[[460,10]]}}}],["warrant",{"_index":774,"t":{"139":{"position":[[225,7]]}}}],["watchdog",{"_index":279,"t":{"28":{"position":[[134,9]]},"36":{"position":[[1144,8]]},"46":{"position":[[434,8]]},"227":{"position":[[293,8]]}}}],["way",{"_index":401,"t":{"52":{"position":[[43,3]]},"62":{"position":[[41,5]]}}}],["web",{"_index":859,"t":{"173":{"position":[[84,3]]},"211":{"position":[[39,3],[127,3]]},"225":{"position":[[604,3]]},"235":{"position":[[157,3]]}}}],["weekli",{"_index":938,"t":{"191":{"position":[[91,6]]}}}],["well",{"_index":796,"t":{"145":{"position":[[16,4]]}}}],["what'",{"_index":621,"t":{"105":{"position":[[100,6]]},"109":{"position":[[392,7]]}}}],["whether",{"_index":276,"t":{"28":{"position":[[21,7]]}}}],["win",{"_index":997,"t":{"201":{"position":[[114,5],[144,5]]}}}],["window",{"_index":271,"t":{"22":{"position":[[44,8]]},"36":{"position":[[12,7],[1023,7]]},"46":{"position":[[379,7]]},"129":{"position":[[55,7],[335,7]]},"137":{"position":[[411,6]]},"139":{"position":[[148,6]]}}}],["within",{"_index":286,"t":{"28":{"position":[[255,6]]},"197":{"position":[[197,7]]}}}],["without",{"_index":10,"t":{"2":{"position":[[91,7]]},"36":{"position":[[759,7]]},"46":{"position":[[455,7]]},"72":{"position":[[286,7],[438,7]]},"84":{"position":[[58,7]]},"145":{"position":[[115,7]]},"177":{"position":[[186,7]]},"183":{"position":[[52,7]]}}}],["wizard",{"_index":92,"t":{"6":{"position":[[674,6]]},"8":{"position":[[33,6]]},"50":{"position":[[47,6]]}}}],["won't",{"_index":462,"t":{"72":{"position":[[490,5]]}}}],["work",{"_index":154,"t":{"12":{"position":[[52,4]]},"14":{"position":[[82,7]]},"24":{"position":[[102,7]]},"30":{"position":[[96,5]]},"34":{"position":[[258,4]]},"70":{"position":[[100,4],[156,4],[315,4]]},"92":{"position":[[341,4]]},"125":{"position":[[115,4]]},"127":{"position":[[200,5]]},"129":{"position":[[499,4]]},"131":{"position":[[142,7],[211,7],[330,5],[488,4]]},"133":{"position":[[528,4]]},"135":{"position":[[431,7],[544,6]]},"141":{"position":[[671,4]]},"147":{"position":[[105,5]]},"151":{"position":[[595,5]]},"169":{"position":[[83,7]]},"171":{"position":[[29,7]]},"199":{"position":[[149,7]]},"225":{"position":[[229,4]]},"231":{"position":[[95,4]]}}}],["worker",{"_index":295,"t":{"34":{"position":[[75,6],[99,6],[191,7]]},"229":{"position":[[211,8]]}}}],["workspac",{"_index":223,"t":{"12":{"position":[[1867,9]]},"56":{"position":[[146,9]]},"60":{"position":[[33,9]]},"62":{"position":[[14,9],[64,9],[80,9]]},"66":{"position":[[62,9]]},"68":{"position":[[56,9],[258,9]]},"70":{"position":[[0,9]]},"223":{"position":[[50,9]]},"225":{"position":[[81,9]]},"227":{"position":[[197,9]]},"229":{"position":[[95,9]]},"235":{"position":[[37,9]]}}}],["write",{"_index":252,"t":{"16":{"position":[[86,6]]},"82":{"position":[[500,5],[531,5],[555,5]]},"129":{"position":[[127,5],[574,5]]},"131":{"position":[[37,5],[223,6],[465,7]]},"137":{"position":[[708,7]]},"141":{"position":[[547,5]]},"145":{"position":[[123,7]]},"165":{"position":[[74,5]]},"179":{"position":[[118,7]]}}}],["write_fil",{"_index":838,"t":{"165":{"position":[[63,10]]}}}],["writer",{"_index":712,"t":{"129":{"position":[[542,6]]}}}],["ws",{"_index":149,"t":{"10":{"position":[[292,3]]},"12":{"position":[[1853,3]]},"62":{"position":[[90,3]]},"68":{"position":[[20,3],[71,3],[114,3],[165,3],[208,3],[244,3]]},"229":{"position":[[11,3]]}}}],["x",{"_index":759,"t":{"137":{"position":[[68,3]]},"139":{"position":[[86,1]]},"201":{"position":[[178,2],[199,3]]}}}],["xai",{"_index":916,"t":{"185":{"position":[[267,5]]}}}],["x••••4f2a",{"_index":114,"t":{"8":{"position":[[189,9]]},"50":{"position":[[1026,10]]}}}],["y",{"_index":761,"t":{"137":{"position":[[134,3]]},"139":{"position":[[101,3]]}}}],["ye",{"_index":601,"t":{"97":{"position":[[109,3]]},"153":{"position":[[145,3]]},"205":{"position":[[448,3]]}}}],["you'll",{"_index":519,"t":{"84":{"position":[[365,6]]},"95":{"position":[[672,6]]},"97":{"position":[[307,6]]},"135":{"position":[[352,6]]},"141":{"position":[[436,6]]}}}],["you'r",{"_index":980,"t":{"199":{"position":[[142,6],[184,6]]}}}],["you'v",{"_index":983,"t":{"199":{"position":[[285,6]]}}}],["your",{"_index":464,"t":{"74":{"position":[[57,5]]},"80":{"position":[[200,5]]},"88":{"position":[[176,5]]}}}],["yournam",{"_index":611,"t":{"99":{"position":[[476,8]]}}}],["z",{"_index":658,"t":{"113":{"position":[[97,1]]},"233":{"position":[[113,2]]}}}],["zero",{"_index":202,"t":{"12":{"position":[[1318,4]]}}}]],"pipeline":["stemmer"]}}]
\ No newline at end of file
diff --git a/docs/search.html b/docs/search.html
index ad121559..e8e663f9 100644
--- a/docs/search.html
+++ b/docs/search.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en dir=ltr class="plugin-@easyops-cn/docusaurus-search-local plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Search the documentation</title><meta data-rh=true property=og:title content=Mercury /><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/search /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=robots content="noindex, follow"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/search /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/search hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/search hreflang=x-default /><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.26d25496.js defer></script><script src=/assets/js/main.049ef3e0.js defer></script></head><body><svg style="display: none;"><defs>
+<!doctype html><html lang=en dir=ltr class="plugin-@easyops-cn/docusaurus-search-local plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.0"><title data-rh=true>Search the documentation</title><meta data-rh=true property=og:title content=Mercury /><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true name=twitter:image content=https://mercury.cosmicstack.org/img/card.png /><meta data-rh=true property=og:url content=https://mercury.cosmicstack.org/search /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=robots content="noindex, follow"/><link data-rh=true rel=icon href=/img/favicon.svg /><link data-rh=true rel=canonical href=https://mercury.cosmicstack.org/search /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/search hreflang=en /><link data-rh=true rel=alternate href=https://mercury.cosmicstack.org/search hreflang=x-default /><script src=https://analytics.cosmicstack.org/js/pa--flkUFvdfmsPSUtRivKAK.js async></script><script src=/js/plausible-init.js></script><link rel=stylesheet href=/assets/css/styles.96f6c830.css /><script src=/assets/js/runtime~main.46475263.js defer></script><script src=/assets/js/main.9c9b74b1.js defer></script></head><body><svg style="display: none;"><defs>
<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
</defs></svg>
-<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><link rel=preload as=image href=/img/favicon.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/favicon.svg alt=Mercury class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">☿ Mercury</b></a><a class="navbar__item navbar__link" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class="container margin-vert--lg"><h1>Search the documentation</h1><div class=row><div class="col col--12"><input type=search class=searchQueryInput_CFBF aria-label=Search autocomplete=off autofocus name=q value="" /></div></div><section></section></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
+<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-f74")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><b class="navbar__title text--truncate">☿ Mercury</b></a><a class="navbar__item navbar__link" href=/docs>Docs</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><div class="navbar__search searchBarContainer_NW3z" dir=ltr><input placeholder=Search aria-label=Search class="navbar__search-input searchInput_YFbd" value="" /><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div></div></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><div class="container margin-vert--lg"><h1>Search the documentation</h1><div class=row><div class="col col--12"><input type=search class=searchQueryInput_CFBF aria-label=Search autocomplete=off autofocus name=q value="" /></div></div><section></section></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Docs</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs>Getting Started</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/cosmicstack-labs/mercury-agent target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Cosmic Stack. Built with Docusaurus.</div></div></div></footer></div></body>
\ No newline at end of file
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 26464045..0fb8efe9 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://mercury.cosmicstack.org/search</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/cli-commands</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/doctor</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/system-service</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/getting-started/setup</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/getting-started/starting</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/github-companion</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/spotify</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/sub-agents</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/telegram</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/built-in-tools</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/permissions</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/provider-fallback</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/scheduling</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/second-brain</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/skills</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://mercury.cosmicstack.org/search</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/cli-commands</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/doctor</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/cli-commands/in-chat-commands</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/daemon-mode</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/platform-guide</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/daemon-mode/system-service</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/getting-started/setup</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/getting-started/starting</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/coding-workspace</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/github-companion</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/spotify</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/sub-agents</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/integrations/telegram</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/built-in-tools</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/configuration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/permissions</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/provider-fallback</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/scheduling</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/second-brain</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/reference/skills</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/releases</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/docs/releases/1.1.6</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://mercury.cosmicstack.org/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index e6c412da..0d3c1581 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -18,11 +18,14 @@
"commander": "^12.1.0",
"dotenv": "^16.4.7",
"grammy": "^1.42.0",
+ "ink": "^5.2.1",
"js-tiktoken": "^1.0.19",
"marked": "^14.1.4",
"node-cron": "^3.0.3",
"ollama-ai-provider": "^1.2.0",
"pino": "^9.6.0",
+ "react": "^18.3.1",
+ "react-dom": "^18.3.1",
"yaml": "^2.7.0",
"zod": "^3.25.76"
},
@@ -33,7 +36,7 @@
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.13.0",
"@types/node-cron": "^3.0.11",
- "@types/react": "^18.3.0",
+ "@types/react": "^18.3.28",
"tsup": "^8.4.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
@@ -253,6 +256,18 @@
"zod": "^3.23.8"
}
},
+ "node_modules/@alcalzone/ansi-tokenize": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@alcalzone/ansi-tokenize/-/ansi-tokenize-0.1.3.tgz",
+ "integrity": "sha512-3yWxPTq3UQ/FY9p1ErPxIyfT64elWaMvM9lIHnaqpyft63tkxodF5aUElYHrdisWve5cETkh1+KBw1yJuW0aRw==",
+ "dependencies": {
+ "ansi-styles": "^6.2.1",
+ "is-fullwidth-code-point": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=14.13.1"
+ }
+ },
"node_modules/@esbuild/aix-ppc64": {
"version": "0.27.7",
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
@@ -1117,13 +1132,13 @@
"version": "15.7.15",
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
"integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",
- "dev": true
+ "devOptional": true
},
"node_modules/@types/react": {
"version": "18.3.28",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.28.tgz",
"integrity": "sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==",
- "dev": true,
+ "devOptional": true,
"dependencies": {
"@types/prop-types": "*",
"csstype": "^3.2.2"
@@ -1316,6 +1331,42 @@
"zod": "^3.25.76 || ^4.1.8"
}
},
+ "node_modules/ansi-escapes": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.3.0.tgz",
+ "integrity": "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg==",
+ "dependencies": {
+ "environment": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
"node_modules/any-promise": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
@@ -1339,6 +1390,17 @@
"node": ">=8.0.0"
}
},
+ "node_modules/auto-bind": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-5.0.1.tgz",
+ "integrity": "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@@ -1501,6 +1563,72 @@
"license": "ISC",
"optional": true
},
+ "node_modules/cli-boxes": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz",
+ "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-cursor": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz",
+ "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==",
+ "dependencies": {
+ "restore-cursor": "^4.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz",
+ "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==",
+ "dependencies": {
+ "slice-ansi": "^5.0.0",
+ "string-width": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/slice-ansi": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz",
+ "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==",
+ "dependencies": {
+ "ansi-styles": "^6.0.0",
+ "is-fullwidth-code-point": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ }
+ },
+ "node_modules/code-excerpt": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz",
+ "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==",
+ "dependencies": {
+ "convert-to-spaces": "^2.0.1"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
"node_modules/commander": {
"version": "12.1.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
@@ -1524,11 +1652,19 @@
"node": "^14.18.0 || >=16.10.0"
}
},
+ "node_modules/convert-to-spaces": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz",
+ "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
"node_modules/csstype": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
- "dev": true
+ "devOptional": true
},
"node_modules/debug": {
"version": "4.4.3",
@@ -1602,6 +1738,11 @@
"url": "https://dotenvx.com"
}
},
+ "node_modules/emoji-regex": {
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
+ "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A=="
+ },
"node_modules/end-of-stream": {
"version": "1.4.5",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
@@ -1612,12 +1753,28 @@
"once": "^1.4.0"
}
},
+ "node_modules/environment": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz",
+ "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/es-module-lexer": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
"integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
"dev": true
},
+ "node_modules/es-toolkit": {
+ "version": "1.46.1",
+ "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.46.1.tgz",
+ "integrity": "sha512-5eNtXOs3tbfxXOj04tjjseeWkRWaoCjdEI+96DgwzZoe6c9juL49pXlzAFTI72aWC9Y8p7168g6XIKjh7k6pyQ=="
+ },
"node_modules/esbuild": {
"version": "0.27.7",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
@@ -1659,6 +1816,14 @@
"@esbuild/win32-x64": "0.27.7"
}
},
+ "node_modules/escape-string-regexp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/estree-walker": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
@@ -1760,6 +1925,17 @@
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
+ "node_modules/get-east-asian-width": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.5.0.tgz",
+ "integrity": "sha512-CQ+bEO+Tva/qlmw24dCejulK5pMzVnUOFOijVogd3KQs07HnRIgp8TGipvCCRT06xeYEbpbgwaCxglFyiuIcmA==",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/github-from-package": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
@@ -1802,6 +1978,17 @@
"license": "BSD-3-Clause",
"optional": true
},
+ "node_modules/indent-string": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
+ "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
@@ -1816,6 +2003,78 @@
"license": "ISC",
"optional": true
},
+ "node_modules/ink": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/ink/-/ink-5.2.1.tgz",
+ "integrity": "sha512-BqcUyWrG9zq5HIwW6JcfFHsIYebJkWWb4fczNah1goUO0vv5vneIlfwuS85twyJ5hYR/y18FlAYUxrO9ChIWVg==",
+ "dependencies": {
+ "@alcalzone/ansi-tokenize": "^0.1.3",
+ "ansi-escapes": "^7.0.0",
+ "ansi-styles": "^6.2.1",
+ "auto-bind": "^5.0.1",
+ "chalk": "^5.3.0",
+ "cli-boxes": "^3.0.0",
+ "cli-cursor": "^4.0.0",
+ "cli-truncate": "^4.0.0",
+ "code-excerpt": "^4.0.0",
+ "es-toolkit": "^1.22.0",
+ "indent-string": "^5.0.0",
+ "is-in-ci": "^1.0.0",
+ "patch-console": "^2.0.0",
+ "react-reconciler": "^0.29.0",
+ "scheduler": "^0.23.0",
+ "signal-exit": "^3.0.7",
+ "slice-ansi": "^7.1.0",
+ "stack-utils": "^2.0.6",
+ "string-width": "^7.2.0",
+ "type-fest": "^4.27.0",
+ "widest-line": "^5.0.0",
+ "wrap-ansi": "^9.0.0",
+ "ws": "^8.18.0",
+ "yoga-layout": "~3.2.1"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@types/react": ">=18.0.0",
+ "react": ">=18.0.0",
+ "react-devtools-core": "^4.19.1"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "react-devtools-core": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
+ "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-in-ci": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-in-ci/-/is-in-ci-1.0.0.tgz",
+ "integrity": "sha512-eUuAjybVTHMYWm/U+vBO1sY/JOCgoPCXRxzdju0K+K0BiGW0SChEL1MLC0PoCIR1OlPo5YAp8HuQoUlsWEICwg==",
+ "bin": {
+ "is-in-ci": "cli.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/joycon": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
@@ -1833,6 +2092,11 @@
"base64-js": "^1.5.1"
}
},
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
+ },
"node_modules/json-schema": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
@@ -1865,6 +2129,17 @@
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
}
},
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
"node_modules/loupe": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
@@ -1891,6 +2166,14 @@
"node": ">= 18"
}
},
+ "node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/mimic-response": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
@@ -2065,12 +2348,34 @@
"wrappy": "1"
}
},
+ "node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/partial-json": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/partial-json/-/partial-json-0.1.7.tgz",
"integrity": "sha512-Njv/59hHaokb/hRUjce3Hdv12wd60MtM9Z5Olmn+nehe0QDAsRtRbJPvJ0Z91TusF0SuZRIvnM+S4l6EIP8leA==",
"license": "MIT"
},
+ "node_modules/patch-console": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/patch-console/-/patch-console-2.0.0.tgz",
+ "integrity": "sha512-0YNdUceMdaQwoKce1gatDScmMo5pu/tfABfnzEqeG0gtTmd7mh/WcwgUjtAeOU7N8nFFlbQBnFK2gXW5fGvmMA==",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
"node_modules/pathe": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
@@ -2303,6 +2608,44 @@
"rc": "cli.js"
}
},
+ "node_modules/react": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
+ "dependencies": {
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.2"
+ },
+ "peerDependencies": {
+ "react": "^18.3.1"
+ }
+ },
+ "node_modules/react-reconciler": {
+ "version": "0.29.2",
+ "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.29.2.tgz",
+ "integrity": "sha512-zZQqIiYgDCTP/f1N/mAR10nJGrPD2ZR+jDSEsKWJHYC7Cm2wodlwbR3upZRdC3cjIjSlTLNVyO7Iu0Yy7t2AYg==",
+ "dependencies": {
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "peerDependencies": {
+ "react": "^18.3.1"
+ }
+ },
"node_modules/readable-stream": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
@@ -2348,6 +2691,21 @@
"node": ">=8"
}
},
+ "node_modules/restore-cursor": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz",
+ "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==",
+ "dependencies": {
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/rollup": {
"version": "4.60.2",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.2.tgz",
@@ -2421,6 +2779,14 @@
"node": ">=10"
}
},
+ "node_modules/scheduler": {
+ "version": "0.23.2",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ }
+ },
"node_modules/secure-json-parse": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-2.7.0.tgz",
@@ -2445,6 +2811,11 @@
"integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
"dev": true
},
+ "node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
+ },
"node_modules/simple-concat": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
@@ -2492,6 +2863,35 @@
"simple-concat": "^1.0.0"
}
},
+ "node_modules/slice-ansi": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz",
+ "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==",
+ "dependencies": {
+ "ansi-styles": "^6.2.1",
+ "is-fullwidth-code-point": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ }
+ },
+ "node_modules/slice-ansi/node_modules/is-fullwidth-code-point": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz",
+ "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==",
+ "dependencies": {
+ "get-east-asian-width": "^1.3.1"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/sonic-boom": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-4.2.1.tgz",
@@ -2526,6 +2926,17 @@
"node": ">= 10.x"
}
},
+ "node_modules/stack-utils": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
+ "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
+ "dependencies": {
+ "escape-string-regexp": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/stackback": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
@@ -2548,6 +2959,36 @@
"safe-buffer": "~5.2.0"
}
},
+ "node_modules/string-width": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
+ "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
+ "dependencies": {
+ "emoji-regex": "^10.3.0",
+ "get-east-asian-width": "^1.0.0",
+ "strip-ansi": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
+ "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
+ "dependencies": {
+ "ansi-regex": "^6.2.2"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
"node_modules/strip-json-comments": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
@@ -2806,6 +3247,17 @@
"node": "*"
}
},
+ "node_modules/type-fest": {
+ "version": "4.41.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",
+ "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==",
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
@@ -3501,6 +3953,36 @@
"node": ">=8"
}
},
+ "node_modules/widest-line": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-5.0.0.tgz",
+ "integrity": "sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA==",
+ "dependencies": {
+ "string-width": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/wrap-ansi": {
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz",
+ "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==",
+ "dependencies": {
+ "ansi-styles": "^6.2.1",
+ "string-width": "^7.0.0",
+ "strip-ansi": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
@@ -3508,6 +3990,26 @@
"license": "ISC",
"optional": true
},
+ "node_modules/ws": {
+ "version": "8.20.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.20.0.tgz",
+ "integrity": "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
"node_modules/yaml": {
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
@@ -3522,6 +4024,11 @@
"url": "https://github.com/sponsors/eemeli"
}
},
+ "node_modules/yoga-layout": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-3.2.1.tgz",
+ "integrity": "sha512-0LPOt3AxKqMdFBZA3HBAt/t/8vIKq7VaQYbuA8WxCgung+p9TVyKRYdpvCb80HcdTN2NkbIKbhNwKUfm3tQywQ=="
+ },
"node_modules/zod": {
"version": "3.25.76",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
@@ -3667,6 +4174,15 @@
"secure-json-parse": "^2.7.0"
}
},
+ "@alcalzone/ansi-tokenize": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@alcalzone/ansi-tokenize/-/ansi-tokenize-0.1.3.tgz",
+ "integrity": "sha512-3yWxPTq3UQ/FY9p1ErPxIyfT64elWaMvM9lIHnaqpyft63tkxodF5aUElYHrdisWve5cETkh1+KBw1yJuW0aRw==",
+ "requires": {
+ "ansi-styles": "^6.2.1",
+ "is-fullwidth-code-point": "^4.0.0"
+ }
+ },
"@esbuild/aix-ppc64": {
"version": "0.27.7",
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz",
@@ -4134,13 +4650,13 @@
"version": "15.7.15",
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz",
"integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",
- "dev": true
+ "devOptional": true
},
"@types/react": {
"version": "18.3.28",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.28.tgz",
"integrity": "sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==",
- "dev": true,
+ "devOptional": true,
"requires": {
"@types/prop-types": "*",
"csstype": "^3.2.2"
@@ -4271,6 +4787,24 @@
}
}
},
+ "ansi-escapes": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.3.0.tgz",
+ "integrity": "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg==",
+ "requires": {
+ "environment": "^1.0.0"
+ }
+ },
+ "ansi-regex": {
+ "version": "6.2.2",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
+ "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="
+ },
+ "ansi-styles": {
+ "version": "6.2.3",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="
+ },
"any-promise": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
@@ -4288,6 +4822,11 @@
"resolved": "https://registry.npmjs.org/atomic-sleep/-/atomic-sleep-1.0.0.tgz",
"integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ=="
},
+ "auto-bind": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-5.0.1.tgz",
+ "integrity": "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg=="
+ },
"base64-js": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@@ -4387,6 +4926,47 @@
"integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
"optional": true
},
+ "cli-boxes": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz",
+ "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g=="
+ },
+ "cli-cursor": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz",
+ "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==",
+ "requires": {
+ "restore-cursor": "^4.0.0"
+ }
+ },
+ "cli-truncate": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz",
+ "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==",
+ "requires": {
+ "slice-ansi": "^5.0.0",
+ "string-width": "^7.0.0"
+ },
+ "dependencies": {
+ "slice-ansi": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz",
+ "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==",
+ "requires": {
+ "ansi-styles": "^6.0.0",
+ "is-fullwidth-code-point": "^4.0.0"
+ }
+ }
+ }
+ },
+ "code-excerpt": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz",
+ "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==",
+ "requires": {
+ "convert-to-spaces": "^2.0.1"
+ }
+ },
"commander": {
"version": "12.1.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
@@ -4404,11 +4984,16 @@
"integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==",
"dev": true
},
+ "convert-to-spaces": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz",
+ "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ=="
+ },
"csstype": {
"version": "3.2.3",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
"integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
- "dev": true
+ "devOptional": true
},
"debug": {
"version": "4.4.3",
@@ -4450,6 +5035,11 @@
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz",
"integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow=="
},
+ "emoji-regex": {
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
+ "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A=="
+ },
"end-of-stream": {
"version": "1.4.5",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
@@ -4459,12 +5049,22 @@
"once": "^1.4.0"
}
},
+ "environment": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz",
+ "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q=="
+ },
"es-module-lexer": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
"integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
"dev": true
},
+ "es-toolkit": {
+ "version": "1.46.1",
+ "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.46.1.tgz",
+ "integrity": "sha512-5eNtXOs3tbfxXOj04tjjseeWkRWaoCjdEI+96DgwzZoe6c9juL49pXlzAFTI72aWC9Y8p7168g6XIKjh7k6pyQ=="
+ },
"esbuild": {
"version": "0.27.7",
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz",
@@ -4499,6 +5099,11 @@
"@esbuild/win32-x64": "0.27.7"
}
},
+ "escape-string-regexp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w=="
+ },
"estree-walker": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
@@ -4567,6 +5172,11 @@
"dev": true,
"optional": true
},
+ "get-east-asian-width": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.5.0.tgz",
+ "integrity": "sha512-CQ+bEO+Tva/qlmw24dCejulK5pMzVnUOFOijVogd3KQs07HnRIgp8TGipvCCRT06xeYEbpbgwaCxglFyiuIcmA=="
+ },
"github-from-package": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz",
@@ -4590,6 +5200,11 @@
"integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
"optional": true
},
+ "indent-string": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
+ "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg=="
+ },
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
@@ -4602,6 +5217,47 @@
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
"optional": true
},
+ "ink": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/ink/-/ink-5.2.1.tgz",
+ "integrity": "sha512-BqcUyWrG9zq5HIwW6JcfFHsIYebJkWWb4fczNah1goUO0vv5vneIlfwuS85twyJ5hYR/y18FlAYUxrO9ChIWVg==",
+ "requires": {
+ "@alcalzone/ansi-tokenize": "^0.1.3",
+ "ansi-escapes": "^7.0.0",
+ "ansi-styles": "^6.2.1",
+ "auto-bind": "^5.0.1",
+ "chalk": "^5.3.0",
+ "cli-boxes": "^3.0.0",
+ "cli-cursor": "^4.0.0",
+ "cli-truncate": "^4.0.0",
+ "code-excerpt": "^4.0.0",
+ "es-toolkit": "^1.22.0",
+ "indent-string": "^5.0.0",
+ "is-in-ci": "^1.0.0",
+ "patch-console": "^2.0.0",
+ "react-reconciler": "^0.29.0",
+ "scheduler": "^0.23.0",
+ "signal-exit": "^3.0.7",
+ "slice-ansi": "^7.1.0",
+ "stack-utils": "^2.0.6",
+ "string-width": "^7.2.0",
+ "type-fest": "^4.27.0",
+ "widest-line": "^5.0.0",
+ "wrap-ansi": "^9.0.0",
+ "ws": "^8.18.0",
+ "yoga-layout": "~3.2.1"
+ }
+ },
+ "is-fullwidth-code-point": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
+ "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ=="
+ },
+ "is-in-ci": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-in-ci/-/is-in-ci-1.0.0.tgz",
+ "integrity": "sha512-eUuAjybVTHMYWm/U+vBO1sY/JOCgoPCXRxzdju0K+K0BiGW0SChEL1MLC0PoCIR1OlPo5YAp8HuQoUlsWEICwg=="
+ },
"joycon": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",
@@ -4616,6 +5272,11 @@
"base64-js": "^1.5.1"
}
},
+ "js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
+ },
"json-schema": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
@@ -4639,6 +5300,14 @@
"integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==",
"dev": true
},
+ "loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "requires": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ }
+ },
"loupe": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz",
@@ -4659,6 +5328,11 @@
"resolved": "https://registry.npmjs.org/marked/-/marked-14.1.4.tgz",
"integrity": "sha512-vkVZ8ONmUdPnjCKc5uTRvmkRbx4EAi2OkTOXmfTDhZz3OFqMNBM1oTTWwTr4HY4uAEojhzPf+Fy8F1DWa3Sndg=="
},
+ "mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="
+ },
"mimic-response": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
@@ -4771,11 +5445,24 @@
"wrappy": "1"
}
},
+ "onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "requires": {
+ "mimic-fn": "^2.1.0"
+ }
+ },
"partial-json": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/partial-json/-/partial-json-0.1.7.tgz",
"integrity": "sha512-Njv/59hHaokb/hRUjce3Hdv12wd60MtM9Z5Olmn+nehe0QDAsRtRbJPvJ0Z91TusF0SuZRIvnM+S4l6EIP8leA=="
},
+ "patch-console": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/patch-console/-/patch-console-2.0.0.tgz",
+ "integrity": "sha512-0YNdUceMdaQwoKce1gatDScmMo5pu/tfABfnzEqeG0gtTmd7mh/WcwgUjtAeOU7N8nFFlbQBnFK2gXW5fGvmMA=="
+ },
"pathe": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
@@ -4920,6 +5607,32 @@
"strip-json-comments": "~2.0.1"
}
},
+ "react": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
+ "requires": {
+ "loose-envify": "^1.1.0"
+ }
+ },
+ "react-dom": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
+ "requires": {
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.2"
+ }
+ },
+ "react-reconciler": {
+ "version": "0.29.2",
+ "resolved": "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.29.2.tgz",
+ "integrity": "sha512-zZQqIiYgDCTP/f1N/mAR10nJGrPD2ZR+jDSEsKWJHYC7Cm2wodlwbR3upZRdC3cjIjSlTLNVyO7Iu0Yy7t2AYg==",
+ "requires": {
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.2"
+ }
+ },
"readable-stream": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
@@ -4948,6 +5661,15 @@
"integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
"dev": true
},
+ "restore-cursor": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz",
+ "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==",
+ "requires": {
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2"
+ }
+ },
"rollup": {
"version": "4.60.2",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.2.tgz",
@@ -4994,6 +5716,14 @@
"resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.5.0.tgz",
"integrity": "sha512-b3rppTKm9T+PsVCBEOUR46GWI7fdOs00VKZ1+9c1EWDaDMvjQc6tUwuFyIprgGgTcWoVHSKrU8H31ZHA2e0RHA=="
},
+ "scheduler": {
+ "version": "0.23.2",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
+ "requires": {
+ "loose-envify": "^1.1.0"
+ }
+ },
"secure-json-parse": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-2.7.0.tgz",
@@ -5011,6 +5741,11 @@
"integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
"dev": true
},
+ "signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
+ },
"simple-concat": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz",
@@ -5028,6 +5763,25 @@
"simple-concat": "^1.0.0"
}
},
+ "slice-ansi": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz",
+ "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==",
+ "requires": {
+ "ansi-styles": "^6.2.1",
+ "is-fullwidth-code-point": "^5.0.0"
+ },
+ "dependencies": {
+ "is-fullwidth-code-point": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz",
+ "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==",
+ "requires": {
+ "get-east-asian-width": "^1.3.1"
+ }
+ }
+ }
+ },
"sonic-boom": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-4.2.1.tgz",
@@ -5053,6 +5807,14 @@
"resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz",
"integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg=="
},
+ "stack-utils": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
+ "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
+ "requires": {
+ "escape-string-regexp": "^2.0.0"
+ }
+ },
"stackback": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
@@ -5074,6 +5836,24 @@
"safe-buffer": "~5.2.0"
}
},
+ "string-width": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
+ "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
+ "requires": {
+ "emoji-regex": "^10.3.0",
+ "get-east-asian-width": "^1.0.0",
+ "strip-ansi": "^7.1.0"
+ }
+ },
+ "strip-ansi": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
+ "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
+ "requires": {
+ "ansi-regex": "^6.2.2"
+ }
+ },
"strip-json-comments": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
@@ -5262,6 +6042,11 @@
"safe-buffer": "^5.0.1"
}
},
+ "type-fest": {
+ "version": "4.41.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz",
+ "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA=="
+ },
"typescript": {
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
@@ -5592,17 +6377,46 @@
"stackback": "0.0.2"
}
},
+ "widest-line": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-5.0.0.tgz",
+ "integrity": "sha512-c9bZp7b5YtRj2wOe6dlj32MK+Bx/M/d+9VB2SHM1OtsUHR0aV0tdP6DWh/iMt0kWi1t5g1Iudu6hQRNd1A4PVA==",
+ "requires": {
+ "string-width": "^7.0.0"
+ }
+ },
+ "wrap-ansi": {
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz",
+ "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==",
+ "requires": {
+ "ansi-styles": "^6.2.1",
+ "string-width": "^7.0.0",
+ "strip-ansi": "^7.1.0"
+ }
+ },
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
"optional": true
},
+ "ws": {
+ "version": "8.20.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.20.0.tgz",
+ "integrity": "sha512-sAt8BhgNbzCtgGbt2OxmpuryO63ZoDk/sqaB/znQm94T4fCEsy/yV+7CdC1kJhOU9lboAEU7R3kquuycDoibVA==",
+ "requires": {}
+ },
"yaml": {
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg=="
},
+ "yoga-layout": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/yoga-layout/-/yoga-layout-3.2.1.tgz",
+ "integrity": "sha512-0LPOt3AxKqMdFBZA3HBAt/t/8vIKq7VaQYbuA8WxCgung+p9TVyKRYdpvCb80HcdTN2NkbIKbhNwKUfm3tQywQ=="
+ },
"zod": {
"version": "3.25.76",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
diff --git a/package.json b/package.json
index 710dc595..e735a389 100644
--- a/package.json
+++ b/package.json
@@ -63,11 +63,14 @@
"commander": "^12.1.0",
"dotenv": "^16.4.7",
"grammy": "^1.42.0",
+ "ink": "^5.2.1",
"js-tiktoken": "^1.0.19",
"marked": "^14.1.4",
"node-cron": "^3.0.3",
"ollama-ai-provider": "^1.2.0",
"pino": "^9.6.0",
+ "react": "^18.3.1",
+ "react-dom": "^18.3.1",
"yaml": "^2.7.0",
"zod": "^3.25.76"
},
@@ -78,7 +81,7 @@
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22.13.0",
"@types/node-cron": "^3.0.11",
- "@types/react": "^18.3.0",
+ "@types/react": "^18.3.28",
"tsup": "^8.4.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
diff --git a/src/capabilities/git/git-add.ts b/src/capabilities/git/git-add.ts
index 6bf2c1c9..33820047 100644
--- a/src/capabilities/git/git-add.ts
+++ b/src/capabilities/git/git-add.ts
@@ -11,7 +11,7 @@ export function createGitAddTool(getCwd: () => string) {
execute: async ({ paths }) => {
try {
const fileArgs = paths.map(p => `"${p}"`).join(' ');
- const result = execSync(`git add ${fileArgs}`, { encoding: 'utf-8', timeout: 10000, cwd: getCwd() });
+ const result = execSync(`git add ${fileArgs}`, { encoding: 'utf-8', timeout: 20000, cwd: getCwd() });
return `Staged ${paths.length} file(s): ${paths.join(', ')}`;
} catch (err: any) {
return `Error: ${err.stderr?.trim() || err.message}`;
diff --git a/src/capabilities/git/git-commit.ts b/src/capabilities/git/git-commit.ts
index 0365503b..da4d4272 100644
--- a/src/capabilities/git/git-commit.ts
+++ b/src/capabilities/git/git-commit.ts
@@ -20,7 +20,7 @@ export function createGitCommitTool(getCwd: () => string) {
writeFileSync(msgFilePath, fullMessage, 'utf-8');
const result = execSync(`git commit -F "${msgFilePath}"`, {
encoding: 'utf-8',
- timeout: 10000,
+ timeout: 20000,
cwd,
});
try { unlinkSync(msgFilePath); } catch {}
diff --git a/src/capabilities/git/git-diff.ts b/src/capabilities/git/git-diff.ts
index d07a276d..8dab6b02 100644
--- a/src/capabilities/git/git-diff.ts
+++ b/src/capabilities/git/git-diff.ts
@@ -14,7 +14,7 @@ export function createGitDiffTool(getCwd: () => string) {
let cmd = 'git diff';
if (staged) cmd += ' --cached';
if (path) cmd += ` -- "${path}"`;
- const result = execSync(cmd, { encoding: 'utf-8', timeout: 15000, cwd: getCwd() });
+ const result = execSync(cmd, { encoding: 'utf-8', timeout: 30000, cwd: getCwd() });
if (!result.trim()) return 'No differences found.';
const truncated = result.length > 15000 ? result.slice(0, 15000) + '\n... (truncated)' : result;
return truncated;
diff --git a/src/capabilities/git/git-log.ts b/src/capabilities/git/git-log.ts
index 97381446..38f8d5aa 100644
--- a/src/capabilities/git/git-log.ts
+++ b/src/capabilities/git/git-log.ts
@@ -14,7 +14,7 @@ export function createGitLogTool(getCwd: () => string) {
const n = count ?? 10;
let cmd = `git log --oneline --decorate -${n}`;
if (path) cmd += ` -- "${path}"`;
- const result = execSync(cmd, { encoding: 'utf-8', timeout: 10000, cwd: getCwd() });
+ const result = execSync(cmd, { encoding: 'utf-8', timeout: 20000, cwd: getCwd() });
if (!result.trim()) return 'No commits found.';
return result.trim();
} catch (err: any) {
diff --git a/src/capabilities/git/git-push.ts b/src/capabilities/git/git-push.ts
index 209637a1..68533d28 100644
--- a/src/capabilities/git/git-push.ts
+++ b/src/capabilities/git/git-push.ts
@@ -18,7 +18,7 @@ export function createGitPushTool(permissions: PermissionManager, getCwd: () =>
}
try {
- const result = execSync(cmd, { encoding: 'utf-8', timeout: 30000, cwd: getCwd() });
+ const result = execSync(cmd, { encoding: 'utf-8', timeout: 60000, cwd: getCwd() });
return result.trim() || 'Pushed successfully.';
} catch (err: any) {
return `Error: ${err.stderr?.trim() || err.message}`;
diff --git a/src/capabilities/git/git-status.ts b/src/capabilities/git/git-status.ts
index a8bf0766..4e49de1d 100644
--- a/src/capabilities/git/git-status.ts
+++ b/src/capabilities/git/git-status.ts
@@ -11,7 +11,7 @@ export function createGitStatusTool(getCwd: () => string) {
execute: async ({ path }) => {
try {
const cmd = path ? `git -C "${path}" status --porcelain` : 'git status --porcelain';
- const result = execSync(cmd, { encoding: 'utf-8', timeout: 10000, cwd: getCwd() });
+ const result = execSync(cmd, { encoding: 'utf-8', timeout: 20000, cwd: getCwd() });
if (!result.trim()) return 'Working tree clean — no changes.';
return result.trim();
} catch (err: any) {
diff --git a/src/capabilities/shell/run-command.ts b/src/capabilities/shell/run-command.ts
index 9a410fc2..fcba78a5 100644
--- a/src/capabilities/shell/run-command.ts
+++ b/src/capabilities/shell/run-command.ts
@@ -1,55 +1,140 @@
import { tool, zodSchema } from 'ai';
import { z } from 'zod';
-import { execSync } from 'node:child_process';
+import { spawn } from 'node:child_process';
import { resolve, isAbsolute } from 'node:path';
import { existsSync } from 'node:fs';
import { homedir } from 'node:os';
import type { PermissionManager } from '../permissions.js';
import { logger } from '../../utils/logger.js';
+const DEFAULT_TIMEOUT_MS = 120_000;
+const MAX_BUFFER = 1024 * 1024;
+const SIGTERM_GRACE_MS = 5_000;
+
+interface ExecResult {
+ stdout: string;
+ stderr: string;
+ exitCode: number | null;
+ timedOut: boolean;
+}
+
+function executeCommand(command: string, cwd: string, timeoutMs: number): Promise<ExecResult> {
+ return new Promise((resolve) => {
+ let stdout = '';
+ let stderr = '';
+ let settled = false;
+ let timeoutHandle: ReturnType<typeof setTimeout> | undefined;
+ let sigkillHandle: ReturnType<typeof setTimeout> | undefined;
+
+ const child = spawn(command, [], {
+ cwd,
+ shell: true,
+ stdio: ['pipe', 'pipe', 'pipe'],
+ });
+
+ const finish = (exitCode: number | null, timedOut: boolean) => {
+ if (settled) return;
+ settled = true;
+ if (timeoutHandle) clearTimeout(timeoutHandle);
+ if (sigkillHandle) clearTimeout(sigkillHandle);
+ resolve({ stdout, stderr, exitCode, timedOut });
+ };
+
+ child.stdout.on('data', (chunk: Buffer) => {
+ if (stdout.length < MAX_BUFFER) {
+ stdout += chunk.toString();
+ if (stdout.length > MAX_BUFFER) {
+ stdout = stdout.slice(stdout.length - MAX_BUFFER);
+ }
+ }
+ });
+
+ child.stderr.on('data', (chunk: Buffer) => {
+ if (stderr.length < MAX_BUFFER) {
+ stderr += chunk.toString();
+ if (stderr.length > MAX_BUFFER) {
+ stderr = stderr.slice(stderr.length - MAX_BUFFER);
+ }
+ }
+ });
+
+ child.on('error', (err) => {
+ stderr += `\nProcess error: ${err.message}`;
+ finish(null, false);
+ });
+
+ child.on('exit', (code) => {
+ finish(code, false);
+ });
+
+ if (timeoutMs > 0) {
+ timeoutHandle = setTimeout(() => {
+ if (!settled) {
+ child.kill('SIGTERM');
+ sigkillHandle = setTimeout(() => {
+ if (!settled) {
+ child.kill('SIGKILL');
+ }
+ }, SIGTERM_GRACE_MS);
+ finish(null, true);
+ }
+ }, timeoutMs);
+ }
+ });
+}
+
export function createRunCommandTool(permissions: PermissionManager, getCwd: () => string, setCwd: (dir: string) => void) {
return tool({
description: `Run a shell command in the current working directory. Use the cd tool to change directories first — cd commands within this tool only affect chained commands (e.g., "cd /path && ls"), not subsequent calls.
Blocked commands (sudo, rm -rf /, etc.) are never executed.
Auto-approved commands (ls, cat, git status, curl, etc.) run without asking.
-Other commands prompt the user for approval before execution.`,
+Other commands prompt the user for approval before execution.
+The optional timeout parameter sets how long (in seconds) the command can run before being killed (default 120, max 600). For very long builds or test suites, set a higher timeout or use /bg to run the command in the background.`,
inputSchema: zodSchema(z.object({
command: z.string().describe('The shell command to execute'),
+ timeout: z.number().min(10).max(600).default(120).optional().describe('Timeout in seconds (default 120, max 600). Increase for long-running commands like builds or test suites.'),
})),
- execute: async ({ command }) => {
+ execute: async ({ command, timeout }) => {
const check = await permissions.checkShellCommand(command);
if (!check.allowed) {
return `Error: ${check.reason}`;
}
const cwd = getCwd();
+ const timeoutMs = (timeout ?? 120) * 1000;
try {
- logger.info({ cmd: command, cwd }, 'Executing shell command');
- const result = execSync(command, {
- cwd,
- timeout: 30000,
- maxBuffer: 1024 * 1024,
- encoding: 'utf-8',
- stdio: ['pipe', 'pipe', 'pipe'],
- });
+ logger.info({ cmd: command, cwd, timeoutMs }, 'Executing shell command');
+ const result = await executeCommand(command, cwd, timeoutMs);
- const trimmedOutput = result?.trim() || '(no output)';
-
- detectCd(command, cwd, setCwd);
+ if (result.stdout || result.stderr) {
+ detectCd(command, cwd, setCwd);
+ }
- return trimmedOutput;
- } catch (err: any) {
- const stderr = err.stderr?.trim();
- const stdout = err.stdout?.trim();
+ if (result.timedOut) {
+ const partial = result.stdout?.trim();
+ let msg = `⏱ Command timed out after ${timeoutMs / 1000}s.`;
+ if (partial) {
+ const lines = partial.split('\n');
+ const preview = lines.length > 30 ? lines.slice(-30).join('\n') : partial;
+ msg += `\nPartial output:\n${preview}`;
+ }
+ msg += '\n\nTo run long commands in the background, use /bg <command>.';
+ return msg;
+ }
- if (stdout || stderr) {
- detectCd(command, cwd, setCwd);
+ const trimmedOutput = result.stdout?.trim() || '(no output)';
+ if (result.exitCode !== 0 && result.exitCode !== null) {
+ let msg = `Command exited with code ${result.exitCode}`;
+ if (trimmedOutput && trimmedOutput !== '(no output)') msg += `\nOutput: ${trimmedOutput}`;
+ if (result.stderr?.trim()) msg += `\nError: ${result.stderr.trim()}`;
+ return msg;
}
- let msg = `Command exited with code ${err.status || 'unknown'}`;
- if (stdout) msg += `\nOutput: ${stdout}`;
- if (stderr) msg += `\nError: ${stderr}`;
+ detectCd(command, cwd, setCwd);
+ return trimmedOutput;
+ } catch (err: any) {
+ let msg = `Command failed: ${err.message || String(err)}`;
return msg;
}
},
diff --git a/src/capabilities/web/fetch-url.ts b/src/capabilities/web/fetch-url.ts
index 24ae85da..40a333ea 100644
--- a/src/capabilities/web/fetch-url.ts
+++ b/src/capabilities/web/fetch-url.ts
@@ -53,7 +53,7 @@ export function createFetchUrlTool() {
try {
const controller = new AbortController();
- const timeout = setTimeout(() => controller.abort(), 15000);
+ const timeout = setTimeout(() => controller.abort(), 30000);
const resp = await fetch(url, {
signal: controller.signal,
@@ -96,7 +96,7 @@ export function createFetchUrlTool() {
: body;
} catch (err: any) {
if (err.name === 'AbortError') {
- return `Request to ${url} timed out after 15 seconds.`;
+ return `Request to ${url} timed out after 30 seconds.`;
}
return `Error fetching ${url}: ${err.message}`;
}
diff --git a/src/channels/cli.ts b/src/channels/cli.ts
index bb382200..8a824a85 100644
--- a/src/channels/cli.ts
+++ b/src/channels/cli.ts
@@ -1,305 +1,390 @@
-import readline from 'node:readline';
+import React from 'react';
+import { render } from 'ink';
import fs from 'node:fs';
import path from 'node:path';
-import chalk from 'chalk';
+import { execSync } from 'node:child_process';
import type { ChannelMessage } from '../types/channel.js';
import { BaseChannel, type PermissionMode } from './base.js';
import { logger } from '../utils/logger.js';
-import { renderMarkdown } from '../utils/markdown.js';
import { formatToolStep, formatToolResult } from '../utils/tool-label.js';
-import {
- ArrowSelectCancelledError,
- selectWithArrowKeys,
- type ArrowSelectOption,
-} from '../utils/arrow-select.js';
-
-const USER_PROMPT = ' You: ';
-const SPINNER_FRAMES = ['⠋','⠙','⠹','⠸','⠼','⠴','⠦','⠧','⠇','⠏'];
-
-function agentName(name: string, suffix?: string): string {
- return chalk.cyan(` ${name}:`) + (suffix ?? '');
+import type { ChatMessage, ToolStep, PermissionPromptState, SidebarSection, SkillInfo, SubAgentInfo, ProviderInfo, TokenInfo, AppMode, WorkspaceState, WorkspaceTreeNode, WorkspaceGitFile, BackgroundTaskInfo } from '../ui/types.js';
+import { TuiApp } from '../ui/App.js';
+
+export interface TuiState {
+ mode: AppMode;
+ viewMode: 'balanced' | 'detailed';
+ chatMessages: ChatMessage[];
+ toolSteps: ToolStep[];
+ isThinking: boolean;
+ permissionPrompt: PermissionPromptState | null;
+ agentName: string;
+ version: string;
+ provider: ProviderInfo | null;
+ tokenInfo: TokenInfo | null;
+ skills: SkillInfo[];
+ subAgents: SubAgentInfo[];
+ sidebarSections: SidebarSection[];
+ programmingMode: import('../core/programming-mode.js').ProgrammingModeState;
+ projectContext: string | null;
+ permissionMode: PermissionMode;
+ workspace: WorkspaceState | null;
+ backgroundTasks: BackgroundTaskInfo[];
}
+const defaultState: TuiState = {
+ mode: 'splash',
+ viewMode: 'balanced',
+ chatMessages: [],
+ toolSteps: [],
+ isThinking: false,
+ permissionPrompt: null,
+ agentName: 'Mercury',
+ version: '1.1.5',
+ provider: null,
+ tokenInfo: null,
+ skills: [],
+ subAgents: [],
+ sidebarSections: [],
+ programmingMode: 'off',
+ projectContext: null,
+ permissionMode: 'ask-me',
+ workspace: null,
+ backgroundTasks: [],
+};
+
export class CLIChannel extends BaseChannel {
readonly type = 'cli' as const;
- private rl: readline.Interface | null = null;
private agentName: string;
+ private inkInstance: ReturnType<typeof render> | null = null;
+ private inputHandler: ((text: string) => void) | null = null;
+ private exitHandler: (() => void) | null = null;
+ private permissionResolver: ((value: string | boolean) => void) | null = null;
private menuDepth = 0;
private menuAbortController: AbortController | null = null;
- private outputInProgress = 0;
- private streamActive = false;
- private streamToolLines = 0;
- private turnHeaderPrinted = false;
private stepCount = 0;
private stepStartTime = 0;
- private spinnerFrame = 0;
- private spinnerTimer: ReturnType<typeof setInterval> | null = null;
- private spinnerLine = '';
+ private state: TuiState = { ...defaultState };
+ private spotifyClient: any = null;
+ private rawModeWatchdog: NodeJS.Timeout | null = null;
constructor(agentName: string = 'Mercury') {
super();
this.agentName = agentName;
+ this.state.agentName = agentName;
}
setAgentName(name: string): void {
this.agentName = name;
+ this.update({ agentName: name });
}
async start(): Promise<void> {
- this.createInterface();
this.ready = true;
- logger.info('CLI channel started');
- }
-
- private createInterface(): void {
- this.rl = readline.createInterface({
- input: process.stdin,
- output: process.stdout,
- });
- this.rl.setPrompt(USER_PROMPT);
-
- this.rl.on('line', (line) => {
- const trimmed = line.trim();
- if (!trimmed) {
- this.showPrompt();
- return;
- }
-
- const msg: ChannelMessage = {
- id: Date.now().toString(36),
- channelId: 'cli',
- channelType: 'cli',
- senderId: 'owner',
- content: trimmed,
- timestamp: Date.now(),
- };
- this.emit(msg);
- });
+ logger.info('CLI channel started (Ink TUI)');
}
async stop(): Promise<void> {
- this.rl?.close();
- this.rl = null;
+ this.stopRawModeWatchdog();
+ this.inkInstance?.unmount();
+ this.inkInstance = null;
+ this.releaseRawMode();
this.ready = false;
}
- async send(content: string, _targetId?: string, elapsedMs?: number): Promise<void> {
- this.closeActiveMenu();
- this.beginOutput();
- this.turnHeaderPrinted = false;
- const timeStr = elapsedMs != null ? chalk.dim(` (${(elapsedMs / 1000).toFixed(1)}s)`) : '';
+ private ensureRawMode(): void {
+ if (!process.stdin.isTTY) return;
+ const stdin = process.stdin as NodeJS.ReadStream;
+ if (typeof stdin.setRawMode !== 'function') return;
+ try {
+ stdin.setRawMode(true);
+ stdin.resume();
+ } catch {
+ // Ignore transient raw mode failures.
+ }
+ }
- const block = this.formatBlock(this.agentName, timeStr, content);
- for (const line of block) {
- console.log(line);
+ private releaseRawMode(): void {
+ if (!process.stdin.isTTY) return;
+ const stdin = process.stdin as NodeJS.ReadStream;
+ if (typeof stdin.setRawMode !== 'function') return;
+ try {
+ stdin.setRawMode(false);
+ } catch {
+ // Ignore teardown failures.
}
+ }
- this.endOutput();
+ private startRawModeWatchdog(): void {
+ this.stopRawModeWatchdog();
+ this.ensureRawMode();
+ this.rawModeWatchdog = setInterval(() => {
+ if (!this.inkInstance) return;
+ this.ensureRawMode();
+ }, 250);
}
- async sendFile(filePath: string, _targetId?: string): Promise<void> {
- this.closeActiveMenu();
- this.beginOutput();
- const resolved = path.resolve(filePath);
- if (!fs.existsSync(resolved)) {
- console.log(chalk.red(` File not found: ${filePath}`));
- this.endOutput();
- return;
- }
- const stat = fs.statSync(resolved);
- const sizeStr = stat.size > 1024 * 1024
- ? `${(stat.size / (1024 * 1024)).toFixed(1)}MB`
- : stat.size > 1024
- ? `${(stat.size / 1024).toFixed(1)}KB`
- : `${stat.size}B`;
-
- const block = this.formatBlock(this.agentName, chalk.dim(' (file)'), [
- chalk.dim(`path: ${resolved}`),
- chalk.dim(`size: ${sizeStr}`),
- ].join('\n'));
- for (const line of block) {
- console.log(line);
+ private stopRawModeWatchdog(): void {
+ if (this.rawModeWatchdog) {
+ clearInterval(this.rawModeWatchdog);
+ this.rawModeWatchdog = null;
}
+ }
- this.endOutput();
+ private update(partial: Partial<TuiState>): void {
+ this.state = { ...this.state, ...partial };
+ this.rerender();
}
- async sendToolFeedback(toolName: string, args: Record<string, any>): Promise<void> {
- const label = formatToolStep(toolName, args);
- if (this.streamActive) {
- this.streamToolLines++;
- process.stdout.write(chalk.dim(`\n ${label}\n`));
- } else {
- this.stopSpinner();
- if (!this.turnHeaderPrinted) {
- this.turnHeaderPrinted = true;
- console.log('');
- console.log(agentName(this.agentName, ''));
- console.log('');
- }
- this.stepCount += 1;
- this.stepStartTime = Date.now();
- const stepPrefix = chalk.dim(` ${this.stepCount}.`);
- console.log(`${stepPrefix} ${chalk.dim(label)}`);
- this.startSpinner();
- }
+ private rerender(): void {
+ if (!this.inkInstance) return;
+ this.inkInstance.rerender(
+ React.createElement(TuiApp, {
+ state: this.state,
+ onInput: (text: string) => { this.inputHandler?.(text); },
+ onPermissionResolve: (value: string | boolean) => {
+ if (this.permissionResolver) {
+ this.permissionResolver(value);
+ this.permissionResolver = null;
+ }
+ this.update({ permissionPrompt: null });
+ },
+ onExit: () => {
+ this.stopRawModeWatchdog();
+ this.inkInstance?.unmount();
+ this.inkInstance = null;
+ this.releaseRawMode();
+ this.exitHandler?.();
+ },
+ spotifyClient: this.spotifyClient,
+ }),
+ );
}
- sendStepDone(toolName: string, result: unknown): void {
- if (this.streamActive) {
- const summary = formatToolResult(toolName, result);
- if (summary) {
- process.stdout.write(chalk.dim(` ${summary}\n`));
- this.streamToolLines++;
+ mountTUI(onInput: (text: string) => void, spotifyClient?: any, onExit?: () => void): void {
+ this.spotifyClient = spotifyClient ?? null;
+ this.exitHandler = onExit ?? null;
+
+ this.inputHandler = (text: string) => {
+ const trimmed = text.trim();
+ if (trimmed === '/chat' || trimmed === '/c') {
+ this.update({ mode: 'chat' });
+ return;
}
- return;
- }
- this.stopSpinner();
- const elapsed = ((Date.now() - this.stepStartTime) / 1000).toFixed(1);
- const summary = formatToolResult(toolName, result);
- if (summary) {
- console.log(chalk.dim(` ${summary} (${elapsed}s)`));
- } else {
- process.stdout.write(chalk.dim(` ${elapsed}s\n`));
- }
+ if (trimmed === '/coding') {
+ this.update({ mode: 'coding' });
+ return;
+ }
+ if (trimmed === '/workspace' || trimmed === '/ws') {
+ this.update({ mode: this.state.workspace?.active ? 'workspace' : 'coding' });
+ return;
+ }
+ if (trimmed === '/ws up') {
+ this.moveWorkspaceSelection(-1);
+ return;
+ }
+ if (trimmed === '/ws down') {
+ this.moveWorkspaceSelection(1);
+ return;
+ }
+ if (trimmed === '/ws open-selected') {
+ this.toggleOrSelectWorkspaceNode();
+ return;
+ }
+ if (trimmed === '/ws exit' || trimmed === '/workspace exit' || trimmed === '/general') {
+ this.exitWorkspaceToChat();
+ return;
+ }
+ if (trimmed === '/ws close-file') {
+ this.closeWorkspaceFile();
+ return;
+ }
+ if (trimmed === '/ws collapse') {
+ this.collapseWorkspaceNode();
+ return;
+ }
+ if (trimmed === '/ws expand') {
+ this.expandWorkspaceNode();
+ return;
+ }
+ if (trimmed === '/menu' || trimmed === '/m') {
+ this.update({ mode: 'menu' });
+ return;
+ }
+ if (trimmed === '/spotify' || trimmed === '/s') {
+ this.update({ mode: 'spotify' });
+ return;
+ }
+ if (trimmed === '/splash') {
+ this.update({ mode: 'splash' });
+ return;
+ }
+ if (trimmed === '/view balanced') {
+ this.update({ viewMode: 'balanced' });
+ return;
+ }
+ if (trimmed === '/view detailed') {
+ this.update({ viewMode: 'detailed' });
+ return;
+ }
+ if (trimmed === '/view toggle' || trimmed === '/view') {
+ this.update({ viewMode: this.state.viewMode === 'balanced' ? 'detailed' : 'balanced' });
+ return;
+ }
+ onInput(trimmed);
+ };
+
+ this.inkInstance = render(
+ React.createElement(TuiApp, {
+ state: this.state,
+ onInput: (text: string) => { this.inputHandler?.(text); },
+ onPermissionResolve: (value: string | boolean) => {
+ if (this.permissionResolver) {
+ this.permissionResolver(value);
+ this.permissionResolver = null;
+ }
+ this.update({ permissionPrompt: null });
+ },
+ onExit: () => {
+ this.stopRawModeWatchdog();
+ this.inkInstance?.unmount();
+ this.inkInstance = null;
+ this.releaseRawMode();
+ this.exitHandler?.();
+ },
+ spotifyClient: this.spotifyClient,
+ }),
+ { exitOnCtrlC: false, patchConsole: false },
+ );
+
+ this.startRawModeWatchdog();
}
- private startSpinner(): void {
- if (!process.stdout.isTTY) return;
- this.spinnerFrame = 0;
- this.spinnerLine = '';
- this.spinnerTimer = setInterval(() => {
- const frame = SPINNER_FRAMES[this.spinnerFrame % SPINNER_FRAMES.length];
- const elapsed = ((Date.now() - this.stepStartTime) / 1000).toFixed(0);
- this.spinnerLine = chalk.dim(` ${frame} Step ${this.stepCount} · ${elapsed}s`);
- process.stdout.write(`\x1b[2K\r${this.spinnerLine}`);
- this.spinnerFrame++;
- }, 80);
+ async send(content: string, _targetId?: string, _elapsedMs?: number): Promise<void> {
+ const msg: ChatMessage = {
+ id: Date.now().toString(36) + Math.random().toString(36).slice(2, 6),
+ role: 'agent',
+ content,
+ timestamp: Date.now(),
+ };
+ this.update({
+ chatMessages: [...this.state.chatMessages, msg],
+ isThinking: false,
+ });
}
- private stopSpinner(): void {
- if (this.spinnerTimer) {
- clearInterval(this.spinnerTimer);
- this.spinnerTimer = null;
- }
- if (this.spinnerLine) {
- process.stdout.write('\x1b[2K\r');
- this.spinnerLine = '';
+ async sendFile(filePath: string, _targetId?: string): Promise<void> {
+ const fs = await import('node:fs');
+ const path = await import('node:path');
+ const resolved = path.resolve(filePath);
+ let content = '';
+ if (!fs.existsSync(resolved)) {
+ content = `File not found: ${filePath}`;
+ } else {
+ const stat = fs.statSync(resolved);
+ const sizeStr = stat.size > 1024 * 1024
+ ? `${(stat.size / (1024 * 1024)).toFixed(1)}MB`
+ : stat.size > 1024
+ ? `${(stat.size / 1024).toFixed(1)}KB`
+ : `${stat.size}B`;
+ content = `path: ${resolved}\nsize: ${sizeStr}`;
}
+ const msg: ChatMessage = {
+ id: Date.now().toString(36) + Math.random().toString(36).slice(2, 6),
+ role: 'agent',
+ content,
+ timestamp: Date.now(),
+ };
+ this.update({
+ chatMessages: [...this.state.chatMessages, msg],
+ });
}
- async stream(content: AsyncIterable<string>, _targetId?: string): Promise<string> {
- this.closeActiveMenu();
- this.beginOutput();
- this.streamActive = true;
- this.streamToolLines = 0;
- this.stepCount = 0;
- this.turnHeaderPrinted = false;
-
- if (!process.stdout.isTTY) {
- process.stdout.write(chalk.cyan(` ${this.agentName}: `));
- let full = '';
- for await (const chunk of content) {
- process.stdout.write(chunk);
- full += chunk;
- }
- this.streamActive = false;
- console.log('\n');
- this.endOutput();
- return full;
- }
-
- const startTime = Date.now();
- const headerLines = ['', chalk.cyan(` ${this.agentName}:`), ''];
- for (const line of headerLines) {
- console.log(line);
- }
+ async sendToolFeedback(toolName: string, args: Record<string, any>): Promise<void> {
+ const label = formatToolStep(toolName, args);
+ const step: ToolStep = {
+ id: `step-${Date.now()}-${this.stepCount}`,
+ toolName,
+ label,
+ status: 'running',
+ };
+ this.stepCount += 1;
+ this.stepStartTime = Date.now();
+ this.update({
+ toolSteps: [...this.state.toolSteps, step],
+ isThinking: true,
+ });
+ }
- const indent = ' ';
- const cols = process.stdout.columns || 80;
- const contentCols = Math.max(1, cols - indent.length);
- let visualLines = headerLines.length;
- let pendingIndent = true;
- let lineLen = 0;
+ sendStepDone(toolName: string, result: unknown): void {
+ const toolSteps = this.state.toolSteps.map((step) => {
+ if (step.status === 'running') {
+ const elapsed = this.stepStartTime ? (Date.now() - this.stepStartTime) / 1000 : 0;
+ const summary = formatToolResult(toolName, result);
+ return { ...step, status: 'done' as const, elapsed, result: summary || undefined };
+ }
+ return step;
+ });
+ this.update({ toolSteps });
+ }
+ async stream(content: AsyncIterable<string>, _targetId?: string): Promise<string> {
+ const msgId = Date.now().toString(36) + Math.random().toString(36).slice(2, 6);
let full = '';
+ let lastRender = 0;
+
+ const initialMsg: ChatMessage = {
+ id: msgId,
+ role: 'agent',
+ content: '',
+ timestamp: Date.now(),
+ streaming: true,
+ };
+
+ this.update({
+ chatMessages: [...this.state.chatMessages, initialMsg],
+ isThinking: true,
+ });
+
for await (const chunk of content) {
full += chunk;
- for (let i = 0; i < chunk.length; i++) {
- const ch = chunk[i];
- if (ch === '\n') {
- visualLines += Math.max(1, Math.ceil((lineLen + indent.length) / cols));
- process.stdout.write('\n');
- lineLen = 0;
- pendingIndent = true;
- } else {
- if (pendingIndent) {
- process.stdout.write(indent);
- pendingIndent = false;
- }
- process.stdout.write(ch);
- lineLen++;
- }
+ const now = Date.now();
+ if (now - lastRender >= 16) {
+ this.update({
+ chatMessages: this.state.chatMessages.map((m) =>
+ m.id === msgId ? { ...m, content: full, streaming: true } : m,
+ ),
+ });
+ lastRender = now;
}
}
- if (lineLen > 0) {
- visualLines += Math.max(1, Math.ceil((lineLen + indent.length) / cols));
- process.stdout.write('\n');
- } else {
- visualLines += 1;
- }
- this.streamActive = false;
-
- process.stdout.write(`\x1b[${visualLines}A`);
- process.stdout.write('\x1b[J');
- if (full.trim()) {
- const block = this.formatBlock(this.agentName, '', full);
- for (const line of block) {
- console.log(line);
- }
- const elapsed = ((Date.now() - startTime) / 1000).toFixed(1);
- console.log(chalk.dim(' ' + '─'.repeat(50 - elapsed.length - 4) + ' ' + elapsed + 's'));
- }
+ this.update({
+ chatMessages: this.state.chatMessages.map((m) =>
+ m.id === msgId ? { ...m, content: full, streaming: false } : m,
+ ),
+ isThinking: false,
+ });
- this.endOutput();
return full;
}
async typing(_targetId?: string): Promise<void> {
- this.stopSpinner();
- if (process.stdout.isTTY) {
- process.stdout.write(chalk.dim(` ${this.agentName} is thinking...\r`));
- }
+ this.update({ isThinking: true });
}
- showPrompt(): void {
- if (this.rl) {
- process.stdout.write('\x1b[2K\r');
- process.stdout.write(chalk.yellow(USER_PROMPT));
- }
- }
-
- private formatBlock(name: string, suffix: string, content: string): string[] {
- const header = agentName(name, suffix);
- const body = renderMarkdown(content)
- .split('\n')
- .map((line: string) => ` ${line}`)
- .join('\n');
- return ['', header, '', body, ''];
- }
+ showPrompt(): void {}
- async withMenu<T>(runner: (select: (title: string, options: ArrowSelectOption[]) => Promise<string>) => Promise<T>): Promise<T | undefined> {
+ async withMenu<T>(runner: (select: (title: string, options: Array<{ value: string; label: string }>) => Promise<string>) => Promise<T>): Promise<T | undefined> {
this.menuDepth += 1;
+ const { selectWithArrowKeys } = await import('../utils/arrow-select.js');
this.menuAbortController = new AbortController();
- this.suspendPrompt();
try {
return await runner((title, options) => selectWithArrowKeys(title, options, {
signal: this.menuAbortController?.signal,
}));
} catch (error) {
- if (error instanceof ArrowSelectCancelledError) {
+ if (error instanceof Error && error.name === 'ArrowSelectCancelledError') {
return undefined;
}
throw error;
@@ -308,12 +393,7 @@ export class CLIChannel extends BaseChannel {
if (this.menuDepth === 0) {
this.menuAbortController = null;
}
- if (this.menuDepth === 0) {
- this.resumePrompt();
- if (this.outputInProgress === 0) {
- this.showPrompt();
- }
- }
+ this.ensureRawMode();
}
}
@@ -323,95 +403,348 @@ export class CLIChannel extends BaseChannel {
}
}
- private beginOutput(): void {
- this.outputInProgress += 1;
+ async prompt(question: string): Promise<string> {
+ return new Promise((resolve) => {
+ this.permissionResolver = (val) => resolve(String(val));
+ this.update({
+ permissionPrompt: {
+ type: 'ask',
+ message: question,
+ resolve: () => {},
+ },
+ });
+ });
+ }
+
+ async askPermissionMode(): Promise<PermissionMode> {
+ if (!process.stdout.isTTY) return 'ask-me';
+
+ return new Promise((resolve) => {
+ this.permissionResolver = (val) => resolve(val as PermissionMode);
+ this.update({
+ permissionPrompt: {
+ type: 'mode',
+ message: 'Choose how Mercury handles risky actions this session.',
+ options: [
+ { value: 'allow-all', label: 'Allow All — auto-approve everything (scopes, commands, loop continuation)' },
+ { value: 'ask-me', label: 'Ask Me — confirm before file writes, shell commands, and scope changes' },
+ ],
+ resolve: () => {},
+ },
+ });
+ });
+ }
+
+ async askPermission(prompt: string): Promise<string> {
+ return new Promise((resolve) => {
+ this.permissionResolver = (val) => resolve(String(val));
+ this.update({
+ permissionPrompt: {
+ type: 'ask',
+ message: prompt,
+ options: [
+ { value: 'yes', label: 'Yes — approve once' },
+ { value: 'always', label: 'Always — remember this permission' },
+ { value: 'no', label: 'No — deny' },
+ ],
+ resolve: () => {},
+ },
+ });
+ });
+ }
+
+ async askToContinue(question: string, _targetId?: string): Promise<boolean> {
+ return new Promise((resolve) => {
+ this.permissionResolver = (val) => {
+ const normalized = typeof val === 'string' ? val.trim().toLowerCase() : val;
+ resolve(normalized === true || normalized === 'yes' || normalized === 'y');
+ };
+ this.update({
+ permissionPrompt: {
+ type: 'continue',
+ message: question,
+ options: [
+ { value: 'yes', label: 'Yes — continue' },
+ { value: 'no', label: 'No — stop' },
+ ],
+ resolve: () => {},
+ },
+ });
+ });
}
- private endOutput(): void {
- this.outputInProgress = Math.max(0, this.outputInProgress - 1);
- if (this.menuDepth === 0 && this.outputInProgress === 0) {
- this.showPrompt();
+ clearPermissionPrompt(): void {
+ this.update({ permissionPrompt: null });
+ }
+
+ setSkills(skills: SkillInfo[]): void {
+ this.update({ skills });
+ }
+
+ setProvider(name: string, model: string, badge?: string): void {
+ this.update({ provider: { name, model, badge } });
+ }
+
+ setTokenInfo(used: number, budget: number, percentage: number): void {
+ this.update({ tokenInfo: { used, budget, percentage } });
+ }
+
+ setSubAgents(agents: SubAgentInfo[]): void {
+ this.update({ subAgents: agents });
+ }
+
+ updateBackgroundTasks(tasks: BackgroundTaskInfo[]): void {
+ this.update({ backgroundTasks: tasks });
+ }
+
+ setSidebarSections(sections: SidebarSection[]): void {
+ this.update({ sidebarSections: sections });
+ }
+
+ setMode(mode: AppMode): void {
+ this.update({ mode });
+ }
+
+ setProgrammingStatus(mode: import('../core/programming-mode.js').ProgrammingModeState, projectContext: string | null): void {
+ this.update({ programmingMode: mode, projectContext });
+ }
+
+ openWorkspace(rawPath: string): { ok: boolean; message: string } {
+ const target = path.resolve(rawPath.replace(/^~(?=$|\/)/, process.env.HOME || '~'));
+ if (!fs.existsSync(target)) return { ok: false, message: `Workspace path does not exist: ${target}` };
+ if (!fs.statSync(target).isDirectory()) return { ok: false, message: `Workspace path is not a directory: ${target}` };
+
+ const workspace = this.buildWorkspaceState(target, undefined, 'Workspace opened');
+ this.update({ workspace, mode: 'workspace', projectContext: target });
+ return { ok: true, message: `Workspace opened: ${target}` };
+ }
+
+ refreshWorkspace(): void {
+ if (!this.state.workspace?.active) return;
+ const selectedPath = this.state.workspace.selectedPath ?? undefined;
+ const workspace = this.buildWorkspaceState(this.state.workspace.rootPath, selectedPath, 'Workspace refreshed');
+ this.update({ workspace });
+ }
+
+ stageWorkspaceFile(filePath: string): { ok: boolean; message: string } {
+ if (!this.state.workspace?.active) return { ok: false, message: 'No active workspace.' };
+ const root = this.state.workspace.rootPath;
+ try {
+ const rel = filePath === 'all' ? '.' : filePath;
+ execSync(`git add ${this.quoteArg(rel)}`, { cwd: root, stdio: 'pipe' });
+ this.refreshWorkspace();
+ return { ok: true, message: rel === '.' ? 'Staged all changes.' : `Staged: ${rel}` };
+ } catch (err: any) {
+ return { ok: false, message: `Stage failed: ${err?.message || String(err)}` };
}
}
- private suspendPrompt(): void {
- if (!this.rl) return;
- process.stdout.write('\n');
- this.rl.close();
- this.rl = null;
+ undoWorkspaceFile(filePath: string): { ok: boolean; message: string } {
+ if (!this.state.workspace?.active) return { ok: false, message: 'No active workspace.' };
+ const root = this.state.workspace.rootPath;
+ try {
+ execSync(`git checkout -- ${this.quoteArg(filePath)}`, { cwd: root, stdio: 'pipe' });
+ this.refreshWorkspace();
+ return { ok: true, message: `Reverted: ${filePath}` };
+ } catch (err: any) {
+ return { ok: false, message: `Undo failed: ${err?.message || String(err)}` };
+ }
}
- private resumePrompt(): void {
- if (!this.ready || this.rl) return;
- this.createInterface();
+ commitWorkspace(message: string): { ok: boolean; message: string } {
+ if (!this.state.workspace?.active) return { ok: false, message: 'No active workspace.' };
+ const root = this.state.workspace.rootPath;
+ if (!message.trim()) return { ok: false, message: 'Commit message is required.' };
+ const body = `${message.trim()}\n\nCo-authored-by: Mercury <[email protected]>`;
+ try {
+ execSync(`git commit -m ${this.quoteArg(body)}`, { cwd: root, stdio: 'pipe' });
+ this.refreshWorkspace();
+ return { ok: true, message: 'Commit created with Mercury co-author.' };
+ } catch (err: any) {
+ return { ok: false, message: `Commit failed: ${err?.message || String(err)}` };
+ }
}
- async prompt(question: string): Promise<string> {
- return new Promise((resolve) => {
- this.rl?.question(question, (answer) => resolve(answer.trim()));
+ getWorkspace(): WorkspaceState | null {
+ return this.state.workspace;
+ }
+
+ private quoteArg(v: string): string {
+ return `'${v.replace(/'/g, `'\\''`)}'`;
+ }
+
+ private moveWorkspaceSelection(delta: number): void {
+ if (!this.state.workspace?.active) return;
+ const next = Math.max(0, Math.min(this.state.workspace.nodes.length - 1, this.state.workspace.selectedIndex + delta));
+ const node = this.state.workspace.nodes[next];
+ this.update({
+ workspace: {
+ ...this.state.workspace,
+ selectedIndex: next,
+ selectedPath: node?.path || null,
+ },
});
}
- async askPermissionMode(): Promise<PermissionMode> {
- if (!process.stdout.isTTY) return 'ask-me';
+ private toggleOrSelectWorkspaceNode(): void {
+ const ws = this.state.workspace;
+ if (!ws?.active) return;
+ const node = ws.nodes[ws.selectedIndex];
+ if (!node) return;
+ if (!node.isDir) {
+ const preview = this.readFilePreview(node.path);
+ this.update({ workspace: { ...ws, selectedPath: node.path, openedFilePath: node.path, openedFilePreview: preview, lastAction: `Opened file: ${node.path}` } });
+ return;
+ }
+ const expanded = !node.expanded;
+ this.rebuildWorkspaceWithExpansion(node.path, expanded);
+ }
+
+ private collapseWorkspaceNode(): void {
+ const ws = this.state.workspace;
+ if (!ws?.active) return;
+ const node = ws.nodes[ws.selectedIndex];
+ if (!node?.isDir) return;
+ if (!node.expanded) return;
+ this.rebuildWorkspaceWithExpansion(node.path, false);
+ }
- this.suspendPrompt();
+ private expandWorkspaceNode(): void {
+ const ws = this.state.workspace;
+ if (!ws?.active) return;
+ const node = ws.nodes[ws.selectedIndex];
+ if (!node?.isDir) return;
+ if (node.expanded) return;
+ this.rebuildWorkspaceWithExpansion(node.path, true);
+ }
- console.log('');
- console.log(chalk.bold(' Permission Mode'));
- console.log(chalk.dim(' Choose how Mercury handles risky actions this session.'));
- console.log('');
+ private rebuildWorkspaceWithExpansion(nodePath: string, expand: boolean): void {
+ const ws = this.state.workspace;
+ if (!ws) return;
+ const expandedSet = new Set(ws.nodes.filter((n) => n.isDir && n.expanded).map((n) => n.path));
+ if (expand) expandedSet.add(nodePath);
+ else expandedSet.delete(nodePath);
+ const workspace = this.buildWorkspaceState(ws.rootPath, ws.selectedPath || undefined, ws.lastAction, expandedSet);
+ this.update({ workspace });
+ }
- const options: ArrowSelectOption[] = [
- { value: 'ask-me', label: 'Ask Me — confirm before file writes, shell commands, and scope changes' },
- { value: 'allow-all', label: 'Allow All — auto-approve everything (scopes, commands, loop continuation)' },
- ];
+ private buildWorkspaceState(rootPath: string, selectedPath?: string, lastAction = '', preExpanded?: Set<string>): WorkspaceState {
+ const expanded = preExpanded || new Set<string>([rootPath]);
+ const nodes = this.buildTreeNodes(rootPath, expanded, 0);
+ const selectedIndex = Math.max(0, nodes.findIndex((n) => n.path === selectedPath));
+ const selectedNode = nodes[selectedIndex] || nodes[0] || null;
+ const { files, branch, stagedCount, unstagedCount } = this.readGitState(rootPath);
+ return {
+ active: true,
+ rootPath,
+ nodes,
+ selectedIndex,
+ selectedPath: selectedNode?.path || null,
+ openedFilePath: this.state.workspace?.openedFilePath || null,
+ openedFilePreview: this.state.workspace?.openedFilePreview || [],
+ gitFiles: files,
+ stagedCount,
+ unstagedCount,
+ branch,
+ lastAction,
+ };
+ }
+ closeWorkspaceFile(): void {
+ const ws = this.state.workspace;
+ if (!ws?.active) return;
+ this.update({ workspace: { ...ws, openedFilePath: null, openedFilePreview: [], lastAction: 'Closed file preview' } });
+ }
+
+ private exitWorkspaceToChat(): void {
+ const ws = this.state.workspace;
+ const nextWorkspace = ws ? { ...ws, active: false, lastAction: 'Exited workspace mode' } : null;
+ this.update({
+ mode: 'chat',
+ workspace: nextWorkspace,
+ programmingMode: 'off',
+ projectContext: null,
+ });
+ }
+
+ private readFilePreview(filePath: string): string[] {
try {
- const selected = await selectWithArrowKeys('Select permission mode:', options, {
- helperText: '↑↓ to move, Enter to select',
- });
+ const raw = fs.readFileSync(filePath, 'utf-8');
+ return raw.split('\n').slice(0, 80);
+ } catch {
+ return ['(Unable to read file preview)'];
+ }
+ }
- if (selected === 'allow-all') {
- console.log('');
- console.log(chalk.yellow(' ⚠ Allow All active for this session:'));
- console.log(chalk.dim(' • All directory scopes auto-approved'));
- console.log(chalk.dim(' • All shell commands auto-approved (except blocked)'));
- console.log(chalk.dim(' • Loop detection will auto-continue'));
- console.log(chalk.dim(' • Resets on restart'));
- console.log('');
+ private buildTreeNodes(dir: string, expanded: Set<string>, depth: number): WorkspaceTreeNode[] {
+ const nodes: WorkspaceTreeNode[] = [];
+ const id = `${dir}:${depth}`;
+ const isExpanded = expanded.has(dir);
+ nodes.push({ id, name: depth === 0 ? path.basename(dir) || dir : path.basename(dir), path: dir, depth, isDir: true, expanded: isExpanded });
+ if (!isExpanded) return nodes;
+ let entries: fs.Dirent[] = [];
+ try {
+ entries = fs.readdirSync(dir, { withFileTypes: true });
+ } catch {
+ return nodes;
+ }
+ const sorted = entries
+ .filter((e) => e.name !== '.git' && e.name !== 'node_modules')
+ .sort((a, b) => Number(b.isDirectory()) - Number(a.isDirectory()) || a.name.localeCompare(b.name));
+ for (const entry of sorted.slice(0, 200)) {
+ const full = path.join(dir, entry.name);
+ if (entry.isDirectory()) {
+ nodes.push(...this.buildTreeNodes(full, expanded, depth + 1));
} else {
- console.log('');
- console.log(chalk.dim(' Confirm-before-act mode active.'));
- console.log('');
+ nodes.push({ id: `${full}:${depth + 1}`, name: entry.name, path: full, depth: depth + 1, isDir: false });
}
+ }
+ return nodes;
+ }
- return selected as PermissionMode;
+ private readGitState(rootPath: string): { files: WorkspaceGitFile[]; branch: string; stagedCount: number; unstagedCount: number } {
+ try {
+ const branch = execSync('git branch --show-current', { cwd: rootPath, stdio: 'pipe' }).toString().trim() || 'detached';
+ const out = execSync('git status --porcelain', { cwd: rootPath, stdio: 'pipe' }).toString();
+ const files: WorkspaceGitFile[] = out
+ .split('\n')
+ .map((line) => line.trimEnd())
+ .filter(Boolean)
+ .map((line) => {
+ const x = line[0] || ' ';
+ const y = line[1] || ' ';
+ const rel = line.slice(3).trim();
+ const staged = x !== ' ' && x !== '?';
+ const status = `${x}${y}`.trim() || '??';
+ return { path: rel, staged, status };
+ });
+ const stagedCount = files.filter((f) => f.staged).length;
+ const unstagedCount = files.length - stagedCount;
+ return { files, branch, stagedCount, unstagedCount };
} catch {
- return 'ask-me';
- } finally {
- this.resumePrompt();
+ return { files: [], branch: 'not-a-git-repo', stagedCount: 0, unstagedCount: 0 };
}
}
- async askPermission(prompt: string): Promise<string> {
- return new Promise((resolve) => {
- console.log('');
- console.log(chalk.yellow(` ⚠ ${prompt}`));
- this.rl?.question(chalk.yellow(' > '), (answer) => {
- resolve(answer.trim());
- });
- });
+ initSplash(agentName: string, version: string): void {
+ this.update({ agentName, version, mode: 'splash' });
}
- async askToContinue(question: string, _targetId?: string): Promise<boolean> {
- return new Promise((resolve) => {
- console.log('');
- console.log(chalk.yellow(` ⚠ ${question}`));
- this.rl?.question(chalk.yellow(' Continue? [y/N] '), (answer) => {
- const val = answer.trim().toLowerCase();
- resolve(val === 'y' || val === 'yes');
- });
+ sendUserMessage(content: string): void {
+ const userMsg: ChatMessage = {
+ id: Date.now().toString(36) + Math.random().toString(36).slice(2, 6),
+ role: 'user',
+ content,
+ timestamp: Date.now(),
+ };
+ this.update({ chatMessages: [...this.state.chatMessages, userMsg] });
+ this.emit({
+ id: userMsg.id,
+ channelId: 'cli',
+ channelType: 'cli',
+ senderId: 'owner',
+ content,
+ timestamp: userMsg.timestamp,
});
}
-}
\ No newline at end of file
+}
diff --git a/src/channels/registry.ts b/src/channels/registry.ts
index 9768c541..8116adf0 100644
--- a/src/channels/registry.ts
+++ b/src/channels/registry.ts
@@ -16,6 +16,10 @@ export class ChannelRegistry {
}
}
+ getCliChannel(): CLIChannel | undefined {
+ return this.channels.get('cli') as CLIChannel | undefined;
+ }
+
register(type: ChannelType, channel: Channel): void {
channel.onMessage((msg) => this.handleIncomingMessage(msg));
this.channels.set(type, channel);
diff --git a/src/core/agent.ts b/src/core/agent.ts
index d19112ea..0958a3c6 100644
--- a/src/core/agent.ts
+++ b/src/core/agent.ts
@@ -1,4 +1,5 @@
import { generateText, streamText, stepCountIs } from 'ai';
+import path from 'node:path';
import type { ChannelMessage, ChannelType } from '../types/channel.js';
import type { ProviderRegistry } from '../providers/registry.js';
import type { Identity } from '../soul/identity.js';
@@ -10,9 +11,11 @@ import type { TokenBudget } from '../utils/tokens.js';
import type { CapabilityRegistry } from '../capabilities/registry.js';
import type { ScheduledTaskManifest } from './scheduler.js';
import { DeepSeekProvider } from '../providers/deepseek.js';
+import { ProviderRegistry as ProviderRegistryImpl } from '../providers/registry.js';
import { Lifecycle } from './lifecycle.js';
import { Scheduler } from './scheduler.js';
import { ProgrammingMode } from './programming-mode.js';
+import { BackgroundTaskManager } from './background-tasks.js';
import { logger } from '../utils/logger.js';
import { CLIChannel } from '../channels/cli.js';
import { TelegramChannel } from '../channels/telegram.js';
@@ -33,6 +36,7 @@ import {
rejectTelegramPendingRequest,
removeTelegramUser,
saveConfig,
+ getActiveProviders,
} from '../utils/config.js';
class ToolCallLoopDetector {
@@ -244,6 +248,7 @@ class ToolCallLoopDetector {
}
const MAX_STEPS = 10;
+const MAX_RESPONSE_TOKENS = 1600;
export class Agent {
readonly lifecycle: Lifecycle;
@@ -253,9 +258,13 @@ export class Agent {
private messageQueue: ChannelMessage[] = [];
private processing = false;
private telegramStreaming: boolean;
+ private currentMessage: ChannelMessage | null = null;
+ private currentAbort: AbortController | null = null;
+ private autoBackgroundHandoff = false;
private supervisor?: import('../core/supervisor.js').SubAgentSupervisor;
readonly programmingMode: ProgrammingMode;
private spotifyClient?: SpotifyClient;
+ readonly backgroundTasks: BackgroundTaskManager;
constructor(
private config: MercuryConfig,
@@ -275,6 +284,11 @@ export class Agent {
this.capabilities = capabilities;
this.telegramStreaming = config.channels.telegram.streaming ?? true;
this.programmingMode = new ProgrammingMode();
+ this.backgroundTasks = new BackgroundTaskManager();
+
+ this.backgroundTasks.onGlobalComplete((task) => {
+ this.notifyBackgroundTaskComplete(task);
+ });
this.scheduler.setOnScheduledTask(async (manifest) => this.handleScheduledTask(manifest));
@@ -297,12 +311,47 @@ export class Agent {
await channel.send(message, channelId).catch(() => {});
}
});
+ supervisor.setLifecycleCallback((event) => {
+ const bgTask = this.backgroundTasks.getByAgentId(event.agentId);
+ if (!bgTask) return;
+
+ if (event.type === 'progress' && event.progress) {
+ this.backgroundTasks.updateAgentProgress(bgTask.id, event.progress);
+ this.syncBgTasksToTui();
+ return;
+ }
+
+ if (event.type === 'complete' && event.result) {
+ const result = event.result;
+ const status = result.status === 'completed' ? 'completed' : result.status === 'halted' ? 'cancelled' : 'failed';
+ this.backgroundTasks.completeAgentTask(bgTask.id, status === 'completed' ? 0 : 1, status, result.output);
+ this.syncBgTasksToTui();
+ }
+ });
}
private enqueueMessage(msg: ChannelMessage): void {
logger.info({ from: msg.channelType, content: msg.content.slice(0, 50) }, 'Message enqueued');
const trimmed = msg.content.trim();
+
+ if (
+ this.processing &&
+ !trimmed.startsWith('/') &&
+ msg.channelType !== 'internal' &&
+ this.supervisor &&
+ this.currentMessage &&
+ this.currentAbort &&
+ !this.currentAbort.signal.aborted &&
+ !this.autoBackgroundHandoff &&
+ this.currentMessage.channelType === msg.channelType &&
+ this.currentMessage.channelId === msg.channelId
+ ) {
+ void this.autoBackgroundCurrentTask(msg).catch((err) => {
+ logger.warn({ err }, 'Auto-background handoff failed');
+ });
+ }
+
if (this.processing && trimmed.startsWith('/')) {
this.handleFastPathCommand(msg).catch((err) => {
logger.error({ err, content: trimmed.slice(0, 50) }, 'Fast-path command failed');
@@ -314,6 +363,37 @@ export class Agent {
this.processQueue();
}
+ private async autoBackgroundCurrentTask(interruptMsg: ChannelMessage): Promise<void> {
+ if (!this.currentMessage || !this.currentAbort || !this.supervisor) return;
+ if (this.currentAbort.signal.aborted || this.autoBackgroundHandoff) return;
+ this.autoBackgroundHandoff = true;
+ try {
+ const taskDescription = this.currentMessage.content.trim();
+ if (!taskDescription) return;
+
+ this.currentAbort.abort();
+
+ const agentId = await this.supervisor.spawn({
+ task: taskDescription,
+ sourceChannelId: this.currentMessage.channelId,
+ sourceChannelType: this.currentMessage.channelType as any,
+ workingDirectory: this.capabilities.getCwd(),
+ });
+ const bgId = this.backgroundTasks.spawnAgent(taskDescription, this.capabilities.getCwd(), agentId);
+ this.syncBgTasksToTui();
+
+ const channel = this.channels.getChannelForMessage(interruptMsg);
+ if (channel) {
+ await channel.send(
+ `📋 I moved the in-progress task to background (${bgId}) so I can respond now. Use /bg ${bgId} or /bg list for progress.`,
+ interruptMsg.channelId,
+ ).catch(() => {});
+ }
+ } finally {
+ this.autoBackgroundHandoff = false;
+ }
+ }
+
private async handleFastPathCommand(msg: ChannelMessage): Promise<void> {
const trimmed = msg.content.trim();
const channel = this.channels.getChannelForMessage(msg);
@@ -353,8 +433,13 @@ export class Agent {
return;
}
+ if (trimmed.startsWith('/bg')) {
+ await this.handleBgCommand(trimmed, msg, channel);
+ return;
+ }
+
if (trimmed === '/help') {
- await channel.send('Agent is busy. Available: /agents, /halt, /stop, /spotify, /code, /memory', msg.channelId);
+ await channel.send('Agent is busy. Available: /agents, /halt, /stop, /spotify, /code, /memory, /bg', msg.channelId);
return;
}
@@ -377,7 +462,7 @@ export class Agent {
const agentList = activeAgents.map(a => `**${a.id}**: ${a.task.slice(0, 40)}`).join(', ');
await channel.send(`I'm busy working on sub-agent tasks (${agentList}). Your message has been queued — I'll respond once I'm free. Use /agents to check status.`, msg.channelId);
} else {
- await channel.send("I'm busy processing. Your message has been queued — I'll respond once I'm free.", msg.channelId);
+ await channel.send("I'm busy processing. Use /bg current to move this task to the background, or wait for it to finish.", msg.channelId);
}
this.messageQueue.push(msg);
@@ -426,6 +511,190 @@ export class Agent {
await channel.send('Agent is busy. Programming mode changes will be available after current task completes.', msg.channelId);
}
+ private async handleBgCommand(trimmed: string, msg: ChannelMessage, channel: any): Promise<void> {
+ const parts = trimmed.split(/\s+/);
+ const sub = parts.length > 1 ? parts[1] : '';
+ const args = parts.slice(1).join(' ');
+
+ if (sub === 'current') {
+ if (!this.processing || !this.currentMessage) {
+ await channel.send('No active task to background.', msg.channelId);
+ return;
+ }
+ const taskDescription = this.currentMessage.content.trim();
+ const sourceChannelId = this.currentMessage.channelId;
+ const sourceChannelType = this.currentMessage.channelType as any;
+
+ if (this.currentAbort) {
+ this.currentAbort.abort();
+ }
+
+ if (this.supervisor) {
+ const agentId = await this.supervisor.spawn({
+ task: taskDescription,
+ sourceChannelId,
+ sourceChannelType,
+ });
+ const bgId = this.backgroundTasks.spawnAgent(taskDescription, this.capabilities.getCwd(), agentId);
+ await channel.send(`📋 Active task moved to background as ${bgId}. I'll notify you when it completes.`, msg.channelId);
+ } else {
+ await channel.send('Cannot background: sub-agents not available. The active task has been aborted.', msg.channelId);
+ }
+
+ this.syncBgTasksToTui();
+ return;
+ }
+
+ if (sub === 'list' || sub === '' || sub === 'ls') {
+ const tasks = this.backgroundTasks.getAllSummaries();
+ if (tasks.length === 0) {
+ await channel.send('No background tasks.', msg.channelId);
+ return;
+ }
+ const lines = tasks.map((t) => {
+ const icon = t.status === 'running' ? '⏳' : t.status === 'completed' ? '✅' : t.status === 'failed' ? '❌' : t.status === 'timed_out' ? '⏱' : '⛔';
+ const label = t.command || t.task || t.id;
+ const elapsed = t.runningMs ? ` (${Math.round(t.runningMs / 1000)}s)` : t.completedAt ? ` (${((t.completedAt - t.startedAt) / 1000).toFixed(1)}s)` : '';
+ const short = label.length > 60 ? label.slice(0, 57) + '...' : label;
+ return `${icon} ${t.id}: ${short}${elapsed} — ${t.status}`;
+ });
+ await channel.send(`**Background Tasks:**\n${lines.join('\n')}\n\nUse /bg <id> for details, /bg cancel <id> to cancel, /bg clear to prune completed tasks.`, msg.channelId);
+ return;
+ }
+
+ if (sub === 'clear') {
+ const cleared = this.backgroundTasks.clearCompleted();
+ await channel.send(`Cleared ${cleared} completed task(s).`, msg.channelId);
+ this.syncBgTasksToTui();
+ return;
+ }
+
+ if (sub === 'cancel') {
+ const taskId = parts[2];
+ if (!taskId) {
+ await channel.send('Usage: /bg cancel <id>', msg.channelId);
+ return;
+ }
+ const cancelled = this.backgroundTasks.cancel(taskId);
+ if (cancelled) {
+ await channel.send(`⛔ Cancelled background task ${taskId}.`, msg.channelId);
+ } else {
+ await channel.send(`Task ${taskId} not found or not running.`, msg.channelId);
+ }
+ this.syncBgTasksToTui();
+ return;
+ }
+
+ const specificTask = this.backgroundTasks.getSummary(sub);
+ if (specificTask) {
+ const task = this.backgroundTasks.get(sub)!;
+ const label = task.command || task.task || task.id;
+ const elapsed = task.status === 'running'
+ ? `Running for ${Math.round((Date.now() - task.startedAt) / 1000)}s`
+ : task.completedAt
+ ? `Completed in ${((task.completedAt - task.startedAt) / 1000).toFixed(1)}s`
+ : task.status;
+ const output = (task.stdout + '\n' + task.stderr).trim();
+ const preview = output.length > 2000 ? output.slice(-2000) : output;
+ await channel.send(`**${specificTask.id}**: ${label}\nStatus: ${elapsed}\nExit code: ${task.exitCode ?? 'N/A'}\n\n${preview || '(no output)'}`, msg.channelId);
+ return;
+ }
+
+ const colonIdx = trimmed.indexOf(':');
+ if (sub.startsWith('cancel')) {
+ const taskId2 = parts[2];
+ if (!taskId2) {
+ await channel.send('Usage: /bg cancel <id>', msg.channelId);
+ return;
+ }
+ const cancelled = this.backgroundTasks.cancel(taskId2);
+ if (cancelled) {
+ await channel.send(`⛔ Cancelled background task ${taskId2}.`, msg.channelId);
+ } else {
+ await channel.send(`Task ${taskId2} not found or not running.`, msg.channelId);
+ }
+ this.syncBgTasksToTui();
+ return;
+ }
+
+ if (colonIdx !== -1 && trimmed[colonIdx + 1] === ' ') {
+ const taskDescription = trimmed.slice(colonIdx + 1).trim();
+ if (!taskDescription) {
+ await channel.send('Usage: /bg: <natural language task> or /bg <shell command>', msg.channelId);
+ return;
+ }
+ if (!this.supervisor) {
+ await channel.send('Sub-agents are not available. Use /bg <command> for shell commands.', msg.channelId);
+ return;
+ }
+ const agentId = await this.supervisor.spawn({
+ task: taskDescription,
+ sourceChannelId: msg.channelId,
+ sourceChannelType: msg.channelType as any,
+ });
+ const bgId = this.backgroundTasks.spawnAgent(taskDescription, this.capabilities.getCwd(), agentId);
+ this.backgroundTasks.registerComplete(bgId, (task) => {
+ if (task.status === 'running') return;
+ });
+ await channel.send(`📋 Background agent ${bgId} started: "${taskDescription.slice(0, 50)}${taskDescription.length > 50 ? '...' : ''}"`, msg.channelId);
+ this.syncBgTasksToTui();
+ return;
+ }
+
+ const command = args || '';
+ if (!command) {
+ await channel.send('Usage:\n• /bg <command> — run a shell command in the background\n• /bg: <task> — delegate an LLM task to the background\n• /bg current — move the active task to the background\n• /bg list — show all background tasks\n• /bg <id> — show task details\n• /bg cancel <id> — cancel a running task\n• /bg clear — prune completed tasks', msg.channelId);
+ return;
+ }
+
+ const cwd = this.capabilities.getCwd();
+ const bgId = this.backgroundTasks.spawnShell(command, cwd);
+ await channel.send(`📋 Background task ${bgId} started: "${command.slice(0, 50)}${command.length > 50 ? '...' : ''}"`, msg.channelId);
+ this.syncBgTasksToTui();
+ }
+
+ private syncBgTasksToTui(): void {
+ const cliChannel = this.channels.get('cli');
+ if (cliChannel && cliChannel instanceof CLIChannel) {
+ (cliChannel as CLIChannel).updateBackgroundTasks(this.backgroundTasks.getAllSummaries());
+ }
+ }
+
+ private notifyBackgroundTaskComplete(task: import('./background-tasks.js').BackgroundTask): void {
+ const label = task.command || task.task || task.id;
+ const duration = task.completedAt ? ` in ${((task.completedAt - task.startedAt) / 1000).toFixed(1)}s` : '';
+ let message: string;
+
+ if (task.status === 'completed') {
+ message = `✅ Background task ${task.id} completed${duration}: "${label}"`;
+ } else if (task.status === 'failed') {
+ message = `❌ Background task ${task.id} failed${duration}: "${label}" (exit code ${task.exitCode ?? 'unknown'})`;
+ } else if (task.status === 'timed_out') {
+ message = `⏱ Background task ${task.id} timed out: "${label}"`;
+ } else if (task.status === 'cancelled') {
+ message = `⛔ Background task ${task.id} cancelled: "${label}"`;
+ } else {
+ message = `Background task ${task.id}: ${task.status} — "${label}"`;
+ }
+
+ const output = (task.stdout + '\n' + task.stderr).trim();
+ if (output) {
+ const preview = output.length > 500 ? '\n' + output.slice(-500) : '\n' + output;
+ message += preview;
+ }
+
+ const cliCh = this.channels.get('cli');
+ if (cliCh) {
+ (cliCh as CLIChannel).send(message).catch(() => {});
+ }
+ const tgCh = this.channels.get('telegram');
+ if (tgCh) {
+ tgCh.send(message).catch(() => {});
+ }
+
+ this.syncBgTasksToTui();
+ }
+
private async processQueue(): Promise<void> {
if (this.processing) return;
if (this.messageQueue.length === 0) return;
@@ -445,6 +714,25 @@ export class Agent {
this.processing = false;
}
+ private switchSessionProvider(providerName: string): { ok: boolean; message: string } {
+ const active = getActiveProviders(this.config).map((p) => p.name);
+ if (!active.includes(providerName)) {
+ return { ok: false, message: `Provider \`${providerName}\` is not configured. Run \`mercury doctor\` to add/configure models.` };
+ }
+
+ this.config.providers.default = providerName as any;
+ this.providers = new ProviderRegistryImpl(this.config);
+ const selected = this.providers.getDefault();
+ const model = selected.getModel();
+
+ const cliChannel = this.channels.get('cli');
+ if (cliChannel && cliChannel instanceof CLIChannel) {
+ cliChannel.setProvider(providerName, model);
+ }
+
+ return { ok: true, message: `Session model switched to **${providerName}** · **${model}**.` };
+ }
+
async birth(): Promise<void> {
this.lifecycle.transition('birthing');
logger.info({ name: this.config.identity.name }, 'Mercury is being born...');
@@ -545,6 +833,11 @@ export class Agent {
return;
}
+ if (await this.handleWorkspaceNaturalLanguage(trimmed, msg.channelType, msg.channelId)) {
+ this.lifecycle.transition('idle');
+ return;
+ }
+
if (this.tokenBudget.isOverBudget()) {
const channel = this.channels.getChannelForMessage(msg);
if (channel && msg.channelType !== 'internal') {
@@ -662,6 +955,9 @@ export class Agent {
const loopAbortController = new AbortController();
let loopWarningSent = false;
+ this.currentMessage = msg;
+ this.currentAbort = loopAbortController;
+
const canStream = msg.channelType === 'cli' || (msg.channelType === 'telegram' && this.telegramStreaming);
const tgChannel = this.channels.get('telegram');
@@ -683,6 +979,7 @@ export class Agent {
system: systemPrompt,
messages,
tools: this.capabilities.getTools(),
+ maxOutputTokens: MAX_RESPONSE_TOKENS,
stopWhen: stepCountIs(MAX_STEPS),
abortSignal: loopAbortController.signal,
...(deepseekProviderOptions ? { providerOptions: deepseekProviderOptions } : {}),
@@ -756,7 +1053,7 @@ export class Agent {
if (channel && msg.channelType !== 'internal') {
if (channel instanceof CLIChannel) {
for (const tc of toolCalls) {
- await (channel as CLIChannel).sendToolFeedback(tc.toolName, tc.input as Record<string, any>).catch(() => {});
+ void (channel as CLIChannel).sendToolFeedback(tc.toolName, tc.input as Record<string, any>).catch(() => {});
}
if (toolResults) {
for (let i = 0; i < toolResults.length; i++) {
@@ -770,7 +1067,7 @@ export class Agent {
} else if (channel instanceof TelegramChannel) {
const tgCh = channel as TelegramChannel;
for (const tc of toolCalls) {
- await tgCh.sendToolFeedback(tc.toolName, tc.input as Record<string, any>, msg.channelId).catch(() => {});
+ void tgCh.sendToolFeedback(tc.toolName, tc.input as Record<string, any>, msg.channelId).catch(() => {});
}
if (toolResults) {
for (let i = 0; i < toolResults.length; i++) {
@@ -848,6 +1145,7 @@ export class Agent {
system: systemPrompt,
messages,
tools: this.capabilities.getTools(),
+ maxOutputTokens: MAX_RESPONSE_TOKENS,
stopWhen: stepCountIs(MAX_STEPS),
abortSignal: loopAbortController.signal,
...(deepseekProviderOptions ? { providerOptions: deepseekProviderOptions } : {}),
@@ -921,7 +1219,7 @@ export class Agent {
if (channel && msg.channelType !== 'internal') {
if (channel instanceof CLIChannel) {
for (const tc of toolCalls) {
- await (channel as CLIChannel).sendToolFeedback(tc.toolName, tc.input as Record<string, any>).catch(() => {});
+ void (channel as CLIChannel).sendToolFeedback(tc.toolName, tc.input as Record<string, any>).catch(() => {});
}
if (toolResults) {
for (let i = 0; i < toolResults.length; i++) {
@@ -935,7 +1233,7 @@ export class Agent {
} else if (channel instanceof TelegramChannel) {
const tgCh = channel as TelegramChannel;
for (const tc of toolCalls) {
- await tgCh.sendToolFeedback(tc.toolName, tc.input as Record<string, any>, msg.channelId).catch(() => {});
+ void tgCh.sendToolFeedback(tc.toolName, tc.input as Record<string, any>, msg.channelId).catch(() => {});
}
if (toolResults) {
for (let i = 0; i < toolResults.length; i++) {
@@ -1070,6 +1368,8 @@ export class Agent {
logger.error({ err }, 'Error handling message');
this.lifecycle.transition('idle');
} finally {
+ this.currentMessage = null;
+ this.currentAbort = null;
if (isInternal || isScheduled) {
this.capabilities.permissions.setAutoApproveAll(false);
}
@@ -1322,6 +1622,10 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
}
async shutdown(): Promise<void> {
+ if (this.supervisor) {
+ await this.supervisor.haltAll();
+ }
+ this.backgroundTasks.destroy();
await this.sleep();
logger.info('Mercury has shut down');
}
@@ -1453,6 +1757,12 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
return true;
}
+ if (cmd.startsWith('/bg')) {
+ const args = trimmed.slice('/bg'.length).trim();
+ await this.handleBgCommand(args, { content: trimmed, channelId, channelType: channelType as any, id: Date.now().toString(36), senderId: 'user', timestamp: Date.now() }, channel);
+ return true;
+ }
+
if (cmd === '/exit' || cmd === '/quit') {
await channel.send('Goodbye! Shutting down Mercury...', channelId);
this.shutdown();
@@ -1492,6 +1802,63 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
return true;
}
+ if (cmd === '/models' || cmd === '/model' || cmd.startsWith('/models ') || cmd.startsWith('/model ')) {
+ const base = cmd.startsWith('/model ') || cmd === '/model' ? '/model' : '/models';
+ const rawArgs = trimmed.slice(base.length).trim();
+ const activeProviders = getActiveProviders(this.config);
+ const current = this.providers.getDefault();
+
+ if (!rawArgs) {
+ const lines = [
+ '**Session Models**',
+ '',
+ ...activeProviders.map((p) => {
+ const marker = p.name === current.name ? ' ← current' : '';
+ return `• ${p.name} · ${p.model}${marker}`;
+ }),
+ '',
+ 'Use `/models use <provider>` to switch for this session.',
+ 'Use `mercury doctor` to add/configure models.',
+ ];
+ await channel.send(lines.join('\n'), channelId);
+
+ if (channelType === 'cli' && channel instanceof CLIChannel && activeProviders.length > 1) {
+ const choices = [
+ ...activeProviders.map((p) => `${p.name} · ${p.model}${p.name === current.name ? ' (current)' : ''}`),
+ 'Open doctor instructions',
+ 'Keep current model',
+ ];
+ const picked = await this.presentChoice('Switch session model?', choices, channelId, channelType);
+ if (picked === 'Open doctor instructions') {
+ await channel.send('Run `mercury doctor` and update provider/model settings. Then restart Mercury to persist defaults.', channelId);
+ return true;
+ }
+ if (picked === 'Keep current model') return true;
+ const providerName = picked.split(' · ')[0].trim();
+ if (providerName && providerName !== current.name) {
+ const switched = this.switchSessionProvider(providerName);
+ await channel.send(switched.message, channelId);
+ }
+ }
+ return true;
+ }
+
+ if (rawArgs === 'doctor' || rawArgs === 'add') {
+ await channel.send('Use `mercury doctor` to add/configure models. Then use `/models` to switch active session model.', channelId);
+ return true;
+ }
+
+ const target = rawArgs.replace(/^use\s+/i, '').trim();
+ if (!target) {
+ await channel.send('Usage: `/models` or `/models use <provider>`', channelId);
+ return true;
+ }
+
+ const switched = this.switchSessionProvider(target);
+ await channel.send(switched.message, channelId);
+ return true;
+ }
+
if (cmd === '/memory') {
if (!this.userMemory) {
await channel.send('Second brain is not enabled.', channelId);
@@ -1737,26 +2104,104 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
if (cmd.startsWith('/code')) {
const rawArgs = trimmed.slice('/code'.length).trim().toLowerCase();
+ const cliChannel = channelType === 'cli' && channel instanceof CLIChannel ? channel : null;
- if (!rawArgs || rawArgs === 'status') {
+ if (!rawArgs) {
+ if (cliChannel) {
+ const choice = await this.presentChoice(
+ 'Code mode: open workspace IDE now?',
+ ['Yes, open current workspace', 'No, keep classic coding mode'],
+ channelId,
+ channelType,
+ );
+ if (choice.toLowerCase().startsWith('yes')) {
+ const current = this.capabilities.getCwd();
+ const opened = cliChannel.openWorkspace(current);
+ if (opened.ok) {
+ this.capabilities.permissions.addTempScope(current, true, true);
+ this.programmingMode.setExecute();
+ this.programmingMode.setProjectContext(current);
+ cliChannel.setProgrammingStatus(this.programmingMode.getState(), this.programmingMode.getProjectContext());
+ await channel.send(`${opened.message}\nWorkspace IDE mode enabled.`, channelId);
+ return true;
+ }
+ await channel.send(opened.message, channelId);
+ return true;
+ }
+ }
+ await channel.send(this.programmingMode.getStatusText(), channelId);
+ return true;
+ }
+
+ if (rawArgs === 'status') {
await channel.send(this.programmingMode.getStatusText(), channelId);
return true;
}
+ if (rawArgs === 'workspace' || rawArgs === 'ws') {
+ if (!cliChannel) {
+ await channel.send('Workspace IDE mode is currently available in CLI only.', channelId);
+ return true;
+ }
+ const current = this.capabilities.getCwd();
+ const opened = cliChannel.openWorkspace(current);
+ if (opened.ok) {
+ this.programmingMode.setExecute();
+ cliChannel.setProgrammingStatus(this.programmingMode.getState(), this.programmingMode.getProjectContext());
+ await channel.send(`${opened.message}\nWorkspace IDE mode enabled.`, channelId);
+ } else {
+ await channel.send(opened.message, channelId);
+ }
+ return true;
+ }
+
if (rawArgs === 'plan') {
this.programmingMode.setPlan();
+ if (cliChannel) cliChannel.setProgrammingStatus(this.programmingMode.getState(), this.programmingMode.getProjectContext());
await channel.send('Programming mode: **Plan**\nI will explore, analyze, and present a plan before writing any code. Use `/code execute` to switch to execution.', channelId);
return true;
}
if (rawArgs === 'execute' || rawArgs === 'exec') {
this.programmingMode.setExecute();
+ if (cliChannel) cliChannel.setProgrammingStatus(this.programmingMode.getState(), this.programmingMode.getProjectContext());
await channel.send('Programming mode: **Execute**\nI will implement the plan step by step, verifying with builds/tests. Use `/code off` to exit.', channelId);
return true;
}
+ if (rawArgs === 'build') {
+ this.programmingMode.setExecute();
+ if (cliChannel) cliChannel.setProgrammingStatus(this.programmingMode.getState(), this.programmingMode.getProjectContext());
+ await channel.send('Programming mode: **Build**\nExecution mode is active for implementation/build tasks.', channelId);
+ return true;
+ }
+
+ if (rawArgs.startsWith('agent ') || rawArgs.startsWith('delegate ')) {
+ if (!this.supervisor) {
+ await channel.send('Sub-agents are not enabled in this environment.', channelId);
+ return true;
+ }
+ const taskDescription = rawArgs.replace(/^(agent|delegate)\s+/, '').trim();
+ if (!taskDescription) {
+ await channel.send('Usage: `/code agent <task>`', channelId);
+ return true;
+ }
+ const cwd = this.capabilities.getCwd();
+ const agentId = await this.supervisor.spawn({
+ task: taskDescription,
+ sourceChannelId: channelId,
+ sourceChannelType: channelType as any,
+ workingDirectory: cwd,
+ });
+ const bgId = this.backgroundTasks.spawnAgent(taskDescription, cwd, agentId);
+ this.syncBgTasksToTui();
+ await channel.send(`Started coding sub-agent ${agentId} in background task ${bgId}. Use /bg ${bgId} for progress.`, channelId);
+ return true;
+ }
+
if (rawArgs === 'off' || rawArgs === 'exit') {
this.programmingMode.setOff();
+ if (cliChannel) cliChannel.setProgrammingStatus(this.programmingMode.getState(), this.programmingMode.getProjectContext());
await channel.send('Programming mode: **Off**\nBack to normal conversation mode.', channelId);
return true;
}
@@ -1764,11 +2209,81 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
if (rawArgs === 'toggle') {
const newState = this.programmingMode.toggle();
const labels: Record<string, string> = { off: 'Off', plan: 'Plan', execute: 'Execute' };
+ if (cliChannel) cliChannel.setProgrammingStatus(this.programmingMode.getState(), this.programmingMode.getProjectContext());
await channel.send(`Programming mode: **${labels[newState]}**`, channelId);
return true;
}
- await channel.send('Unknown /code command. Available: /code, /code plan, /code execute, /code off, /code toggle', channelId);
+ await channel.send('Unknown /code command. Available: /code, /code plan, /code execute, /code build, /code workspace, /code agent <task>, /code off, /code toggle', channelId);
+ return true;
+ }
+
+ if (cmd.startsWith('/ws') || cmd.startsWith('/workspace')) {
+ const cliChannel = channelType === 'cli' && channel instanceof CLIChannel ? channel : null;
+ if (!cliChannel) {
+ await channel.send('Workspace IDE mode is currently available in CLI only.', channelId);
+ return true;
+ }
+
+ const base = cmd.startsWith('/workspace') ? '/workspace' : '/ws';
+ const rawArgs = trimmed.slice(base.length).trim();
+ const rawLower = rawArgs.toLowerCase();
+
+ if (!rawArgs || rawLower === 'status') {
+ const ws = cliChannel.getWorkspace();
+ await channel.send(ws?.active ? `Workspace active: ${ws.rootPath}` : 'No active workspace. Use `/ws open <path>`.', channelId);
+ return true;
+ }
+
+ if (rawLower.startsWith('open ')) {
+ const target = rawArgs.slice(5).trim();
+ const opened = cliChannel.openWorkspace(target);
+ if (opened.ok) {
+ this.capabilities.setCwd(path.resolve(target.replace(/^~(?=$|\/)/, process.env.HOME || '~')));
+ this.capabilities.permissions.addTempScope(this.capabilities.getCwd(), true, true);
+ this.programmingMode.setExecute();
+ this.programmingMode.setProjectContext(this.capabilities.getCwd());
+ cliChannel.setProgrammingStatus(this.programmingMode.getState(), this.programmingMode.getProjectContext());
+ await channel.send(`${opened.message}\nWorkspace IDE is ready.`, channelId);
+ } else {
+ await channel.send(opened.message, channelId);
+ }
+ return true;
+ }
+
+ if (rawLower === 'refresh') {
+ cliChannel.refreshWorkspace();
+ await channel.send('Workspace refreshed.', channelId);
+ return true;
+ }
+
+ if (rawLower.startsWith('stage ')) {
+ const fileArg = rawArgs.slice(6).trim();
+ const result = cliChannel.stageWorkspaceFile(fileArg || 'all');
+ await channel.send(result.message, channelId);
+ return true;
+ }
+
+ if (rawLower.startsWith('commit ')) {
+ const message = rawArgs.slice(7).trim();
+ const result = cliChannel.commitWorkspace(message);
+ await channel.send(result.message, channelId);
+ return true;
+ }
+
+ if (rawLower.startsWith('undo ')) {
+ const fileArg = rawArgs.slice(5).trim();
+ const result = cliChannel.undoWorkspaceFile(fileArg);
+ await channel.send(result.message, channelId);
+ return true;
+ }
+
+ if (rawLower === 'help') {
+ await channel.send('Workspace commands:\n`/ws open <path>`\n`/ws refresh`\n`/ws stage <file|all>`\n`/ws commit <message>`\n`/ws undo <file>`\n`/ws status`', channelId);
+ return true;
+ }
+
+ await channel.send('Unknown workspace command. Use `/ws help`.', channelId);
return true;
}
@@ -2162,6 +2677,32 @@ Always specify owner and repo parameters on GitHub tools. The user's GitHub user
return false;
}
+ private async handleWorkspaceNaturalLanguage(content: string, channelType: string, channelId: string): Promise<boolean> {
+ const channel = this.channels.get(channelType as any);
+ if (!channel || channelType !== 'cli' || !(channel instanceof CLIChannel)) return false;
+
+ const trimmed = content.trim();
+ const commandMatch = trimmed.match(/^(?:open|use|enter)\s+workspace(?:\s+(.+))?$/i);
+ if (!commandMatch) return false;
+
+ const targetRaw = (commandMatch[1] || '').trim();
+ const target = targetRaw || this.capabilities.getCwd();
+ const opened = channel.openWorkspace(target);
+ if (!opened.ok) {
+ await channel.send(opened.message, channelId);
+ return true;
+ }
+
+ const resolved = path.resolve(target.replace(/^~(?=$|\/)/, process.env.HOME || '~'));
+ this.capabilities.setCwd(resolved);
+ this.capabilities.permissions.addTempScope(resolved, true, true);
+ this.programmingMode.setExecute();
+ this.programmingMode.setProjectContext(resolved);
+ channel.setProgrammingStatus(this.programmingMode.getState(), this.programmingMode.getProjectContext());
+ await channel.send(`Workspace opened from conversation intent: ${resolved}`, channelId);
+ return true;
+ }
+
private async openCliCommandMenu(channel: CLIChannel, channelId: string): Promise<void> {
const ctx = this.capabilities.getChatCommandContext();
if (!ctx) return;
diff --git a/src/core/background-tasks.ts b/src/core/background-tasks.ts
new file mode 100644
index 00000000..8b02985e
--- /dev/null
+++ b/src/core/background-tasks.ts
@@ -0,0 +1,364 @@
+import { spawn, type ChildProcess } from 'node:child_process';
+import { logger } from '../utils/logger.js';
+
+export type BgTaskType = 'shell' | 'agent';
+export type BgTaskStatus = 'running' | 'completed' | 'failed' | 'timed_out' | 'cancelled';
+
+export interface BackgroundTask {
+ id: string;
+ type: BgTaskType;
+ command?: string;
+ task?: string;
+ cwd: string;
+ status: BgTaskStatus;
+ pid?: number;
+ agentId?: string;
+ startedAt: number;
+ completedAt?: number;
+ exitCode: number | null;
+ stdout: string;
+ stderr: string;
+ timeoutMs: number;
+}
+
+export interface BackgroundTaskSummary {
+ id: string;
+ type: BgTaskType;
+ command?: string;
+ task?: string;
+ status: BgTaskStatus;
+ startedAt: number;
+ completedAt?: number;
+ exitCode: number | null;
+ outputPreview: string;
+ runningMs?: number;
+}
+
+const MAX_OUTPUT = 1024 * 1024;
+const MAX_TASKS = 20;
+const PRUNE_AGE_MS = 60 * 60 * 1000;
+const SIGTERM_GRACE_MS = 3000;
+const MAX_PREVIEW = 200;
+const DEFAULT_SHELL_TIMEOUT_MS = 0;
+
+let taskCounter = 0;
+
+function nextId(): string {
+ return `bg-${++taskCounter}`;
+}
+
+function tailTruncate(str: string, maxLen: number): string {
+ if (str.length <= maxLen) return str;
+ return str.slice(str.length - maxLen);
+}
+
+export type TaskCompleteCallback = (task: BackgroundTask) => void;
+
+export class BackgroundTaskManager {
+ private tasks: Map<string, BackgroundTask> = new Map();
+ private processes: Map<string, ChildProcess> = new Map();
+ private timeouts: Map<string, ReturnType<typeof setTimeout>> = new Map();
+ private sigkillTimeouts: Map<string, ReturnType<typeof setTimeout>> = new Map();
+ private onCompleteCallbacks: Map<string, TaskCompleteCallback> = new Map();
+ private globalOnComplete?: TaskCompleteCallback;
+ private pruneInterval: ReturnType<typeof setInterval> | null = null;
+
+ constructor() {
+ this.pruneInterval = setInterval(() => this.prune(), 5 * 60 * 1000);
+ }
+
+ destroy(): void {
+ if (this.pruneInterval) {
+ clearInterval(this.pruneInterval);
+ this.pruneInterval = null;
+ }
+ for (const [id, child] of this.processes) {
+ try { child.kill('SIGTERM'); } catch {}
+ }
+ for (const [, t] of this.timeouts) {
+ clearTimeout(t);
+ }
+ for (const [, t] of this.sigkillTimeouts) {
+ clearTimeout(t);
+ }
+ }
+
+ onGlobalComplete(cb: TaskCompleteCallback): void {
+ this.globalOnComplete = cb;
+ }
+
+ spawnShell(command: string, cwd: string, timeoutMs: number = DEFAULT_SHELL_TIMEOUT_MS): string {
+ this.enforceTaskLimit();
+
+ const id = nextId();
+ const task: BackgroundTask = {
+ id,
+ type: 'shell',
+ command,
+ cwd,
+ status: 'running',
+ pid: undefined,
+ startedAt: Date.now(),
+ exitCode: null,
+ stdout: '',
+ stderr: '',
+ timeoutMs,
+ };
+ this.tasks.set(id, task);
+
+ try {
+ const child = spawn(command, [], {
+ cwd,
+ shell: true,
+ stdio: ['pipe', 'pipe', 'pipe'],
+ });
+
+ task.pid = child.pid ?? undefined;
+ this.processes.set(id, child);
+
+ child.stdout?.on('data', (chunk: Buffer) => {
+ task.stdout += chunk.toString();
+ if (task.stdout.length > MAX_OUTPUT) {
+ task.stdout = tailTruncate(task.stdout, MAX_OUTPUT);
+ }
+ });
+
+ child.stderr?.on('data', (chunk: Buffer) => {
+ task.stderr += chunk.toString();
+ if (task.stderr.length > MAX_OUTPUT) {
+ task.stderr = tailTruncate(task.stderr, MAX_OUTPUT);
+ }
+ });
+
+ child.on('error', (err) => {
+ task.stderr += `\nProcess error: ${err.message}`;
+ this.completeTask(id, null, 'failed');
+ });
+
+ child.on('exit', (code) => {
+ this.completeTask(id, code, code === 0 ? 'completed' : 'failed');
+ });
+
+ if (timeoutMs > 0) {
+ const timeout = setTimeout(() => {
+ this.killTask(id, 'SIGTERM');
+ const sigkillTimeout = setTimeout(() => {
+ this.killTask(id, 'SIGKILL');
+ }, SIGTERM_GRACE_MS);
+ this.sigkillTimeouts.set(id, sigkillTimeout);
+
+ if (task.status === 'running') {
+ task.status = 'timed_out';
+ this.completeTask(id, null, 'timed_out');
+ }
+ }, timeoutMs);
+ this.timeouts.set(id, timeout);
+ }
+
+ logger.info({ taskId: id, command, cwd }, 'Background shell task started');
+ } catch (err: any) {
+ task.status = 'failed';
+ task.stderr = `Failed to spawn: ${err.message}`;
+ task.completedAt = Date.now();
+ task.exitCode = null;
+ }
+
+ return id;
+ }
+
+ spawnAgent(taskDescription: string, cwd: string, agentId: string): string {
+ this.enforceTaskLimit();
+
+ const id = nextId();
+ const task: BackgroundTask = {
+ id,
+ type: 'agent',
+ task: taskDescription,
+ cwd,
+ status: 'running',
+ agentId,
+ startedAt: Date.now(),
+ exitCode: null,
+ stdout: '',
+ stderr: '',
+ timeoutMs: 0,
+ };
+ this.tasks.set(id, task);
+ logger.info({ taskId: id, agentId, task: taskDescription }, 'Background agent task started');
+ return id;
+ }
+
+ updateAgentProgress(bgTaskId: string, progress: string): void {
+ const task = this.tasks.get(bgTaskId);
+ if (!task || task.type !== 'agent') return;
+ task.stdout += progress + '\n';
+ if (task.stdout.length > MAX_OUTPUT) {
+ task.stdout = tailTruncate(task.stdout, MAX_OUTPUT);
+ }
+ }
+
+ completeAgentTask(bgTaskId: string, exitCode: number | null, status: BgTaskStatus, output?: string): void {
+ const task = this.tasks.get(bgTaskId);
+ if (!task) return;
+ if (output) {
+ task.stdout = output;
+ }
+ this.completeTask(bgTaskId, exitCode, status);
+ }
+
+ cancel(taskId: string): boolean {
+ const task = this.tasks.get(taskId);
+ if (!task) return false;
+ if (task.status !== 'running') return false;
+
+ if (task.type === 'shell') {
+ this.killTask(taskId, 'SIGTERM');
+ const sigkill = setTimeout(() => {
+ this.killTask(taskId, 'SIGKILL');
+ }, SIGTERM_GRACE_MS);
+ this.sigkillTimeouts.set(taskId, sigkill);
+ }
+
+ task.status = 'cancelled';
+ task.completedAt = Date.now();
+ task.exitCode = null;
+ this.clearTimeouts(taskId);
+ this.notifyComplete(task);
+ logger.info({ taskId }, 'Background task cancelled');
+ return true;
+ }
+
+ get(taskId: string): BackgroundTask | undefined {
+ return this.tasks.get(taskId);
+ }
+
+ getSummary(taskId: string): BackgroundTaskSummary | undefined {
+ const task = this.tasks.get(taskId);
+ if (!task) return undefined;
+ return this.toSummary(task);
+ }
+
+ getAll(): BackgroundTask[] {
+ return [...this.tasks.values()];
+ }
+
+ getAllSummaries(): BackgroundTaskSummary[] {
+ return [...this.tasks.values()].map(this.toSummary);
+ }
+
+ getRunning(): BackgroundTask[] {
+ return [...this.tasks.values()].filter(t => t.status === 'running');
+ }
+
+ getRunningSummaries(): BackgroundTaskSummary[] {
+ return this.getRunning().map(this.toSummary);
+ }
+
+ registerComplete(taskId: string, cb: TaskCompleteCallback): void {
+ this.onCompleteCallbacks.set(taskId, cb);
+ }
+
+ prune(): number {
+ const now = Date.now();
+ let pruned = 0;
+ for (const [id, task] of this.tasks) {
+ if (task.status === 'running') continue;
+ if (task.completedAt && (now - task.completedAt) > PRUNE_AGE_MS) {
+ this.tasks.delete(id);
+ pruned++;
+ }
+ }
+ if (pruned > 0) {
+ logger.info({ pruned }, 'Pruned completed background tasks');
+ }
+ return pruned;
+ }
+
+ clearCompleted(): number {
+ let cleared = 0;
+ for (const [id, task] of this.tasks) {
+ if (task.status !== 'running') {
+ this.tasks.delete(id);
+ cleared++;
+ }
+ }
+ return cleared;
+ }
+
+ getByAgentId(agentId: string): BackgroundTask | undefined {
+ for (const task of this.tasks.values()) {
+ if (task.agentId === agentId) return task;
+ }
+ return undefined;
+ }
+
+ private completeTask(id: string, exitCode: number | null, status: BgTaskStatus): void {
+ const task = this.tasks.get(id);
+ if (!task) return;
+ if (task.status !== 'running' && task.status !== 'timed_out') return;
+
+ task.exitCode = exitCode;
+ task.status = status;
+ task.completedAt = Date.now();
+ this.clearTimeouts(id);
+ this.processes.delete(id);
+
+ logger.info({ taskId: id, status, exitCode }, 'Background task completed');
+ this.notifyComplete(task);
+ }
+
+ private notifyComplete(task: BackgroundTask): void {
+ const cb = this.onCompleteCallbacks.get(task.id);
+ if (cb) {
+ try { cb(task); } catch {}
+ this.onCompleteCallbacks.delete(task.id);
+ }
+ if (this.globalOnComplete) {
+ try { this.globalOnComplete(task); } catch {}
+ }
+ }
+
+ private killTask(id: string, signal: NodeJS.Signals): void {
+ const child = this.processes.get(id);
+ if (child) {
+ try { child.kill(signal); } catch {}
+ }
+ }
+
+ private clearTimeouts(id: string): void {
+ const t = this.timeouts.get(id);
+ if (t) { clearTimeout(t); this.timeouts.delete(id); }
+ const s = this.sigkillTimeouts.get(id);
+ if (s) { clearTimeout(s); this.sigkillTimeouts.delete(id); }
+ }
+
+ private enforceTaskLimit(): void {
+ const completed = [...this.tasks.values()]
+ .filter(t => t.status !== 'running')
+ .sort((a, b) => (a.completedAt ?? 0) - (b.completedAt ?? 0));
+
+ while (this.tasks.size >= MAX_TASKS && completed.length > 0) {
+ const oldest = completed.shift();
+ if (oldest) {
+ this.tasks.delete(oldest.id);
+ }
+ }
+ }
+
+ private toSummary(task: BackgroundTask): BackgroundTaskSummary {
+ const combined = task.stdout + '\n' + task.stderr;
+ const preview = combined.trim().slice(-MAX_PREVIEW);
+ return {
+ id: task.id,
+ type: task.type,
+ command: task.command,
+ task: task.task,
+ status: task.status,
+ startedAt: task.startedAt,
+ completedAt: task.completedAt,
+ exitCode: task.exitCode,
+ outputPreview: preview,
+ runningMs: task.status === 'running' ? Date.now() - task.startedAt : undefined,
+ };
+ }
+}
\ No newline at end of file
diff --git a/src/core/supervisor.ts b/src/core/supervisor.ts
index 4e7aad72..a587c117 100644
--- a/src/core/supervisor.ts
+++ b/src/core/supervisor.ts
@@ -14,6 +14,7 @@ import { ResourceManager } from './resource-manager.js';
import { logger } from '../utils/logger.js';
export type NotifyCallback = (channelType: string, channelId: string, message: string) => Promise<void>;
+export type AgentLifecycleCallback = (event: { type: 'progress' | 'complete'; agentId: string; progress?: string; result?: SubAgentResult }) => void;
export class SubAgentSupervisor {
private activeAgents: Map<string, SubAgent> = new Map();
@@ -34,6 +35,7 @@ export class SubAgentSupervisor {
private channels: ChannelRegistry;
private notifyCallback?: NotifyCallback;
+ private lifecycleCallback?: AgentLifecycleCallback;
private pausedAgents: Set<string> = new Set();
private pauseResolvers: Map<string, () => void> = new Map();
@@ -72,6 +74,10 @@ export class SubAgentSupervisor {
this.notifyCallback = cb;
}
+ setLifecycleCallback(cb: AgentLifecycleCallback): void {
+ this.lifecycleCallback = cb;
+ }
+
private async notify(channelType: string, channelId: string, message: string): Promise<void> {
if (this.notifyCallback) {
await this.notifyCallback(channelType, channelId, message);
@@ -153,6 +159,7 @@ export class SubAgentSupervisor {
subAgent.setProgressCallback((agentId, progress) => {
this.taskBoard.update(agentId, { progress });
+ this.lifecycleCallback?.({ type: 'progress', agentId, progress });
const entry = this.taskBoard.get(agentId);
if (entry) {
@@ -187,6 +194,7 @@ export class SubAgentSupervisor {
this.pausedAgents.delete(agentId);
logger.info({ agentId, status: result.status, duration: result.duration }, 'Sub-agent completed');
+ this.lifecycleCallback?.({ type: 'complete', agentId, result });
const entry = this.taskBoard.get(agentId);
if (entry) {
@@ -349,4 +357,4 @@ export class SubAgentSupervisor {
}
return count;
}
-}
\ No newline at end of file
+}
diff --git a/src/index.ts b/src/index.ts
index e28cb60f..cc501465 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -58,12 +58,11 @@ function hr() {
}
const MERCURY_ASCII = [
- ' __ _____________ ________ ________ __',
- ' / |/ / ____/ __ \\/ ____/ / / / __ \\/ < /',
- ' / /|_/ / __/ / /_/ / / / / / / /_/ /\\ / ',
- ' / / / / /___/ _, _/ /___/ /_/ / _, _/ / / ',
- '/_/ /_/_____/_/ |_|\\____/\\____/_/ |_| /_/ ',
-].filter(l => l.trim());
+ ' /\\_/\\ ',
+ ' =( o.o )= ',
+ ' > ^ < ',
+ ' * ',
+].filter((l) => l.trim());
function banner() {
console.log('');
@@ -71,7 +70,8 @@ function banner() {
console.log(chalk.bold.cyan(` ${line}`));
}
console.log('');
- console.log(chalk.white(' an AI agent for personal tasks'));
+ console.log(chalk.bold.cyan(' MERCURY'));
+ console.log(chalk.white(' Your soul-driven AI agent'));
console.log(chalk.dim(` v${pkgVersion} · by Cosmic Stack · mercury.cosmicstack.org`));
console.log('');
}
@@ -82,7 +82,8 @@ function splashScreen() {
console.log(chalk.bold.cyan(` ${line}`));
}
console.log('');
- console.log(chalk.dim(' an AI agent for personal tasks'));
+ console.log(chalk.bold.cyan(' MERCURY'));
+ console.log(chalk.dim(' Your soul-driven AI agent'));
console.log(chalk.cyan(' by Cosmic Stack'));
console.log(chalk.dim(' mercury.cosmicstack.org'));
console.log('');
@@ -1034,15 +1035,51 @@ function autoDaemonize(): void {
console.log('');
}
+function runPlatformDoctor(): void {
+ const daemon = getDaemonStatus();
+ const termProgram = process.env.TERM_PROGRAM || 'unknown';
+ const term = process.env.TERM || 'unknown';
+ const isTTY = Boolean(process.stdin.isTTY && process.stdout.isTTY);
+ const rawModeSupported = Boolean(process.stdin.isTTY && typeof (process.stdin as NodeJS.ReadStream).setRawMode === 'function');
+ const sshSession = Boolean(process.env.SSH_CONNECTION || process.env.SSH_TTY);
+ const ci = process.env.CI === 'true';
+ const canInlineArt = termProgram === 'iTerm.app' && !sshSession && !ci;
+
+ console.log('');
+ console.log(chalk.bold.cyan(' Mercury Platform Doctor'));
+ console.log(chalk.dim(' Cross-platform runtime compatibility report'));
+ console.log('');
+ console.log(` OS: ${chalk.white(process.platform)} (${process.arch})`);
+ console.log(` Node.js: ${chalk.white(process.version)} (required >= 20)`);
+ console.log(` Terminal program: ${chalk.white(termProgram)}`);
+ console.log(` TERM: ${chalk.white(term)}`);
+ console.log(` Interactive TTY: ${isTTY ? chalk.green('yes') : chalk.yellow('no')}`);
+ console.log(` Raw mode support: ${rawModeSupported ? chalk.green('yes') : chalk.yellow('no')}`);
+ console.log(` SSH session: ${sshSession ? chalk.yellow('yes') : chalk.green('no')}`);
+ console.log(` CI environment: ${ci ? chalk.yellow('yes') : chalk.green('no')}`);
+ console.log(` Daemon: ${daemon.running ? chalk.green(`running (PID: ${daemon.pid})`) : chalk.dim('not running')}`);
+ console.log(` Spotify inline art: ${canInlineArt ? chalk.green('supported (iTerm local)') : chalk.dim('disabled/fallback mode')}`);
+ console.log('');
+ console.log(chalk.bold.white(' Keybinding Notes'));
+ console.log(` • View toggle: ${chalk.white('Ctrl+V')} (fallback: ${chalk.white('/view')})`);
+ console.log(` • Workspace exit: ${chalk.white('Esc')} or ${chalk.white('Ctrl+Q')} (fallback: ${chalk.white('/ws exit')})`);
+ console.log(` • Code mode switch: ${chalk.white('Ctrl+P')} plan, ${chalk.white('Ctrl+X')} execute`);
+ console.log('');
+
+ if (!rawModeSupported) {
+ console.log(chalk.yellow(' Warning: Raw mode is unavailable; interactive Ink input may be limited in this terminal.'));
+ console.log(chalk.dim(' Try a local terminal session with TTY support for the best experience.'));
+ console.log('');
+ }
+}
+
async function runAgent(isDaemon: boolean = false): Promise<void> {
let config = loadConfig();
config = ensureCreatorField(config);
const name = config.identity.name;
if (!isDaemon) {
- banner();
- console.log(chalk.white(` ${name} is waking up...`));
- console.log('');
+ logger.info(`${name} is waking up...`);
} else {
logger.info(`${name} is waking up (daemon mode)...`);
}
@@ -1071,10 +1108,7 @@ async function runAgent(isDaemon: boolean = false): Promise<void> {
const marker = key === defaultProvider ? ' ← default' : '';
return `${label}: ${model}${marker}`;
});
-
- console.log('');
- console.log(chalk.bgMagenta.black.bold(` ⚡ ${getProviderLabel(defaultProvider)} · ${defaultModel} `));
- console.log(chalk.dim(` Providers: ${providerSummary.join(' · ')}`));
+ logger.info({ providers: providerSummary, default: getProviderLabel(defaultProvider) }, 'Providers loaded');
} else {
logger.info({ providers: available, default: defaultProvider }, 'Providers loaded');
}
@@ -1082,7 +1116,7 @@ async function runAgent(isDaemon: boolean = false): Promise<void> {
const skillLoader = new SkillLoader();
const skills = skillLoader.discover();
if (!isDaemon) {
- console.log(chalk.dim(` Skills: ${skills.length > 0 ? skills.map(s => s.name).join(', ') : 'none installed'}`));
+ logger.info(`Skills: ${skills.length > 0 ? skills.map(s => s.name).join(', ') : 'none installed'}`);
}
const scheduler = new Scheduler(config);
@@ -1098,7 +1132,7 @@ async function runAgent(isDaemon: boolean = false): Promise<void> {
try {
userMemory = new UserMemoryStore(config);
if (!isDaemon) {
- console.log(chalk.dim(` Second brain: enabled (${userMemory.getSummary().total} existing memories)`));
+ logger.info(`Second brain: enabled (${userMemory.getSummary().total} existing memories)`);
} else {
logger.info({ total: userMemory.getSummary().total }, 'Second brain loaded');
}
@@ -1196,8 +1230,9 @@ async function runAgent(isDaemon: boolean = false): Promise<void> {
agent.setSupervisor(supervisor);
}
+ let spotifyClient: SpotifyClient | undefined;
if (config.spotify.clientId && config.spotify.clientSecret) {
- const spotifyClient = new SpotifyClient(config);
+ spotifyClient = new SpotifyClient(config);
capabilities.setSpotifyClient(spotifyClient);
capabilities.registerSpotifyTools();
agent.setSpotifyClient(spotifyClient);
@@ -1211,11 +1246,27 @@ async function runAgent(isDaemon: boolean = false): Promise<void> {
const accountName = spotifyClient.getAccountName();
const label = accountName ? ` as ${accountName}` : '';
logger.info(`Spotify connected${label} (token available)`);
- if (!isDaemon) {
- console.log(chalk.green(` Spotify: connected${label}`));
- }
- } else if (!isDaemon) {
- console.log(chalk.dim(' Spotify: not connected — run /spotify auth to link your account'));
+ } else {
+ logger.info('Spotify: not connected — run /spotify auth to link your account');
+ }
+ }
+
+ if (!isDaemon) {
+ const bootCli = channels.getCliChannel();
+ if (bootCli) {
+ await channels.startAll();
+ const skillInfos = skills.map((s) => ({ name: s.name, description: s.description, loaded: true }));
+ bootCli.initSplash(name, pkgVersion);
+ bootCli.setSkills(skillInfos);
+ bootCli.setProvider(getProviderLabel(defaultProvider), defaultModel);
+ bootCli.setTokenInfo(tokenBudget.getDailyUsed(), tokenBudget.getBudget(), Math.round(tokenBudget.getUsagePercentage()));
+ bootCli.mountTUI((inputText: string) => {
+ bootCli.sendUserMessage(inputText);
+ }, spotifyClient, () => {
+ process.exit(0);
+ });
+ } else {
+ await channels.startAll();
}
}
@@ -1255,22 +1306,16 @@ async function runAgent(isDaemon: boolean = false): Promise<void> {
if (!isDaemon) {
if (config.identity.creator) {
- console.log(chalk.dim(` Creator: ${config.identity.creator}`));
+ logger.info(`Creator: ${config.identity.creator}`);
}
- hr();
const mode = cliChannel && await cliChannel.askPermissionMode?.();
if (mode === 'allow-all') {
capabilities.permissions.setAutoApproveAll(true);
capabilities.permissions.addTempScope('/', true, true);
}
-
- console.log('');
- console.log(chalk.green(` ${name} is live. Type a message and press Enter.`));
- console.log(chalk.dim(' Ctrl+C to exit · /help for commands'));
- console.log('');
- cliChannel?.showPrompt();
} else {
+ await channels.startAll();
logger.info({ channels: activeCh, tools: toolNames }, 'Mercury is live (daemon mode)');
}
@@ -1418,8 +1463,13 @@ program
program
.command('doctor')
- .description('Reconfigure Mercury — change keys, name, settings (Enter to keep current)')
- .action(async () => {
+ .description('Reconfigure Mercury setup (name, providers, channels, permissions defaults)')
+ .option('--platform', 'Show platform compatibility diagnostics')
+ .action(async (opts) => {
+ if (opts.platform) {
+ runPlatformDoctor();
+ return;
+ }
if (isSetupComplete()) {
await configure(loadConfig());
} else {
diff --git a/src/skills/default-skills.ts b/src/skills/default-skills.ts
new file mode 100644
index 00000000..b45e0c2b
--- /dev/null
+++ b/src/skills/default-skills.ts
@@ -0,0 +1,40 @@
+export interface DefaultSkillSeed {
+ dirName: string;
+ fileName: string;
+ content: string;
+}
+
+export const DEFAULT_SKILL_SEEDS: DefaultSkillSeed[] = [
+ {
+ dirName: 'web-search',
+ fileName: 'SKILL.md',
+ content: `---
+name: web-search
+description: Perform web searches using DuckDuckGo HTML and summarize sources.
+version: 1.0.0
+allowed-tools:
+ - fetch_url
+---
+
+# Web Search
+
+Use this skill when the user asks for current events, external facts, or web research.
+
+## Workflow
+
+1. Build a DuckDuckGo HTML search URL:
+ - https://html.duckduckgo.com/html/?q=<query>
+2. Use fetch_url with markdown format to retrieve result page content.
+3. Extract likely source links and open the top relevant pages with fetch_url.
+4. Cross-check key facts across at least 2 sources when possible.
+5. Return a concise answer with source links and clear caveats.
+
+## Rules
+
+- Prefer reliable sources (official docs, primary sources, reputable publications).
+- If information is uncertain or conflicting, say so explicitly.
+- Include source URLs in the response.
+- Avoid fabricated citations.
+`,
+ },
+];
diff --git a/src/skills/loader.ts b/src/skills/loader.ts
index 31d6357c..68f41fe6 100644
--- a/src/skills/loader.ts
+++ b/src/skills/loader.ts
@@ -4,6 +4,7 @@ import { parse as parseYaml } from 'yaml';
import { getMercuryHome } from '../utils/config.js';
import type { SkillDiscovery, Skill, SkillMeta } from './types.js';
import { logger } from '../utils/logger.js';
+import { DEFAULT_SKILL_SEEDS } from './default-skills.js';
const SKILL_FILE = 'SKILL.md';
@@ -40,9 +41,10 @@ export class SkillLoader {
if (!existsSync(this.skillsDir)) {
mkdirSync(this.skillsDir, { recursive: true });
this.seedTemplate();
- return [];
}
+ this.ensureDefaultSkills();
+
const entries = readdirSync(this.skillsDir, { withFileTypes: true });
for (const entry of entries) {
if (!entry.isDirectory() || entry.name.startsWith('_')) continue;
@@ -154,4 +156,16 @@ Describe what this skill enables Mercury to do. When invoked via the use_skill t
writeFileSync(join(templateDir, SKILL_FILE), content, 'utf-8');
logger.info('Seeded template skill');
}
-}
\ No newline at end of file
+
+ private ensureDefaultSkills(): void {
+ for (const seed of DEFAULT_SKILL_SEEDS) {
+ const skillDir = join(this.skillsDir, seed.dirName);
+ const skillFile = join(skillDir, seed.fileName);
+ if (existsSync(skillFile)) continue;
+
+ mkdirSync(skillDir, { recursive: true });
+ writeFileSync(skillFile, seed.content, 'utf-8');
+ logger.info({ skill: seed.dirName }, 'Seeded default skill');
+ }
+ }
+}
diff --git a/src/spotify/ui.ts b/src/spotify/ui.ts
index 183621eb..ee989935 100644
--- a/src/spotify/ui.ts
+++ b/src/spotify/ui.ts
@@ -14,7 +14,7 @@ export function formatNowPlaying(data: any): string {
const repeat: Record<string, string> = { off: '', track: '🔂', context: '🔁' };
const repeatIcon = repeat[data.repeat_state] || '';
const albumArt = track.album?.images?.[0]?.url;
- let text = `${status} **${name}** by ${artists}\n`;
+ let text = `${status} ${name} by ${artists}\n`;
text += `${bar} ${formatTime(progress)}/${formatTime(duration)}\n`;
text += `${shuffle}${repeatIcon}`;
if (albumArt) text += ` | Album: ${track.album?.name}`;
@@ -37,7 +37,8 @@ export const PLAYER_CONTROLS = [
{ value: 'now', label: '🎵 Now Playing' },
{ value: 'devices', label: '📱 Devices' },
{ value: 'search', label: '🔍 Search & Play' },
- { value: 'volume', label: '🔊 Set Volume' },
+ { value: 'volume_up', label: '🔊 Volume +10%' },
+ { value: 'volume_down', label: '🔉 Volume -10%' },
{ value: 'queue', label: '📋 Add to Queue' },
{ value: 'like', label: '❤️ Like Current Track' },
{ value: 'exit', label: '✕ Exit Player' },
@@ -81,7 +82,23 @@ export async function handlePlayerAction(
if (!data?.item?.id) return 'Nothing playing to like.';
return await spotify.likeTrack(data.item.id);
}
+ case 'volume_up': {
+ const state = await spotify.getPlaybackState();
+ const current = typeof state?.device?.volume_percent === 'number' ? state.device.volume_percent : 50;
+ const next = Math.min(100, current + 10);
+ return await spotify.setVolume(next);
+ }
+ case 'volume_down': {
+ const state = await spotify.getPlaybackState();
+ const current = typeof state?.device?.volume_percent === 'number' ? state.device.volume_percent : 50;
+ const next = Math.max(0, current - 10);
+ return await spotify.setVolume(next);
+ }
+ case 'queue':
+ return 'Use `/spotify queue <track name>` to choose what to add.';
+ case 'search':
+ return 'Use `/spotify search <track name>` to search and play.';
default:
return 'Unknown action';
}
-}
\ No newline at end of file
+}
diff --git a/src/ui/App.tsx b/src/ui/App.tsx
new file mode 100644
index 00000000..52836d06
--- /dev/null
+++ b/src/ui/App.tsx
@@ -0,0 +1,1168 @@
+import React from 'react';
+import { Box, Text, useApp, useInput } from 'ink';
+import type { TuiState } from '../channels/cli.js';
+import type { AppMode, ChatMessage, ToolStep, SubAgentInfo, PermissionPromptState, SidebarSection, BackgroundTaskInfo } from './types.js';
+import type { PermissionMode } from '../channels/base.js';
+import type { ProgrammingModeState } from '../core/programming-mode.js';
+import { renderMarkdown } from '../utils/markdown.js';
+import { PLAYER_CONTROLS, formatNowPlaying } from '../spotify/ui.js';
+import type { SpotifyClient } from '../spotify/client.js';
+import type { SubAgentStatus } from '../types/agent.js';
+
+const MERCURY_LOGO = [
+ ' __ _____________ ________ ________ __',
+ ' / |/ / ____/ __ \\/ ____/ / / / __ \\/ < /',
+ ' / /|_/ / __/ / /_/ / / / / / / /_/ /\\ / ',
+ ' / / / / /___/ _, _/ /___/ /_/ / _, _/ / / ',
+ '/_/ /_/_____/_/ |_|\\____/\\____/_/ |_| /_/ ',
+];
+
+const MERCURY_MARK = [
+ ' ╭─╮ ╭─╮',
+ ' ╭─╯ ╰─────╯ ╰─╮',
+ ' ╭─╯ ╰─╮',
+ ' │ ● ● │',
+ ' │ ◡ │',
+ ' │ │',
+ ' ╰─╮ ╭─╯',
+ ' ╰─────╮ ╭─────╯',
+ ' │ │',
+ ' ─┼───┼─',
+ ' │ │',
+];
+
+const IS_LIGHT_BG = (() => {
+ const fgBg = process.env.COLORFGBG;
+ if (!fgBg) return false;
+ const parts = fgBg.split(';');
+ const bgCode = Number(parts[parts.length - 1]);
+ if (Number.isNaN(bgCode)) return false;
+ return bgCode >= 10;
+})();
+
+const BRAND = IS_LIGHT_BG
+ ? { logo: 'blue', title: 'blue', subtitle: 'gray', accent: 'magenta' }
+ : { logo: 'cyan', title: 'cyan', subtitle: 'gray', accent: 'magenta' };
+
+const STATUS_ICONS: Record<string, { icon: string; color: string }> = {
+ pending: { icon: '🔵', color: 'blue' },
+ running: { icon: '🟢', color: 'green' },
+ paused: { icon: '🟡', color: 'yellow' },
+ completed: { icon: '✅', color: 'green' },
+ failed: { icon: '❌', color: 'red' },
+ halted: { icon: '⛔', color: 'red' },
+};
+
+function canRenderInlineAlbumArt(): boolean {
+ if (process.env.MERCURY_SPOTIFY_ART !== '1') return false;
+ if (process.env.CI === 'true') return false;
+ if (process.env.SSH_CONNECTION || process.env.SSH_TTY) return false;
+ return process.env.TERM_PROGRAM === 'iTerm.app';
+}
+
+async function buildItermInlineImage(url: string): Promise<string> {
+ const response = await fetch(url);
+ if (!response.ok) throw new Error(`Album art fetch failed: ${response.status}`);
+ const contentType = response.headers.get('content-type') || 'image/jpeg';
+ const data = Buffer.from(await response.arrayBuffer()).toString('base64');
+ return `\u001b]1337;File=inline=1;width=24;height=12;preserveAspectRatio=1;type=${contentType}:${data}\u0007`;
+}
+
+export interface TuiAppProps {
+ state: TuiState;
+ onInput: (text: string) => void;
+ onPermissionResolve: (value: string | boolean) => void;
+ onExit: () => void;
+ spotifyClient?: SpotifyClient | null;
+}
+
+export function TuiApp({ state, onInput, onPermissionResolve, onExit, spotifyClient }: TuiAppProps) {
+ const { exit } = useApp();
+ const [input, setInput] = React.useState('');
+ const [permIdx, setPermIdx] = React.useState(0);
+ const permIdxRef = React.useRef(0);
+ const [menuIdx, setMenuIdx] = React.useState(0);
+ const [spotifyIdx, setSpotifyIdx] = React.useState(6);
+ const [splashPhase, setSplashPhase] = React.useState<'logo' | 'skills' | 'provider' | 'ready'>('logo');
+ const [skillsLoaded, setSkillsLoaded] = React.useState(0);
+ const [showStartupDetails, setShowStartupDetails] = React.useState(false);
+ const [spotifyNow, setSpotifyNow] = React.useState('');
+ const [spotifyStatus, setSpotifyStatus] = React.useState('');
+ const [spotifyVolume, setSpotifyVolume] = React.useState<number | null>(null);
+ const [spotifyArtUrl, setSpotifyArtUrl] = React.useState<string | null>(null);
+ const [spotifyArtAnsi, setSpotifyArtAnsi] = React.useState<string>('');
+ const albumArtCache = React.useRef<Map<string, string>>(new Map());
+ const [inputHistory, setInputHistory] = React.useState<string[]>([]);
+ const [historyIndex, setHistoryIndex] = React.useState<number>(-1);
+ const [historyDraft, setHistoryDraft] = React.useState<string>('');
+ const [workspacePane, setWorkspacePane] = React.useState<'files' | 'details' | 'git'>('files');
+ const [detailCursor, setDetailCursor] = React.useState(0);
+ const [gitCursor, setGitCursor] = React.useState(0);
+
+ const slashCommands = React.useMemo(() => [
+ '/help',
+ '/status',
+ '/menu',
+ '/chat',
+ '/code',
+ '/code plan',
+ '/code execute',
+ '/code build',
+ '/code workspace',
+ '/code off',
+ '/spotify',
+ '/budget',
+ '/permissions',
+ '/memory',
+ '/models',
+ '/models use ',
+ '/agents',
+ '/bg',
+ '/bg current',
+ '/bg list',
+ '/bg cancel ',
+ '/bg clear',
+ '/view',
+ '/view balanced',
+ '/view detailed',
+ '/ws',
+ '/ws open ',
+ '/ws exit',
+ '/ws refresh',
+ '/ws stage all',
+ '/ws commit ',
+ '/ws help',
+ ], []);
+
+ const slashSuggestions = React.useMemo(() => {
+ if (!input.startsWith('/')) return [];
+ const q = input.toLowerCase();
+ return slashCommands.filter((cmd) => cmd.startsWith(q)).slice(0, 5);
+ }, [input, slashCommands]);
+
+
+ React.useEffect(() => {
+ if (state.mode !== 'splash') return;
+ if (splashPhase === 'logo') {
+ const t = setTimeout(() => setSplashPhase('skills'), 80);
+ return () => clearTimeout(t);
+ }
+ }, [state.mode, splashPhase]);
+
+ React.useEffect(() => {
+ if (state.mode !== 'splash') return;
+ if (splashPhase === 'skills') {
+ if (skillsLoaded >= state.skills.length) {
+ const t = setTimeout(() => setSplashPhase('provider'), 60);
+ return () => clearTimeout(t);
+ }
+ const t = setTimeout(() => setSkillsLoaded((i) => i + 1), 20);
+ return () => clearTimeout(t);
+ }
+ }, [state.mode, splashPhase, skillsLoaded, state.skills.length]);
+
+ React.useEffect(() => {
+ if (state.mode !== 'splash') return;
+ if (splashPhase === 'provider') {
+ const t = setTimeout(() => setSplashPhase('ready'), 80);
+ return () => clearTimeout(t);
+ }
+ }, [state.mode, splashPhase]);
+
+ React.useEffect(() => {
+ if (state.mode === 'spotify' && spotifyClient) {
+ const refresh = async () => {
+ try {
+ const data = await spotifyClient.getCurrentlyPlaying();
+ setSpotifyNow(formatNowPlaying(data));
+ setSpotifyVolume(typeof data?.device?.volume_percent === 'number' ? data.device.volume_percent : null);
+ setSpotifyArtUrl(data?.item?.album?.images?.[0]?.url || null);
+ } catch {
+ setSpotifyNow('Nothing playing');
+ setSpotifyVolume(null);
+ setSpotifyArtUrl(null);
+ }
+ };
+ refresh();
+ const interval = setInterval(refresh, 5000);
+ return () => clearInterval(interval);
+ }
+ }, [state.mode, spotifyClient]);
+
+ React.useEffect(() => {
+ if (state.mode !== 'spotify') return;
+ if (!spotifyArtUrl) {
+ setSpotifyArtAnsi('');
+ return;
+ }
+ if (!canRenderInlineAlbumArt()) {
+ setSpotifyArtAnsi('');
+ return;
+ }
+
+ const cached = albumArtCache.current.get(spotifyArtUrl);
+ if (cached) {
+ setSpotifyArtAnsi(cached);
+ return;
+ }
+
+ let cancelled = false;
+ buildItermInlineImage(spotifyArtUrl)
+ .then((ansi) => {
+ if (cancelled) return;
+ albumArtCache.current.set(spotifyArtUrl, ansi);
+ setSpotifyArtAnsi(ansi);
+ })
+ .catch(() => {
+ if (cancelled) return;
+ setSpotifyArtAnsi('');
+ });
+
+ return () => {
+ cancelled = true;
+ };
+ }, [state.mode, spotifyArtUrl]);
+
+ const runSpotifyAction = React.useCallback(async (action: string) => {
+ if (!spotifyClient || action === 'exit') return;
+ try {
+ if (action === 'volume_up') {
+ const current = typeof spotifyVolume === 'number' ? spotifyVolume : 50;
+ const next = Math.min(100, current + 10);
+ const result = await spotifyClient.setVolume(next);
+ setSpotifyStatus(result);
+ } else if (action === 'volume_down') {
+ const current = typeof spotifyVolume === 'number' ? spotifyVolume : 50;
+ const next = Math.max(0, current - 10);
+ const result = await spotifyClient.setVolume(next);
+ setSpotifyStatus(result);
+ } else {
+ const { handlePlayerAction } = await import('../spotify/ui.js');
+ const result = await handlePlayerAction(action, spotifyClient);
+ setSpotifyStatus(result);
+ }
+
+ const data = await spotifyClient.getCurrentlyPlaying();
+ setSpotifyNow(formatNowPlaying(data));
+ setSpotifyVolume(typeof data?.device?.volume_percent === 'number' ? data.device.volume_percent : null);
+ setSpotifyArtUrl(data?.item?.album?.images?.[0]?.url || null);
+ } catch (err: any) {
+ setSpotifyStatus(err?.message || 'Spotify action failed');
+ }
+ }, [spotifyClient, spotifyVolume]);
+
+ React.useEffect(() => {
+ if (state.permissionPrompt) {
+ setPermIdx(0);
+ permIdxRef.current = 0;
+ }
+ }, [state.permissionPrompt]);
+
+ useInput((ch, key) => {
+ const keyChar = (ch || (key as any)?.name || '').toLowerCase();
+ const isEnter = key.return || (key as any)?.name === 'enter';
+ const resolvePermissionAndMaybeContinue = (value: string | boolean) => {
+ const shouldAutoEnterChat = state.mode === 'splash' && state.permissionPrompt?.type === 'mode';
+ onPermissionResolve(value);
+ if (shouldAutoEnterChat) {
+ onInput('/chat');
+ }
+ };
+
+ if (ch === '\u0003' || (key.ctrl && ((key as any).name === 'c' || ch?.toLowerCase?.() === 'c'))) {
+ onExit();
+ return;
+ }
+
+ if (state.mode === 'splash') {
+ if (ch === 'd' || ch === 'D') {
+ setShowStartupDetails((v) => !v);
+ return;
+ }
+ if (!state.permissionPrompt && isEnter) {
+ onInput('/chat');
+ return;
+ }
+ }
+
+ if (state.permissionPrompt) {
+ const options = state.permissionPrompt.options || [];
+ if (options.length > 0) {
+ const lower = ch?.toLowerCase?.();
+ if (lower === 'y') {
+ const yes = options.find((opt) => opt.value === 'yes');
+ if (yes) {
+ resolvePermissionAndMaybeContinue(yes.value);
+ return;
+ }
+ }
+ if (lower === 'n') {
+ const no = options.find((opt) => opt.value === 'no');
+ if (no) {
+ resolvePermissionAndMaybeContinue(no.value);
+ return;
+ }
+ }
+ if (lower === 'a') {
+ const always = options.find((opt) => opt.value === 'always');
+ if (always) {
+ resolvePermissionAndMaybeContinue(always.value);
+ return;
+ }
+ }
+
+ if (key.upArrow) {
+ const next = Math.max(0, permIdxRef.current - 1);
+ permIdxRef.current = next;
+ setPermIdx(next);
+ }
+ else if (key.downArrow) {
+ const next = Math.min(options.length - 1, permIdxRef.current + 1);
+ permIdxRef.current = next;
+ setPermIdx(next);
+ }
+ else if (isEnter) {
+ const selected = options[permIdxRef.current] || options[0];
+ if (selected) resolvePermissionAndMaybeContinue(selected.value);
+ } else if (key.escape) {
+ resolvePermissionAndMaybeContinue(state.permissionPrompt.type === 'mode' ? 'ask-me' : 'no');
+ }
+ return;
+ }
+
+ if (state.permissionPrompt.type === 'continue') {
+ if (ch === 'y' || ch === 'Y') resolvePermissionAndMaybeContinue(true);
+ else if (ch === 'n' || ch === 'N') resolvePermissionAndMaybeContinue(false);
+ return;
+ }
+ if (state.permissionPrompt.type === 'ask') {
+ if (isEnter) resolvePermissionAndMaybeContinue('');
+ return;
+ }
+ return;
+ }
+
+ if (state.mode === 'menu') {
+ if (key.upArrow) setMenuIdx((i) => Math.max(0, i - 1));
+ else if (key.downArrow) setMenuIdx((i) => Math.min(5, i + 1));
+ else if (key.return) {
+ const modes: AppMode[] = ['menu', 'coding', 'chat', 'spotify', 'chat', 'chat'];
+ onInput('/' + modes[menuIdx]);
+ setMenuIdx(0);
+ }
+ else if (key.escape) onInput('/chat');
+ return;
+ }
+
+ if (state.mode === 'spotify') {
+ if (ch === 'n' || ch === 'N') {
+ runSpotifyAction('next');
+ return;
+ }
+ if (ch === 'p' || ch === 'P') {
+ runSpotifyAction('prev');
+ return;
+ }
+ if (ch === ' ') {
+ runSpotifyAction('play');
+ return;
+ }
+ if (ch === '+' || ch === '=') {
+ runSpotifyAction('volume_up');
+ return;
+ }
+ if (ch === '-') {
+ runSpotifyAction('volume_down');
+ return;
+ }
+ if (ch === 'z' || ch === 'Z') {
+ runSpotifyAction('now');
+ return;
+ }
+
+ if (key.upArrow) setSpotifyIdx((i) => Math.max(0, i - 1));
+ else if (key.downArrow) setSpotifyIdx((i) => Math.min(PLAYER_CONTROLS.length - 1, i + 1));
+ else if (key.return) {
+ const action = PLAYER_CONTROLS[spotifyIdx];
+ if (action && action.value !== 'exit') runSpotifyAction(action.value);
+ if (action?.value === 'exit') onInput('/chat');
+ } else if (key.escape) onInput('/chat');
+ return;
+ }
+
+ if (isEnter) {
+ const trimmed = input.trim();
+ if (trimmed) {
+ onInput(trimmed);
+ setInputHistory((prev) => {
+ if (prev[prev.length - 1] === trimmed) return prev;
+ return [...prev.slice(-99), trimmed];
+ });
+ setHistoryIndex(-1);
+ setHistoryDraft('');
+ setInput('');
+ return;
+ }
+ }
+
+ if (state.mode === 'workspace') {
+ if (key.escape || (key.ctrl && (ch === 'q' || ch === 'Q'))) {
+ onInput('/ws exit');
+ return;
+ }
+
+ if (key.ctrl && (ch === 'p' || ch === 'P')) {
+ onInput('/code plan');
+ return;
+ }
+ if (key.ctrl && (ch === 'x' || ch === 'X')) {
+ onInput('/code execute');
+ return;
+ }
+
+ if (key.ctrl && (ch === 'e' || ch === 'E')) {
+ setWorkspacePane('files');
+ return;
+ }
+ if (key.ctrl && (ch === 'g' || ch === 'G')) {
+ setWorkspacePane('git');
+ return;
+ }
+
+ const navMode = input.trim().length === 0;
+
+ if (navMode && key.upArrow) {
+ if (workspacePane === 'files') onInput('/ws up');
+ else if (workspacePane === 'details') setDetailCursor((i) => Math.max(0, i - 1));
+ else setGitCursor((i) => Math.max(0, i - 1));
+ return;
+ }
+ if (navMode && key.downArrow) {
+ if (workspacePane === 'files') onInput('/ws down');
+ else if (workspacePane === 'details') setDetailCursor((i) => Math.min(3, i + 1));
+ else setGitCursor((i) => Math.min((state.workspace?.gitFiles.length || 1) - 1, i + 1));
+ return;
+ }
+ if (navMode && key.leftArrow) {
+ if (workspacePane === 'files') onInput('/ws collapse');
+ return;
+ }
+ if (navMode && key.rightArrow) {
+ if (workspacePane === 'files') onInput('/ws expand');
+ return;
+ }
+ if (navMode && isEnter) {
+ if (workspacePane === 'files') onInput('/ws open-selected');
+ else if (workspacePane === 'git') {
+ const picked = state.workspace?.gitFiles[gitCursor];
+ if (picked) onInput(`/ws stage ${picked.path}`);
+ }
+ return;
+ }
+ }
+
+ if (state.mode === 'splash') return;
+
+ if ((state.mode === 'coding' || state.mode === 'workspace') && !state.permissionPrompt) {
+ if (key.ctrl && (ch === 'p' || ch === 'P')) {
+ onInput('/code plan');
+ return;
+ }
+ if (key.ctrl && (ch === 'x' || ch === 'X')) {
+ onInput('/code execute');
+ return;
+ }
+ }
+
+ if (key.ctrl && (ch === 'v' || ch === 'V') && !state.permissionPrompt) {
+ onInput('/view toggle');
+ return;
+ }
+
+ if (key.ctrl && (ch === 'b' || ch === 'B') && !state.permissionPrompt) {
+ onInput(state.isThinking ? '/bg current' : '/bg list');
+ return;
+ }
+
+ if (key.escape) {
+ if (state.mode === 'coding') {
+ onInput('/chat');
+ }
+ return;
+ }
+
+ if (isEnter) return;
+
+ if (key.tab) {
+ if (input.startsWith('/') && slashSuggestions.length > 0) {
+ const exactIdx = slashSuggestions.findIndex((cmd) => cmd === input);
+ const nextIdx = exactIdx >= 0 ? (exactIdx + 1) % slashSuggestions.length : 0;
+ setInput(slashSuggestions[nextIdx]);
+ }
+ return;
+ }
+
+ if (key.upArrow) {
+ if (inputHistory.length === 0) return;
+ if (historyIndex === -1) {
+ setHistoryDraft(input);
+ const next = inputHistory.length - 1;
+ setHistoryIndex(next);
+ setInput(inputHistory[next] ?? '');
+ return;
+ }
+ const next = Math.max(0, historyIndex - 1);
+ setHistoryIndex(next);
+ setInput(inputHistory[next] ?? '');
+ return;
+ }
+
+ if (key.downArrow) {
+ if (historyIndex === -1) return;
+ const next = historyIndex + 1;
+ if (next >= inputHistory.length) {
+ setHistoryIndex(-1);
+ setInput(historyDraft);
+ return;
+ }
+ setHistoryIndex(next);
+ setInput(inputHistory[next] ?? '');
+ return;
+ }
+
+ if (key.backspace || key.delete) {
+ setInput((prev) => prev.slice(0, -1));
+ return;
+ }
+
+ if (key.ctrl || key.meta) return;
+
+ if (ch && ch.length === 1 && !key.escape) {
+ setInput((prev) => prev + ch);
+ }
+ });
+
+ if (state.mode === 'splash') {
+ return (
+ <Box flexDirection="column" flexGrow={1}>
+ <Box flexDirection="row" flexGrow={1} paddingX={1}>
+ <Box flexDirection="column" width={34} paddingRight={2}>
+ {MERCURY_MARK.map((line, i) => (
+ <Text key={i} color={BRAND.logo}>{line}</Text>
+ ))}
+ <Text bold color={BRAND.title}>MERCURY</Text>
+ <Text color={BRAND.subtitle}>Your soul-driven AI agent</Text>
+ <Text color="gray">{'─'.repeat(30)}</Text>
+ <Text color="green">● Core {splashPhase === 'ready' ? 'ready' : 'booting'}</Text>
+ <Text color={state.provider ? 'green' : 'yellow'}>{state.provider ? '●' : '◐'} Provider {state.provider ? 'ready' : 'loading'}</Text>
+ <Text color={skillsLoaded >= state.skills.length ? 'green' : 'yellow'}>{skillsLoaded >= state.skills.length ? '●' : '◐'} Skills {skillsLoaded}/{state.skills.length}</Text>
+ <Text color="gray">{'─'.repeat(30)}</Text>
+ <Text dimColor>Press Enter to open chat</Text>
+ <Text dimColor>Press D for startup details</Text>
+ </Box>
+ <Box flexDirection="column" flexGrow={1}>
+ <Text bold color="white">Session</Text>
+ <Text color="gray">{'─'.repeat(56)}</Text>
+ <Text>Version: <Text color="cyan">{state.version}</Text></Text>
+ <Text>Provider: <Text color={BRAND.accent}>{state.provider ? `${state.provider.name} · ${state.provider.model}` : 'Detecting...'}</Text></Text>
+ <Text>Mode: <Text color="yellow">Startup</Text></Text>
+ {state.tokenInfo && (
+ <Text>Budget: <Text color="green">{state.tokenInfo.used.toLocaleString()}/{state.tokenInfo.budget.toLocaleString()} ({state.tokenInfo.percentage}%)</Text></Text>
+ )}
+ <Text color="gray">{'─'.repeat(56)}</Text>
+ <Text bold color="white">Capabilities</Text>
+ <Text>Skills loaded: <Text color="cyan">{skillsLoaded}</Text> / {state.skills.length}</Text>
+ {showStartupDetails ? (
+ <Box flexDirection="column" marginTop={1}>
+ {state.skills.slice(0, skillsLoaded).map((skill, i) => (
+ <Text key={i} dimColor>- {skill.name}</Text>
+ ))}
+ </Box>
+ ) : (
+ <Text dimColor>Details hidden (press D)</Text>
+ )}
+ <Text color="gray">{'─'.repeat(56)}</Text>
+ <Text>{splashPhase === 'ready' ? 'Mercury is live.' : 'Initializing Mercury...'}</Text>
+ {splashPhase === 'ready' && <Text color="green">Ready. Enter to open chat.</Text>}
+ {!state.provider && <Text color="yellow">Waiting for provider handshake...</Text>}
+ {state.provider && <Text color="green">Provider connected.</Text>}
+ </Box>
+ </Box>
+ {state.permissionPrompt && (
+ <PermPromptView prompt={state.permissionPrompt} activeIdx={permIdx} />
+ )}
+ </Box>
+ );
+ }
+
+ const showInput = !state.permissionPrompt && (state.mode === 'chat' || state.mode === 'coding' || state.mode === 'workspace');
+
+ return (
+ <Box flexDirection="column" flexGrow={1}>
+ <StatusBarView state={state} />
+ {state.backgroundTasks.length > 0 && <BackgroundBarView tasks={state.backgroundTasks} />}
+ {state.mode === 'spotify' ? <SpotifyBody activeIdx={spotifyIdx} nowPlaying={spotifyNow} status={spotifyStatus} volume={spotifyVolume} albumArtAnsi={spotifyArtAnsi} /> : null}
+ {state.mode === 'menu' ? <MenuBody menuIdx={menuIdx} /> : null}
+ {state.mode === 'coding' ? <CodingBody state={state} /> : null}
+ {state.mode === 'workspace' ? <WorkspaceBody state={state} workspacePane={workspacePane} detailCursor={detailCursor} gitCursor={gitCursor} /> : null}
+ {state.mode === 'chat' ? (
+ <ChatBody state={state} />
+ ) : null}
+ {state.permissionPrompt && (
+ <PermPromptView prompt={state.permissionPrompt} activeIdx={permIdx} />
+ )}
+ {showInput && (
+ <InputBox
+ input={input}
+ mode={state.mode}
+ programmingMode={state.programmingMode}
+ projectContext={state.projectContext}
+ />
+ )}
+ {showInput && slashSuggestions.length > 0 && (
+ <Box flexDirection="column" paddingX={1}>
+ <Text dimColor>Suggestions (Tab to complete):</Text>
+ {slashSuggestions.map((cmd, idx) => (
+ <Text key={cmd} color={idx === 0 ? 'cyan' : 'gray'}>{idx === 0 ? '›' : ' '} {cmd}</Text>
+ ))}
+ </Box>
+ )}
+ </Box>
+ );
+}
+
+function BackgroundBarView({ tasks }: { tasks: BackgroundTaskInfo[] }) {
+ if (tasks.length === 0) return null;
+
+ const statusIcons: Record<string, string> = {
+ running: '⏳',
+ completed: '✅',
+ failed: '❌',
+ timed_out: '⏱',
+ cancelled: '⛔',
+ };
+
+ const visible = tasks.slice(0, 3);
+ const more = tasks.length > 3 ? ` +${tasks.length - 3} more` : '';
+
+ return (
+ <Box paddingX={1} paddingBottom={0}>
+ <Text color="gray">{'─'.repeat(50)}</Text>
+ <Box flexDirection="column" width="100%">
+ <Box>
+ <Text dimColor>⏥ Background:</Text>
+ <Text> {visible.map((t) => {
+ const icon = statusIcons[t.status] || '·';
+ const label = t.command || t.task || t.id;
+ const short = label.length > 25 ? label.slice(0, 22) + '...' : label;
+ const elapsed = t.runningMs ? ` (${Math.round(t.runningMs / 1000)}s)` : '';
+ return `${icon} ${t.id}: ${short}${elapsed}`;
+ }).join(' · ')}{more}</Text>
+ </Box>
+ </Box>
+ </Box>
+ );
+}
+
+function StatusBarView({ state }: { state: TuiState }) {
+ const modeColor = state.programmingMode === 'execute' ? 'green' : state.programmingMode === 'plan' ? 'yellow' : 'gray';
+ const modeLabel = state.programmingMode === 'off' ? '' : ` ${state.programmingMode.toUpperCase()}`;
+ let tokenBar = '';
+ if (state.tokenInfo) {
+ const filled = Math.min(20, Math.round(state.tokenInfo.percentage / 5));
+ tokenBar = `[${'█'.repeat(filled)}${'░'.repeat(20 - filled)}] ${state.tokenInfo.percentage}%`;
+ }
+ const providerBadge = state.provider ? `⚡ ${state.provider.name} · ${state.provider.model}` : '⚡ No provider';
+ const viewLabel = state.viewMode === 'balanced' ? 'minimal' : 'detailed';
+
+ return (
+ <Box flexDirection="column">
+ <Box paddingX={1}>
+ <Text color={BRAND.logo}>☿</Text>
+ <Text> </Text>
+ <Text bold color={BRAND.title}>MERCURY</Text>
+ <Text color={BRAND.subtitle}> · Your soul-driven AI agent</Text>
+ </Box>
+ <Box paddingX={1} paddingBottom={0}>
+ <Box flexGrow={1}>
+ <Text bold color="cyan">{state.agentName}</Text>
+ {state.programmingMode !== 'off' && <Text> <Text color={modeColor} bold>{modeLabel}</Text></Text>}
+ {state.projectContext && <Text> <Text color="gray">|</Text> <Text color="blue">{state.projectContext}</Text></Text>}
+ <Text> <Text color="gray">|</Text> <Text color="yellow">View: {viewLabel}</Text></Text>
+ <Text> <Text color="gray">|</Text> <Text color="green">{state.permissionMode === 'allow-all' ? '🔓' : '🔒'}</Text></Text>
+ </Box>
+ <Text color="magenta">{providerBadge}</Text>
+ </Box>
+ <Box paddingX={1}>
+ <Text color="gray">{'─'.repeat(50)}</Text>
+ </Box>
+ {state.tokenInfo && (
+ <Box paddingX={1}>
+ <Text color="cyan">Tokens </Text>
+ <Text>{tokenBar}</Text>
+ <Text color="gray"> {state.tokenInfo.used.toLocaleString()}/{state.tokenInfo.budget.toLocaleString()}</Text>
+ </Box>
+ )}
+ </Box>
+ );
+}
+
+function ChatBody({ state }: { state: TuiState }) {
+ return (
+ <Box flexDirection="row" flexGrow={1}>
+ {state.sidebarSections.length > 0 && <SidebarView sections={state.sidebarSections} />}
+ <Box flexDirection="column" flexGrow={1}>
+ <ChatMessagesView messages={state.chatMessages} agentName={state.agentName} />
+ {state.toolSteps.length > 0 && <ToolStepsView steps={state.toolSteps} viewMode={state.viewMode} />}
+ {state.isThinking && <ThinkingIndicator agentName={state.agentName} steps={state.toolSteps} mode={state.mode} />}
+ {state.subAgents.length > 0 && <AgentPanelView agents={state.subAgents} />}
+ </Box>
+ </Box>
+ );
+}
+
+function CodingBody({ state }: { state: TuiState }) {
+ const modeLabels: Record<ProgrammingModeState, { label: string; color: string }> = {
+ off: { label: 'OFF', color: 'gray' },
+ plan: { label: 'PLAN', color: 'yellow' },
+ execute: { label: 'EXECUTE', color: 'green' },
+ };
+ const modeInfo = modeLabels[state.programmingMode];
+ const fileSection = state.sidebarSections.find((s) => s.title === 'Files');
+
+ return (
+ <Box flexDirection="row" flexGrow={1}>
+ <Box flexDirection="column" width={26} paddingX={1}>
+ <Text color="gray">{'─'.repeat(24)}</Text>
+ <Text bold color="cyan">Workspace</Text>
+ <Box marginTop={1}>
+ <Text color={modeInfo.color} bold>{modeInfo.label}</Text>
+ <Text> mode</Text>
+ </Box>
+ {state.projectContext && <Box><Text dimColor>Project: {state.projectContext}</Text></Box>}
+ {fileSection && (
+ <Box flexDirection="column" marginTop={1}>
+ <Text bold color="cyan">{fileSection.title}</Text>
+ {fileSection.items.slice(0, 10).map((item, i) => (
+ <Box key={i}><Text>{item.icon} </Text><Text color={item.active ? 'white' : 'gray'}>{item.label}</Text></Box>
+ ))}
+ </Box>
+ )}
+ {state.subAgents.length > 0 && <AgentPanelView agents={state.subAgents} />}
+ </Box>
+ <Box flexDirection="column" flexGrow={1}>
+ <ChatMessagesView messages={state.chatMessages} agentName={state.agentName} />
+ {state.toolSteps.length > 0 && <ToolStepsView steps={state.toolSteps} viewMode={state.viewMode} />}
+ {state.isThinking && <ThinkingIndicator agentName={state.agentName} steps={state.toolSteps} mode={state.mode} />}
+ <Box paddingX={1} marginTop={1}>
+ <Text dimColor>Mode shortcuts: Ctrl+P Plan · Ctrl+X Execute</Text>
+ </Box>
+ </Box>
+ </Box>
+ );
+}
+
+function WorkspaceBody({ state, workspacePane, detailCursor, gitCursor }: { state: TuiState; workspacePane: 'files' | 'details' | 'git'; detailCursor: number; gitCursor: number }) {
+ const ws = state.workspace;
+ if (!ws?.active) {
+ return (
+ <Box flexDirection="column" flexGrow={1} paddingX={1}>
+ <Text color="yellow">Workspace mode is not active.</Text>
+ <Text dimColor>Use /ws open &lt;path&gt; or type: open workspace /path/to/project</Text>
+ </Box>
+ );
+ }
+
+ const selectedNode = ws.nodes[ws.selectedIndex];
+ const selectedRel = selectedNode ? selectedNode.path.replace(ws.rootPath + '/', '') : '';
+ const explorerWindow = 12;
+ const explorerStart = Math.max(0, Math.min(ws.selectedIndex - Math.floor(explorerWindow / 2), Math.max(0, ws.nodes.length - explorerWindow)));
+ const visibleExplorerNodes = ws.nodes.slice(explorerStart, explorerStart + explorerWindow);
+ const gitWindow = 12;
+ const gitStart = Math.max(0, Math.min(gitCursor - Math.floor(gitWindow / 2), Math.max(0, ws.gitFiles.length - gitWindow)));
+ const visibleGitFiles = ws.gitFiles.slice(gitStart, gitStart + gitWindow);
+
+ return (
+ <Box flexDirection="column" flexGrow={1}>
+ <Box paddingX={1}>
+ <Text color="gray">Workspace: </Text><Text color="cyan">{ws.rootPath}</Text>
+ <Text color="gray"> | Branch: </Text><Text color="magenta">{ws.branch}</Text>
+ <Text color="gray"> | Pane: </Text><Text color="white">{workspacePane.toUpperCase()}</Text>
+ <Text color="gray"> | </Text><Text color="green" bold>CODING IDE</Text>
+ </Box>
+ <Box paddingX={1}><Text color="gray">{'═'.repeat(118)}</Text></Box>
+ <Box flexDirection="row" height={16}>
+ <Box flexDirection="column" width={36} paddingX={1}>
+ <Text bold color={workspacePane === 'files' ? 'white' : 'cyan'}>EXPLORER {workspacePane === 'files' ? '●' : '○'}</Text>
+ <Text color="gray">{'─'.repeat(34)}</Text>
+ {visibleExplorerNodes.map((node, localIdx) => {
+ const idx = explorerStart + localIdx;
+ const isSelected = idx === ws.selectedIndex;
+ const prefix = node.isDir ? (node.expanded ? '▾' : '▸') : ' ';
+ const indent = ' '.repeat(Math.max(0, node.depth * 2));
+ return (
+ <Text key={node.id} color={isSelected ? 'white' : 'gray'}>
+ {isSelected ? '›' : ' '} {indent}{prefix} {node.name}
+ </Text>
+ );
+ })}
+ <Text dimColor>{ws.nodes.length > explorerWindow ? `Showing ${explorerStart + 1}-${Math.min(ws.nodes.length, explorerStart + explorerWindow)} of ${ws.nodes.length}` : `${ws.nodes.length} items`}</Text>
+ </Box>
+ <Box><Text color="gray">│</Text></Box>
+ <Box flexDirection="column" width={52} paddingX={1}>
+ {workspacePane === 'files' ? (
+ <>
+ <Text bold color="cyan">PREVIEW</Text>
+ <Text color="gray">{'─'.repeat(50)}</Text>
+ <Text>{selectedRel || ws.rootPath}</Text>
+ {ws.openedFilePath ? (
+ ws.openedFilePreview.slice(0, 10).map((line, i) => (
+ <Text key={`${i}:${line.slice(0, 10)}`} dimColor>{String(i + 1).padStart(3, ' ')} {line}</Text>
+ ))
+ ) : (
+ <Text dimColor>Select a file and press Enter</Text>
+ )}
+ </>
+ ) : workspacePane === 'git' ? (
+ <>
+ <Text bold color="cyan">GIT INSPECTOR</Text>
+ <Text color="gray">{'─'.repeat(50)}</Text>
+ <Text>Staged: <Text color="green">{ws.stagedCount}</Text> · Unstaged: <Text color="yellow">{ws.unstagedCount}</Text></Text>
+ {visibleGitFiles.length === 0 ? <Text dimColor>Clean working tree</Text> : visibleGitFiles.map((f, localIdx) => {
+ const idx = gitStart + localIdx;
+ return <Text key={f.path} color={idx === gitCursor ? 'white' : (f.staged ? 'green' : 'yellow')}>{idx === gitCursor ? '›' : ' '} {f.staged ? '●' : '○'} {f.status} {f.path}</Text>;
+ })}
+ <Text dimColor>{ws.gitFiles.length > gitWindow ? `Showing ${gitStart + 1}-${Math.min(ws.gitFiles.length, gitStart + gitWindow)} of ${ws.gitFiles.length}` : `${ws.gitFiles.length} files`}</Text>
+ </>
+ ) : (
+ <>
+ <Text bold color="cyan">DETAILS</Text>
+ <Text color="gray">{'─'.repeat(50)}</Text>
+ <Text>Selected: <Text color="yellow">{selectedRel || ws.rootPath}</Text></Text>
+ <Text>Mode: <Text color={state.programmingMode === 'execute' ? 'green' : 'yellow'}>{state.programmingMode.toUpperCase()}</Text></Text>
+ {state.subAgents.length > 0 && <AgentPanelView agents={state.subAgents} />}
+ </>
+ )}
+ </Box>
+ <Box><Text color="gray">│</Text></Box>
+ <Box flexDirection="column" flexGrow={1} paddingX={1}>
+ <Text bold color={workspacePane === 'git' ? 'white' : 'cyan'}>SOURCE CONTROL {workspacePane === 'git' ? '●' : '○'}</Text>
+ <Text color="gray">{'─'.repeat(26)}</Text>
+ <Text>Branch: <Text color="magenta">{ws.branch}</Text></Text>
+ <Text>Staged: <Text color="green">{ws.stagedCount}</Text></Text>
+ <Text>Unstaged: <Text color="yellow">{ws.unstagedCount}</Text></Text>
+ <Text color="gray">{'─'.repeat(26)}</Text>
+ {visibleGitFiles.length === 0 ? <Text dimColor>Clean working tree</Text> : visibleGitFiles.map((f, localIdx) => {
+ const idx = gitStart + localIdx;
+ return <Text key={`side-${f.path}`} color={idx === gitCursor ? 'white' : (f.staged ? 'green' : 'yellow')}>{idx === gitCursor ? '›' : ' '} {f.status} {f.path}</Text>;
+ })}
+ <Text dimColor>Enter stages selected file</Text>
+ <Text dimColor>/ws stage all · /ws commit &lt;msg&gt;</Text>
+ </Box>
+ </Box>
+ <Box paddingX={1}><Text color="gray">{'═'.repeat(118)}</Text></Box>
+ <Box flexDirection="column" flexGrow={1} paddingX={1}>
+ <Text bold color="cyan">Chat · Workspace Coding Session</Text>
+ <Text dimColor>Ask implementation questions, refactors, tests, and git actions for this project context.</Text>
+ <ChatMessagesView messages={state.chatMessages} agentName={state.agentName} />
+ {state.toolSteps.length > 0 && <ToolStepsView steps={state.toolSteps} viewMode={state.viewMode} />}
+ {state.isThinking && <ThinkingIndicator agentName={state.agentName} steps={state.toolSteps} mode={state.mode} />}
+ </Box>
+ <Box paddingX={1}>
+ <Text dimColor>Esc/Ctrl+Q Exit Workspace · Ctrl+P Plan · Ctrl+X Execute · Ctrl+E Explorer · Ctrl+G Git</Text>
+ </Box>
+ </Box>
+ );
+}
+
+function MenuBody({ menuIdx }: { menuIdx: number }) {
+ const menuOptions: Array<{ label: string; mode: AppMode; icon: string }> = [
+ { label: 'Status', mode: 'menu', icon: '📊' },
+ { label: 'Coding Mode', mode: 'coding', icon: '💻' },
+ { label: 'Memory', mode: 'chat', icon: '🧠' },
+ { label: 'Spotify Player', mode: 'spotify', icon: '🎵' },
+ { label: 'Permissions', mode: 'chat', icon: '🔒' },
+ { label: 'Back to Chat', mode: 'chat', icon: '💬' },
+ ];
+
+ return (
+ <Box flexDirection="column" flexGrow={1} paddingX={1}>
+ <Text bold color="cyan">Menu</Text>
+ {menuOptions.map((opt, i) => (
+ <Box key={i}>
+ <Text>{i === menuIdx ? '●' : '·'} </Text>
+ <Text color={i === menuIdx ? 'cyan' : 'gray'}>{opt.icon} {opt.label}</Text>
+ </Box>
+ ))}
+ <Box marginTop={1}><Text dimColor>↑↓ navigate · Enter select · Esc back</Text></Box>
+ </Box>
+ );
+}
+
+function SpotifyBody({ activeIdx, nowPlaying, status, volume, albumArtAnsi }: { activeIdx: number; nowPlaying: string; status: string; volume: number | null; albumArtAnsi: string }) {
+ const volumeBar = volume == null
+ ? '[unknown]'
+ : `[${'█'.repeat(Math.max(0, Math.min(10, Math.round(volume / 10))))}${'░'.repeat(Math.max(0, 10 - Math.round(volume / 10)))}] ${volume}%`;
+ return (
+ <Box flexDirection="column" flexGrow={1} paddingX={1}>
+ <Box paddingX={1} marginBottom={1} flexDirection="column">
+ <Text color="green">╭────────────────── Spotify Deck ──────────────────╮</Text>
+ <Text color="green">│</Text><Text> </Text><Text bold color="green">Now Playing</Text>
+ {(nowPlaying || 'Nothing playing').split('\n').map((line, idx) => (
+ <Box key={`np-${idx}`}>
+ <Text color="green">│</Text><Text> </Text><Text>{line}</Text>
+ </Box>
+ ))}
+ <Box>
+ <Text color="green">│</Text><Text> </Text><Text color="yellow">Volume:</Text><Text> </Text><Text>{volumeBar}</Text>
+ </Box>
+ {albumArtAnsi ? (
+ <Box>
+ <Text color="green">│</Text><Text> </Text><Text>{albumArtAnsi}</Text>
+ </Box>
+ ) : null}
+ {status ? (
+ <Box>
+ <Text color="green">│</Text><Text> </Text><Text color="cyan">Last action:</Text><Text> </Text><Text>{status}</Text>
+ </Box>
+ ) : null}
+ <Text color="green">╰───────────────────────────────────────────────────╯</Text>
+ </Box>
+ <Box flexDirection="column">
+ <Text bold color="cyan">Controls</Text>
+ {PLAYER_CONTROLS.map((control, i) => (
+ <Box key={control.value}>
+ <Text>{i === activeIdx ? '●' : '·'} </Text>
+ <Text color={i === activeIdx ? 'green' : 'gray'}>{control.label}</Text>
+ </Box>
+ ))}
+ </Box>
+ <Box marginTop={1}>
+ <Text dimColor>↑↓ navigate · Enter select · N next · P previous · +/- volume · Z now playing · Esc exit</Text>
+ </Box>
+ </Box>
+ );
+}
+
+function ChatMessagesView({ messages, agentName }: { messages: ChatMessage[]; agentName: string }) {
+ if (messages.length === 0) return null;
+ const visible = messages.slice(-50);
+ const cache = React.useRef<Map<string, string>>(new Map());
+ return (
+ <Box flexDirection="column" flexGrow={1} paddingX={1}>
+ {visible.map((msg) => {
+ const roleColor = msg.role === 'user' ? 'yellow' : msg.role === 'system' ? 'gray' : 'cyan';
+ const prefix = msg.role === 'user' ? 'You' : msg.role === 'system' ? 'System' : agentName;
+ let rendered: string;
+ if (msg.streaming) {
+ rendered = renderMarkdown(msg.content);
+ cache.current.set(msg.id, rendered);
+ } else {
+ rendered = cache.current.get(msg.id) ?? renderMarkdown(msg.content);
+ cache.current.set(msg.id, rendered);
+ }
+ return (
+ <Box key={msg.id} flexDirection="column" marginBottom={1}>
+ <Box>
+ <Text bold color={roleColor}>{prefix}:</Text>
+ </Box>
+ <Box marginLeft={2} flexDirection="column">
+ {rendered.split('\n').map((line, idx) => (
+ <Text key={`${msg.id}:${idx}`}>{line.length > 0 ? line : ' '}</Text>
+ ))}
+ </Box>
+ </Box>
+ );
+ })}
+ </Box>
+ );
+}
+
+function ToolStepsView({ steps, viewMode }: { steps: ToolStep[]; viewMode: 'balanced' | 'detailed' }) {
+ const visible = viewMode === 'detailed' ? steps.slice(-20) : steps.slice(-1);
+ const runningCount = visible.filter((s) => s.status === 'running').length;
+ const doneCount = visible.filter((s) => s.status === 'done').length;
+ return (
+ <Box flexDirection="column" marginLeft={2} marginTop={1}>
+ <Text color="gray">Activity · {viewMode === 'balanced' ? 'minimal' : 'detailed'} · {runningCount > 0 ? `${runningCount} running` : `${doneCount} completed`}</Text>
+ {visible.map((step) => (
+ <Box key={step.id}>
+ <Text>
+ {step.status === 'running' ? '⏳' : step.status === 'done' ? '✅' : '❌'}
+ </Text>
+ <Text> </Text>
+ <Text dimColor>{step.label}</Text>
+ {step.status === 'running' && <Text color="yellow"> …</Text>}
+ {step.status === 'done' && step.elapsed != null && <Text dimColor> ({step.elapsed.toFixed(1)}s)</Text>}
+ {viewMode === 'detailed' && step.result && <Text dimColor> · {step.result}</Text>}
+ </Box>
+ ))}
+ <Text dimColor>Ctrl+V toggles Minimal/Detailed (or use /view)</Text>
+ </Box>
+ );
+}
+
+function ThinkingIndicator({ agentName, steps, mode }: { agentName: string; steps: ToolStep[]; mode: AppMode }) {
+ const frames = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
+ const codingPhases = ['indexing symbols', 'building plan', 'running checks', 'linking context'];
+ const chatPhases = ['reading your message', 'gathering context', 'drafting response', 'polishing answer'];
+ const phases = (mode === 'coding' || mode === 'workspace') ? codingPhases : chatPhases;
+ const [frame, setFrame] = React.useState(0);
+
+ React.useEffect(() => {
+ const timer = setInterval(() => {
+ setFrame((v) => (v + 1) % (frames.length * phases.length));
+ }, 90);
+ return () => clearInterval(timer);
+ }, []);
+
+ const spinner = frames[frame % frames.length];
+ const phase = phases[Math.floor(frame / frames.length) % phases.length];
+ const pulse = '.'.repeat((frame % 3) + 1);
+ const runningStep = [...steps].reverse().find((s) => s.status === 'running');
+ const livePhase = runningStep ? `running: ${runningStep.label}` : phase;
+
+ return (
+ <Box marginTop={1} marginLeft={2} flexDirection="column">
+ <Box>
+ <Text color="cyan">{spinner}</Text>
+ <Text> </Text>
+ <Text color="cyan" bold>{agentName}</Text>
+ <Text dimColor> is thinking{pulse}</Text>
+ </Box>
+ <Box marginLeft={2}>
+ <Text color="gray">↳ {livePhase}</Text>
+ </Box>
+ </Box>
+ );
+}
+
+function AgentPanelView({ agents }: { agents: SubAgentInfo[] }) {
+ if (agents.length === 0) return null;
+ return (
+ <Box flexDirection="column" marginTop={1} paddingX={1}>
+ <Text color="gray">{'─'.repeat(30)}</Text>
+ <Text bold color="cyan">Agents</Text>
+ {agents.map((agent) => {
+ const cfg = STATUS_ICONS[agent.status] || STATUS_ICONS.pending;
+ const elapsed = ((Date.now() - agent.startedAt) / 1000).toFixed(0);
+ const taskPreview = agent.task.length > 40 ? agent.task.slice(0, 37) + '...' : agent.task;
+ return (
+ <Box key={agent.id} flexDirection="column">
+ <Box><Text>{cfg.icon} </Text><Text bold color={cfg.color}>{agent.id}</Text><Text dimColor> {taskPreview}</Text></Box>
+ <Box marginLeft={3}><Text dimColor>{agent.status} · {elapsed}s</Text></Box>
+ </Box>
+ );
+ })}
+ </Box>
+ );
+}
+
+function SidebarView({ sections }: { sections: SidebarSection[] }) {
+ if (sections.length === 0) return null;
+ return (
+ <Box flexDirection="column" width={24} paddingX={1}>
+ <Text color="gray">{'─'.repeat(22)}</Text>
+ {sections.map((section, si) => (
+ <Box key={si} flexDirection="column" marginBottom={si < sections.length - 1 ? 1 : 0}>
+ <Text bold color="cyan">{section.title}</Text>
+ {section.items.map((item, ii) => (
+ <Box key={ii}><Text>{item.icon} </Text><Text color={item.active ? 'white' : 'gray'}>{item.label}</Text></Box>
+ ))}
+ </Box>
+ ))}
+ </Box>
+ );
+}
+
+function PermPromptView({ prompt, activeIdx }: { prompt: PermissionPromptState; activeIdx: number }) {
+ const options = prompt.options || [];
+
+ if (options.length > 0) {
+ const hasAlways = options.some((opt) => opt.value === 'always');
+ return (
+ <Box flexDirection="column" marginTop={1} paddingX={1}>
+ <Box><Text bold color="yellow">⚠ {prompt.message}</Text></Box>
+ {options.map((opt, i) => (
+ <Box key={opt.value}>
+ <Text>{i === activeIdx ? '●' : '·'} </Text>
+ <Text color={i === activeIdx ? 'cyan' : 'gray'}>{opt.label}</Text>
+ </Box>
+ ))}
+ <Text dimColor>{hasAlways ? ' ↑↓ choose · Enter confirm · Y/N/A shortcuts · Esc cancel' : ' ↑↓ choose · Enter confirm · Y/N shortcuts · Esc cancel'}</Text>
+ </Box>
+ );
+ }
+
+ if (prompt.type === 'continue') {
+ return (
+ <Box flexDirection="column" marginTop={1} paddingX={1}>
+ <Box><Text color="yellow">⚠ </Text><Text>{prompt.message}</Text></Box>
+ <Text dimColor> [y/N]</Text>
+ </Box>
+ );
+ }
+
+ if (prompt.type === 'ask') {
+ return (
+ <Box flexDirection="column" marginTop={1} paddingX={1}>
+ <Box><Text color="yellow">⚠ </Text><Text>{prompt.message}</Text></Box>
+ <Text dimColor> Type your answer and press Enter</Text>
+ </Box>
+ );
+ }
+
+ return (
+ <Box flexDirection="column" marginTop={1} paddingX={1}>
+ <Box><Text bold color="yellow">⚠ {prompt.message}</Text></Box>
+ {options.map((opt, i) => (
+ <Box key={opt.value}>
+ <Text>{i === activeIdx ? '●' : '·'} </Text>
+ <Text color={i === activeIdx ? 'cyan' : 'gray'}>{opt.label}</Text>
+ </Box>
+ ))}
+ <Text dimColor> ↑↓ to navigate, Enter to select</Text>
+ </Box>
+ );
+}
+
+function InputBox({
+ input,
+ mode,
+ programmingMode,
+ projectContext,
+}: {
+ input: string;
+ mode: AppMode;
+ programmingMode: ProgrammingModeState;
+ projectContext: string | null;
+}) {
+ const inWorkspace = mode === 'workspace';
+ const inCoding = mode === 'coding' || inWorkspace;
+ const promptColor = inWorkspace ? 'cyan' : inCoding ? 'green' : 'yellow';
+ const label = inWorkspace ? '[IDE CHAT]' : inCoding ? '[CODING]' : '[CHAT]';
+ const contextLabel = projectContext && projectContext.length > 52
+ ? `...${projectContext.slice(-49)}`
+ : (projectContext || 'No project context');
+
+ return (
+ <Box flexDirection="column">
+ <Text color="dim">{'─'.repeat(60)}</Text>
+ <Box paddingX={1}>
+ <Text color={promptColor} bold>{label}</Text>
+ <Text dimColor> {contextLabel} </Text>
+ <Text color={programmingMode === 'execute' ? 'green' : programmingMode === 'plan' ? 'yellow' : 'gray'}>
+ mode={programmingMode.toUpperCase()}
+ </Text>
+ </Box>
+ <Box paddingX={1}>
+ <Text color={promptColor} bold>{'>'} </Text>
+ <Text>{input}</Text>
+ <Text dimColor>█</Text>
+ </Box>
+ <Box paddingX={1}>
+ <Text dimColor>{inWorkspace ? 'IDE chat active. Esc exits workspace. Ctrl+P Plan · Ctrl+X Execute.' : inCoding ? 'Coding chat active. Ctrl+P Plan · Ctrl+X Execute.' : 'Type a prompt, then Enter.'}</Text>
+ </Box>
+ </Box>
+ );
+}
diff --git a/src/ui/index.ts b/src/ui/index.ts
new file mode 100644
index 00000000..37e4e322
--- /dev/null
+++ b/src/ui/index.ts
@@ -0,0 +1,2 @@
+export { TuiApp } from './App.js';
+export type { MercuryAppState, AppMode, ChatMessage, ToolStep, SubAgentInfo, SkillInfo, PermissionPromptState, SidebarSection, SidebarItem, ProviderInfo, TokenInfo } from './types.js';
\ No newline at end of file
diff --git a/src/ui/types.ts b/src/ui/types.ts
new file mode 100644
index 00000000..6d178fb4
--- /dev/null
+++ b/src/ui/types.ts
@@ -0,0 +1,132 @@
+import type { ProgrammingModeState } from '../core/programming-mode.js';
+import type { SubAgentStatus } from '../types/agent.js';
+import type { PermissionMode } from '../channels/base.js';
+
+export type AppMode = 'splash' | 'chat' | 'coding' | 'workspace' | 'spotify' | 'menu';
+
+export interface WorkspaceTreeNode {
+ id: string;
+ name: string;
+ path: string;
+ depth: number;
+ isDir: boolean;
+ expanded?: boolean;
+}
+
+export interface WorkspaceGitFile {
+ path: string;
+ staged: boolean;
+ status: string;
+}
+
+export interface WorkspaceState {
+ active: boolean;
+ rootPath: string;
+ nodes: WorkspaceTreeNode[];
+ selectedIndex: number;
+ selectedPath: string | null;
+ openedFilePath: string | null;
+ openedFilePreview: string[];
+ gitFiles: WorkspaceGitFile[];
+ stagedCount: number;
+ unstagedCount: number;
+ branch: string;
+ lastAction: string;
+}
+
+export interface ChatMessage {
+ id: string;
+ role: 'user' | 'agent' | 'system';
+ content: string;
+ timestamp: number;
+ streaming?: boolean;
+}
+
+export interface ToolStep {
+ id: string;
+ toolName: string;
+ label: string;
+ status: 'running' | 'done' | 'error';
+ elapsed?: number;
+ result?: string;
+}
+
+export interface SubAgentInfo {
+ id: string;
+ task: string;
+ status: SubAgentStatus;
+ progress?: string;
+ startedAt: number;
+}
+
+export interface SidebarSection {
+ title: string;
+ items: SidebarItem[];
+}
+
+export interface SidebarItem {
+ icon: string;
+ label: string;
+ detail?: string;
+ active?: boolean;
+}
+
+export interface SkillInfo {
+ name: string;
+ description: string;
+ loaded: boolean;
+}
+
+export interface ProviderInfo {
+ name: string;
+ model: string;
+ badge?: string;
+}
+
+export interface TokenInfo {
+ used: number;
+ budget: number;
+ percentage: number;
+}
+
+export interface MercuryAppState {
+ mode: AppMode;
+ programmingMode: ProgrammingModeState;
+ projectContext: string | null;
+ permissionMode: PermissionMode;
+ chatMessages: ChatMessage[];
+ toolSteps: ToolStep[];
+ subAgents: SubAgentInfo[];
+ skills: SkillInfo[];
+ provider: ProviderInfo | null;
+ tokenInfo: TokenInfo | null;
+ sidebarSections: SidebarSection[];
+ agentName: string;
+ version: string;
+ isThinking: boolean;
+ permissionPrompt: PermissionPromptState | null;
+ workspace: WorkspaceState | null;
+}
+
+export type BgTaskType = 'shell' | 'agent';
+export type BgTaskStatus = 'running' | 'completed' | 'failed' | 'timed_out' | 'cancelled';
+
+export interface BackgroundTaskInfo {
+ id: string;
+ type: BgTaskType;
+ command?: string;
+ task?: string;
+ status: BgTaskStatus;
+ startedAt: number;
+ completedAt?: number;
+ exitCode: number | null;
+ outputPreview: string;
+ runningMs?: number;
+}
+
+export interface PermissionPromptState {
+ type: 'mode' | 'ask' | 'continue';
+ message: string;
+ options?: Array<{ value: string; label: string }>;
+ resolve: (value: string | boolean) => void;
+}
diff --git a/src/utils/manual.ts b/src/utils/manual.ts
index d1e8aa3b..edf547a4 100644
--- a/src/utils/manual.ts
+++ b/src/utils/manual.ts
@@ -75,6 +75,7 @@ export function getManual(): string {
['mercury stop', 'Stop a background process'],
['mercury logs', 'Show recent daemon logs'],
['mercury doctor', 'Reconfigure settings (Enter keeps current)'],
+ ['mercury doctor --platform', 'Show cross-platform terminal/daemon compatibility diagnostics'],
['mercury setup', 'Re-run the setup wizard'],
['mercury status', 'Show config and daemon status'],
['mercury telegram list', 'Show Telegram admins, members, and pending requests'],
@@ -119,6 +120,9 @@ export function getManual(): string {
['/tools', 'List currently loaded tools'],
['/skills', 'List installed skills'],
['/permissions', 'Change permission mode (Ask Me / Allow All)'],
+ ['/view', 'Toggle progress view (balanced/detailed)'],
+ ['/view balanced', 'Set compact progress view'],
+ ['/view detailed', 'Set full progress view'],
['/tasks', 'List scheduled tasks'],
['/memory', 'View and manage second brain memory'],
['/stream', 'Toggle text streaming on/off (Telegram)'],
@@ -133,8 +137,17 @@ export function getManual(): string {
['/code', 'Show programming mode status'],
['/code plan', 'Switch to plan mode (analyze, present options, no coding)'],
['/code execute', 'Switch to execute mode (implement plan step by step)'],
+ ['/code build', 'Alias of execute mode for build-focused coding'],
+ ['/code workspace', 'Open current directory in workspace IDE mode'],
+ ['/code agent <task>', 'Delegate a coding task to a sub-agent in background'],
['/code off', 'Exit programming mode'],
['/code toggle', 'Cycle through: off → plan → execute → off'],
+ ['/ws exit', 'Exit workspace IDE mode back to general chat'],
+ ['/ws open <path>', 'Open a workspace directory in IDE mode'],
+ ['/ws refresh', 'Refresh file tree + git status panel'],
+ ['/ws stage <file|all>', 'Stage a file or all changes'],
+ ['/ws commit <message>', 'Commit staged changes (Mercury co-authored)'],
+ ['/ws undo <file>', 'Revert file changes with git checkout -- <file>'],
['/halt', 'Emergency: stop all agents + clear queue'],
['/stop', 'Stop all agents + clear queue + release locks + clear task board'],
['/reset', 'Full reset: stop all + clear context (requires confirmation)'],
@@ -159,9 +172,10 @@ export function getManual(): string {
const perms = [
'Commands are blocked (never run), auto-approved, or need approval.',
- 'Say "always" when prompted to permanently approve a command type.',
+ 'Use interactive approval prompts: ↑/↓ + Enter (or Y/N/A shortcuts).',
+ 'Choose "Always" when prompted to permanently approve a command type.',
'Edit ~/.mercury/permissions.yaml to customize manually.',
- 'File access is scoped — new paths need approval (y/n/always).',
+ 'File access is scoped — new paths need approval (Yes/No/Always).',
'At session start, choose "Ask Me" (confirm each action) or "Allow All" (auto-approve everything).',
'Scheduled tasks always run in Allow All mode.',
];
diff --git a/tsup.config.ts b/tsup.config.ts
index 4bc56419..39ef43dc 100644
--- a/tsup.config.ts
+++ b/tsup.config.ts
@@ -6,14 +6,31 @@ export default defineConfig({
target: "node20",
outDir: "dist",
clean: true,
+ bundle: true,
splitting: false,
sourcemap: true,
minify: false,
banner: { js: "#!/usr/bin/env node" },
external: [
- "react",
- "ink",
+ "ai",
+ "@ai-sdk/anthropic",
+ "@ai-sdk/deepseek",
+ "@ai-sdk/openai",
+ "@grammyjs/auto-retry",
+ "chalk",
+ "commander",
+ "dotenv",
"grammy",
+ "ink",
+ "js-tiktoken",
+ "marked",
+ "node-cron",
+ "ollama-ai-provider",
+ "pino",
+ "react",
+ "react-dom",
+ "yaml",
+ "zod",
"better-sqlite3",
],
-});
\ No newline at end of file
+});
diff --git a/website/docs/cli-commands/commands.mdx b/website/docs/cli-commands/commands.mdx
index 3c16d893..a7d33f3e 100644
--- a/website/docs/cli-commands/commands.mdx
+++ b/website/docs/cli-commands/commands.mdx
@@ -14,9 +14,10 @@ title: Full Command Reference
| `mercury logs` | Show last 100 lines of daemon logs |
| `mercury status` | Show config, providers, daemon PID, and budget |
| `mercury doctor` | Reconfigure settings — press Enter to keep current values |
+| `mercury doctor --platform` | Show cross-platform terminal/daemon compatibility diagnostics |
| `mercury setup` | Re-run the setup wizard (same as doctor) |
| `mercury help` | Show the full manual (tools, commands, config paths) |
| `mercury service install` | Install as system service (auto-start on boot) |
| `mercury service uninstall` | Uninstall the system service |
| `mercury service status` | Show system service status |
-| `mercury --verbose` | Start with debug logging on stderr |
\ No newline at end of file
+| `mercury --verbose` | Start with debug logging on stderr |
diff --git a/website/docs/cli-commands/doctor.mdx b/website/docs/cli-commands/doctor.mdx
index 089e5ad3..7144bc4a 100644
--- a/website/docs/cli-commands/doctor.mdx
+++ b/website/docs/cli-commands/doctor.mdx
@@ -12,4 +12,22 @@ title: Doctor (Reconfigure)
```bash
mercury doctor
-```
\ No newline at end of file
+```
+
+## Platform Diagnostics
+
+Use `--platform` to run a non-destructive compatibility check for your current environment:
+
+```bash
+mercury doctor --platform
+```
+
+This prints:
+
+- OS + architecture
+- Node.js version
+- Terminal + TTY/raw-mode capability
+- SSH/CI detection
+- Daemon status
+- Spotify inline-art support status
+- Keybinding fallbacks (`/view`, `/ws exit`, etc.)
diff --git a/website/docs/cli-commands/in-chat-commands.mdx b/website/docs/cli-commands/in-chat-commands.mdx
index c995d006..f394df3e 100644
--- a/website/docs/cli-commands/in-chat-commands.mdx
+++ b/website/docs/cli-commands/in-chat-commands.mdx
@@ -28,10 +28,25 @@ Type these during a conversation with Mercury. Most work in both CLI and Telegra
| `/budget reset` | Reset usage to zero |
| `/budget set <n>` | Change daily token budget |
| `/permissions` | Change permission mode (Ask Me / Allow All) — Telegram only |
+| `/models` | List configured models/providers and switch active model for this session |
+| `/models use <provider>` | Switch the current session model/provider |
+| `/models doctor` | Show how to add/configure models via `mercury doctor` |
+| `/view` | Toggle progress view (balanced/detailed) |
+| `/view balanced` | Set compact progress view |
+| `/view detailed` | Set full progress view |
+| `/code agent <task>` | Delegate a coding task to a sub-agent in the background |
+| `/ws exit` | Exit workspace IDE mode back to general chat |
+| `/bg <command>` | Run a shell command in the background |
+| `/bg: <task>` | Run a natural-language sub-agent task in background |
+| `/bg current` | Move the current in-flight task to background |
+| `/bg list` | Show background tasks |
+| `/bg <id>` | Show details/output for one background task |
+| `/bg cancel <id>` | Cancel a running background task |
+| `/bg clear` | Prune completed background tasks |
| `/tasks` | List scheduled tasks |
| `/memory` | View and manage second brain memory |
| `/unpair` | Telegram only: reset all access, new users can /start again |
:::info Telegram pairing and access
Telegram stays private 1:1 only. The first user sends `/start`, receives a pairing code in Telegram, and you approve that code from the CLI during setup. Later Telegram users also send `/start`, appear as pending requests, and can then be approved or rejected from the CLI `/telegram` menu.
-:::
\ No newline at end of file
+:::
diff --git a/website/docs/daemon-mode/background-mode.mdx b/website/docs/daemon-mode/background-mode.mdx
index 76973f0f..d58456db 100644
--- a/website/docs/daemon-mode/background-mode.mdx
+++ b/website/docs/daemon-mode/background-mode.mdx
@@ -63,4 +63,22 @@ Shows whether the daemon is running, its PID, and the log file path.
:::info Crash recovery
Background mode includes a watchdog. If Mercury crashes, it restarts automatically with exponential backoff (1s, 1.25s, 1.56s...). After 10 crashes within 60 seconds, it exits to prevent crash loops. Stale PID files are auto-cleaned on startup to prevent "already running" false positives.
-:::
\ No newline at end of file
+:::
+
+## Background Tasks and Workers
+
+Daemon mode supports async background execution for both shell commands and delegated sub-agent work.
+
+### Shell background tasks
+
+- Start with `/bg <command>`
+- Inspect with `/bg list` and `/bg <id>`
+- Cancel with `/bg cancel <id>`
+
+### Sub-agent workers
+
+- Delegate coding with `/code agent <task>` or `/bg: <task>`
+- Move active task to worker with `/bg current`
+- Worker progress/completion is surfaced in the shared background task board (`/bg list`)
+
+These workers are designed to keep Mercury responsive while long-running work continues.
diff --git a/website/docs/daemon-mode/platform-guide.mdx b/website/docs/daemon-mode/platform-guide.mdx
index 99027da4..5116daef 100644
--- a/website/docs/daemon-mode/platform-guide.mdx
+++ b/website/docs/daemon-mode/platform-guide.mdx
@@ -61,4 +61,15 @@ schtasks /delete /tn "MercuryAgent" /f
```
</TabItem>
-</Tabs>
\ No newline at end of file
+</Tabs>
+
+## Docker Status
+
+Mercury does not currently ship first-party Docker assets in this repository (no `Dockerfile` or `docker-compose.yml` by default).
+
+If you run Mercury in a container, treat it as an advanced/custom deployment:
+
+- Prefer foreground mode (`mercury start --foreground`) inside the container
+- Let the container runtime handle restart policy
+- Mount `~/.mercury` as persistent storage
+- Validate terminal/TTY behavior separately for interactive CLI usage
diff --git a/website/docs/getting-started/starting.mdx b/website/docs/getting-started/starting.mdx
index 4d1340e9..6a0b3d0a 100644
--- a/website/docs/getting-started/starting.mdx
+++ b/website/docs/getting-started/starting.mdx
@@ -27,7 +27,7 @@ Starts Mercury as a background daemon by default. Telegram becomes your primary
mercury start --foreground
```
-Runs Mercury attached to your terminal with a readline prompt. Press `Ctrl+C` to exit. All conversation happens in your terminal with real-time text streaming and markdown rendering. Shorthand: `mercury start -f`.
+Runs Mercury attached to your terminal with the Ink TUI interface. Press `Ctrl+C` to exit. The CLI supports chat, coding workspace mode, progress views, and interactive permission prompts. Shorthand: `mercury start -f`.
When running in background mode, you can stop it with:
@@ -41,4 +41,4 @@ Add `--verbose` to any start command to see debug logs on stderr:
```bash
mercury start --verbose
-```
\ No newline at end of file
+```
diff --git a/website/docs/integrations/coding-workspace.mdx b/website/docs/integrations/coding-workspace.mdx
new file mode 100644
index 00000000..71cabbc6
--- /dev/null
+++ b/website/docs/integrations/coding-workspace.mdx
@@ -0,0 +1,55 @@
+---
+id: coding-workspace
+title: Coding Workspace (IDE Mode)
+---
+
+Mercury includes a CLI IDE-style workspace mode for repository-focused coding.
+
+## Enter Workspace Mode
+
+You can enter workspace mode in multiple ways:
+
+- `/code` and choose workspace
+- `/code workspace`
+- `/ws open <path>`
+
+Once active, Mercury switches to coding context for that repository.
+
+## Modes
+
+Use programming modes to control behavior:
+
+- `/code plan` — analysis/planning first, minimal code changes
+- `/code execute` — implementation mode
+- `/code off` — return to normal conversation behavior
+
+### Keyboard shortcuts (CLI)
+
+- `Ctrl+P` → Plan mode
+- `Ctrl+X` → Execute mode
+- `Esc` or `Ctrl+Q` → Exit workspace back to chat
+- `Ctrl+E` → Explorer pane
+- `Ctrl+G` → Git pane
+
+## Workspace Commands
+
+| Command | Description |
+|---------|-------------|
+| `/ws open <path>` | Open a directory in workspace mode |
+| `/ws refresh` | Refresh file tree + git status |
+| `/ws stage <file\|all>` | Stage one file or all changes |
+| `/ws commit <message>` | Commit staged changes |
+| `/ws undo <file>` | Revert file changes |
+| `/ws exit` | Exit workspace mode back to general chat |
+
+## Sub-Agents + Background in Coding
+
+Workspace mode supports explicit delegation and backgrounding:
+
+- `/code agent <task>` — delegate coding work to a sub-agent
+- `/bg current` — move active in-flight work to background
+- `/bg list` — inspect all background tasks (shell + sub-agent)
+- `/bg <id>` — view task details/output
+- `/bg cancel <id>` — cancel running background work
+
+This lets you continue coding/chatting while long operations run asynchronously.
diff --git a/website/docs/integrations/spotify.mdx b/website/docs/integrations/spotify.mdx
index f0aa17e2..d1278ebe 100644
--- a/website/docs/integrations/spotify.mdx
+++ b/website/docs/integrations/spotify.mdx
@@ -142,6 +142,24 @@ The `/spotify player` command launches an interactive arrow-key player in your t
Every action shows real-time feedback with track info and a progress bar.
+### Player shortcuts
+
+Inside the Spotify player (CLI):
+
+- `N` → next track
+- `P` → previous track
+- `+` / `-` → volume up/down by 10%
+- `Z` → refresh now playing
+- `Esc` → exit player
+
+### Optional inline album art
+
+Mercury supports inline album art as a progressive enhancement (text UI remains the default).
+
+- Enable with: `MERCURY_SPOTIFY_ART=1`
+- Currently rendered only in local iTerm sessions
+- Automatically falls back to text-only view in SSH/mobile/light terminals
+
## Managing Devices
Spotify plays on **your devices** — phone, desktop, TV, speaker. Mercury never plays audio locally. Before playing, Mercury checks what devices are available:
@@ -193,4 +211,4 @@ Your access and refresh tokens are also stored locally. Mercury never sends them
| "No active device" | Open Spotify on your phone/computer, play any song, then try again. |
| Browser doesn't open for auth | Use the manual code flow: `/spotify auth` → choose "Paste code" |
| Token expired after long idle | Run `/spotify auth` to get fresh tokens |
-| Account name not showing | Run `/spotify` and Mercury will fetch it live from Spotify's API |
\ No newline at end of file
+| Account name not showing | Run `/spotify` and Mercury will fetch it live from Spotify's API |
diff --git a/website/docs/integrations/sub-agents.mdx b/website/docs/integrations/sub-agents.mdx
index d392cad6..f0a39fb3 100644
--- a/website/docs/integrations/sub-agents.mdx
+++ b/website/docs/integrations/sub-agents.mdx
@@ -50,6 +50,10 @@ Mercury: I've delegated both tasks to parallel agents. Agent a1 is building the
| Command | Description |
|---------|-------------|
| `/agents` | List all sub-agents (running and completed) |
+| `/code agent <task>` | Delegate a coding task to a sub-agent immediately |
+| `/bg: <task>` | Run a natural-language sub-agent task in background |
+| `/bg current` | Move current in-flight task to a background sub-agent |
+| `/bg list` | List shell + sub-agent background tasks |
| `/halt` | Emergency: halt all sub-agents and clear the task queue |
| `/stop` | Full reset: halt agents, clear queue, release locks, clear task board |
@@ -134,6 +138,8 @@ If you send `/agents`, you'll see the full status:
⏳ a2: Write integration tests — pending
```
+Background-tracked agent tasks also appear in `/bg list` so shell jobs and delegated coding work share one progress surface.
+
## Configuration
Sub-agents are configured in `~/.mercury/mercury.yaml`:
@@ -167,4 +173,4 @@ Sub-agents pair well with Mercury's programming mode for code tasks:
## Programming Mode + Sub-Agents
-When `/code plan` is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during `/code execute`. The `ask_user` tool lets Mercury present choices at decision points — on CLI this is an arrow-key menu, on Telegram it's inline buttons.
\ No newline at end of file
+When `/code plan` is active, Mercury will analyze a task and present a plan. If the plan involves parallel work, Mercury can delegate parts to sub-agents during `/code execute`. The `ask_user` tool lets Mercury present choices at decision points — on CLI this is an arrow-key menu, on Telegram it's inline buttons.
diff --git a/website/docs/reference/provider-fallback.mdx b/website/docs/reference/provider-fallback.mdx
index 808a1023..0fb66bc0 100644
--- a/website/docs/reference/provider-fallback.mdx
+++ b/website/docs/reference/provider-fallback.mdx
@@ -5,6 +5,16 @@ title: Provider Fallback
Configure multiple LLM providers. Mercury tries them in order and falls back automatically. When a provider fails, Mercury tries the next one and remembers the last successful provider.
+## Session Model Switching
+
+You can switch the active provider/model at runtime without restarting Mercury:
+
+- `/models` — shows configured providers and current active model
+- `/models use <provider>` — switches the active session model
+- `/models doctor` — points to setup flow for adding/configuring providers
+
+This is a session-level switch for the running process. Use `mercury doctor` to change persisted defaults.
+
## Supported Providers
| Provider | Default Model | API Key | Configuration |
@@ -27,4 +37,4 @@ Each provider has env vars for its API key, base URL, and model. For example, De
:::warning More providers coming
Google Gemini, Mistral, and other providers are on the roadmap. Mercury's OpenAI-compatible provider architecture means you can often configure additional providers by setting a custom base URL and API key.
-:::
\ No newline at end of file
+:::
diff --git a/website/docs/reference/skills.mdx b/website/docs/reference/skills.mdx
index 9f454427..907779b5 100644
--- a/website/docs/reference/skills.mdx
+++ b/website/docs/reference/skills.mdx
@@ -5,6 +5,14 @@ title: Skills
Skills are markdown-based extensions that live in `~/.mercury/skills/<name>/SKILL.md`.
+## Default skills
+
+On first run, Mercury seeds a built-in `web-search` skill at:
+
+`~/.mercury/skills/web-search/SKILL.md`
+
+If you already have your own `web-search` skill, Mercury does not overwrite it.
+
## Installing
Tell Mercury in conversation:
@@ -20,4 +28,4 @@ Tell Mercury in conversation:
- "Remind me daily at 9am to run the daily-digest skill"
-Skills follow the [Agent Skills specification](https://agentskills.io). They get elevated permissions via `allowed-tools` and are loaded with progressive disclosure to save tokens.
\ No newline at end of file
+Skills follow the [Agent Skills specification](https://agentskills.io). They get elevated permissions via `allowed-tools` and are loaded with progressive disclosure to save tokens.
diff --git a/website/docs/releases/1.1.6.mdx b/website/docs/releases/1.1.6.mdx
new file mode 100644
index 00000000..8704ff29
--- /dev/null
+++ b/website/docs/releases/1.1.6.mdx
@@ -0,0 +1,63 @@
+---
+id: 1.1.6
+title: v1.1.6
+---
+
+Release `1.1.6` focuses on a major CLI/TUI upgrade, workspace IDE flow, background execution reliability, and docs coverage.
+
+## Highlights
+
+- New Ink-based interactive TUI with improved startup, status, and activity views.
+- Workspace IDE mode with explorer, preview, git panel, coding chat, and keyboard navigation.
+- Background task system for long-running shell and agent work (`/bg ...`) with live status.
+- Sub-agent lifecycle integration with background tracking and coding delegation (`/code agent <task>`).
+- Spotify UX revamp (Spotify Deck), shortcuts, volume up/down, and optional inline album art.
+- New runtime model switching commands (`/models`, `/models use <provider>`).
+- New platform diagnostics command (`mercury doctor --platform`).
+- Default seeded `web-search` skill for fresh installs.
+
+## CLI/TUI Improvements
+
+- Added minimal/detailed activity views and updated controls.
+- Improved streaming responsiveness and markdown rendering stability.
+- Added coding shortcuts:
+ - `Ctrl+P` plan
+ - `Ctrl+X` execute
+ - `Esc` / `Ctrl+Q` exit workspace
+- Improved startup permission picker behavior and one-step confirm flow.
+- Added raw-mode watchdog to improve terminal input reliability across environments.
+
+## Workspace + Coding
+
+- Introduced `/ws` command family with open/refresh/stage/commit/undo/exit.
+- Added dedicated coding workspace docs page and updated command references.
+- Added automatic handoff of interrupted long tasks to background workers.
+
+## Background Tasks + Sub-Agents
+
+- Added `BackgroundTaskManager` integration into agent lifecycle.
+- Added `/bg current` to move active work to background.
+- Added `/bg list`, `/bg <id>`, `/bg cancel <id>`, `/bg clear` for operational control.
+- Added supervisor lifecycle hooks so agent progress/completion is reflected in background board.
+
+## Spotify
+
+- Added Spotify Deck-style panel and clearer action feedback.
+- Added keyboard shortcuts in player mode (`N`, `P`, `+`, `-`, `Z`, `Esc`).
+- Added separate volume up/down controls.
+- Added safe-gated inline album art support (`MERCURY_SPOTIFY_ART=1`, iTerm local sessions).
+
+## Docs
+
+- Expanded Docusaurus docs for:
+ - coding workspace mode
+ - sub-agents + background tasks
+ - platform diagnostics
+ - Spotify player shortcuts and album art gating
+ - default `web-search` skill
+ - Docker status guidance (no first-party Docker assets shipped in repo)
+
+## Notes
+
+- This release includes broad UX/system changes across TUI, background execution, and docs.
+- For provider/model management, use `mercury doctor` to configure and `/models` to switch session model.
diff --git a/website/docs/releases/releases.mdx b/website/docs/releases/releases.mdx
new file mode 100644
index 00000000..a624dfad
--- /dev/null
+++ b/website/docs/releases/releases.mdx
@@ -0,0 +1,10 @@
+---
+id: releases
+title: Releases
+---
+
+This section tracks Mercury release notes by version.
+
+## Available release notes
+
+- [v1.1.6](/docs/releases/1.1.6)
diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts
index 2aff4d37..e1fdce1f 100644
--- a/website/docusaurus.config.ts
+++ b/website/docusaurus.config.ts
@@ -67,10 +67,6 @@ const config: Config = {
},
navbar: {
title: '☿ Mercury',
- logo: {
- alt: 'Mercury',
- src: 'img/favicon.svg',
- },
items: [
{to: '/docs', label: 'Docs', position: 'left'},
{
@@ -105,4 +101,4 @@ const config: Config = {
} satisfies Preset.ThemeConfig,
};
-export default config;
\ No newline at end of file
+export default config;
diff --git a/website/sidebars.ts b/website/sidebars.ts
index 28314f79..d548ad2f 100644
--- a/website/sidebars.ts
+++ b/website/sidebars.ts
@@ -33,6 +33,7 @@ const sidebars: SidebarsConfig = {
'integrations/github-companion',
'integrations/telegram',
'integrations/spotify',
+ 'integrations/coding-workspace',
'integrations/sub-agents',
],
},
@@ -50,7 +51,16 @@ const sidebars: SidebarsConfig = {
'reference/skills',
],
},
+ {
+ type: 'category',
+ label: 'Releases',
+ collapsed: true,
+ items: [
+ 'releases/releases',
+ 'releases/1.1.6',
+ ],
+ },
],
};
-export default sidebars;
\ No newline at end of file
+export default sidebars;
diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx
index f9797315..f2efe432 100644
--- a/website/src/pages/index.tsx
+++ b/website/src/pages/index.tsx
@@ -272,6 +272,7 @@ export default function LandingPage(): React.ReactElement {
<div className="lp-hero-actions">
<Link href="#how-it-works" className="lp-btn lp-btn-primary">Get Started</Link>
<Link href="#demo" className="lp-btn lp-btn-secondary">See it in action</Link>
+ <Link to="/docs" className="lp-btn lp-btn-secondary">Read Docs</Link>
</div>
<div className="lp-hero-install">
<code>npm i -g @cosmicstack/mercury-agent && mercury</code>
@@ -524,4 +525,4 @@ export default function LandingPage(): React.ReactElement {
</div>
</>
);
-}
\ No newline at end of file
+}