Commit Graph

31 Commits

Author SHA1 Message Date
root 5da03ebb69 feat: add thirst to Needs, drink/forage to GoalType, thirst constants
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 20:26:54 +00:00
root c810c99a89 feat: add dayNumber to StateUpdate type 2026-03-10 19:13:16 +00:00
root fb78d8cc9c feat: add LLM analytics types and socket events to shared
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 13:14:55 +00:00
root 778eeb3832 feat: add TunableConstants, LogEntry types and socket events
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 02:16:27 +00:00
root 57e8b3a98a feat: add Desire types to shared
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 23:41:07 +00:00
root 65ee23c5be refactor: remove rest POIs from map generation, persistence, and client rendering
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:58:02 +00:00
root fa4f0ce44d feat(shared): add sleep system constants and replace rest with sleep goal type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 17:47:53 +00:00
root 9e02cd973e feat(shared): add StockpileLogEntry type, pickup goal, and stockpile socket events
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 02:47:26 +00:00
root f362619c5f feat(shared): add InventionSummary type and socket events
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 00:40:00 +00:00
root e5457b2446 feat(superlatives): add mostInventive superlative
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 23:49:40 +00:00
root 69a07248ce feat(shared): add 'invention' to MemoryEventType and NarrationEvent type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 23:48:50 +00:00
root b019beff82 feat(shared): add craft, build, dropoff goal types
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 23:19:05 +00:00
root 53750df48b feat(shared): add productivity need, gather goal, inventory, STONE terrain
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 22:40:09 +00:00
root ba487839fd feat(memory): add MemoryEvent types and socket events to shared
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 21:50:08 +00:00
root e33a253c5b feat(thought): add thought config and npc-thought socket event type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 21:02:50 +00:00
root 87946bcb5c feat: add social interaction narration system (task 1.3)
Implements LLM-powered narration for NPC social interactions:
- Rate limits updated to 20 RPM / 1000 per day (OpenRouter free tier)
- NarrationEvent type with template fallback text generator
- NarrationService with rolling event buffer and LLM priority queuing
- Narration emitter wired between social and relationship systems
- Socket.io events for real-time narration delivery
- Tabbed left panel (Stats + Events) replacing old Superlatives panel
- Recent events section in NPC info panel
- Follow tracking via socket for LLM narration priority

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 19:29:43 +00:00
root 6514dde42e feat: track followed NPCs via socket for LLM narration priority
Adds follow-npc client event so the server knows which NPCs are being
watched, enabling priority LLM narration for followed entity interactions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 18:25:16 +00:00
root 57695043f2 feat: add socket.io events for narration broadcast
Wire narration events through the socket layer so clients receive
real-time narration updates. Server emits narration-event on creation,
narration-update when LLM text arrives, and narration-history on connect.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 18:14:50 +00:00
root 0b028c2cec feat: add backstory field to EntityState shared type
Add optional backstory string to EntityState for NPC backstory generation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 16:44:19 +00:00
root 215eb66c23 feat: add superlatives types and socket events to shared
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 04:37:07 +00:00
root b295ef1af7 feat: add gameTime to StateUpdate type
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 03:03:23 +00:00
root 4a2819695b feat: procedural tilemap with river, ponds, dirt, and trees
Replace colored-rectangle world rendering with a proper tilemap system
using a 16x16 RPG tileset scaled 3x. Server generates terrain via seeded
procedural generation (river, ponds, dirt patches, tree decorations) and
sends it to clients. Client renders 3-layer Phaser tilemap with
8-neighbor autotiling for water/dirt edges.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 22:45:09 +00:00
root 99e041d6cf feat: add proposal and bond types to shared protocol
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 19:18:38 +00:00
root 2ae3326b09 feat: add relationship types to shared
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 15:28:47 +00:00
root 1351708c7b feat: add Stats and StatModifiers types to shared
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 14:14:26 +00:00
root 4ff6f14746 feat: add spawn-npc event type and MAX_NPC_COUNT constant
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:33:38 +00:00
root ce55c86c5a feat: add SocialState types and social interaction constants
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 12:58:26 +00:00
root 0cf48ded61 feat: add NPC name generator and broadcast names in entity state
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:33:42 +00:00
root 7a61b82c51 feat: add portrait slot types and sprite-to-portrait folder mapping
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:28:04 +00:00
andy b94ad32806 feat: viewport modes, configurable server URL, deployment docs
- Add follow mode (F key) to cycle camera between NPCs
- Make server URL configurable via VITE_SERVER_URL env var
- Add comprehensive README with Debian LXC deployment guide
- Add character sprite assets to repo
- Add design docs and implementation plans

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 22:25:53 -05:00
andy 1fdae9e45c feat: add shared types and constants for ECS, networking, and assets
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 18:10:52 -05:00