KeiSeiKit-1.0/_ts_packages/packages/cortex-ui/public
Parfii-bot a42847063f feat(cortex-ui): pet sprite render with mood switcher
Cherry-pick 7 pixel-art sprites from feat/pet-ui-v1 (PR #16) — cat
(idle/happy/think/sleep), dog-idle, owl-idle, blob-idle — into
cortex-ui public dir so the PetEditor view renders a visual pet
instead of a bare JSON dump.

## Behavior

- Species inferred from first letter of pet_name:
  - 'd*' → dog, 'o*' → owl, 'b*' → blob, else → cat (default,
    has 4 mood states)
- Mood switcher: click idle / happy / think / sleep → swaps sprite
- image-rendering: pixelated for crisp pixel-art scaling
- 32×32 native scaled to 128×128 (4x) with nearest-neighbor

## Why now

User tested the UI end-to-end, confirmed auth+CORS+whitespace fix
works, then asked for the cat. The sprite-gen commit (PR #16) is
still unmerged but sprites are sibling static assets — safe to copy
into cortex-ui without blocking on PR merge. Ownership stays with
the sprite-gen branch; cortex-ui just embeds the artefacts.

Rebuild hash: index-RLWTBoLo.js + index-BzERxlis.css.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-24 03:17:25 +08:00
..
sprites/32px feat(cortex-ui): pet sprite render with mood switcher 2026-04-24 03:17:25 +08:00
favicon.svg feat(wave20): kei-cortex daemon + cortex-ui — local HTTP + TypeScript web UI 2026-04-24 01:50:21 +08:00