@ikijs/mcp 0.13.4 → 0.13.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.
@@ -1770,7 +1770,7 @@ async function composeLayersFromParts(input) {
1770
1770
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
1771
1771
  import { z } from "zod";
1772
1772
  function createIkiMcpServer() {
1773
- const server = new McpServer({ name: "iki", version: "0.13.4" });
1773
+ const server = new McpServer({ name: "iki", version: "0.13.5" });
1774
1774
  server.registerTool(
1775
1775
  "validate_iki",
1776
1776
  {
@@ -1858,7 +1858,7 @@ function createIkiMcpServer() {
1858
1858
  noseShift: z.number().optional(),
1859
1859
  mouthShift: z.number().optional()
1860
1860
  }).passthrough().optional().describe(
1861
- "What the head turn is fitted to, as `measure_turn_reference` reports it off a front/turned reference pair. `eyeShift` (and the optional `noseShift`/`mouthShift`) is how far that feature slides across the head at full turn, as a fraction of the head's half-width \u2014 a MAGNITUDE: the rig turns both ways, so the sign is ignored. `farEyeRatio` is the far/near eye width at full turn over that same ratio at rest, `silhouetteRatio` the head's half-width turned over at rest. The half-width the shifts are fractions of is measured off the layers themselves, so it is not an input. An omitted field leaves that part of the turn at the Live2D profile the rig defaults to. A passed `eyeShift` is fitted by the turn's amount and clamped to the room the art leaves the far eye \u2014 the face plate's edge, or the bangs' side strand over the far iris (the result's `turn.clamped` lists every clamped field, `turn.achieved` what the rig reaches, and `turn.strandOverlap` how much of a far iris the bangs still cover). Any other passed target this layer set cannot reach comes back as `INVALID: \u2026` naming the field and the attainable range, since it is a measurement rather than a preference. A field not named here is refused the same way."
1861
+ "What the head turn is fitted to, as `measure_turn_reference` reports it off a front/turned reference pair. `eyeShift` (and the optional `noseShift`/`mouthShift`) is how far that feature slides across the head at full turn, as a fraction of the head's half-width \u2014 a MAGNITUDE: the rig turns both ways, so the sign is ignored. `farEyeRatio` is the far/near eye width at full turn over that same ratio at rest, `silhouetteRatio` the head's half-width turned over at rest. The half-width the shifts are fractions of is measured off the layers themselves, so it is not an input. An omitted field leaves that part of the turn at the Live2D profile the rig defaults to. A passed `eyeShift` is fitted by the turn's amount and clamped to the room the art leaves the far eye \u2014 the face plate's edge, or the bangs' side strand over the far iris (the result's `turn.clamped` lists every clamped field, `turn.achieved` what the rig reaches, and `turn.strandOverlap` how much of a far iris the bangs still cover). A passed `silhouetteRatio` is clamped too, only on a face drawn without hair and with ear islands, where narrowing the head that far would no longer cover the far ear's slide. Any other passed target this layer set cannot reach comes back as `INVALID: \u2026` naming the field and the attainable range, since it is a measurement rather than a preference. A field not named here is refused the same way."
1862
1862
  ),
1863
1863
  style: z.object({
1864
1864
  turn: z.number().optional(),
@@ -2012,4 +2012,4 @@ export {
2012
2012
  composeLayersFromParts,
2013
2013
  createIkiMcpServer
2014
2014
  };
2015
- //# sourceMappingURL=chunk-RCBIMYPR.mjs.map
2015
+ //# sourceMappingURL=chunk-FYHLTB6F.mjs.map