@haven_ai/mcp 0.0.0-dev.202610051128.d0e0c97 → 0.0.0-dev.202610051332.f032d0a
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 +10 -6
- package/dist/cli.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -190,13 +190,17 @@ live.
|
|
|
190
190
|
## Audit log
|
|
191
191
|
|
|
192
192
|
Every MCP tool invocation tags the underlying Haven API call with
|
|
193
|
-
`X-Haven-MCP-Tool: <tool_name>`. The backend records
|
|
194
|
-
`agent_tool_invocations` row
|
|
195
|
-
|
|
193
|
+
`X-Haven-MCP-Tool: <tool_name>`. The backend records an
|
|
194
|
+
`agent_tool_invocations` row (tool name, payment id when present, result
|
|
195
|
+
status, nextAction, error code, HTTP status, timestamp) for the tools on its
|
|
196
|
+
allowlist (`MCP_TOOL_NAMES` in the backend's `agentToolAudit.ts`):
|
|
197
|
+
`haven_quote_x402`, `haven_pay_x402_quote`, `haven_resume_x402_payment`,
|
|
198
|
+
`haven_get_payment_status`, `haven_get_resume_state`, `haven_get_agent`,
|
|
199
|
+
`haven_get_allowances` and `haven_list_receipts`. Every other tool, including
|
|
200
|
+
`haven_send`, `haven_pay_x402` and `haven_submit`, leaves no row. The agent's
|
|
196
201
|
activity feed in the Haven dashboard surfaces these rows alongside payments,
|
|
197
|
-
so the wallet owner can see
|
|
198
|
-
|
|
199
|
-
money.
|
|
202
|
+
so the wallet owner can see which of those tools the agent called and what
|
|
203
|
+
happened — including the read-only calls that don't move money.
|
|
200
204
|
|
|
201
205
|
The audit log is informational. The agent's signed budget delegation — its
|
|
202
206
|
on-chain caveat enforcers — remains the only thing that can stop a spend;
|
package/dist/cli.cjs
CHANGED
|
@@ -1280,7 +1280,7 @@ async function resolveHavenClient(options = {}) {
|
|
|
1280
1280
|
return { client, credentials };
|
|
1281
1281
|
}
|
|
1282
1282
|
var MCP_NAME = "@haven_ai/mcp";
|
|
1283
|
-
var MCP_VERSION = "0.0.0-dev.
|
|
1283
|
+
var MCP_VERSION = "0.0.0-dev.202610051332.f032d0a";
|
|
1284
1284
|
var MCP_INSTRUCTIONS = [
|
|
1285
1285
|
"Haven local MCP server: signs in-process with the delegate key it holds on",
|
|
1286
1286
|
"this machine \u2014 the key never leaves this process. Call haven_get_agent",
|