mcpcap 0.5.0__tar.gz → 0.5.2__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.
- {mcpcap-0.5.0 → mcpcap-0.5.2}/.github/workflows/release.yml +7 -15
- {mcpcap-0.5.0/src/mcpcap.egg-info → mcpcap-0.5.2}/PKG-INFO +1 -1
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/_version.py +3 -3
- {mcpcap-0.5.0 → mcpcap-0.5.2/src/mcpcap.egg-info}/PKG-INFO +1 -1
- {mcpcap-0.5.0 → mcpcap-0.5.2}/.github/FUNDING.yml +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/.github/workflows/test.yml +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/.gitignore +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/.readthedocs.yaml +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/CONTRIBUTING.md +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/LICENSE +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/README.md +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/Makefile +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/_static/.gitkeep +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/api/cli.rst +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/api/core.rst +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/api/modules.rst +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/conf.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/developer/contributing.md +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/developer/module-creation-tutorial.md +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/index.rst +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/user-guide/analysis-guides.md +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/user-guide/installation.md +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/user-guide/mcp-integration.md +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/docs/source/user-guide/quickstart.md +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/examples/README.md +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/examples/dhcp.pcap +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/examples/dns.pcap +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/pyproject.toml +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/readme-assets/mcpcap-logo.png +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/server.json +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/setup.cfg +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/__init__.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/cli.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/core/__init__.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/core/config.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/core/server.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/__init__.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/base.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/dhcp.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/dns.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap/modules/icmp.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/SOURCES.txt +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/dependency_links.txt +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/entry_points.txt +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/requires.txt +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/src/mcpcap.egg-info/top_level.txt +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/__init__.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/test_cli.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/test_dhcp.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/test_dns.py +0 -0
- {mcpcap-0.5.0 → mcpcap-0.5.2}/tests/test_modules/test_icmp.py +0 -0
@@ -32,13 +32,18 @@ jobs:
|
|
32
32
|
run: |
|
33
33
|
# Extract version from tag (remove 'v' prefix)
|
34
34
|
TAG_VERSION=${GITHUB_REF#refs/tags/v}
|
35
|
-
#
|
36
|
-
|
35
|
+
# Debug git state
|
36
|
+
echo "Current commit: $(git rev-parse HEAD)"
|
37
|
+
echo "Current tag: $(git describe --tags)"
|
38
|
+
echo "All tags: $(git tag --list | tail -3)"
|
39
|
+
# Get version from setuptools-scm with debug
|
40
|
+
DETECTED_VERSION=$(python -c "import setuptools_scm; print(setuptools_scm.get_version())")
|
37
41
|
echo "Tag version: $TAG_VERSION"
|
38
42
|
echo "Detected version: $DETECTED_VERSION"
|
39
43
|
# Verify they match
|
40
44
|
if [ "$TAG_VERSION" != "$DETECTED_VERSION" ]; then
|
41
45
|
echo "Version mismatch! Tag: $TAG_VERSION, Detected: $DETECTED_VERSION"
|
46
|
+
echo "This might be due to setuptools-scm caching or git fetch issues"
|
42
47
|
exit 1
|
43
48
|
fi
|
44
49
|
|
@@ -138,19 +143,6 @@ jobs:
|
|
138
143
|
if: steps.pypi_publish.outcome == 'success'
|
139
144
|
run: ./mcp-publisher login dns --domain mcpcap.ai --private-key "${{ secrets.MCP_PRIVATE_KEY }}"
|
140
145
|
|
141
|
-
# -------- (Optional) Validate server.json before publishing ----------------
|
142
|
-
- name: Validate server.json (optional)
|
143
|
-
if: steps.pypi_publish.outcome == 'success'
|
144
|
-
run: |
|
145
|
-
if [ -f server.json ]; then
|
146
|
-
# Validate against published schema
|
147
|
-
curl -s https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json | jq . > schema.json
|
148
|
-
npm i -g ajv-cli >/dev/null 2>&1 || true
|
149
|
-
ajv validate -s schema.json -d server.json || (echo "server.json failed schema validation"; exit 1)
|
150
|
-
else
|
151
|
-
echo "server.json not found; skipping validation"
|
152
|
-
fi
|
153
|
-
|
154
146
|
# -------- MCP Registry: publish -------------------------------------------
|
155
147
|
- name: Publish to MCP Registry
|
156
148
|
if: steps.pypi_publish.outcome == 'success'
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
28
28
|
commit_id: COMMIT_ID
|
29
29
|
__commit_id__: COMMIT_ID
|
30
30
|
|
31
|
-
__version__ = version = '0.5.
|
32
|
-
__version_tuple__ = version_tuple = (0, 5,
|
31
|
+
__version__ = version = '0.5.2'
|
32
|
+
__version_tuple__ = version_tuple = (0, 5, 2)
|
33
33
|
|
34
|
-
__commit_id__ = commit_id = '
|
34
|
+
__commit_id__ = commit_id = 'gbe92200cf'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|