@kya-os/mcp-i 1.2.8 → 1.2.9

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.
@@ -176,7 +176,13 @@ async function compileInternal({ onBuild } = {}) {
176
176
  compiler.run(handleCompilation);
177
177
  }
178
178
  else {
179
- compiler.watch({}, handleCompilation);
179
+ const watching = compiler.watch({}, handleCompilation);
180
+ // Store watching instance for proper cleanup
181
+ process.on('SIGINT', () => {
182
+ watching.close(() => {
183
+ process.exit(0);
184
+ });
185
+ });
180
186
  }
181
187
  });
182
188
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/mcp-i",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "The TypeScript MCP framework with identity features built-in",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",