@mcptoolshop/prism-verify 0.0.0 → 0.4.2
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.
- package/LICENSE +21 -0
- package/README.md +34 -2
- package/bin/prism.js +18 -0
- package/package.json +31 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 mcp-tool-shop
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/mcp-tool-shop-org/prism-verify/main/assets/prism-verify-logo.png" alt="prism-verify" width="500">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<p align="center">
|
|
6
|
+
<a href="https://pypi.org/project/prism-verify/"><img src="https://img.shields.io/pypi/v/prism-verify" alt="PyPI"></a>
|
|
7
|
+
<a href="https://www.npmjs.com/package/@mcptoolshop/prism-verify"><img src="https://img.shields.io/npm/v/@mcptoolshop/prism-verify" alt="npm"></a>
|
|
8
|
+
<a href="https://github.com/mcp-tool-shop-org/prism-verify"><img src="https://img.shields.io/badge/source-GitHub-blue" alt="source"></a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
1
11
|
# @mcptoolshop/prism-verify
|
|
2
12
|
|
|
3
|
-
|
|
13
|
+
Zero-prerequisite **npx** install of the [`prism`](https://github.com/mcp-tool-shop-org/prism-verify)
|
|
14
|
+
CLI — a runtime LLM verifier (family-different, reasoning-stripped, multi-lens, signed Ed25519
|
|
15
|
+
receipts).
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npx @mcptoolshop/prism-verify verify --artifact @myfile.py --intent "..." --caller-family openai
|
|
19
|
+
# or install it on your PATH
|
|
20
|
+
npm install -g @mcptoolshop/prism-verify
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
This is a thin wrapper over [`@mcptoolshop/npm-launcher`](https://github.com/mcp-tool-shop-org/npm-launcher):
|
|
24
|
+
it downloads the platform-specific `prism` binary from the
|
|
25
|
+
[prism-verify GitHub Release](https://github.com/mcp-tool-shop-org/prism-verify/releases),
|
|
26
|
+
**verifies its SHA256 checksum**, caches it (`~/.cache/mcptoolshop/prism/<version>/`), and runs it.
|
|
27
|
+
Network access is HTTPS-only to GitHub; no telemetry, no credentials stored.
|
|
28
|
+
|
|
29
|
+
**Prefer the Python package?** `uv tool install prism-verify` / `pipx install prism-verify`
|
|
30
|
+
(PyPI, with PEP 740 provenance attestations). The npm wrapper exists for zero-Python `npx` use; the
|
|
31
|
+
bundled binary covers the CLI + local (Ollama) verification + the HTTP service + citation
|
|
32
|
+
verification. Hosted-provider verifiers (Anthropic / OpenAI / Google) and full extras come with the
|
|
33
|
+
PyPI install.
|
|
34
|
+
|
|
35
|
+
Full docs, security model, and source: <https://github.com/mcp-tool-shop-org/prism-verify>.
|
|
4
36
|
|
|
5
|
-
|
|
37
|
+
MIT © mcp-tool-shop
|
package/bin/prism.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
// Thin npm wrapper for the prism CLI. Pure JSON config — @mcptoolshop/npm-launcher derives the
|
|
5
|
+
// release-asset names from convention, downloads the platform binary from the prism-verify
|
|
6
|
+
// GitHub Release, verifies its SHA256 against checksums-<version>.txt, caches it, and runs it
|
|
7
|
+
// with full arg passthrough.
|
|
8
|
+
// binary: prism-0.4.2-linux-x64
|
|
9
|
+
// checksums: checksums-0.4.2.txt
|
|
10
|
+
process.env.MCPTOOLSHOP_LAUNCH_CONFIG = JSON.stringify({
|
|
11
|
+
toolName: "prism",
|
|
12
|
+
owner: "mcp-tool-shop-org",
|
|
13
|
+
repo: "prism-verify",
|
|
14
|
+
version: "0.4.2",
|
|
15
|
+
tag: "v0.4.2",
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
require("@mcptoolshop/npm-launcher/bin/mcptoolshop-launch.js");
|
package/package.json
CHANGED
|
@@ -1,14 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcptoolshop/prism-verify",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.4.2",
|
|
4
|
+
"description": "prism-verify — runtime LLM verifier (family-different, reasoning-stripped, multi-lens, signed Ed25519 receipts). Zero-prerequisite npx install via a verified binary launcher.",
|
|
5
|
+
"type": "commonjs",
|
|
5
6
|
"license": "MIT",
|
|
6
|
-
"
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=18"
|
|
9
|
+
},
|
|
10
|
+
"bin": {
|
|
11
|
+
"prism": "bin/prism.js"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"bin/",
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"verify": "node -e \"require('./bin/prism.js')\" 2>&1 || true"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"llm",
|
|
23
|
+
"verification",
|
|
24
|
+
"verifier",
|
|
25
|
+
"adjudication",
|
|
26
|
+
"mcp",
|
|
27
|
+
"agent",
|
|
28
|
+
"cli"
|
|
29
|
+
],
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@mcptoolshop/npm-launcher": "^1.0.0"
|
|
32
|
+
},
|
|
33
|
+
"author": "mcp-tool-shop",
|
|
7
34
|
"repository": {
|
|
8
35
|
"type": "git",
|
|
9
36
|
"url": "git+https://github.com/mcp-tool-shop-org/prism-verify.git"
|
|
10
37
|
},
|
|
11
|
-
"
|
|
12
|
-
"README.md"
|
|
13
|
-
]
|
|
38
|
+
"homepage": "https://github.com/mcp-tool-shop-org/prism-verify"
|
|
14
39
|
}
|