@ikijs/mcp 0.27.0 → 0.29.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/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  measureTurnReference,
15
15
  renderPoses,
16
16
  validateIki
17
- } from "./chunk-7POOGY7U.mjs";
17
+ } from "./chunk-IG2FZKTW.mjs";
18
18
  export {
19
19
  autoRigFromLayers,
20
20
  checkModelFolds,
@@ -1132,6 +1132,10 @@ void main() {
1132
1132
  BodyAngleZ: "ParamBodyAngleZ",
1133
1133
  /** Idle breath (0 .. 1), cycled by the host. */
1134
1134
  Breath: "ParamBreath",
1135
+ /** Ambient sway (-1 .. 1): a slow zero-mean drift the idle writes for physics
1136
+ * rigs to follow (the auto-rig's hair in idle). Not a wind: no bias. Stays
1137
+ * procedural under a declared Idle group, as Breath does. */
1138
+ AmbientSway: "ParamAmbientSway",
1135
1139
  /** Left brow vertical raise/lower (-1 down .. 1 up). */
1136
1140
  BrowLeftY: "ParamBrowLY",
1137
1141
  /** Right brow vertical raise/lower (-1 down .. 1 up). */
@@ -1142,10 +1146,12 @@ void main() {
1142
1146
  BrowRightAngle: "ParamBrowRAngle",
1143
1147
  /** Cheek blush strength (0 .. 1), raised by an expression. */
1144
1148
  Cheek: "ParamCheek",
1145
- /** Horizontal hair sway. Physics OUTPUT — driven by the spring, not set by the host. */
1149
+ /** The front hair's horizontal sway. Physics OUTPUT — driven by the spring, not set by the host. */
1146
1150
  HairSwayX: "ParamHairSwayX",
1147
- /** Hair sway behind a head tilt. Physics OUTPUT — driven by the spring, not set by the host. */
1151
+ /** The front hair's sway behind a head tilt. Physics OUTPUT — driven by the spring, not set by the host. */
1148
1152
  HairSwayZ: "ParamHairSwayZ",
1153
+ /** The back hair's sway behind the head turn, tilt and the ambient drift, one spring slower than the front hair's so the two layers swing out of phase. Physics OUTPUT — driven by the spring, not set by the host. */
1154
+ HairBackSway: "ParamHairBackSway",
1149
1155
  /** Left shoulder, degrees. Positive raises the arm outward (mirrored on the right). */
1150
1156
  ArmLeft: "ParamArmL",
1151
1157
  /** Right shoulder, degrees. Positive raises the arm outward (mirrored on the left). */
@@ -1168,7 +1174,8 @@ void main() {
1168
1174
  var IDLE_PROCEDURAL = /* @__PURE__ */ new Set([
1169
1175
  StandardParameter.EyeOpenLeft,
1170
1176
  StandardParameter.EyeOpenRight,
1171
- StandardParameter.Breath
1177
+ StandardParameter.Breath,
1178
+ StandardParameter.AmbientSway
1172
1179
  ]);
1173
1180
 
1174
1181
  // ../engine/src/frame-clock.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikijs/mcp",
3
- "version": "0.27.0",
3
+ "version": "0.29.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",
@@ -41,14 +41,14 @@
41
41
  "!dist/metafile-*.json"
42
42
  ],
43
43
  "dependencies": {
44
- "@ikijs/editor": "^0.25.1",
45
- "@ikijs/format": "^0.8.1",
44
+ "@ikijs/editor": "^0.27.0",
45
+ "@ikijs/format": "^0.10.0",
46
46
  "@modelcontextprotocol/sdk": "^1.29.0",
47
47
  "sharp": "^0.33.5",
48
48
  "zod": "^3.25"
49
49
  },
50
50
  "devDependencies": {
51
- "@ikijs/engine": "^0.8.0",
51
+ "@ikijs/engine": "^0.9.1",
52
52
  "tsup": "^8.5.0",
53
53
  "typescript": "^5.9.2"
54
54
  },