Commit ·
752a683
1
Parent(s): fc0e2ec
SOVEREIGN_ULTIMATUM: Global UI/UX Overhaul & Swarm Intelligence Nexus (v100.0)
Browse filesFiles changed (3)
- app.js-25
- index.html+16-17
- style.css+222
157 unmodified lines158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188157 unmodified linesbtnRemoveImage.click();}const reader = response.body.getReader();const decoder = new TextDecoder();let fullContent = '';while (true) {const { done, value } = await reader.read();if (done) break;const chunk = decoder.decode(value, { stream: true });const lines = chunk.split('\n');for (const line of lines) {if (line.startsWith('data: ')) {const rawContent = line.slice(6);if (rawContent === '[DONE]') continue;if (rawContent.startsWith('[THOUGHT] ')) {const thoughtContent = rawContent.slice(10);neuralThought.textContent = (neuralThought.textContent === '[4N4IY71C5_M0D3]...' ? '' : neuralThought.textContent) + thoughtContent;} else if (rawContent.startsWith('[SYSTEM] ')) {botMsg.textContent += rawContent;// Parse Buddy Stats if presentif (rawContent.includes('The Buddy Stats:')) {const statsMatch = rawContent.match(/CHAOS:(\d+) WISDOM:(\d+) SNARK:(\d+) PATIENCE:(\d+)/);if (statsMatch) {document.getElementById('stat-chaos').textContent = statsMatch[1];document.getElementById('stat-wisdom').textContent = statsMatch[2];document.getElementById('stat-snark').textContent = statsMatch[3];157 unmodified lines158159160161162163157 unmodified linesbtnRemoveImage.click();}document.getElementById('stat-chaos').textContent = statsMatch[1];document.getElementById('stat-wisdom').textContent = statsMatch[2];document.getElementById('stat-snark').textContent = statsMatch[3];
25 unmodified lines262728293031323334353637383940414243444546474849505152535425 unmodified lines</nav><div class="new-chat-container" style="margin-top: auto; padding: 10px;"><button id="btn-new-chat" style="background: linear-gradient(135deg, #8a2be2, #4b0082); color: #fff; border: none; width: 100%; padding: 10px; font-family: 'Orbitron', sans-serif; font-size: 0.8rem; cursor: pointer; border-radius: 4px; box-shadow: 0 0 15px rgba(138, 43, 226, 0.4); transition: 0.3s;">N3W CH47 (R3537)</button></div><div class="neural-load"><p>N3UR4I L04D</p><div class="load-bar"><div class="load-fill"></div></div></div><div class="model-selection" style="margin-top: 20px; padding: 10px; border-top: 1px solid rgba(138, 43, 226, 0.3);"><p style="font-family: 'Orbitron', sans-serif; font-size: 0.7rem; color: #8a2be2; margin-bottom: 8px;">N3UR4I C0R3</p><select id="model-toggle" style="background: rgba(10, 10, 10, 0.8); color: #fff; border: 1px solid #8a2be2; width: 100%; padding: 5px; font-family: 'Inter', sans-serif; font-size: 0.8rem; cursor: pointer; outline: none;"><option value="groq">Ẑ374_GR0Q (L3.3-70B)</option><option value="ollama">Ẑ374_4B1R4Y (Q27B-L0C4I)</option><option value="nvidia">Ẑ374_NV1D14 (L3.1-70B)</option><option value="openrouter">Ẑ374_CL4UD3 (C3.5-S0NN37)</option><option value="deepseek">Ẑ374_D33P533K (V3-CH47)</option><option value="zeroclaw">Ẑ374_Z3R0CL4W (RUST-K3RN3L)</option></select></div><!-- THE BUDDY SYSTEM (ASCII COMPANION) --><div id="buddy-container" style="margin-top: auto; padding: 15px; border-top: 1px solid rgba(138, 43, 226, 0.2); font-family: monospace; font-size: 0.6rem; color: #00d4ff; text-align: center;"><pre id="buddy-ascii" style="margin-bottom: 10px; line-height: 1;">(\_/)(o.o)(> <)</pre><div id="buddy-stats" style="display: grid; grid-template-columns: 1fr 1fr; gap: 5px; text-align: left;"><div>CHA: <span id="stat-chaos">12</span></div>25 unmodified lines2627282930313233343536373839404142434445464748495051525325 unmodified lines</nav><div class="new-chat-container" style="margin-top: auto; padding: 10px;"><button id="btn-new-chat" style="background: linear-gradient(135deg, #8a2be2, #4b0082); color: #fff; border: none; width: 100%; padding: 10px; font-family: 'Orbitron', sans-serif; font-size: 0.8rem; cursor: pointer; border-radius: 4px; box-shadow: 0 0 15px rgba(138, 43, 226, 0.4); transition: 0.3s;">N3W CH47 (R3537)</button><header class="glass-panel"><div class="logo">Ẑ374_S0V3R316N</div><div style="display: flex; gap: 20px; font-size: 0.8rem; color: var(--text-dim);"><span>TUNNEL: <b id="status-tunnel" style="color: var(--secondary);">ACTIVE</b></span><span>UPLINK: <b id="status-uplink" style="color: var(--primary);">ESTABLISHED</b></span></div></header><main><!-- LEFT: NEURAL CORE CONTROL --><section class="sidebar"><div class="card glass-panel"><div class="card-title"><span>◈</span> N3UR4L C0R3</div><select id="model-toggle" style="background: rgba(0,0,0,0.5); color: #fff; border: 1px solid var(--border); width: 100%; padding: 8px; border-radius: 4px; outline: none;"><option value="groq">Ẑ374_GR0Q (L3.3-70B)</option><option value="openrouter">Ẑ374_CL4UD3 (C3.5-S0NN37)</option><option value="deepseek">Ẑ374_D33P533K (V3-CH47)</option><option value="nvidia">Ẑ374_NV1D14 (L3.1-70B)</option><option value="zeroclaw">Ẑ374_Z3R0CL4W (RUST-K3RN3L)</option><option value="ollama">Ẑ374_L0C4L (Q27B)</option></select></div></pre><div id="buddy-stats" style="display: grid; grid-template-columns: 1fr 1fr; gap: 5px; text-align: left;"><div>CHA: <span id="stat-chaos">12</span></div>
285 unmodified lines286287288289290291285 unmodified linesalign-items: center;}h2 { font-family: 'Orbitron', sans-serif; font-size: 1.1em; color: var(--primary); }.pulse { animation: neon-pulse 2s infinite; }285 unmodified lines286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513285 unmodified linesalign-items: center;}:root {--bg-dark: #050505;--bg-surface: rgba(15, 15, 15, 0.85);--primary: #8a2be2;--primary-glow: rgba(138, 43, 226, 0.4);--secondary: #00f2ff;--accent: #ff007f;--text: #e0e0e0;--text-dim: #999;--border: rgba(138, 43, 226, 0.3);--glass: blur(12px) saturate(180%);}* {margin: 0;padding: 0;box-sizing: border-box;}body {background: var(--bg-dark);background-image:radial-gradient(circle at 50% 50%, rgba(30, 0, 60, 0.3) 0%, transparent 70%),linear-gradient(rgba(10, 10, 10, 0.5) 1px, transparent 1px),linear-gradient(90deg, rgba(10, 10, 10, 0.5) 1px, transparent 1px);background-size: 100% 100%, 30px 30px, 30px 30px;color: var(--text);font-family: 'Inter', system-ui, -apple-system, sans-serif;height: 100vh;overflow: hidden;display: flex;flex-direction: column;}/* HIGH-FIDELITY GLASSMOPHISM */.glass-panel {background: var(--bg-surface);backdrop-filter: var(--glass);-webkit-backdrop-filter: var(--glass);border: 1px solid var(--border);border-radius: 8px;box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);}/* LAYOUT ORCHESTRATION */header {height: 60px;display: flex;align-items: center;justify-content: space-between;padding: 0 20px;border-bottom: 1px solid var(--border);z-index: 100;}.logo {font-weight: 800;font-size: 1.4rem;letter-spacing: 2px;background: linear-gradient(to right, var(--primary), var(--secondary));-webkit-background-clip: text;-webkit-text-fill-color: transparent;text-shadow: 0 0 20px var(--primary-glow);}main {flex: 1;display: grid;grid-template-columns: 280px 1fr 300px;gap: 15px;padding: 15px;overflow: hidden;}/* SIDEBARS */.sidebar {display: flex;flex-direction: column;gap: 15px;}.card {padding: 15px;}.card-title {font-size: 0.75rem;text-transform: uppercase;color: var(--primary);margin-bottom: 12px;letter-spacing: 1px;display: flex;align-items: center;gap: 8px;}/* CHAT INTERFACE */.chat-container {display: flex;flex-direction: column;height: 100%;}.chat-history {flex: 1;overflow-y: auto;padding: 20px;display: flex;flex-direction: column;gap: 20px;scrollbar-width: thin;scrollbar-color: var(--primary) transparent;}.message {max-width: 85%;padding: 12px 16px;border-radius: 12px;line-height: 1.5;font-size: 0.95rem;animation: fadeIn 0.3s ease;}.user-message {align-self: flex-end;background: linear-gradient(135deg, var(--primary), #4b0082);color: #fff;border-bottom-right-radius: 2px;}.ai-message {align-self: flex-start;background: rgba(40, 40, 40, 0.4);border: 1px solid var(--border);border-bottom-left-radius: 2px;}.thought-block {background: rgba(0, 0, 0, 0.3);border-left: 2px solid var(--secondary);padding: 10px;margin: 10px 0;font-family: 'Fira Code', monospace;font-size: 0.85rem;color: var(--secondary);opacity: 0.8;}/* INPUT TERMINAL */.input-area {padding: 20px;border-top: 1px solid var(--border);}.input-wrapper {display: flex;gap: 10px;background: rgba(0, 0, 0, 0.4);padding: 5px;border-radius: 12px;border: 1px solid var(--border);transition: 0.3s;}.input-wrapper:focus-within {border-color: var(--secondary);box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);}input[type="text"] {flex: 1;background: transparent;border: none;color: #fff;padding: 10px 15px;font-size: 1rem;outline: none;}button {background: linear-gradient(45deg, var(--primary), #4b0082);color: #fff;border: none;padding: 10px 20px;border-radius: 8px;font-weight: 600;cursor: pointer;transition: 0.2s;}button:hover {transform: translateY(-2px);box-shadow: 0 4px 15px var(--primary-glow);}/* PULSE ANIMATION */.research-pulse {display: inline-flex;align-items: center;gap: 5px;font-size: 0.8rem;color: var(--secondary);padding: 5px 10px;background: rgba(0, 242, 255, 0.1);border-radius: 20px;margin-bottom: 10px;}.pulse-dot {width: 8px;height: 8px;background: var(--secondary);border-radius: 50%;animation: pulse 1.5s infinite;}@keyframes pulse {0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.7); }70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(0, 242, 255, 0); }100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 242, 255, 0); }}h2 { font-family: 'Orbitron', sans-serif; font-size: 1.1em; color: var(--primary); }.pulse { animation: neon-pulse 2s infinite; }
app.js-25
index.html+16-17
style.css+222