@ikijs/mcp 0.24.0 → 0.25.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 +5 -4
- package/dist/{chunk-GEXOSC5O.mjs → chunk-JIVXQW4L.mjs} +877 -62
- package/dist/chunk-JIVXQW4L.mjs.map +1 -0
- package/dist/cli.js +936 -130
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.d.mts +82 -1
- package/dist/index.d.ts +82 -1
- package/dist/index.js +940 -130
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/render-page.global.js +18 -2
- package/package.json +2 -2
- package/dist/chunk-GEXOSC5O.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoRigFromLayers,
|
|
3
|
+
checkModelFolds,
|
|
3
4
|
composeLayersFromParts,
|
|
4
5
|
createIkiMcpServer,
|
|
5
6
|
describeIki,
|
|
7
|
+
formatFoldReport,
|
|
6
8
|
formatMeasureReport,
|
|
7
9
|
formatTurnReport,
|
|
8
10
|
listStandardParameters,
|
|
@@ -10,12 +12,14 @@ import {
|
|
|
10
12
|
measureTurnReference,
|
|
11
13
|
renderPoses,
|
|
12
14
|
validateIki
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JIVXQW4L.mjs";
|
|
14
16
|
export {
|
|
15
17
|
autoRigFromLayers,
|
|
18
|
+
checkModelFolds,
|
|
16
19
|
composeLayersFromParts,
|
|
17
20
|
createIkiMcpServer,
|
|
18
21
|
describeIki,
|
|
22
|
+
formatFoldReport,
|
|
19
23
|
formatMeasureReport,
|
|
20
24
|
formatTurnReport,
|
|
21
25
|
listStandardParameters,
|
|
@@ -194,8 +194,7 @@
|
|
|
194
194
|
}
|
|
195
195
|
return points;
|
|
196
196
|
}
|
|
197
|
-
function transformGridPoints(points, affine) {
|
|
198
|
-
const out = new Float32Array(points.length);
|
|
197
|
+
function transformGridPoints(points, affine, out = new Float32Array(points.length)) {
|
|
199
198
|
for (let i = 0; i < points.length; i += 2) {
|
|
200
199
|
const x = points[i];
|
|
201
200
|
const y = points[i + 1];
|
|
@@ -1194,6 +1193,23 @@ void main() {
|
|
|
1194
1193
|
StandardParameter.EyeballY
|
|
1195
1194
|
]);
|
|
1196
1195
|
|
|
1196
|
+
// ../engine/src/folds.ts
|
|
1197
|
+
var ANGLES = [
|
|
1198
|
+
StandardParameter.AngleX,
|
|
1199
|
+
StandardParameter.AngleY,
|
|
1200
|
+
StandardParameter.AngleZ,
|
|
1201
|
+
StandardParameter.BodyAngleX,
|
|
1202
|
+
StandardParameter.BodyAngleY,
|
|
1203
|
+
StandardParameter.BodyAngleZ
|
|
1204
|
+
];
|
|
1205
|
+
var CROSSES = [
|
|
1206
|
+
[StandardParameter.EyeOpenLeft],
|
|
1207
|
+
[StandardParameter.EyeOpenRight],
|
|
1208
|
+
[StandardParameter.MouthOpen],
|
|
1209
|
+
[StandardParameter.ArmLeft, StandardParameter.ArmRight],
|
|
1210
|
+
[StandardParameter.ElbowLeft, StandardParameter.ElbowRight]
|
|
1211
|
+
];
|
|
1212
|
+
|
|
1197
1213
|
// src/render-page.ts
|
|
1198
1214
|
var nextFrame = () => new Promise((resolve) => requestAnimationFrame(() => resolve()));
|
|
1199
1215
|
var settle = async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikijs/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "MCP server that lets AI agents build 2D puppet characters: compose AI-drawn part images, check their geometry and auto-rig them into an open .iki model — Iki, the free Live2D alternative.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iki",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"zod": "^3.25"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@ikijs/engine": "^0.
|
|
51
|
+
"@ikijs/engine": "^0.7.0",
|
|
52
52
|
"tsup": "^8.5.0",
|
|
53
53
|
"typescript": "^5.9.2"
|
|
54
54
|
},
|