@ikijs/mcp 0.15.0 → 0.17.0

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 CHANGED
@@ -9,7 +9,7 @@ A stdio [MCP](https://modelcontextprotocol.io/) server that exposes `.iki` model
9
9
  | Tool | Description |
10
10
  | --------------------------- | ------------------------------------------------------------------------------------------------------ |
11
11
  | `validate_iki` | Validate a raw `.iki` model — accepts an object or a JSON string — fail-fast, one error at a time. |
12
- | `describe_iki` | Return a structured summary of a valid model's canvas, parameters, parts, and deformers. |
12
+ | `describe_iki` | Return a summary of a valid model's canvas, parameters, parts, deformers, expressions, and motions. |
13
13
  | `list_standard_parameters` | List the recommended standard parameter ids (e.g. `ParamAngleX`, `ParamMouthOpenY`) with descriptions. |
14
14
  | `auto_rig_from_layers` | Auto-rig role-named PNG layers into a renderable `.iki` written to disk; returns the output path. |
15
15
  | `compose_layers_from_parts` | Compose generated part PNGs into canvas-aligned, role-named layers, with the geometry report inline. |
@@ -20,7 +20,7 @@ The `model` input for `validate_iki` and `describe_iki` accepts either a plain J
20
20
 
21
21
  ### `auto_rig_from_layers`
22
22
 
23
- Turns a set of role-named, full-canvas transparent PNG layers into a renderable, validated `.iki` model with the textures atlased and embedded as a base64 `data:image/png` URI. Under `quantizeColors` a `nose` layer is the exception: the palette rims a soft-shaded nose's feather, so the nose is atlased alone on a second, lossless page.
23
+ Turns a set of role-named, full-canvas transparent PNG layers into a renderable, validated `.iki` model with the textures atlased and embedded as a base64 `data:image/png` URI. Under `quantizeColors` a `nose` layer is the exception: the palette rims a soft-shaded nose's feather, so the nose is atlased alone on a second, lossless page. The written model declares the head motions Nod, Shake and Tilt and up to six default expressions (smile, laugh, angry, sad, surprised, shy; `shy` needs a blush, `angry` and `sad` need brows), each with a description a host picks by; with a `blush_L`/`blush_R` layer it also declares `ParamCheek`, which fades the blush from faint at rest to as drawn.
24
24
 
25
25
  - **`layers`** — array of `{ path, fileName? }`. `path` is a PNG file path (resolved against the server's working directory); the role is derived from `fileName ?? basename(path)`. Required roles: `face`, `eye_L`, `eye_R`, `mouth`. Optional roles include `iris_L`/`iris_R`, `brow_L`/`brow_R`, `hair_front`/`hair_back`, `lash_L`/`lash_R`, `lash_lower_L`/`lash_lower_R`, etc. All layers must share the same canvas size (taken from the first layer).
26
26
  - **`outputPath`** — optional `.iki` output path (resolved against the working directory; the parent directory must already exist, and the path must end in `.iki`). Defaults to `auto-rigged-model.iki`.
@@ -36,7 +36,7 @@ Composes a directory of AI-generated part PNGs into canvas-aligned, role-named l
36
36
 
37
37
  - **`partsDir`** — directory of the source part PNGs (resolved against the server's working directory). Required sources: `face.png`, `eyewhite.png` (split into the sclera, the upper lash and the lower lid — `lash_lower_L`/`lash_lower_R`, the dark line and lashes of the eye's lower part, which draw over the iris and are placed on the sclera's frame by the `eye_*` layout, so they have no layout key of their own; an eyewhite with no dark lower lid writes none and lists them in `skipped`. A light mark drawn detached above the eye white, such as a double-eyelid crease, is dropped from the sclera — the iris's clip — while dark strokes there stay lash ink), `iris.png`, `mouth.png`, `brow.png`, `hair_front.png`. Optional: `hair_back.png`, `body.png`, `mouth_open.png`, `blush.png`, `nose.png` — a parts dir without them still composes, minus those roles. One `blush.png` makes both cheeks' blush: `blush_R` takes it as drawn and `blush_L` mirrored. It is decoration, so the report does not flag a set without it. The nose is what the auto-rig leads the head turn with, and a face supplied alongside it must be drawn without one, or the painted nose stays on the face plate while the real one moves. Each part but the eye pair is cropped to its drawing before it is sized and placed. A faint speck detached from the drawing, one that never reaches alpha 128 and covers under 1 % of the part's pixels (residue a background removal leaves), is cut out with the margin it widened, so it cannot pull the part off its centre. A detached stroke that reaches alpha 128 is kept.
38
38
  - **`outDir`** — an existing directory (resolved against the working directory, confined to it exactly like `auto_rig_from_layers`'s `outputPath`; the tool never creates directories) to write the role layer PNGs and a flattened `preview.png` into. Reusing a directory across runs is intentional — a role this run skips (e.g. composing a head-only set that omits `body`) has its stale `<role>.png` from an earlier run deleted, so the directory always holds exactly this run's roles.
39
- - **`layout`** — optional per-role override merged over the built-in defaults, e.g. `{ "eye_L": { "cx": 660 } }`, so a character can be retuned by re-running compose rather than editing a script. Each of `cx`, `cy`, `w`, `h` is optional; `w` and `h` must be integers in 1..1100 (the canvas size). Omitting `h` keeps the part's own aspect ratio, which is what every role wants until one does not: a generated eyewhite often comes back flatter than its reference, and stretching a flat white lens costs nothing where regenerating it is billed and unreliable. The nose is sized and placed by its dense core — its pixels at alpha ≥ 128, the drawing a viewer reads inside a soft nose's feather — rather than its whole part, which for a shaded-bump nose is mostly feather: `w` (default 40) and `h` size the core, `cx` (default 550) centres it, and a set `cy` centres its rows. By default its `cy` is unset, and the core's bottom row (the tip) lands 0.86 of the way from the eye row down to the mouth's, so the nose follows a retuned eye or mouth row. A nose with no pixel at alpha ≥ 128 is sized and placed whole, and so is one whose core is a speck of its trimmed part — under a quarter of its width or height, such as a lone nostril mark or highlight, which sized to `w` would blow the whole nose up — and the report warns of the speck. Set `h` on a sclera and its lash together — they share one frame, and the blink fold tears if they diverge, so a pair set to land on different frames is rejected.
39
+ - **`layout`** — optional per-role override merged over the built-in defaults, e.g. `{ "eye_L": { "cx": 660 } }`, so a character can be retuned by re-running compose rather than editing a script. Each of `cx`, `cy`, `w`, `h` is optional; `w` and `h` must be integers in 1..1100 (the canvas size). The defaults of the face's features — blush, nose, mouth, `mouth_open`, eyes, irises, lashes, brows — are proportions of the face: an override of `face.cx`, `face.cy` or `face.w` carries them with it (scaled by the width; `face.h` stretches the face alone), while a feature's own override names canvas px. Omitting `h` keeps the part's own aspect ratio, which is what every role wants until one does not: a generated eyewhite often comes back flatter than its reference, and stretching a flat white lens costs nothing where regenerating it is billed and unreliable. The nose is sized and placed by its dense core — its pixels at alpha ≥ 128, the drawing a viewer reads inside a soft nose's feather — rather than its whole part, which for a shaded-bump nose is mostly feather: `w` (default 20) and `h` size the core, `cx` (default 550) centres it, and a set `cy` centres its rows. By default its `cy` is unset, and the core's bottom row (the tip) lands 0.66 of the way from the eye row down to the mouth's, so the nose follows a retuned eye or mouth row. A nose with no pixel at alpha ≥ 128 is sized and placed whole, and so is one whose core is a speck of its trimmed part — under a quarter of its width or height, such as a lone nostril mark or highlight, which sized to `w` would blow the whole nose up — and the report warns of the speck. Set `h` on a sclera and its lash together — they share one frame, and the blink fold tears if they diverge, so a pair set to land on different frames is rejected.
40
40
  - **`mirrorParts`** — optional list of part files to flip left-right as they are read, e.g. `["eyewhite.png"]`. Which way a part faces is fixed by the layout, and "left eye" cannot pin it down — it reads as the viewer's left or the character's — so in image terms: `eyewhite.png` is read as the eye on the screen left, lash wing (outer corner) at the image's left end and lash-free tear duct at its right; `brow.png` as the brow on the screen right, thick head at the image's left end and tail at its right; `blush.png` as the blush on the screen left, outer end (toward the face's edge) at the image's left end and inner end at its right. A part drawn the other way round is fixed here for free instead of regenerated. It flips the source, so every role cut from it flips together and an eye's sclera and lash stay in one frame.
41
41
  - **Result** — on success the text is the written layer paths (one per line) followed by the same geometry report `measure_layers` returns — except that when the composer found the core of the nose's source part a speck, its nose check reports that verdict instead of what the composed file shows, so a speck that resampling erased from the layer is warned about here and not by `measure_layers`. `structuredContent` is `{ ok: true, outDir, layers, skipped, preview, measure }`. Invalid input (a missing required part, an unknown `layout` role, an out-of-range `w` or `h`, a lash placed on a different frame from its sclera's, a `mirrorParts` entry that is not a part file, a part that lands entirely off-canvas, a non-existent `outDir`) returns `{ ok: false, error }` with `INVALID: …` text.
42
42
 
@@ -272,12 +272,24 @@ function describeIki(model) {
272
272
  return entry;
273
273
  }
274
274
  );
275
+ const expressions = (m.expressions ?? []).map((e) => ({
276
+ id: e.id,
277
+ description: e.description
278
+ }));
279
+ const motions = Object.fromEntries(
280
+ Object.entries(m.motions ?? {}).map(([group, clips]) => [
281
+ group,
282
+ clips.map((c) => c.description)
283
+ ])
284
+ );
275
285
  const summary = {
276
286
  name: m.name,
277
287
  canvas: { width: m.canvas.width, height: m.canvas.height },
278
288
  parameters,
279
289
  parts,
280
- deformers
290
+ deformers,
291
+ expressions,
292
+ motions
281
293
  };
282
294
  return { ok: true, summary };
283
295
  }
@@ -338,6 +350,10 @@ var STANDARD_PARAMETER_INFO = [
338
350
  id: StandardParameter.BrowRightAngle,
339
351
  description: "Right brow tilt/angle (-1 .. 1)."
340
352
  },
353
+ {
354
+ id: StandardParameter.Cheek,
355
+ description: "Cheek blush strength (0 .. 1), raised by an expression."
356
+ },
341
357
  {
342
358
  id: StandardParameter.HairSwayX,
343
359
  description: "Horizontal hair-sway driver. Physics OUTPUT \u2014 driven by the spring, hosts should not set it directly."
@@ -1204,14 +1220,14 @@ import path5 from "path";
1204
1220
  import sharp2 from "sharp";
1205
1221
  import { ALPHA_OPAQUE as ALPHA_OPAQUE2, detectAlphaBbox as scanAlphaBbox2 } from "@ikijs/editor";
1206
1222
  var CANVAS = 1100;
1207
- var EYE_W = 128;
1208
- var IRIS_W = Math.round(EYE_W * 0.5625);
1223
+ var EYE_W = 98;
1224
+ var IRIS_W = 50;
1209
1225
  var EYEWHITE_SRC = "eyewhite.png";
1210
1226
  var EYE_LASH_LUMA = 120;
1211
1227
  var LASH_KEEP_FRACTION = 0.5;
1212
1228
  var TRIM_THRESHOLD = 12;
1213
1229
  var STRAY_SPECK_FRACTION = 0.01;
1214
- var NOSE_TIP_AT = 0.86;
1230
+ var NOSE_TIP_AT = 0.66;
1215
1231
  var DEFAULT_LAYOUT = {
1216
1232
  // Back hair and body sit behind the face. Both are OPTIONAL: a parts dir
1217
1233
  // without them still composes (head-only character).
@@ -1219,19 +1235,19 @@ var DEFAULT_LAYOUT = {
1219
1235
  // The torso, cut off by the canvas bottom, so the character is not a
1220
1236
  // floating head. It rides its own `bodyDeformer`, which only breathes.
1221
1237
  body: { src: "body.png", cx: 550, cy: 1017, w: 840, optional: true },
1222
- face: { src: "face.png", cx: 550, cy: 475, w: 400 },
1238
+ // The face is drawn without a neck, so its box is the skull and centres
1239
+ // above the eye row (bob's skull at 437 against his eyes' 475).
1240
+ face: { src: "face.png", cx: 550, cy: 437, w: 400 },
1223
1241
  // The cheek blush, one part for both cheeks: blush_R (screen left) takes it
1224
1242
  // as drawn and blush_L mirrors it, like the eyewhite. It draws over the face
1225
- // and under the nose. Its box sits below each eye, centred just outside the
1226
- // eye's centre and above the nose tip. Tuned on the hero's face at its
1227
- // default placement, which narrows fast below the eye row: a 96-wide box at
1228
- // row 552 ran up to 24 px past the cheek's drawn outline (inside the ears),
1229
- // and this one, for a 2:1 blush, stays inside it by 1 px at its lower outer
1230
- // corner. OPTIONAL, and decoration: a parts dir without it composes, and
1231
- // nothing reports it missing.
1232
- blush_L: { src: "blush.png", cx: 662, cy: 530, w: 56, optional: true, mirror: true },
1243
+ // and under the nose. Its box sits below each eye, centred 5 px outside the
1244
+ // eye's centre and 55 px under its row, above the nose tip: on bob's face,
1245
+ // which narrows fast below the eye row, a 2:1 blush there stays on the
1246
+ // cheek through the turn, where one 26 px further out reached the ears.
1247
+ // OPTIONAL: a parts dir without it composes, and nothing reports it missing.
1248
+ blush_L: { src: "blush.png", cx: 641, cy: 530, w: 56, optional: true, mirror: true },
1233
1249
  // prettier-ignore
1234
- blush_R: { src: "blush.png", cx: 438, cy: 530, w: 56, optional: true, mirror: false },
1250
+ blush_R: { src: "blush.png", cx: 459, cy: 530, w: 56, optional: true, mirror: false },
1235
1251
  // prettier-ignore
1236
1252
  // The nose, drawn on its own (the face is drawn without one): the auto-rig
1237
1253
  // leads the head turn with it and keys the other features' slide on its
@@ -1239,8 +1255,8 @@ var DEFAULT_LAYOUT = {
1239
1255
  // width of its dense core, and it has no `cy`: its row comes from the tip
1240
1256
  // rule (NOSE_TIP_AT), between the eyes and the mouth, so it follows them
1241
1257
  // when they are retuned. OPTIONAL: a parts dir without it composes.
1242
- nose: { src: "nose.png", cx: 550, w: 40, optional: true },
1243
- mouth: { src: "mouth.png", cx: 550, cy: 619, w: 68 },
1258
+ nose: { src: "nose.png", cx: 550, w: 20, optional: true },
1259
+ mouth: { src: "mouth.png", cx: 550, cy: 594, w: 76 },
1244
1260
  // Cross-fades with `mouth` on ParamMouthOpenY (opacity, not scaleY) once the
1245
1261
  // auto-rig sees both roles. Same cx/w as `mouth` so the lip width matches;
1246
1262
  // its top edge (not center) lines up with the closed mouth's top edge since
@@ -1249,32 +1265,33 @@ var DEFAULT_LAYOUT = {
1249
1265
  mouth_open: {
1250
1266
  src: "mouth_open.png",
1251
1267
  cx: 550,
1252
- cy: 621,
1253
- w: 68,
1268
+ cy: 596,
1269
+ w: 76,
1254
1270
  optional: true
1255
1271
  },
1256
1272
  // eye_* (sclera) and lash_* share the eyewhite's cropped frame via noTrim (so
1257
1273
  // they are NOT re-bboxed independently): the upper lash stays anchored ABOVE
1258
1274
  // the sclera center, so on blink it folds DOWN over the eye like the sample
1259
1275
  // model instead of the whole eye shrinking in place. Same cx/cy/w.
1260
- eye_L: { src: "eyewhite_sclera.png", cx: 657, cy: 475, w: EYE_W, mirror: true, noTrim: true },
1276
+ eye_L: { src: "eyewhite_sclera.png", cx: 636, cy: 475, w: EYE_W, mirror: true, noTrim: true },
1261
1277
  // prettier-ignore
1262
- eye_R: { src: "eyewhite_sclera.png", cx: 443, cy: 475, w: EYE_W, mirror: false, noTrim: true },
1278
+ eye_R: { src: "eyewhite_sclera.png", cx: 464, cy: 475, w: EYE_W, mirror: false, noTrim: true },
1263
1279
  // prettier-ignore
1264
- iris_L: { src: "iris.png", cx: 653, cy: 475, w: IRIS_W, mirror: false },
1265
- iris_R: { src: "iris.png", cx: 447, cy: 475, w: IRIS_W, mirror: false },
1280
+ // A little under the white's centre and toward the nose, as bob's sits.
1281
+ iris_L: { src: "iris.png", cx: 631, cy: 480, w: IRIS_W, mirror: false },
1282
+ iris_R: { src: "iris.png", cx: 469, cy: 480, w: IRIS_W, mirror: false },
1266
1283
  lash_L: {
1267
1284
  src: "eyewhite_lash.png",
1268
- cx: 657,
1285
+ cx: 636,
1269
1286
  cy: 475,
1270
1287
  w: EYE_W,
1271
1288
  mirror: true,
1272
1289
  noTrim: true
1273
1290
  },
1274
- lash_R: { src: "eyewhite_lash.png", cx: 443, cy: 475, w: EYE_W, mirror: false, noTrim: true },
1291
+ lash_R: { src: "eyewhite_lash.png", cx: 464, cy: 475, w: EYE_W, mirror: false, noTrim: true },
1275
1292
  // prettier-ignore
1276
- brow_L: { src: "brow.png", cx: 645, cy: 405, w: 135, mirror: false },
1277
- brow_R: { src: "brow.png", cx: 455, cy: 405, w: 135, mirror: true },
1293
+ brow_L: { src: "brow.png", cx: 645, cy: 405, w: 105, mirror: false },
1294
+ brow_R: { src: "brow.png", cx: 455, cy: 405, w: 105, mirror: true },
1278
1295
  hair_front: { src: "hair_front.png", cx: 550, cy: 425, w: 660 }
1279
1296
  };
1280
1297
  var LOWER_LASH = { lash_lower_L: "eye_L", lash_lower_R: "eye_R" };
@@ -1306,9 +1323,24 @@ var PART_FILES = [
1306
1323
  ),
1307
1324
  EYEWHITE_SRC
1308
1325
  ];
1326
+ var FACE_FEATURES = [
1327
+ "blush_L",
1328
+ "blush_R",
1329
+ "mouth",
1330
+ "mouth_open",
1331
+ "eye_L",
1332
+ "eye_R",
1333
+ "iris_L",
1334
+ "iris_R",
1335
+ "lash_L",
1336
+ "lash_R",
1337
+ "brow_L",
1338
+ "brow_R"
1339
+ ];
1309
1340
  function resolveLayout(overrides) {
1310
1341
  const resolved = { ...DEFAULT_LAYOUT };
1311
1342
  if (overrides === void 0) return resolved;
1343
+ const sets = /* @__PURE__ */ new Map();
1312
1344
  for (const [role, override] of Object.entries(overrides)) {
1313
1345
  if (!Object.prototype.hasOwnProperty.call(DEFAULT_LAYOUT, role)) {
1314
1346
  throw new AutoRigInputError(
@@ -1337,9 +1369,30 @@ function resolveLayout(overrides) {
1337
1369
  }
1338
1370
  set[field] = value;
1339
1371
  }
1340
- const key = role;
1341
- if (key === "nose") resolved.nose = { ...resolved.nose, ...set };
1342
- else resolved[key] = { ...resolved[key], ...set };
1372
+ sets.set(role, set);
1373
+ }
1374
+ const face = { ...resolved.face, ...sets.get("face") };
1375
+ resolved.face = face;
1376
+ const base = DEFAULT_LAYOUT.face;
1377
+ const scale = face.w / base.w;
1378
+ const x = (cx) => face.cx + (cx - base.cx) * scale;
1379
+ const w = (width) => Math.max(1, Math.round(width * scale));
1380
+ for (const role of FACE_FEATURES) {
1381
+ const d = DEFAULT_LAYOUT[role];
1382
+ const cy = face.cy + (d.cy - base.cy) * scale;
1383
+ resolved[role] = { ...d, cx: x(d.cx), cy, w: w(d.w), ...sets.get(role) };
1384
+ }
1385
+ const nose = DEFAULT_LAYOUT.nose;
1386
+ resolved.nose = {
1387
+ ...nose,
1388
+ cx: x(nose.cx),
1389
+ w: w(nose.w),
1390
+ ...sets.get("nose")
1391
+ };
1392
+ for (const [role, set] of sets) {
1393
+ if (role === "face" || role === "nose") continue;
1394
+ if (FACE_FEATURES.includes(role)) continue;
1395
+ resolved[role] = { ...resolved[role], ...set };
1343
1396
  }
1344
1397
  return resolved;
1345
1398
  }
@@ -1793,7 +1846,7 @@ async function composeLayersFromParts(input) {
1793
1846
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
1794
1847
  import { z } from "zod";
1795
1848
  function createIkiMcpServer() {
1796
- const server = new McpServer({ name: "iki", version: "0.15.0" });
1849
+ const server = new McpServer({ name: "iki", version: "0.17.0" });
1797
1850
  server.registerTool(
1798
1851
  "validate_iki",
1799
1852
  {
@@ -1820,7 +1873,7 @@ function createIkiMcpServer() {
1820
1873
  server.registerTool(
1821
1874
  "describe_iki",
1822
1875
  {
1823
- description: "Summarizes a valid model's canvas/params/parts/deformers; returns an error for an invalid model.",
1876
+ description: "Summarizes a valid model's canvas/params/parts/deformers and its expressions and motion clips (with the descriptions a host picks them by); returns an error for an invalid model.",
1824
1877
  inputSchema: {
1825
1878
  model: z.unknown().describe("Raw .iki model JSON (object or JSON string)")
1826
1879
  }
@@ -1930,7 +1983,7 @@ function createIkiMcpServer() {
1930
1983
  h: z.number()
1931
1984
  }).partial()
1932
1985
  ).optional().describe(
1933
- "Per-role override merged over the built-in defaults, keyed by role \u2014 hair_back, body, face, blush_L, blush_R, nose, mouth, mouth_open, eye_L, eye_R, iris_L, iris_R, lash_L, lash_R, brow_L, brow_R, hair_front \u2014 e.g. `{ eye_L: { cx: 660 } }`. `w` and `h` are integers in 1..1100; omit `h` to keep the part's own aspect, set it to stretch. The nose is sized and placed by its dense core (its pixels at alpha >= 128, the drawing inside a soft nose's feather), not its whole part: `w`/`h` size the core, `cx` centres it, and a set `cy` centres its rows. A nose whose core is a speck \u2014 under a quarter of the trimmed part's width or height, such as a lone nostril mark or highlight \u2014 is sized and placed whole instead, and the report warns of it. Its `cy` defaults to unset, which lands the core's bottom row (the tip) 0.86 of the way from the eye row down to the mouth's, so the nose follows a retuned eye or mouth row. eye_L/lash_L and eye_R/lash_R are cut from one eyewhite into one frame, so each pair must land on the same frame \u2014 a pair set to land apart is rejected. lash_lower_L/lash_lower_R are cut from it too and have no key: they land on their eye's frame."
1986
+ "Per-role override merged over the built-in defaults, keyed by role \u2014 hair_back, body, face, blush_L, blush_R, nose, mouth, mouth_open, eye_L, eye_R, iris_L, iris_R, lash_L, lash_R, brow_L, brow_R, hair_front \u2014 e.g. `{ eye_L: { cx: 660 } }`. `w` and `h` are integers in 1..1100; omit `h` to keep the part's own aspect, set it to stretch. The defaults of the face's features \u2014 blush, nose, mouth, mouth_open, eyes, irises, lashes, brows \u2014 are proportions of the face: an override of face.cx, face.cy or face.w carries them with it (scaled by the width; face.h stretches the face alone), while a feature's own override names canvas px. The nose is sized and placed by its dense core (its pixels at alpha >= 128, the drawing inside a soft nose's feather), not its whole part: `w`/`h` size the core, `cx` centres it, and a set `cy` centres its rows. A nose whose core is a speck \u2014 under a quarter of the trimmed part's width or height, such as a lone nostril mark or highlight \u2014 is sized and placed whole instead, and the report warns of it. Its `cy` defaults to unset, which lands the core's bottom row (the tip) 0.66 of the way from the eye row down to the mouth's, so the nose follows a retuned eye or mouth row. eye_L/lash_L and eye_R/lash_R are cut from one eyewhite into one frame, so each pair must land on the same frame \u2014 a pair set to land apart is rejected. lash_lower_L/lash_lower_R are cut from it too and have no key: they land on their eye's frame."
1934
1987
  ),
1935
1988
  mirrorParts: z.array(z.string()).optional().describe(
1936
1989
  "Part files to flip left-right as they are read, e.g. `[\"eyewhite.png\"]`. The composer reads eyewhite.png as the eye on the screen LEFT (lash wing at the image's left end, lash-free tear duct at its right), brow.png as the brow on the screen RIGHT (thick head at the image's left end, tail at its right), and blush.png as the blush on the screen LEFT (outer end, toward the face's edge, at the image's left end, inner end at its right); a part drawn the other way round is fixed here for free. It flips the source, so every role cut from it flips together and an eye's sclera and lash stay in one frame."
@@ -2035,4 +2088,4 @@ export {
2035
2088
  composeLayersFromParts,
2036
2089
  createIkiMcpServer
2037
2090
  };
2038
- //# sourceMappingURL=chunk-V2FRFOKX.mjs.map
2091
+ //# sourceMappingURL=chunk-NNFD636K.mjs.map