pumuki-ast-hooks 5.5.2 → 5.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pumuki-ast-hooks",
3
- "version": "5.5.2",
3
+ "version": "5.5.3",
4
4
  "description": "Enterprise-grade AST Intelligence System with multi-platform support (iOS, Android, Backend, Frontend) and Feature-First + DDD + Clean Architecture enforcement. Includes dynamic violations API for intelligent querying.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -676,8 +676,11 @@ async function handleMcpMessage(message) {
676
676
  try {
677
677
  const request = JSON.parse(message);
678
678
 
679
- if ((typeof request.id === 'undefined' || request.id === null) && request.method?.startsWith('notifications/')) {
680
- return null;
679
+ // Handle notifications (no id) - don't send response
680
+ if (typeof request.id === 'undefined' || request.id === null) {
681
+ if (request.method === 'initialized' || request.method?.startsWith('notifications/')) {
682
+ return null;
683
+ }
681
684
  }
682
685
 
683
686
  if (request.method === 'initialize') {