@orangecheck/agent-mcp 0.4.2 → 0.4.3
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/README.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -131,13 +131,14 @@ action.ots = await stampCommit(action.id);
|
|
|
131
131
|
|
|
132
132
|
## Composing with Nostr
|
|
133
133
|
|
|
134
|
-
Publish the action for public auditability
|
|
134
|
+
Publish the action for public auditability on kind 30084, OC Agent's action kind. The `t` tag carries the delegation id, so anyone can list a delegation's actions with `{ kinds: [30084], '#t': [delegation.id] }` (oc-agent-protocol SPEC §10.3). Tags sit on the Nostr event, outside the signed envelope, so they change no id:
|
|
135
135
|
|
|
136
136
|
```ts
|
|
137
137
|
await nostr.publish({
|
|
138
138
|
kind: 30084,
|
|
139
139
|
tags: [
|
|
140
140
|
['d', 'oc-agent-act:' + action.id],
|
|
141
|
+
['t', action.delegation_id],
|
|
141
142
|
['kind', 'agent-action'],
|
|
142
143
|
['delegation', action.delegation_id],
|
|
143
144
|
['agent', action.signer.address],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangecheck/agent-mcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
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",
|