@orangecheck/agent-mcp 0.4.1 → 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.
Files changed (2) hide show
  1. package/README.md +6 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -92,11 +92,16 @@ A server receiving a stamped invocation verifies it with `@orangecheck/agent-cor
92
92
 
93
93
  ```ts
94
94
  import { verifyAction } from '@orangecheck/agent-core';
95
+ import { verifySignature } from '@orangecheck/bip322';
95
96
 
97
+ // `revocations` is required: the kind-30085 envelopes you fetched with
98
+ // "#t": [delegation.id] (see @orangecheck/agent-core's README), or
99
+ // `skipRevocationCheck: true` to state that you are not checking.
96
100
  const r = await verifyAction({
97
101
  action,
98
102
  delegation,
99
- verifyBip322: async (m, s, a) => bip322.verify(a, m, s),
103
+ revocations,
104
+ verifyBip322: async (m, s, a) => verifySignature(a, m, s),
100
105
  });
101
106
  if (!r.ok) throw new Error(`auth failed: ${r.code}`);
102
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangecheck/agent-mcp",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Wrap Model Context Protocol tool invocations in OC Agent envelopes — every call produces a signed, scope-constrained, verifiable agent-action stamp.",
5
5
  "keywords": [
6
6
  "bitcoin",