dsh-cabinet-mode 0.2.3 → 0.2.5
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.
- package/CHANGELOG.md +22 -0
- package/README.md +8 -13
- package/README.zh.md +9 -7
- package/client.js +1944 -2052
- package/cordis.patch.yml +5 -5
- package/docs/images/avatars/README.md +19 -0
- package/docs/images/avatars/dali.png +0 -0
- package/docs/images/avatars/hanlin.png +0 -0
- package/docs/images/avatars/lead.png +0 -0
- package/docs/images/avatars/prompts.json +1 -0
- package/docs/images/avatars/works.png +0 -0
- package/docs/images/avatars/yushi.png +0 -0
- package/package.json +1 -1
- package/scripts/test-avatars.mjs +27 -0
- package/scripts/test-client.mjs +12 -0
- package/scripts/verify.mjs +1 -1
- package/src/avatars/dali.png +0 -0
- package/src/avatars/hanlin.png +0 -0
- package/src/avatars/lead.png +0 -0
- package/src/avatars/works.png +0 -0
- package/src/avatars/yushi.png +0 -0
- package/src/avatars.js +1941 -2049
- package/src/build_avatars.py +2 -2
package/src/build_avatars.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"""Generate the cabinet avatars from docs/images/avatars/*.png.
|
|
3
3
|
|
|
4
4
|
Outputs (all inside the package):
|
|
5
|
-
src/avatars/<key>.png 128x128, downscaled from the
|
|
5
|
+
src/avatars/<key>.png 128x128, downscaled from the high-resolution square originals
|
|
6
6
|
src/avatars.js ESM module exporting the data URLs
|
|
7
7
|
client.js the GENERATED avatars region is rewritten in place
|
|
8
8
|
|
|
@@ -108,7 +108,7 @@ def main() -> int:
|
|
|
108
108
|
# 1. src/avatars.js — the canonical module.
|
|
109
109
|
lines = [
|
|
110
110
|
"// GENERATED by src/build_avatars.py — do not edit by hand.",
|
|
111
|
-
"// 128x128 avatars downscaled from docs/images/avatars/*.png (
|
|
111
|
+
"// 128x128 avatars downscaled from docs/images/avatars/*.png (high-resolution square originals).",
|
|
112
112
|
"// Re-run: python3 src/build_avatars.py",
|
|
113
113
|
"",
|
|
114
114
|
]
|