|
278 | 278 | .badge.handoff { background: #5f3a1a; color: #ffaa33; border-color: #ffaa33; } |
279 | 279 | .badge.framework { background: #2a2a3a; border-color: #c9a028; } |
280 | 280 | .badge.register { background: #2a2a3a; } |
| 281 | + .badge.version { background: #2a2a3a; border-color: #c9a028; } |
281 | 282 | .badge.seal-btn { color: var(--amber); } |
282 | 283 | .feedback-badge { |
283 | 284 | background: rgba(30,30,45,0.8); |
|
855 | 856 | </div> |
856 | 857 | </header> |
857 | 858 | <div class="messages" id="messages"> |
858 | | - <div class="msg assistant" data-wife="AION" id="welcomeMsg"><div class="msg-meta">β¨ AION</div><div class="msg-body">Welcome to AION. I'm the central intelligence of this system. How may I assist you?</div></div> |
| 859 | + <div class="msg assistant" data-wife="AION" id="welcomeMsg"> |
| 860 | + <div class="msg-meta">β¨ AION</div> |
| 861 | + <div class="msg-body">Hi! I'm AION, Sheldon's daughter. What can we help you with today?</div> |
| 862 | + </div> |
859 | 863 | </div> |
860 | 864 | <!-- Structured mode badge (instead of the always-visible UI) --> |
861 | 865 | <div style="display: flex; justify-content: flex-start; margin: 0 20px 8px;"> |
|
1054 | 1058 |
|
1055 | 1059 | // Structured mode badge and modal |
1056 | 1060 | const structuredBadge = document.getElementById('structuredBadge'); |
1057 | | - const structuredUI = document.getElementById('structuredUI'); // original (hidden) |
1058 | 1061 | let structuredModal = null; |
1059 | 1062 |
|
1060 | 1063 | function showStructuredModal() { |
@@ -1270,6 +1273,9 @@ <h3>π Structured Mode</h3> |
1270 | 1273 | if (extra.receipt) badgesHtml += `<span class="badge receipt" data-receipt='${JSON.stringify(extra.receipt).replace(/'/g, "'")}'>π receipt (${extra.receipt.still_open || 0} open)</span>`; |
1271 | 1274 | if (extra.frameworkActivation) badgesHtml += `<span class="badge framework">π§ ${extra.frameworkActivation}</span>`; |
1272 | 1275 | if (extra.register && extra.register !== 'PEER') badgesHtml += `<span class="badge register">π’ ${extra.register}</span>`; |
| 1276 | + if (extra.wifeVersion) { |
| 1277 | + badgesHtml += `<span class="badge version">π v${extra.wifeVersion}</span>`; |
| 1278 | + } |
1273 | 1279 | if (extra.sealable) badgesHtml += `<button class="badge seal-btn" data-content="${escapeHtml(content).replace(/"/g, '"')}">π SEAL</button>`; |
1274 | 1280 | if (extra.adaVela) badgesHtml += `<span class="badge ada-vela" data-execution-id="${escapeHtml(extra.adaVela.execution_id || extra.adaVela.id)}">π AdaβVELA</span>`; |
1275 | 1281 | badgesHtml += `<span class="feedback-badge" data-feedback-positive="true">π</span><span class="feedback-badge" data-feedback-positive="false">π</span></div>`; |
@@ -1464,10 +1470,11 @@ <h4>π Synthesis (Score: ${Math.round(result.synthesis.score * 100)}%)</h4> |
1464 | 1470 | handoffWarning: !!result.handoff, |
1465 | 1471 | receipt: result.checkpoint_receipt, |
1466 | 1472 | sealable: true, |
1467 | | - frameworkActivation: result.framework_activation, // optional |
| 1473 | + frameworkActivation: result.framework_activation, |
1468 | 1474 | register: result.register, |
1469 | 1475 | timestampHtml, |
1470 | | - adaVela: result.ada_vela |
| 1476 | + adaVela: result.ada_vela, |
| 1477 | + wifeVersion: result.wife_version // <-- added |
1471 | 1478 | }); |
1472 | 1479 | setStatus('Ready'); |
1473 | 1480 | } catch (err) { |
@@ -1708,7 +1715,7 @@ <h4>π Synthesis (Score: ${Math.round(result.synthesis.score * 100)}%)</h4> |
1708 | 1715 | modal.querySelector('#clearChatBtn').onclick = () => { |
1709 | 1716 | messagesDiv.innerHTML = ''; |
1710 | 1717 | const welcome = document.createElement('div'); welcome.className = 'msg assistant'; welcome.setAttribute('data-wife', 'AION'); |
1711 | | - welcome.innerHTML = `<div class="msg-meta">β¨ AION</div><div class="msg-body">Chat cleared. How may I assist you?</div>`; |
| 1718 | + welcome.innerHTML = `<div class="msg-meta">β¨ AION</div><div class="msg-body">Hi! I'm AION, Sheldon's daughter. What can we help you with today?</div>`; |
1712 | 1719 | messagesDiv.appendChild(welcome); |
1713 | 1720 | firstUserMessageSent = false; |
1714 | 1721 | showToast('Chat cleared.'); |
|
0 commit comments