teapot-coding-agent 0.37.85 → 0.37.87
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/dist/server/api.js +6 -1
- package/package.json +1 -1
- package/public/assets/{index-CzmlQhYj.js → index-CE8s62QC.js} +25 -25
- package/public/assets/index-CE8s62QC.js.map +1 -0
- package/public/assets/index-T72qGQ56.css +1 -0
- package/public/assets/{shiki-CI0HW16S.js → shiki-ao2U3GfI.js} +2 -2
- package/public/assets/{shiki-CI0HW16S.js.map → shiki-ao2U3GfI.js.map} +1 -1
- package/public/index.html +2 -2
- package/public/assets/index-CzmlQhYj.js.map +0 -1
- package/public/assets/index-DJV6YKID.css +0 -1
package/dist/server/api.js
CHANGED
|
@@ -1401,7 +1401,12 @@ export function buildApp(master) {
|
|
|
1401
1401
|
webp: "image/webp",
|
|
1402
1402
|
avif: "image/avif",
|
|
1403
1403
|
};
|
|
1404
|
-
|
|
1404
|
+
/**
|
|
1405
|
+
* 320 exists for the ONE place a wallpaper is drawn small: the background-image picker is 260px wide,
|
|
1406
|
+
* so a 640 floor made the browser fetch 2.5x the pixels it could show ("260pxなのに最小が640w").
|
|
1407
|
+
* The theme cards (~200px) benefit for the same reason.
|
|
1408
|
+
*/
|
|
1409
|
+
const ALLOWED_WIDTHS = [320, 640, 1280, 1920, 2560, 3840];
|
|
1405
1410
|
app.get("/api/assets/meta", (c) => c.json({ widths: ALLOWED_WIDTHS }));
|
|
1406
1411
|
/**
|
|
1407
1412
|
* Image bytes a session logged, served so the TIMELINE can show them.
|