@ikijs/mcp 0.23.0 → 0.23.1
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/{chunk-YQECLFI4.mjs → chunk-UETWUOO7.mjs} +5 -3
- package/dist/chunk-UETWUOO7.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 +2 -2
- package/dist/chunk-YQECLFI4.mjs.map +0 -1
package/dist/cli.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -454,7 +454,9 @@ function expectInput(label, fn) {
|
|
|
454
454
|
var LOSSLESS_PAGE_ROLE = "nose";
|
|
455
455
|
async function renderAtlasPage(crops, quantizeColors) {
|
|
456
456
|
const layout = (0, import_editor2.packAtlas)(
|
|
457
|
-
crops.map((c) => ({ id: c.id, width: c.width, height: c.height }))
|
|
457
|
+
crops.map((c) => ({ id: c.id, width: c.width, height: c.height })),
|
|
458
|
+
void 0,
|
|
459
|
+
MAX_ATLAS_SIDE
|
|
458
460
|
);
|
|
459
461
|
const over = layout.pageWidth > MAX_ATLAS_SIDE ? { side: "width", crop: "widest" } : layout.pageHeight > MAX_ATLAS_SIDE ? { side: "height", crop: "tallest" } : void 0;
|
|
460
462
|
if (over !== void 0) {
|
|
@@ -3287,7 +3289,7 @@ async function composeLayersFromParts(input) {
|
|
|
3287
3289
|
var import_mcp = require("@modelcontextprotocol/sdk/server/mcp.js");
|
|
3288
3290
|
var import_zod = require("zod");
|
|
3289
3291
|
function createIkiMcpServer() {
|
|
3290
|
-
const server = new import_mcp.McpServer({ name: "iki", version: "0.23.
|
|
3292
|
+
const server = new import_mcp.McpServer({ name: "iki", version: "0.23.1" });
|
|
3291
3293
|
server.registerTool(
|
|
3292
3294
|
"validate_iki",
|
|
3293
3295
|
{
|