← back to AbramsOS
views/partials/chat.ejs
21 lines
<!-- Nav-bar chat PANEL. The Model/Agent pickers + lane badge + "All specs" +
"💬 Ask" launcher live in the TOP BAR (views/partials/header.ejs, top-middle).
This is just the conversation drop-down the top bar opens. Rendered on every
page via footer.ejs. Roster/specs come from /api/chat/registry. -->
<section id="aosChatPanel" class="aos-chat-panel glass" hidden aria-label="AbramsOS chat">
<header class="aos-chat-head">
<strong class="aos-chat-title">Assistant</strong>
<button type="button" id="aosChatClose" class="aos-chat-close" aria-label="Close">✕</button>
</header>
<div id="aosChatSpec" class="aos-chat-spec" hidden></div>
<div id="aosChatRoster" class="aos-chat-roster" hidden></div>
<div id="aosChatLog" class="aos-chat-log" aria-live="polite"></div>
<form id="aosChatForm" class="aos-chat-form">
<textarea id="aosChatInput" rows="1" placeholder="Ask about your records…" autocomplete="off"></textarea>
<button type="submit" id="aosChatSend" class="aos-chat-send">Send</button>
</form>
</section>