- Add AIUI pre-built dist to demo/ for Portainer deployment - Add nginx-demo.conf with Claude API proxy (envsubst for API key) - Add docker-entrypoint.sh for runtime API key injection - Update Dockerfile.web to include AIUI and Claude proxy - Update docker-compose.demo.yml with ANTHROPIC_API_KEY env var - Switch deploy script from sshpass to SSH key auth - Fix Quick Start Goals animating before other cards (stagger 5, opacity guard) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 lines
9.6 KiB
JavaScript
2 lines
9.6 KiB
JavaScript
import{a as v,c as o,e,S as p,H as u,t as h,r as n,T as m,b as d,U as g}from"./index-CqBtvLD5.js";import{u as y}from"./chat-D6vURcTH.js";const f={class:"guide-page"},x={class:"guide-content"},I={class:"guide-section"},q=["disabled"],w={key:0,class:"demo-spinner"},k={key:1},b=v({__name:"GuidePage",setup(A){const s=m(),c=y(),t=n(!1),i=n(!1);function l(){window.history.length>1?s.back():s.push("/")}async function r(){t.value=!0;try{await c.loadNodeDemoChat(),i.value=!0,s.push("/")}finally{t.value=!1}}return(U,a)=>(d(),o("div",f,[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",x,[a[5]||(a[5]=p('<section class="guide-section" data-v-a3ad5999><p class="guide-intro" data-v-a3ad5999> 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-a3ad5999><h2 class="section-title" data-v-a3ad5999><span class="section-icon" data-v-a3ad5999>📡</span> Node Awareness </h2><p class="section-desc" data-v-a3ad5999> 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-a3ad5999><div class="example-prompt" data-v-a3ad5999>"What apps do I have installed?"</div><div class="example-prompt" data-v-a3ad5999>"Is my node connected to the network?"</div><div class="example-prompt" data-v-a3ad5999>"What version of Archipelago am I running?"</div></div></section><section class="guide-section" data-v-a3ad5999><h2 class="section-title" data-v-a3ad5999><span class="section-icon" data-v-a3ad5999>📁</span> File Browsing & Reading </h2><p class="section-desc" data-v-a3ad5999> AIUI can browse and read text files stored in your Nextcloud instance. It supports common text formats like <code data-v-a3ad5999>.txt</code>, <code data-v-a3ad5999>.md</code>, <code data-v-a3ad5999>.json</code>, <code data-v-a3ad5999>.csv</code>, <code data-v-a3ad5999>.log</code>, <code data-v-a3ad5999>.yaml</code>, <code data-v-a3ad5999>.conf</code>, and many more. </p><div class="example-box" data-v-a3ad5999><div class="example-prompt" data-v-a3ad5999>"What files do I have?"</div><div class="example-prompt" data-v-a3ad5999>"Read my config.yaml file"</div><div class="example-prompt" data-v-a3ad5999>"Show me the contents of notes.md"</div><div class="example-prompt" data-v-a3ad5999>"Summarize my todo.txt"</div></div><div class="info-note" data-v-a3ad5999> 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-a3ad5999><h2 class="section-title" data-v-a3ad5999><span class="section-icon" data-v-a3ad5999>₿</span> Bitcoin Node Status </h2><p class="section-desc" data-v-a3ad5999> 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-a3ad5999><div class="example-prompt" data-v-a3ad5999>"How's my Bitcoin node doing?"</div><div class="example-prompt" data-v-a3ad5999>"What block height am I on?"</div><div class="example-prompt" data-v-a3ad5999>"Is my node fully synced?"</div><div class="example-prompt" data-v-a3ad5999>"How many transactions are in the mempool?"</div></div></section><section class="guide-section" data-v-a3ad5999><h2 class="section-title" data-v-a3ad5999><span class="section-icon" data-v-a3ad5999>⚡</span> Lightning Network (LND) </h2><p class="section-desc" data-v-a3ad5999> 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-a3ad5999><div class="example-prompt" data-v-a3ad5999>"What's my Lightning balance?"</div><div class="example-prompt" data-v-a3ad5999>"How many channels do I have open?"</div><div class="example-prompt" data-v-a3ad5999>"How many peers is my node connected to?"</div><div class="example-prompt" data-v-a3ad5999>"Is my Lightning node synced?"</div></div></section><section class="guide-section" data-v-a3ad5999><h2 class="section-title" data-v-a3ad5999><span class="section-icon" data-v-a3ad5999>📋</span> App Logs </h2><p class="section-desc" data-v-a3ad5999> 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-a3ad5999><div class="example-prompt" data-v-a3ad5999>"Why is Mempool not working?"</div><div class="example-prompt" data-v-a3ad5999>"Show me the Bitcoin Core logs"</div><div class="example-prompt" data-v-a3ad5999>"What errors is Nextcloud showing?"</div><div class="example-prompt" data-v-a3ad5999>"Show me the last 100 lines of LND logs"</div></div></section><section class="guide-section" data-v-a3ad5999><h2 class="section-title" data-v-a3ad5999><span class="section-icon" data-v-a3ad5999>📦</span> App Management </h2><p class="section-desc" data-v-a3ad5999> 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-a3ad5999><div class="example-prompt" data-v-a3ad5999>"Open Mempool"</div><div class="example-prompt" data-v-a3ad5999>"Install BTCPay Server"</div><div class="example-prompt" data-v-a3ad5999>"Take me to the Settings page"</div><div class="example-prompt" data-v-a3ad5999>"What apps are available to install?"</div></div></section><section class="guide-section" data-v-a3ad5999><h2 class="section-title" data-v-a3ad5999><span class="section-icon" data-v-a3ad5999>💬</span> Chat Features </h2><div class="feature-grid" data-v-a3ad5999><div class="feature-card" data-v-a3ad5999><h3 data-v-a3ad5999>Conversation History</h3><p data-v-a3ad5999>All chats are saved locally on your node. Switch between conversations using the history panel.</p></div><div class="feature-card" data-v-a3ad5999><h3 data-v-a3ad5999>Edit Messages</h3><p data-v-a3ad5999>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-a3ad5999><h3 data-v-a3ad5999>Branch Conversations</h3><p data-v-a3ad5999>Fork a conversation at any point to explore a different direction without losing the original thread.</p></div><div class="feature-card" data-v-a3ad5999><h3 data-v-a3ad5999>Web Search</h3><p data-v-a3ad5999>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-a3ad5999><h3 data-v-a3ad5999>Image Support</h3><p data-v-a3ad5999>Attach images to your messages for visual questions. AIUI can analyze screenshots, photos, and diagrams.</p></div><div class="feature-card" data-v-a3ad5999><h3 data-v-a3ad5999>Dark / Light Theme</h3><p data-v-a3ad5999>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-a3ad5999><h2 class="section-title" data-v-a3ad5999><span class="section-icon" data-v-a3ad5999>🔒</span> Privacy & Permissions </h2><p class="section-desc" data-v-a3ad5999> 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-a3ad5999> 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-a3ad5999><h2 class="section-title" data-v-a3ad5999><span class="section-icon" data-v-a3ad5999>💡</span> Tips </h2><ul class="tips-list" data-v-a3ad5999><li data-v-a3ad5999>Be specific — "Read my bitcoin.conf" works better than "show me config files"</li><li data-v-a3ad5999>AIUI remembers context within a conversation, so you can ask follow-up questions</li><li data-v-a3ad5999>If something seems wrong with an app, ask AIUI to check the logs first</li><li data-v-a3ad5999>You can ask AIUI to explain what a config file does after reading it</li><li data-v-a3ad5999>Use the history panel to return to previous conversations at any time</li></ul></section>',10)),e("section",I,[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?(d(),o("span",w)):(d(),o("span",k,h(i.value?"View Demo Chat":"Load Demo Conversation"),1))],8,q)])])]))}}),S=g(b,[["__scopeId","data-v-a3ad5999"]]);export{S as default};
|