├── .gitignore ├── .env.example ├── .vscode └── settings.json ├── glama.json ├── examples ├── n8n-paid-chat-stdio │ ├── README.md │ └── n8n-paid-chat.json └── n8n-sse │ ├── README.md │ └── n8n-sse.json ├── tsconfig.json ├── .dockerignore ├── fly.toml ├── .github └── workflows │ ├── fly-deploy.yml │ └── publish.yml ├── src ├── tools │ ├── lightning │ │ ├── schemas │ │ │ └── invoice.ts │ │ ├── parse_invoice.ts │ │ ├── fiat_to_sats.ts │ │ ├── request_invoice.ts │ │ └── fetch_l402.ts │ └── nwc │ │ ├── get_balance.ts │ │ ├── schemas │ │ └── transaction.ts │ │ ├── get_wallet_service_info.ts │ │ ├── lookup_invoice.ts │ │ ├── get_info.ts │ │ ├── pay_invoice.ts │ │ ├── make_invoice.ts │ │ └── list_transactions.ts ├── auth.ts ├── mcp_server.ts ├── streamable_http.ts ├── index.ts └── sse.ts ├── Dockerfile ├── package.json ├── README.md ├── LICENSE └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | .env -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | NWC_CONNECTION_STRING="nostr+walletconnect://..." -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.formatOnSave": true, 3 | "typescript.preferences.importModuleSpecifierEnding": "js" 4 | } 5 | -------------------------------------------------------------------------------- /glama.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://glama.ai/mcp/schemas/server.json", 3 | "maintainers": [ 4 | "rolznz", 5 | "MoritzKa" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /examples/n8n-paid-chat-stdio/README.md: -------------------------------------------------------------------------------- 1 | # N8N Paid chat 2 | 3 | This allows you to put your whole N8N workflow behind a paywall on a friendly chat interface. You can then use any N8N native tool, or connect to any MCP server, so the possibilities are endless. 4 | 5 | In N8N, create a new workflow and then use the import from file option ([download the raw workflow](./n8n-paid-chat.json)) 6 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2022", 4 | "module": "ES2022", 5 | "moduleResolution": "bundler", 6 | "outDir": "./build", 7 | "rootDir": "./src", 8 | "strict": true, 9 | "skipLibCheck": true, 10 | "esModuleInterop": true, 11 | "forceConsistentCasingInFileNames": true 12 | }, 13 | "include": ["src/**/*.ts"], 14 | "exclude": ["node_modules"] 15 | } 16 | -------------------------------------------------------------------------------- /examples/n8n-sse/README.md: -------------------------------------------------------------------------------- 1 | # N8N SSE 2 | 3 | This allows you to put your whole N8N workflow behind a paywall on a friendly chat interface. You can then use any N8N native tool, or connect to any MCP server, so the possibilities are endless. 4 | 5 | In N8N, create a new workflow and then use the import from file option ([download the raw workflow](./n8n-sse.json)) 6 | 7 | Make sure to set your NWC connection secret in the MCP Client Bearer Authorization field. 8 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | # Git 2 | .git 3 | .gitignore 4 | 5 | # Node modules 6 | node_modules 7 | npm-debug.log 8 | yarn-error.log 9 | 10 | # Build artifacts (if any are generated locally and not needed in the image) 11 | # build/ (The Dockerfile handles copying the build from the builder stage) 12 | 13 | # OS-specific files 14 | .DS_Store 15 | Thumbs.db 16 | 17 | # Environment files (should be passed at runtime, not baked into the image) 18 | .env 19 | 20 | # Docker specific files 21 | Dockerfile 22 | .dockerignore 23 | 24 | # Editor/IDE specific files 25 | .vscode/ -------------------------------------------------------------------------------- /fly.toml: -------------------------------------------------------------------------------- 1 | # fly.toml app configuration file generated for alby-mcp-server on 2025-06-02T15:38:45+07:00 2 | # 3 | # See https://fly.io/docs/reference/configuration/ for information about how to use this file. 4 | # 5 | 6 | app = 'alby-mcp-server' 7 | primary_region = 'fra' 8 | 9 | [build] 10 | 11 | [http_service] 12 | internal_port = 3000 13 | force_https = true 14 | auto_stop_machines = 'off' 15 | auto_start_machines = true 16 | min_machines_running = 0 17 | processes = ['app'] 18 | 19 | [[vm]] 20 | memory = '512mb' 21 | cpu_kind = 'shared' 22 | cpus = 1 23 | -------------------------------------------------------------------------------- /.github/workflows/fly-deploy.yml: -------------------------------------------------------------------------------- 1 | # See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/ 2 | 3 | name: Fly Deploy 4 | on: 5 | push: 6 | branches: 7 | - master 8 | jobs: 9 | deploy: 10 | name: Deploy app 11 | runs-on: ubuntu-latest 12 | concurrency: deploy-group # optional: ensure only one action runs at a time 13 | steps: 14 | - uses: actions/checkout@v4 15 | - uses: superfly/flyctl-actions/setup-flyctl@master 16 | - run: flyctl deploy --remote-only --ha=false 17 | env: 18 | FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} 19 | -------------------------------------------------------------------------------- /src/tools/lightning/schemas/invoice.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod"; 2 | 3 | export const invoiceSchema = { 4 | paymentRequest: z.string().describe("The BOLT-11 payment request"), 5 | paymentHash: z.string().describe("Payment hash"), 6 | preimage: z.string().nullable().describe("Payment preimage if available"), 7 | verify: z 8 | .string() 9 | .nullable() 10 | .describe("URL to verify if the email was paid (LNURL-verify)"), 11 | amount_in_sats: z.number().describe("Amount in sats"), 12 | expiry: z.number().nullish().describe("Expiry time in seconds"), 13 | timestamp: z.number().describe("Creation unix timestamp"), 14 | createdDate: z.string().describe("Creation date string"), 15 | expiryDate: z.string().nullish().describe("Expiry date string"), 16 | description: z.string().nullable().describe("Invoice description"), 17 | successAction: z 18 | .unknown() 19 | .nullable() 20 | .describe("Success action to initiate after the invoice has been paid"), 21 | }; 22 | -------------------------------------------------------------------------------- /src/auth.ts: -------------------------------------------------------------------------------- 1 | function getConnectionSecretFromBearerAuth( 2 | authorizationHeader: string | undefined 3 | ) { 4 | const authParts = authorizationHeader?.split(" "); 5 | if ( 6 | authParts?.length !== 2 || 7 | authParts[0] !== "Bearer" || 8 | !authParts[1].startsWith("nostr+walletconnect://") 9 | ) { 10 | return undefined; 11 | } 12 | return authParts[1]; 13 | } 14 | 15 | function getConnectionSecretFromQueryParam( 16 | nwcParam: string | undefined 17 | ): string | undefined { 18 | if (!nwcParam || !nwcParam.startsWith("nostr+walletconnect://")) { 19 | return undefined; 20 | } 21 | return nwcParam; 22 | } 23 | 24 | export function getConnectionSecret( 25 | authorizationHeader: string | undefined, 26 | nwcQueryParam: string | undefined 27 | ): string | undefined { 28 | // Try query parameter first, then fall back to bearer auth 29 | return ( 30 | getConnectionSecretFromQueryParam(nwcQueryParam) || 31 | getConnectionSecretFromBearerAuth(authorizationHeader) 32 | ); 33 | } 34 | -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created 2 | # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages 3 | 4 | name: Publish package 5 | 6 | on: 7 | release: 8 | types: [published] 9 | 10 | jobs: 11 | build: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@v3 15 | - uses: actions/setup-node@v3 16 | with: 17 | node-version: 20 18 | - run: yarn install --frozen-lockfile 19 | #- run: yarn test 20 | 21 | publish-npm: 22 | needs: build 23 | runs-on: ubuntu-latest 24 | steps: 25 | - uses: actions/checkout@v3 26 | - uses: actions/setup-node@v3 27 | with: 28 | node-version: 20 29 | registry-url: https://registry.npmjs.org/ 30 | - run: yarn install --frozen-lockfile 31 | - run: npm publish 32 | env: 33 | NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} 34 | -------------------------------------------------------------------------------- /src/tools/nwc/get_balance.ts: -------------------------------------------------------------------------------- 1 | import { nwc } from "@getalby/sdk"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | 5 | export function registerGetBalanceTool( 6 | server: McpServer, 7 | client: nwc.NWCClient 8 | ) { 9 | server.registerTool( 10 | "get_balance", 11 | { 12 | title: "Get Balance", 13 | description: "Get the balance of the connected lightning wallet", 14 | outputSchema: { 15 | amount_in_sats: z.number().describe("Current wallet balance in sats"), 16 | }, 17 | }, 18 | async () => { 19 | const balance = await client.getBalance(); 20 | 21 | // Convert millisats to sats 22 | const convertedBalance = { 23 | amount_in_sats: Math.floor(balance.balance / 1000), // Round down when converting millisats to sats as balance 24 | }; 25 | 26 | return { 27 | structuredContent: convertedBalance, 28 | content: [ 29 | { 30 | type: "text", 31 | text: JSON.stringify(convertedBalance, null, 2), 32 | }, 33 | ], 34 | }; 35 | } 36 | ); 37 | } 38 | -------------------------------------------------------------------------------- /src/tools/lightning/parse_invoice.ts: -------------------------------------------------------------------------------- 1 | import { Invoice } from "@getalby/lightning-tools"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | import { invoiceSchema } from "./schemas/invoice.js"; 5 | 6 | export function registerParseInvoiceTool(server: McpServer) { 7 | server.registerTool( 8 | "parse_invoice", 9 | { 10 | title: "Parse Invoice", 11 | description: "Parse a BOLT-11 lightning invoice", 12 | inputSchema: { 13 | invoice: z.string().describe("the bolt11 invoice"), 14 | }, 15 | outputSchema: invoiceSchema, 16 | }, 17 | async (params) => { 18 | // make output consistent with other tools 19 | const { satoshi, ...invoice } = new Invoice({ pr: params.invoice }); 20 | 21 | const convertedResult = { 22 | ...invoice, 23 | amount_in_sats: satoshi, 24 | }; 25 | 26 | return { 27 | content: [ 28 | { 29 | type: "text", 30 | text: JSON.stringify(convertedResult, null, 2), 31 | }, 32 | ], 33 | structuredContent: JSON.parse(JSON.stringify(convertedResult)), 34 | }; 35 | } 36 | ); 37 | } 38 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # Use an official Node.js runtime as a parent image 2 | FROM node:24-alpine AS builder 3 | 4 | # Set the working directory in the container 5 | WORKDIR /usr/src/app 6 | 7 | # Copy package.json and yarn.lock 8 | COPY package.json yarn.lock ./ 9 | 10 | # Install dependencies (including devDependencies for build) 11 | RUN yarn install 12 | 13 | # Copy the rest of the application source code 14 | # Ensure .dockerignore is in place to avoid copying node_modules, .git, etc. 15 | COPY . . 16 | 17 | # Build the TypeScript code 18 | RUN yarn build 19 | 20 | # --- Production Stage --- 21 | FROM node:24-alpine 22 | 23 | WORKDIR /usr/src/app 24 | 25 | # Copy package.json and yarn.lock for production dependencies 26 | COPY package.json yarn.lock ./ 27 | 28 | # Install only production dependencies 29 | # This ensures a smaller image by not including devDependencies 30 | RUN yarn install --production 31 | 32 | # Copy built artifacts from the builder stage 33 | COPY --from=builder /usr/src/app/build ./build 34 | 35 | # The application listens on port 3000 by default for HTTP mode 36 | EXPOSE 3000 37 | 38 | # Environment variables that are needed at runtime 39 | ENV NODE_ENV=production 40 | ENV MODE=HTTP 41 | 42 | # Command to run the application 43 | CMD ["node", "build/index.js"] -------------------------------------------------------------------------------- /src/tools/nwc/schemas/transaction.ts: -------------------------------------------------------------------------------- 1 | import { z } from "zod"; 2 | 3 | export const transactionSchema = { 4 | type: z.enum(["incoming", "outgoing"]).describe("Transaction type"), 5 | state: z 6 | .enum(["settled", "pending", "failed"]) 7 | .nullish() 8 | .describe("Transaction state"), 9 | invoice: z.string().describe("BOLT-11 invoice"), 10 | description: z.string().nullish().describe("Invoice description"), 11 | description_hash: z.string().nullish().describe("Description hash"), 12 | preimage: z.string().nullish().describe("Preimage of settled payment"), 13 | payment_hash: z.string().describe("Payment hash"), 14 | amount_in_sats: z.number().describe("Amount in sats"), 15 | fees_paid_in_sats: z.number().nullish().describe("Fees paid in sats"), 16 | settled_at: z.number().nullish().describe("Timestamp, of settled payment"), 17 | created_at: z.number().describe("Creation unix timestamp"), 18 | expires_at: z.number().nullish().describe("Expiry unix timestamp"), // TODO: remove nullish once Primal supports it 19 | settle_deadline: z 20 | .number() 21 | .nullish() 22 | .describe("HOLD invoice settle deadline"), 23 | metadata: z 24 | .unknown() 25 | .nullish() 26 | .describe("Additional metadata about the transaction"), 27 | }; 28 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@getalby/mcp", 3 | "description": "MCP server for controlling a Lightning wallet using Nostr Wallet Connect", 4 | "repository": "https://github.com/getAlby/mcp.git", 5 | "version": "1.1.1", 6 | "type": "module", 7 | "main": "build/index.js", 8 | "bin": { 9 | "mcp": "build/index.js" 10 | }, 11 | "files": [ 12 | "build/**/*" 13 | ], 14 | "scripts": { 15 | "prepack": "yarn build", 16 | "build": "tsc && chmod 755 build/index.js", 17 | "start": "node build/index.js", 18 | "start:http": "MODE=HTTP node build/index.js", 19 | "inspect": "npx @modelcontextprotocol/inspector node build/index.js" 20 | }, 21 | "keywords": [ 22 | "lightning", 23 | "nostr", 24 | "nwc", 25 | "wallet", 26 | "mcp", 27 | "model-context-protocol", 28 | "ai" 29 | ], 30 | "author": "Alby contributors", 31 | "license": "MIT", 32 | "dependencies": { 33 | "@getalby/lightning-tools": "^5.2.0", 34 | "@getalby/sdk": "^5.1.1", 35 | "@modelcontextprotocol/sdk": "^1.13.0", 36 | "@types/node": "^20.11.5", 37 | "dotenv": "^16.4.7", 38 | "express": "^5.1.0", 39 | "typescript": "^5.3.3", 40 | "websocket-polyfill": "0.0.3" 41 | }, 42 | "devDependencies": { 43 | "@types/express": "^5.0.2" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/tools/lightning/fiat_to_sats.ts: -------------------------------------------------------------------------------- 1 | import { fiat } from "@getalby/lightning-tools"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | 5 | export function registerFiatToSatsTool(server: McpServer) { 6 | server.registerTool( 7 | "fiat_to_sats", 8 | { 9 | title: "Fiat To Sats", 10 | description: "Convert fiat amounts to sats", 11 | inputSchema: { 12 | fiat_currency: z 13 | .string() 14 | .describe("the fiat currency (e.g., USD, EUR)"), 15 | fiat_amount: z.number().describe("fiat amount to convert"), 16 | }, 17 | outputSchema: { 18 | amount_in_sats: z.number().describe("Amount in sats"), 19 | }, 20 | }, 21 | async (params) => { 22 | const satoshi = await fiat.getSatoshiValue({ 23 | amount: params.fiat_amount, 24 | currency: params.fiat_currency, 25 | }); 26 | 27 | // make output consistent with other tools 28 | const convertedResult = { 29 | amount_in_sats: satoshi, 30 | }; 31 | 32 | return { 33 | content: [ 34 | { 35 | type: "text", 36 | text: JSON.stringify(convertedResult), 37 | }, 38 | ], 39 | structuredContent: convertedResult, 40 | }; 41 | } 42 | ); 43 | } 44 | -------------------------------------------------------------------------------- /src/tools/nwc/get_wallet_service_info.ts: -------------------------------------------------------------------------------- 1 | import { nwc } from "@getalby/sdk"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | 5 | export function registerGetWalletServiceInfoTool( 6 | server: McpServer, 7 | client: nwc.NWCClient 8 | ) { 9 | server.registerTool( 10 | "get_wallet_service_info", 11 | { 12 | title: "Get Wallet Service Info", 13 | description: 14 | "Get NWC capabilities, supported encryption and notification types of the connected lightning wallet", 15 | outputSchema: { 16 | capabilities: z 17 | .array(z.string()) 18 | .describe( 19 | "Capabilities supported by this wallet - for example, NWC methods like 'pay_invoice', and 'notifications' if any notification types are supported." 20 | ), 21 | encryptions: z 22 | .array(z.string()) 23 | .nullish() 24 | .describe("NWC encryption types supported by this connection"), 25 | notifications: z 26 | .array(z.string()) 27 | .nullish() 28 | .describe("NWC notification types supported by this connection"), 29 | }, 30 | }, 31 | async () => { 32 | const info = await client.getWalletServiceInfo(); 33 | return { 34 | content: [ 35 | { 36 | type: "text", 37 | text: JSON.stringify(info, null, 2), 38 | }, 39 | ], 40 | structuredContent: info, 41 | }; 42 | } 43 | ); 44 | } 45 | -------------------------------------------------------------------------------- /src/tools/nwc/lookup_invoice.ts: -------------------------------------------------------------------------------- 1 | import { nwc } from "@getalby/sdk"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | import { transactionSchema } from "./schemas/transaction.js"; 5 | 6 | export function registerLookupInvoiceTool( 7 | server: McpServer, 8 | client: nwc.NWCClient 9 | ) { 10 | server.registerTool( 11 | "lookup_invoice", 12 | { 13 | title: "Lookup Invoice", 14 | description: 15 | "Look up lightning invoice details from a BOLT-11 invoice or payment hash", 16 | inputSchema: { 17 | payment_hash: z 18 | .string() 19 | .describe("The payment hash of the invoice to look up") 20 | .nullish(), 21 | invoice: z 22 | .string() 23 | .describe("The BOLT 11 invoice to look up") 24 | .nullish(), 25 | }, 26 | outputSchema: transactionSchema, 27 | }, 28 | async (params) => { 29 | const { amount, fees_paid, ...result } = await client.lookupInvoice({ 30 | invoice: params.invoice || undefined, 31 | payment_hash: params.payment_hash || undefined, 32 | }); 33 | 34 | // Convert millisats to sats in the response 35 | const convertedResult = { 36 | ...result, 37 | amount_in_sats: Math.floor(amount / 1000), // Round down when converting millisats to sats 38 | fees_paid_in_sats: 39 | typeof fees_paid === "number" 40 | ? Math.ceil(fees_paid / 1000) // Round up fees when converting millisats to sats 41 | : undefined, 42 | }; 43 | 44 | return { 45 | content: [ 46 | { 47 | type: "text", 48 | text: JSON.stringify(convertedResult, null, 2), 49 | }, 50 | ], 51 | structuredContent: convertedResult, 52 | }; 53 | } 54 | ); 55 | } 56 | -------------------------------------------------------------------------------- /src/tools/nwc/get_info.ts: -------------------------------------------------------------------------------- 1 | import { nwc } from "@getalby/sdk"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | 5 | export function registerGetInfoTool(server: McpServer, client: nwc.NWCClient) { 6 | server.registerTool( 7 | "get_info", 8 | { 9 | title: "Get Info", 10 | description: 11 | "Get NWC capabilities of the connected lightning wallet, and general information about the wallet and underlying lightning node", 12 | outputSchema: { 13 | alias: z.string().nullish().describe("Node alias"), 14 | color: z.string().nullish().describe("Node color"), 15 | pubkey: z.string().nullish().describe("Node public key"), 16 | network: z 17 | .string() 18 | .nullish() 19 | .describe("Bitcoin Network (mainnet/testnet)"), 20 | block_height: z.number().nullish().describe("Current block height"), 21 | block_hash: z.string().nullish().describe("Current block hash"), 22 | methods: z 23 | .array(z.string()) 24 | .describe("NWC methods supported by this connection"), 25 | notifications: z 26 | .array(z.string()) 27 | .nullish() 28 | .describe("NWC notification types supported by this connection"), 29 | metadata: z 30 | .unknown() 31 | .nullish() 32 | .describe("Additional metadata about this connection"), 33 | lud16: z.string().nullish().describe("Lightning address of the wallet"), 34 | }, 35 | }, 36 | async () => { 37 | const info = await client.getInfo(); 38 | return { 39 | content: [ 40 | { 41 | type: "text", 42 | text: JSON.stringify(info, null, 2), 43 | }, 44 | ], 45 | structuredContent: info, 46 | }; 47 | } 48 | ); 49 | } 50 | -------------------------------------------------------------------------------- /src/mcp_server.ts: -------------------------------------------------------------------------------- 1 | import { nwc, webln } from "@getalby/sdk"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { registerGetInfoTool } from "./tools/nwc/get_info.js"; 4 | import { registerGetWalletServiceInfoTool } from "./tools/nwc/get_wallet_service_info.js"; 5 | import { registerLookupInvoiceTool } from "./tools/nwc/lookup_invoice.js"; 6 | import { registerMakeInvoiceTool } from "./tools/nwc/make_invoice.js"; 7 | import { registerPayInvoiceTool } from "./tools/nwc/pay_invoice.js"; 8 | import { registerGetBalanceTool } from "./tools/nwc/get_balance.js"; 9 | import { registerListTransactionsTool } from "./tools/nwc/list_transactions.js"; 10 | import { registerFetchL402Tool } from "./tools/lightning/fetch_l402.js"; 11 | import { registerFiatToSatsTool } from "./tools/lightning/fiat_to_sats.js"; 12 | import { registerParseInvoiceTool } from "./tools/lightning/parse_invoice.js"; 13 | import { registerRequestInvoiceFromLightningAddressTool } from "./tools/lightning/request_invoice.js"; 14 | 15 | export function createMCPServer(client: nwc.NWCClient): McpServer { 16 | const server = new McpServer({ 17 | name: "@getalby/mcp", 18 | version: "1.1.1", 19 | title: "Alby MCP Server", 20 | }); 21 | 22 | // NWC 23 | registerGetWalletServiceInfoTool(server, client); 24 | registerGetInfoTool(server, client); 25 | registerMakeInvoiceTool(server, client); 26 | registerPayInvoiceTool(server, client); 27 | registerGetBalanceTool(server, client); 28 | registerLookupInvoiceTool(server, client); 29 | registerListTransactionsTool(server, client); 30 | 31 | // Lightning tools 32 | registerFetchL402Tool( 33 | server, 34 | new webln.NostrWebLNProvider({ 35 | client, 36 | }) 37 | ); 38 | registerFiatToSatsTool(server); 39 | registerParseInvoiceTool(server); 40 | registerRequestInvoiceFromLightningAddressTool(server); 41 | 42 | return server; 43 | } 44 | -------------------------------------------------------------------------------- /src/tools/lightning/request_invoice.ts: -------------------------------------------------------------------------------- 1 | import { LightningAddress } from "@getalby/lightning-tools"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | import { invoiceSchema } from "./schemas/invoice.js"; 5 | 6 | export function registerRequestInvoiceFromLightningAddressTool( 7 | server: McpServer 8 | ) { 9 | server.registerTool( 10 | "request_invoice", 11 | { 12 | title: "Request Invoice", 13 | description: "Request an invoice from a lightning address", 14 | inputSchema: { 15 | lightning_address: z 16 | .string() 17 | .describe("the recipient's lightning address"), 18 | amount_in_sats: z.number().describe("amount in sats"), 19 | description: z 20 | .string() 21 | .describe("note, memo or description describing the invoice") 22 | .nullish(), 23 | payer_data: z 24 | .object({}) 25 | .passthrough() 26 | .describe( 27 | "metadata to include with the payment such as the payer's name" 28 | ) 29 | .nullish(), 30 | }, 31 | outputSchema: invoiceSchema, 32 | }, 33 | async (params) => { 34 | const ln = new LightningAddress(params.lightning_address); 35 | 36 | // fetch the LNURL data 37 | await ln.fetch(); 38 | 39 | const { satoshi, ...invoice } = await ln.requestInvoice({ 40 | satoshi: params.amount_in_sats, 41 | comment: params.description || undefined, 42 | payerdata: params.payer_data || undefined, 43 | }); 44 | 45 | // make output consistent with other tools 46 | const convertedResult = { 47 | ...invoice, 48 | amount_in_sats: satoshi, 49 | }; 50 | 51 | return { 52 | content: [ 53 | { 54 | type: "text", 55 | text: JSON.stringify(convertedResult, null, 2), 56 | }, 57 | ], 58 | structuredContent: JSON.parse(JSON.stringify(convertedResult)), 59 | }; 60 | } 61 | ); 62 | } 63 | -------------------------------------------------------------------------------- /src/streamable_http.ts: -------------------------------------------------------------------------------- 1 | import { Express, Request, Response } from "express"; 2 | import { createMCPServer } from "./mcp_server.js"; 3 | import { nwc } from "@getalby/sdk"; 4 | import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js"; 5 | import { getConnectionSecret } from "./auth.js"; 6 | import { json } from "express"; 7 | 8 | export function addStreamableHttpEndpoints(app: Express) { 9 | app.post("/mcp", json(), async (req: Request, res: Response) => { 10 | // In stateless mode, create a new instance of transport and server for each request 11 | // to ensure complete isolation. A single instance would cause request ID collisions 12 | // when multiple clients connect concurrently. 13 | try { 14 | const nostrWalletConnectUrl = getConnectionSecret( 15 | req.header("Authorization"), 16 | req.query.nwc as string 17 | ); 18 | if (!nostrWalletConnectUrl) { 19 | res 20 | .status(400) 21 | .send("Bearer auth with NWC connection secret or nwc query parameter not provided"); 22 | return; 23 | } 24 | 25 | const client = new nwc.NWCClient({ 26 | nostrWalletConnectUrl, 27 | }); 28 | const server = createMCPServer(client); 29 | const transport: StreamableHTTPServerTransport = 30 | new StreamableHTTPServerTransport({ 31 | sessionIdGenerator: undefined, 32 | }); 33 | res.on("close", () => { 34 | console.log("Request closed"); 35 | transport.close(); 36 | server.close(); 37 | client.close(); 38 | }); 39 | await server.connect(transport); 40 | await transport.handleRequest(req, res, req.body); 41 | } catch (error) { 42 | console.error("Error handling MCP request:", error); 43 | if (!res.headersSent) { 44 | res.status(500).json({ 45 | jsonrpc: "2.0", 46 | error: { 47 | code: -32603, 48 | message: "Internal server error", 49 | }, 50 | id: null, 51 | }); 52 | } 53 | } 54 | }); 55 | } 56 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import "websocket-polyfill"; 3 | import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; 4 | import { ErrorCode, McpError } from "@modelcontextprotocol/sdk/types.js"; 5 | import { nwc } from "@getalby/sdk"; 6 | 7 | import dotenv from "dotenv"; 8 | import express from "express"; 9 | import { createMCPServer } from "./mcp_server.js"; 10 | import { addSSEEndpoints } from "./sse.js"; 11 | import { addStreamableHttpEndpoints } from "./streamable_http.js"; 12 | 13 | // Load environment variables from .env file 14 | dotenv.config(); 15 | 16 | class NWCServer { 17 | async runSTDIO() { 18 | try { 19 | // NWC connection string should be provided as an environment variable 20 | const NWC_CONNECTION_STRING = process.env.NWC_CONNECTION_STRING; 21 | if (!NWC_CONNECTION_STRING) { 22 | throw new Error( 23 | "NWC_CONNECTION_STRING environment variable is required" 24 | ); 25 | } 26 | 27 | const client = new nwc.NWCClient({ 28 | nostrWalletConnectUrl: NWC_CONNECTION_STRING, 29 | }); 30 | const transport = new StdioServerTransport(); 31 | const server = createMCPServer(client); 32 | await server.connect(transport); 33 | // console.log("Server running in STDIO mode"); 34 | } catch (error) { 35 | throw new McpError( 36 | ErrorCode.InternalError, 37 | `Failed to connect to NWC wallet: ${ 38 | error instanceof Error ? error.message : String(error) 39 | }` 40 | ); 41 | } 42 | } 43 | async runHTTP() { 44 | const app = express(); 45 | 46 | addSSEEndpoints(app); 47 | addStreamableHttpEndpoints(app); 48 | 49 | const port = parseInt(process.env.PORT || "3000"); 50 | app.listen(port); 51 | console.log("Server running in HTTP mode on port", port); 52 | } 53 | } 54 | 55 | switch (process.env.MODE || "STDIO") { 56 | case "HTTP": 57 | new NWCServer().runHTTP().catch(console.error); 58 | break; 59 | case "STDIO": 60 | new NWCServer().runSTDIO().catch(console.error); 61 | break; 62 | default: 63 | console.error("Unknown transport: " + process.env.MCP_TRANSPORT); 64 | } 65 | -------------------------------------------------------------------------------- /src/tools/nwc/pay_invoice.ts: -------------------------------------------------------------------------------- 1 | import { nwc } from "@getalby/sdk"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | 5 | export function registerPayInvoiceTool( 6 | server: McpServer, 7 | client: nwc.NWCClient 8 | ) { 9 | server.registerTool( 10 | "pay_invoice", 11 | { 12 | title: "Pay Invoice", 13 | description: "Pay a lightning invoice", 14 | inputSchema: { 15 | invoice: z.string().describe("The lightning invoice to pay"), 16 | amount_in_sats: z 17 | .number() 18 | .describe( 19 | "Optional amount in sats, only provide if paying a zero-amount invoice" 20 | ) 21 | .nullish(), 22 | metadata: z 23 | .object({}) 24 | .passthrough() 25 | .describe("Optional metadata to include with the payment") 26 | .nullish(), 27 | }, 28 | outputSchema: { 29 | preimage: z.string().describe("Payment preimage"), 30 | fees_paid_in_sats: z.number().nullish().describe("Fees paid in sats"), // TODO: remove nullish once Primal supports it 31 | }, 32 | }, 33 | async (params) => { 34 | const { fees_paid, preimage, ...result } = await client.payInvoice({ 35 | invoice: params.invoice, 36 | amount: params.amount_in_sats 37 | ? params.amount_in_sats * 1000 38 | : undefined, // Convert sats to millisats for NWC 39 | metadata: params.metadata || undefined, 40 | }); 41 | 42 | // Convert millisats back to sats in the response 43 | const convertedResult = { 44 | ...result, 45 | preimage: preimage || "", // TODO: once Primal supports preimage, remove this 46 | fees_paid_in_sats: 47 | typeof fees_paid === "number" 48 | ? Math.ceil(fees_paid / 1000) // Round up fees when converting millisats to sats 49 | : undefined, 50 | }; 51 | 52 | return { 53 | content: [ 54 | { 55 | type: "text", 56 | text: JSON.stringify(convertedResult, null, 2), 57 | }, 58 | ], 59 | structuredContent: convertedResult, 60 | }; 61 | } 62 | ); 63 | } 64 | -------------------------------------------------------------------------------- /src/sse.ts: -------------------------------------------------------------------------------- 1 | import { nwc } from "@getalby/sdk"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { SSEServerTransport } from "@modelcontextprotocol/sdk/server/sse.js"; 4 | import { Express } from "express"; 5 | import { createMCPServer } from "./mcp_server.js"; 6 | import { getConnectionSecret } from "./auth.js"; 7 | 8 | export function addSSEEndpoints(app: Express) { 9 | // Store transports for each session type 10 | // SSE is deprecated so we do not put much effort in here (e.g. cleaning up unused sessions) 11 | const sessions: Record< 12 | string, 13 | { 14 | server: McpServer; 15 | transport: SSEServerTransport; 16 | } 17 | > = {}; 18 | 19 | app.get("/sse", async (req, res) => { 20 | const nostrWalletConnectUrl = getConnectionSecret( 21 | req.header("Authorization"), 22 | req.query.nwc as string 23 | ); 24 | if (!nostrWalletConnectUrl) { 25 | res 26 | .status(400) 27 | .send("Bearer auth with NWC connection secret or nwc query parameter not provided"); 28 | return; 29 | } 30 | 31 | const client = new nwc.NWCClient({ 32 | nostrWalletConnectUrl, 33 | }); 34 | 35 | const transport = new SSEServerTransport("/messages", res); 36 | const server = createMCPServer(client); 37 | sessions[transport.sessionId] = { 38 | server, 39 | transport, 40 | }; 41 | console.info("Created new SSE session", transport.sessionId); 42 | if (req.query.sessionId) { 43 | console.info( 44 | "Request provided its own session ID: " + req.query.sessionId 45 | ); 46 | sessions[req.query.sessionId as string] = { 47 | server, 48 | transport, 49 | }; 50 | } 51 | server.connect(transport); 52 | }); 53 | 54 | app.post("/messages", (req, res) => { 55 | const sessionId = req.query.sessionId as string; 56 | console.info("SSE messages request", sessionId); 57 | const session = sessions[sessionId]; 58 | if (session) { 59 | console.info("Found session for messages request", sessionId); 60 | 61 | session.transport.handlePostMessage(req, res); 62 | } else { 63 | res 64 | .status(400) 65 | .send("No transport found for sessionId: " + req.query.sessionId); 66 | } 67 | }); 68 | } 69 | -------------------------------------------------------------------------------- /src/tools/lightning/fetch_l402.ts: -------------------------------------------------------------------------------- 1 | import { l402 } from "@getalby/lightning-tools"; 2 | import { webln } from "@getalby/sdk"; 3 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 4 | import { z } from "zod"; 5 | 6 | export function registerFetchL402Tool( 7 | server: McpServer, 8 | webln: webln.NostrWebLNProvider 9 | ) { 10 | server.registerTool( 11 | "fetch_l402", 12 | { 13 | title: "Fetch L402", 14 | description: "Fetch a paid resource protected by L402", 15 | inputSchema: { 16 | url: z.string().describe("the URL to fetch"), 17 | method: z 18 | .string() 19 | .nullish() 20 | .describe("HTTP request method. Default GET"), 21 | body: z 22 | .string() 23 | .nullish() 24 | .describe( 25 | "HTTP request body as a string (either plaintext or stringified JSON)" 26 | ), 27 | }, 28 | outputSchema: { 29 | content: z.string().describe("Response content"), 30 | }, 31 | }, 32 | async (params) => { 33 | const requestOptions: RequestInit = { 34 | method: params.method || undefined, 35 | }; 36 | 37 | if ( 38 | params.method && 39 | params.method !== "GET" && 40 | params.method !== "HEAD" 41 | ) { 42 | requestOptions.body = params.body; 43 | requestOptions.headers = { 44 | "Content-Type": "application/json", 45 | }; 46 | } 47 | 48 | const result = await l402.fetchWithL402(params.url, requestOptions, { 49 | webln, 50 | }); 51 | 52 | const responseContent = await result.text(); 53 | if (!result.ok) { 54 | console.error( 55 | "L402 fetch returned non-OK status", 56 | result.status, 57 | responseContent 58 | ); 59 | throw new Error( 60 | "fetch returned non-OK status: " + 61 | result.status + 62 | " " + 63 | responseContent 64 | ); 65 | } 66 | 67 | const responseData = { 68 | content: responseContent, 69 | }; 70 | 71 | return { 72 | content: [ 73 | { 74 | type: "text", 75 | text: responseContent, 76 | }, 77 | ], 78 | structuredContent: responseData, 79 | }; 80 | } 81 | ); 82 | } 83 | -------------------------------------------------------------------------------- /src/tools/nwc/make_invoice.ts: -------------------------------------------------------------------------------- 1 | import { nwc } from "@getalby/sdk"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | import { transactionSchema } from "./schemas/transaction.js"; 5 | 6 | export function registerMakeInvoiceTool( 7 | server: McpServer, 8 | client: nwc.NWCClient 9 | ) { 10 | server.registerTool( 11 | "make_invoice", 12 | { 13 | title: "Make Invoice", 14 | description: "Create a lightning invoice", 15 | inputSchema: { 16 | amount_in_sats: z.number().describe("amount in sats"), 17 | expiry: z.number().describe("expiry in seconds").nullish(), 18 | description: z 19 | .string() 20 | .describe("note, memo or description describing the invoice") 21 | .nullish(), 22 | description_hash: z 23 | .string() 24 | .describe( 25 | "hash of a note, memo or description that is too long to fit within the invoice" 26 | ) 27 | .nullish(), 28 | metadata: z 29 | .object({}) 30 | .passthrough() 31 | .describe("Optional metadata to include with the payment") 32 | .nullish(), 33 | }, 34 | outputSchema: transactionSchema, 35 | }, 36 | async (params) => { 37 | const { amount, fees_paid, ...result } = await client.makeInvoice({ 38 | amount: params.amount_in_sats * 1000, // Convert sats to millisats for NWC 39 | description: params.description || undefined, 40 | description_hash: params.description_hash || undefined, 41 | expiry: params.expiry || undefined, 42 | metadata: params.metadata || undefined, 43 | }); 44 | 45 | // Convert millisats back to sats in the response 46 | const convertedResult = { 47 | ...result, 48 | amount_in_sats: Math.floor(amount / 1000), // Round down when converting millisats to sats 49 | fees_paid_in_sats: 50 | typeof fees_paid === "number" 51 | ? Math.ceil(fees_paid / 1000) // Round up fees when converting millisats to sats 52 | : undefined, 53 | }; 54 | 55 | return { 56 | content: [ 57 | { 58 | type: "text", 59 | text: JSON.stringify(convertedResult, null, 2), 60 | }, 61 | ], 62 | structuredContent: convertedResult, 63 | }; 64 | } 65 | ); 66 | } 67 | -------------------------------------------------------------------------------- /src/tools/nwc/list_transactions.ts: -------------------------------------------------------------------------------- 1 | import { nwc } from "@getalby/sdk"; 2 | import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; 3 | import { z } from "zod"; 4 | import { transactionSchema } from "./schemas/transaction.js"; 5 | 6 | export function registerListTransactionsTool( 7 | server: McpServer, 8 | client: nwc.NWCClient 9 | ) { 10 | server.registerTool( 11 | "list_transactions", 12 | { 13 | title: "List Transactions", 14 | description: 15 | "List all transactions from the connected wallet with optional filtering by time, type, and limit", 16 | inputSchema: { 17 | from: z 18 | .number() 19 | .describe( 20 | "Start unix timestamp for filtering transactions (inclusive)" 21 | ) 22 | .nullish(), 23 | until: z 24 | .number() 25 | .describe("End unix timestamp for filtering transactions (inclusive)") 26 | .nullish(), 27 | limit: z 28 | .number() 29 | .describe("Maximum number of transactions to return") 30 | .nullish(), 31 | offset: z 32 | .number() 33 | .describe("Offset of the first transaction to return") 34 | .nullish(), 35 | type: z 36 | .enum(["incoming", "outgoing"]) 37 | .describe("Filter transactions by type") 38 | .nullish(), 39 | unpaid: z 40 | .boolean() 41 | .describe("Filter for unpaid transactions only") 42 | .nullish(), 43 | }, 44 | outputSchema: { 45 | transactions: z 46 | .array(z.object(transactionSchema)) 47 | .describe("List of transactions"), 48 | total_count: z 49 | .number() 50 | .nullish() 51 | .describe("Total number of transactions"), 52 | }, 53 | }, 54 | async (params) => { 55 | const result = await client.listTransactions({ 56 | from: params.from || undefined, 57 | until: params.until || undefined, 58 | limit: params.limit || undefined, 59 | type: params.type || undefined, 60 | unpaid: params.unpaid || undefined, 61 | offset: params.offset || undefined, 62 | }); 63 | 64 | // Convert millisats to sats in all transactions 65 | const convertedResult = { 66 | ...result, 67 | transactions: result.transactions.map( 68 | ({ amount, fees_paid, ...transaction }) => ({ 69 | ...transaction, 70 | amount_in_sats: Math.floor(amount / 1000), // Round down when converting millisats to sats 71 | fees_paid_in_sats: 72 | typeof fees_paid === "number" // Round up fees when converting millisats to sats 73 | ? Math.ceil(fees_paid / 1000) 74 | : undefined, 75 | }) 76 | ), 77 | }; 78 | 79 | return { 80 | content: [ 81 | { 82 | type: "text", 83 | text: JSON.stringify(convertedResult, null, 2), 84 | }, 85 | ], 86 | structuredContent: convertedResult, 87 | }; 88 | } 89 | ); 90 | } 91 | -------------------------------------------------------------------------------- /examples/n8n-sse/n8n-sse.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "My workflow", 3 | "nodes": [ 4 | { 5 | "parameters": { 6 | "options": {} 7 | }, 8 | "type": "@n8n/n8n-nodes-langchain.chatTrigger", 9 | "typeVersion": 1.1, 10 | "position": [ 11 | 0, 12 | 0 13 | ], 14 | "id": "e027c796-ca4f-44cf-93be-9e5c8e5563c6", 15 | "name": "When chat message received", 16 | "webhookId": "3cc25d72-3420-4da9-be6c-33dcdccfe9da" 17 | }, 18 | { 19 | "parameters": { 20 | "options": {} 21 | }, 22 | "type": "@n8n/n8n-nodes-langchain.agent", 23 | "typeVersion": 2, 24 | "position": [ 25 | 220, 26 | 0 27 | ], 28 | "id": "3dcb0b87-10d4-48d9-83cf-2f5dbb82c23f", 29 | "name": "AI Agent" 30 | }, 31 | { 32 | "parameters": { 33 | "sseEndpoint": "https://mcp.getalby.com/sse", 34 | "authentication": "bearerAuth" 35 | }, 36 | "type": "@n8n/n8n-nodes-langchain.mcpClientTool", 37 | "typeVersion": 1, 38 | "position": [ 39 | 480, 40 | 220 41 | ], 42 | "id": "0c5182de-167c-4448-8cbc-a2042cc9740e", 43 | "name": "MCP Client", 44 | "credentials": { 45 | "httpBearerAuth": { 46 | "id": "uCWgSgzbfK2VCyHp", 47 | "name": "NWC default Bearer Auth account" 48 | } 49 | } 50 | }, 51 | { 52 | "parameters": { 53 | "model": "anthropic/claude-3.7-sonnet", 54 | "options": { 55 | "maxTokens": 10000 56 | } 57 | }, 58 | "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter", 59 | "typeVersion": 1, 60 | "position": [ 61 | 260, 62 | 220 63 | ], 64 | "id": "6b9ab27d-ebb7-4e4b-beca-f6a9a5efc7e4", 65 | "name": "OpenRouter Chat Model", 66 | "credentials": { 67 | "openRouterApi": { 68 | "id": "Nf72kYqXR9WwGx1n", 69 | "name": "OpenRouter account" 70 | } 71 | } 72 | } 73 | ], 74 | "pinData": {}, 75 | "connections": { 76 | "When chat message received": { 77 | "main": [ 78 | [ 79 | { 80 | "node": "AI Agent", 81 | "type": "main", 82 | "index": 0 83 | } 84 | ] 85 | ] 86 | }, 87 | "MCP Client": { 88 | "ai_tool": [ 89 | [ 90 | { 91 | "node": "AI Agent", 92 | "type": "ai_tool", 93 | "index": 0 94 | } 95 | ] 96 | ] 97 | }, 98 | "AI Agent": { 99 | "main": [ 100 | [] 101 | ] 102 | }, 103 | "OpenRouter Chat Model": { 104 | "ai_languageModel": [ 105 | [ 106 | { 107 | "node": "AI Agent", 108 | "type": "ai_languageModel", 109 | "index": 0 110 | } 111 | ] 112 | ] 113 | } 114 | }, 115 | "active": false, 116 | "settings": { 117 | "executionOrder": "v1" 118 | }, 119 | "versionId": "4d294e9a-4f09-4f9a-9077-4941d5c36ee5", 120 | "meta": { 121 | "templateCredsSetupCompleted": true, 122 | "instanceId": "d0a2265a2322c708aba889ae9378f25ca9e7eb32526f017f425ec772ae5f5245" 123 | }, 124 | "id": "4HiRB1dXViekkBDZ", 125 | "tags": [] 126 | } -------------------------------------------------------------------------------- /examples/n8n-paid-chat-stdio/n8n-paid-chat.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NWC Paid Chat", 3 | "nodes": [ 4 | { 5 | "parameters": { 6 | "public": true, 7 | "initialMessages": "Hi there! 👋\nMy name is Roland. How can I assist you today?", 8 | "options": {} 9 | }, 10 | "type": "@n8n/n8n-nodes-langchain.chatTrigger", 11 | "typeVersion": 1.1, 12 | "position": [0, 0], 13 | "id": "40c5549a-d844-4129-8ada-22e929ac62a6", 14 | "name": "When chat message received", 15 | "webhookId": "95256a48-d9ab-4bab-a58b-9741fa978992" 16 | }, 17 | { 18 | "parameters": { 19 | "promptType": "define", 20 | "text": "=You are a paid chat service where the user has to pay before they get an answer to their prompt.\n\nWhen receiving {{ $json.chatInput }} if the user has not paid yet, make a 21 sat invoice that the user must pay and respond with \"Please pay the following invoice to continue and then type 'ok'\". (also show it as a QR code).\n\nOtherwise if you made an invoice already, lookup the invoice you sent to the user. If it was settled, then reply to the user's original chat message. Otherwise say \"The invoice was not paid yet\".", 21 | "options": { 22 | "systemMessage": "" 23 | } 24 | }, 25 | "type": "@n8n/n8n-nodes-langchain.agent", 26 | "typeVersion": 1.8, 27 | "position": [440, 0], 28 | "id": "60a4d31c-3a2c-406b-adec-c4dd4f0d72a3", 29 | "name": "AI Agent" 30 | }, 31 | { 32 | "parameters": { 33 | "operation": "executeTool", 34 | "toolName": "make_invoice", 35 | "toolParameters": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Tool_Parameters', `use the amount field to set the amount (in millisats - 1000 millisats is 1 sat) and set the description to \"paid chat\".`, 'json') }}" 36 | }, 37 | "type": "n8n-nodes-mcp.mcpClientTool", 38 | "typeVersion": 1, 39 | "position": [700, 240], 40 | "id": "72b9a32d-0460-4012-908a-ee2d301c0388", 41 | "name": "MCP Client Make Invoice", 42 | "credentials": { 43 | "mcpClientApi": { 44 | "id": "qeW4S9quHjbEpitE", 45 | "name": "MCP Client (STDIO) account" 46 | } 47 | } 48 | }, 49 | { 50 | "parameters": { 51 | "operation": "executeTool", 52 | "toolName": "lookup_invoice", 53 | "toolParameters": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Tool_Parameters', `You should use the invoice you generated and sent to the user. It starts with lnbc... and should be passed as the \"invoice\" parameter.`, 'json') }}" 54 | }, 55 | "type": "n8n-nodes-mcp.mcpClientTool", 56 | "typeVersion": 1, 57 | "position": [860, 140], 58 | "id": "696aa197-cd9f-4886-9dd9-7fe74e934fff", 59 | "name": "MCP Client Lookup Invoice", 60 | "credentials": { 61 | "mcpClientApi": { 62 | "id": "qeW4S9quHjbEpitE", 63 | "name": "MCP Client (STDIO) account" 64 | } 65 | } 66 | }, 67 | { 68 | "parameters": {}, 69 | "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow", 70 | "typeVersion": 1.3, 71 | "position": [540, 220], 72 | "id": "5e4e86ec-008d-4c6a-a1a4-4bbc9e05824c", 73 | "name": "Simple Memory" 74 | }, 75 | { 76 | "parameters": { 77 | "model": "anthropic/claude-3.7-sonnet", 78 | "options": { 79 | "maxTokens": 10000 80 | } 81 | }, 82 | "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter", 83 | "typeVersion": 1, 84 | "position": [400, 220], 85 | "id": "0e486af7-599e-43f5-9503-55407ef58f68", 86 | "name": "OpenRouter Chat Model", 87 | "credentials": { 88 | "openRouterApi": { 89 | "id": "Nf72kYqXR9WwGx1n", 90 | "name": "OpenRouter account" 91 | } 92 | } 93 | } 94 | ], 95 | "pinData": {}, 96 | "connections": { 97 | "When chat message received": { 98 | "main": [ 99 | [ 100 | { 101 | "node": "AI Agent", 102 | "type": "main", 103 | "index": 0 104 | } 105 | ] 106 | ] 107 | }, 108 | "MCP Client Make Invoice": { 109 | "ai_tool": [ 110 | [ 111 | { 112 | "node": "AI Agent", 113 | "type": "ai_tool", 114 | "index": 0 115 | } 116 | ] 117 | ] 118 | }, 119 | "AI Agent": { 120 | "main": [[]] 121 | }, 122 | "MCP Client Lookup Invoice": { 123 | "ai_tool": [ 124 | [ 125 | { 126 | "node": "AI Agent", 127 | "type": "ai_tool", 128 | "index": 0 129 | } 130 | ] 131 | ] 132 | }, 133 | "Simple Memory": { 134 | "ai_memory": [ 135 | [ 136 | { 137 | "node": "AI Agent", 138 | "type": "ai_memory", 139 | "index": 0 140 | } 141 | ] 142 | ] 143 | }, 144 | "OpenRouter Chat Model": { 145 | "ai_languageModel": [ 146 | [ 147 | { 148 | "node": "AI Agent", 149 | "type": "ai_languageModel", 150 | "index": 0 151 | } 152 | ] 153 | ] 154 | } 155 | }, 156 | "active": true, 157 | "settings": { 158 | "executionOrder": "v1" 159 | }, 160 | "versionId": "8ff6cc5a-1065-4b6d-a05e-4eb7e03f6e61", 161 | "meta": { 162 | "templateCredsSetupCompleted": true, 163 | "instanceId": "d0a2265a2322c708aba889ae9378f25ca9e7eb32526f017f425ec772ae5f5245" 164 | }, 165 | "id": "DjX5yx6CLJGAQIJe", 166 | "tags": [] 167 | } 168 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Alby Bitcoin Payments MCP Server 2 | 3 | Connect a bitcoin lightning wallet to your LLM using Nostr Wallet Connect ([NWC](https://nwc.dev)). 4 | 5 | This MCP server uses the [official MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk) 6 | 7 | This MCP server has knowledge of [NWC](https://nwc.dev/), [LNURL](https://github.com/lnurl/luds) and [L402](https://docs.lightning.engineering/the-lightning-network/l402) using [Alby SDK](https://github.com/getAlby/js-sdk) and [Alby Lightning Tools](https://github.com/getAlby/js-lightning-tools). 8 | 9 | 10 | 11 | 12 | 13 | ## Quick Start 14 | 15 | > In case you get stuck, see troubleshooting section below. 16 | 17 | ### Use the Alby-Hosted MCP Server 18 | 19 | If your agent supports remote MCP servers - SSE (e.g. N8N) or HTTP Streamable transports, you can connect to Alby's MCP server. 20 | 21 | - SSE: `https://mcp.getalby.com/sse` 22 | - HTTP Streamable: `https://mcp.getalby.com/mcp` 23 | 24 | #### Authentication 25 | 26 | Both require providing an NWC connection secret as authentication, either as `Bearer` authentication (preferred) or via the `nwc` query parameter. 27 | 28 | ##### Bearer Auth 29 | 30 | Example: `Authorization: Bearer nostr+walletconnect://...` 31 | 32 | > If your agent UI supports bearer auth, just paste the connection secret into the bearer auth field. 33 | 34 | ##### Query Parameter 35 | 36 | If your agent doesn't support bearer auth, you can pass the NWC connection secret as a query parameter. 37 | 38 | Example: `https://mcp.getalby.com/sse?nwc=ENCODED_CONNECTION_SECRET` or `https://mcp.getalby.com/mcp?nwc=ENCODED_CONNECTION_SECRET` 39 | 40 | _To get ENCODED_CONNECTION_SECRET, open browser devtools (right click -> inspect) and enter this in the console, with your own NWC connection secret set:_ 41 | 42 | ```js 43 | encodeURIComponent("nostr+walletconnect://..."); 44 | ``` 45 | 46 | In case there is a message asking for confirmation for pasting, follow the instructions, and then enter the above command again. 47 | 48 | Once the command has run, copy the output and replace ENCODED_CONNECTION_SECRET. It will look like this: `nostr%2Bwalletconnect%3A%2F%2F...` 49 | 50 | ### Add to Claude Web or Claude Desktop 51 | 52 | #### Use the remote Alby MCP server 53 | 54 | Currently, at least a Claude Pro subscription is required to be able to connect to remote MCP servers. 55 | 56 | 1. Go to Settings -> Integrations 57 | 2. Click on "Add Integration" 58 | 3. Call it `alby` 59 | 4. What is the endpoint URI: `https://mcp.getalby.com/mcp?nwc=ENCODED_NWC_URL` (see above for instructions) 60 | 61 | #### Client-side 62 | 63 | Add this to your claude_desktop_config.json: 64 | 65 | ```json 66 | { 67 | "mcpServers": { 68 | "nwc": { 69 | "command": "npx", 70 | "args": ["-y", "@getalby/mcp"], 71 | "env": { 72 | "NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE" 73 | } 74 | } 75 | } 76 | } 77 | ``` 78 | 79 | ### Add to Goose Desktop 80 | 81 | 1. Open Goose Desktop 82 | 2. Go To Settings -> Advanced Settings 83 | 3. Click on "Add custom Extension" 84 | 4. Call it `alby`, and change the type to `HTTP Streamable` 85 | 5. What is the SSE endpoint URI: `https://mcp.getalby.com/mcp` 86 | 6. Timeout: 30 87 | 7. Description: no 88 | 8. environment variables: no 89 | 90 | ### Add to Goose CLI 91 | 92 | #### Use the Alby MCP server 93 | 94 | 1. Type `goose configure` 95 | 2. Add extension -> Remote Extension (HTTP Streamable) 96 | 3. Call it `alby` 97 | 4. What is the HTTP Streamable endpoint URI: `https://mcp.getalby.com/mcp` 98 | 5. Timeout: 30 99 | 6. Description: no 100 | 7. environment variables: no 101 | 8. add custom headers: yes 102 | 9. header name: `Authorization` 103 | 10. header value: `Bearer nostr+walletconnect://...` (replace with your connection secret) 104 | 105 | #### Client-side 106 | 107 | 1. Type `goose configure` 108 | 2. Add extension -> Command Line Extension 109 | 3. Call it `alby` 110 | 4. What command should be run: `npx -y @getalby/mcp` 111 | 5. Timeout: 30 112 | 6. Description: no 113 | 7. environment variables: yes 114 | 8. environment variable name: `NWC_CONNECTION_STRING` 115 | 9. environment variable value: `nostr+walletconnect://...` (your NWC connection secret here) 116 | 117 | ### Add to Cline 118 | 119 | > Copy the below and paste it into a cline prompt. It should prompt you to update the connection string. 120 | 121 | ```json 122 | Add the following to my MCP servers list: 123 | 124 | "nwc": { 125 | "command": "npx", 126 | "args": ["-y", "@getalby/mcp"], 127 | "env": { 128 | "NWC_CONNECTION_STRING": "nostr+walletconnect://..." 129 | }, 130 | "disabled": false, 131 | "autoApprove": [] 132 | } 133 | ``` 134 | 135 | ### Add to Claude Code 136 | 137 | #### Use the Alby MCP server 138 | 139 | ```bash 140 | claude mcp add --transport http alby https://mcp.getalby.com/mcp --header "Authorization: Bearer nostr+walletconnect://..." 141 | ``` 142 | 143 | ### Add to N8N via SSE 144 | 145 | You can use the native N8N MCP Client tool connected to an AI agent. Enter your SSE endpoint, set authentication to "Bearer" and paste your NWC connection secret. 146 | 147 | Tested with OpenRouter + anthropic/claude-3.7-sonnet 148 | 149 | See the [N8N workflow](examples/n8n-sse) for a simple example 150 | 151 | ### Add to N8N via STDIO (Community Node) 152 | 153 | Currently this MCP server only works via command line (STDIO). 154 | 155 | You can install the [n8n-nodes-mcp](https://github.com/nerding-io/n8n-nodes-mcp) community node and run n8n with tools enabled e.g. 156 | 157 | ```bash 158 | N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true npx n8n 159 | ``` 160 | 161 | Create a blank workflow and add an AI agent node. Configure your LLM model and add a new tool "MCP Client" (which will have a cube next to it showing it's a community node). 162 | 163 | Configure the MCP Client by adding a credential with Command Line (STDIO) selected. 164 | 165 | command: `npx` 166 | arguments: `-y @getalby/mcp` 167 | environments `NWC_CONNECTION_STRING=nostr+walletconnect://your_key_here` (create the whole line in a text editor and paste it in, since the password field cannot be switched to plaintext) 168 | 169 | See the [N8N paid chat workflow](examples/n8n-paid-chat-stdio) for a full example 170 | 171 | ### Add to Windsurf 172 | 173 | #### Use the remote Alby MCP server 174 | 175 | 1. Download and open your Windsurf Editor 176 | 2. Click on "Windsurf - Settings" in the toolbar at the bottom -> "Advanced Settings" -> "Cascade" -> Plugins (MCP Servers): Click on "Manage plugins" -> "View raw config" -> you'll see your "mcp_config.json" 177 | 3. Paste this to your mcp_config.json: 178 | 179 | ```json 180 | { 181 | "mcpServers": { 182 | "alby": { 183 | "serverUrl": "https://mcp.getalby.com/sse?nwc=ENCODED_NWC_URL" 184 | } 185 | } 186 | } 187 | ``` 188 | 189 | 4. Replace "ENCODED_NWC_URL" as descripted above. Click "Save" and restart the Windsurf editor. 190 | 191 | ## Modes 192 | 193 | ### STDIO 194 | 195 | By default NWC MCP Server runs locally in `STDIO` mode. 196 | 197 | ### HTTP 198 | 199 | You can set the following environment variable: `MODE=HTTP` which will enable Streamable HTTP (`http://localhost:3000/mcp`) and SSE (`http://localhost:3000/sse` Note: SSE is deprecated). 200 | 201 | HTTP requires bearer authorization, where the token is a wallet's NWC connection secret. See the authentication section further above in the README. 202 | 203 | ## From Source 204 | 205 | ### Prerequisites 206 | 207 | - Node.js 20+ 208 | - Yarn 209 | - A connection string from a lightning wallet that supports NWC 210 | 211 | ### Installation 212 | 213 | ```bash 214 | yarn install 215 | ``` 216 | 217 | ### Building 218 | 219 | ```bash 220 | yarn build 221 | ``` 222 | 223 | ### Add your NWC connection 224 | 225 | Copy `.env.example` to `.env` and update your connection string 226 | 227 | ### Inspect the tools (use/test without an LLM) 228 | 229 | `yarn inspect` 230 | 231 | ### Supported Tools 232 | 233 | See the [tools directory](./src/tools) 234 | 235 | ## Troubleshooting 236 | 237 | ### Model Usage 238 | 239 | Make sure you use a decent model (e.g. Claude Sonnet 3.7) otherwise the MCP server will not work. 240 | 241 | ### Failure to connect to wallet, secret missing 242 | 243 | Make sure you copied the entire NWC connection secret, without spaces 244 | 245 | ### Contact Alby Support 246 | 247 | Visit [support.getalby.com](https://support.getalby.com) and we're happy to help you get the MCP server working. 248 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@getalby/lightning-tools@^5.1.2", "@getalby/lightning-tools@^5.2.0": 6 | version "5.2.0" 7 | resolved "https://registry.yarnpkg.com/@getalby/lightning-tools/-/lightning-tools-5.2.0.tgz#5f71ce9b25c04adeb7e421e920d0a28dfe32e082" 8 | integrity sha512-8kBvENBTMh541VjGKhw3I29+549/C02gLSh3AQaMfoMNSZaMxfQW+7dcMcc7vbFaCKEcEe18ST5bUveTRBuXCQ== 9 | 10 | "@getalby/sdk@^5.1.1": 11 | version "5.1.1" 12 | resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-5.1.1.tgz#d81c9094e54c677533fcf6b0b8af5af1343953ed" 13 | integrity sha512-t/kg2ljPx86qRYKqEVc5VYhDICFKtVPRlQKIz5cI/AqOLYVguLJz1AkQlDBaiOz2PW5FxoyGlLkTGmX7ONHH/Q== 14 | dependencies: 15 | "@getalby/lightning-tools" "^5.1.2" 16 | nostr-tools "2.15.0" 17 | 18 | "@modelcontextprotocol/sdk@^1.13.0": 19 | version "1.13.0" 20 | resolved "https://registry.yarnpkg.com/@modelcontextprotocol/sdk/-/sdk-1.13.0.tgz#4ac5f4db34b78ce2da09915821869c618909e692" 21 | integrity sha512-P5FZsXU0kY881F6Hbk9GhsYx02/KgWK1DYf7/tyE/1lcFKhDYPQR9iYjhQXJn+Sg6hQleMo3DB7h7+p4wgp2Lw== 22 | dependencies: 23 | ajv "^6.12.6" 24 | content-type "^1.0.5" 25 | cors "^2.8.5" 26 | cross-spawn "^7.0.5" 27 | eventsource "^3.0.2" 28 | express "^5.0.1" 29 | express-rate-limit "^7.5.0" 30 | pkce-challenge "^5.0.0" 31 | raw-body "^3.0.0" 32 | zod "^3.23.8" 33 | zod-to-json-schema "^3.24.1" 34 | 35 | "@noble/ciphers@^0.5.1": 36 | version "0.5.3" 37 | resolved "https://registry.yarnpkg.com/@noble/ciphers/-/ciphers-0.5.3.tgz#48b536311587125e0d0c1535f73ec8375cd76b23" 38 | integrity sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w== 39 | 40 | "@noble/curves@1.2.0": 41 | version "1.2.0" 42 | resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" 43 | integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== 44 | dependencies: 45 | "@noble/hashes" "1.3.2" 46 | 47 | "@noble/curves@~1.1.0": 48 | version "1.1.0" 49 | resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.1.0.tgz#f13fc667c89184bc04cccb9b11e8e7bae27d8c3d" 50 | integrity sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA== 51 | dependencies: 52 | "@noble/hashes" "1.3.1" 53 | 54 | "@noble/hashes@1.3.1": 55 | version "1.3.1" 56 | resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.1.tgz#8831ef002114670c603c458ab8b11328406953a9" 57 | integrity sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA== 58 | 59 | "@noble/hashes@1.3.2": 60 | version "1.3.2" 61 | resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" 62 | integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== 63 | 64 | "@noble/hashes@~1.3.0", "@noble/hashes@~1.3.1": 65 | version "1.3.3" 66 | resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" 67 | integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== 68 | 69 | "@scure/base@1.1.1": 70 | version "1.1.1" 71 | resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938" 72 | integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA== 73 | 74 | "@scure/base@~1.1.0": 75 | version "1.1.9" 76 | resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.9.tgz#e5e142fbbfe251091f9c5f1dd4c834ac04c3dbd1" 77 | integrity sha512-8YKhl8GHiNI/pU2VMaofa2Tor7PJRAjwQLBBuilkJ9L5+13yVbC7JO/wS7piioAvPSwR3JKM1IJ/u4xQzbcXKg== 78 | 79 | "@scure/bip32@1.3.1": 80 | version "1.3.1" 81 | resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.1.tgz#7248aea723667f98160f593d621c47e208ccbb10" 82 | integrity sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A== 83 | dependencies: 84 | "@noble/curves" "~1.1.0" 85 | "@noble/hashes" "~1.3.1" 86 | "@scure/base" "~1.1.0" 87 | 88 | "@scure/bip39@1.2.1": 89 | version "1.2.1" 90 | resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" 91 | integrity sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg== 92 | dependencies: 93 | "@noble/hashes" "~1.3.0" 94 | "@scure/base" "~1.1.0" 95 | 96 | "@types/body-parser@*": 97 | version "1.19.5" 98 | resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4" 99 | integrity sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg== 100 | dependencies: 101 | "@types/connect" "*" 102 | "@types/node" "*" 103 | 104 | "@types/connect@*": 105 | version "3.4.38" 106 | resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" 107 | integrity sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug== 108 | dependencies: 109 | "@types/node" "*" 110 | 111 | "@types/express-serve-static-core@^5.0.0": 112 | version "5.0.6" 113 | resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-5.0.6.tgz#41fec4ea20e9c7b22f024ab88a95c6bb288f51b8" 114 | integrity sha512-3xhRnjJPkULekpSzgtoNYYcTWgEZkp4myc+Saevii5JPnHNvHMRlBSHDbs7Bh1iPPoVTERHEZXyhyLbMEsExsA== 115 | dependencies: 116 | "@types/node" "*" 117 | "@types/qs" "*" 118 | "@types/range-parser" "*" 119 | "@types/send" "*" 120 | 121 | "@types/express@^5.0.2": 122 | version "5.0.2" 123 | resolved "https://registry.yarnpkg.com/@types/express/-/express-5.0.2.tgz#7be9e337a5745d6b43ef5b0c352dad94a7f0c256" 124 | integrity sha512-BtjL3ZwbCQriyb0DGw+Rt12qAXPiBTPs815lsUvtt1Grk0vLRMZNMUZ741d5rjk+UQOxfDiBZ3dxpX00vSkK3g== 125 | dependencies: 126 | "@types/body-parser" "*" 127 | "@types/express-serve-static-core" "^5.0.0" 128 | "@types/serve-static" "*" 129 | 130 | "@types/http-errors@*": 131 | version "2.0.4" 132 | resolved "https://registry.yarnpkg.com/@types/http-errors/-/http-errors-2.0.4.tgz#7eb47726c391b7345a6ec35ad7f4de469cf5ba4f" 133 | integrity sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA== 134 | 135 | "@types/mime@^1": 136 | version "1.3.5" 137 | resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" 138 | integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== 139 | 140 | "@types/node@*": 141 | version "22.15.21" 142 | resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.21.tgz#196ef14fe20d87f7caf1e7b39832767f9a995b77" 143 | integrity sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ== 144 | dependencies: 145 | undici-types "~6.21.0" 146 | 147 | "@types/node@^20.11.5": 148 | version "20.17.24" 149 | resolved "https://registry.yarnpkg.com/@types/node/-/node-20.17.24.tgz#2325476954e6fc8c2f11b9c61e26ba6eb7d3f5b6" 150 | integrity sha512-d7fGCyB96w9BnWQrOsJtpyiSaBcAYYr75bnK6ZRjDbql2cGLj/3GsL5OYmLPNq76l7Gf2q4Rv9J2o6h5CrD9sA== 151 | dependencies: 152 | undici-types "~6.19.2" 153 | 154 | "@types/qs@*": 155 | version "6.14.0" 156 | resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.14.0.tgz#d8b60cecf62f2db0fb68e5e006077b9178b85de5" 157 | integrity sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ== 158 | 159 | "@types/range-parser@*": 160 | version "1.2.7" 161 | resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb" 162 | integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== 163 | 164 | "@types/send@*": 165 | version "0.17.4" 166 | resolved "https://registry.yarnpkg.com/@types/send/-/send-0.17.4.tgz#6619cd24e7270793702e4e6a4b958a9010cfc57a" 167 | integrity sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA== 168 | dependencies: 169 | "@types/mime" "^1" 170 | "@types/node" "*" 171 | 172 | "@types/serve-static@*": 173 | version "1.15.7" 174 | resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.7.tgz#22174bbd74fb97fe303109738e9b5c2f3064f714" 175 | integrity sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw== 176 | dependencies: 177 | "@types/http-errors" "*" 178 | "@types/node" "*" 179 | "@types/send" "*" 180 | 181 | accepts@^2.0.0: 182 | version "2.0.0" 183 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-2.0.0.tgz#bbcf4ba5075467f3f2131eab3cffc73c2f5d7895" 184 | integrity sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng== 185 | dependencies: 186 | mime-types "^3.0.0" 187 | negotiator "^1.0.0" 188 | 189 | ajv@^6.12.6: 190 | version "6.12.6" 191 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" 192 | integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== 193 | dependencies: 194 | fast-deep-equal "^3.1.1" 195 | fast-json-stable-stringify "^2.0.0" 196 | json-schema-traverse "^0.4.1" 197 | uri-js "^4.2.2" 198 | 199 | body-parser@^2.0.1: 200 | version "2.1.0" 201 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.1.0.tgz#2fd84396259e00fa75648835e2d95703bce8e890" 202 | integrity sha512-/hPxh61E+ll0Ujp24Ilm64cykicul1ypfwjVttduAiEdtnJFvLePSrIPk+HMImtNv5270wOGCb1Tns2rybMkoQ== 203 | dependencies: 204 | bytes "^3.1.2" 205 | content-type "^1.0.5" 206 | debug "^4.4.0" 207 | http-errors "^2.0.0" 208 | iconv-lite "^0.5.2" 209 | on-finished "^2.4.1" 210 | qs "^6.14.0" 211 | raw-body "^3.0.0" 212 | type-is "^2.0.0" 213 | 214 | body-parser@^2.2.0: 215 | version "2.2.0" 216 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-2.2.0.tgz#f7a9656de305249a715b549b7b8fd1ab9dfddcfa" 217 | integrity sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg== 218 | dependencies: 219 | bytes "^3.1.2" 220 | content-type "^1.0.5" 221 | debug "^4.4.0" 222 | http-errors "^2.0.0" 223 | iconv-lite "^0.6.3" 224 | on-finished "^2.4.1" 225 | qs "^6.14.0" 226 | raw-body "^3.0.0" 227 | type-is "^2.0.0" 228 | 229 | bufferutil@^4.0.1: 230 | version "4.0.9" 231 | resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.9.tgz#6e81739ad48a95cad45a279588e13e95e24a800a" 232 | integrity sha512-WDtdLmJvAuNNPzByAYpRo2rF1Mmradw6gvWsQKf63476DDXmomT9zUiGypLcG4ibIM67vhAj8jJRdbmEws2Aqw== 233 | dependencies: 234 | node-gyp-build "^4.3.0" 235 | 236 | bytes@3.1.2, bytes@^3.1.2: 237 | version "3.1.2" 238 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" 239 | integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== 240 | 241 | call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: 242 | version "1.0.2" 243 | resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" 244 | integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== 245 | dependencies: 246 | es-errors "^1.3.0" 247 | function-bind "^1.1.2" 248 | 249 | call-bound@^1.0.2: 250 | version "1.0.4" 251 | resolved "https://registry.yarnpkg.com/call-bound/-/call-bound-1.0.4.tgz#238de935d2a2a692928c538c7ccfa91067fd062a" 252 | integrity sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg== 253 | dependencies: 254 | call-bind-apply-helpers "^1.0.2" 255 | get-intrinsic "^1.3.0" 256 | 257 | content-disposition@^1.0.0: 258 | version "1.0.0" 259 | resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-1.0.0.tgz#844426cb398f934caefcbb172200126bc7ceace2" 260 | integrity sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg== 261 | dependencies: 262 | safe-buffer "5.2.1" 263 | 264 | content-type@^1.0.5, content-type@~1.0.4: 265 | version "1.0.5" 266 | resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" 267 | integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== 268 | 269 | cookie-signature@^1.2.1: 270 | version "1.2.2" 271 | resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.2.2.tgz#57c7fc3cc293acab9fec54d73e15690ebe4a1793" 272 | integrity sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg== 273 | 274 | cookie@0.7.1: 275 | version "0.7.1" 276 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.1.tgz#2f73c42142d5d5cf71310a74fc4ae61670e5dbc9" 277 | integrity sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w== 278 | 279 | cookie@^0.7.1: 280 | version "0.7.2" 281 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" 282 | integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== 283 | 284 | cors@^2.8.5: 285 | version "2.8.5" 286 | resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" 287 | integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== 288 | dependencies: 289 | object-assign "^4" 290 | vary "^1" 291 | 292 | cross-spawn@^7.0.5: 293 | version "7.0.6" 294 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" 295 | integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== 296 | dependencies: 297 | path-key "^3.1.0" 298 | shebang-command "^2.0.0" 299 | which "^2.0.1" 300 | 301 | d@1, d@^1.0.1, d@^1.0.2: 302 | version "1.0.2" 303 | resolved "https://registry.yarnpkg.com/d/-/d-1.0.2.tgz#2aefd554b81981e7dccf72d6842ae725cb17e5de" 304 | integrity sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw== 305 | dependencies: 306 | es5-ext "^0.10.64" 307 | type "^2.7.2" 308 | 309 | debug@4.3.6: 310 | version "4.3.6" 311 | resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.6.tgz#2ab2c38fbaffebf8aa95fdfe6d88438c7a13c52b" 312 | integrity sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg== 313 | dependencies: 314 | ms "2.1.2" 315 | 316 | debug@^2.2.0: 317 | version "2.6.9" 318 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 319 | integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== 320 | dependencies: 321 | ms "2.0.0" 322 | 323 | debug@^4.3.5, debug@^4.4.0: 324 | version "4.4.0" 325 | resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a" 326 | integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA== 327 | dependencies: 328 | ms "^2.1.3" 329 | 330 | depd@2.0.0, depd@^2.0.0: 331 | version "2.0.0" 332 | resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" 333 | integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== 334 | 335 | destroy@^1.2.0: 336 | version "1.2.0" 337 | resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" 338 | integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== 339 | 340 | dotenv@^16.4.7: 341 | version "16.4.7" 342 | resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.7.tgz#0e20c5b82950140aa99be360a8a5f52335f53c26" 343 | integrity sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ== 344 | 345 | dunder-proto@^1.0.1: 346 | version "1.0.1" 347 | resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" 348 | integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== 349 | dependencies: 350 | call-bind-apply-helpers "^1.0.1" 351 | es-errors "^1.3.0" 352 | gopd "^1.2.0" 353 | 354 | ee-first@1.1.1: 355 | version "1.1.1" 356 | resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" 357 | integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== 358 | 359 | encodeurl@^2.0.0, encodeurl@~2.0.0: 360 | version "2.0.0" 361 | resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-2.0.0.tgz#7b8ea898077d7e409d3ac45474ea38eaf0857a58" 362 | integrity sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg== 363 | 364 | es-define-property@^1.0.1: 365 | version "1.0.1" 366 | resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" 367 | integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== 368 | 369 | es-errors@^1.3.0: 370 | version "1.3.0" 371 | resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" 372 | integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== 373 | 374 | es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: 375 | version "1.1.1" 376 | resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" 377 | integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== 378 | dependencies: 379 | es-errors "^1.3.0" 380 | 381 | es5-ext@^0.10.35, es5-ext@^0.10.62, es5-ext@^0.10.63, es5-ext@^0.10.64, es5-ext@~0.10.14: 382 | version "0.10.64" 383 | resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.64.tgz#12e4ffb48f1ba2ea777f1fcdd1918ef73ea21714" 384 | integrity sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg== 385 | dependencies: 386 | es6-iterator "^2.0.3" 387 | es6-symbol "^3.1.3" 388 | esniff "^2.0.1" 389 | next-tick "^1.1.0" 390 | 391 | es6-iterator@^2.0.3: 392 | version "2.0.3" 393 | resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" 394 | integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== 395 | dependencies: 396 | d "1" 397 | es5-ext "^0.10.35" 398 | es6-symbol "^3.1.1" 399 | 400 | es6-symbol@^3.1.1, es6-symbol@^3.1.3: 401 | version "3.1.4" 402 | resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.4.tgz#f4e7d28013770b4208ecbf3e0bf14d3bcb557b8c" 403 | integrity sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg== 404 | dependencies: 405 | d "^1.0.2" 406 | ext "^1.7.0" 407 | 408 | escape-html@^1.0.3, escape-html@~1.0.3: 409 | version "1.0.3" 410 | resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" 411 | integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== 412 | 413 | esniff@^2.0.1: 414 | version "2.0.1" 415 | resolved "https://registry.yarnpkg.com/esniff/-/esniff-2.0.1.tgz#a4d4b43a5c71c7ec51c51098c1d8a29081f9b308" 416 | integrity sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg== 417 | dependencies: 418 | d "^1.0.1" 419 | es5-ext "^0.10.62" 420 | event-emitter "^0.3.5" 421 | type "^2.7.2" 422 | 423 | etag@^1.8.1, etag@~1.8.1: 424 | version "1.8.1" 425 | resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" 426 | integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== 427 | 428 | event-emitter@^0.3.5: 429 | version "0.3.5" 430 | resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" 431 | integrity sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA== 432 | dependencies: 433 | d "1" 434 | es5-ext "~0.10.14" 435 | 436 | eventsource-parser@^3.0.0: 437 | version "3.0.0" 438 | resolved "https://registry.yarnpkg.com/eventsource-parser/-/eventsource-parser-3.0.0.tgz#9303e303ef807d279ee210a17ce80f16300d9f57" 439 | integrity sha512-T1C0XCUimhxVQzW4zFipdx0SficT651NnkR0ZSH3yQwh+mFMdLfgjABVi4YtMTtaL4s168593DaoaRLMqryavA== 440 | 441 | eventsource@^3.0.2: 442 | version "3.0.5" 443 | resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-3.0.5.tgz#0cae1eee2d2c75894de8b02a91d84e5c57f0cc5a" 444 | integrity sha512-LT/5J605bx5SNyE+ITBDiM3FxffBiq9un7Vx0EwMDM3vg8sWKx/tO2zC+LMqZ+smAM0F2hblaDZUVZF0te2pSw== 445 | dependencies: 446 | eventsource-parser "^3.0.0" 447 | 448 | express-rate-limit@^7.5.0: 449 | version "7.5.0" 450 | resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-7.5.0.tgz#6a67990a724b4fbbc69119419feef50c51e8b28f" 451 | integrity sha512-eB5zbQh5h+VenMPM3fh+nw1YExi5nMr6HUCR62ELSP11huvxm/Uir1H1QEyTkk5QX6A58pX6NmaTMceKZ0Eodg== 452 | 453 | express@^5.0.1: 454 | version "5.0.1" 455 | resolved "https://registry.yarnpkg.com/express/-/express-5.0.1.tgz#5d359a2550655be33124ecbc7400cd38436457e9" 456 | integrity sha512-ORF7g6qGnD+YtUG9yx4DFoqCShNMmUKiXuT5oWMHiOvt/4WFbHC6yCwQMTSBMno7AqntNCAzzcnnjowRkTL9eQ== 457 | dependencies: 458 | accepts "^2.0.0" 459 | body-parser "^2.0.1" 460 | content-disposition "^1.0.0" 461 | content-type "~1.0.4" 462 | cookie "0.7.1" 463 | cookie-signature "^1.2.1" 464 | debug "4.3.6" 465 | depd "2.0.0" 466 | encodeurl "~2.0.0" 467 | escape-html "~1.0.3" 468 | etag "~1.8.1" 469 | finalhandler "^2.0.0" 470 | fresh "2.0.0" 471 | http-errors "2.0.0" 472 | merge-descriptors "^2.0.0" 473 | methods "~1.1.2" 474 | mime-types "^3.0.0" 475 | on-finished "2.4.1" 476 | once "1.4.0" 477 | parseurl "~1.3.3" 478 | proxy-addr "~2.0.7" 479 | qs "6.13.0" 480 | range-parser "~1.2.1" 481 | router "^2.0.0" 482 | safe-buffer "5.2.1" 483 | send "^1.1.0" 484 | serve-static "^2.1.0" 485 | setprototypeof "1.2.0" 486 | statuses "2.0.1" 487 | type-is "^2.0.0" 488 | utils-merge "1.0.1" 489 | vary "~1.1.2" 490 | 491 | express@^5.1.0: 492 | version "5.1.0" 493 | resolved "https://registry.yarnpkg.com/express/-/express-5.1.0.tgz#d31beaf715a0016f0d53f47d3b4d7acf28c75cc9" 494 | integrity sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA== 495 | dependencies: 496 | accepts "^2.0.0" 497 | body-parser "^2.2.0" 498 | content-disposition "^1.0.0" 499 | content-type "^1.0.5" 500 | cookie "^0.7.1" 501 | cookie-signature "^1.2.1" 502 | debug "^4.4.0" 503 | encodeurl "^2.0.0" 504 | escape-html "^1.0.3" 505 | etag "^1.8.1" 506 | finalhandler "^2.1.0" 507 | fresh "^2.0.0" 508 | http-errors "^2.0.0" 509 | merge-descriptors "^2.0.0" 510 | mime-types "^3.0.0" 511 | on-finished "^2.4.1" 512 | once "^1.4.0" 513 | parseurl "^1.3.3" 514 | proxy-addr "^2.0.7" 515 | qs "^6.14.0" 516 | range-parser "^1.2.1" 517 | router "^2.2.0" 518 | send "^1.1.0" 519 | serve-static "^2.2.0" 520 | statuses "^2.0.1" 521 | type-is "^2.0.1" 522 | vary "^1.1.2" 523 | 524 | ext@^1.7.0: 525 | version "1.7.0" 526 | resolved "https://registry.yarnpkg.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" 527 | integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== 528 | dependencies: 529 | type "^2.7.2" 530 | 531 | fast-deep-equal@^3.1.1: 532 | version "3.1.3" 533 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" 534 | integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== 535 | 536 | fast-json-stable-stringify@^2.0.0: 537 | version "2.1.0" 538 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" 539 | integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== 540 | 541 | finalhandler@^2.0.0, finalhandler@^2.1.0: 542 | version "2.1.0" 543 | resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-2.1.0.tgz#72306373aa89d05a8242ed569ed86a1bff7c561f" 544 | integrity sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q== 545 | dependencies: 546 | debug "^4.4.0" 547 | encodeurl "^2.0.0" 548 | escape-html "^1.0.3" 549 | on-finished "^2.4.1" 550 | parseurl "^1.3.3" 551 | statuses "^2.0.1" 552 | 553 | forwarded@0.2.0: 554 | version "0.2.0" 555 | resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" 556 | integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== 557 | 558 | fresh@2.0.0, fresh@^2.0.0: 559 | version "2.0.0" 560 | resolved "https://registry.yarnpkg.com/fresh/-/fresh-2.0.0.tgz#8dd7df6a1b3a1b3a5cf186c05a5dd267622635a4" 561 | integrity sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A== 562 | 563 | fresh@^0.5.2: 564 | version "0.5.2" 565 | resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" 566 | integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== 567 | 568 | function-bind@^1.1.2: 569 | version "1.1.2" 570 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" 571 | integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== 572 | 573 | get-intrinsic@^1.2.5, get-intrinsic@^1.3.0: 574 | version "1.3.0" 575 | resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" 576 | integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== 577 | dependencies: 578 | call-bind-apply-helpers "^1.0.2" 579 | es-define-property "^1.0.1" 580 | es-errors "^1.3.0" 581 | es-object-atoms "^1.1.1" 582 | function-bind "^1.1.2" 583 | get-proto "^1.0.1" 584 | gopd "^1.2.0" 585 | has-symbols "^1.1.0" 586 | hasown "^2.0.2" 587 | math-intrinsics "^1.1.0" 588 | 589 | get-proto@^1.0.1: 590 | version "1.0.1" 591 | resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1" 592 | integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g== 593 | dependencies: 594 | dunder-proto "^1.0.1" 595 | es-object-atoms "^1.0.0" 596 | 597 | gopd@^1.2.0: 598 | version "1.2.0" 599 | resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" 600 | integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== 601 | 602 | has-symbols@^1.1.0: 603 | version "1.1.0" 604 | resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" 605 | integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== 606 | 607 | hasown@^2.0.2: 608 | version "2.0.2" 609 | resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" 610 | integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== 611 | dependencies: 612 | function-bind "^1.1.2" 613 | 614 | http-errors@2.0.0, http-errors@^2.0.0: 615 | version "2.0.0" 616 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" 617 | integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== 618 | dependencies: 619 | depd "2.0.0" 620 | inherits "2.0.4" 621 | setprototypeof "1.2.0" 622 | statuses "2.0.1" 623 | toidentifier "1.0.1" 624 | 625 | iconv-lite@0.6.3, iconv-lite@^0.6.3: 626 | version "0.6.3" 627 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" 628 | integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== 629 | dependencies: 630 | safer-buffer ">= 2.1.2 < 3.0.0" 631 | 632 | iconv-lite@^0.5.2: 633 | version "0.5.2" 634 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.5.2.tgz#af6d628dccfb463b7364d97f715e4b74b8c8c2b8" 635 | integrity sha512-kERHXvpSaB4aU3eANwidg79K8FlrN77m8G9V+0vOR3HYaRifrlwMEpT7ZBJqLSEIHnEgJTHcWK82wwLwwKwtag== 636 | dependencies: 637 | safer-buffer ">= 2.1.2 < 3" 638 | 639 | inherits@2.0.4: 640 | version "2.0.4" 641 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 642 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 643 | 644 | ipaddr.js@1.9.1: 645 | version "1.9.1" 646 | resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" 647 | integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== 648 | 649 | is-promise@^4.0.0: 650 | version "4.0.0" 651 | resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3" 652 | integrity sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ== 653 | 654 | is-typedarray@^1.0.0: 655 | version "1.0.0" 656 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 657 | integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== 658 | 659 | isexe@^2.0.0: 660 | version "2.0.0" 661 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 662 | integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== 663 | 664 | json-schema-traverse@^0.4.1: 665 | version "0.4.1" 666 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 667 | integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== 668 | 669 | math-intrinsics@^1.1.0: 670 | version "1.1.0" 671 | resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9" 672 | integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== 673 | 674 | media-typer@^1.1.0: 675 | version "1.1.0" 676 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-1.1.0.tgz#6ab74b8f2d3320f2064b2a87a38e7931ff3a5561" 677 | integrity sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw== 678 | 679 | merge-descriptors@^2.0.0: 680 | version "2.0.0" 681 | resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-2.0.0.tgz#ea922f660635a2249ee565e0449f951e6b603808" 682 | integrity sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g== 683 | 684 | methods@~1.1.2: 685 | version "1.1.2" 686 | resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" 687 | integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== 688 | 689 | mime-db@1.52.0: 690 | version "1.52.0" 691 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" 692 | integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== 693 | 694 | mime-db@^1.53.0: 695 | version "1.53.0" 696 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.53.0.tgz#3cb63cd820fc29896d9d4e8c32ab4fcd74ccb447" 697 | integrity sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg== 698 | 699 | mime-db@^1.54.0: 700 | version "1.54.0" 701 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.54.0.tgz#cddb3ee4f9c64530dff640236661d42cb6a314f5" 702 | integrity sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ== 703 | 704 | mime-types@^2.1.35: 705 | version "2.1.35" 706 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" 707 | integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== 708 | dependencies: 709 | mime-db "1.52.0" 710 | 711 | mime-types@^3.0.0: 712 | version "3.0.0" 713 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.0.tgz#148453a900475522d095a445355c074cca4f5217" 714 | integrity sha512-XqoSHeCGjVClAmoGFG3lVFqQFRIrTVw2OH3axRqAcfaw+gHWIfnASS92AV+Rl/mk0MupgZTRHQOjxY6YVnzK5w== 715 | dependencies: 716 | mime-db "^1.53.0" 717 | 718 | mime-types@^3.0.1: 719 | version "3.0.1" 720 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-3.0.1.tgz#b1d94d6997a9b32fd69ebaed0db73de8acb519ce" 721 | integrity sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA== 722 | dependencies: 723 | mime-db "^1.54.0" 724 | 725 | ms@2.0.0: 726 | version "2.0.0" 727 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 728 | integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== 729 | 730 | ms@2.1.2: 731 | version "2.1.2" 732 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" 733 | integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== 734 | 735 | ms@^2.1.3: 736 | version "2.1.3" 737 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" 738 | integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== 739 | 740 | negotiator@^1.0.0: 741 | version "1.0.0" 742 | resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-1.0.0.tgz#b6c91bb47172d69f93cfd7c357bbb529019b5f6a" 743 | integrity sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg== 744 | 745 | next-tick@^1.1.0: 746 | version "1.1.0" 747 | resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" 748 | integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== 749 | 750 | node-gyp-build@^4.3.0: 751 | version "4.8.4" 752 | resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.4.tgz#8a70ee85464ae52327772a90d66c6077a900cfc8" 753 | integrity sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ== 754 | 755 | nostr-tools@2.15.0: 756 | version "2.15.0" 757 | resolved "https://registry.yarnpkg.com/nostr-tools/-/nostr-tools-2.15.0.tgz#cd119006681a861cabcdcf0200d29fd9864ddab8" 758 | integrity sha512-Jj/+UFbu3JbTAWP4ipPFNuyD4W5eVRBNAP+kmnoRCYp3bLmTrlQ0Qhs5O1xSQJTFpjdZqoS0zZOUKdxUdjc+pw== 759 | dependencies: 760 | "@noble/ciphers" "^0.5.1" 761 | "@noble/curves" "1.2.0" 762 | "@noble/hashes" "1.3.1" 763 | "@scure/base" "1.1.1" 764 | "@scure/bip32" "1.3.1" 765 | "@scure/bip39" "1.2.1" 766 | nostr-wasm "0.1.0" 767 | 768 | nostr-wasm@0.1.0: 769 | version "0.1.0" 770 | resolved "https://registry.yarnpkg.com/nostr-wasm/-/nostr-wasm-0.1.0.tgz#17af486745feb2b7dd29503fdd81613a24058d94" 771 | integrity sha512-78BTryCLcLYv96ONU8Ws3Q1JzjlAt+43pWQhIl86xZmWeegYCNLPml7yQ+gG3vR6V5h4XGj+TxO+SS5dsThQIA== 772 | 773 | object-assign@^4: 774 | version "4.1.1" 775 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 776 | integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== 777 | 778 | object-inspect@^1.13.3: 779 | version "1.13.4" 780 | resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.4.tgz#8375265e21bc20d0fa582c22e1b13485d6e00213" 781 | integrity sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew== 782 | 783 | on-finished@2.4.1, on-finished@^2.4.1: 784 | version "2.4.1" 785 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" 786 | integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== 787 | dependencies: 788 | ee-first "1.1.1" 789 | 790 | once@1.4.0, once@^1.4.0: 791 | version "1.4.0" 792 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 793 | integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== 794 | dependencies: 795 | wrappy "1" 796 | 797 | parseurl@^1.3.3, parseurl@~1.3.3: 798 | version "1.3.3" 799 | resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" 800 | integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== 801 | 802 | path-key@^3.1.0: 803 | version "3.1.1" 804 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" 805 | integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== 806 | 807 | path-to-regexp@^8.0.0: 808 | version "8.2.0" 809 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-8.2.0.tgz#73990cc29e57a3ff2a0d914095156df5db79e8b4" 810 | integrity sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ== 811 | 812 | pkce-challenge@^5.0.0: 813 | version "5.0.0" 814 | resolved "https://registry.yarnpkg.com/pkce-challenge/-/pkce-challenge-5.0.0.tgz#c3a405cb49e272094a38e890a2b51da0228c4d97" 815 | integrity sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ== 816 | 817 | proxy-addr@^2.0.7, proxy-addr@~2.0.7: 818 | version "2.0.7" 819 | resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" 820 | integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== 821 | dependencies: 822 | forwarded "0.2.0" 823 | ipaddr.js "1.9.1" 824 | 825 | punycode@^2.1.0: 826 | version "2.3.1" 827 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" 828 | integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== 829 | 830 | qs@6.13.0: 831 | version "6.13.0" 832 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.13.0.tgz#6ca3bd58439f7e245655798997787b0d88a51906" 833 | integrity sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg== 834 | dependencies: 835 | side-channel "^1.0.6" 836 | 837 | qs@^6.14.0: 838 | version "6.14.0" 839 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.14.0.tgz#c63fa40680d2c5c941412a0e899c89af60c0a930" 840 | integrity sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w== 841 | dependencies: 842 | side-channel "^1.1.0" 843 | 844 | range-parser@^1.2.1, range-parser@~1.2.1: 845 | version "1.2.1" 846 | resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" 847 | integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== 848 | 849 | raw-body@^3.0.0: 850 | version "3.0.0" 851 | resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-3.0.0.tgz#25b3476f07a51600619dae3fe82ddc28a36e5e0f" 852 | integrity sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g== 853 | dependencies: 854 | bytes "3.1.2" 855 | http-errors "2.0.0" 856 | iconv-lite "0.6.3" 857 | unpipe "1.0.0" 858 | 859 | router@^2.0.0: 860 | version "2.1.0" 861 | resolved "https://registry.yarnpkg.com/router/-/router-2.1.0.tgz#f256ca2365afb4d386ba4f7a9ee0aa0827c962fa" 862 | integrity sha512-/m/NSLxeYEgWNtyC+WtNHCF7jbGxOibVWKnn+1Psff4dJGOfoXP+MuC/f2CwSmyiHdOIzYnYFp4W6GxWfekaLA== 863 | dependencies: 864 | is-promise "^4.0.0" 865 | parseurl "^1.3.3" 866 | path-to-regexp "^8.0.0" 867 | 868 | router@^2.2.0: 869 | version "2.2.0" 870 | resolved "https://registry.yarnpkg.com/router/-/router-2.2.0.tgz#019be620b711c87641167cc79b99090f00b146ef" 871 | integrity sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ== 872 | dependencies: 873 | debug "^4.4.0" 874 | depd "^2.0.0" 875 | is-promise "^4.0.0" 876 | parseurl "^1.3.3" 877 | path-to-regexp "^8.0.0" 878 | 879 | safe-buffer@5.2.1: 880 | version "5.2.1" 881 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" 882 | integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== 883 | 884 | "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": 885 | version "2.1.2" 886 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 887 | integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== 888 | 889 | send@^1.0.0, send@^1.1.0: 890 | version "1.1.0" 891 | resolved "https://registry.yarnpkg.com/send/-/send-1.1.0.tgz#4efe6ff3bb2139b0e5b2648d8b18d4dec48fc9c5" 892 | integrity sha512-v67WcEouB5GxbTWL/4NeToqcZiAWEq90N888fczVArY8A79J0L4FD7vj5hm3eUMua5EpoQ59wa/oovY6TLvRUA== 893 | dependencies: 894 | debug "^4.3.5" 895 | destroy "^1.2.0" 896 | encodeurl "^2.0.0" 897 | escape-html "^1.0.3" 898 | etag "^1.8.1" 899 | fresh "^0.5.2" 900 | http-errors "^2.0.0" 901 | mime-types "^2.1.35" 902 | ms "^2.1.3" 903 | on-finished "^2.4.1" 904 | range-parser "^1.2.1" 905 | statuses "^2.0.1" 906 | 907 | send@^1.2.0: 908 | version "1.2.0" 909 | resolved "https://registry.yarnpkg.com/send/-/send-1.2.0.tgz#32a7554fb777b831dfa828370f773a3808d37212" 910 | integrity sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw== 911 | dependencies: 912 | debug "^4.3.5" 913 | encodeurl "^2.0.0" 914 | escape-html "^1.0.3" 915 | etag "^1.8.1" 916 | fresh "^2.0.0" 917 | http-errors "^2.0.0" 918 | mime-types "^3.0.1" 919 | ms "^2.1.3" 920 | on-finished "^2.4.1" 921 | range-parser "^1.2.1" 922 | statuses "^2.0.1" 923 | 924 | serve-static@^2.1.0: 925 | version "2.1.0" 926 | resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.1.0.tgz#1b4eacbe93006b79054faa4d6d0a501d7f0e84e2" 927 | integrity sha512-A3We5UfEjG8Z7VkDv6uItWw6HY2bBSBJT1KtVESn6EOoOr2jAxNhxWCLY3jDE2WcuHXByWju74ck3ZgLwL8xmA== 928 | dependencies: 929 | encodeurl "^2.0.0" 930 | escape-html "^1.0.3" 931 | parseurl "^1.3.3" 932 | send "^1.0.0" 933 | 934 | serve-static@^2.2.0: 935 | version "2.2.0" 936 | resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-2.2.0.tgz#9c02564ee259bdd2251b82d659a2e7e1938d66f9" 937 | integrity sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ== 938 | dependencies: 939 | encodeurl "^2.0.0" 940 | escape-html "^1.0.3" 941 | parseurl "^1.3.3" 942 | send "^1.2.0" 943 | 944 | setprototypeof@1.2.0: 945 | version "1.2.0" 946 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" 947 | integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== 948 | 949 | shebang-command@^2.0.0: 950 | version "2.0.0" 951 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" 952 | integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== 953 | dependencies: 954 | shebang-regex "^3.0.0" 955 | 956 | shebang-regex@^3.0.0: 957 | version "3.0.0" 958 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" 959 | integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== 960 | 961 | side-channel-list@^1.0.0: 962 | version "1.0.0" 963 | resolved "https://registry.yarnpkg.com/side-channel-list/-/side-channel-list-1.0.0.tgz#10cb5984263115d3b7a0e336591e290a830af8ad" 964 | integrity sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA== 965 | dependencies: 966 | es-errors "^1.3.0" 967 | object-inspect "^1.13.3" 968 | 969 | side-channel-map@^1.0.1: 970 | version "1.0.1" 971 | resolved "https://registry.yarnpkg.com/side-channel-map/-/side-channel-map-1.0.1.tgz#d6bb6b37902c6fef5174e5f533fab4c732a26f42" 972 | integrity sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA== 973 | dependencies: 974 | call-bound "^1.0.2" 975 | es-errors "^1.3.0" 976 | get-intrinsic "^1.2.5" 977 | object-inspect "^1.13.3" 978 | 979 | side-channel-weakmap@^1.0.2: 980 | version "1.0.2" 981 | resolved "https://registry.yarnpkg.com/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz#11dda19d5368e40ce9ec2bdc1fb0ecbc0790ecea" 982 | integrity sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A== 983 | dependencies: 984 | call-bound "^1.0.2" 985 | es-errors "^1.3.0" 986 | get-intrinsic "^1.2.5" 987 | object-inspect "^1.13.3" 988 | side-channel-map "^1.0.1" 989 | 990 | side-channel@^1.0.6, side-channel@^1.1.0: 991 | version "1.1.0" 992 | resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.1.0.tgz#c3fcff9c4da932784873335ec9765fa94ff66bc9" 993 | integrity sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw== 994 | dependencies: 995 | es-errors "^1.3.0" 996 | object-inspect "^1.13.3" 997 | side-channel-list "^1.0.0" 998 | side-channel-map "^1.0.1" 999 | side-channel-weakmap "^1.0.2" 1000 | 1001 | statuses@2.0.1, statuses@^2.0.1: 1002 | version "2.0.1" 1003 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" 1004 | integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== 1005 | 1006 | toidentifier@1.0.1: 1007 | version "1.0.1" 1008 | resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" 1009 | integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== 1010 | 1011 | tstl@^2.0.7: 1012 | version "2.5.16" 1013 | resolved "https://registry.yarnpkg.com/tstl/-/tstl-2.5.16.tgz#0b52a6a572ece7dc2b532ebc89ba3a95c95c4009" 1014 | integrity sha512-+O2ybLVLKcBwKm4HymCEwZIT0PpwS3gCYnxfSDEjJEKADvIFruaQjd3m7CAKNU1c7N3X3WjVz87re7TA2A5FUw== 1015 | 1016 | type-is@^2.0.0: 1017 | version "2.0.0" 1018 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.0.0.tgz#7d249c2e2af716665cc149575dadb8b3858653af" 1019 | integrity sha512-gd0sGezQYCbWSbkZr75mln4YBidWUN60+devscpLF5mtRDUpiaTvKpBNrdaCvel1NdR2k6vclXybU5fBd2i+nw== 1020 | dependencies: 1021 | content-type "^1.0.5" 1022 | media-typer "^1.1.0" 1023 | mime-types "^3.0.0" 1024 | 1025 | type-is@^2.0.1: 1026 | version "2.0.1" 1027 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-2.0.1.tgz#64f6cf03f92fce4015c2b224793f6bdd4b068c97" 1028 | integrity sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw== 1029 | dependencies: 1030 | content-type "^1.0.5" 1031 | media-typer "^1.1.0" 1032 | mime-types "^3.0.0" 1033 | 1034 | type@^2.7.2: 1035 | version "2.7.3" 1036 | resolved "https://registry.yarnpkg.com/type/-/type-2.7.3.tgz#436981652129285cc3ba94f392886c2637ea0486" 1037 | integrity sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ== 1038 | 1039 | typedarray-to-buffer@^3.1.5: 1040 | version "3.1.5" 1041 | resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" 1042 | integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== 1043 | dependencies: 1044 | is-typedarray "^1.0.0" 1045 | 1046 | typescript@^5.3.3: 1047 | version "5.8.2" 1048 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.2.tgz#8170b3702f74b79db2e5a96207c15e65807999e4" 1049 | integrity sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ== 1050 | 1051 | undici-types@~6.19.2: 1052 | version "6.19.8" 1053 | resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" 1054 | integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== 1055 | 1056 | undici-types@~6.21.0: 1057 | version "6.21.0" 1058 | resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.21.0.tgz#691d00af3909be93a7faa13be61b3a5b50ef12cb" 1059 | integrity sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ== 1060 | 1061 | unpipe@1.0.0: 1062 | version "1.0.0" 1063 | resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" 1064 | integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== 1065 | 1066 | uri-js@^4.2.2: 1067 | version "4.4.1" 1068 | resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" 1069 | integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== 1070 | dependencies: 1071 | punycode "^2.1.0" 1072 | 1073 | utf-8-validate@^5.0.2: 1074 | version "5.0.10" 1075 | resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.10.tgz#d7d10ea39318171ca982718b6b96a8d2442571a2" 1076 | integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ== 1077 | dependencies: 1078 | node-gyp-build "^4.3.0" 1079 | 1080 | utils-merge@1.0.1: 1081 | version "1.0.1" 1082 | resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" 1083 | integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== 1084 | 1085 | vary@^1, vary@^1.1.2, vary@~1.1.2: 1086 | version "1.1.2" 1087 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" 1088 | integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== 1089 | 1090 | websocket-polyfill@0.0.3: 1091 | version "0.0.3" 1092 | resolved "https://registry.yarnpkg.com/websocket-polyfill/-/websocket-polyfill-0.0.3.tgz#7321ada0f5f17516290ba1cb587ac111b74ce6a5" 1093 | integrity sha512-pF3kR8Uaoau78MpUmFfzbIRxXj9PeQrCuPepGE6JIsfsJ/o/iXr07Q2iQNzKSSblQJ0FiGWlS64N4pVSm+O3Dg== 1094 | dependencies: 1095 | tstl "^2.0.7" 1096 | websocket "^1.0.28" 1097 | 1098 | websocket@^1.0.28: 1099 | version "1.0.35" 1100 | resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.35.tgz#374197207d7d4cc4c36cbf8a1bb886ee52a07885" 1101 | integrity sha512-/REy6amwPZl44DDzvRCkaI1q1bIiQB0mEFQLUrhz3z2EK91cp3n72rAjUlrTP0zV22HJIUOVHQGPxhFRjxjt+Q== 1102 | dependencies: 1103 | bufferutil "^4.0.1" 1104 | debug "^2.2.0" 1105 | es5-ext "^0.10.63" 1106 | typedarray-to-buffer "^3.1.5" 1107 | utf-8-validate "^5.0.2" 1108 | yaeti "^0.0.6" 1109 | 1110 | which@^2.0.1: 1111 | version "2.0.2" 1112 | resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" 1113 | integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== 1114 | dependencies: 1115 | isexe "^2.0.0" 1116 | 1117 | wrappy@1: 1118 | version "1.0.2" 1119 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1120 | integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== 1121 | 1122 | yaeti@^0.0.6: 1123 | version "0.0.6" 1124 | resolved "https://registry.yarnpkg.com/yaeti/-/yaeti-0.0.6.tgz#f26f484d72684cf42bedfb76970aa1608fbf9577" 1125 | integrity sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug== 1126 | 1127 | zod-to-json-schema@^3.24.1: 1128 | version "3.24.3" 1129 | resolved "https://registry.yarnpkg.com/zod-to-json-schema/-/zod-to-json-schema-3.24.3.tgz#5958ba111d681f8d01c5b6b647425c9b8a6059e7" 1130 | integrity sha512-HIAfWdYIt1sssHfYZFCXp4rU1w2r8hVVXYIlmoa0r0gABLs5di3RCqPU5DDROogVz1pAdYBaz7HK5n9pSUNs3A== 1131 | 1132 | zod@^3.23.8: 1133 | version "3.24.2" 1134 | resolved "https://registry.yarnpkg.com/zod/-/zod-3.24.2.tgz#8efa74126287c675e92f46871cfc8d15c34372b3" 1135 | integrity sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ== 1136 | --------------------------------------------------------------------------------