@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.
- package/dist/{chunk-RCBIMYPR.mjs → chunk-FYHLTB6F.mjs} +3 -3
- package/dist/{chunk-RCBIMYPR.mjs.map → chunk-FYHLTB6F.mjs.map} +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -1796,7 +1796,7 @@ async function composeLayersFromParts(input) {
|
|
|
1796
1796
|
var import_mcp = require("@modelcontextprotocol/sdk/server/mcp.js");
|
|
1797
1797
|
var import_zod = require("zod");
|
|
1798
1798
|
function createIkiMcpServer() {
|
|
1799
|
-
const server = new import_mcp.McpServer({ name: "iki", version: "0.13.
|
|
1799
|
+
const server = new import_mcp.McpServer({ name: "iki", version: "0.13.5" });
|
|
1800
1800
|
server.registerTool(
|
|
1801
1801
|
"validate_iki",
|
|
1802
1802
|
{
|
|
@@ -1884,7 +1884,7 @@ function createIkiMcpServer() {
|
|
|
1884
1884
|
noseShift: import_zod.z.number().optional(),
|
|
1885
1885
|
mouthShift: import_zod.z.number().optional()
|
|
1886
1886
|
}).passthrough().optional().describe(
|
|
1887
|
-
"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."
|
|
1887
|
+
"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."
|
|
1888
1888
|
),
|
|
1889
1889
|
style: import_zod.z.object({
|
|
1890
1890
|
turn: import_zod.z.number().optional(),
|