@mythxengine/mcp-server 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/data/worlds/README.md +31 -0
  2. package/data/worlds/realm-of-valor.world.json +1868 -0
  3. package/dist/state/manager.d.ts +1 -1
  4. package/dist/state/manager.d.ts.map +1 -1
  5. package/dist/state/manager.js +5 -3
  6. package/dist/state/manager.js.map +1 -1
  7. package/dist/state/worldpacks.d.ts +30 -1
  8. package/dist/state/worldpacks.d.ts.map +1 -1
  9. package/dist/state/worldpacks.js +140 -17
  10. package/dist/state/worldpacks.js.map +1 -1
  11. package/dist/tools/generation/archetypes.js +1 -1
  12. package/dist/tools/generation/archetypes.js.map +1 -1
  13. package/dist/tools/generation/arcs.js +1 -1
  14. package/dist/tools/generation/arcs.js.map +1 -1
  15. package/dist/tools/generation/encounters.js +2 -2
  16. package/dist/tools/generation/encounters.js.map +1 -1
  17. package/dist/tools/generation/items.js +1 -1
  18. package/dist/tools/generation/items.js.map +1 -1
  19. package/dist/tools/generation/locations.js +1 -1
  20. package/dist/tools/generation/locations.js.map +1 -1
  21. package/dist/tools/generation/monsters.d.ts.map +1 -1
  22. package/dist/tools/generation/monsters.js +6 -1
  23. package/dist/tools/generation/monsters.js.map +1 -1
  24. package/dist/tools/generation/narrative.js +1 -1
  25. package/dist/tools/generation/narrative.js.map +1 -1
  26. package/dist/tools/generation/npcs.js +1 -1
  27. package/dist/tools/generation/npcs.js.map +1 -1
  28. package/dist/tools/generation/seed.js +1 -1
  29. package/dist/tools/generation/seed.js.map +1 -1
  30. package/dist/tools/generation/situations.js +1 -1
  31. package/dist/tools/generation/situations.js.map +1 -1
  32. package/dist/tools/worldpack/manage.d.ts.map +1 -1
  33. package/dist/tools/worldpack/manage.js +10 -3
  34. package/dist/tools/worldpack/manage.js.map +1 -1
  35. package/dist/tools/worldpack/save-result.d.ts.map +1 -1
  36. package/dist/tools/worldpack/save-result.js +43 -16
  37. package/dist/tools/worldpack/save-result.js.map +1 -1
  38. package/package.json +6 -5
@@ -0,0 +1,31 @@
1
+ # Bundled World Packs
2
+
3
+ This directory contains pre-generated world packs that ship with the MythX Engine.
4
+
5
+ ## Purpose
6
+
7
+ These worlds allow users to start playing immediately without generating a world first.
8
+ They serve as:
9
+ - Ready-to-play starter worlds
10
+ - Examples of well-crafted world packs
11
+ - Templates for world creation
12
+
13
+ ## Format
14
+
15
+ World packs are JSON files with the `.world.json` extension:
16
+ - `<pack-id>.world.json`
17
+
18
+ ## Adding Worlds
19
+
20
+ To add a bundled world:
21
+ 1. Generate the world using `/play` or world generation tools
22
+ 2. Copy the `.world.json` file from `~/.mythx/worlds/` to this directory
23
+ 3. The world will be available to all users after the next release
24
+
25
+ ## Bundled vs User Worlds
26
+
27
+ - **Bundled worlds** (this directory): Read-only, ship with the package
28
+ - **User worlds** (`~/.mythx/worlds/`): Read-write, created by users
29
+
30
+ When both exist with the same ID, the user version takes precedence.
31
+ Bundled worlds cannot be deleted by users.