smart-claude-memory-mcp 2.1.0 → 2.1.1

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-claude-memory",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Sovereign memory protocol for Claude Code — typed, dual-scope, observability-grade. Bring your own empty Supabase project; the plugin handles the rest.",
5
5
  "author": {
6
6
  "name": "NABILNET.AI",
@@ -9,8 +9,8 @@
9
9
  "homepage": "https://nabilnet.ai",
10
10
  "mcpServers": {
11
11
  "smart-claude-memory": {
12
- "command": "node",
13
- "args": ["${CLAUDE_PLUGIN_ROOT}/dist/index.js"],
12
+ "command": "npx",
13
+ "args": ["-y", "smart-claude-memory-mcp@latest"],
14
14
  "env": {
15
15
  "SUPABASE_URL": "${SUPABASE_URL}",
16
16
  "SUPABASE_SECRET_KEY": "${SUPABASE_SECRET_KEY}",
package/README.md CHANGED
@@ -43,6 +43,28 @@ Memory is strictly **per-project**: when you're in project A, Claude cannot see
43
43
 
44
44
  ---
45
45
 
46
+ ## Install
47
+
48
+ **Option A — Claude Code plugin (recommended for end users):**
49
+
50
+ ```
51
+ /plugin install NABILNET-ORG/Smart-Claude-Memory
52
+ ```
53
+
54
+ Auto-wires the MCP server and the `md-policy.py` PreToolUse hook via `.claude-plugin/plugin.json`. Zero manual `~/.claude.json` edits.
55
+
56
+ **Option B — npm (for direct use or programmatic embedding):**
57
+
58
+ ```bash
59
+ npm install smart-claude-memory-mcp
60
+ ```
61
+
62
+ Published as [`smart-claude-memory-mcp`](https://www.npmjs.com/package/smart-claude-memory-mcp) (MIT). Exposes a `smart-claude-memory-mcp` binary you can wire into any MCP-compatible client.
63
+
64
+ Both paths require an empty Supabase project + a local Ollama install with `moondream` and `nomic-embed-text` pulled. See [Bootstrap](#bootstrap) for the three-step setup ritual.
65
+
66
+ ---
67
+
46
68
  ## System Architecture
47
69
 
48
70
  The system operates under the Sovereign Orchestrator pattern with Autonomous Self-Healing. The diagrams below are mirrored from [ARCHITECTURE.md](ARCHITECTURE.md), which remains the canonical source of truth.
@@ -492,7 +514,7 @@ For inquiries, integrations, or sovereign-grade Claude Code tooling, visit [nabi
492
514
 
493
515
  ### 🗺️ File Architecture
494
516
 
495
- _Auto-synced at 2026-05-16T08:08:32.952Z for `smart-claude-memory`._
517
+ _Auto-synced at 2026-05-17T09:24:48.565Z for `smart-claude-memory`._
496
518
 
497
519
  ```mermaid
498
520
  flowchart TD
@@ -547,244 +569,248 @@ flowchart TD
547
569
  n8 --> n24
548
570
  n25["SESSION-26-REPORT.md"]
549
571
  n8 --> n25
550
- n26["superpowers/"]
551
- n2 --> n26
552
- n27["plans/"]
553
- n26 --> n27
554
- n28["2026-05-12-observability-telemetry.md"]
572
+ n26["SESSION-27-REPORT.md"]
573
+ n8 --> n26
574
+ n27["superpowers/"]
575
+ n2 --> n27
576
+ n28["plans/"]
555
577
  n27 --> n28
556
- n29["2026-05-14-marketplace-packaging.md"]
557
- n27 --> n29
558
- n30["2026-05-15-v2.1.0-global-vault-ux.md"]
559
- n27 --> n30
560
- n31["specs/"]
561
- n26 --> n31
562
- n32["2026-05-13-telemetry-retention-design.md"]
563
- n31 --> n32
564
- n33["2026-05-14-marketplace-packaging-design.md"]
565
- n31 --> n33
566
- n34["IDE-INTEGRATION.md"]
567
- n2 --> n34
568
- n35["NEXT-SESSION-PROMPT.md"]
578
+ n29["2026-05-12-observability-telemetry.md"]
579
+ n28 --> n29
580
+ n30["2026-05-14-marketplace-packaging.md"]
581
+ n28 --> n30
582
+ n31["2026-05-15-v2.1.0-global-vault-ux.md"]
583
+ n28 --> n31
584
+ n32["specs/"]
585
+ n27 --> n32
586
+ n33["2026-05-13-telemetry-retention-design.md"]
587
+ n32 --> n33
588
+ n34["2026-05-14-marketplace-packaging-design.md"]
589
+ n32 --> n34
590
+ n35["IDE-INTEGRATION.md"]
569
591
  n2 --> n35
570
- n36["hooks/"]
571
- n0 --> n36
572
- n37["md-policy.py"]
573
- n36 --> n37
574
- n38["README.md"]
575
- n36 --> n38
576
- n39["images/"]
577
- n0 --> n39
578
- n40["GPT SMC v2.0-rc1.png"]
579
- n39 --> n40
580
- n41["scripts/"]
592
+ n36["NEXT-SESSION-PROMPT.md"]
593
+ n2 --> n36
594
+ n37["release-notes-v2.1.0.md"]
595
+ n2 --> n37
596
+ n38["hooks/"]
597
+ n0 --> n38
598
+ n39["md-policy.py"]
599
+ n38 --> n39
600
+ n40["README.md"]
601
+ n38 --> n40
602
+ n41["images/"]
581
603
  n0 --> n41
582
- n42["001_schema.sql"]
604
+ n42["GPT SMC v2.0-rc1.png"]
583
605
  n41 --> n42
584
- n43["002_multi_project.sql"]
585
- n41 --> n43
586
- n44["003_file_hash.sql"]
587
- n41 --> n44
588
- n45["004_backlog_frozen.sql"]
589
- n41 --> n45
590
- n46["005_archive_backlog.sql"]
591
- n41 --> n46
592
- n47["006_security_hardening.sql"]
593
- n41 --> n47
594
- n48["007_metadata_typed_retrieval.sql"]
595
- n41 --> n48
596
- n49["008_global_scope.sql"]
597
- n41 --> n49
598
- n50["009_fix_rpc_dual_scope.sql"]
599
- n41 --> n50
600
- n51["010_agent_skills.sql"]
601
- n41 --> n51
602
- n52["011_trajectory_compaction.sql"]
603
- n41 --> n52
604
- n53["012_sleep_learning.sql"]
605
- n41 --> n53
606
- n54["013_archive_backlog_chunk_link.sql"]
607
- n41 --> n54
608
- n55["014_workflow_checkpoints.sql"]
609
- n41 --> n55
610
- n56["015_curriculum_tasks.sql"]
611
- n41 --> n56
612
- n57["016_daemon_telemetry.sql"]
613
- n41 --> n57
614
- n58["017_explicit_service_role_grants.sql"]
615
- n41 --> n58
616
- n59["018_telemetry_retention.sql"]
617
- n41 --> n59
618
- n60["apply-schema.ts"]
619
- n41 --> n60
620
- n61["backfill-ledger.ts"]
621
- n41 --> n61
622
- n62["backup-and-remove.ts"]
623
- n41 --> n62
624
- n63["e2e-incremental-test.ts"]
625
- n41 --> n63
626
- n64["e2e-isolation-test.ts"]
627
- n41 --> n64
628
- n65["e2e-test.ts"]
629
- n41 --> n65
630
- n66["lint-boundaries.ts"]
631
- n41 --> n66
632
- n67["… (19 more)"]
633
- n41 --> n67
634
- n68["src/"]
635
- n0 --> n68
636
- n69["curriculum/"]
637
- n68 --> n69
638
- n70["daemon.ts"]
639
- n69 --> n70
640
- n71["scanner.ts"]
641
- n69 --> n71
642
- n72["lib/"]
643
- n68 --> n72
644
- n73["migrations.ts"]
645
- n72 --> n73
646
- n74["sleep/"]
647
- n68 --> n74
648
- n75["daemon.ts"]
606
+ n43["scripts/"]
607
+ n0 --> n43
608
+ n44["001_schema.sql"]
609
+ n43 --> n44
610
+ n45["002_multi_project.sql"]
611
+ n43 --> n45
612
+ n46["003_file_hash.sql"]
613
+ n43 --> n46
614
+ n47["004_backlog_frozen.sql"]
615
+ n43 --> n47
616
+ n48["005_archive_backlog.sql"]
617
+ n43 --> n48
618
+ n49["006_security_hardening.sql"]
619
+ n43 --> n49
620
+ n50["007_metadata_typed_retrieval.sql"]
621
+ n43 --> n50
622
+ n51["008_global_scope.sql"]
623
+ n43 --> n51
624
+ n52["009_fix_rpc_dual_scope.sql"]
625
+ n43 --> n52
626
+ n53["010_agent_skills.sql"]
627
+ n43 --> n53
628
+ n54["011_trajectory_compaction.sql"]
629
+ n43 --> n54
630
+ n55["012_sleep_learning.sql"]
631
+ n43 --> n55
632
+ n56["013_archive_backlog_chunk_link.sql"]
633
+ n43 --> n56
634
+ n57["014_workflow_checkpoints.sql"]
635
+ n43 --> n57
636
+ n58["015_curriculum_tasks.sql"]
637
+ n43 --> n58
638
+ n59["016_daemon_telemetry.sql"]
639
+ n43 --> n59
640
+ n60["017_explicit_service_role_grants.sql"]
641
+ n43 --> n60
642
+ n61["018_telemetry_retention.sql"]
643
+ n43 --> n61
644
+ n62["apply-schema.ts"]
645
+ n43 --> n62
646
+ n63["backfill-ledger.ts"]
647
+ n43 --> n63
648
+ n64["backup-and-remove.ts"]
649
+ n43 --> n64
650
+ n65["e2e-incremental-test.ts"]
651
+ n43 --> n65
652
+ n66["e2e-isolation-test.ts"]
653
+ n43 --> n66
654
+ n67["e2e-test.ts"]
655
+ n43 --> n67
656
+ n68["lint-boundaries.ts"]
657
+ n43 --> n68
658
+ n69["… (19 more)"]
659
+ n43 --> n69
660
+ n70["src/"]
661
+ n0 --> n70
662
+ n71["curriculum/"]
663
+ n70 --> n71
664
+ n72["daemon.ts"]
665
+ n71 --> n72
666
+ n73["scanner.ts"]
667
+ n71 --> n73
668
+ n74["lib/"]
669
+ n70 --> n74
670
+ n75["migrations.ts"]
649
671
  n74 --> n75
650
- n76["miner.ts"]
651
- n74 --> n76
652
- n77["telemetry/"]
653
- n68 --> n77
654
- n78["emit.ts"]
655
- n77 --> n78
656
- n79["pruner.ts"]
657
- n77 --> n79
658
- n80["types.ts"]
659
- n77 --> n80
660
- n81["tools/"]
661
- n68 --> n81
662
- n82["backlog.ts"]
663
- n81 --> n82
664
- n83["batch-freeze-patterns.ts"]
665
- n81 --> n83
666
- n84["bloat-audit.ts"]
667
- n81 --> n84
668
- n85["checkpoint.ts"]
669
- n81 --> n85
670
- n86["compact.ts"]
671
- n81 --> n86
672
- n87["conflict.ts"]
673
- n81 --> n87
674
- n88["curriculum.ts"]
675
- n81 --> n88
676
- n89["frozen-cache.ts"]
677
- n81 --> n89
678
- n90["health.ts"]
679
- n81 --> n90
680
- n91["hygiene.ts"]
681
- n81 --> n91
682
- n92["image.ts"]
683
- n81 --> n92
684
- n93["list-global-patterns.ts"]
685
- n81 --> n93
686
- n94["orchestrator.ts"]
687
- n81 --> n94
688
- n95["policy.ts"]
689
- n81 --> n95
690
- n96["refactor.ts"]
691
- n81 --> n96
692
- n97["save.ts"]
693
- n81 --> n97
694
- n98["search.ts"]
695
- n81 --> n98
696
- n99["setup.ts"]
697
- n81 --> n99
698
- n100["shared-schemas.ts"]
699
- n81 --> n100
700
- n101["skills.ts"]
701
- n81 --> n101
702
- n102["sleep.ts"]
703
- n81 --> n102
704
- n103["sovereign-constitution.ts"]
705
- n81 --> n103
706
- n104["summarize.ts"]
707
- n81 --> n104
708
- n105["sync.ts"]
709
- n81 --> n105
710
- n106["system_dashboard.ts"]
711
- n81 --> n106
712
- n107["… (1 more)"]
713
- n81 --> n107
714
- n108["trajectory/"]
715
- n68 --> n108
716
- n109["daemon.ts"]
717
- n108 --> n109
718
- n110["stripper.ts"]
719
- n108 --> n110
720
- n111["summarizer.ts"]
721
- n108 --> n111
722
- n112["transactions/"]
723
- n68 --> n112
724
- n113["checkpoint.ts"]
725
- n112 --> n113
726
- n114["chunker.ts"]
727
- n68 --> n114
728
- n115["config.ts"]
729
- n68 --> n115
730
- n116["index.ts"]
731
- n68 --> n116
732
- n117["ollama.ts"]
733
- n68 --> n117
734
- n118["project-detect.ts"]
735
- n68 --> n118
736
- n119["project.ts"]
737
- n68 --> n119
738
- n120["supabase.ts"]
739
- n68 --> n120
740
- n121["verification-gate.ts"]
741
- n68 --> n121
742
- n122["version.ts"]
743
- n68 --> n122
744
- n123["tests/"]
745
- n0 --> n123
746
- n124["sql_fixtures/"]
747
- n123 --> n124
748
- n125["006_smoke.sql"]
749
- n124 --> n125
750
- n126["006_verify.sql"]
751
- n124 --> n126
752
- n127["capabilities.test.ts"]
753
- n123 --> n127
754
- n128["health.test.ts"]
755
- n123 --> n128
756
- n129["list-global-patterns.test.ts"]
757
- n123 --> n129
758
- n130["migrations.test.ts"]
759
- n123 --> n130
760
- n131["trajectory-daemon.test.ts"]
761
- n123 --> n131
762
- n132["trajectory-stripper.test.ts"]
763
- n123 --> n132
764
- n133["trajectory-summarizer.test.ts"]
765
- n123 --> n133
766
- n134[".env.example"]
767
- n0 --> n134
768
- n135[".gitignore"]
769
- n0 --> n135
770
- n136["ARCHITECTURE.md"]
672
+ n76["sleep/"]
673
+ n70 --> n76
674
+ n77["daemon.ts"]
675
+ n76 --> n77
676
+ n78["miner.ts"]
677
+ n76 --> n78
678
+ n79["telemetry/"]
679
+ n70 --> n79
680
+ n80["emit.ts"]
681
+ n79 --> n80
682
+ n81["pruner.ts"]
683
+ n79 --> n81
684
+ n82["types.ts"]
685
+ n79 --> n82
686
+ n83["tools/"]
687
+ n70 --> n83
688
+ n84["backlog.ts"]
689
+ n83 --> n84
690
+ n85["batch-freeze-patterns.ts"]
691
+ n83 --> n85
692
+ n86["bloat-audit.ts"]
693
+ n83 --> n86
694
+ n87["checkpoint.ts"]
695
+ n83 --> n87
696
+ n88["compact.ts"]
697
+ n83 --> n88
698
+ n89["conflict.ts"]
699
+ n83 --> n89
700
+ n90["curriculum.ts"]
701
+ n83 --> n90
702
+ n91["frozen-cache.ts"]
703
+ n83 --> n91
704
+ n92["health.ts"]
705
+ n83 --> n92
706
+ n93["hygiene.ts"]
707
+ n83 --> n93
708
+ n94["image.ts"]
709
+ n83 --> n94
710
+ n95["list-global-patterns.ts"]
711
+ n83 --> n95
712
+ n96["orchestrator.ts"]
713
+ n83 --> n96
714
+ n97["policy.ts"]
715
+ n83 --> n97
716
+ n98["refactor.ts"]
717
+ n83 --> n98
718
+ n99["save.ts"]
719
+ n83 --> n99
720
+ n100["search.ts"]
721
+ n83 --> n100
722
+ n101["setup.ts"]
723
+ n83 --> n101
724
+ n102["shared-schemas.ts"]
725
+ n83 --> n102
726
+ n103["skills.ts"]
727
+ n83 --> n103
728
+ n104["sleep.ts"]
729
+ n83 --> n104
730
+ n105["sovereign-constitution.ts"]
731
+ n83 --> n105
732
+ n106["summarize.ts"]
733
+ n83 --> n106
734
+ n107["sync.ts"]
735
+ n83 --> n107
736
+ n108["system_dashboard.ts"]
737
+ n83 --> n108
738
+ n109["… (1 more)"]
739
+ n83 --> n109
740
+ n110["trajectory/"]
741
+ n70 --> n110
742
+ n111["daemon.ts"]
743
+ n110 --> n111
744
+ n112["stripper.ts"]
745
+ n110 --> n112
746
+ n113["summarizer.ts"]
747
+ n110 --> n113
748
+ n114["transactions/"]
749
+ n70 --> n114
750
+ n115["checkpoint.ts"]
751
+ n114 --> n115
752
+ n116["chunker.ts"]
753
+ n70 --> n116
754
+ n117["config.ts"]
755
+ n70 --> n117
756
+ n118["index.ts"]
757
+ n70 --> n118
758
+ n119["ollama.ts"]
759
+ n70 --> n119
760
+ n120["project-detect.ts"]
761
+ n70 --> n120
762
+ n121["project.ts"]
763
+ n70 --> n121
764
+ n122["supabase.ts"]
765
+ n70 --> n122
766
+ n123["verification-gate.ts"]
767
+ n70 --> n123
768
+ n124["version.ts"]
769
+ n70 --> n124
770
+ n125["tests/"]
771
+ n0 --> n125
772
+ n126["sql_fixtures/"]
773
+ n125 --> n126
774
+ n127["006_smoke.sql"]
775
+ n126 --> n127
776
+ n128["006_verify.sql"]
777
+ n126 --> n128
778
+ n129["capabilities.test.ts"]
779
+ n125 --> n129
780
+ n130["health.test.ts"]
781
+ n125 --> n130
782
+ n131["list-global-patterns.test.ts"]
783
+ n125 --> n131
784
+ n132["migrations.test.ts"]
785
+ n125 --> n132
786
+ n133["trajectory-daemon.test.ts"]
787
+ n125 --> n133
788
+ n134["trajectory-stripper.test.ts"]
789
+ n125 --> n134
790
+ n135["trajectory-summarizer.test.ts"]
791
+ n125 --> n135
792
+ n136[".env.example"]
771
793
  n0 --> n136
772
- n137["CHANGELOG.md"]
794
+ n137[".gitignore"]
773
795
  n0 --> n137
774
- n138["CLAUDE.md"]
796
+ n138["ARCHITECTURE.md"]
775
797
  n0 --> n138
776
- n139["LICENSE"]
798
+ n139["CHANGELOG.md"]
777
799
  n0 --> n139
778
- n140["marketplace.json"]
800
+ n140["CLAUDE.md"]
779
801
  n0 --> n140
780
- n141["package-lock.json"]
802
+ n141["LICENSE"]
781
803
  n0 --> n141
782
- n142["package.json"]
804
+ n142["marketplace.json"]
783
805
  n0 --> n142
784
- n143["project_file_architecture.md"]
806
+ n143["package-lock.json"]
785
807
  n0 --> n143
786
- n144["README.md"]
808
+ n144["package.json"]
787
809
  n0 --> n144
788
- n145["tsconfig.json"]
810
+ n145["project_file_architecture.md"]
789
811
  n0 --> n145
812
+ n146["README.md"]
813
+ n0 --> n146
814
+ n147["tsconfig.json"]
815
+ n0 --> n147
790
816
  ```
package/marketplace.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-claude-memory",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Sovereign memory protocol for Claude Code — typed, dual-scope, observability-grade. Bring your own empty Supabase project; the plugin handles the rest.",
5
5
  "author": {
6
6
  "name": "NABILNET.AI",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smart-claude-memory-mcp",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Sovereign memory protocol for Claude Code — typed, dual-scope, observability-grade. Bring your own empty Supabase project; the plugin handles the rest.",
5
5
  "author": "NABILNET.AI <https://nabilnet.ai>",
6
6
  "license": "MIT",
@@ -49,6 +49,7 @@
49
49
  "dependencies": {
50
50
  "@modelcontextprotocol/sdk": "^1.29.0",
51
51
  "@supabase/supabase-js": "^2.104.0",
52
+ "archiver": "^7.0.1",
52
53
  "dotenv": "^17.4.2",
53
54
  "glob": "^13.0.6",
54
55
  "ollama": "^0.6.3",
@@ -59,7 +60,6 @@
59
60
  "@types/archiver": "^7.0.0",
60
61
  "@types/node": "^25.6.0",
61
62
  "@types/pg": "^8.20.0",
62
- "archiver": "^7.0.1",
63
63
  "tsx": "^4.21.0",
64
64
  "typescript": "^6.0.3"
65
65
  }