altweb-context 1.0.0 → 1.0.1
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/dist/altweb-context.mjs +1 -1
- package/package.json +1 -1
package/dist/altweb-context.mjs
CHANGED
|
@@ -47340,7 +47340,7 @@ function frameCapsuleText(markdown, provenance, nonce = generateFrameNonce()) {
|
|
|
47340
47340
|
}
|
|
47341
47341
|
const begin = `<<<ALTWEB-CONTENT-BEGIN ${nonce}>>>`;
|
|
47342
47342
|
const end = `<<<ALTWEB-CONTENT-END ${nonce}>>>`;
|
|
47343
|
-
const signer = provenance.signerName.replace(
|
|
47343
|
+
const signer = `"${provenance.signerName.replace(/[\s"]+/g, " ").trim()}"`;
|
|
47344
47344
|
return `[ALTWEB capsule verified]
|
|
47345
47345
|
signer: ${signer}
|
|
47346
47346
|
fingerprint: ${provenance.fingerprint}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "altweb-context",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "MCP server that loads ALTWEB signed context capsules into AI agents — verifies first, refuses unsigned, tampered, or untrusted context by default. Verify before you inject.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|