Files
archy/demo/aiui/assets/GuidePage-DncbNAAY.js
T
archipelagoandClaude Fable 5 cb840fd36f chore(aiui): refresh shipped demo/aiui dist from post-merge source — verified, mock-free
The release tarball bakes demo/aiui in for fresh installs; the previous dist
predated the phase-13 security waves (S1-S7, W1.4) and would have shipped a
pre-hardening bundle.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 15:43:19 -04:00

2 lines
9.6 KiB
JavaScript

import{a as v,c as s,e,M as p,u,H as f,t as h,i as m,r as d,N as b,b as o,O as g}from"./index-8cIrvc8q.js";import{u as y,D as x}from"./chat-BVoaeFpp.js";const I={class:"guide-page"},q={class:"guide-content"},w={key:0,class:"guide-section"},k=["disabled"],A={key:0,class:"demo-spinner"},B={key:1},C=v({__name:"GuidePage",setup(N){const i=b(),c=y(),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",I,[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",q,[a[5]||(a[5]=p('<section class="guide-section" data-v-f6611b72><p class="guide-intro" data-v-f6611b72> 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-f6611b72><h2 class="section-title" data-v-f6611b72><span class="section-icon" data-v-f6611b72>📡</span> Node Awareness </h2><p class="section-desc" data-v-f6611b72> 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-f6611b72><div class="example-prompt" data-v-f6611b72>&quot;What apps do I have installed?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Is my node connected to the network?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;What version of Archipelago am I running?&quot;</div></div></section><section class="guide-section" data-v-f6611b72><h2 class="section-title" data-v-f6611b72><span class="section-icon" data-v-f6611b72>📁</span> File Browsing &amp; Reading </h2><p class="section-desc" data-v-f6611b72> AIUI can browse and read text files stored in your Nextcloud instance. It supports common text formats like <code data-v-f6611b72>.txt</code>, <code data-v-f6611b72>.md</code>, <code data-v-f6611b72>.json</code>, <code data-v-f6611b72>.csv</code>, <code data-v-f6611b72>.log</code>, <code data-v-f6611b72>.yaml</code>, <code data-v-f6611b72>.conf</code>, and many more. </p><div class="example-box" data-v-f6611b72><div class="example-prompt" data-v-f6611b72>&quot;What files do I have?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Read my config.yaml file&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Show me the contents of notes.md&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Summarize my todo.txt&quot;</div></div><div class="info-note" data-v-f6611b72> 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-f6611b72><h2 class="section-title" data-v-f6611b72><span class="section-icon" data-v-f6611b72>₿</span> Bitcoin Node Status </h2><p class="section-desc" data-v-f6611b72> 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-f6611b72><div class="example-prompt" data-v-f6611b72>&quot;How&#39;s my Bitcoin node doing?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;What block height am I on?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Is my node fully synced?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;How many transactions are in the mempool?&quot;</div></div></section><section class="guide-section" data-v-f6611b72><h2 class="section-title" data-v-f6611b72><span class="section-icon" data-v-f6611b72>⚡</span> Lightning Network (LND) </h2><p class="section-desc" data-v-f6611b72> 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-f6611b72><div class="example-prompt" data-v-f6611b72>&quot;What&#39;s my Lightning balance?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;How many channels do I have open?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;How many peers is my node connected to?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Is my Lightning node synced?&quot;</div></div></section><section class="guide-section" data-v-f6611b72><h2 class="section-title" data-v-f6611b72><span class="section-icon" data-v-f6611b72>📋</span> App Logs </h2><p class="section-desc" data-v-f6611b72> 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-f6611b72><div class="example-prompt" data-v-f6611b72>&quot;Why is Mempool not working?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Show me the Bitcoin Core logs&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;What errors is Nextcloud showing?&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Show me the last 100 lines of LND logs&quot;</div></div></section><section class="guide-section" data-v-f6611b72><h2 class="section-title" data-v-f6611b72><span class="section-icon" data-v-f6611b72>📦</span> App Management </h2><p class="section-desc" data-v-f6611b72> 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-f6611b72><div class="example-prompt" data-v-f6611b72>&quot;Open Mempool&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Install BTCPay Server&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;Take me to the Settings page&quot;</div><div class="example-prompt" data-v-f6611b72>&quot;What apps are available to install?&quot;</div></div></section><section class="guide-section" data-v-f6611b72><h2 class="section-title" data-v-f6611b72><span class="section-icon" data-v-f6611b72>💬</span> Chat Features </h2><div class="feature-grid" data-v-f6611b72><div class="feature-card" data-v-f6611b72><h3 data-v-f6611b72>Conversation History</h3><p data-v-f6611b72>All chats are saved locally on your node. Switch between conversations using the history panel.</p></div><div class="feature-card" data-v-f6611b72><h3 data-v-f6611b72>Edit Messages</h3><p data-v-f6611b72>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-f6611b72><h3 data-v-f6611b72>Branch Conversations</h3><p data-v-f6611b72>Fork a conversation at any point to explore a different direction without losing the original thread.</p></div><div class="feature-card" data-v-f6611b72><h3 data-v-f6611b72>Web Search</h3><p data-v-f6611b72>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-f6611b72><h3 data-v-f6611b72>Image Support</h3><p data-v-f6611b72>Attach images to your messages for visual questions. AIUI can analyze screenshots, photos, and diagrams.</p></div><div class="feature-card" data-v-f6611b72><h3 data-v-f6611b72>Dark / Light Theme</h3><p data-v-f6611b72>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-f6611b72><h2 class="section-title" data-v-f6611b72><span class="section-icon" data-v-f6611b72>🔒</span> Privacy &amp; Permissions </h2><p class="section-desc" data-v-f6611b72> 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-f6611b72> 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-f6611b72><h2 class="section-title" data-v-f6611b72><span class="section-icon" data-v-f6611b72>💡</span> Tips </h2><ul class="tips-list" data-v-f6611b72><li data-v-f6611b72>Be specific — &quot;Read my bitcoin.conf&quot; works better than &quot;show me config files&quot;</li><li data-v-f6611b72>AIUI remembers context within a conversation, so you can ask follow-up questions</li><li data-v-f6611b72>If something seems wrong with an app, ask AIUI to check the logs first</li><li data-v-f6611b72>You can ask AIUI to explain what a config file does after reading it</li><li data-v-f6611b72>Use the history panel to return to previous conversations at any time</li></ul></section>',10)),u(x)?(o(),s("section",w,[a[3]||(a[3]=e("h2",{class:"section-title"},[e("span",{class:"section-icon"},"🚀"),f(" 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",A)):(o(),s("span",B,h(n.value?"View Demo Chat":"Load Demo Conversation"),1))],8,k)])):m("",!0)])]))}}),_=g(C,[["__scopeId","data-v-f6611b72"]]);export{_ as default};