feat: export portable native road packages
This commit is contained in:
@@ -73,6 +73,20 @@ shape and owns all path derivation.
|
||||
The editable signal source at `trafficSignalsFile` is a sibling of `outDir`.
|
||||
It is included in the parity baseline because regeneration must be stable.
|
||||
|
||||
## ZIP Export
|
||||
|
||||
The Web workbench's **导出道路包** action and the CLI's optional
|
||||
`--export-zip <output.zip>` emit the portable package form. The ZIP root is
|
||||
flat: it contains the six JSON documents above and `layers/*.geojson`, without
|
||||
an enclosing area directory. It contains no OSM input, overrides, or compiler
|
||||
workspace paths. `compiled.json` retains only model and movement data needed by
|
||||
the downstream preview; its internal `source` paths are removed.
|
||||
|
||||
The ZIP manifest adds informational `generator: { name, version }`. Consumers
|
||||
must select compatibility only from `contract`, `areaId`, and declared files.
|
||||
Entry order and timestamp are fixed, so unchanged compiled output exports to
|
||||
the same ZIP hash.
|
||||
|
||||
Successful CLI execution prints exactly one completion marker:
|
||||
|
||||
```text
|
||||
|
||||
Reference in New Issue
Block a user