docs: update AGENTS.md to reflect store-modules deprecation and utils/ migration
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 24s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 24s
This commit is contained in:
@@ -249,8 +249,12 @@ The game uses a **modular Zustand store architecture** with multiple specialized
|
|||||||
- **skillStore.ts**: Skill state, studying, evolution (~11KB)
|
- **skillStore.ts**: Skill state, studying, evolution (~11KB)
|
||||||
- **uiStore.ts**: UI state, modals, debug settings (~2KB)
|
- **uiStore.ts**: UI state, modals, debug settings (~2KB)
|
||||||
|
|
||||||
#### Legacy Store Files (Being Migrated)
|
#### Legacy Store Files (Being Migrated/Deprecated)
|
||||||
- **store.ts**: Reduced from ~2812 lines to ~14KB (core logic moved to stores/)
|
- **store.ts**: Reduced from ~2812 lines to ~14KB (core logic moved to stores/)
|
||||||
|
- **store-modules/**: Legacy utility functions being moved to `src/lib/game/utils/`
|
||||||
|
- `room-utils.ts` → `utils/room-utils.ts`
|
||||||
|
- `enemy-utils.ts` → `utils/enemy-utils.ts`
|
||||||
|
- `activity-log.ts` → `utils/activity-log.ts`
|
||||||
- **crafting-slice.ts**: Reduced, being replaced by crafting-actions/
|
- **crafting-slice.ts**: Reduced, being replaced by crafting-actions/
|
||||||
|
|
||||||
#### Store Interaction Pattern
|
#### Store Interaction Pattern
|
||||||
|
|||||||
Reference in New Issue
Block a user