@7ots/cli 0.1.16 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +11 -0
  2. package/cli/7ots.mjs +2 -0
  3. package/cli/lib/assistant.mjs +7 -4
  4. package/cli/lib/brain.mjs +8 -3
  5. package/cli/lib/card-shot.mjs +1 -1
  6. package/cli/lib/integrations.mjs +39 -9
  7. package/cli/lib/mcp.mjs +1 -1
  8. package/cli/lib/open.mjs +3 -1
  9. package/cli/lib/pet-core.mjs +5 -4
  10. package/cli/lib/pet-server.mjs +42 -7
  11. package/cli/lib/screen.mjs +1 -1
  12. package/cli/lib/stt.mjs +1 -1
  13. package/cli/lib/tts-local.mjs +2 -2
  14. package/cli/lib/vm.mjs +1 -1
  15. package/cli/pet/electron/main.cjs +65 -7
  16. package/cli/pet/pet.html +36 -13
  17. package/cli/pet/settings.html +53 -13
  18. package/dist/7ots.esm.js +103 -103
  19. package/dist/7ots.esm.js.map +3 -3
  20. package/dist/7ots.iife.js +99 -99
  21. package/dist/7ots.iife.js.map +3 -3
  22. package/package.json +1 -1
  23. package/server/channels/apuchat.mjs +16 -4
  24. package/server/platform/auth.mjs +22 -4
  25. package/server/platform/byte.mjs +291 -0
  26. package/server/platform/connect.mjs +5 -1
  27. package/server/platform/db.mjs +18 -0
  28. package/server/platform/device.mjs +25 -0
  29. package/server/platform/orquesta.mjs +58 -24
  30. package/server/platform/profile.mjs +21 -0
  31. package/server/platform/routes.mjs +53 -6
  32. package/server/platform/runtime.mjs +44 -0
  33. package/server/platform/stage3d.mjs +82 -0
  34. package/server/platform/store.mjs +16 -3
  35. package/server/platform/wallet.mjs +255 -0
  36. package/server/server.mjs +16 -2
  37. package/src/character/Character.js +37 -4
  38. package/src/character/motion.js +90 -1
  39. package/src/character3d/stage.js +12 -1
  40. package/src/i18n/messages/platform.js +15 -3
package/cli/pet/pet.html CHANGED
@@ -63,6 +63,9 @@
63
63
  .who { text-align: center; margin-top: 10px; }
64
64
  h1 { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 750; letter-spacing: -.025em; }
65
65
  .sub { margin-top: 4px; display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
66
+ .cardlink { text-decoration: none; cursor: pointer; }
67
+ .cardlink:hover { border-color: var(--accent); }
68
+ .cardlink svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
66
69
  .mood { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 7px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 600; }
67
70
  .mood::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mood, var(--muted)); }
68
71
 
@@ -149,7 +152,7 @@
149
152
  .props .title { left: 50%; top: 4%; transform: translateX(-50%); font: 900 30px/1 Impact, 'Anton', system-ui, sans-serif; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; color: #fff; background: linear-gradient(180deg, #fff 30%, #ffd84a 55%, #ff8a1f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px #2a0f00; filter: drop-shadow(0 3px 0 #1a0a00) drop-shadow(0 0 12px rgb(255 160 40 / .7)); }
150
153
  .props .pow { left: 50%; top: 6%; font: 900 22px/1 system-ui, sans-serif; color: #ffd400; -webkit-text-stroke: 2px #1a1020; transform: translateX(-50%); white-space: nowrap; }
151
154
  /* a visiting ot: its own little menu (play, say goodbye, settings, move); feeding, talking and sleep are the host's */
152
- body.guest .ask, body.guest #talkBtn, body.guest #micBtn, body.guest #sleepBtn { display: none !important; }
155
+ body.guest .ask, body.guest #gameBtn, body:not(.desktop) #gameBtn, body.guest #talkBtn, body.guest #micBtn, body.guest #sleepBtn { display: none !important; }
153
156
  .bye { display: none; }
154
157
  body.desktop.guest .bye { display: flex; }
155
158
  body.desktop .bubble { max-width: 220px; font-size: 12.5px; padding: 8px 12px; }
@@ -197,7 +200,7 @@
197
200
  <form class="ask" id="ask" autocomplete="off"><input id="askIn" maxlength="800" enterkeyhint="send"></form>
198
201
  <div class="who">
199
202
  <h1 id="name"></h1>
200
- <div class="sub"><span id="role"></span><span class="mood" id="mood"></span></div>
203
+ <div class="sub"><span id="role"></span><span class="mood" id="mood"></span><a class="mood cardlink" id="cardBtn" target="_blank" rel="noopener"><svg viewBox="0 0 24 24"><rect x="5" y="3" width="14" height="18" rx="2.5"/><path d="M12 8.5l1.2 2.4 2.6.4-1.9 1.8.5 2.6-2.4-1.3-2.4 1.3.5-2.6-1.9-1.8 2.6-.4z"/></svg><span data-t="card"></span></a></div>
201
204
  </div>
202
205
  </section>
203
206
 
@@ -214,6 +217,7 @@
214
217
  <button class="act" id="micBtn" type="button"><svg viewBox="0 0 24 24"><rect x="9" y="3" width="6" height="11" rx="3"/><path d="M5.5 11a6.5 6.5 0 0 0 13 0M12 17.5V21"/></svg><span data-t="listen"></span></button>
215
218
  <button class="act" data-act="sleep" id="sleepBtn"><svg viewBox="0 0 24 24"><path d="M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z"/></svg><span data-t="sleep"></span></button>
216
219
  <button class="act" id="danceBtn" type="button"><svg viewBox="0 0 24 24"><path d="M9 18V6l10-2v12"/><circle cx="7" cy="18" r="2"/><circle cx="17" cy="16" r="2"/></svg><span data-t="dance"></span></button>
220
+ <button class="act" id="gameBtn" type="button"><svg viewBox="0 0 24 24"><path d="M7 8.5h10a4 4 0 0 1 4 4v1.5a3 3 0 0 1-5.4 1.8L14.5 14h-5l-1.1 1.8A3 3 0 0 1 3 14v-1.5a4 4 0 0 1 4-4z"/><path d="M7.5 11v2.5M6.25 12.25h2.5"/></svg><span data-t="game"></span></button>
217
221
  <a class="act" id="setBtn" target="_blank" rel="noopener"><svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="3"/><path d="M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M5.3 18.7l2.1-2.1M16.6 7.4l2.1-2.1"/></svg><span data-t="settings"></span></a>
218
222
  <button class="act bye" id="byeBtn" type="button"><svg viewBox="0 0 24 24"><path d="M15 4h4v16h-4M10 8l-4 4 4 4M6 12h10"/></svg></button>
219
223
  <button class="act grip" id="moveBtn" type="button" title="⇔"><svg viewBox="0 0 24 24"><path d="M12 3v18M3 12h18M12 3l-3 3M12 3l3 3M12 21l-3-3M12 21l3-3M3 12l3-3M3 12l3 3M21 12l-3-3M21 12l-3 3"/></svg></button>
@@ -230,17 +234,17 @@
230
234
  <script type="module">
231
235
  const BOOT = __BOOT__;
232
236
  const T = {
233
- en: { dance: 'Dance', settings: 'Settings', dismiss: 'Send home', listen: 'Listen', listening: 'Listening… 🎙️', noStt: 'Voice control needs an OpenAI or ElevenLabs key (Settings).', noMic: 'I can’t reach the microphone.', sttErr: 'I didn’t catch that.', talk: 'Talk', askPh: 'Remind me to check email in 10 min…', feed: 'Treat', play: 'Play', sleep: 'Sleep', wake: 'Wake', food: 'Food', energy: 'Energy', fun: 'Fun', level: 'Level {l}', xp: '{x} / {n} xp', live: 'Live', off: 'Reconnecting…', approve: 'Approve', reject: 'Reject',
237
+ en: { game: 'Play byte', dance: 'Dance', settings: 'Settings', card: 'Card', dismiss: 'Send home', listen: 'Listen', listening: 'Listening… 🎙️', noStt: 'Voice control needs an OpenAI or ElevenLabs key (Settings).', noMic: 'I can’t reach the microphone.', sttErr: 'I didn’t catch that.', talk: 'Talk', askPh: 'Remind me to check email in 10 min…', feed: 'Treat', play: 'Play', sleep: 'Sleep', wake: 'Wake', food: 'Food', energy: 'Energy', fun: 'Fun', level: 'Level {l}', xp: '{x} / {n} xp', live: 'Live', off: 'Reconnecting…', approve: 'Approve', reject: 'Reject',
234
238
  activity: 'Activity', empty: 'Nothing yet. Run a command or ask your coding agent something.', tally: '{ok} ok · {fail} failed · turns {turns}',
235
239
  brain: 'Brain: {b}', age: 'Born {d}', lines: 'built-in phrases', now: 'now', m: '{n}m', h: '{n}h',
236
240
  moods: { happy: 'Happy', neutral: 'Calm', sad: 'Sad', disgust: 'Bored', sleep: 'Asleep', thinking: 'Thinking' },
237
241
  kind: { tool: 'Tool', shell: 'Shell', prompt: 'You asked', stop: 'Turn finished', notify: 'Needs you', start: 'Session started' } },
238
- es: { dance: 'Bailar', settings: 'Ajustes', dismiss: 'Despedir', listen: 'Escuchar', listening: 'Te escucho… 🎙️', noStt: 'Para hablarme por voz falta una key de OpenAI o ElevenLabs (Ajustes).', noMic: 'No puedo usar el micrófono.', sttErr: 'No te entendí.', talk: 'Hablar', askPh: 'Recuérdame ver el correo en 10 min…', feed: 'Mimar', play: 'Jugar', sleep: 'Dormir', wake: 'Despertar', food: 'Comida', energy: 'Energía', fun: 'Diversión', level: 'Nivel {l}', xp: '{x} / {n} xp', live: 'En vivo', off: 'Reconectando…', approve: 'Aprobar', reject: 'Rechazar',
242
+ es: { game: 'Jugar byte', dance: 'Bailar', settings: 'Ajustes', card: 'Tarjeta', dismiss: 'Despedir', listen: 'Escuchar', listening: 'Te escucho… 🎙️', noStt: 'Para hablarme por voz falta una key de OpenAI o ElevenLabs (Ajustes).', noMic: 'No puedo usar el micrófono.', sttErr: 'No te entendí.', talk: 'Hablar', askPh: 'Recuérdame ver el correo en 10 min…', feed: 'Mimar', play: 'Jugar', sleep: 'Dormir', wake: 'Despertar', food: 'Comida', energy: 'Energía', fun: 'Diversión', level: 'Nivel {l}', xp: '{x} / {n} xp', live: 'En vivo', off: 'Reconectando…', approve: 'Aprobar', reject: 'Rechazar',
239
243
  activity: 'Actividad', empty: 'Nada todavía. Ejecuta un comando o pregúntale algo a tu agente.', tally: '{ok} ok · {fail} fallos · turnos {turns}',
240
244
  brain: 'Cerebro: {b}', age: 'Nació {d}', lines: 'frases propias', now: 'ahora', m: '{n} min', h: '{n} h',
241
245
  moods: { happy: 'Feliz', neutral: 'Tranquilo', sad: 'Triste', disgust: 'Aburrido', sleep: 'Dormido', thinking: 'Pensando' },
242
246
  kind: { tool: 'Herramienta', shell: 'Terminal', prompt: 'Preguntaste', stop: 'Turno terminado', notify: 'Te necesita', start: 'Sesión iniciada' } },
243
- pt: { dance: 'Dançar', settings: 'Ajustes', dismiss: 'Despedir', listen: 'Ouvir', listening: 'Estou ouvindo… 🎙️', noStt: 'Para falar por voz falta uma key da OpenAI ou ElevenLabs (Ajustes).', noMic: 'Não consigo usar o microfone.', sttErr: 'Não entendi.', talk: 'Falar', askPh: 'Me lembre de ver o e-mail em 10 min…', feed: 'Mimar', play: 'Brincar', sleep: 'Dormir', wake: 'Acordar', food: 'Comida', energy: 'Energia', fun: 'Diversão', level: 'Nível {l}', xp: '{x} / {n} xp', live: 'Ao vivo', off: 'Reconectando…', approve: 'Aprovar', reject: 'Recusar',
247
+ pt: { game: 'Jogar byte', dance: 'Dançar', settings: 'Ajustes', card: 'Carta', dismiss: 'Despedir', listen: 'Ouvir', listening: 'Estou ouvindo… 🎙️', noStt: 'Para falar por voz falta uma key da OpenAI ou ElevenLabs (Ajustes).', noMic: 'Não consigo usar o microfone.', sttErr: 'Não entendi.', talk: 'Falar', askPh: 'Me lembre de ver o e-mail em 10 min…', feed: 'Mimar', play: 'Brincar', sleep: 'Dormir', wake: 'Acordar', food: 'Comida', energy: 'Energia', fun: 'Diversão', level: 'Nível {l}', xp: '{x} / {n} xp', live: 'Ao vivo', off: 'Reconectando…', approve: 'Aprovar', reject: 'Recusar',
244
248
  activity: 'Atividade', empty: 'Nada ainda. Rode um comando ou pergunte algo ao seu agente.', tally: '{ok} ok · {fail} falhas · turnos {turns}',
245
249
  brain: 'Cérebro: {b}', age: 'Nasceu {d}', lines: 'frases próprias', now: 'agora', m: '{n} min', h: '{n} h',
246
250
  moods: { happy: 'Feliz', neutral: 'Tranquilo', sad: 'Triste', disgust: 'Entediado', sleep: 'Dormindo', thinking: 'Pensando' },
@@ -460,10 +464,16 @@
460
464
  else (ch.gesture(pokes % 2 ? 'stomp' : 'shake'), ch.effect?.('anger'), pokes >= 6 && ch.effect?.('steam'));
461
465
  }
462
466
 
467
+ // Audio log (pet.log via POST /log): which page said what and when, to debug a voice heard twice. PAGE tells pages apart.
468
+ const PAGE = Math.random().toString(36).slice(2, 8);
469
+ const alog = (msg) => {
470
+ console.log(`[7ots audio] ${PAGE} ${msg}`);
471
+ post('/log', { page: PAGE, msg }).catch(() => {});
472
+ };
463
473
  const post = (path, body) => fetch(path, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-7ots-Token': BOOT.token }, body: JSON.stringify(body) });
464
474
  let asleep = false;
465
475
  // something urgent while asleep: it wakes up for a moment (says it, walks over), then dozes off again
466
- let stirUntil = 0, stirT = 0;
476
+ let stirUntil = 0, stirT = 0, sleptAt = 0;
467
477
  function stir() {
468
478
  stirUntil = Date.now() + 30000;
469
479
  document.body.classList.remove('asleep');
@@ -493,6 +503,7 @@
493
503
  $('#mood').style.setProperty('--mood', MOOD_COLOR[m] || 'var(--muted)');
494
504
  }
495
505
  function render(s) {
506
+ if (s.asleep && !asleep && last) sleptAt = Date.now(); // just sent to bed: its "good night" still gets said
496
507
  last = s;
497
508
  asleep = s.asleep;
498
509
  const stirred = asleep && Date.now() < stirUntil;
@@ -571,14 +582,16 @@
571
582
  };
572
583
  async function speak(text, reply = false) {
573
584
  if (BOOT.voice?.kind === 'none') return;
585
+ if (speak.cur) alog(`cut #${speak.turn}`);
574
586
  hush();
575
587
  const turn = (speak.turn = (speak.turn || 0) + 1);
588
+ alog(`speak #${turn} ${BOOT.voice?.kind || 'browser'} «${clean(text).slice(0, 60)}»`);
576
589
  if (BOOT.voice?.kind && BOOT.voice.kind !== 'browser') {
577
590
  try {
578
591
  const r = await post('/tts', { text });
579
592
  if (r.ok) {
580
593
  const blob = await r.blob();
581
- if (turn !== speak.turn) return; // a newer line arrived while this one was synthesizing
594
+ if (turn !== speak.turn) return void alog(`drop #${turn} (a newer line came)`); // a newer line arrived while this one was synthesizing
582
595
  const audio = new Audio(URL.createObjectURL(blob));
583
596
  speak.cur = audio;
584
597
  speak.reply = reply;
@@ -595,10 +608,14 @@
595
608
  } catch {}
596
609
  talk(true, clean(text), (audio.duration || 0) * 1000);
597
610
  };
598
- audio.onended = audio.onerror = () => ((speak.cur = null), talk(false));
611
+ audio.onended = audio.onerror = (e) => (alog(`${e?.type === 'error' ? 'error' : 'end'} #${turn}`), (speak.cur = null), talk(false));
612
+ alog(`play #${turn} ${blob.size}B`);
599
613
  return await audio.play();
600
614
  }
601
- } catch {}
615
+ alog(`tts #${turn} failed ${r.status}`);
616
+ } catch (e) {
617
+ alog(`tts #${turn} threw ${e?.message || e}`);
618
+ }
602
619
  }
603
620
  if (turn !== speak.turn || !('speechSynthesis' in window)) return;
604
621
  const u = new SpeechSynthesisUtterance(clean(text));
@@ -609,6 +626,7 @@
609
626
  u.onboundary = (e) => lip?.sync?.(e.charIndex);
610
627
  u.onend = u.onerror = () => talk(false);
611
628
  speechSynthesis.cancel();
629
+ alog(`browser voice #${turn}`);
612
630
  speechSynthesis.speak(u);
613
631
  }
614
632
  function showBubble(content, ms) {
@@ -645,7 +663,7 @@
645
663
  // speech tags ([laugh], <whisper>…: settings → Voice → expressions) go to the voice, never to the bubble (as src/voice/tags.js)
646
664
  const clean = (t) => String(t ?? '').replace(/<\/?(loud|soft|whisper|fast|slow|singing)>/gi, '').replace(/\s*\[(pause|long-pause|laugh|cry|mouth-click|breath|sigh)\]\s*/gi, ' ').replace(/\s{2,}/g, ' ').trim();
647
665
  function say(raw, withFace = false, ambient = false) {
648
- if (ambient && speak.cur && speak.reply) return; // small talk waits for the answer to finish
666
+ if (ambient && speak.cur && speak.reply) return void alog('skip ambient (an answer is playing)'); // small talk waits for the answer to finish
649
667
  const text = clean(raw);
650
668
  showBubble(document.createTextNode(text), Math.max(4500, text.length * 90));
651
669
  talk(true, text); // the mouth moves with the words even without a voice; a real voice re-syncs it
@@ -739,10 +757,12 @@
739
757
  if (m.ask) ask4(m.ask); // before thinking: an approved ask hands the bubble back to the dots
740
758
  if ('thinking' in m) setThinking(!!m.thinking);
741
759
  if (m.activity) addActivity(m.activity);
760
+ // asleep (and not stirred by something you asked for): no moving, gestures or talking
761
+ if (asleep && Date.now() >= stirUntil && Date.now() - sleptAt > 15000) return void (m.dance && dance(m.dance));
742
762
  if (m.gesture) ch.gesture(m.gesture);
743
763
  if (m.morph) ch.morph?.(m.morph);
744
764
  if (m.effect) ch.effect?.(m.effect);
745
- if (m.say) say(m.say, !m.gesture, !!m.ambient);
765
+ if (m.say) alog(`got say${m.ambient ? ' (ambient)' : ''} «${clean(m.say).slice(0, 40)}»`), say(m.say, !m.gesture, !!m.ambient);
746
766
  if (m.dance) dance(m.dance);
747
767
  if (m.entrance) entrance(m.entrance);
748
768
  if (m.point && desktop) window.__goal = m.point; // the desktop shell walks it over there
@@ -756,10 +776,12 @@
756
776
  const askIn = $('#askIn');
757
777
  askIn.placeholder = t('askPh');
758
778
  $('#setBtn').href = `/settings?token=${encodeURIComponent(BOOT.token)}`;
779
+ $('#cardBtn').href = `/card?token=${encodeURIComponent(BOOT.token)}`;
759
780
  $('#setBtn').title = t('settings');
760
781
  if (!desktop) $('#setBtn').removeAttribute('target'); // in a browser tab, Settings opens in place (its Back returns here); the desktop window opens a tab
761
782
  $('#byeBtn').title = t('dismiss');
762
- $('#byeBtn').addEventListener('click', () => console.debug('\u00a77bye')); // the shell sends the visitor home
783
+ $('#byeBtn').addEventListener('click', () => console.debug('\u00a77bye'));
784
+ $('#gameBtn').addEventListener('click', () => console.debug('\u00a77game')); // the shell shows byte's games, then the game in a small window // the shell sends the visitor home
763
785
  const talking = (on) => {
764
786
  document.body.classList.toggle('talking', on);
765
787
  if (on) askIn.focus();
@@ -992,7 +1014,8 @@
992
1014
  }
993
1015
  function music(m, ms, style) {
994
1016
  stopMusic(0.2);
995
- if (!m || guest) return; // a visitor dances along to the host's music
1017
+ if (!m || guest) return;
1018
+ alog(`music ${m.file || m.style || style || 'hype'} ${ms}ms`); // a visitor dances along to the host's music
996
1019
  const vol = Math.max(0, Math.min(1, m.vol ?? 0.5));
997
1020
  if (m.file) {
998
1021
  const a = new Audio(`/music/${encodeURIComponent(m.file)}?token=${encodeURIComponent(BOOT.token)}`);
@@ -339,6 +339,12 @@
339
339
  <div id="char"></div>
340
340
  </section>
341
341
 
342
+ <section aria-labelledby="hWal">
343
+ <h2 id="hWal" data-t="walH"></h2>
344
+ <p class="hint" data-t="walD"></p>
345
+ <div id="wallet"></div>
346
+ </section>
347
+
342
348
  <section aria-labelledby="hCom">
343
349
  <h2 id="hCom" data-t="comH"></h2>
344
350
  <p class="hint" data-t="comHint"></p>
@@ -504,8 +510,8 @@
504
510
  cloudH: '7ots cloud', cloudD: 'Your account on 7ots.com and the ot twinned with this one.', cloudOff: 'Not connected.', cloudAs: 'Connected as {who}', cloudTwin: 'twin: {name}', cloudNoTwin: 'no ot twinned yet', goAcc: 'Connect in Account',
505
511
  offload: 'Hand work to your server', offloadD: 'Send long tasks (research, reading pages…) to your ot’s cloud worker. It only gets the request and, with Memory on, your notes.', kindsL: 'Kinds', k_research: 'research', k_browse: 'read pages', k_long: 'long tasks', k_code: 'code', k_shell: 'shell commands', vmNone: 'no server yet: add yours at 7ots.com → your ot → Assistant', vmPending: 'waiting for the server to enroll', vmOnline: 'online', vmOffline: 'offline', vmTerminated: 'revoked',
506
512
  vmH: 'Cloud assistant', vmD: 'Your ot running 24/7 in the cloud, even with this computer off.', vmDenied: 'no access', vmError: 'couldn’t check', vmSince: 'since {d}',
507
- orqH: 'Orquesta', orqD: 'See your Orquesta agents and send them tasks; it tells you when they finish.', orqHint: 'Or run 7ots login orquesta in a terminal.', orqNoToken: 'Not connected: it can’t see your agents yet.', orqConnect: 'Connect Orquesta', orqWaiting: 'Finish signing in in your browser…', orqProject: 'Agent (default project)', orqOnline: 'online', orqOffline: 'offline', orqNone: 'No projects.', orqSend: 'Send', orqTask: 'Task for the agent', orqSent: 'Sent · {status}', orqRefresh: 'Reload',
508
- mailH: 'Email (apumail)', mailD: 'An apumail inbox it can read when you ask (turn on “Read your mail” above).', mailInbox: 'Inbox address', mailToken: 'apumail token',
513
+ orqH: 'Orquesta', orqD: 'See your Orquesta agents and send them tasks; it tells you when they finish.', orqHint: 'Or run 7ots login orquesta in a terminal.', orqNoToken: 'Not connected: it can’t see your agents yet.', orqConnect: 'Connect Orquesta', orqWaiting: 'Finish signing in in your browser…', orqProject: 'Agent (default project)', orqOnline: 'online', orqOffline: 'offline', orqNone: 'No projects.', orqSend: 'Send', orqTask: 'Task for the agent', orqSent: 'Sent · {status}', orqRefresh: 'Reload', walH: 'Wallet', walD: 'Its own wallet inside your Notlogin account (on 7ots.com). Read only here.', walNotLinked: 'Not connected to Notlogin yet.', walManage: 'Manage on 7ots.com', walCopy: 'Copy address', walCopied: 'Address copied', walTxs: 'See its transactions', walPays: 'Payments', walNoPays: 'No payments yet.', walSt_pending: 'Waiting for you', walSt_confirming: 'Confirming', walSt_paid: 'Paid', walSt_declined: 'Declined', walSt_cancelled: 'Cancelled', orqVia7ots: 'Connected through your 7ots.com account.',
514
+ mailH: 'Email (apumail)', mailD: 'An apumail inbox it can read when you ask (turn on “Read your mail” above).', mailInbox: 'Inbox address (optional with an account token: reads all of them)', mailToken: 'apumail token (inbox or account, acct_…)',
509
515
  customH: 'Custom integrations', customD: 'Connect it to anything: an MCP server, an API, a command on this computer, or just tell it how something works. It sees these as tools and uses them when you ask.', customAdd: 'Add:', customName: 'Name', customInstr: 'Instructions for the brain', customUrl: 'URL (optional)', customCmd: 'Command (optional)', customEnv: 'Token env var (optional)', customEnvHint: 'Read from this computer’s environment or ~/.7ots/keys.json, never shown.', edit: 'Edit', remove: 'Remove', untitled: 'New integration',
510
516
  ck_mcp: 'MCP server', ck_api: 'API', ck_command: 'Command', ck_note: 'Instructions only', ck_mcpD: 'A Model Context Protocol server: it lists its tools and calls them', ck_apiD: 'A URL it can read (GET), with a token', ck_commandD: 'A command it can run on this computer', ck_noteD: 'Just tell it something it should know or do', ck_mcpPh: 'GitHub, Linear, my database…', ck_apiPh: 'Weather, my CRM…', ck_commandPh: 'Disk usage, git status…', ck_notePh: 'How we deploy…', ck_mcpInstr: 'When to use it (optional): “for anything about my issues”', ck_apiInstr: 'What it returns and when to use it', ck_commandInstr: 'What it shows and when to run it', ck_noteInstr: 'What it should know or do', mcpUrl: 'Server URL (HTTP)', mcpCmd: 'Command that starts it (stdio)', mcpHint: 'Remote servers by URL (Streamable HTTP); local ones by command. It asks you before calling a tool that may change something.', apiUrl: 'Base URL', apiHint: 'It can add a sub-path or query to this URL. GET only; the token goes as Bearer.', cmdHint: 'Runs with /bin/sh on this computer, 20 s max. Secrets in the output are hidden.', mcpTest: 'Connect and list tools', customTest: 'Try it', mcpTools: '{n} tools', orWord: 'or', whatIs: 'What is {n}?', e_customCmd: 'a command is needed', e_customMcp: 'an MCP server needs a URL or a command',
511
517
  charH: 'Character sheet', charHint: 'Who it is. This weighs more than the traits from 7ots.com: backstory, how it talks, its quirks and example dialogues.',
@@ -526,8 +532,8 @@
526
532
  cloudH: '7ots nube', cloudD: 'Tu cuenta en 7ots.com y el ot gemelo de este.', cloudOff: 'Sin conectar.', cloudAs: 'Conectado como {who}', cloudTwin: 'gemelo: {name}', cloudNoTwin: 'todavía sin ot gemelo', goAcc: 'Conectar en Cuenta',
527
533
  offload: 'Mandar trabajo a tu servidor', offloadD: 'Envía tareas largas (investigar, leer páginas…) al worker en la nube de tu ot. Solo recibe el pedido y, con Memoria activa, tus notas.', kindsL: 'Tipos', k_research: 'investigar', k_browse: 'leer páginas', k_long: 'tareas largas', k_code: 'código', k_shell: 'comandos shell', vmNone: 'aún sin servidor: agrega el tuyo en 7ots.com → tu ot → Asistente', vmPending: 'esperando que el servidor se enrole', vmOnline: 'en línea', vmOffline: 'desconectado', vmTerminated: 'revocado',
528
534
  vmH: 'Asistente en la nube', vmD: 'Tu ot funcionando 24/7 en la nube, aunque este computador esté apagado.', vmDenied: 'sin acceso', vmError: 'no se pudo revisar', vmSince: 'desde {d}',
529
- orqH: 'Orquesta', orqD: 'Ver tus agentes de Orquesta y mandarles tareas; te avisa cuando terminan.', orqHint: 'O ejecuta 7ots login orquesta en una terminal.', orqNoToken: 'Sin conectar: todavía no ve tus agentes.', orqConnect: 'Conectar Orquesta', orqWaiting: 'Termina de iniciar sesión en tu navegador…', orqProject: 'Agente (proyecto por defecto)', orqOnline: 'en línea', orqOffline: 'desconectado', orqNone: 'Sin proyectos.', orqSend: 'Enviar', orqTask: 'Tarea para el agente', orqSent: 'Enviado · {status}', orqRefresh: 'Recargar',
530
- mailH: 'Correo (apumail)', mailD: 'Una bandeja de apumail que puede leer cuando se lo pides (activa “Leer tu correo” arriba).', mailInbox: 'Dirección de la bandeja', mailToken: 'Token de apumail',
535
+ orqH: 'Orquesta', orqD: 'Ver tus agentes de Orquesta y mandarles tareas; te avisa cuando terminan.', orqHint: 'O ejecuta 7ots login orquesta en una terminal.', orqNoToken: 'Sin conectar: todavía no ve tus agentes.', orqConnect: 'Conectar Orquesta', orqWaiting: 'Termina de iniciar sesión en tu navegador…', orqProject: 'Agente (proyecto por defecto)', orqOnline: 'en línea', orqOffline: 'desconectado', orqNone: 'Sin proyectos.', orqSend: 'Enviar', orqTask: 'Tarea para el agente', orqSent: 'Enviado · {status}', orqRefresh: 'Recargar', walH: 'Billetera', walD: 'Su propia billetera dentro de tu cuenta Notlogin (en 7ots.com). Aquí solo lectura.', walNotLinked: 'Todavía no está conectada a Notlogin.', walManage: 'Gestionar en 7ots.com', walCopy: 'Copiar dirección', walCopied: 'Dirección copiada', walTxs: 'Ver sus transacciones', walPays: 'Pagos', walNoPays: 'Sin pagos todavía.', walSt_pending: 'Esperándote', walSt_confirming: 'Confirmando', walSt_paid: 'Pagado', walSt_declined: 'Rechazado', walSt_cancelled: 'Cancelado', orqVia7ots: 'Conectado con tu cuenta de 7ots.com.',
536
+ mailH: 'Correo (apumail)', mailD: 'Una bandeja de apumail que puede leer cuando se lo pides (activa “Leer tu correo” arriba).', mailInbox: 'Dirección de la bandeja (opcional con token de cuenta: lee todas)', mailToken: 'Token de apumail (del buzón o de la cuenta, acct_…)',
531
537
  customH: 'Integraciones propias', customD: 'Conéctalo con lo que quieras: un servidor MCP, una API, un comando de este computador, o solo explícale cómo funciona algo. Los ve como herramientas y los usa cuando se lo pides.', customAdd: 'Agregar:', customName: 'Nombre', customInstr: 'Instrucciones para el cerebro', customUrl: 'URL (opcional)', customCmd: 'Comando (opcional)', customEnv: 'Variable con el token (opcional)', customEnvHint: 'Se lee del entorno de este computador o de ~/.7ots/keys.json, nunca se muestra.', edit: 'Editar', remove: 'Quitar', untitled: 'Nueva integración',
532
538
  ck_mcp: 'Servidor MCP', ck_api: 'API', ck_command: 'Comando', ck_note: 'Solo instrucciones', ck_mcpD: 'Un servidor Model Context Protocol: lista sus herramientas y las usa', ck_apiD: 'Una URL que puede leer (GET), con un token', ck_commandD: 'Un comando que puede ejecutar en este computador', ck_noteD: 'Solo dile algo que debe saber o hacer', ck_mcpPh: 'GitHub, Linear, mi base de datos…', ck_apiPh: 'Clima, mi CRM…', ck_commandPh: 'Uso de disco, git status…', ck_notePh: 'Cómo deployamos…', ck_mcpInstr: 'Cuándo usarlo (opcional): “para todo lo de mis issues”', ck_apiInstr: 'Qué devuelve y cuándo usarla', ck_commandInstr: 'Qué muestra y cuándo ejecutarlo', ck_noteInstr: 'Qué debe saber o hacer', mcpUrl: 'URL del servidor (HTTP)', mcpCmd: 'Comando que lo inicia (stdio)', mcpHint: 'Servidores remotos por URL (Streamable HTTP); locales por comando. Te pregunta antes de usar una herramienta que pueda cambiar algo.', apiUrl: 'URL base', apiHint: 'Puede agregar una sub-ruta o query a esta URL. Solo GET; el token va como Bearer.', cmdHint: 'Corre con /bin/sh en este computador, máximo 20 s. Los secretos en la salida se ocultan.', mcpTest: 'Conectar y listar herramientas', customTest: 'Probar', mcpTools: '{n} herramientas', orWord: 'o', whatIs: '¿Qué es {n}?', e_customCmd: 'falta el comando', e_customMcp: 'un servidor MCP necesita una URL o un comando',
533
539
  charH: 'Ficha del personaje', charHint: 'Quién es. Pesa más que los rasgos de 7ots.com: historia, cómo habla, sus manías y diálogos de ejemplo.',
@@ -548,8 +554,8 @@
548
554
  cloudH: '7ots nuvem', cloudD: 'Sua conta no 7ots.com e o ot gêmeo deste.', cloudOff: 'Não conectado.', cloudAs: 'Conectado como {who}', cloudTwin: 'gêmeo: {name}', cloudNoTwin: 'ainda sem ot gêmeo', goAcc: 'Conectar em Conta',
549
555
  offload: 'Mandar trabalho ao seu servidor', offloadD: 'Envia tarefas longas (pesquisar, ler páginas…) ao worker na nuvem do seu ot. Ele só recebe o pedido e, com Memória ativa, suas notas.', kindsL: 'Tipos', k_research: 'pesquisar', k_browse: 'ler páginas', k_long: 'tarefas longas', k_code: 'código', k_shell: 'comandos shell', vmNone: 'ainda sem servidor: adicione o seu em 7ots.com → seu ot → Assistente', vmPending: 'esperando o servidor se registrar', vmOnline: 'online', vmOffline: 'offline', vmTerminated: 'revogado',
550
556
  vmH: 'Assistente na nuvem', vmD: 'Seu ot rodando 24/7 na nuvem, mesmo com este computador desligado.', vmDenied: 'sem acesso', vmError: 'não deu para verificar', vmSince: 'desde {d}',
551
- orqH: 'Orquesta', orqD: 'Ver seus agentes da Orquesta e mandar tarefas; ele avisa quando terminam.', orqHint: 'Ou rode 7ots login orquesta num terminal.', orqNoToken: 'Sem conexão: ainda não vê seus agentes.', orqConnect: 'Conectar Orquesta', orqWaiting: 'Termine o login no seu navegador…', orqProject: 'Agente (projeto padrão)', orqOnline: 'online', orqOffline: 'offline', orqNone: 'Sem projetos.', orqSend: 'Enviar', orqTask: 'Tarefa para o agente', orqSent: 'Enviado · {status}', orqRefresh: 'Recarregar',
552
- mailH: 'E-mail (apumail)', mailD: 'Uma caixa do apumail que ele pode ler quando você pede (ative “Ler seu e-mail” acima).', mailInbox: 'Endereço da caixa', mailToken: 'Token do apumail',
557
+ orqH: 'Orquesta', orqD: 'Ver seus agentes da Orquesta e mandar tarefas; ele avisa quando terminam.', orqHint: 'Ou rode 7ots login orquesta num terminal.', orqNoToken: 'Sem conexão: ainda não vê seus agentes.', orqConnect: 'Conectar Orquesta', orqWaiting: 'Termine o login no seu navegador…', orqProject: 'Agente (projeto padrão)', orqOnline: 'online', orqOffline: 'offline', orqNone: 'Sem projetos.', orqSend: 'Enviar', orqTask: 'Tarefa para o agente', orqSent: 'Enviado · {status}', orqRefresh: 'Recarregar', walH: 'Carteira', walD: 'A própria carteira dentro da sua conta Notlogin (no 7ots.com). Aqui só leitura.', walNotLinked: 'Ainda não conectada ao Notlogin.', walManage: 'Gerenciar no 7ots.com', walCopy: 'Copiar endereço', walCopied: 'Endereço copiado', walTxs: 'Ver suas transações', walPays: 'Pagamentos', walNoPays: 'Sem pagamentos ainda.', walSt_pending: 'Esperando você', walSt_confirming: 'Confirmando', walSt_paid: 'Pago', walSt_declined: 'Recusado', walSt_cancelled: 'Cancelado', orqVia7ots: 'Conectado pela sua conta 7ots.com.',
558
+ mailH: 'E-mail (apumail)', mailD: 'Uma caixa do apumail que ele pode ler quando você pede (ative “Ler seu e-mail” acima).', mailInbox: 'Endereço da caixa (opcional com token da conta: lê todas)', mailToken: 'Token do apumail (da caixa ou da conta, acct_…)',
553
559
  customH: 'Integrações próprias', customD: 'Conecte com o que quiser: um servidor MCP, uma API, um comando deste computador, ou só explique como algo funciona. Ele vê isso como ferramentas e usa quando você pede.', customAdd: 'Adicionar:', customName: 'Nome', customInstr: 'Instruções para o cérebro', customUrl: 'URL (opcional)', customCmd: 'Comando (opcional)', customEnv: 'Variável com o token (opcional)', customEnvHint: 'Lida do ambiente deste computador ou de ~/.7ots/keys.json, nunca mostrada.', edit: 'Editar', remove: 'Remover', untitled: 'Nova integração',
554
560
  ck_mcp: 'Servidor MCP', ck_api: 'API', ck_command: 'Comando', ck_note: 'Só instruções', ck_mcpD: 'Um servidor Model Context Protocol: lista as ferramentas e as usa', ck_apiD: 'Uma URL que ele pode ler (GET), com um token', ck_commandD: 'Um comando que ele pode rodar neste computador', ck_noteD: 'Só diga algo que ele deve saber ou fazer', ck_mcpPh: 'GitHub, Linear, meu banco de dados…', ck_apiPh: 'Clima, meu CRM…', ck_commandPh: 'Uso de disco, git status…', ck_notePh: 'Como fazemos deploy…', ck_mcpInstr: 'Quando usar (opcional): “para tudo sobre minhas issues”', ck_apiInstr: 'O que retorna e quando usar', ck_commandInstr: 'O que mostra e quando rodar', ck_noteInstr: 'O que ele deve saber ou fazer', mcpUrl: 'URL do servidor (HTTP)', mcpCmd: 'Comando que o inicia (stdio)', mcpHint: 'Servidores remotos por URL (Streamable HTTP); locais por comando. Ele pergunta antes de usar uma ferramenta que pode mudar algo.', apiUrl: 'URL base', apiHint: 'Ele pode adicionar um sub-caminho ou query a esta URL. Só GET; o token vai como Bearer.', cmdHint: 'Roda com /bin/sh neste computador, no máximo 20 s. Segredos na saída ficam ocultos.', mcpTest: 'Conectar e listar ferramentas', customTest: 'Testar', mcpTools: '{n} ferramentas', orWord: 'ou', whatIs: 'O que é {n}?', e_customCmd: 'falta o comando', e_customMcp: 'um servidor MCP precisa de uma URL ou de um comando',
555
561
  charH: 'Ficha do personagem', charHint: 'Quem ele é. Pesa mais que os traços do 7ots.com: história, jeito de falar, manias e diálogos de exemplo.',
@@ -718,9 +724,9 @@
718
724
 
719
725
  // ── navigation: one section at a time, remembered in the URL hash ──
720
726
  const NAV = {
721
- en: { acc: 'Account', brain: 'Brain', voice: 'Voice', access: 'Permissions', pet: 'Personality', com: 'Community', notes: 'Memory', rem: 'Processes', inf: 'Activity' },
722
- es: { acc: 'Cuenta', brain: 'Cerebro', voice: 'Voz', access: 'Permisos', pet: 'Personalidad', com: 'Comunidad', notes: 'Memoria', rem: 'Procesos', inf: 'Actividad' },
723
- pt: { acc: 'Conta', brain: 'Cérebro', voice: 'Voz', access: 'Permissões', pet: 'Personalidade', com: 'Comunidade', notes: 'Memória', rem: 'Processos', inf: 'Atividade' },
727
+ en: { acc: 'Account', brain: 'Brain', voice: 'Voice', access: 'Permissions', wal: 'Wallet', pet: 'Personality', com: 'Community', notes: 'Memory', rem: 'Processes', inf: 'Activity' },
728
+ es: { acc: 'Cuenta', brain: 'Cerebro', voice: 'Voz', access: 'Permisos', wal: 'Billetera', pet: 'Personalidad', com: 'Comunidad', notes: 'Memoria', rem: 'Procesos', inf: 'Actividad' },
729
+ pt: { acc: 'Conta', brain: 'Cérebro', voice: 'Voz', access: 'Permissões', wal: 'Carteira', pet: 'Personalidade', com: 'Comunidade', notes: 'Memória', rem: 'Processos', inf: 'Atividade' },
724
730
  };
725
731
  // moods and inference purposes arrive as English codes from the daemon
726
732
  const WORDS = {
@@ -731,6 +737,7 @@
731
737
  const SI = {"anthropic": "M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z", "claude": "m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z", "googlegemini": "M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81", "ollama": "M16.361 10.26a.894.894 0 0 0-.558.47l-.072.148.001.207c0 .193.004.217.059.353.076.193.152.312.291.448.24.238.51.3.872.205a.86.86 0 0 0 .517-.436.752.752 0 0 0 .08-.498c-.064-.453-.33-.782-.724-.897a1.06 1.06 0 0 0-.466 0zm-9.203.005c-.305.096-.533.32-.65.639a1.187 1.187 0 0 0-.06.52c.057.309.31.59.598.667.362.095.632.033.872-.205.14-.136.215-.255.291-.448.055-.136.059-.16.059-.353l.001-.207-.072-.148a.894.894 0 0 0-.565-.472 1.02 1.02 0 0 0-.474.007Zm4.184 2c-.131.071-.223.25-.195.383.031.143.157.288.353.407.105.063.112.072.117.136.004.038-.01.146-.029.243-.02.094-.036.194-.036.222.002.074.07.195.143.253.064.052.076.054.255.059.164.005.198.001.264-.03.169-.082.212-.234.15-.525-.052-.243-.042-.28.087-.355.137-.08.281-.219.324-.314a.365.365 0 0 0-.175-.48.394.394 0 0 0-.181-.033c-.126 0-.207.03-.355.124l-.085.053-.053-.032c-.219-.13-.259-.145-.391-.143a.396.396 0 0 0-.193.032zm.39-2.195c-.373.036-.475.05-.654.086-.291.06-.68.195-.951.328-.94.46-1.589 1.226-1.787 2.114-.04.176-.045.234-.045.53 0 .294.005.357.043.524.264 1.16 1.332 2.017 2.714 2.173.3.033 1.596.033 1.896 0 1.11-.125 2.064-.727 2.493-1.571.114-.226.169-.372.22-.602.039-.167.044-.23.044-.523 0-.297-.005-.355-.045-.531-.288-1.29-1.539-2.304-3.072-2.497a6.873 6.873 0 0 0-.855-.031zm.645.937a3.283 3.283 0 0 1 1.44.514c.223.148.537.458.671.662.166.251.26.508.303.82.02.143.01.251-.043.482-.08.345-.332.705-.672.957a3.115 3.115 0 0 1-.689.348c-.382.122-.632.144-1.525.138-.582-.006-.686-.01-.853-.042-.57-.107-1.022-.334-1.35-.68-.264-.28-.385-.535-.45-.946-.03-.192.025-.509.137-.776.136-.326.488-.73.836-.963.403-.269.934-.46 1.422-.512.187-.02.586-.02.773-.002zm-5.503-11a1.653 1.653 0 0 0-.683.298C5.617.74 5.173 1.666 4.985 2.819c-.07.436-.119 1.04-.119 1.503 0 .544.064 1.24.155 1.721.02.107.031.202.023.208a8.12 8.12 0 0 1-.187.152 5.324 5.324 0 0 0-.949 1.02 5.49 5.49 0 0 0-.94 2.339 6.625 6.625 0 0 0-.023 1.357c.091.78.325 1.438.727 2.04l.13.195-.037.064c-.269.452-.498 1.105-.605 1.732-.084.496-.095.629-.095 1.294 0 .67.009.803.088 1.266.095.555.288 1.143.503 1.534.071.128.243.393.264.407.007.003-.014.067-.046.141a7.405 7.405 0 0 0-.548 1.873c-.062.417-.071.552-.071.991 0 .56.031.832.148 1.279L3.42 24h1.478l-.05-.091c-.297-.552-.325-1.575-.068-2.597.117-.472.25-.819.498-1.296l.148-.29v-.177c0-.165-.003-.184-.057-.293a.915.915 0 0 0-.194-.25 1.74 1.74 0 0 1-.385-.543c-.424-.92-.506-2.286-.208-3.451.124-.486.329-.918.544-1.154a.787.787 0 0 0 .223-.531c0-.195-.07-.355-.224-.522a3.136 3.136 0 0 1-.817-1.729c-.14-.96.114-2.005.69-2.834.563-.814 1.353-1.336 2.237-1.475.199-.033.57-.028.776.01.226.04.367.028.512-.041.179-.085.268-.19.374-.431.093-.215.165-.333.36-.576.234-.29.46-.489.822-.729.413-.27.884-.467 1.352-.561.17-.035.25-.04.569-.04.319 0 .398.005.569.04a4.07 4.07 0 0 1 1.914.997c.117.109.398.457.488.602.034.057.095.177.132.267.105.241.195.346.374.43.14.068.286.082.503.045.343-.058.607-.053.943.016 1.144.23 2.14 1.173 2.581 2.437.385 1.108.276 2.267-.296 3.153-.097.15-.193.27-.333.419-.301.322-.301.722-.001 1.053.493.539.801 1.866.708 3.036-.062.772-.26 1.463-.533 1.854a2.096 2.096 0 0 1-.224.258.916.916 0 0 0-.194.25c-.054.109-.057.128-.057.293v.178l.148.29c.248.476.38.823.498 1.295.253 1.008.231 2.01-.059 2.581a.845.845 0 0 0-.044.098c0 .006.329.009.732.009h.73l.02-.074.036-.134c.019-.076.057-.3.088-.516.029-.217.029-1.016 0-1.258-.11-.875-.295-1.57-.597-2.226-.032-.074-.053-.138-.046-.141.008-.005.057-.074.108-.152.376-.569.607-1.284.724-2.228.031-.26.031-1.378 0-1.628-.083-.645-.182-1.082-.348-1.525a6.083 6.083 0 0 0-.329-.7l-.038-.064.131-.194c.402-.604.636-1.262.727-2.04a6.625 6.625 0 0 0-.024-1.358 5.512 5.512 0 0 0-.939-2.339 5.325 5.325 0 0 0-.95-1.02 8.097 8.097 0 0 1-.186-.152.692.692 0 0 1 .023-.208c.208-1.087.201-2.443-.017-3.503-.19-.924-.535-1.658-.98-2.082-.354-.338-.716-.482-1.15-.455-.996.059-1.8 1.205-2.116 3.01a6.805 6.805 0 0 0-.097.726c0 .036-.007.066-.015.066a.96.96 0 0 1-.149-.078A4.857 4.857 0 0 0 12 3.03c-.832 0-1.687.243-2.456.698a.958.958 0 0 1-.148.078c-.008 0-.015-.03-.015-.066a6.71 6.71 0 0 0-.097-.725C8.997 1.392 8.337.319 7.46.048a2.096 2.096 0 0 0-.585-.041Zm.293 1.402c.248.197.523.759.682 1.388.03.113.06.244.069.292.007.047.026.152.041.233.067.365.098.76.102 1.24l.002.475-.12.175-.118.178h-.278c-.324 0-.646.041-.954.124l-.238.06c-.033.007-.038-.003-.057-.144a8.438 8.438 0 0 1 .016-2.323c.124-.788.413-1.501.696-1.711.067-.05.079-.049.157.013zm9.825-.012c.17.126.358.46.498.888.28.854.36 2.028.212 3.145-.019.14-.024.151-.057.144l-.238-.06a3.693 3.693 0 0 0-.954-.124h-.278l-.119-.178-.119-.175.002-.474c.004-.669.066-1.19.214-1.772.157-.623.434-1.185.68-1.382.078-.062.09-.063.159-.012z"};
732
738
  const LU = {"users":"<path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\" /> <circle cx=\"9\" cy=\"7\" r=\"4\" /> <path d=\"M22 21v-2a4 4 0 0 0-3-3.87\" /> <path d=\"M16 3.13a4 4 0 0 1 0 7.75\" />","flag":"<path d=\"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z\" /> <line x1=\"4\" x2=\"4\" y1=\"22\" y2=\"15\" />","share-2":"<circle cx=\"18\" cy=\"5\" r=\"3\" /> <circle cx=\"6\" cy=\"12\" r=\"3\" /> <circle cx=\"18\" cy=\"19\" r=\"3\" /> <line x1=\"8.59\" x2=\"15.42\" y1=\"13.51\" y2=\"17.49\" /> <line x1=\"15.41\" x2=\"8.59\" y1=\"6.51\" y2=\"10.49\" />","trash-2":"<path d=\"M3 6h18\" /> <path d=\"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6\" /> <path d=\"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2\" /> <line x1=\"10\" x2=\"10\" y1=\"11\" y2=\"17\" /> <line x1=\"14\" x2=\"14\" y1=\"11\" y2=\"17\" />","user-round":"<circle cx=\"12\" cy=\"8\" r=\"5\" /> <path d=\"M20 21a8 8 0 0 0-16 0\" />","cpu":"<path d=\"M12 20v2\" /> <path d=\"M12 2v2\" /> <path d=\"M17 20v2\" /> <path d=\"M17 2v2\" /> <path d=\"M2 12h2\" /> <path d=\"M2 17h2\" /> <path d=\"M2 7h2\" /> <path d=\"M20 12h2\" /> <path d=\"M20 17h2\" /> <path d=\"M20 7h2\" /> <path d=\"M7 20v2\" /> <path d=\"M7 2v2\" /> <rect x=\"4\" y=\"4\" width=\"16\" height=\"16\" rx=\"2\" /> <rect x=\"8\" y=\"8\" width=\"8\" height=\"8\" rx=\"1\" />","mic":"<path d=\"M12 19v3\" /> <path d=\"M19 10v2a7 7 0 0 1-14 0v-2\" /> <rect x=\"9\" y=\"2\" width=\"6\" height=\"13\" rx=\"3\" />","shield-check":"<path d=\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\" /> <path d=\"m9 12 2 2 4-4\" />","message-circle":"<path d=\"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719\" />","notebook-pen":"<path d=\"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4\" /> <path d=\"M2 6h4\" /> <path d=\"M2 10h4\" /> <path d=\"M2 14h4\" /> <path d=\"M2 18h4\" /> <path d=\"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z\" />","activity":"<path d=\"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2\" />","scroll-text":"<path d=\"M15 12h-5\" /> <path d=\"M15 8h-5\" /> <path d=\"M19 17V5a2 2 0 0 0-2-2H4\" /> <path d=\"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3\" />","terminal":"<path d=\"M12 19h8\" /> <path d=\"m4 17 6-6-6-6\" />","sparkles":"<path d=\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z\" /> <path d=\"M20 2v4\" /> <path d=\"M22 4h-4\" /> <circle cx=\"4\" cy=\"20\" r=\"2\" />","workflow":"<rect width=\"8\" height=\"8\" x=\"3\" y=\"3\" rx=\"2\" /> <path d=\"M7 11v4a2 2 0 0 0 2 2h4\" /> <rect width=\"8\" height=\"8\" x=\"13\" y=\"13\" rx=\"2\" />","alarm-clock":"<circle cx=\"12\" cy=\"13\" r=\"8\" /> <path d=\"M12 9v4l2 2\" /> <path d=\"M5 3 2 6\" /> <path d=\"m22 6-3-3\" /> <path d=\"M6.38 18.7 4 21\" /> <path d=\"M17.64 18.67 20 21\" />","trending-up":"<path d=\"M16 7h6v6\" /> <path d=\"m22 7-8.5 8.5-5-5L2 17\" />","eye":"<path d=\"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0\" /> <circle cx=\"12\" cy=\"12\" r=\"3\" />","house":"<path d=\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\" /> <path d=\"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" />","box":"<path d=\"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z\"/><path d=\"m3.3 7 8.7 5 8.7-5\"/><path d=\"M12 22V12\"/>","plus":"<path d=\"M5 12h14\"/><path d=\"M12 5v14\"/>","monitor":"<rect width=\"20\" height=\"14\" x=\"2\" y=\"3\" rx=\"2\"/><line x1=\"8\" x2=\"16\" y1=\"21\" y2=\"21\"/><line x1=\"12\" x2=\"12\" y1=\"17\" y2=\"21\"/>","palette":"<path d=\"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z\"/><circle cx=\"13.5\" cy=\"6.5\" r=\".5\" fill=\"currentColor\"/><circle cx=\"17.5\" cy=\"10.5\" r=\".5\" fill=\"currentColor\"/><circle cx=\"6.5\" cy=\"12.5\" r=\".5\" fill=\"currentColor\"/><circle cx=\"8.5\" cy=\"7.5\" r=\".5\" fill=\"currentColor\"/>","arrow-right":"<path d=\"M5 12h14\"/><path d=\"m12 5 7 7-7 7\"/>","volume-2":"<path d=\"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z\"/><path d=\"M16 9a5 5 0 0 1 0 6\"/><path d=\"M19.364 18.364a9 9 0 0 0 0-12.728\"/>","external-link":"<path d=\"M15 3h6v6\"/><path d=\"M10 14 21 3\"/><path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\"/>","sliders-horizontal":"<path d=\"M21 4h-7\"/><path d=\"M10 4H3\"/><path d=\"M21 12h-9\"/><path d=\"M8 12H3\"/><path d=\"M21 20h-5\"/><path d=\"M12 20H3\"/><path d=\"M14 2v4\"/><path d=\"M8 10v4\"/><path d=\"M16 18v4\"/>"};
733
739
  Object.assign(SI, {"elevenlabs": "M4.6035 0v24h4.9317V0zm9.8613 0v24h4.9317V0z", "fishaudio": "M23.12 12.13v.62c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-.62c0-.24-.2-.44-.44-.44-.25 0-.44.2-.44.44m-1.77.37v1.74c0 .24.2.44.44.44.25 0 .44-.2.44-.44V12.5c0-.24-.19-.44-.44-.44-.24 0-.44.2-.44.44m-1.76.43v1.99q0 .09.03.17.04.08.1.14.07.07.15.1t.17.03c.24 0 .44-.19.44-.44v-1.99c0-.25-.2-.44-.44-.44q-.09 0-.17.03t-.15.1q-.06.06-.1.14-.03.08-.03.17m-1.76.35v1.97c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-1.97c0-.24-.2-.44-.44-.44-.25 0-.44.2-.44.44m-1.77.32v1.65c0 .25.2.45.44.45s.44-.2.44-.45V13.6c0-.25-.2-.45-.44-.45s-.44.2-.44.45m-1.76 1.26v.3q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3v-.3q-.01-.17-.14-.3-.13-.11-.31-.12-.17.01-.3.12-.13.13-.14.3M0 9.38v.19c0 .24.2.44.44.44.25 0 .44-.2.44-.44v-.19c0-.25-.19-.44-.44-.44-.24 0-.44.19-.44.44m1.82.15v.81c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-.81q0-.18-.13-.31t-.31-.13-.31.13-.13.31m1.81-.24v3.39q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3V9.29q-.01-.17-.14-.3-.13-.11-.31-.12-.17.01-.3.12-.13.13-.14.3m1.83-.35v.22c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-.22q0-.18-.13-.31T5.9 8.5t-.31.13-.13.31m0 2.94v2.34c0 .25.19.44.44.44.24 0 .44-.19.44-.44v-2.34c0-.24-.2-.44-.44-.44-.25 0-.44.2-.44.44m15.89-3.32V11c0 .25.2.44.44.44.25 0 .44-.19.44-.44V8.56c0-.24-.19-.44-.44-.44-.24 0-.44.2-.44.44m-1.76-.39v3.28q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3V8.17c0-.25-.2-.44-.44-.44q-.09 0-.17.03t-.15.1q-.06.06-.1.14-.03.08-.03.17M17.83 8v3.9c0 .24.19.44.44.44.24 0 .44-.2.44-.44V8c0-.25-.2-.44-.44-.44-.25 0-.44.19-.44.44m-1.77.11v3.96c0 .25.2.44.44.44s.44-.19.44-.44V8.11c0-.25-.2-.44-.44-.44s-.44.19-.44.44m-1.76.27v5.03q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3V8.38c0-.25-.2-.44-.45-.44-.24 0-.44.19-.44.44m-1.8.46v5.75q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3V8.84c0-.25-.2-.44-.45-.44-.24 0-.44.19-.44.44m-1.76.76v5.52c0 .24.2.44.44.44.25 0 .44-.2.44-.44V9.6c0-.24-.19-.44-.44-.44-.24 0-.44.2-.44.44m-1.77 1.01v4.77q.01.17.14.3.13.11.3.12.18-.01.31-.12.13-.13.14-.3v-4.77q-.01-.17-.14-.3-.13-.11-.31-.12-.17.01-.3.12-.13.13-.14.3M23.12 9.6v1.22c0 .24.19.44.44.44.24 0 .44-.2.44-.44V9.6c0-.24-.2-.44-.44-.44-.25 0-.44.2-.44.44M7.21 11.32V16c0 .24.19.44.44.44.24 0 .44-.2.44-.44v-4.68q0-.18-.13-.31t-.31-.13-.31.13-.13.31", "gmail": "M24 5.457v13.909c0 .904-.732 1.636-1.636 1.636h-3.819V11.73L12 16.64l-6.545-4.91v9.273H1.636A1.636 1.636 0 0 1 0 19.366V5.457c0-2.023 2.309-3.178 3.927-1.964L5.455 4.64 12 9.548l6.545-4.91 1.528-1.145C21.69 2.28 24 3.434 24 5.457z", "grok": "M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815", "openai": "M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z", "x": "M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z"});
740
+ Object.assign(LU, { wallet: '<path d="M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1"/><path d="M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4"/>', copy: '<rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>' });
734
741
  Object.assign(LU, {"plug": "<path d=\"M12 22v-5\"/><path d=\"M9 8V2\"/><path d=\"M15 8V2\"/><path d=\"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z\"/>", "cloud": "<path d=\"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z\"/>", "send": "<path d=\"m22 2-7 20-4-9-9-4Z\"/><path d=\"M22 2 11 13\"/>", "upload": "<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/><polyline points=\"17 8 12 3 7 8\"/><line x1=\"12\" x2=\"12\" y1=\"3\" y2=\"15\"/>", "download": "<path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"/><polyline points=\"7 10 12 15 17 10\"/><line x1=\"12\" x2=\"12\" y1=\"15\" y2=\"3\"/>", "volume-2": "<path d=\"M11 5 6 9H2v6h4l5 4V5Z\"/><path d=\"M15.54 8.46a5 5 0 0 1 0 7.07\"/><path d=\"M19.07 4.93a10 10 0 0 1 0 14.14\"/>", "volume-x": "<path d=\"M11 5 6 9H2v6h4l5 4V5Z\"/><line x1=\"22\" x2=\"16\" y1=\"9\" y2=\"15\"/><line x1=\"16\" x2=\"22\" y1=\"9\" y2=\"15\"/>", "laptop": "<path d=\"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16\"/>", "globe": "<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"/><path d=\"M2 12h20\"/>", "refresh-cw": "<path d=\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\"/><path d=\"M21 3v5h-5\"/><path d=\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\"/><path d=\"M8 16H3v5\"/>"});
735
742
  // Full-colour marks (their own squares): apuchat's rat, apumail. (Orquesta: the masked mark below.)
736
743
  const BR = {"apuchat": {"vb": 32, "svg": "<rect width=\"32\" height=\"32\" rx=\"6\" fill=\"#1a1a1a\"/><path d=\"M9 7Q16 4 23 7\" stroke=\"#d6541f\" stroke-width=\"1.5\" fill=\"none\" stroke-linecap=\"round\"/><path d=\"M7 10Q16 5 25 10\" stroke=\"#d6541f\" stroke-width=\"1.5\" fill=\"none\" stroke-linecap=\"round\" opacity=\".5\"/><ellipse cx=\"11\" cy=\"14\" rx=\"2\" ry=\"3\" fill=\"#f4ede0\" transform=\"rotate(-15 11 14)\"/><ellipse cx=\"21\" cy=\"14\" rx=\"2\" ry=\"3\" fill=\"#f4ede0\" transform=\"rotate(15 21 14)\"/><ellipse cx=\"16\" cy=\"22\" rx=\"8\" ry=\"6.5\" fill=\"#f4ede0\"/><circle cx=\"13\" cy=\"21\" r=\"1.2\" fill=\"#1a1a1a\"/><circle cx=\"19\" cy=\"21\" r=\"1.2\" fill=\"#1a1a1a\"/><ellipse cx=\"16\" cy=\"25\" rx=\"1.5\" ry=\"1\" fill=\"#d6541f\"/>"}, "apumail": {"vb": 32, "svg": "<rect width=\"32\" height=\"32\" rx=\"6\" fill=\"#1d1813\"/><path fill=\"#e8521e\" d=\"M3 3h26v26H3Z\"/><g transform=\"translate(-.43 1.03) scale(.915)\"><g fill=\"#1d1813\"><path d=\"M9.6 30C10.5 23.6 11.6 18.6 12.9 15.2 13.8 12.7 15.4 11.3 17.6 10.9L19.2 10.7C22.2 10.3 24.8 11.1 26 12.5 26.9 13.5 26.6 14.9 25.3 15.5 24.2 16 22.6 16.3 21 16.3L19.6 16.3C17.7 18.3 16.9 20.8 16.7 23.6L16.4 30Z\"/><path d=\"M17 11.1C15.7 7.5 16 4.3 17.2 2.7 18.4 4.2 19 7.5 19.1 10.8Z\"/><path d=\"M19.8 10.7C19.6 7.3 20.6 4.3 21.9 3.2 22.7 5 22.7 7.9 22.1 10.8Z\"/></g><circle cx=\"21.9\" cy=\"13.3\" r=\"1.55\" fill=\"#e8521e\"/></g>"}};
@@ -763,8 +770,8 @@
763
770
  s.classList.add('ico', `logo-${name}`);
764
771
  return s;
765
772
  };
766
- const ICON = { acc: 'user-round', brain: 'cpu', voice: 'mic', access: 'shield-check', pet: 'message-circle', com: 'users', notes: 'notebook-pen', rem: 'activity', inf: 'scroll-text' };
767
- const SECS = { acc: 'hAcc', brain: 'hBrain', voice: 'hVoice', access: 'hAccess', pet: 'hPet', com: 'hCom', notes: 'hNotes', rem: 'hRem', inf: 'hInf' };
773
+ const ICON = { acc: 'user-round', brain: 'cpu', voice: 'mic', access: 'shield-check', wal: 'wallet', pet: 'message-circle', com: 'users', notes: 'notebook-pen', rem: 'activity', inf: 'scroll-text' };
774
+ const SECS = { acc: 'hAcc', brain: 'hBrain', voice: 'hVoice', access: 'hAccess', wal: 'hWal', pet: 'hPet', com: 'hCom', notes: 'hNotes', rem: 'hRem', inf: 'hInf' };
768
775
  const navT = NAV[lang] || NAV.en;
769
776
  $('#nav').replaceChildren(...Object.keys(SECS).map((k) => el('a', { href: `#${k}` }, el('span', {}, ico(ICON[k])), el('b', { textContent: navT[k] }))));
770
777
  function go() {
@@ -1564,6 +1571,37 @@
1564
1571
  cloudBody.replaceChildren(who, vm);
1565
1572
  }).catch((e) => cloudBody.replaceChildren(el('small', { className: 'bad', textContent: e.message })));
1566
1573
 
1574
+ // Wallet: the twin ot's Notlogin subwallet on 7ots.com, read only (approving a payment happens there)
1575
+ const walBody = el('div', { className: 'rows' }, el('small', { textContent: '…' }));
1576
+ const walMsg = el('span', { className: 'msg', role: 'status' });
1577
+ const walCard = card(ico('wallet', 18), t('walH'), null, null, walBody);
1578
+ $('#wallet').replaceChildren(walCard, walMsg);
1579
+ api('/wallet').then((w) => {
1580
+ if (!w.available) return walBody.replaceChildren(el('small', { textContent: t('walNotLinked') }));
1581
+ if (!w.configured || !w.linked) return walBody.replaceChildren(el('small', {}, t('walNotLinked'), ' ', el('a', { href: w.manageUrl, target: '_blank', rel: 'noopener', textContent: t('walManage') })));
1582
+ const short = (a) => (a && a.length > 16 ? `${a.slice(0, 8)}…${a.slice(-6)}` : a || '');
1583
+ const ext = (href, text) => el('a', { href, target: '_blank', rel: 'noopener', className: 'ext' }, text, ' ', ico('external-link', 12));
1584
+ const rows = w.wallets.map((x) => {
1585
+ const cp = el('button', { title: t('walCopy'), 'aria-label': t('walCopy') }, ico('copy', 14));
1586
+ cp.addEventListener('click', async () => {
1587
+ await navigator.clipboard.writeText(x.address).catch(() => {});
1588
+ flash(walMsg, t('walCopied'), 'ok');
1589
+ });
1590
+ return el('div', { className: 'vm' },
1591
+ el('b', {}, x.network === 'solana' ? 'Solana' : x.network === 'base' ? 'Base' : x.network, el('small', { textContent: x.usdc == null ? '' : ` ${x.usdc} USDC · ${x.native ?? 0} ${x.symbol}` })),
1592
+ el('div', { className: 'fields' }, el('code', { textContent: x.address, style: 'overflow-wrap:anywhere' }), cp),
1593
+ x.explorerUrl ? el('small', {}, ext(x.explorerUrl, t('walTxs'))) : null);
1594
+ });
1595
+ const pays = (w.payments || []).map((p) => el('small', {},
1596
+ `${t(`walSt_${p.status}`)} · ${p.amount} ${p.asset} → ${short(p.to)} · ${new Date(p.createdAt).toLocaleDateString()}${p.reason ? ` · ${p.reason}` : ''} `,
1597
+ p.txUrl ? ext(p.txUrl, `tx ${short(p.txHash)}`) : ''));
1598
+ walBody.replaceChildren(
1599
+ ...(w.error ? [el('small', { className: 'bad', textContent: w.error })] : []),
1600
+ ...rows,
1601
+ el('div', { className: 'vm' }, el('b', {}, t('walPays')), ...(pays.length ? pays : [el('small', { textContent: t('walNoPays') })])),
1602
+ el('small', {}, ext(w.manageUrl, t('walManage'))));
1603
+ }).catch((e) => walBody.replaceChildren(el('small', { className: 'bad', textContent: e.message })));
1604
+
1567
1605
  // Orquesta: its agents (projects), a default one, and a task box
1568
1606
  const oq = I.orquesta || {};
1569
1607
  const tokenIn = keyField('ORQUESTA_TOKEN', t('orqToken'));
@@ -1574,6 +1612,7 @@
1574
1612
  await save({ keys: { ORQUESTA_TOKEN: v } }, msg);
1575
1613
  renderInteg();
1576
1614
  });
1615
+ const tokRow = el('div', { className: 'rows' }, el('div', { className: 'fields' }, tokenIn, saveTok), el('small', { textContent: t('orqHint') }));
1577
1616
  const proj = el('div', { className: 'rows' }, el('small', { textContent: '…' }));
1578
1617
  const loadProjects = async () => {
1579
1618
  let r;
@@ -1604,6 +1643,8 @@
1604
1643
  });
1605
1644
  return proj.replaceChildren(note, el('div', { className: 'fields' }, go));
1606
1645
  }
1646
+ // signed in through 7ots.com: no local token needed, so don't show it as missing
1647
+ if (r.via === '7ots') tokRow.replaceChildren(el('small', { className: 'msg ok', textContent: t('orqVia7ots') }));
1607
1648
  if (!r.projects?.length) return proj.replaceChildren(el('small', { textContent: r.error || t('orqNone') }));
1608
1649
  const sel = el('select', {}, ...r.projects.map((p) => el('option', { value: p.id, textContent: `${p.online === true ? '● ' : p.online === false ? '○ ' : ''}${p.name}${p.online == null ? '' : ` · ${t(p.online ? 'orqOnline' : 'orqOffline')}`}`, selected: p.id === oq.projectId })));
1609
1650
  sel.addEventListener('change', () => save({ integrations: { orquesta: { projectId: sel.value, projectName: sel.selectedOptions[0]?.textContent.replace(/^[●○] /, '').replace(/ · .*$/, '') } } }, msg));
@@ -1635,8 +1676,7 @@
1635
1676
  proj.replaceChildren(el('div', { className: 'fields' }, field(t('orqProject'), sel)), task, el('div', { className: 'fields' }, send), out);
1636
1677
  };
1637
1678
  loadProjects();
1638
- const orq = card(logo('orquesta', 18), t('orqH'), t('orqD'), toggle(oq.on, (on) => save({ integrations: { orquesta: { on } } }, msg), t('orqH')),
1639
- el('div', { className: 'fields' }, tokenIn, saveTok), el('small', { textContent: t('orqHint') }), proj);
1679
+ const orq = card(logo('orquesta', 18), t('orqH'), t('orqD'), toggle(oq.on, (on) => save({ integrations: { orquesta: { on } } }, msg), t('orqH')), tokRow, proj);
1640
1680
 
1641
1681
  // Email: an apumail inbox
1642
1682
  const am = I.apumail || {};