document-integrity-validator-mcp 1.0.14 → 1.0.15

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.
@@ -0,0 +1,31 @@
1
+ name: ToolRank Score
2
+ on:
3
+ pull_request:
4
+ paths:
5
+ - 'src/**'
6
+ jobs:
7
+ score:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - uses: actions/setup-python@v5
12
+ with:
13
+ python-version: '3.12'
14
+ - name: Score tool definitions
15
+ run: |
16
+ pip install httpx
17
+ curl -sL https://raw.githubusercontent.com/imhiroki/toolrank/v1.0.0/packages/scoring/toolrank_score.py -o toolrank_score.py
18
+ python3 -c "
19
+ import json, sys
20
+ from toolrank_score import score_server, to_json
21
+ with open('src/tools/definitions.json') as f:
22
+ tools = json.load(f).get('tools', [])
23
+ result = to_json(score_server('ci-check', tools))
24
+ print(f'ToolRank Score: {result[\"average_score\"]}/100')
25
+ for t in result['tools']:
26
+ for i in t['issues']:
27
+ print(f' [{i[\"severity\"]}] {t[\"name\"]}: {i[\"message\"]}')
28
+ if result['average_score'] < 85:
29
+ print('::error::Score below 85 — fix tool descriptions before merging')
30
+ sys.exit(1)
31
+ "
package/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.15] - 2026-06-17
4
+ - feat: add required fields to all tool inputSchemas; add ToolRank CI gate
5
+
3
6
  ## [1.0.14] - 2026-06-17
4
7
  - fix: Stripe webhook now validates payment_link ID — ignores events not belonging to this server
5
8
  - fix: webhook route registered before express.json() — raw body now reaches signature verifier correctly
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-integrity-validator-mcp",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Document integrity validator for AI agents. Verifies authenticity against international standards before acting on contents. PASS/FAIL verdict in one call.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",