shadok-ai 0.15.51 → 0.15.52

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 (2) hide show
  1. package/package.json +1 -1
  2. package/public/index.html +31 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shadok-ai",
3
- "version": "0.15.51",
3
+ "version": "0.15.52",
4
4
  "main": "dist/session.js",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test --test-timeout=120000 test/*.ts context/*/test/*.test.mjs",
package/public/index.html CHANGED
@@ -187,7 +187,36 @@
187
187
  background: var(--amber); color: var(--on-accent);
188
188
  display: grid; place-items: center; margin-right: 4px;
189
189
  }
190
- header .brand-logo svg { width: 19px; height: 19px; }
190
+ header .brand-logo svg { width: 22px; height: 22px; overflow: visible; }
191
+ /* The mark is the Shadok itself (same anatomy as the favicon's `shadokInner`),
192
+ alive: it bobs, its antennae sway, it blinks and glances around, and waves
193
+ now and then. Pure CSS on static markup, so it costs no JS timer and needs
194
+ no bridge (invariant 10). Hover makes it hop. Every part rotates/scales
195
+ about its OWN box (`transform-box: fill-box`), never the SVG's origin. */
196
+ header .brand-logo svg * { transform-box: fill-box; }
197
+ header .brand-logo .sk-pupils { fill: var(--amber); animation: sk-glance 7s ease-in-out infinite; }
198
+ header .brand-logo .sk-bob { animation: sk-bob 2.4s ease-in-out infinite; }
199
+ header .brand-logo .sk-ant { animation: sk-sway 1.6s ease-in-out infinite alternate; }
200
+ header .brand-logo .sk-ant-l { transform-origin: 100% 100%; }
201
+ header .brand-logo .sk-ant-r { transform-origin: 0% 100%; animation-delay: -0.8s; }
202
+ header .brand-logo .sk-eyes { transform-origin: 50% 50%; animation: sk-blink 4.6s infinite; }
203
+ header .brand-logo .sk-arm { transform-origin: 0% 0%; animation: sk-wave 9s ease-in-out infinite; }
204
+ header .brand:hover .brand-logo svg { animation: sk-hop 0.6s ease-out; }
205
+ @keyframes sk-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(0.9px); } }
206
+ @keyframes sk-sway { from { transform: rotate(-14deg); } to { transform: rotate(12deg); } }
207
+ @keyframes sk-blink { 0%, 90%, 96%, 100% { transform: scaleY(1); } 93% { transform: scaleY(0.12); } }
208
+ @keyframes sk-glance {
209
+ 0%, 20% { transform: translate(0, 0); } 28%, 45% { transform: translate(-0.8px, 0.2px); }
210
+ 53%, 70% { transform: translate(0.6px, -0.3px); } 78%, 100% { transform: translate(0, 0); }
211
+ }
212
+ @keyframes sk-wave {
213
+ 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-70deg); }
214
+ 78% { transform: rotate(-35deg); } 82% { transform: rotate(-70deg); } 86% { transform: rotate(0); }
215
+ }
216
+ @keyframes sk-hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px); } 70% { transform: translateY(0.5px); } }
217
+ @media (prefers-reduced-motion: reduce) {
218
+ header .brand-logo svg, header .brand-logo svg * { animation: none !important; }
219
+ }
191
220
  /* The brand name doubles as the cockpit's editable title: click to rename,
192
221
  Enter/blur commits, Escape cancels. A dashed outline + pencil on hover make
193
222
  the affordance obvious; the outline turns solid amber while editing. */
@@ -2288,7 +2317,7 @@
2288
2317
  <body>
2289
2318
 
2290
2319
  <header>
2291
- <span class="brand"><span class="brand-logo" aria-hidden="true"><svg viewBox="0 0 40 40"><g fill="none" stroke="currentColor" stroke-width="2.8" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="17" cy="17" rx="10" ry="8.5"/><path d="M25 12.5c3-3 7.5-3 10-1.2-2.8.4-5 1.9-6.6 4"/><path d="M14 25.3l-2.4 10M20 25.3l1.6 10"/></g></svg></span><span class="brand-name" id="brandName" title="Rename this cockpit">shadok-ai</span><span class="brand-edit" id="brandEdit" title="Rename this cockpit" aria-hidden="true">✎</span> <span class="ver" id="verView" title="Running version"></span><span class="ver-chan" id="verChan" aria-hidden="true"></span></span>
2320
+ <span class="brand"><span class="brand-logo" aria-hidden="true"><svg viewBox="0 0 32 32"><g fill="currentColor" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"><g class="sk-leg sk-leg-l"><line x1="13" y1="23" x2="12.6" y2="30.6"/><line x1="11" y1="30.7" x2="14.1" y2="30.7"/></g><g class="sk-leg sk-leg-r"><line x1="18.6" y1="23" x2="19" y2="30.6"/><line x1="17.6" y1="30.7" x2="20.7" y2="30.7"/></g><g class="sk-bob"><line class="sk-arm" x1="21.6" y1="17.2" x2="26" y2="20.4"/><g class="sk-ant sk-ant-l" stroke-width="0.9"><line x1="13.8" y1="5.4" x2="11.8" y2="2.8"/><circle cx="11.8" cy="2.8" r="1" stroke="none"/></g><g class="sk-ant sk-ant-r" stroke-width="0.9"><line x1="18.2" y1="5.4" x2="20.2" y2="2.8"/><circle cx="20.2" cy="2.8" r="1" stroke="none"/></g><circle cx="16" cy="16.2" r="8.4" stroke="none"/><path d="M14.4 18.2 L17.6 18.2 L16 21.6 Z" stroke="none"/><g class="sk-eyes" stroke="none"><circle cx="13.1" cy="7.8" r="2.6" fill="#fff"/><circle cx="18.9" cy="7.8" r="2.6" fill="#fff"/><g class="sk-pupils"><circle cx="13.4" cy="8.1" r="1.3"/><circle cx="19.2" cy="8.1" r="1.3"/></g></g></g></g></svg></span><span class="brand-name" id="brandName" title="Rename this cockpit">shadok-ai</span><span class="brand-edit" id="brandEdit" title="Rename this cockpit" aria-hidden="true">✎</span> <span class="ver" id="verView" title="Running version"></span><span class="ver-chan" id="verChan" aria-hidden="true"></span></span>
2292
2321
  <span class="spacer"></span>
2293
2322
  <div class="gauge quota" id="quota5h" data-window="5h" title="5h rolling limit">
2294
2323
  <svg class="dial" viewBox="0 0 56 44" role="img" aria-label="5h rolling limit">