@ikijs/mcp 0.11.2 → 0.11.3

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/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  createIkiMcpServer
4
- } from "./chunk-ZWDX42O2.mjs";
4
+ } from "./chunk-CFP3KTDY.mjs";
5
5
 
6
6
  // src/cli.ts
7
7
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
package/dist/index.d.mts CHANGED
@@ -162,23 +162,13 @@ type AutoRigResult = {
162
162
  * the textures (Node sharp), validate, and write the renderable `.iki` to disk.
163
163
  * Returns the output path + summary stats (the multi-MB model is never inlined).
164
164
  *
165
- * The head turn is fitted to `input.turnTargets`, on the head half-width this
166
- * measures off the layers themselves; what the solve settled on comes back in
167
- * `turn`. The face layer alone also gets its per-row painted half-widths
168
- * (`LayerInput.rowHalfWidths`), which bend the face plate on a row-dependent
169
- * radius: the generator reads no other role's, so measuring any other layer's
170
- * would only hand it bytes it discards. Each iris's opaque span and the bangs'
171
- * run it would slide under are measured on the iris's own centre row too
172
- * (`strandEdges`), so the turn keeps the far iris from sliding under the bangs
173
- * any further than it is painted; a run narrower than half the iris there is
174
- * hair detail the iris may cross, and is skipped. The nose layer alone also
175
- * gets its dense core measured (`LayerInput.denseCore`, returned as
176
- * `noseCore`), so a shaded nose is fitted and tilted by the drawing inside its
177
- * feather rather than by the feather itself — unless that core is a speck of
178
- * the nose's crop (`isSpeckCore`), which is not handed over: the crop stands
179
- * in, as it does for a nose with no core. Under `quantizeColors` that nose
180
- * is atlased alone on a second, lossless page, which the palette would
181
- * otherwise rim; `atlasBytes` sums both pages.
165
+ * The head turn is fitted to `input.turnTargets`, on what @ikijs/editor's
166
+ * `createLayerSetMeasurer` measures off the decoded layers (the head
167
+ * half-width, `headEdges`, `strandEdges`, the face's `rowHalfWidths` and the
168
+ * nose's dense core, returned as `noseCore`); what the solve settled on comes
169
+ * back in `turn`. Under `quantizeColors` the nose is atlased alone on a
170
+ * second, lossless page, which the palette would otherwise rim; `atlasBytes`
171
+ * sums both pages.
182
172
  *
183
173
  * Re-host of examples/editor/src/store.ts `importLayerSet` with the three DOM
184
174
  * pixel functions swapped for the sharp-backed ./node-images helpers; the pure
@@ -470,6 +460,7 @@ declare function composeLayersFromParts(input: ComposeInput): Promise<ComposeRes
470
460
  * `sharp` must stay confined to @ikijs/mcp; the decode and the debug-overlay
471
461
  * encode both go through ./node-images, this package's single image boundary.
472
462
  */
463
+
473
464
  /**
474
465
  * Hue/saturation window that selects the iris. Anime irises are a saturated
475
466
  * colour on a face that is not, which is what makes them findable at all; the
package/dist/index.d.ts CHANGED
@@ -162,23 +162,13 @@ type AutoRigResult = {
162
162
  * the textures (Node sharp), validate, and write the renderable `.iki` to disk.
163
163
  * Returns the output path + summary stats (the multi-MB model is never inlined).
164
164
  *
165
- * The head turn is fitted to `input.turnTargets`, on the head half-width this
166
- * measures off the layers themselves; what the solve settled on comes back in
167
- * `turn`. The face layer alone also gets its per-row painted half-widths
168
- * (`LayerInput.rowHalfWidths`), which bend the face plate on a row-dependent
169
- * radius: the generator reads no other role's, so measuring any other layer's
170
- * would only hand it bytes it discards. Each iris's opaque span and the bangs'
171
- * run it would slide under are measured on the iris's own centre row too
172
- * (`strandEdges`), so the turn keeps the far iris from sliding under the bangs
173
- * any further than it is painted; a run narrower than half the iris there is
174
- * hair detail the iris may cross, and is skipped. The nose layer alone also
175
- * gets its dense core measured (`LayerInput.denseCore`, returned as
176
- * `noseCore`), so a shaded nose is fitted and tilted by the drawing inside its
177
- * feather rather than by the feather itself — unless that core is a speck of
178
- * the nose's crop (`isSpeckCore`), which is not handed over: the crop stands
179
- * in, as it does for a nose with no core. Under `quantizeColors` that nose
180
- * is atlased alone on a second, lossless page, which the palette would
181
- * otherwise rim; `atlasBytes` sums both pages.
165
+ * The head turn is fitted to `input.turnTargets`, on what @ikijs/editor's
166
+ * `createLayerSetMeasurer` measures off the decoded layers (the head
167
+ * half-width, `headEdges`, `strandEdges`, the face's `rowHalfWidths` and the
168
+ * nose's dense core, returned as `noseCore`); what the solve settled on comes
169
+ * back in `turn`. Under `quantizeColors` the nose is atlased alone on a
170
+ * second, lossless page, which the palette would otherwise rim; `atlasBytes`
171
+ * sums both pages.
182
172
  *
183
173
  * Re-host of examples/editor/src/store.ts `importLayerSet` with the three DOM
184
174
  * pixel functions swapped for the sharp-backed ./node-images helpers; the pure
@@ -470,6 +460,7 @@ declare function composeLayersFromParts(input: ComposeInput): Promise<ComposeRes
470
460
  * `sharp` must stay confined to @ikijs/mcp; the decode and the debug-overlay
471
461
  * encode both go through ./node-images, this package's single image boundary.
472
462
  */
463
+
473
464
  /**
474
465
  * Hue/saturation window that selects the iris. Anime irises are a saturated
475
466
  * colour on a face that is not, which is what makes them findable at all; the