@mnemopay/sdk 0.7.1 → 0.7.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.
- package/dist/mcp/server.js +2 -2
- package/package.json +1 -1
package/dist/mcp/server.js
CHANGED
|
@@ -331,7 +331,7 @@ async function executeTool(agent, name, args) {
|
|
|
331
331
|
// ─── Server setup ───────────────────────────────────────────────────────────
|
|
332
332
|
async function startServer() {
|
|
333
333
|
const agent = createAgent();
|
|
334
|
-
const server = new index_js_1.Server({ name: "mnemopay", version: "0.
|
|
334
|
+
const server = new index_js_1.Server({ name: "mnemopay", version: "0.7.1" }, { capabilities: { tools: {}, resources: {}, prompts: {} } });
|
|
335
335
|
// ── Tools ───────────────────────────────────────────────────────────────
|
|
336
336
|
server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({
|
|
337
337
|
tools: TOOLS,
|
|
@@ -628,7 +628,7 @@ async function startServer() {
|
|
|
628
628
|
// ─── Smithery sandbox — allows tool scanning without real credentials ──────
|
|
629
629
|
function createSandboxServer() {
|
|
630
630
|
const agent = index_js_2.MnemoPay.quick("smithery-sandbox");
|
|
631
|
-
const server = new index_js_1.Server({ name: "mnemopay", version: "0.
|
|
631
|
+
const server = new index_js_1.Server({ name: "mnemopay", version: "0.7.1" }, { capabilities: { tools: {}, resources: {}, prompts: {} } });
|
|
632
632
|
server.setRequestHandler(types_js_1.ListToolsRequestSchema, async () => ({ tools: TOOLS }));
|
|
633
633
|
server.setRequestHandler(types_js_1.CallToolRequestSchema, async (request) => {
|
|
634
634
|
const { name, arguments: args } = request.params;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mnemopay/sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "Give any AI agent memory and a wallet in 5 lines. Unified SDK for Mnemosyne (cognitive memory) + AgentPay (escrow economics).",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|