fix: error state, leg grouping, prompt→generating transition

- log_parser: detect model load failure (child + router patterns) → state=error;
  switch to generating at progress=1.00 and at prompt eval summary line
- frontend: add state-error (llama flashes red, CSS variable override);
  group each leg+hoof in <g> so walk animation moves hooves with legs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vlad Doloman
2026-06-22 22:10:43 +03:00
parent 311819b51c
commit 9dcb5b977a
4 changed files with 49 additions and 21 deletions

View File

@@ -64,18 +64,23 @@
<!-- Mouth: open (talking) -->
<ellipse class="part mouth-open" cx="50" cy="39" rx="4.5" ry="3"/>
<!-- Front legs -->
<rect class="part leg leg-fl" x="32" y="100" width="10" height="30" rx="4"/>
<rect class="part leg leg-fr" x="46" y="100" width="10" height="30" rx="4"/>
<!-- Back legs -->
<rect class="part leg leg-bl" x="57" y="100" width="10" height="30" rx="4"/>
<rect class="part leg leg-br" x="71" y="100" width="10" height="30" rx="4"/>
<!-- Hooves -->
<rect class="part hoof" x="32" y="126" width="10" height="4" rx="2"/>
<rect class="part hoof" x="46" y="126" width="10" height="4" rx="2"/>
<rect class="part hoof" x="57" y="126" width="10" height="4" rx="2"/>
<rect class="part hoof" x="71" y="126" width="10" height="4" rx="2"/>
<!-- Legs + hooves (grouped so animation moves both together) -->
<g class="leg-fl">
<rect class="part leg" x="29" y="100" width="10" height="30" rx="4"/>
<rect class="part hoof" x="29" y="126" width="10" height="4" rx="2"/>
</g>
<g class="leg-fr">
<rect class="part leg" x="40" y="100" width="10" height="30" rx="4"/>
<rect class="part hoof" x="40" y="126" width="10" height="4" rx="2"/>
</g>
<g class="leg-bl">
<rect class="part leg" x="51" y="100" width="10" height="30" rx="4"/>
<rect class="part hoof" x="51" y="126" width="10" height="4" rx="2"/>
</g>
<g class="leg-br">
<rect class="part leg" x="62" y="100" width="10" height="30" rx="4"/>
<rect class="part hoof" x="62" y="126" width="10" height="4" rx="2"/>
</g>
<!-- Book (reading) -->
<g class="part book">