archy/demo/aiui/assets/GuidePage-BHJ1yOj7.js

2 lines
9.6 KiB
JavaScript
Raw Normal View History

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>&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 Networ