klypix-mcp 1.67.1 → 1.67.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "klypix-mcp",
3
- "version": "1.67.1",
3
+ "version": "1.67.2",
4
4
  "description": "Shared project brain and MCP coordination server for multi-agent coding.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -58,7 +58,10 @@ export function semanticRuntimeEntryIfSafe(transformersEntry) {
58
58
  try {
59
59
  const transformers = findPackageManifest(transformersEntry, '@huggingface/transformers');
60
60
  if (!transformers) return null;
61
- const sharpEntry = createRequire(transformers.manifestPath).resolve('sharp');
61
+ // Resolve from the exact executable bundle entry. Resolving from the
62
+ // package manifest misses a Sharp installation shadowed under dist/
63
+ // even though that is the copy the ESM bundle itself will import.
64
+ const sharpEntry = createRequire(transformersEntry).resolve('sharp');
62
65
  const sharp = findPackageManifest(sharpEntry, 'sharp');
63
66
  return sharp && isSafeSharpVersion(sharp.manifest.version) ? transformersEntry : null;
64
67
  } catch { return null; }
@@ -263,7 +263,10 @@ export function semanticRuntimeEntryIfSafe(transformersEntry) {
263
263
  try {
264
264
  const transformers = findPackageManifest(transformersEntry, '@huggingface/transformers');
265
265
  if (!transformers) return null;
266
- const sharpEntry = createRequire(transformers.manifestPath).resolve('sharp');
266
+ // Resolve from the exact executable bundle entry. Resolving from the
267
+ // package manifest misses a Sharp installation shadowed under dist/
268
+ // even though that is the copy the ESM bundle itself will import.
269
+ const sharpEntry = createRequire(transformersEntry).resolve('sharp');
267
270
  const sharp = findPackageManifest(sharpEntry, 'sharp');
268
271
  return sharp && isSafeSharpVersion(sharp.manifest.version) ? transformersEntry : null;
269
272
  } catch { return null; }