archy/demo/aiui/assets/GuidePage-CpiR8yAR.js
Dorian fe3c844fe6 fix: AIUI /aiui/ base path, nginx alias cycle, VPN auth, container boot
- AIUI: rebuild with /aiui/ base path (router, chunk loader, SW scope)
- nginx: remove alias from /aiui/ location (caused try_files redirect cycle)
- VPN: WireGuard standalone setup, auth improvements
- ISO: build script hardening, service file updates
- first-boot-containers: networking stack fixes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 20:42:09 +02:00

2 lines
9.6 KiB
JavaScript

import{a as v,c as s,e,S as p,N as u,t as f,r as d,T as h,b as o,U as m}from"./index-Lh5NfTCq.js";import{u as b}from"./chat-BEnAHpY-.js";const g={class:"guide-page"},y={class:"guide-content"},x={class:"guide-section"},I=["disabled"],q={key:0,class:"demo-spinner"},w={key:1},k=v({__name:"GuidePage",setup(A){const i=h(),c=b(),t=d(!1),n=d(!1);function l(){i.push("/")}async function r(){t.value=!0;try{await c.loadNodeDemoChat(),n.value=!0,i.push("/")}finally{t.value=!1}}return(U,a)=>(o(),s("div",g,[e("header",{class:"guide-header"},[e("button",{class:"back-btn",onClick:l},[...a[0]||(a[0]=[e("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[e("path",{d:"M19 12H5M12 19l-7-7 7-7"})],-1)])]),a[1]||(a[1]=e("h1",{class:"guide-title"},"AIUI Guide",-1)),a[2]||(a[2]=e("span",{class:"guide-version"},"v1.0",-1))]),e("main",y,[a[5]||(a[5]=p('<section class="guide-section" data-v-881f73b8><p class="guide-intro" data-v-881f73b8> AIUI is your AI assistant running directly on your Archipelago node. It can see your installed apps, read your files, check Bitcoin and Lightning status, and help you manage everything all privately, with no data leaving your node. </p></section><section class="guide-section" data-v-881f73b8><h2 class="section-title" data-v-881f73b8><span class="section-icon" data-v-881f73b8>📡</span> Node Awareness </h2><p class="section-desc" data-v-881f73b8> When running on your Archipelago node, AIUI automatically knows about your setup. It sees which apps are installed, your system status, network connectivity, and more. Just ask naturally: </p><div class="example-box" data-v-881f73b8><div class="example-prompt" data-v-881f73b8>&quot;What apps do I have installed?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Is my node connected to the network?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;What version of Archipelago am I running?&quot;</div></div></section><section class="guide-section" data-v-881f73b8><h2 class="section-title" data-v-881f73b8><span class="section-icon" data-v-881f73b8>📁</span> File Browsing &amp; Reading </h2><p class="section-desc" data-v-881f73b8> AIUI can browse and read text files stored in your Nextcloud instance. It supports common text formats like <code data-v-881f73b8>.txt</code>, <code data-v-881f73b8>.md</code>, <code data-v-881f73b8>.json</code>, <code data-v-881f73b8>.csv</code>, <code data-v-881f73b8>.log</code>, <code data-v-881f73b8>.yaml</code>, <code data-v-881f73b8>.conf</code>, and many more. </p><div class="example-box" data-v-881f73b8><div class="example-prompt" data-v-881f73b8>&quot;What files do I have?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Read my config.yaml file&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Show me the contents of notes.md&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Summarize my todo.txt&quot;</div></div><div class="info-note" data-v-881f73b8> Files are read up to 100KB. Larger files are truncated with a note. Binary files (images, videos, etc.) cannot be read as text. </div></section><section class="guide-section" data-v-881f73b8><h2 class="section-title" data-v-881f73b8><span class="section-icon" data-v-881f73b8></span> Bitcoin Node Status </h2><p class="section-desc" data-v-881f73b8> If you have Bitcoin Core running on your node, AIUI can check the blockchain sync status, current block height, and mempool information in real-time. </p><div class="example-box" data-v-881f73b8><div class="example-prompt" data-v-881f73b8>&quot;How&#39;s my Bitcoin node doing?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;What block height am I on?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Is my node fully synced?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;How many transactions are in the mempool?&quot;</div></div></section><section class="guide-section" data-v-881f73b8><h2 class="section-title" data-v-881f73b8><span class="section-icon" data-v-881f73b8></span> Lightning Network (LND) </h2><p class="section-desc" data-v-881f73b8> AIUI can query your LND node for channel information, peer count, on-chain and channel balances, and sync status. Your private keys and macaroons are never exposed. </p><div class="example-box" data-v-881f73b8><div class="example-prompt" data-v-881f73b8>&quot;What&#39;s my Lightning balance?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;How many channels do I have open?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;How many peers is my node connected to?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Is my Lightning node synced?&quot;</div></div></section><section class="guide-section" data-v-881f73b8><h2 class="section-title" data-v-881f73b8><span class="section-icon" data-v-881f73b8>📋</span> App Logs </h2><p class="section-desc" data-v-881f73b8> When an app isn&#39;t working right, AIUI can pull recent log output to help diagnose issues. It reads the last 50 lines by default (up to 200). </p><div class="example-box" data-v-881f73b8><div class="example-prompt" data-v-881f73b8>&quot;Why is Mempool not working?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Show me the Bitcoin Core logs&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;What errors is Nextcloud showing?&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Show me the last 100 lines of LND logs&quot;</div></div></section><section class="guide-section" data-v-881f73b8><h2 class="section-title" data-v-881f73b8><span class="section-icon" data-v-881f73b8>📦</span> App Management </h2><p class="section-desc" data-v-881f73b8> AIUI can help you navigate your node, open installed apps, and even install new ones from the marketplace. It checks what&#39;s already installed before recommending anything. </p><div class="example-box" data-v-881f73b8><div class="example-prompt" data-v-881f73b8>&quot;Open Mempool&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Install BTCPay Server&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;Take me to the Settings page&quot;</div><div class="example-prompt" data-v-881f73b8>&quot;What apps are available to install?&quot;</div></div></section><section class="guide-section" data-v-881f73b8><h2 class="section-title" data-v-881f73b8><span class="section-icon" data-v-881f73b8>💬</span> Chat Features </h2><div class="feature-grid" data-v-881f73b8><div class="feature-card" data-v-881f73b8><h3 data-v-881f73b8>Conversation History</h3><p data-v-881f73b8>All chats are saved locally on your node. Switch between conversations using the history panel.</p></div><div class="feature-card" data-v-881f73b8><h3 data-v-881f73b8>Edit Messages</h3><p data-v-881f73b8>Click any of your sent messages to edit and re-send them. The AI will regenerate its response.</p></div><div class="feature-card" data-v-881f73b8><h3 data-v-881f73b8>Branch Conversations</h3><p data-v-881f73b8>Fork a conversation at any point to explore a different direction without losing the original thread.</p></div><div class="feature-card" data-v-881f73b8><h3 data-v-881f73b8>Web Search</h3><p data-v-881f73b8>When enabled, AIUI can search the web to find current information and include sources in its responses.</p></div><div class="feature-card" data-v-881f73b8><h3 data-v-881f73b8>Image Support</h3><p data-v-881f73b8>Attach images to your messages for visual questions. AIUI can analyze screenshots, photos, and diagrams.</p></div><div class="feature-card" data-v-881f73b8><h3 data-v-881f73b8>Dark / Light Theme</h3><p data-v-881f73b8>AIUI adapts to your preferred theme. Toggle between dark and light mode in the settings.</p></div></div></section><section class="guide-section" data-v-881f73b8><h2 class="section-title" data-v-881f73b8><span class="section-icon" data-v-881f73b8>🔒</span> Privacy &amp; Permissions </h2><p class="section-desc" data-v-881f73b8> AIUI only accesses what you allow. Your node data categories (apps, files, wallet, bitcoin, network, system) are permission-gated. You control exactly what context AIUI can see through the Archy permissions panel. </p><div class="info-note" data-v-881f73b8> All processing happens through your node&#39;s Claude proxy. Your conversations and node data never touch third-party servers beyond the AI model API itself. Private keys, seeds, and macaroons are never exposed. </div></section><section class="guide-section" data-v-881f73b8><h2 class="section-title" data-v-881f73b8><span class="section-icon" data-v-881f73b8>💡</span> Tips </h2><ul class="tips-list" data-v-881f73b8><li data-v-881f73b8>Be specific &quot;Read my bitcoin.conf&quot; works better than &quot;show me config files&quot;</li><li data-v-881f73b8>AIUI remembers context within a conversation, so you can ask follow-up questions</li><li data-v-881f73b8>If something seems wrong with an app, ask AIUI to check the logs first</li><li data-v-881f73b8>You can ask AIUI to explain what a config file does after reading it</li><li data-v-881f73b8>Use the history panel to return to previous conversations at any time</li></ul></section>',10)),e("section",x,[a[3]||(a[3]=e("h2",{class:"section-title"},[e("span",{class:"section-icon"},"🚀"),u(" Try It Out ")],-1)),a[4]||(a[4]=e("p",{class:"section-desc"}," Load a demo conversation that showcases all the node search capabilities described above. You'll see example exchanges for checking Bitcoin status, reading files, viewing logs, and more. ",-1)),e("button",{class:"demo-button",disabled:t.value,onClick:r},[t.value?(o(),s("span",q)):(o(),s("span",w,f(n.value?"View Demo Chat":"Load Demo Conversation"),1))],8,I)])])]))}}),S=m(k,[["__scopeId","data-v-881f73b8"]]);export{S as default};