@haven_ai/mcp 0.0.0-dev.202609291042.e2cc5e2 → 0.0.0-dev.202609291214.8b5d70e
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/cli.cjs +7 -3
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +7 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cli.cjs
CHANGED
|
@@ -333,7 +333,9 @@ var toolSchemas = {
|
|
|
333
333
|
haven_list_receipts: {
|
|
334
334
|
limit: v3.z.number().int().min(1).max(100).optional(),
|
|
335
335
|
/** #3128: the previous page's next_cursor (a receipt id). */
|
|
336
|
-
cursor: v3.z.string().min(1).optional()
|
|
336
|
+
cursor: v3.z.string().min(1).optional(),
|
|
337
|
+
/** #3423: drop each row's payload echoes; the default shape is unchanged. */
|
|
338
|
+
compact: v3.z.boolean().optional().describe("true drops challengePayload, selectedPayment and protocolReceiptPayload from each row; omit for the full row.")
|
|
337
339
|
},
|
|
338
340
|
haven_verify_receipt: {
|
|
339
341
|
receipt: v3.z.unknown()
|
|
@@ -641,7 +643,9 @@ function createToolHandlers(haven) {
|
|
|
641
643
|
},
|
|
642
644
|
haven_list_receipts: async (input) => {
|
|
643
645
|
const args = objectInput("haven_list_receipts", input);
|
|
644
|
-
return runTool(
|
|
646
|
+
return runTool(
|
|
647
|
+
async () => haven.listReceiptsPage({ limit: args.limit, cursor: args.cursor, compact: args.compact === true })
|
|
648
|
+
);
|
|
645
649
|
},
|
|
646
650
|
haven_verify_receipt: async (input) => {
|
|
647
651
|
const args = objectInput("haven_verify_receipt", input);
|
|
@@ -1143,7 +1147,7 @@ async function resolveHavenClient(options = {}) {
|
|
|
1143
1147
|
return { client, credentials };
|
|
1144
1148
|
}
|
|
1145
1149
|
var MCP_NAME = "@haven_ai/mcp";
|
|
1146
|
-
var MCP_VERSION = "0.0.0-dev.
|
|
1150
|
+
var MCP_VERSION = "0.0.0-dev.202609291214.8b5d70e";
|
|
1147
1151
|
var MCP_INSTRUCTIONS = [
|
|
1148
1152
|
"Haven local MCP server: signs in-process with the delegate key it holds on",
|
|
1149
1153
|
"this machine \u2014 the key never leaves this process. Call haven_get_agent",
|