Files
wehub-resource-sync aa1a5d5763
CI / Release hygiene (push) Has been cancelled
CI / Python targeted tests (push) Has been cancelled
CI / Frontend build (push) Has been cancelled
Pages / Build and deploy public pages (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:18:17 +08:00

48 lines
1.1 KiB
ReStructuredText

Map Studio
==========
Map Studio creates and publishes local map packages.
Flow
----
Map Studio can:
1. Generate a draft map from a prompt.
2. Upload a reference image as a draft.
3. Configure image generation.
4. Calibrate locations, anchors, and collision data.
5. Validate the package.
6. Publish the map into the local map package directory.
7. Return to setup with the new ``map_id`` selected.
Generated packages
------------------
Generated packages are local output under:
.. code-block:: text
agentsociety/custom/generated_maps/
That path is ignored by Git. Curated maps that should ship with GOD belong under ``agentsociety/custom/maps/<map_id>/``.
Important routes
----------------
- ``POST /api/v1/god/map-studio/drafts``
- ``POST /api/v1/god/map-studio/drafts/upload``
- ``PATCH /api/v1/god/map-studio/drafts/{draft_id}``
- ``POST /api/v1/god/map-studio/drafts/{draft_id}/validate``
- ``POST /api/v1/god/map-studio/drafts/{draft_id}/publish``
Validation
----------
For a curated map package:
.. code-block:: bash
cd agentsociety
uv run python scripts/validate_map_package.py custom/maps/<map_id>