feat(server): map import CLI, pulled forward to M4 (#79)
Slice a PNG/WebP map into the gate's <x>_<y>.png tree under <state>/tiles/<scene>/v<art_version>/ and update the one scene row (w, h, tile_size, art_version); a re-import grows art_version so clients never serve stale tiles. The state-dir lock keeps a running server out (it loads the scene at startup), so stop/import/restart. Decoding is ImageMagick from the root devbox with a disk-backed pixel cache (-limit memory/map), keeping a 16384 px source memory-sane; no Nim/npm image dependency and the FIXED stack is unchanged. The black-box harness covers the tile geometry, scene row, restart pickup through the gate, re-import bump and every refused-import case. Records the M6 -> M4 move in DESIGN 3.3/11.1/13 and DESIGN-history, and documents the CLI plus the 16384 px/50-token recipe in README.
This commit is contained in:
+62
@@ -456,6 +456,68 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"imagemagick@latest": {
|
||||
"last_modified": "2026-10-07T09:43:42Z",
|
||||
"resolved": "github:NixOS/nixpkgs/39ad350a0602fa0a58a544344e3e9187526ea45c#imagemagick",
|
||||
"source": "devbox-search",
|
||||
"version": "7.1.2-31",
|
||||
"systems": {
|
||||
"aarch64-darwin": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/w943n99gba8wqiznbvl3v1a5bz1aj1hs-imagemagick-7.1.2-31",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"name": "dev",
|
||||
"path": "/nix/store/h5381l00wa4a8l42d5wf20f1i6nzsbdi-imagemagick-7.1.2-31-dev"
|
||||
},
|
||||
{
|
||||
"name": "doc",
|
||||
"path": "/nix/store/rqwrgqsbh8jgximpzd8cnixhpfscss1k-imagemagick-7.1.2-31-doc"
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/w943n99gba8wqiznbvl3v1a5bz1aj1hs-imagemagick-7.1.2-31"
|
||||
},
|
||||
"aarch64-linux": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/jwa4dla37chizyjlhafhq5dz4bkfchgq-imagemagick-7.1.2-31",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"name": "dev",
|
||||
"path": "/nix/store/mpd89rd3lxyjc4fpb9jzqr55ik57r8nk-imagemagick-7.1.2-31-dev"
|
||||
},
|
||||
{
|
||||
"name": "doc",
|
||||
"path": "/nix/store/8bm6yz8yy86sai52vnfcd4a6n7z7adnf-imagemagick-7.1.2-31-doc"
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/jwa4dla37chizyjlhafhq5dz4bkfchgq-imagemagick-7.1.2-31"
|
||||
},
|
||||
"x86_64-linux": {
|
||||
"outputs": [
|
||||
{
|
||||
"name": "out",
|
||||
"path": "/nix/store/s13s3r3pi67vj27s6ca7pbrxs2z4zjf6-imagemagick-7.1.2-31",
|
||||
"default": true
|
||||
},
|
||||
{
|
||||
"name": "dev",
|
||||
"path": "/nix/store/6b18lsv6dy2vss0adl6n9zrjgx1r3ixg-imagemagick-7.1.2-31-dev"
|
||||
},
|
||||
{
|
||||
"name": "doc",
|
||||
"path": "/nix/store/pjx3bsd4p2qssg4gaph70x7qz9vzzb9p-imagemagick-7.1.2-31-doc"
|
||||
}
|
||||
],
|
||||
"store_path": "/nix/store/s13s3r3pi67vj27s6ca7pbrxs2z4zjf6-imagemagick-7.1.2-31"
|
||||
}
|
||||
}
|
||||
},
|
||||
"nginx@latest": {
|
||||
"last_modified": "2026-10-02T22:55:44Z",
|
||||
"plugin_version": "0.0.4",
|
||||
|
||||
Reference in New Issue
Block a user