- backend: in-memory ring buffer POST/GET /agents/tavern-chat
{id,name,text}, last ~60, control-char sanitized
- RpgTavern: Enter/T (or 💬) opens a chat bar; your line floats as a
canvas speech bubble above your avatar for ~5.5s AND lands in a small
chat log; others' bubbles render above their avatars (keyed by presence
id); typing freezes movement
- verified across two browsers: A's message appeared in B's log and as a
bubble over A's avatar
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
19 lines
380 B
JSON
19 lines
380 B
JSON
{
|
|
"name": "amerc-site",
|
|
"version": "4.3.0-chat",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 0.0.0.0",
|
|
"build": "vite build",
|
|
"preview": "vite preview --host 0.0.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"marked": "^14.1.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"vite": "^7.0.0"
|
|
}
|
|
}
|