Skip to content

Commit 2c64dd7

Browse files
jgravelleclaude
andcommitted
Fix: exclude .claude/ from sdist to prevent credential exposure
settings.local.json in .claude/ was bundled into all prior sdist releases, exposing API tokens stored as inline Bash permission patterns. Added: - .claude/ to .gitignore - [tool.hatch.build.targets.sdist] exclude = [".claude/"] in pyproject.toml Bumps to v0.2.6. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6767009 commit 2c64dd7

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ dmypy.json
4949

5050
# Storage (don't commit test indexes)
5151
.code-index/
52+
53+
# Claude Code local settings (may contain credentials from allowed commands)
54+
.claude/

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "jcodemunch-mcp"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
description = "Token-efficient MCP server for source code exploration via tree-sitter AST parsing"
55
readme = "README.md"
66
requires-python = ">=3.10"
@@ -25,6 +25,9 @@ build-backend = "hatchling.build"
2525
[tool.hatch.build.targets.wheel]
2626
packages = ["src/jcodemunch_mcp"]
2727

28+
[tool.hatch.build.targets.sdist]
29+
exclude = [".claude/"]
30+
2831
[tool.pytest.ini_options]
2932
testpaths = ["tests"]
3033
asyncio_mode = "auto"

0 commit comments

Comments
 (0)