claude-continuity-mcp 3.8.5__tar.gz

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.
Files changed (40) hide show
  1. claude_continuity_mcp-3.8.5/.claude-continuity-rules.json +12 -0
  2. claude_continuity_mcp-3.8.5/.claude-plugin/marketplace.json +12 -0
  3. claude_continuity_mcp-3.8.5/.claude-plugin/plugin.json +10 -0
  4. claude_continuity_mcp-3.8.5/.github/workflows/publish.yml +45 -0
  5. claude_continuity_mcp-3.8.5/.github/workflows/tests.yml +22 -0
  6. claude_continuity_mcp-3.8.5/.gitignore +39 -0
  7. claude_continuity_mcp-3.8.5/.mcp.json +12 -0
  8. claude_continuity_mcp-3.8.5/LICENSE +21 -0
  9. claude_continuity_mcp-3.8.5/PKG-INFO +500 -0
  10. claude_continuity_mcp-3.8.5/README.md +478 -0
  11. claude_continuity_mcp-3.8.5/RELEASING.md +18 -0
  12. claude_continuity_mcp-3.8.5/conftest.py +11 -0
  13. claude_continuity_mcp-3.8.5/hooks/capture_read.py +120 -0
  14. claude_continuity_mcp-3.8.5/hooks/hooks.json +28 -0
  15. claude_continuity_mcp-3.8.5/hooks/pre_compact.py +52 -0
  16. claude_continuity_mcp-3.8.5/hooks/session_start.py +44 -0
  17. claude_continuity_mcp-3.8.5/infographic-philosophy.md +13 -0
  18. claude_continuity_mcp-3.8.5/infographic_mcp_router.png +0 -0
  19. claude_continuity_mcp-3.8.5/pyproject.toml +46 -0
  20. claude_continuity_mcp-3.8.5/requirements.txt +16 -0
  21. claude_continuity_mcp-3.8.5/router/__init__.py +18 -0
  22. claude_continuity_mcp-3.8.5/router/card.py +156 -0
  23. claude_continuity_mcp-3.8.5/router/clients.py +50 -0
  24. claude_continuity_mcp-3.8.5/router/compaction.py +177 -0
  25. claude_continuity_mcp-3.8.5/router/history.py +110 -0
  26. claude_continuity_mcp-3.8.5/router/inbox.py +215 -0
  27. claude_continuity_mcp-3.8.5/router/ledger.py +415 -0
  28. claude_continuity_mcp-3.8.5/router/metrics.py +165 -0
  29. claude_continuity_mcp-3.8.5/router/paths.py +21 -0
  30. claude_continuity_mcp-3.8.5/router/project_index.py +205 -0
  31. claude_continuity_mcp-3.8.5/router/ranker.py +248 -0
  32. claude_continuity_mcp-3.8.5/router/rules.py +171 -0
  33. claude_continuity_mcp-3.8.5/router/safety.py +207 -0
  34. claude_continuity_mcp-3.8.5/router/sanitizer.py +114 -0
  35. claude_continuity_mcp-3.8.5/router/verify.py +217 -0
  36. claude_continuity_mcp-3.8.5/router_config.example.json +15 -0
  37. claude_continuity_mcp-3.8.5/server.py +1454 -0
  38. claude_continuity_mcp-3.8.5/skills/project-continuity/SKILL.md +163 -0
  39. claude_continuity_mcp-3.8.5/tests/test_router.py +2444 -0
  40. claude_continuity_mcp-3.8.5/uv.lock +2508 -0
@@ -0,0 +1,12 @@
1
+ {
2
+ "_comment": "Reglas permanentes del proyecto (claude-continuity-mcp). Editable a mano; commitealo al repo para compartirlas con el equipo.",
3
+ "rules": [
4
+ {
5
+ "id": 1,
6
+ "text": "El nucleo es 100% local y determinista: nunca resumir con LLM ni agregar dependencias de red",
7
+ "source_client": "code",
8
+ "checkpoint": "reducir-friccion-reinicio",
9
+ "created": "2026-07-23 19:16"
10
+ }
11
+ ]
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "project-continuity",
3
+ "owner": { "name": "Gabriel Cacabelos" },
4
+ "description": "Persistent, shared project memory for Claude (claude-continuity-mcp).",
5
+ "plugins": [
6
+ {
7
+ "name": "project-continuity",
8
+ "source": "./",
9
+ "description": "Persistent, shared project memory for Claude across sessions and clients. 100% local, no API keys."
10
+ }
11
+ ]
12
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "project-continuity",
3
+ "version": "3.8.4",
4
+ "description": "Persistent, shared project memory for Claude across sessions and clients: diff-only file reads, checkpoints, cross-client task handoff and permanent project rules. 100% local, no API keys.",
5
+ "author": { "name": "Gabriel Cacabelos" },
6
+ "homepage": "https://github.com/gabicacabelos/claude-continuity-mcp",
7
+ "repository": "https://github.com/gabicacabelos/claude-continuity-mcp",
8
+ "license": "MIT",
9
+ "keywords": ["mcp", "memory", "context", "handoff", "checkpoint"]
10
+ }
@@ -0,0 +1,45 @@
1
+ name: publish
2
+
3
+ # Publishes to PyPI when a version tag (v3.8.5, v3.9.0…) is pushed.
4
+ # Uses PyPI Trusted Publishing: no token is stored anywhere. PyPI trusts this
5
+ # exact repo + workflow + environment (configured once on pypi.org).
6
+ on:
7
+ push:
8
+ tags: ["v*"]
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: astral-sh/setup-uv@v6
16
+ - name: Tag must match the version in server.py
17
+ run: |
18
+ v=$(python -c "import re;print(re.search(r'^VERSION = \"(.+)\"', open('server.py', encoding='utf-8').read(), re.M).group(1))")
19
+ test "v$v" = "$GITHUB_REF_NAME" || { echo "tag $GITHUB_REF_NAME != server.py VERSION $v"; exit 1; }
20
+ - name: Tests
21
+ run: uv run --with pytest python -m pytest -q
22
+ - name: Build
23
+ run: uv build
24
+ - name: Smoke test the built wheel (no git, no repo)
25
+ run: |
26
+ cd "$RUNNER_TEMP"
27
+ timeout 60 uvx --from "$GITHUB_WORKSPACE"/dist/*.whl claude-continuity-mcp < /dev/null 2>&1 | tee out.txt
28
+ grep -q "memoria y continuidad" out.txt
29
+ - uses: actions/upload-artifact@v4
30
+ with:
31
+ name: dist
32
+ path: dist/
33
+
34
+ publish:
35
+ needs: build
36
+ runs-on: ubuntu-latest
37
+ environment: pypi
38
+ permissions:
39
+ id-token: write
40
+ steps:
41
+ - uses: actions/download-artifact@v4
42
+ with:
43
+ name: dist
44
+ path: dist/
45
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,22 @@
1
+ name: tests
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ jobs:
9
+ test:
10
+ strategy:
11
+ fail-fast: false
12
+ matrix:
13
+ os: [ubuntu-latest, macos-latest, windows-latest]
14
+ python: ["3.10", "3.12"]
15
+ runs-on: ${{ matrix.os }}
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-python@v5
19
+ with:
20
+ python-version: ${{ matrix.python }}
21
+ - run: pip install -r requirements.txt pytest
22
+ - run: python -m pytest -q
@@ -0,0 +1,39 @@
1
+ # Credenciales — NUNCA subir al repo
2
+ .env
3
+
4
+ # Config local en caliente (el example sí se commitea)
5
+ router_config.json
6
+
7
+ # Caché local del router
8
+ cache/
9
+ *.db
10
+
11
+ # Python
12
+ __pycache__/
13
+ .pytest_cache/
14
+ *.py[cod]
15
+ *.pyo
16
+ *.pyd
17
+ .Python
18
+ *.egg-info/
19
+ dist/
20
+ build/
21
+ .eggs/
22
+
23
+ # Entornos virtuales
24
+ venv/
25
+ .venv/
26
+ env/
27
+
28
+ # IDEs
29
+ .vscode/
30
+ .idea/
31
+ *.swp
32
+ *.swo
33
+
34
+ # OS
35
+ .DS_Store
36
+ Thumbs.db
37
+
38
+ # Checkpoints personales de sesión
39
+ checkpoints/
@@ -0,0 +1,12 @@
1
+ {
2
+ "mcpServers": {
3
+ "project-continuity": {
4
+ "command": "uvx",
5
+ "args": [
6
+ "--from",
7
+ "git+https://github.com/gabicacabelos/claude-continuity-mcp@3343fed8d96c5bc5326b1f05443bb37f1038d0a4",
8
+ "claude-continuity-mcp"
9
+ ]
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 INDIVIDRA — https://individratec.com
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.