Skip to content

Commit e470dd6

Browse files
authored
Merge branch 'main' into dev
2 parents e0e90d1 + 94f1689 commit e470dd6

215 files changed

Lines changed: 366293 additions & 2229 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-plugin/.mcp.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
22
"mempalace": {
3-
"command": "python3",
4-
"args": [
5-
"-m",
6-
"mempalace.mcp_server"
7-
]
3+
"command": "mempalace-mcp"
84
}
95
}

.claude-plugin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A Claude Code plugin that gives your AI a persistent memory system. Mine project
1111
### Claude Code Marketplace
1212

1313
```bash
14-
claude plugin marketplace add milla-jovovich/mempalace
14+
claude plugin marketplace add MemPalace/mempalace
1515
claude plugin install --scope user mempalace
1616
```
1717

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
#!/bin/bash
22
# MemPalace PreCompact Hook — thin wrapper calling Python CLI
33
# All logic lives in mempalace.hooks_cli for cross-harness extensibility
4-
INPUT=$(cat)
5-
echo "$INPUT" | python3 -m mempalace hook run --hook precompact --harness claude-code
4+
run_mempalace_hook() {
5+
if command -v mempalace >/dev/null 2>&1; then
6+
mempalace hook run "$@"
7+
return $?
8+
fi
9+
10+
if command -v python3 >/dev/null 2>&1 && python3 -c "import mempalace" >/dev/null 2>&1; then
11+
python3 -m mempalace hook run "$@"
12+
return $?
13+
fi
14+
15+
if command -v python >/dev/null 2>&1 && python -c "import mempalace" >/dev/null 2>&1; then
16+
python -m mempalace hook run "$@"
17+
return $?
18+
fi
19+
20+
echo "MemPalace hook error: could not find a runnable mempalace command or module" >&2
21+
return 1
22+
}
23+
24+
run_mempalace_hook --hook precompact --harness claude-code
Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
#!/bin/bash
22
# MemPalace Stop Hook — thin wrapper calling Python CLI
33
# All logic lives in mempalace.hooks_cli for cross-harness extensibility
4-
INPUT=$(cat)
5-
echo "$INPUT" | python3 -m mempalace hook run --hook stop --harness claude-code
4+
run_mempalace_hook() {
5+
if command -v mempalace >/dev/null 2>&1; then
6+
mempalace hook run "$@"
7+
return $?
8+
fi
9+
10+
if command -v python3 >/dev/null 2>&1 && python3 -c "import mempalace" >/dev/null 2>&1; then
11+
python3 -m mempalace hook run "$@"
12+
return $?
13+
fi
14+
15+
if command -v python >/dev/null 2>&1 && python -c "import mempalace" >/dev/null 2>&1; then
16+
python -m mempalace hook run "$@"
17+
return $?
18+
fi
19+
20+
echo "MemPalace hook error: could not find a runnable mempalace command or module" >&2
21+
return 1
22+
}
23+
24+
run_mempalace_hook --hook stop --harness claude-code

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"name": "mempalace",
33
"owner": {
44
"name": "milla-jovovich",
5-
"url": "https://github.com/milla-jovovich"
5+
"url": "https://github.com/MemPalace"
66
},
77
"plugins": [
88
{
99
"name": "mempalace",
1010
"source": "./.claude-plugin",
1111
"description": "AI memory system — mine projects and conversations into a searchable palace. 19 MCP tools, auto-save hooks, guided setup.",
12-
"version": "3.0.14",
12+
"version": "3.3.3",
1313
"author": {
1414
"name": "milla-jovovich"
1515
}

.claude-plugin/plugin.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mempalace",
3-
"version": "3.0.14",
3+
"version": "3.3.3",
44
"description": "Give your AI a memory — mine projects and conversations into a searchable palace. 19 MCP tools, auto-save hooks, and guided setup.",
55
"author": {
66
"name": "milla-jovovich"
@@ -9,11 +9,7 @@
99
"commands": [],
1010
"mcpServers": {
1111
"mempalace": {
12-
"command": "python3",
13-
"args": [
14-
"-m",
15-
"mempalace.mcp_server"
16-
]
12+
"command": "mempalace-mcp"
1713
}
1814
},
1915
"keywords": [
@@ -25,5 +21,5 @@
2521
"palace",
2622
"search"
2723
],
28-
"repository": "https://github.com/milla-jovovich/mempalace"
24+
"repository": "https://github.com/MemPalace/mempalace"
2925
}

.codex-plugin/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ codex /init
3535
1. Clone the MemPalace repository:
3636

3737
```bash
38-
git clone https://github.com/milla-jovovich/mempalace.git
38+
git clone https://github.com/MemPalace/mempalace.git
3939
cd mempalace
4040
```
4141

@@ -71,5 +71,5 @@ Set the `MEMPAL_DIR` environment variable to a directory path to automatically r
7171

7272
## Support
7373

74-
- Repository: https://github.com/milla-jovovich/mempalace
75-
- Issues: https://github.com/milla-jovovich/mempalace/issues
74+
- Repository: https://github.com/MemPalace/mempalace
75+
- Issues: https://github.com/MemPalace/mempalace/issues

.codex-plugin/hooks/mempal-hook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33
HOOK_NAME="${1:?Usage: mempal-hook.sh <hook-name>}"
44
INPUT_FILE=$(mktemp) || { echo "Failed to create temp file" >&2; exit 1; }
55
cat > "$INPUT_FILE"
6-
cat "$INPUT_FILE" | python3 -m mempalace hook run --hook "$HOOK_NAME" --harness codex
6+
cat "$INPUT_FILE" | mempalace hook run --hook "$HOOK_NAME" --harness codex
77
EXIT_CODE=$?
88
rm -f "$INPUT_FILE" 2>/dev/null
99
exit $EXIT_CODE

.codex-plugin/plugin.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "mempalace",
3-
"version": "3.0.14",
3+
"version": "3.3.3",
44
"description": "Give your AI a memory — mine projects and conversations into a searchable palace. 19 MCP tools, auto-save hooks, and guided setup.",
55
"author": {
66
"name": "milla-jovovich"
77
},
8-
"homepage": "https://github.com/milla-jovovich/mempalace",
9-
"repository": "https://github.com/milla-jovovich/mempalace",
8+
"homepage": "https://github.com/MemPalace/mempalace",
9+
"repository": "https://github.com/MemPalace/mempalace",
1010
"license": "MIT",
1111
"keywords": [
1212
"memory",
@@ -21,11 +21,7 @@
2121
"hooks": "./hooks.json",
2222
"mcpServers": {
2323
"mempalace": {
24-
"command": "python3",
25-
"args": [
26-
"-m",
27-
"mempalace.mcp_server"
28-
]
24+
"command": "mempalace-mcp"
2925
}
3026
},
3127
"interface": {
@@ -39,9 +35,9 @@
3935
"Read",
4036
"Write"
4137
],
42-
"websiteURL": "https://github.com/milla-jovovich/mempalace",
43-
"privacyPolicyURL": "https://github.com/milla-jovovich/mempalace",
44-
"termsOfServiceURL": "https://github.com/milla-jovovich/mempalace",
38+
"websiteURL": "https://github.com/MemPalace/mempalace",
39+
"privacyPolicyURL": "https://github.com/MemPalace/mempalace",
40+
"termsOfServiceURL": "https://github.com/MemPalace/mempalace",
4541
"defaultPrompt": [
4642
"Search my memories for recent decisions",
4743
"Mine this project into my memory palace",

.devcontainer/devcontainer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "MemPalace",
3+
"image": "mcr.microsoft.com/devcontainers/python:3.11",
4+
"features": {
5+
"ghcr.io/devcontainers/features/github-cli:1": {}
6+
},
7+
"postCreateCommand": "bash .devcontainer/post-create.sh",
8+
"customizations": {
9+
"vscode": {
10+
"extensions": [
11+
"ms-python.python",
12+
"ms-python.debugpy",
13+
"charliermarsh.ruff"
14+
],
15+
"settings": {
16+
"python.defaultInterpreterPath": "/usr/local/bin/python",
17+
"python.testing.pytestEnabled": true,
18+
"python.testing.pytestArgs": ["tests/", "-v", "--ignore=tests/benchmarks"],
19+
"ruff.importStrategy": "fromEnvironment",
20+
"editor.formatOnSave": true,
21+
"editor.defaultFormatter": "charliermarsh.ruff"
22+
}
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)