gitmem-mcp 1.0.8 → 1.0.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.
- package/README.md +13 -13
- package/bin/gitmem.js +21 -21
- package/bin/init-wizard.js +2 -2
- package/bin/uninstall.js +2 -2
- package/dist/commands/check.d.ts +3 -3
- package/dist/commands/check.js +3 -3
- package/hooks/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Works with **Claude Code**, **Claude Desktop**, **Cursor**, and any MCP-compatib
|
|
|
26
26
|
## Quick Start
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npx gitmem init
|
|
29
|
+
npx gitmem-mcp init
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
One command. The wizard sets up everything:
|
|
@@ -40,8 +40,8 @@ One command. The wizard sets up everything:
|
|
|
40
40
|
Already have existing config? The wizard merges without destroying anything. Re-running is safe.
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
npx gitmem init --yes # Non-interactive
|
|
44
|
-
npx gitmem init --dry-run # Preview changes
|
|
43
|
+
npx gitmem-mcp init --yes # Non-interactive
|
|
44
|
+
npx gitmem-mcp init --dry-run # Preview changes
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
## How It Works
|
|
@@ -73,16 +73,16 @@ Every scar includes **counter-arguments** — reasons why someone might reasonab
|
|
|
73
73
|
- **Session Continuity** — Context, threads, and rapport carry across sessions
|
|
74
74
|
- **Closing Ceremony** — Structured reflection captures what broke, what worked, and what to do differently
|
|
75
75
|
- **20+ MCP Tools** — Full toolkit for memory management, search, threads, and multi-agent coordination
|
|
76
|
-
- **Zero Config** — `npx gitmem init` and you're running
|
|
76
|
+
- **Zero Config** — `npx gitmem-mcp init` and you're running
|
|
77
77
|
- **Non-Destructive** — Merges with your existing `.mcp.json`, `CLAUDE.md`, and hooks
|
|
78
78
|
|
|
79
79
|
## Supported Clients
|
|
80
80
|
|
|
81
81
|
| Client | Setup |
|
|
82
82
|
|--------|-------|
|
|
83
|
-
| **Claude Code** | `npx gitmem init` (auto-detected) |
|
|
84
|
-
| **Claude Desktop** | `npx gitmem init` or add to `claude_desktop_config.json` |
|
|
85
|
-
| **Cursor** | `npx gitmem init` or add to `.cursor/mcp.json` |
|
|
83
|
+
| **Claude Code** | `npx gitmem-mcp init` (auto-detected) |
|
|
84
|
+
| **Claude Desktop** | `npx gitmem-mcp init` or add to `claude_desktop_config.json` |
|
|
85
|
+
| **Cursor** | `npx gitmem-mcp init` or add to `.cursor/mcp.json` |
|
|
86
86
|
| **Any MCP client** | Add `npx -y gitmem-mcp` as an MCP server |
|
|
87
87
|
|
|
88
88
|
<details>
|
|
@@ -105,12 +105,12 @@ Every scar includes **counter-arguments** — reasons why someone might reasonab
|
|
|
105
105
|
|
|
106
106
|
| Command | Description |
|
|
107
107
|
|---------|-------------|
|
|
108
|
-
| `npx gitmem init` | Interactive setup wizard |
|
|
109
|
-
| `npx gitmem init --yes` | Non-interactive setup |
|
|
110
|
-
| `npx gitmem init --dry-run` | Preview changes |
|
|
111
|
-
| `npx gitmem uninstall` | Clean removal (preserves `.gitmem/` data) |
|
|
112
|
-
| `npx gitmem uninstall --all` | Full removal including data |
|
|
113
|
-
| `npx gitmem check` | Diagnostic health check |
|
|
108
|
+
| `npx gitmem-mcp init` | Interactive setup wizard |
|
|
109
|
+
| `npx gitmem-mcp init --yes` | Non-interactive setup |
|
|
110
|
+
| `npx gitmem-mcp init --dry-run` | Preview changes |
|
|
111
|
+
| `npx gitmem-mcp uninstall` | Clean removal (preserves `.gitmem/` data) |
|
|
112
|
+
| `npx gitmem-mcp uninstall --all` | Full removal including data |
|
|
113
|
+
| `npx gitmem-mcp check` | Diagnostic health check |
|
|
114
114
|
|
|
115
115
|
## Pro Tier — Coming Soon
|
|
116
116
|
|
package/bin/gitmem.js
CHANGED
|
@@ -37,31 +37,31 @@ function printUsage() {
|
|
|
37
37
|
GitMem — Institutional Memory for AI Coding
|
|
38
38
|
|
|
39
39
|
Usage:
|
|
40
|
-
npx gitmem init Interactive setup wizard (recommended)
|
|
41
|
-
npx gitmem init --yes Non-interactive setup (accept all defaults)
|
|
42
|
-
npx gitmem init --dry-run Show what would be configured
|
|
43
|
-
npx gitmem uninstall Clean removal of gitmem from project
|
|
44
|
-
npx gitmem uninstall --all Also delete .gitmem/ data directory
|
|
40
|
+
npx gitmem-mcp init Interactive setup wizard (recommended)
|
|
41
|
+
npx gitmem-mcp init --yes Non-interactive setup (accept all defaults)
|
|
42
|
+
npx gitmem-mcp init --dry-run Show what would be configured
|
|
43
|
+
npx gitmem-mcp uninstall Clean removal of gitmem from project
|
|
44
|
+
npx gitmem-mcp uninstall --all Also delete .gitmem/ data directory
|
|
45
45
|
|
|
46
46
|
Other commands:
|
|
47
|
-
npx gitmem setup Output SQL for Supabase schema setup (pro/dev tier)
|
|
48
|
-
npx gitmem configure Generate .mcp.json config for Claude Code
|
|
49
|
-
npx gitmem check Run diagnostic health check
|
|
50
|
-
npx gitmem check --full Full diagnostic with benchmarks
|
|
51
|
-
npx gitmem install-hooks Install Claude Code hooks (standalone)
|
|
52
|
-
npx gitmem uninstall-hooks Remove Claude Code hooks (standalone)
|
|
53
|
-
npx gitmem server Start MCP server (default)
|
|
54
|
-
npx gitmem help Show this help message
|
|
47
|
+
npx gitmem-mcp setup Output SQL for Supabase schema setup (pro/dev tier)
|
|
48
|
+
npx gitmem-mcp configure Generate .mcp.json config for Claude Code
|
|
49
|
+
npx gitmem-mcp check Run diagnostic health check
|
|
50
|
+
npx gitmem-mcp check --full Full diagnostic with benchmarks
|
|
51
|
+
npx gitmem-mcp install-hooks Install Claude Code hooks (standalone)
|
|
52
|
+
npx gitmem-mcp uninstall-hooks Remove Claude Code hooks (standalone)
|
|
53
|
+
npx gitmem-mcp server Start MCP server (default)
|
|
54
|
+
npx gitmem-mcp help Show this help message
|
|
55
55
|
|
|
56
56
|
Quick Start:
|
|
57
|
-
npx gitmem init One command sets up everything
|
|
58
|
-
npx gitmem uninstall One command removes everything
|
|
57
|
+
npx gitmem-mcp init One command sets up everything
|
|
58
|
+
npx gitmem-mcp uninstall One command removes everything
|
|
59
59
|
|
|
60
60
|
Pro Tier (with Supabase):
|
|
61
61
|
1. Create free Supabase project → database.new
|
|
62
|
-
2. npx gitmem setup (copy SQL → Supabase SQL Editor)
|
|
62
|
+
2. npx gitmem-mcp setup (copy SQL → Supabase SQL Editor)
|
|
63
63
|
3. Set SUPABASE_URL + SUPABASE_SERVICE_ROLE_KEY env vars
|
|
64
|
-
4. npx gitmem init (auto-detects pro tier)
|
|
64
|
+
4. npx gitmem-mcp init (auto-detects pro tier)
|
|
65
65
|
5. Start coding — memory is active!
|
|
66
66
|
`);
|
|
67
67
|
}
|
|
@@ -562,7 +562,7 @@ function cmdInstallHooks() {
|
|
|
562
562
|
console.log("GitMem hooks already installed in .claude/settings.json");
|
|
563
563
|
console.log("");
|
|
564
564
|
console.log("To reinstall (overwrite), run:");
|
|
565
|
-
console.log(" npx gitmem install-hooks --force");
|
|
565
|
+
console.log(" npx gitmem-mcp install-hooks --force");
|
|
566
566
|
return;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
@@ -600,14 +600,14 @@ function cmdInstallHooks() {
|
|
|
600
600
|
if (!mcpFound) {
|
|
601
601
|
console.log("WARNING: gitmem MCP server not detected in .mcp.json.");
|
|
602
602
|
console.log(" Hooks will be silent until gitmem MCP is configured.");
|
|
603
|
-
console.log(" Run: npx gitmem configure");
|
|
603
|
+
console.log(" Run: npx gitmem-mcp configure");
|
|
604
604
|
console.log("");
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
console.log("Installed! Hooks will activate on next Claude Code session.");
|
|
608
608
|
console.log("");
|
|
609
609
|
console.log("To update after a gitmem version bump:");
|
|
610
|
-
console.log(" npx gitmem install-hooks --force");
|
|
610
|
+
console.log(" npx gitmem-mcp install-hooks --force");
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
/**
|
|
@@ -693,7 +693,7 @@ function cmdUninstallHooks() {
|
|
|
693
693
|
console.log("Notes:");
|
|
694
694
|
console.log(" - gitmem MCP server config (.mcp.json) was NOT modified");
|
|
695
695
|
console.log(" - Restart Claude Code for changes to take effect");
|
|
696
|
-
console.log(" - To reinstall: npx gitmem install-hooks");
|
|
696
|
+
console.log(" - To reinstall: npx gitmem-mcp install-hooks");
|
|
697
697
|
}
|
|
698
698
|
|
|
699
699
|
switch (command) {
|
package/bin/init-wizard.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* GitMem Init Wizard
|
|
5
5
|
*
|
|
6
6
|
* Interactive setup that detects existing config, prompts, and merges.
|
|
7
|
-
* Usage: npx gitmem init [--yes] [--dry-run] [--project <name>]
|
|
7
|
+
* Usage: npx gitmem-mcp init [--yes] [--dry-run] [--project <name>]
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import {
|
|
@@ -635,7 +635,7 @@ async function main() {
|
|
|
635
635
|
console.log(" Dry run complete — no files were modified.");
|
|
636
636
|
} else {
|
|
637
637
|
console.log(" Setup complete! Start Claude Code — memory is active.");
|
|
638
|
-
console.log(" To remove: npx gitmem uninstall");
|
|
638
|
+
console.log(" To remove: npx gitmem-mcp uninstall");
|
|
639
639
|
}
|
|
640
640
|
console.log("");
|
|
641
641
|
|
package/bin/uninstall.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* GitMem Uninstall
|
|
5
5
|
*
|
|
6
|
-
* Cleanly reverses everything `npx gitmem init` did.
|
|
7
|
-
* Usage: npx gitmem uninstall [--yes] [--all]
|
|
6
|
+
* Cleanly reverses everything `npx gitmem-mcp init` did.
|
|
7
|
+
* Usage: npx gitmem-mcp uninstall [--yes] [--all]
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import {
|
package/dist/commands/check.d.ts
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Diagnostic CLI command for health checks and benchmarks.
|
|
5
5
|
*
|
|
6
6
|
* Usage:
|
|
7
|
-
* npx gitmem check — Quick health check (~5s)
|
|
8
|
-
* npx gitmem check --full — Full diagnostic (~30s)
|
|
9
|
-
* npx gitmem check --output report.json
|
|
7
|
+
* npx gitmem-mcp check — Quick health check (~5s)
|
|
8
|
+
* npx gitmem-mcp check --full — Full diagnostic (~30s)
|
|
9
|
+
* npx gitmem-mcp check --output report.json
|
|
10
10
|
*
|
|
11
11
|
*
|
|
12
12
|
*/
|
package/dist/commands/check.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Diagnostic CLI command for health checks and benchmarks.
|
|
5
5
|
*
|
|
6
6
|
* Usage:
|
|
7
|
-
* npx gitmem check — Quick health check (~5s)
|
|
8
|
-
* npx gitmem check --full — Full diagnostic (~30s)
|
|
9
|
-
* npx gitmem check --output report.json
|
|
7
|
+
* npx gitmem-mcp check — Quick health check (~5s)
|
|
8
|
+
* npx gitmem-mcp check --full — Full diagnostic (~30s)
|
|
9
|
+
* npx gitmem-mcp check --output report.json
|
|
10
10
|
*
|
|
11
11
|
*
|
|
12
12
|
*/
|
package/hooks/README.md
CHANGED
|
@@ -14,7 +14,7 @@ A Claude Code **plugin** that enforces the GitMem institutional memory lifecycle
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npx gitmem install-hooks
|
|
17
|
+
npx gitmem-mcp install-hooks
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
This copies the hooks plugin to `~/.claude/plugins/gitmem-hooks/`. Restart Claude Code to activate.
|
|
@@ -22,7 +22,7 @@ This copies the hooks plugin to `~/.claude/plugins/gitmem-hooks/`. Restart Claud
|
|
|
22
22
|
### Uninstall
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
npx gitmem uninstall-hooks
|
|
25
|
+
npx gitmem-mcp uninstall-hooks
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
Removes the plugin, cleans up settings and temp state.
|