2 lines
9.6 KiB
JavaScript
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-BzKy-nNf.js";import{u as b}from"./chat-CR1al33K.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>"What apps do I have installed?"</div><div class="example-prompt" data-v-881f73b8>"Is my node connected to the network?"</div><div class="example-prompt" data-v-881f73b8>"What version of Archipelago am I running?"</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 & 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>"What files do I have?"</div><div class="example-prompt" data-v-881f73b8>"Read my config.yaml file"</div><div class="example-prompt" data-v-881f73b8>"Show me the contents of notes.md"</div><div class="example-prompt" data-v-881f73b8>"Summarize my todo.txt"</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>"How's my Bitcoin node doing?"</div><div class="example-prompt" data-v-881f73b8>"What block height am I on?"</div><div class="example-prompt" data-v-881f73b8>"Is my node fully synced?"</div><div class="example-prompt" data-v-881f73b8>"How many transactions are in the mempool?"</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>"What's my Lightning balance?"</div><div class="example-prompt" data-v-881f73b8>"How many channels do I have open?"</div><div class="example-prompt" data-v-881f73b8>"How many peers is my node connected to?"</div><div class="example-prompt" data-v-881f73b8>"Is my Lightning node synced?"</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'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>"Why is Mempool not working?"</div><div class="example-prompt" data-v-881f73b8>"Show me the Bitcoin Core logs"</div><div class="example-prompt" data-v-881f73b8>"What errors is Nextcloud showing?"</div><div class="example-prompt" data-v-881f73b8>"Show me the last 100 lines of LND logs"</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's already installed before recommending anything. </p><div class="example-box" data-v-881f73b8><div class="example-prompt" data-v-881f73b8>"Open Mempool"</div><div class="example-prompt" data-v-881f73b8>"Install BTCPay Server"</div><div class="example-prompt" data-v-881f73b8>"Take me to the Settings page"</div><div class="example-prompt" data-v-881f73b8>"What apps are available to install?"</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 & 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'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 — "Read my bitcoin.conf" works better than "show me config files"</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};
|