@ikijs/mcp 0.23.0 → 0.23.2
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/README.md +7 -3
- package/dist/{chunk-YQECLFI4.mjs → chunk-SXLILLB6.mjs} +5 -3
- package/dist/chunk-SXLILLB6.mjs.map +1 -0
- package/dist/cli.js +4 -2
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -4
- package/dist/chunk-YQECLFI4.mjs.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -438,7 +438,9 @@ function expectInput(label, fn) {
|
|
|
438
438
|
var LOSSLESS_PAGE_ROLE = "nose";
|
|
439
439
|
async function renderAtlasPage(crops, quantizeColors) {
|
|
440
440
|
const layout = (0, import_editor2.packAtlas)(
|
|
441
|
-
crops.map((c) => ({ id: c.id, width: c.width, height: c.height }))
|
|
441
|
+
crops.map((c) => ({ id: c.id, width: c.width, height: c.height })),
|
|
442
|
+
void 0,
|
|
443
|
+
MAX_ATLAS_SIDE
|
|
442
444
|
);
|
|
443
445
|
const over = layout.pageWidth > MAX_ATLAS_SIDE ? { side: "width", crop: "widest" } : layout.pageHeight > MAX_ATLAS_SIDE ? { side: "height", crop: "tallest" } : void 0;
|
|
444
446
|
if (over !== void 0) {
|
|
@@ -3269,7 +3271,7 @@ async function composeLayersFromParts(input) {
|
|
|
3269
3271
|
|
|
3270
3272
|
// src/server.ts
|
|
3271
3273
|
function createIkiMcpServer() {
|
|
3272
|
-
const server = new import_mcp.McpServer({ name: "iki", version: "0.23.
|
|
3274
|
+
const server = new import_mcp.McpServer({ name: "iki", version: "0.23.2" });
|
|
3273
3275
|
server.registerTool(
|
|
3274
3276
|
"validate_iki",
|
|
3275
3277
|
{
|