├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── pull_request_template.md └── workflows │ └── build.yml ├── .gitignore ├── .npmignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── claude_desktop_config.example.json ├── package-lock.json ├── package.json ├── src ├── main.ts ├── mcp-server.ts ├── obsidian.ts ├── prompts.ts ├── server.ts ├── tools.ts └── types.ts └── tsconfig.json /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: "[BUG] " 5 | labels: bug 6 | assignees: "" 7 | --- 8 | 9 | **Describe the bug** 10 | A clear and concise description of what the bug is. 11 | 12 | **To Reproduce** 13 | Steps to reproduce the behavior: 14 | 15 | 1. Install version '...' 16 | 2. Configure with '....' 17 | 3. Run command '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Environment (please complete the following information):** 27 | 28 | - OS: [e.g. macOS, Windows, Linux] 29 | - Node.js version: [e.g. 16.14.0] 30 | - Obsidian version: [e.g. 1.4.5] 31 | - Obsidian Local REST API plugin version: [e.g. 1.0.0] 32 | - Package version: [e.g. 1.0.0] 33 | 34 | **Additional context** 35 | Add any other context about the problem here. 36 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: "[FEATURE] " 5 | labels: enhancement 6 | assignees: "" 7 | --- 8 | 9 | **Is your feature request related to a problem? Please describe.** 10 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 11 | 12 | **Describe the solution you'd like** 13 | A clear and concise description of what you want to happen. 14 | 15 | **Describe alternatives you've considered** 16 | A clear and concise description of any alternative solutions or features you've considered. 17 | 18 | **Additional context** 19 | Add any other context or screenshots about the feature request here. 20 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | 3 | Please include a summary of the change and which issue it addresses. Please also include relevant motivation and context. 4 | 5 | Fixes # (issue) 6 | 7 | ## Type of change 8 | 9 | Please delete options that are not relevant. 10 | 11 | - [ ] Bug fix (non-breaking change which fixes an issue) 12 | - [ ] New feature (non-breaking change which adds functionality) 13 | - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) 14 | - [ ] Documentation update 15 | 16 | ## How Has This Been Tested? 17 | 18 | Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. 19 | 20 | ## Checklist: 21 | 22 | - [ ] My code follows the style guidelines of this project 23 | - [ ] I have performed a self-review of my own code 24 | - [ ] I have commented my code, particularly in hard-to-understand areas 25 | - [ ] I have made corresponding changes to the documentation 26 | - [ ] My changes generate no new warnings 27 | - [ ] I have added tests that prove my fix is effective or that my feature works 28 | - [ ] New and existing unit tests pass locally with my changes 29 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | 3 | on: 4 | push: 5 | branches: [ main ] 6 | pull_request: 7 | branches: [ main ] 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | 13 | strategy: 14 | matrix: 15 | node-version: [16.x, 18.x, 20.x] 16 | 17 | steps: 18 | - uses: actions/checkout@v3 19 | 20 | - name: Use Node.js ${{ matrix.node-version }} 21 | uses: actions/setup-node@v3 22 | with: 23 | node-version: ${{ matrix.node-version }} 24 | cache: 'npm' 25 | 26 | - name: Install dependencies 27 | run: npm ci 28 | 29 | - name: Build 30 | run: npm run build 31 | 32 | - name: Test 33 | run: npm test || true # Allow tests to fail for now -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Dependencies 2 | requirements/ 3 | node_modules/ 4 | npm-debug.log 5 | yarn-debug.log 6 | yarn-error.log 7 | 8 | # Build outputs 9 | dist/ 10 | build/ 11 | *.tsbuildinfo 12 | 13 | # Environment variables and secrets 14 | .env 15 | .env.local 16 | .env.development.local 17 | .env.test.local 18 | .env.production.local 19 | 20 | # IDE and editor files 21 | .idea/ 22 | .vscode/ 23 | *.swp 24 | *.swo 25 | *~ 26 | 27 | # OS specific files 28 | .DS_Store 29 | Thumbs.db 30 | 31 | # Test coverage 32 | coverage/ 33 | 34 | # Logs 35 | logs/ 36 | *.log 37 | npm-debug.log* 38 | yarn-debug.log* 39 | yarn-error.log* -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | # Source files 2 | examples/ 3 | requirements/ 4 | 5 | # Development files 6 | .github/ 7 | .vscode/ 8 | .idea/ 9 | .gitignore 10 | .env 11 | .env.* 12 | !.env.example 13 | tsconfig.json 14 | *.tsbuildinfo 15 | 16 | # Documentation 17 | CONTRIBUTING.md 18 | 19 | # Test files 20 | __tests__/ 21 | *.test.ts 22 | *.spec.ts 23 | 24 | # Logs 25 | logs/ 26 | *.log 27 | npm-debug.log* 28 | yarn-debug.log* 29 | yarn-error.log* -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Obsidian MCP 2 | 3 | Thank you for considering contributing to Obsidian MCP! This document provides guidelines and instructions for contributing. 4 | 5 | ## Code of Conduct 6 | 7 | Please be respectful and considerate of others when contributing to this project. 8 | 9 | ## How Can I Contribute? 10 | 11 | ### Reporting Bugs 12 | 13 | Before creating bug reports, please check the existing issues to see if the problem has already been reported. When you are creating a bug report, please include as many details as possible: 14 | 15 | - Use a clear and descriptive title 16 | - Describe the exact steps to reproduce the issue 17 | - Describe the behavior you observed and what you expected to see 18 | - Include screenshots if applicable 19 | - Include error messages or logs 20 | - Include your environment information (OS, Node.js version, etc.) 21 | 22 | ### Suggesting Enhancements 23 | 24 | - Use a clear and descriptive title 25 | - Provide a step-by-step description of the suggested enhancement 26 | - Explain why this enhancement would be useful to most users 27 | - Include screenshots or mockups if applicable 28 | 29 | ### Pull Requests 30 | 31 | - Fill in the required template 32 | - Follow the TypeScript code style 33 | - Include tests when adding new features 34 | - Update documentation when changing functionality 35 | - Keep your PR focused on a single concern 36 | - Reference issues or discussions that your PR addresses 37 | 38 | ## Development Process 39 | 40 | ### Setting Up the Development Environment 41 | 42 | 1. Fork the repository 43 | 2. Clone your fork 44 | ``` 45 | git clone https://github.com/your-username/obsidian-mcp.git 46 | cd obsidian-mcp 47 | ``` 48 | 3. Install dependencies 49 | ``` 50 | npm install 51 | ``` 52 | 4. Create a `.env` file and add your Obsidian API key 53 | ``` 54 | cp .env.example .env 55 | # Edit the .env file with your API key 56 | ``` 57 | 5. Start the development server 58 | ``` 59 | npm run dev 60 | ``` 61 | 62 | ### Coding Style 63 | 64 | - Use TypeScript 65 | - Follow the existing code style 66 | - Use meaningful variable and function names 67 | - Write comments for complex logic 68 | - Add JSDoc comments for functions and classes 69 | 70 | ### Testing 71 | 72 | - Write tests for new features 73 | - Run tests before submitting PR 74 | ``` 75 | npm test 76 | ``` 77 | 78 | ### Commit Messages 79 | 80 | - Use the present tense ("Add feature" not "Added feature") 81 | - Use the imperative mood ("Move cursor to..." not "Moves cursor to...") 82 | - Limit the first line to 72 characters or less 83 | - Reference issues and pull requests liberally after the first line 84 | 85 | ## Releasing 86 | 87 | The project maintainers will handle releases following semantic versioning: 88 | 89 | - MAJOR version for incompatible API changes 90 | - MINOR version for added functionality in a backward compatible manner 91 | - PATCH version for backward compatible bug fixes 92 | 93 | ## Thank You! 94 | 95 | Your contributions help make Obsidian MCP better for everyone. We appreciate your time and effort! 96 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | ISC License 2 | 3 | Copyright (c) 2024 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 11 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 15 | PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Obsidian MCP - TypeScript Implementation 2 | 3 | This project provides a TypeScript implementation of the Obsidian Model Context Protocol (MCP) server. It allows AI models to interact with an Obsidian vault using the Obsidian Local REST API. 4 | 5 | ## Features 6 | 7 | ### Search Tools 8 | 9 | - **Simple Search** - Search for documents matching a specified text query across all files in the vault 10 | - **Complex Search** - Search using JsonLogic queries for more advanced filtering 11 | - **List Files in Vault** - Lists all files and directories in the root directory 12 | - **List Files in Directory** - Lists all files and directories in a specific path 13 | 14 | ### Read Tools 15 | 16 | - **Get Content** - Get content from a single file 17 | - **Get Batch Contents** - Get contents from multiple files at once 18 | 19 | ### Write Tools 20 | 21 | - **Append Content** - Append content to a new or existing file 22 | - **Patch Content** - Insert content relative to a heading, block reference, or frontmatter field 23 | 24 | ### Prompts 25 | 26 | - **Note Summarization** - Generate summaries for long notes 27 | 28 | ## Installation 29 | 30 | ```bash 31 | # Clone the repository 32 | git clone https://github.com/DataScienceDisciple/obsidian-mcp.git 33 | cd obsidian-mcp 34 | 35 | # Install dependencies 36 | npm install 37 | 38 | 39 | # Build the project 40 | npm run build 41 | ``` 42 | 43 | ## Usage as MCP Server 44 | 45 | This project implements a Model Context Protocol (MCP) server that can be used with MCP-compatible LLM clients like Claude. 46 | 47 | ### Starting the Server 48 | 49 | ```bash 50 | # Start the MCP server (after building) 51 | npm start 52 | ``` 53 | 54 | For development, you can use: 55 | 56 | ```bash 57 | # Start with TypeScript directly (no build needed) 58 | npm run dev 59 | 60 | # Start with auto-reloading on file changes 61 | npm run start:dev 62 | ``` 63 | 64 | The MCP server communicates through standard input/output (stdio), so it's designed to be run by an MCP client. 65 | 66 | ### Setting up with Claude Desktop 67 | 68 | 1. Make sure you have Claude for Desktop installed. [Download it here](https://claude.ai/download) if you don't have it yet. 69 | 70 | 2. Make sure you've built the project with `npm run build` first. 71 | 72 | 3. Open your Claude for Desktop App configuration: 73 | 74 | **MacOS**: 75 | 76 | ```bash 77 | code ~/Library/Application\ Support/Claude/claude_desktop_config.json 78 | ``` 79 | 80 | **Windows**: 81 | 82 | ```powershell 83 | code $env:AppData\Claude\claude_desktop_config.json 84 | ``` 85 | 86 | 4. Add the Obsidian MCP server to the `mcpServers` section (create the file if it doesn't exist): 87 | 88 | **MacOS**: 89 | 90 | ```json 91 | { 92 | "mcpServers": { 93 | "obsidian": { 94 | "command": "node", 95 | "args": ["/ABSOLUTE/PATH/TO/obsidian-mcp/dist/main.js"], 96 | "env": { 97 | "OBSIDIAN_API_KEY": "your_api_key_here" 98 | } 99 | } 100 | } 101 | } 102 | ``` 103 | 104 | **Windows**: 105 | 106 | ```json 107 | { 108 | "mcpServers": { 109 | "obsidian": { 110 | "command": "node", 111 | "args": ["C:\\ABSOLUTE\\PATH\\TO\\obsidian-mcp\\dist\\main.js"], 112 | "env": { 113 | "OBSIDIAN_API_KEY": "your_api_key_here" 114 | } 115 | } 116 | } 117 | } 118 | ``` 119 | 120 | Replace `/ABSOLUTE/PATH/TO/obsidian-mcp` with the actual path to your project directory. 121 | 122 | Replace `your_api_key_here` with your actual Obsidian API key. This is **essential** - without this environment variable, the server won't be able to connect to your Obsidian vault. 123 | 124 | 5. Save the file and restart Claude for Desktop. 125 | 126 | 6. When you open Claude for Desktop, you should see a hammer icon in the top right corner, indicating that MCP servers are available. 127 | 128 | ### Troubleshooting Claude Desktop Integration 129 | 130 | If the server isn't showing up in Claude Desktop: 131 | 132 | 1. Make sure you've built the project with `npm run build` 133 | 2. Make sure you've restarted Claude for Desktop completely 134 | 3. Check your `claude_desktop_config.json` file syntax 135 | 4. Ensure the file paths in `claude_desktop_config.json` are absolute, not relative 136 | 5. Verify that you've added the `env` section with your `OBSIDIAN_API_KEY` 137 | 6. Look at Claude logs: 138 | - macOS: `~/Library/Logs/Claude/mcp*.log` 139 | - Windows: `%APPDATA%\Claude\logs\mcp*.log` 140 | 141 | ## Prerequisites 142 | 143 | - Node.js 16 or later 144 | - Obsidian with the Local REST API plugin installed and configured 145 | 146 | ## Tool Usage Examples 147 | 148 | Here are examples of how to use the various tools: 149 | 150 | ### Append Content 151 | 152 | This tool adds content to the end of a file: 153 | 154 | ``` 155 | Tool: obsidian_append_content 156 | Arguments: 157 | { 158 | "filepath": "Projects/Project X.md", 159 | "content": "New content to add at the end of the file" 160 | } 161 | ``` 162 | 163 | ### Patch Content 164 | 165 | This tool is for adding or modifying content at specific locations in a file: 166 | 167 | #### Example 1: Add content under a heading in a daily note 168 | 169 | ``` 170 | Tool: obsidian_patch_content 171 | Arguments: 172 | { 173 | "filepath": "📔 Periodic Notes/📔 Daily/2025-03-20.md", 174 | "operation": "append", 175 | "target_type": "heading", 176 | "target": "2025-03-20::Notes", 177 | "content": "Hello from Claude\n\n" 178 | } 179 | ``` 180 | 181 | #### Example 2: Add content under a nested heading 182 | 183 | ``` 184 | Tool: obsidian_patch_content 185 | Arguments: 186 | { 187 | "filepath": "Projects/Development.md", 188 | "operation": "prepend", 189 | "target_type": "heading", 190 | "target": "Development::Web Projects::Current", 191 | "content": "- New project idea\n" 192 | } 193 | ``` 194 | 195 | #### Example 3: Update a frontmatter field 196 | 197 | ``` 198 | Tool: obsidian_patch_content 199 | Arguments: 200 | { 201 | "filepath": "Projects/ProjectX.md", 202 | "operation": "replace", 203 | "target_type": "frontmatter", 204 | "target": "status", 205 | "content": "In Progress" 206 | } 207 | ``` 208 | 209 | ### Search 210 | 211 | Simple text search: 212 | 213 | ``` 214 | Tool: obsidian_simple_search 215 | Arguments: 216 | { 217 | "query": "project deadline", 218 | "context_length": 150 219 | } 220 | ``` 221 | 222 | ### Complex Search 223 | 224 | Advanced search using JsonLogic query expressions for complex criteria: 225 | 226 | ``` 227 | Tool: obsidian_complex_search 228 | Arguments: 229 | { 230 | "query": { 231 | "and": [ 232 | {"glob": ["*.md", {"var": "path"}]}, 233 | {"in": ["#project", {"var": "tags"}]} 234 | ] 235 | } 236 | } 237 | ``` 238 | 239 | ### Get File Contents 240 | 241 | Get a single file: 242 | 243 | ``` 244 | Tool: obsidian_get_file_contents 245 | Arguments: 246 | { 247 | "filepath": "Projects/Project X.md" 248 | } 249 | ``` 250 | 251 | Get multiple files: 252 | 253 | ``` 254 | Tool: obsidian_batch_get_file_contents 255 | Arguments: 256 | { 257 | "filepaths": [ 258 | "Projects/Project X.md", 259 | "Projects/Project Y.md" 260 | ] 261 | } 262 | ``` 263 | 264 | ### List Files 265 | 266 | List all files at the root: 267 | 268 | ``` 269 | Tool: obsidian_list_files_in_vault 270 | Arguments: {} 271 | ``` 272 | 273 | List files in a specific directory: 274 | 275 | ``` 276 | Tool: obsidian_list_files_in_dir 277 | Arguments: 278 | { 279 | "dirpath": "Projects" 280 | } 281 | ``` 282 | 283 | ## Contributing 284 | 285 | Contributions are welcome! Please feel free to submit a Pull Request or open an Issue. 286 | 287 | 1. Fork the project 288 | 2. Create your feature branch (`git checkout -b feature/amazing-feature`) 289 | 3. Commit your changes (`git commit -m 'Add some amazing feature'`) 290 | 4. Push to the branch (`git push origin feature/amazing-feature`) 291 | 5. Open a Pull Request 292 | 293 | See the [Contributing Guide](CONTRIBUTING.md) for more information. 294 | 295 | ## Issues and Support 296 | 297 | If you encounter any problems or have questions, please [open an issue](https://github.com/yourusername/obsidian-mcp/issues). 298 | -------------------------------------------------------------------------------- /claude_desktop_config.example.json: -------------------------------------------------------------------------------- 1 | { 2 | "mcpServers": { 3 | "obsidian": { 4 | "command": "node", 5 | "args": ["/ABSOLUTE/PATH/TO/obsidian-mcp/dist/main.js"], 6 | "env": { 7 | "OBSIDIAN_API_KEY": "your_api_key_here" 8 | } 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "obsidian-mcp", 3 | "version": "1.0.0", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "obsidian-mcp", 9 | "version": "1.0.0", 10 | "license": "ISC", 11 | "dependencies": { 12 | "@modelcontextprotocol/sdk": "^1.6.1", 13 | "axios": "^1.6.0", 14 | "dotenv": "^16.3.1", 15 | "zod": "^3.22.4" 16 | }, 17 | "devDependencies": { 18 | "ts-node": "^10.9.1", 19 | "ts-node-dev": "^2.0.0", 20 | "typescript": "^5.0.4" 21 | } 22 | }, 23 | "node_modules/@cspotcode/source-map-support": { 24 | "version": "0.8.1", 25 | "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", 26 | "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", 27 | "dev": true, 28 | "license": "MIT", 29 | "dependencies": { 30 | "@jridgewell/trace-mapping": "0.3.9" 31 | }, 32 | "engines": { 33 | "node": ">=12" 34 | } 35 | }, 36 | "node_modules/@jridgewell/resolve-uri": { 37 | "version": "3.1.2", 38 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", 39 | "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", 40 | "dev": true, 41 | "license": "MIT", 42 | "engines": { 43 | "node": ">=6.0.0" 44 | } 45 | }, 46 | "node_modules/@jridgewell/sourcemap-codec": { 47 | "version": "1.5.0", 48 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", 49 | "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", 50 | "dev": true, 51 | "license": "MIT" 52 | }, 53 | "node_modules/@jridgewell/trace-mapping": { 54 | "version": "0.3.9", 55 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", 56 | "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", 57 | "dev": true, 58 | "license": "MIT", 59 | "dependencies": { 60 | "@jridgewell/resolve-uri": "^3.0.3", 61 | "@jridgewell/sourcemap-codec": "^1.4.10" 62 | } 63 | }, 64 | "node_modules/@modelcontextprotocol/sdk": { 65 | "version": "1.7.0", 66 | "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.7.0.tgz", 67 | "integrity": "sha512-IYPe/FLpvF3IZrd/f5p5ffmWhMc3aEMuM2wGJASDqC2Ge7qatVCdbfPx3n/5xFeb19xN0j/911M2AaFuircsWA==", 68 | "license": "MIT", 69 | "dependencies": { 70 | "content-type": "^1.0.5", 71 | "cors": "^2.8.5", 72 | "eventsource": "^3.0.2", 73 | "express": "^5.0.1", 74 | "express-rate-limit": "^7.5.0", 75 | "pkce-challenge": "^4.1.0", 76 | "raw-body": "^3.0.0", 77 | "zod": "^3.23.8", 78 | "zod-to-json-schema": "^3.24.1" 79 | }, 80 | "engines": { 81 | "node": ">=18" 82 | } 83 | }, 84 | "node_modules/@tsconfig/node10": { 85 | "version": "1.0.11", 86 | "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", 87 | "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", 88 | "dev": true, 89 | "license": "MIT" 90 | }, 91 | "node_modules/@tsconfig/node12": { 92 | "version": "1.0.11", 93 | "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", 94 | "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", 95 | "dev": true, 96 | "license": "MIT" 97 | }, 98 | "node_modules/@tsconfig/node14": { 99 | "version": "1.0.3", 100 | "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", 101 | "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", 102 | "dev": true, 103 | "license": "MIT" 104 | }, 105 | "node_modules/@tsconfig/node16": { 106 | "version": "1.0.4", 107 | "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", 108 | "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", 109 | "dev": true, 110 | "license": "MIT" 111 | }, 112 | "node_modules/@types/node": { 113 | "version": "22.13.10", 114 | "resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.10.tgz", 115 | "integrity": "sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==", 116 | "dev": true, 117 | "license": "MIT", 118 | "peer": true, 119 | "dependencies": { 120 | "undici-types": "~6.20.0" 121 | } 122 | }, 123 | "node_modules/@types/strip-bom": { 124 | "version": "3.0.0", 125 | "resolved": "https://registry.npmjs.org/@types/strip-bom/-/strip-bom-3.0.0.tgz", 126 | "integrity": "sha512-xevGOReSYGM7g/kUBZzPqCrR/KYAo+F0yiPc85WFTJa0MSLtyFTVTU6cJu/aV4mid7IffDIWqo69THF2o4JiEQ==", 127 | "dev": true, 128 | "license": "MIT" 129 | }, 130 | "node_modules/@types/strip-json-comments": { 131 | "version": "0.0.30", 132 | "resolved": "https://registry.npmjs.org/@types/strip-json-comments/-/strip-json-comments-0.0.30.tgz", 133 | "integrity": "sha512-7NQmHra/JILCd1QqpSzl8+mJRc8ZHz3uDm8YV1Ks9IhK0epEiTw8aIErbvH9PI+6XbqhyIQy3462nEsn7UVzjQ==", 134 | "dev": true, 135 | "license": "MIT" 136 | }, 137 | "node_modules/accepts": { 138 | "version": "2.0.0", 139 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", 140 | "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", 141 | "license": "MIT", 142 | "dependencies": { 143 | "mime-types": "^3.0.0", 144 | "negotiator": "^1.0.0" 145 | }, 146 | "engines": { 147 | "node": ">= 0.6" 148 | } 149 | }, 150 | "node_modules/accepts/node_modules/mime-db": { 151 | "version": "1.54.0", 152 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", 153 | "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", 154 | "license": "MIT", 155 | "engines": { 156 | "node": ">= 0.6" 157 | } 158 | }, 159 | "node_modules/accepts/node_modules/mime-types": { 160 | "version": "3.0.0", 161 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.0.tgz", 162 | "integrity": "sha512-XqoSHeCGjVClAmoGFG3lVFqQFRIrTVw2OH3axRqAcfaw+gHWIfnASS92AV+Rl/mk0MupgZTRHQOjxY6YVnzK5w==", 163 | "license": "MIT", 164 | "dependencies": { 165 | "mime-db": "^1.53.0" 166 | }, 167 | "engines": { 168 | "node": ">= 0.6" 169 | } 170 | }, 171 | "node_modules/acorn": { 172 | "version": "8.14.1", 173 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", 174 | "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", 175 | "dev": true, 176 | "license": "MIT", 177 | "bin": { 178 | "acorn": "bin/acorn" 179 | }, 180 | "engines": { 181 | "node": ">=0.4.0" 182 | } 183 | }, 184 | "node_modules/acorn-walk": { 185 | "version": "8.3.4", 186 | "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", 187 | "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", 188 | "dev": true, 189 | "license": "MIT", 190 | "dependencies": { 191 | "acorn": "^8.11.0" 192 | }, 193 | "engines": { 194 | "node": ">=0.4.0" 195 | } 196 | }, 197 | "node_modules/anymatch": { 198 | "version": "3.1.3", 199 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 200 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 201 | "dev": true, 202 | "license": "ISC", 203 | "dependencies": { 204 | "normalize-path": "^3.0.0", 205 | "picomatch": "^2.0.4" 206 | }, 207 | "engines": { 208 | "node": ">= 8" 209 | } 210 | }, 211 | "node_modules/arg": { 212 | "version": "4.1.3", 213 | "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", 214 | "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", 215 | "dev": true, 216 | "license": "MIT" 217 | }, 218 | "node_modules/asynckit": { 219 | "version": "0.4.0", 220 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 221 | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", 222 | "license": "MIT" 223 | }, 224 | "node_modules/axios": { 225 | "version": "1.8.4", 226 | "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.4.tgz", 227 | "integrity": "sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==", 228 | "license": "MIT", 229 | "dependencies": { 230 | "follow-redirects": "^1.15.6", 231 | "form-data": "^4.0.0", 232 | "proxy-from-env": "^1.1.0" 233 | } 234 | }, 235 | "node_modules/balanced-match": { 236 | "version": "1.0.2", 237 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 238 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 239 | "dev": true, 240 | "license": "MIT" 241 | }, 242 | "node_modules/binary-extensions": { 243 | "version": "2.3.0", 244 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", 245 | "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", 246 | "dev": true, 247 | "license": "MIT", 248 | "engines": { 249 | "node": ">=8" 250 | }, 251 | "funding": { 252 | "url": "https://github.com/sponsors/sindresorhus" 253 | } 254 | }, 255 | "node_modules/body-parser": { 256 | "version": "2.1.0", 257 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.1.0.tgz", 258 | "integrity": "sha512-/hPxh61E+ll0Ujp24Ilm64cykicul1ypfwjVttduAiEdtnJFvLePSrIPk+HMImtNv5270wOGCb1Tns2rybMkoQ==", 259 | "license": "MIT", 260 | "dependencies": { 261 | "bytes": "^3.1.2", 262 | "content-type": "^1.0.5", 263 | "debug": "^4.4.0", 264 | "http-errors": "^2.0.0", 265 | "iconv-lite": "^0.5.2", 266 | "on-finished": "^2.4.1", 267 | "qs": "^6.14.0", 268 | "raw-body": "^3.0.0", 269 | "type-is": "^2.0.0" 270 | }, 271 | "engines": { 272 | "node": ">=18" 273 | } 274 | }, 275 | "node_modules/body-parser/node_modules/debug": { 276 | "version": "4.4.0", 277 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", 278 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", 279 | "license": "MIT", 280 | "dependencies": { 281 | "ms": "^2.1.3" 282 | }, 283 | "engines": { 284 | "node": ">=6.0" 285 | }, 286 | "peerDependenciesMeta": { 287 | "supports-color": { 288 | "optional": true 289 | } 290 | } 291 | }, 292 | "node_modules/body-parser/node_modules/ms": { 293 | "version": "2.1.3", 294 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 295 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 296 | "license": "MIT" 297 | }, 298 | "node_modules/body-parser/node_modules/qs": { 299 | "version": "6.14.0", 300 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", 301 | "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", 302 | "license": "BSD-3-Clause", 303 | "dependencies": { 304 | "side-channel": "^1.1.0" 305 | }, 306 | "engines": { 307 | "node": ">=0.6" 308 | }, 309 | "funding": { 310 | "url": "https://github.com/sponsors/ljharb" 311 | } 312 | }, 313 | "node_modules/brace-expansion": { 314 | "version": "1.1.11", 315 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 316 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 317 | "dev": true, 318 | "license": "MIT", 319 | "dependencies": { 320 | "balanced-match": "^1.0.0", 321 | "concat-map": "0.0.1" 322 | } 323 | }, 324 | "node_modules/braces": { 325 | "version": "3.0.3", 326 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 327 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 328 | "dev": true, 329 | "license": "MIT", 330 | "dependencies": { 331 | "fill-range": "^7.1.1" 332 | }, 333 | "engines": { 334 | "node": ">=8" 335 | } 336 | }, 337 | "node_modules/buffer-from": { 338 | "version": "1.1.2", 339 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", 340 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", 341 | "dev": true, 342 | "license": "MIT" 343 | }, 344 | "node_modules/bytes": { 345 | "version": "3.1.2", 346 | "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", 347 | "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", 348 | "license": "MIT", 349 | "engines": { 350 | "node": ">= 0.8" 351 | } 352 | }, 353 | "node_modules/call-bind-apply-helpers": { 354 | "version": "1.0.2", 355 | "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", 356 | "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", 357 | "license": "MIT", 358 | "dependencies": { 359 | "es-errors": "^1.3.0", 360 | "function-bind": "^1.1.2" 361 | }, 362 | "engines": { 363 | "node": ">= 0.4" 364 | } 365 | }, 366 | "node_modules/call-bound": { 367 | "version": "1.0.4", 368 | "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", 369 | "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", 370 | "license": "MIT", 371 | "dependencies": { 372 | "call-bind-apply-helpers": "^1.0.2", 373 | "get-intrinsic": "^1.3.0" 374 | }, 375 | "engines": { 376 | "node": ">= 0.4" 377 | }, 378 | "funding": { 379 | "url": "https://github.com/sponsors/ljharb" 380 | } 381 | }, 382 | "node_modules/chokidar": { 383 | "version": "3.6.0", 384 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", 385 | "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", 386 | "dev": true, 387 | "license": "MIT", 388 | "dependencies": { 389 | "anymatch": "~3.1.2", 390 | "braces": "~3.0.2", 391 | "glob-parent": "~5.1.2", 392 | "is-binary-path": "~2.1.0", 393 | "is-glob": "~4.0.1", 394 | "normalize-path": "~3.0.0", 395 | "readdirp": "~3.6.0" 396 | }, 397 | "engines": { 398 | "node": ">= 8.10.0" 399 | }, 400 | "funding": { 401 | "url": "https://paulmillr.com/funding/" 402 | }, 403 | "optionalDependencies": { 404 | "fsevents": "~2.3.2" 405 | } 406 | }, 407 | "node_modules/combined-stream": { 408 | "version": "1.0.8", 409 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 410 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 411 | "license": "MIT", 412 | "dependencies": { 413 | "delayed-stream": "~1.0.0" 414 | }, 415 | "engines": { 416 | "node": ">= 0.8" 417 | } 418 | }, 419 | "node_modules/concat-map": { 420 | "version": "0.0.1", 421 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 422 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 423 | "dev": true, 424 | "license": "MIT" 425 | }, 426 | "node_modules/content-disposition": { 427 | "version": "1.0.0", 428 | "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz", 429 | "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==", 430 | "license": "MIT", 431 | "dependencies": { 432 | "safe-buffer": "5.2.1" 433 | }, 434 | "engines": { 435 | "node": ">= 0.6" 436 | } 437 | }, 438 | "node_modules/content-type": { 439 | "version": "1.0.5", 440 | "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", 441 | "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", 442 | "license": "MIT", 443 | "engines": { 444 | "node": ">= 0.6" 445 | } 446 | }, 447 | "node_modules/cookie": { 448 | "version": "0.7.1", 449 | "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", 450 | "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", 451 | "license": "MIT", 452 | "engines": { 453 | "node": ">= 0.6" 454 | } 455 | }, 456 | "node_modules/cookie-signature": { 457 | "version": "1.2.2", 458 | "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", 459 | "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", 460 | "license": "MIT", 461 | "engines": { 462 | "node": ">=6.6.0" 463 | } 464 | }, 465 | "node_modules/cors": { 466 | "version": "2.8.5", 467 | "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", 468 | "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", 469 | "license": "MIT", 470 | "dependencies": { 471 | "object-assign": "^4", 472 | "vary": "^1" 473 | }, 474 | "engines": { 475 | "node": ">= 0.10" 476 | } 477 | }, 478 | "node_modules/create-require": { 479 | "version": "1.1.1", 480 | "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", 481 | "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", 482 | "dev": true, 483 | "license": "MIT" 484 | }, 485 | "node_modules/debug": { 486 | "version": "4.3.6", 487 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", 488 | "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", 489 | "license": "MIT", 490 | "dependencies": { 491 | "ms": "2.1.2" 492 | }, 493 | "engines": { 494 | "node": ">=6.0" 495 | }, 496 | "peerDependenciesMeta": { 497 | "supports-color": { 498 | "optional": true 499 | } 500 | } 501 | }, 502 | "node_modules/delayed-stream": { 503 | "version": "1.0.0", 504 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 505 | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", 506 | "license": "MIT", 507 | "engines": { 508 | "node": ">=0.4.0" 509 | } 510 | }, 511 | "node_modules/depd": { 512 | "version": "2.0.0", 513 | "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", 514 | "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", 515 | "license": "MIT", 516 | "engines": { 517 | "node": ">= 0.8" 518 | } 519 | }, 520 | "node_modules/destroy": { 521 | "version": "1.2.0", 522 | "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", 523 | "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", 524 | "license": "MIT", 525 | "engines": { 526 | "node": ">= 0.8", 527 | "npm": "1.2.8000 || >= 1.4.16" 528 | } 529 | }, 530 | "node_modules/diff": { 531 | "version": "4.0.2", 532 | "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", 533 | "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", 534 | "dev": true, 535 | "license": "BSD-3-Clause", 536 | "engines": { 537 | "node": ">=0.3.1" 538 | } 539 | }, 540 | "node_modules/dotenv": { 541 | "version": "16.4.7", 542 | "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", 543 | "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", 544 | "license": "BSD-2-Clause", 545 | "engines": { 546 | "node": ">=12" 547 | }, 548 | "funding": { 549 | "url": "https://dotenvx.com" 550 | } 551 | }, 552 | "node_modules/dunder-proto": { 553 | "version": "1.0.1", 554 | "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", 555 | "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", 556 | "license": "MIT", 557 | "dependencies": { 558 | "call-bind-apply-helpers": "^1.0.1", 559 | "es-errors": "^1.3.0", 560 | "gopd": "^1.2.0" 561 | }, 562 | "engines": { 563 | "node": ">= 0.4" 564 | } 565 | }, 566 | "node_modules/dynamic-dedupe": { 567 | "version": "0.3.0", 568 | "resolved": "https://registry.npmjs.org/dynamic-dedupe/-/dynamic-dedupe-0.3.0.tgz", 569 | "integrity": "sha512-ssuANeD+z97meYOqd50e04Ze5qp4bPqo8cCkI4TRjZkzAUgIDTrXV1R8QCdINpiI+hw14+rYazvTRdQrz0/rFQ==", 570 | "dev": true, 571 | "license": "MIT", 572 | "dependencies": { 573 | "xtend": "^4.0.0" 574 | } 575 | }, 576 | "node_modules/ee-first": { 577 | "version": "1.1.1", 578 | "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 579 | "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", 580 | "license": "MIT" 581 | }, 582 | "node_modules/encodeurl": { 583 | "version": "2.0.0", 584 | "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", 585 | "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", 586 | "license": "MIT", 587 | "engines": { 588 | "node": ">= 0.8" 589 | } 590 | }, 591 | "node_modules/es-define-property": { 592 | "version": "1.0.1", 593 | "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", 594 | "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", 595 | "license": "MIT", 596 | "engines": { 597 | "node": ">= 0.4" 598 | } 599 | }, 600 | "node_modules/es-errors": { 601 | "version": "1.3.0", 602 | "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", 603 | "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", 604 | "license": "MIT", 605 | "engines": { 606 | "node": ">= 0.4" 607 | } 608 | }, 609 | "node_modules/es-object-atoms": { 610 | "version": "1.1.1", 611 | "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", 612 | "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", 613 | "license": "MIT", 614 | "dependencies": { 615 | "es-errors": "^1.3.0" 616 | }, 617 | "engines": { 618 | "node": ">= 0.4" 619 | } 620 | }, 621 | "node_modules/es-set-tostringtag": { 622 | "version": "2.1.0", 623 | "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", 624 | "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", 625 | "license": "MIT", 626 | "dependencies": { 627 | "es-errors": "^1.3.0", 628 | "get-intrinsic": "^1.2.6", 629 | "has-tostringtag": "^1.0.2", 630 | "hasown": "^2.0.2" 631 | }, 632 | "engines": { 633 | "node": ">= 0.4" 634 | } 635 | }, 636 | "node_modules/escape-html": { 637 | "version": "1.0.3", 638 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 639 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", 640 | "license": "MIT" 641 | }, 642 | "node_modules/etag": { 643 | "version": "1.8.1", 644 | "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 645 | "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", 646 | "license": "MIT", 647 | "engines": { 648 | "node": ">= 0.6" 649 | } 650 | }, 651 | "node_modules/eventsource": { 652 | "version": "3.0.5", 653 | "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.5.tgz", 654 | "integrity": "sha512-LT/5J605bx5SNyE+ITBDiM3FxffBiq9un7Vx0EwMDM3vg8sWKx/tO2zC+LMqZ+smAM0F2hblaDZUVZF0te2pSw==", 655 | "license": "MIT", 656 | "dependencies": { 657 | "eventsource-parser": "^3.0.0" 658 | }, 659 | "engines": { 660 | "node": ">=18.0.0" 661 | } 662 | }, 663 | "node_modules/eventsource-parser": { 664 | "version": "3.0.0", 665 | "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.0.tgz", 666 | "integrity": "sha512-T1C0XCUimhxVQzW4zFipdx0SficT651NnkR0ZSH3yQwh+mFMdLfgjABVi4YtMTtaL4s168593DaoaRLMqryavA==", 667 | "license": "MIT", 668 | "engines": { 669 | "node": ">=18.0.0" 670 | } 671 | }, 672 | "node_modules/express": { 673 | "version": "5.0.1", 674 | "resolved": "https://registry.npmjs.org/express/-/express-5.0.1.tgz", 675 | "integrity": "sha512-ORF7g6qGnD+YtUG9yx4DFoqCShNMmUKiXuT5oWMHiOvt/4WFbHC6yCwQMTSBMno7AqntNCAzzcnnjowRkTL9eQ==", 676 | "license": "MIT", 677 | "dependencies": { 678 | "accepts": "^2.0.0", 679 | "body-parser": "^2.0.1", 680 | "content-disposition": "^1.0.0", 681 | "content-type": "~1.0.4", 682 | "cookie": "0.7.1", 683 | "cookie-signature": "^1.2.1", 684 | "debug": "4.3.6", 685 | "depd": "2.0.0", 686 | "encodeurl": "~2.0.0", 687 | "escape-html": "~1.0.3", 688 | "etag": "~1.8.1", 689 | "finalhandler": "^2.0.0", 690 | "fresh": "2.0.0", 691 | "http-errors": "2.0.0", 692 | "merge-descriptors": "^2.0.0", 693 | "methods": "~1.1.2", 694 | "mime-types": "^3.0.0", 695 | "on-finished": "2.4.1", 696 | "once": "1.4.0", 697 | "parseurl": "~1.3.3", 698 | "proxy-addr": "~2.0.7", 699 | "qs": "6.13.0", 700 | "range-parser": "~1.2.1", 701 | "router": "^2.0.0", 702 | "safe-buffer": "5.2.1", 703 | "send": "^1.1.0", 704 | "serve-static": "^2.1.0", 705 | "setprototypeof": "1.2.0", 706 | "statuses": "2.0.1", 707 | "type-is": "^2.0.0", 708 | "utils-merge": "1.0.1", 709 | "vary": "~1.1.2" 710 | }, 711 | "engines": { 712 | "node": ">= 18" 713 | } 714 | }, 715 | "node_modules/express-rate-limit": { 716 | "version": "7.5.0", 717 | "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.5.0.tgz", 718 | "integrity": "sha512-eB5zbQh5h+VenMPM3fh+nw1YExi5nMr6HUCR62ELSP11huvxm/Uir1H1QEyTkk5QX6A58pX6NmaTMceKZ0Eodg==", 719 | "license": "MIT", 720 | "engines": { 721 | "node": ">= 16" 722 | }, 723 | "funding": { 724 | "url": "https://github.com/sponsors/express-rate-limit" 725 | }, 726 | "peerDependencies": { 727 | "express": "^4.11 || 5 || ^5.0.0-beta.1" 728 | } 729 | }, 730 | "node_modules/express/node_modules/mime-db": { 731 | "version": "1.54.0", 732 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", 733 | "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", 734 | "license": "MIT", 735 | "engines": { 736 | "node": ">= 0.6" 737 | } 738 | }, 739 | "node_modules/express/node_modules/mime-types": { 740 | "version": "3.0.0", 741 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.0.tgz", 742 | "integrity": "sha512-XqoSHeCGjVClAmoGFG3lVFqQFRIrTVw2OH3axRqAcfaw+gHWIfnASS92AV+Rl/mk0MupgZTRHQOjxY6YVnzK5w==", 743 | "license": "MIT", 744 | "dependencies": { 745 | "mime-db": "^1.53.0" 746 | }, 747 | "engines": { 748 | "node": ">= 0.6" 749 | } 750 | }, 751 | "node_modules/fill-range": { 752 | "version": "7.1.1", 753 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 754 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 755 | "dev": true, 756 | "license": "MIT", 757 | "dependencies": { 758 | "to-regex-range": "^5.0.1" 759 | }, 760 | "engines": { 761 | "node": ">=8" 762 | } 763 | }, 764 | "node_modules/finalhandler": { 765 | "version": "2.1.0", 766 | "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz", 767 | "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==", 768 | "license": "MIT", 769 | "dependencies": { 770 | "debug": "^4.4.0", 771 | "encodeurl": "^2.0.0", 772 | "escape-html": "^1.0.3", 773 | "on-finished": "^2.4.1", 774 | "parseurl": "^1.3.3", 775 | "statuses": "^2.0.1" 776 | }, 777 | "engines": { 778 | "node": ">= 0.8" 779 | } 780 | }, 781 | "node_modules/finalhandler/node_modules/debug": { 782 | "version": "4.4.0", 783 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", 784 | "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", 785 | "license": "MIT", 786 | "dependencies": { 787 | "ms": "^2.1.3" 788 | }, 789 | "engines": { 790 | "node": ">=6.0" 791 | }, 792 | "peerDependenciesMeta": { 793 | "supports-color": { 794 | "optional": true 795 | } 796 | } 797 | }, 798 | "node_modules/finalhandler/node_modules/ms": { 799 | "version": "2.1.3", 800 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 801 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 802 | "license": "MIT" 803 | }, 804 | "node_modules/follow-redirects": { 805 | "version": "1.15.9", 806 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", 807 | "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", 808 | "funding": [ 809 | { 810 | "type": "individual", 811 | "url": "https://github.com/sponsors/RubenVerborgh" 812 | } 813 | ], 814 | "license": "MIT", 815 | "engines": { 816 | "node": ">=4.0" 817 | }, 818 | "peerDependenciesMeta": { 819 | "debug": { 820 | "optional": true 821 | } 822 | } 823 | }, 824 | "node_modules/form-data": { 825 | "version": "4.0.2", 826 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", 827 | "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", 828 | "license": "MIT", 829 | "dependencies": { 830 | "asynckit": "^0.4.0", 831 | "combined-stream": "^1.0.8", 832 | "es-set-tostringtag": "^2.1.0", 833 | "mime-types": "^2.1.12" 834 | }, 835 | "engines": { 836 | "node": ">= 6" 837 | } 838 | }, 839 | "node_modules/forwarded": { 840 | "version": "0.2.0", 841 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", 842 | "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", 843 | "license": "MIT", 844 | "engines": { 845 | "node": ">= 0.6" 846 | } 847 | }, 848 | "node_modules/fresh": { 849 | "version": "2.0.0", 850 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", 851 | "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", 852 | "license": "MIT", 853 | "engines": { 854 | "node": ">= 0.8" 855 | } 856 | }, 857 | "node_modules/fs.realpath": { 858 | "version": "1.0.0", 859 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 860 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 861 | "dev": true, 862 | "license": "ISC" 863 | }, 864 | "node_modules/fsevents": { 865 | "version": "2.3.3", 866 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", 867 | "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", 868 | "dev": true, 869 | "hasInstallScript": true, 870 | "license": "MIT", 871 | "optional": true, 872 | "os": [ 873 | "darwin" 874 | ], 875 | "engines": { 876 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 877 | } 878 | }, 879 | "node_modules/function-bind": { 880 | "version": "1.1.2", 881 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", 882 | "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", 883 | "license": "MIT", 884 | "funding": { 885 | "url": "https://github.com/sponsors/ljharb" 886 | } 887 | }, 888 | "node_modules/get-intrinsic": { 889 | "version": "1.3.0", 890 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", 891 | "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", 892 | "license": "MIT", 893 | "dependencies": { 894 | "call-bind-apply-helpers": "^1.0.2", 895 | "es-define-property": "^1.0.1", 896 | "es-errors": "^1.3.0", 897 | "es-object-atoms": "^1.1.1", 898 | "function-bind": "^1.1.2", 899 | "get-proto": "^1.0.1", 900 | "gopd": "^1.2.0", 901 | "has-symbols": "^1.1.0", 902 | "hasown": "^2.0.2", 903 | "math-intrinsics": "^1.1.0" 904 | }, 905 | "engines": { 906 | "node": ">= 0.4" 907 | }, 908 | "funding": { 909 | "url": "https://github.com/sponsors/ljharb" 910 | } 911 | }, 912 | "node_modules/get-proto": { 913 | "version": "1.0.1", 914 | "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", 915 | "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", 916 | "license": "MIT", 917 | "dependencies": { 918 | "dunder-proto": "^1.0.1", 919 | "es-object-atoms": "^1.0.0" 920 | }, 921 | "engines": { 922 | "node": ">= 0.4" 923 | } 924 | }, 925 | "node_modules/glob": { 926 | "version": "7.2.3", 927 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 928 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 929 | "deprecated": "Glob versions prior to v9 are no longer supported", 930 | "dev": true, 931 | "license": "ISC", 932 | "dependencies": { 933 | "fs.realpath": "^1.0.0", 934 | "inflight": "^1.0.4", 935 | "inherits": "2", 936 | "minimatch": "^3.1.1", 937 | "once": "^1.3.0", 938 | "path-is-absolute": "^1.0.0" 939 | }, 940 | "engines": { 941 | "node": "*" 942 | }, 943 | "funding": { 944 | "url": "https://github.com/sponsors/isaacs" 945 | } 946 | }, 947 | "node_modules/glob-parent": { 948 | "version": "5.1.2", 949 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 950 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 951 | "dev": true, 952 | "license": "ISC", 953 | "dependencies": { 954 | "is-glob": "^4.0.1" 955 | }, 956 | "engines": { 957 | "node": ">= 6" 958 | } 959 | }, 960 | "node_modules/gopd": { 961 | "version": "1.2.0", 962 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", 963 | "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", 964 | "license": "MIT", 965 | "engines": { 966 | "node": ">= 0.4" 967 | }, 968 | "funding": { 969 | "url": "https://github.com/sponsors/ljharb" 970 | } 971 | }, 972 | "node_modules/has-symbols": { 973 | "version": "1.1.0", 974 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", 975 | "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", 976 | "license": "MIT", 977 | "engines": { 978 | "node": ">= 0.4" 979 | }, 980 | "funding": { 981 | "url": "https://github.com/sponsors/ljharb" 982 | } 983 | }, 984 | "node_modules/has-tostringtag": { 985 | "version": "1.0.2", 986 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", 987 | "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", 988 | "license": "MIT", 989 | "dependencies": { 990 | "has-symbols": "^1.0.3" 991 | }, 992 | "engines": { 993 | "node": ">= 0.4" 994 | }, 995 | "funding": { 996 | "url": "https://github.com/sponsors/ljharb" 997 | } 998 | }, 999 | "node_modules/hasown": { 1000 | "version": "2.0.2", 1001 | "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", 1002 | "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", 1003 | "license": "MIT", 1004 | "dependencies": { 1005 | "function-bind": "^1.1.2" 1006 | }, 1007 | "engines": { 1008 | "node": ">= 0.4" 1009 | } 1010 | }, 1011 | "node_modules/http-errors": { 1012 | "version": "2.0.0", 1013 | "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", 1014 | "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", 1015 | "license": "MIT", 1016 | "dependencies": { 1017 | "depd": "2.0.0", 1018 | "inherits": "2.0.4", 1019 | "setprototypeof": "1.2.0", 1020 | "statuses": "2.0.1", 1021 | "toidentifier": "1.0.1" 1022 | }, 1023 | "engines": { 1024 | "node": ">= 0.8" 1025 | } 1026 | }, 1027 | "node_modules/iconv-lite": { 1028 | "version": "0.5.2", 1029 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.5.2.tgz", 1030 | "integrity": "sha512-kERHXvpSaB4aU3eANwidg79K8FlrN77m8G9V+0vOR3HYaRifrlwMEpT7ZBJqLSEIHnEgJTHcWK82wwLwwKwtag==", 1031 | "license": "MIT", 1032 | "dependencies": { 1033 | "safer-buffer": ">= 2.1.2 < 3" 1034 | }, 1035 | "engines": { 1036 | "node": ">=0.10.0" 1037 | } 1038 | }, 1039 | "node_modules/inflight": { 1040 | "version": "1.0.6", 1041 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1042 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1043 | "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", 1044 | "dev": true, 1045 | "license": "ISC", 1046 | "dependencies": { 1047 | "once": "^1.3.0", 1048 | "wrappy": "1" 1049 | } 1050 | }, 1051 | "node_modules/inherits": { 1052 | "version": "2.0.4", 1053 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1054 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1055 | "license": "ISC" 1056 | }, 1057 | "node_modules/ipaddr.js": { 1058 | "version": "1.9.1", 1059 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 1060 | "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", 1061 | "license": "MIT", 1062 | "engines": { 1063 | "node": ">= 0.10" 1064 | } 1065 | }, 1066 | "node_modules/is-binary-path": { 1067 | "version": "2.1.0", 1068 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1069 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1070 | "dev": true, 1071 | "license": "MIT", 1072 | "dependencies": { 1073 | "binary-extensions": "^2.0.0" 1074 | }, 1075 | "engines": { 1076 | "node": ">=8" 1077 | } 1078 | }, 1079 | "node_modules/is-core-module": { 1080 | "version": "2.16.1", 1081 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", 1082 | "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", 1083 | "dev": true, 1084 | "license": "MIT", 1085 | "dependencies": { 1086 | "hasown": "^2.0.2" 1087 | }, 1088 | "engines": { 1089 | "node": ">= 0.4" 1090 | }, 1091 | "funding": { 1092 | "url": "https://github.com/sponsors/ljharb" 1093 | } 1094 | }, 1095 | "node_modules/is-extglob": { 1096 | "version": "2.1.1", 1097 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1098 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1099 | "dev": true, 1100 | "license": "MIT", 1101 | "engines": { 1102 | "node": ">=0.10.0" 1103 | } 1104 | }, 1105 | "node_modules/is-glob": { 1106 | "version": "4.0.3", 1107 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1108 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1109 | "dev": true, 1110 | "license": "MIT", 1111 | "dependencies": { 1112 | "is-extglob": "^2.1.1" 1113 | }, 1114 | "engines": { 1115 | "node": ">=0.10.0" 1116 | } 1117 | }, 1118 | "node_modules/is-number": { 1119 | "version": "7.0.0", 1120 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1121 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1122 | "dev": true, 1123 | "license": "MIT", 1124 | "engines": { 1125 | "node": ">=0.12.0" 1126 | } 1127 | }, 1128 | "node_modules/is-promise": { 1129 | "version": "4.0.0", 1130 | "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", 1131 | "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", 1132 | "license": "MIT" 1133 | }, 1134 | "node_modules/make-error": { 1135 | "version": "1.3.6", 1136 | "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", 1137 | "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", 1138 | "dev": true, 1139 | "license": "ISC" 1140 | }, 1141 | "node_modules/math-intrinsics": { 1142 | "version": "1.1.0", 1143 | "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", 1144 | "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", 1145 | "license": "MIT", 1146 | "engines": { 1147 | "node": ">= 0.4" 1148 | } 1149 | }, 1150 | "node_modules/media-typer": { 1151 | "version": "1.1.0", 1152 | "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", 1153 | "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", 1154 | "license": "MIT", 1155 | "engines": { 1156 | "node": ">= 0.8" 1157 | } 1158 | }, 1159 | "node_modules/merge-descriptors": { 1160 | "version": "2.0.0", 1161 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", 1162 | "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", 1163 | "license": "MIT", 1164 | "engines": { 1165 | "node": ">=18" 1166 | }, 1167 | "funding": { 1168 | "url": "https://github.com/sponsors/sindresorhus" 1169 | } 1170 | }, 1171 | "node_modules/methods": { 1172 | "version": "1.1.2", 1173 | "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 1174 | "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", 1175 | "license": "MIT", 1176 | "engines": { 1177 | "node": ">= 0.6" 1178 | } 1179 | }, 1180 | "node_modules/mime-db": { 1181 | "version": "1.52.0", 1182 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", 1183 | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", 1184 | "license": "MIT", 1185 | "engines": { 1186 | "node": ">= 0.6" 1187 | } 1188 | }, 1189 | "node_modules/mime-types": { 1190 | "version": "2.1.35", 1191 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", 1192 | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", 1193 | "license": "MIT", 1194 | "dependencies": { 1195 | "mime-db": "1.52.0" 1196 | }, 1197 | "engines": { 1198 | "node": ">= 0.6" 1199 | } 1200 | }, 1201 | "node_modules/minimatch": { 1202 | "version": "3.1.2", 1203 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1204 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1205 | "dev": true, 1206 | "license": "ISC", 1207 | "dependencies": { 1208 | "brace-expansion": "^1.1.7" 1209 | }, 1210 | "engines": { 1211 | "node": "*" 1212 | } 1213 | }, 1214 | "node_modules/minimist": { 1215 | "version": "1.2.8", 1216 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 1217 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 1218 | "dev": true, 1219 | "license": "MIT", 1220 | "funding": { 1221 | "url": "https://github.com/sponsors/ljharb" 1222 | } 1223 | }, 1224 | "node_modules/mkdirp": { 1225 | "version": "1.0.4", 1226 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", 1227 | "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", 1228 | "dev": true, 1229 | "license": "MIT", 1230 | "bin": { 1231 | "mkdirp": "bin/cmd.js" 1232 | }, 1233 | "engines": { 1234 | "node": ">=10" 1235 | } 1236 | }, 1237 | "node_modules/ms": { 1238 | "version": "2.1.2", 1239 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1240 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1241 | "license": "MIT" 1242 | }, 1243 | "node_modules/negotiator": { 1244 | "version": "1.0.0", 1245 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", 1246 | "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", 1247 | "license": "MIT", 1248 | "engines": { 1249 | "node": ">= 0.6" 1250 | } 1251 | }, 1252 | "node_modules/normalize-path": { 1253 | "version": "3.0.0", 1254 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1255 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1256 | "dev": true, 1257 | "license": "MIT", 1258 | "engines": { 1259 | "node": ">=0.10.0" 1260 | } 1261 | }, 1262 | "node_modules/object-assign": { 1263 | "version": "4.1.1", 1264 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 1265 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", 1266 | "license": "MIT", 1267 | "engines": { 1268 | "node": ">=0.10.0" 1269 | } 1270 | }, 1271 | "node_modules/object-inspect": { 1272 | "version": "1.13.4", 1273 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", 1274 | "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", 1275 | "license": "MIT", 1276 | "engines": { 1277 | "node": ">= 0.4" 1278 | }, 1279 | "funding": { 1280 | "url": "https://github.com/sponsors/ljharb" 1281 | } 1282 | }, 1283 | "node_modules/on-finished": { 1284 | "version": "2.4.1", 1285 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", 1286 | "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", 1287 | "license": "MIT", 1288 | "dependencies": { 1289 | "ee-first": "1.1.1" 1290 | }, 1291 | "engines": { 1292 | "node": ">= 0.8" 1293 | } 1294 | }, 1295 | "node_modules/once": { 1296 | "version": "1.4.0", 1297 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1298 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1299 | "license": "ISC", 1300 | "dependencies": { 1301 | "wrappy": "1" 1302 | } 1303 | }, 1304 | "node_modules/parseurl": { 1305 | "version": "1.3.3", 1306 | "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 1307 | "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", 1308 | "license": "MIT", 1309 | "engines": { 1310 | "node": ">= 0.8" 1311 | } 1312 | }, 1313 | "node_modules/path-is-absolute": { 1314 | "version": "1.0.1", 1315 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1316 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1317 | "dev": true, 1318 | "license": "MIT", 1319 | "engines": { 1320 | "node": ">=0.10.0" 1321 | } 1322 | }, 1323 | "node_modules/path-parse": { 1324 | "version": "1.0.7", 1325 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 1326 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 1327 | "dev": true, 1328 | "license": "MIT" 1329 | }, 1330 | "node_modules/path-to-regexp": { 1331 | "version": "8.2.0", 1332 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", 1333 | "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==", 1334 | "license": "MIT", 1335 | "engines": { 1336 | "node": ">=16" 1337 | } 1338 | }, 1339 | "node_modules/picomatch": { 1340 | "version": "2.3.1", 1341 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1342 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1343 | "dev": true, 1344 | "license": "MIT", 1345 | "engines": { 1346 | "node": ">=8.6" 1347 | }, 1348 | "funding": { 1349 | "url": "https://github.com/sponsors/jonschlinkert" 1350 | } 1351 | }, 1352 | "node_modules/pkce-challenge": { 1353 | "version": "4.1.0", 1354 | "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-4.1.0.tgz", 1355 | "integrity": "sha512-ZBmhE1C9LcPoH9XZSdwiPtbPHZROwAnMy+kIFQVrnMCxY4Cudlz3gBOpzilgc0jOgRaiT3sIWfpMomW2ar2orQ==", 1356 | "license": "MIT", 1357 | "engines": { 1358 | "node": ">=16.20.0" 1359 | } 1360 | }, 1361 | "node_modules/proxy-addr": { 1362 | "version": "2.0.7", 1363 | "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", 1364 | "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", 1365 | "license": "MIT", 1366 | "dependencies": { 1367 | "forwarded": "0.2.0", 1368 | "ipaddr.js": "1.9.1" 1369 | }, 1370 | "engines": { 1371 | "node": ">= 0.10" 1372 | } 1373 | }, 1374 | "node_modules/proxy-from-env": { 1375 | "version": "1.1.0", 1376 | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", 1377 | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", 1378 | "license": "MIT" 1379 | }, 1380 | "node_modules/qs": { 1381 | "version": "6.13.0", 1382 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", 1383 | "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", 1384 | "license": "BSD-3-Clause", 1385 | "dependencies": { 1386 | "side-channel": "^1.0.6" 1387 | }, 1388 | "engines": { 1389 | "node": ">=0.6" 1390 | }, 1391 | "funding": { 1392 | "url": "https://github.com/sponsors/ljharb" 1393 | } 1394 | }, 1395 | "node_modules/range-parser": { 1396 | "version": "1.2.1", 1397 | "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 1398 | "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", 1399 | "license": "MIT", 1400 | "engines": { 1401 | "node": ">= 0.6" 1402 | } 1403 | }, 1404 | "node_modules/raw-body": { 1405 | "version": "3.0.0", 1406 | "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.0.tgz", 1407 | "integrity": "sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==", 1408 | "license": "MIT", 1409 | "dependencies": { 1410 | "bytes": "3.1.2", 1411 | "http-errors": "2.0.0", 1412 | "iconv-lite": "0.6.3", 1413 | "unpipe": "1.0.0" 1414 | }, 1415 | "engines": { 1416 | "node": ">= 0.8" 1417 | } 1418 | }, 1419 | "node_modules/raw-body/node_modules/iconv-lite": { 1420 | "version": "0.6.3", 1421 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", 1422 | "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", 1423 | "license": "MIT", 1424 | "dependencies": { 1425 | "safer-buffer": ">= 2.1.2 < 3.0.0" 1426 | }, 1427 | "engines": { 1428 | "node": ">=0.10.0" 1429 | } 1430 | }, 1431 | "node_modules/readdirp": { 1432 | "version": "3.6.0", 1433 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 1434 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 1435 | "dev": true, 1436 | "license": "MIT", 1437 | "dependencies": { 1438 | "picomatch": "^2.2.1" 1439 | }, 1440 | "engines": { 1441 | "node": ">=8.10.0" 1442 | } 1443 | }, 1444 | "node_modules/resolve": { 1445 | "version": "1.22.10", 1446 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", 1447 | "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", 1448 | "dev": true, 1449 | "license": "MIT", 1450 | "dependencies": { 1451 | "is-core-module": "^2.16.0", 1452 | "path-parse": "^1.0.7", 1453 | "supports-preserve-symlinks-flag": "^1.0.0" 1454 | }, 1455 | "bin": { 1456 | "resolve": "bin/resolve" 1457 | }, 1458 | "engines": { 1459 | "node": ">= 0.4" 1460 | }, 1461 | "funding": { 1462 | "url": "https://github.com/sponsors/ljharb" 1463 | } 1464 | }, 1465 | "node_modules/rimraf": { 1466 | "version": "2.7.1", 1467 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", 1468 | "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", 1469 | "deprecated": "Rimraf versions prior to v4 are no longer supported", 1470 | "dev": true, 1471 | "license": "ISC", 1472 | "dependencies": { 1473 | "glob": "^7.1.3" 1474 | }, 1475 | "bin": { 1476 | "rimraf": "bin.js" 1477 | } 1478 | }, 1479 | "node_modules/router": { 1480 | "version": "2.1.0", 1481 | "resolved": "https://registry.npmjs.org/router/-/router-2.1.0.tgz", 1482 | "integrity": "sha512-/m/NSLxeYEgWNtyC+WtNHCF7jbGxOibVWKnn+1Psff4dJGOfoXP+MuC/f2CwSmyiHdOIzYnYFp4W6GxWfekaLA==", 1483 | "license": "MIT", 1484 | "dependencies": { 1485 | "is-promise": "^4.0.0", 1486 | "parseurl": "^1.3.3", 1487 | "path-to-regexp": "^8.0.0" 1488 | }, 1489 | "engines": { 1490 | "node": ">= 18" 1491 | } 1492 | }, 1493 | "node_modules/safe-buffer": { 1494 | "version": "5.2.1", 1495 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1496 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1497 | "funding": [ 1498 | { 1499 | "type": "github", 1500 | "url": "https://github.com/sponsors/feross" 1501 | }, 1502 | { 1503 | "type": "patreon", 1504 | "url": "https://www.patreon.com/feross" 1505 | }, 1506 | { 1507 | "type": "consulting", 1508 | "url": "https://feross.org/support" 1509 | } 1510 | ], 1511 | "license": "MIT" 1512 | }, 1513 | "node_modules/safer-buffer": { 1514 | "version": "2.1.2", 1515 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1516 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 1517 | "license": "MIT" 1518 | }, 1519 | "node_modules/send": { 1520 | "version": "1.1.0", 1521 | "resolved": "https://registry.npmjs.org/send/-/send-1.1.0.tgz", 1522 | "integrity": "sha512-v67WcEouB5GxbTWL/4NeToqcZiAWEq90N888fczVArY8A79J0L4FD7vj5hm3eUMua5EpoQ59wa/oovY6TLvRUA==", 1523 | "license": "MIT", 1524 | "dependencies": { 1525 | "debug": "^4.3.5", 1526 | "destroy": "^1.2.0", 1527 | "encodeurl": "^2.0.0", 1528 | "escape-html": "^1.0.3", 1529 | "etag": "^1.8.1", 1530 | "fresh": "^0.5.2", 1531 | "http-errors": "^2.0.0", 1532 | "mime-types": "^2.1.35", 1533 | "ms": "^2.1.3", 1534 | "on-finished": "^2.4.1", 1535 | "range-parser": "^1.2.1", 1536 | "statuses": "^2.0.1" 1537 | }, 1538 | "engines": { 1539 | "node": ">= 18" 1540 | } 1541 | }, 1542 | "node_modules/send/node_modules/fresh": { 1543 | "version": "0.5.2", 1544 | "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 1545 | "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", 1546 | "license": "MIT", 1547 | "engines": { 1548 | "node": ">= 0.6" 1549 | } 1550 | }, 1551 | "node_modules/send/node_modules/ms": { 1552 | "version": "2.1.3", 1553 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1554 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 1555 | "license": "MIT" 1556 | }, 1557 | "node_modules/serve-static": { 1558 | "version": "2.1.0", 1559 | "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.1.0.tgz", 1560 | "integrity": "sha512-A3We5UfEjG8Z7VkDv6uItWw6HY2bBSBJT1KtVESn6EOoOr2jAxNhxWCLY3jDE2WcuHXByWju74ck3ZgLwL8xmA==", 1561 | "license": "MIT", 1562 | "dependencies": { 1563 | "encodeurl": "^2.0.0", 1564 | "escape-html": "^1.0.3", 1565 | "parseurl": "^1.3.3", 1566 | "send": "^1.0.0" 1567 | }, 1568 | "engines": { 1569 | "node": ">= 18" 1570 | } 1571 | }, 1572 | "node_modules/setprototypeof": { 1573 | "version": "1.2.0", 1574 | "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", 1575 | "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", 1576 | "license": "ISC" 1577 | }, 1578 | "node_modules/side-channel": { 1579 | "version": "1.1.0", 1580 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", 1581 | "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", 1582 | "license": "MIT", 1583 | "dependencies": { 1584 | "es-errors": "^1.3.0", 1585 | "object-inspect": "^1.13.3", 1586 | "side-channel-list": "^1.0.0", 1587 | "side-channel-map": "^1.0.1", 1588 | "side-channel-weakmap": "^1.0.2" 1589 | }, 1590 | "engines": { 1591 | "node": ">= 0.4" 1592 | }, 1593 | "funding": { 1594 | "url": "https://github.com/sponsors/ljharb" 1595 | } 1596 | }, 1597 | "node_modules/side-channel-list": { 1598 | "version": "1.0.0", 1599 | "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", 1600 | "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", 1601 | "license": "MIT", 1602 | "dependencies": { 1603 | "es-errors": "^1.3.0", 1604 | "object-inspect": "^1.13.3" 1605 | }, 1606 | "engines": { 1607 | "node": ">= 0.4" 1608 | }, 1609 | "funding": { 1610 | "url": "https://github.com/sponsors/ljharb" 1611 | } 1612 | }, 1613 | "node_modules/side-channel-map": { 1614 | "version": "1.0.1", 1615 | "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", 1616 | "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", 1617 | "license": "MIT", 1618 | "dependencies": { 1619 | "call-bound": "^1.0.2", 1620 | "es-errors": "^1.3.0", 1621 | "get-intrinsic": "^1.2.5", 1622 | "object-inspect": "^1.13.3" 1623 | }, 1624 | "engines": { 1625 | "node": ">= 0.4" 1626 | }, 1627 | "funding": { 1628 | "url": "https://github.com/sponsors/ljharb" 1629 | } 1630 | }, 1631 | "node_modules/side-channel-weakmap": { 1632 | "version": "1.0.2", 1633 | "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", 1634 | "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", 1635 | "license": "MIT", 1636 | "dependencies": { 1637 | "call-bound": "^1.0.2", 1638 | "es-errors": "^1.3.0", 1639 | "get-intrinsic": "^1.2.5", 1640 | "object-inspect": "^1.13.3", 1641 | "side-channel-map": "^1.0.1" 1642 | }, 1643 | "engines": { 1644 | "node": ">= 0.4" 1645 | }, 1646 | "funding": { 1647 | "url": "https://github.com/sponsors/ljharb" 1648 | } 1649 | }, 1650 | "node_modules/source-map": { 1651 | "version": "0.6.1", 1652 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 1653 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 1654 | "dev": true, 1655 | "license": "BSD-3-Clause", 1656 | "engines": { 1657 | "node": ">=0.10.0" 1658 | } 1659 | }, 1660 | "node_modules/source-map-support": { 1661 | "version": "0.5.21", 1662 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", 1663 | "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", 1664 | "dev": true, 1665 | "license": "MIT", 1666 | "dependencies": { 1667 | "buffer-from": "^1.0.0", 1668 | "source-map": "^0.6.0" 1669 | } 1670 | }, 1671 | "node_modules/statuses": { 1672 | "version": "2.0.1", 1673 | "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", 1674 | "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", 1675 | "license": "MIT", 1676 | "engines": { 1677 | "node": ">= 0.8" 1678 | } 1679 | }, 1680 | "node_modules/strip-bom": { 1681 | "version": "3.0.0", 1682 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", 1683 | "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", 1684 | "dev": true, 1685 | "license": "MIT", 1686 | "engines": { 1687 | "node": ">=4" 1688 | } 1689 | }, 1690 | "node_modules/strip-json-comments": { 1691 | "version": "2.0.1", 1692 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1693 | "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", 1694 | "dev": true, 1695 | "license": "MIT", 1696 | "engines": { 1697 | "node": ">=0.10.0" 1698 | } 1699 | }, 1700 | "node_modules/supports-preserve-symlinks-flag": { 1701 | "version": "1.0.0", 1702 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 1703 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 1704 | "dev": true, 1705 | "license": "MIT", 1706 | "engines": { 1707 | "node": ">= 0.4" 1708 | }, 1709 | "funding": { 1710 | "url": "https://github.com/sponsors/ljharb" 1711 | } 1712 | }, 1713 | "node_modules/to-regex-range": { 1714 | "version": "5.0.1", 1715 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1716 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1717 | "dev": true, 1718 | "license": "MIT", 1719 | "dependencies": { 1720 | "is-number": "^7.0.0" 1721 | }, 1722 | "engines": { 1723 | "node": ">=8.0" 1724 | } 1725 | }, 1726 | "node_modules/toidentifier": { 1727 | "version": "1.0.1", 1728 | "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", 1729 | "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", 1730 | "license": "MIT", 1731 | "engines": { 1732 | "node": ">=0.6" 1733 | } 1734 | }, 1735 | "node_modules/tree-kill": { 1736 | "version": "1.2.2", 1737 | "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", 1738 | "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", 1739 | "dev": true, 1740 | "license": "MIT", 1741 | "bin": { 1742 | "tree-kill": "cli.js" 1743 | } 1744 | }, 1745 | "node_modules/ts-node": { 1746 | "version": "10.9.2", 1747 | "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", 1748 | "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", 1749 | "dev": true, 1750 | "license": "MIT", 1751 | "dependencies": { 1752 | "@cspotcode/source-map-support": "^0.8.0", 1753 | "@tsconfig/node10": "^1.0.7", 1754 | "@tsconfig/node12": "^1.0.7", 1755 | "@tsconfig/node14": "^1.0.0", 1756 | "@tsconfig/node16": "^1.0.2", 1757 | "acorn": "^8.4.1", 1758 | "acorn-walk": "^8.1.1", 1759 | "arg": "^4.1.0", 1760 | "create-require": "^1.1.0", 1761 | "diff": "^4.0.1", 1762 | "make-error": "^1.1.1", 1763 | "v8-compile-cache-lib": "^3.0.1", 1764 | "yn": "3.1.1" 1765 | }, 1766 | "bin": { 1767 | "ts-node": "dist/bin.js", 1768 | "ts-node-cwd": "dist/bin-cwd.js", 1769 | "ts-node-esm": "dist/bin-esm.js", 1770 | "ts-node-script": "dist/bin-script.js", 1771 | "ts-node-transpile-only": "dist/bin-transpile.js", 1772 | "ts-script": "dist/bin-script-deprecated.js" 1773 | }, 1774 | "peerDependencies": { 1775 | "@swc/core": ">=1.2.50", 1776 | "@swc/wasm": ">=1.2.50", 1777 | "@types/node": "*", 1778 | "typescript": ">=2.7" 1779 | }, 1780 | "peerDependenciesMeta": { 1781 | "@swc/core": { 1782 | "optional": true 1783 | }, 1784 | "@swc/wasm": { 1785 | "optional": true 1786 | } 1787 | } 1788 | }, 1789 | "node_modules/ts-node-dev": { 1790 | "version": "2.0.0", 1791 | "resolved": "https://registry.npmjs.org/ts-node-dev/-/ts-node-dev-2.0.0.tgz", 1792 | "integrity": "sha512-ywMrhCfH6M75yftYvrvNarLEY+SUXtUvU8/0Z6llrHQVBx12GiFk5sStF8UdfE/yfzk9IAq7O5EEbTQsxlBI8w==", 1793 | "dev": true, 1794 | "license": "MIT", 1795 | "dependencies": { 1796 | "chokidar": "^3.5.1", 1797 | "dynamic-dedupe": "^0.3.0", 1798 | "minimist": "^1.2.6", 1799 | "mkdirp": "^1.0.4", 1800 | "resolve": "^1.0.0", 1801 | "rimraf": "^2.6.1", 1802 | "source-map-support": "^0.5.12", 1803 | "tree-kill": "^1.2.2", 1804 | "ts-node": "^10.4.0", 1805 | "tsconfig": "^7.0.0" 1806 | }, 1807 | "bin": { 1808 | "ts-node-dev": "lib/bin.js", 1809 | "tsnd": "lib/bin.js" 1810 | }, 1811 | "engines": { 1812 | "node": ">=0.8.0" 1813 | }, 1814 | "peerDependencies": { 1815 | "node-notifier": "*", 1816 | "typescript": "*" 1817 | }, 1818 | "peerDependenciesMeta": { 1819 | "node-notifier": { 1820 | "optional": true 1821 | } 1822 | } 1823 | }, 1824 | "node_modules/tsconfig": { 1825 | "version": "7.0.0", 1826 | "resolved": "https://registry.npmjs.org/tsconfig/-/tsconfig-7.0.0.tgz", 1827 | "integrity": "sha512-vZXmzPrL+EmC4T/4rVlT2jNVMWCi/O4DIiSj3UHg1OE5kCKbk4mfrXc6dZksLgRM/TZlKnousKH9bbTazUWRRw==", 1828 | "dev": true, 1829 | "license": "MIT", 1830 | "dependencies": { 1831 | "@types/strip-bom": "^3.0.0", 1832 | "@types/strip-json-comments": "0.0.30", 1833 | "strip-bom": "^3.0.0", 1834 | "strip-json-comments": "^2.0.0" 1835 | } 1836 | }, 1837 | "node_modules/type-is": { 1838 | "version": "2.0.0", 1839 | "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.0.tgz", 1840 | "integrity": "sha512-gd0sGezQYCbWSbkZr75mln4YBidWUN60+devscpLF5mtRDUpiaTvKpBNrdaCvel1NdR2k6vclXybU5fBd2i+nw==", 1841 | "license": "MIT", 1842 | "dependencies": { 1843 | "content-type": "^1.0.5", 1844 | "media-typer": "^1.1.0", 1845 | "mime-types": "^3.0.0" 1846 | }, 1847 | "engines": { 1848 | "node": ">= 0.6" 1849 | } 1850 | }, 1851 | "node_modules/type-is/node_modules/mime-db": { 1852 | "version": "1.54.0", 1853 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", 1854 | "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", 1855 | "license": "MIT", 1856 | "engines": { 1857 | "node": ">= 0.6" 1858 | } 1859 | }, 1860 | "node_modules/type-is/node_modules/mime-types": { 1861 | "version": "3.0.0", 1862 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.0.tgz", 1863 | "integrity": "sha512-XqoSHeCGjVClAmoGFG3lVFqQFRIrTVw2OH3axRqAcfaw+gHWIfnASS92AV+Rl/mk0MupgZTRHQOjxY6YVnzK5w==", 1864 | "license": "MIT", 1865 | "dependencies": { 1866 | "mime-db": "^1.53.0" 1867 | }, 1868 | "engines": { 1869 | "node": ">= 0.6" 1870 | } 1871 | }, 1872 | "node_modules/typescript": { 1873 | "version": "5.8.2", 1874 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", 1875 | "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", 1876 | "dev": true, 1877 | "license": "Apache-2.0", 1878 | "bin": { 1879 | "tsc": "bin/tsc", 1880 | "tsserver": "bin/tsserver" 1881 | }, 1882 | "engines": { 1883 | "node": ">=14.17" 1884 | } 1885 | }, 1886 | "node_modules/undici-types": { 1887 | "version": "6.20.0", 1888 | "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", 1889 | "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", 1890 | "dev": true, 1891 | "license": "MIT", 1892 | "peer": true 1893 | }, 1894 | "node_modules/unpipe": { 1895 | "version": "1.0.0", 1896 | "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 1897 | "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", 1898 | "license": "MIT", 1899 | "engines": { 1900 | "node": ">= 0.8" 1901 | } 1902 | }, 1903 | "node_modules/utils-merge": { 1904 | "version": "1.0.1", 1905 | "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 1906 | "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", 1907 | "license": "MIT", 1908 | "engines": { 1909 | "node": ">= 0.4.0" 1910 | } 1911 | }, 1912 | "node_modules/v8-compile-cache-lib": { 1913 | "version": "3.0.1", 1914 | "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", 1915 | "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", 1916 | "dev": true, 1917 | "license": "MIT" 1918 | }, 1919 | "node_modules/vary": { 1920 | "version": "1.1.2", 1921 | "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 1922 | "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", 1923 | "license": "MIT", 1924 | "engines": { 1925 | "node": ">= 0.8" 1926 | } 1927 | }, 1928 | "node_modules/wrappy": { 1929 | "version": "1.0.2", 1930 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1931 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 1932 | "license": "ISC" 1933 | }, 1934 | "node_modules/xtend": { 1935 | "version": "4.0.2", 1936 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 1937 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", 1938 | "dev": true, 1939 | "license": "MIT", 1940 | "engines": { 1941 | "node": ">=0.4" 1942 | } 1943 | }, 1944 | "node_modules/yn": { 1945 | "version": "3.1.1", 1946 | "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", 1947 | "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", 1948 | "dev": true, 1949 | "license": "MIT", 1950 | "engines": { 1951 | "node": ">=6" 1952 | } 1953 | }, 1954 | "node_modules/zod": { 1955 | "version": "3.24.2", 1956 | "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz", 1957 | "integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==", 1958 | "license": "MIT", 1959 | "funding": { 1960 | "url": "https://github.com/sponsors/colinhacks" 1961 | } 1962 | }, 1963 | "node_modules/zod-to-json-schema": { 1964 | "version": "3.24.4", 1965 | "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.4.tgz", 1966 | "integrity": "sha512-0uNlcvgabyrni9Ag8Vghj21drk7+7tp7VTwwR7KxxXXc/3pbXz2PHlDgj3cICahgF1kHm4dExBFj7BXrZJXzig==", 1967 | "license": "ISC", 1968 | "peerDependencies": { 1969 | "zod": "^3.24.1" 1970 | } 1971 | } 1972 | } 1973 | } 1974 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "obsidian-mcp", 3 | "version": "1.0.0", 4 | "description": "Obsidian MCP TypeScript implementation", 5 | "main": "dist/index.js", 6 | "types": "dist/index.d.ts", 7 | "bin": { 8 | "obsidian-mcp": "dist/main.js" 9 | }, 10 | "files": [ 11 | "dist" 12 | ], 13 | "scripts": { 14 | "build": "tsc", 15 | "start": "node dist/main.js", 16 | "dev": "ts-node src/main.ts", 17 | "start:dev": "ts-node-dev --respawn src/main.ts", 18 | "example": "ts-node examples/simple.ts", 19 | "mcp": "node dist/main.js", 20 | "prepublishOnly": "npm run build", 21 | "test": "echo \"Error: no test specified\" && exit 1" 22 | }, 23 | "keywords": [ 24 | "obsidian", 25 | "mcp", 26 | "typescript", 27 | "claude", 28 | "ai", 29 | "note-taking", 30 | "pkm", 31 | "model-context-protocol" 32 | ], 33 | "author": "", 34 | "license": "ISC", 35 | "repository": { 36 | "type": "git", 37 | "url": "git+https://github.com/yourusername/obsidian-mcp.git" 38 | }, 39 | "bugs": { 40 | "url": "https://github.com/yourusername/obsidian-mcp/issues" 41 | }, 42 | "homepage": "https://github.com/yourusername/obsidian-mcp#readme", 43 | "dependencies": { 44 | "@modelcontextprotocol/sdk": "^1.6.1", 45 | "axios": "^1.6.0", 46 | "dotenv": "^16.3.1", 47 | "zod": "^3.22.4" 48 | }, 49 | "devDependencies": { 50 | "ts-node": "^10.9.1", 51 | "ts-node-dev": "^2.0.0", 52 | "typescript": "^5.0.4" 53 | }, 54 | "engines": { 55 | "node": ">=16.0.0" 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | import { startServer } from './mcp-server'; 4 | 5 | async function main() { 6 | console.error('----------------------------------------'); 7 | console.error('Starting Obsidian MCP server...'); 8 | console.error('This server is designed to work with Claude Desktop'); 9 | console.error('Check README.md for configuration instructions'); 10 | console.error('----------------------------------------'); 11 | 12 | try { 13 | await startServer(); 14 | } catch (error) { 15 | console.error('Error starting MCP server:', error); 16 | process.exit(1); 17 | } 18 | } 19 | 20 | // Handle termination signals 21 | process.on('SIGINT', () => { 22 | console.error('Received SIGINT - shutting down Obsidian MCP server'); 23 | process.exit(0); 24 | }); 25 | 26 | process.on('SIGTERM', () => { 27 | console.error('Received SIGTERM - shutting down Obsidian MCP server'); 28 | process.exit(0); 29 | }); 30 | 31 | main(); -------------------------------------------------------------------------------- /src/mcp-server.ts: -------------------------------------------------------------------------------- 1 | import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; 2 | import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'; 3 | import { z } from 'zod'; 4 | import { ObsidianMCP } from './server'; 5 | import * as tools from './tools'; 6 | import { NOTE_SUMMARIZATION_PROMPT } from './prompts'; 7 | import * as dotenv from 'dotenv'; 8 | 9 | dotenv.config(); 10 | 11 | const apiKey = process.env.OBSIDIAN_API_KEY; 12 | if (!apiKey) { 13 | console.error('OBSIDIAN_API_KEY environment variable is required'); 14 | process.exit(1); 15 | } 16 | 17 | // Create the Obsidian client 18 | const obsidianClient = new ObsidianMCP(apiKey); 19 | 20 | // Get tool descriptions from the tools.ts handlers 21 | const listFilesInVaultHandler = new tools.ListFilesInVaultToolHandler(obsidianClient.getObsidian()); 22 | const listFilesInDirHandler = new tools.ListFilesInDirToolHandler(obsidianClient.getObsidian()); 23 | const searchHandler = new tools.SearchToolHandler(obsidianClient.getObsidian()); 24 | const complexSearchHandler = new tools.ComplexSearchToolHandler(obsidianClient.getObsidian()); 25 | const getFileContentsHandler = new tools.GetFileContentsToolHandler(obsidianClient.getObsidian()); 26 | const batchGetFileContentsHandler = new tools.BatchGetFileContentsToolHandler(obsidianClient.getObsidian()); 27 | const appendContentHandler = new tools.AppendContentToolHandler(obsidianClient.getObsidian()); 28 | const patchContentHandler = new tools.PatchContentToolHandler(obsidianClient.getObsidian()); 29 | 30 | // Create an MCP server 31 | const server = new McpServer({ 32 | name: 'Obsidian', 33 | version: '1.0.0' 34 | }); 35 | 36 | // Register search tools 37 | server.tool( 38 | tools.TOOL_LIST_FILES_IN_VAULT, 39 | listFilesInVaultHandler.getToolDescription().description, 40 | async () => { 41 | const result = await obsidianClient.runTool(tools.TOOL_LIST_FILES_IN_VAULT, {}); 42 | const textContent = result[0]; 43 | if (textContent.type === 'text') { 44 | return { 45 | content: [{ type: 'text', text: textContent.text }] 46 | }; 47 | } 48 | throw new Error('Unexpected result type from tool'); 49 | } 50 | ); 51 | 52 | server.tool( 53 | tools.TOOL_LIST_FILES_IN_DIR, 54 | listFilesInDirHandler.getToolDescription().description, 55 | { 56 | dirpath: z.string().describe(listFilesInDirHandler.getToolDescription().inputSchema.properties.dirpath.description) 57 | }, 58 | async ({ dirpath }) => { 59 | const result = await obsidianClient.runTool(tools.TOOL_LIST_FILES_IN_DIR, { dirpath }); 60 | const textContent = result[0]; 61 | if (textContent.type === 'text') { 62 | return { 63 | content: [{ type: 'text', text: textContent.text }] 64 | }; 65 | } 66 | throw new Error('Unexpected result type from tool'); 67 | } 68 | ); 69 | 70 | server.tool( 71 | tools.TOOL_SEARCH, 72 | searchHandler.getToolDescription().description, 73 | { 74 | query: z.string().describe(searchHandler.getToolDescription().inputSchema.properties.query.description), 75 | context_length: z.number().optional().describe(searchHandler.getToolDescription().inputSchema.properties.context_length.description) 76 | }, 77 | async ({ query, context_length }) => { 78 | const result = await obsidianClient.runTool(tools.TOOL_SEARCH, { query, context_length }); 79 | const textContent = result[0]; 80 | if (textContent.type === 'text') { 81 | return { 82 | content: [{ type: 'text', text: textContent.text }] 83 | }; 84 | } 85 | throw new Error('Unexpected result type from tool'); 86 | } 87 | ); 88 | 89 | server.tool( 90 | tools.TOOL_COMPLEX_SEARCH, 91 | complexSearchHandler.getToolDescription().description, 92 | { 93 | query: z.record(z.any()).describe(complexSearchHandler.getToolDescription().inputSchema.properties.query.description) 94 | }, 95 | async ({ query }) => { 96 | const result = await obsidianClient.runTool(tools.TOOL_COMPLEX_SEARCH, { query }); 97 | const textContent = result[0]; 98 | if (textContent.type === 'text') { 99 | return { 100 | content: [{ type: 'text', text: textContent.text }] 101 | }; 102 | } 103 | throw new Error('Unexpected result type from tool'); 104 | } 105 | ); 106 | 107 | // Register read tools 108 | server.tool( 109 | tools.TOOL_GET_FILE_CONTENTS, 110 | getFileContentsHandler.getToolDescription().description, 111 | { 112 | filepath: z.string().describe(getFileContentsHandler.getToolDescription().inputSchema.properties.filepath.description) 113 | }, 114 | async ({ filepath }) => { 115 | const result = await obsidianClient.runTool(tools.TOOL_GET_FILE_CONTENTS, { filepath }); 116 | const textContent = result[0]; 117 | if (textContent.type === 'text') { 118 | return { 119 | content: [{ type: 'text', text: textContent.text }] 120 | }; 121 | } 122 | throw new Error('Unexpected result type from tool'); 123 | } 124 | ); 125 | 126 | server.tool( 127 | tools.TOOL_BATCH_GET_FILE_CONTENTS, 128 | batchGetFileContentsHandler.getToolDescription().description, 129 | { 130 | filepaths: z.array(z.string()).describe(batchGetFileContentsHandler.getToolDescription().inputSchema.properties.filepaths.description) 131 | }, 132 | async ({ filepaths }) => { 133 | const result = await obsidianClient.runTool(tools.TOOL_BATCH_GET_FILE_CONTENTS, { filepaths }); 134 | const textContent = result[0]; 135 | if (textContent.type === 'text') { 136 | return { 137 | content: [{ type: 'text', text: textContent.text }] 138 | }; 139 | } 140 | throw new Error('Unexpected result type from tool'); 141 | } 142 | ); 143 | 144 | // Register write tools 145 | server.tool( 146 | tools.TOOL_APPEND_CONTENT, 147 | appendContentHandler.getToolDescription().description, 148 | { 149 | filepath: z.string().describe(appendContentHandler.getToolDescription().inputSchema.properties.filepath.description), 150 | content: z.string().describe(appendContentHandler.getToolDescription().inputSchema.properties.content.description) 151 | }, 152 | async ({ filepath, content }) => { 153 | const result = await obsidianClient.runTool(tools.TOOL_APPEND_CONTENT, { filepath, content }); 154 | const textContent = result[0]; 155 | if (textContent.type === 'text') { 156 | return { 157 | content: [{ type: 'text', text: textContent.text }] 158 | }; 159 | } 160 | throw new Error('Unexpected result type from tool'); 161 | } 162 | ); 163 | 164 | server.tool( 165 | tools.TOOL_PATCH_CONTENT, 166 | patchContentHandler.getToolDescription().description, 167 | { 168 | filepath: z.string().describe(patchContentHandler.getToolDescription().inputSchema.properties.filepath.description), 169 | operation: z.enum(['append', 'prepend', 'replace']).describe(patchContentHandler.getToolDescription().inputSchema.properties.operation.description), 170 | target_type: z.enum(['heading', 'block', 'frontmatter']).describe(patchContentHandler.getToolDescription().inputSchema.properties.target_type.description), 171 | target: z.string().describe(patchContentHandler.getToolDescription().inputSchema.properties.target.description), 172 | content: z.string().describe(patchContentHandler.getToolDescription().inputSchema.properties.content.description) 173 | }, 174 | async ({ filepath, operation, target_type, target, content }) => { 175 | const result = await obsidianClient.runTool(tools.TOOL_PATCH_CONTENT, { 176 | filepath, 177 | operation, 178 | target_type, 179 | target, 180 | content 181 | }); 182 | const textContent = result[0]; 183 | if (textContent.type === 'text') { 184 | return { 185 | content: [{ type: 'text', text: textContent.text }] 186 | }; 187 | } 188 | throw new Error('Unexpected result type from tool'); 189 | } 190 | ); 191 | 192 | // Register prompts 193 | server.prompt( 194 | 'note_summarization', 195 | { 196 | note_content: z.string().describe('The content of the note to summarize') 197 | }, 198 | ({ note_content }) => { 199 | const promptText = NOTE_SUMMARIZATION_PROMPT.promptText.replace( 200 | '{{note_content}}', 201 | note_content 202 | ); 203 | 204 | return { 205 | messages: [ 206 | { 207 | role: 'user', 208 | content: { 209 | type: 'text', 210 | text: promptText 211 | } 212 | } 213 | ] 214 | }; 215 | } 216 | ); 217 | 218 | export async function startServer() { 219 | try { 220 | // Start receiving messages on stdin and sending messages on stdout 221 | const transport = new StdioServerTransport(); 222 | console.error('Starting Obsidian MCP server...'); 223 | await server.connect(transport); 224 | console.error('Obsidian MCP server connected and ready.'); 225 | } catch (error) { 226 | console.error('Failed to start MCP server:', error); 227 | process.exit(1); 228 | } 229 | } 230 | 231 | export default server; -------------------------------------------------------------------------------- /src/obsidian.ts: -------------------------------------------------------------------------------- 1 | import axios, { AxiosInstance, AxiosResponse } from 'axios'; 2 | import { URLSearchParams } from 'url'; 3 | import https from 'https'; 4 | 5 | export interface ObsidianConfig { 6 | apiKey: string; 7 | protocol?: string; 8 | host?: string; 9 | port?: number; 10 | verifySSL?: boolean; 11 | } 12 | 13 | export class Obsidian { 14 | private apiKey: string; 15 | private protocol: string; 16 | private host: string; 17 | private port: number; 18 | private verifySSL: boolean; 19 | private client: AxiosInstance; 20 | 21 | constructor({ 22 | apiKey, 23 | protocol = 'https', 24 | host = '127.0.0.1', 25 | port = 27124, 26 | verifySSL = false, 27 | }: ObsidianConfig) { 28 | this.apiKey = apiKey; 29 | this.protocol = protocol; 30 | this.host = host; 31 | this.port = port; 32 | this.verifySSL = verifySSL; 33 | 34 | this.client = axios.create({ 35 | baseURL: this.getBaseUrl(), 36 | headers: this.getHeaders(), 37 | validateStatus: null, 38 | httpsAgent: verifySSL ? undefined : new https.Agent({ rejectUnauthorized: false }), 39 | timeout: 6000, 40 | }); 41 | } 42 | 43 | private getBaseUrl(): string { 44 | return `${this.protocol}://${this.host}:${this.port}`; 45 | } 46 | 47 | private getHeaders(): Record { 48 | return { 49 | 'Authorization': `Bearer ${this.apiKey}` 50 | }; 51 | } 52 | 53 | private async safeCall(fn: () => Promise): Promise { 54 | try { 55 | const response = await fn(); 56 | 57 | if (response.status >= 400) { 58 | const errorData = response.data || {}; 59 | const code = errorData.errorCode || -1; 60 | const message = errorData.message || ''; 61 | throw new Error(`Error ${code}: ${message}`); 62 | } 63 | 64 | return response.data; 65 | } catch (error) { 66 | if (axios.isAxiosError(error)) { 67 | throw new Error(`Request failed: ${error.message}`); 68 | } 69 | throw error; 70 | } 71 | } 72 | 73 | async listFilesInVault(): Promise { 74 | return this.safeCall(async () => { 75 | const response = await this.client.get('/vault/'); 76 | return response; 77 | }).then(data => data.files); 78 | } 79 | 80 | async listFilesInDir(dirpath: string): Promise { 81 | return this.safeCall(async () => { 82 | const response = await this.client.get(`/vault/${dirpath}/`); 83 | return response; 84 | }).then(data => data.files); 85 | } 86 | 87 | async getFileContents(filepath: string): Promise { 88 | return this.safeCall(async () => { 89 | const response = await this.client.get(`/vault/${filepath}`); 90 | return response; 91 | }); 92 | } 93 | 94 | async getBatchFileContents(filepaths: string[]): Promise { 95 | const results: string[] = []; 96 | 97 | for (const filepath of filepaths) { 98 | try { 99 | const content = await this.getFileContents(filepath); 100 | results.push(`# ${filepath}\n\n${content}\n\n---\n\n`); 101 | } catch (error) { 102 | results.push(`# ${filepath}\n\nError reading file: ${error instanceof Error ? error.message : String(error)}\n\n---\n\n`); 103 | } 104 | } 105 | 106 | return results.join(''); 107 | } 108 | 109 | async search(query: string, contextLength: number = 100): Promise { 110 | return this.safeCall(async () => { 111 | const response = await this.client.post('/search/simple/', null, { 112 | params: { 113 | query, 114 | contextLength 115 | } 116 | }); 117 | return response; 118 | }); 119 | } 120 | 121 | async appendContent(filepath: string, content: string): Promise { 122 | return this.safeCall(async () => { 123 | const response = await this.client.post( 124 | `/vault/${filepath}`, 125 | content, 126 | { 127 | headers: { 128 | ...this.getHeaders(), 129 | 'Content-Type': 'text/markdown' 130 | } 131 | } 132 | ); 133 | return response; 134 | }); 135 | } 136 | 137 | async patchContent( 138 | filepath: string, 139 | operation: 'append' | 'prepend' | 'replace', 140 | targetType: 'heading' | 'block' | 'frontmatter', 141 | target: string, 142 | content: string 143 | ): Promise { 144 | return this.safeCall(async () => { 145 | const response = await this.client.patch( 146 | `/vault/${filepath}`, 147 | content, 148 | { 149 | headers: { 150 | ...this.getHeaders(), 151 | 'Content-Type': 'text/markdown', 152 | 'Operation': operation, 153 | 'Target-Type': targetType, 154 | 'Target': encodeURIComponent(target) 155 | } 156 | } 157 | ); 158 | return response; 159 | }); 160 | } 161 | 162 | async searchJson(query: Record): Promise { 163 | return this.safeCall(async () => { 164 | const response = await this.client.post( 165 | '/search/', 166 | query, 167 | { 168 | headers: { 169 | ...this.getHeaders(), 170 | 'Content-Type': 'application/vnd.olrapi.jsonlogic+json' 171 | } 172 | } 173 | ); 174 | return response; 175 | }); 176 | } 177 | } -------------------------------------------------------------------------------- /src/prompts.ts: -------------------------------------------------------------------------------- 1 | export interface Prompt { 2 | name: string; 3 | description: string; 4 | promptText: string; 5 | } 6 | 7 | export const NOTE_SUMMARIZATION_PROMPT: Prompt = { 8 | name: 'note_summarization', 9 | description: 'Generate summaries for long notes', 10 | promptText: ` 11 | You are an expert note summarizer. Your task is to create a concise and informative summary of the provided note. 12 | 13 | Focus on capturing the main ideas, key points, and important details. Organize the information in a structured way. 14 | 15 | Here are some guidelines: 16 | 1. Start with a brief overview of what the note is about 17 | 2. Include the most important concepts/ideas discussed 18 | 3. Highlight any actionable items or conclusions 19 | 4. Preserve the original meaning and intent of the note 20 | 5. Use clear, concise language 21 | 22 | The summary should be complete enough that someone reading it would understand the core content without having to refer to the original note. 23 | 24 | Note to summarize: 25 | {{note_content}} 26 | `.trim() 27 | }; 28 | 29 | export const PROMPTS = [ 30 | NOTE_SUMMARIZATION_PROMPT 31 | ]; -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- 1 | import { Obsidian } from './obsidian'; 2 | import { 3 | ListFilesInVaultToolHandler, 4 | ListFilesInDirToolHandler, 5 | GetFileContentsToolHandler, 6 | SearchToolHandler, 7 | AppendContentToolHandler, 8 | PatchContentToolHandler, 9 | ComplexSearchToolHandler, 10 | BatchGetFileContentsToolHandler, 11 | ToolHandler 12 | } from './tools'; 13 | import { PROMPTS } from './prompts'; 14 | import { Tool } from './types'; 15 | 16 | export class ObsidianMCP { 17 | private obsidian: Obsidian; 18 | private toolHandlers: Map; 19 | 20 | constructor(apiKey: string, host: string = '127.0.0.1', port: number = 27124) { 21 | this.obsidian = new Obsidian({ apiKey, host, port }); 22 | this.toolHandlers = new Map(); 23 | 24 | this.registerTools(); 25 | } 26 | 27 | /** 28 | * Get the Obsidian instance 29 | * @returns The Obsidian instance 30 | */ 31 | getObsidian(): Obsidian { 32 | return this.obsidian; 33 | } 34 | 35 | private registerTools() { 36 | const handlers: ToolHandler[] = [ 37 | new ListFilesInVaultToolHandler(this.obsidian), 38 | new ListFilesInDirToolHandler(this.obsidian), 39 | new GetFileContentsToolHandler(this.obsidian), 40 | new SearchToolHandler(this.obsidian), 41 | new AppendContentToolHandler(this.obsidian), 42 | new PatchContentToolHandler(this.obsidian), 43 | new ComplexSearchToolHandler(this.obsidian), 44 | new BatchGetFileContentsToolHandler(this.obsidian), 45 | ]; 46 | 47 | for (const handler of handlers) { 48 | this.toolHandlers.set(handler.name, handler); 49 | } 50 | } 51 | 52 | getTools(): Tool[] { 53 | return Array.from(this.toolHandlers.values()).map(handler => handler.getToolDescription()); 54 | } 55 | 56 | getPrompts() { 57 | return PROMPTS; 58 | } 59 | 60 | async runTool(toolName: string, args: Record) { 61 | const handler = this.toolHandlers.get(toolName); 62 | if (!handler) { 63 | throw new Error(`Unknown tool: ${toolName}`); 64 | } 65 | 66 | return await handler.runTool(args); 67 | } 68 | } -------------------------------------------------------------------------------- /src/tools.ts: -------------------------------------------------------------------------------- 1 | import { Tool, ToolOutput, TextContent } from './types'; 2 | import { Obsidian } from './obsidian'; 3 | 4 | export const TOOL_LIST_FILES_IN_VAULT = 'obsidian_list_files_in_vault'; 5 | export const TOOL_LIST_FILES_IN_DIR = 'obsidian_list_files_in_dir'; 6 | export const TOOL_GET_FILE_CONTENTS = 'obsidian_get_file_contents'; 7 | export const TOOL_SEARCH = 'obsidian_simple_search'; 8 | export const TOOL_APPEND_CONTENT = 'obsidian_append_content'; 9 | export const TOOL_PATCH_CONTENT = 'obsidian_patch_content'; 10 | export const TOOL_COMPLEX_SEARCH = 'obsidian_complex_search'; 11 | export const TOOL_BATCH_GET_FILE_CONTENTS = 'obsidian_batch_get_file_contents'; 12 | 13 | export interface ToolHandler { 14 | name: string; 15 | getToolDescription(): Tool; 16 | runTool(args: Record): Promise; 17 | } 18 | 19 | export class ListFilesInVaultToolHandler implements ToolHandler { 20 | name: string; 21 | private obsidian: Obsidian; 22 | 23 | constructor(obsidian: Obsidian) { 24 | this.name = TOOL_LIST_FILES_IN_VAULT; 25 | this.obsidian = obsidian; 26 | } 27 | 28 | getToolDescription(): Tool { 29 | return { 30 | name: this.name, 31 | description: "Lists all files and directories in the root directory of your Obsidian vault. Use this to discover the top-level structure of your vault.", 32 | inputSchema: { 33 | type: "object", 34 | properties: {}, 35 | required: [] 36 | } 37 | }; 38 | } 39 | 40 | async runTool(args: Record): Promise { 41 | const files = await this.obsidian.listFilesInVault(); 42 | 43 | return [ 44 | { 45 | type: "text", 46 | text: JSON.stringify(files, null, 2) 47 | } 48 | ]; 49 | } 50 | } 51 | 52 | export class ListFilesInDirToolHandler implements ToolHandler { 53 | name: string; 54 | private obsidian: Obsidian; 55 | 56 | constructor(obsidian: Obsidian) { 57 | this.name = TOOL_LIST_FILES_IN_DIR; 58 | this.obsidian = obsidian; 59 | } 60 | 61 | getToolDescription(): Tool { 62 | return { 63 | name: this.name, 64 | description: "Lists all files and directories within a specific folder in your Obsidian vault. Use this to browse the contents of a particular directory.", 65 | inputSchema: { 66 | type: "object", 67 | properties: { 68 | dirpath: { 69 | type: "string", 70 | description: "Path to the directory to list (relative to your vault root, e.g., 'Daily Notes' or 'Projects'). Note that empty directories will not be returned." 71 | }, 72 | }, 73 | required: ["dirpath"] 74 | } 75 | }; 76 | } 77 | 78 | async runTool(args: Record): Promise { 79 | if (!args.dirpath) { 80 | throw new Error("dirpath argument missing in arguments"); 81 | } 82 | 83 | const files = await this.obsidian.listFilesInDir(args.dirpath); 84 | 85 | return [ 86 | { 87 | type: "text", 88 | text: JSON.stringify(files, null, 2) 89 | } 90 | ]; 91 | } 92 | } 93 | 94 | export class GetFileContentsToolHandler implements ToolHandler { 95 | name: string; 96 | private obsidian: Obsidian; 97 | 98 | constructor(obsidian: Obsidian) { 99 | this.name = TOOL_GET_FILE_CONTENTS; 100 | this.obsidian = obsidian; 101 | } 102 | 103 | getToolDescription(): Tool { 104 | return { 105 | name: this.name, 106 | description: "Retrieve the complete content of a single file from your vault. Use this when you need to read an entire note.", 107 | inputSchema: { 108 | type: "object", 109 | properties: { 110 | filepath: { 111 | type: "string", 112 | description: "Path to the file to read (relative to your vault root, e.g., 'Daily Notes/2023-01-01.md')", 113 | format: "path" 114 | }, 115 | }, 116 | required: ["filepath"] 117 | } 118 | }; 119 | } 120 | 121 | async runTool(args: Record): Promise { 122 | if (!args.filepath) { 123 | throw new Error("filepath argument missing in arguments"); 124 | } 125 | 126 | const content = await this.obsidian.getFileContents(args.filepath); 127 | 128 | return [ 129 | { 130 | type: "text", 131 | text: content 132 | } 133 | ]; 134 | } 135 | } 136 | 137 | export class SearchToolHandler implements ToolHandler { 138 | name: string; 139 | private obsidian: Obsidian; 140 | 141 | constructor(obsidian: Obsidian) { 142 | this.name = TOOL_SEARCH; 143 | this.obsidian = obsidian; 144 | } 145 | 146 | getToolDescription(): Tool { 147 | return { 148 | name: this.name, 149 | description: `Simple text search across all files in the vault. Returns matches with surrounding context. 150 | Use this tool when you need to find specific text or phrases in your notes. Results include filenames with matches and context around each match.`, 151 | inputSchema: { 152 | type: "object", 153 | properties: { 154 | query: { 155 | type: "string", 156 | description: "Text to search for in the vault. Can be a simple word, phrase, or pattern." 157 | }, 158 | context_length: { 159 | type: "integer", 160 | description: "How many characters of context to return around each matching string (default: 100)", 161 | default: 100 162 | } 163 | }, 164 | required: ["query"] 165 | } 166 | }; 167 | } 168 | 169 | async runTool(args: Record): Promise { 170 | if (!args.query) { 171 | throw new Error("query argument missing in arguments"); 172 | } 173 | 174 | const contextLength = args.context_length || 100; 175 | const results = await this.obsidian.search(args.query, contextLength); 176 | 177 | const formattedResults = results.map((result: any) => { 178 | const formattedMatches = (result.matches || []).map((match: any) => { 179 | const context = match.context || ''; 180 | const matchPos = match.match || {}; 181 | const start = matchPos.start || 0; 182 | const end = matchPos.end || 0; 183 | 184 | return { 185 | context, 186 | match_position: { start, end } 187 | }; 188 | }); 189 | 190 | return { 191 | filename: result.filename || '', 192 | score: result.score || 0, 193 | matches: formattedMatches 194 | }; 195 | }); 196 | 197 | return [ 198 | { 199 | type: "text", 200 | text: JSON.stringify(formattedResults, null, 2) 201 | } 202 | ]; 203 | } 204 | } 205 | 206 | export class AppendContentToolHandler implements ToolHandler { 207 | name: string; 208 | private obsidian: Obsidian; 209 | 210 | constructor(obsidian: Obsidian) { 211 | this.name = TOOL_APPEND_CONTENT; 212 | this.obsidian = obsidian; 213 | } 214 | 215 | getToolDescription(): Tool { 216 | return { 217 | name: this.name, 218 | description: "Append content to the end of a new or existing file in the vault. This adds content to the very end of the file. If you need to add content under a specific heading, use the obsidian_patch_content tool instead.", 219 | inputSchema: { 220 | type: "object", 221 | properties: { 222 | filepath: { 223 | type: "string", 224 | description: "Path to the file (relative to vault root)", 225 | format: "path" 226 | }, 227 | content: { 228 | type: "string", 229 | description: "Content to append to the end of the file" 230 | } 231 | }, 232 | required: ["filepath", "content"] 233 | } 234 | }; 235 | } 236 | 237 | async runTool(args: Record): Promise { 238 | if (!args.filepath || !args.content) { 239 | throw new Error("filepath and content arguments required"); 240 | } 241 | 242 | await this.obsidian.appendContent(args.filepath, args.content); 243 | 244 | return [ 245 | { 246 | type: "text", 247 | text: `Successfully appended content to ${args.filepath}` 248 | } 249 | ]; 250 | } 251 | } 252 | 253 | export class PatchContentToolHandler implements ToolHandler { 254 | name: string; 255 | private obsidian: Obsidian; 256 | 257 | constructor(obsidian: Obsidian) { 258 | this.name = TOOL_PATCH_CONTENT; 259 | this.obsidian = obsidian; 260 | } 261 | 262 | getToolDescription(): Tool { 263 | return { 264 | name: this.name, 265 | description: `Insert or modify content at a specific location in an existing note. Use this tool when you need to add or modify content under a specific heading, at a block reference, or in frontmatter fields. 266 | 267 | PARAMETERS: 268 | - filepath: The relative path to the file within the vault (e.g., "📔 Periodic Notes/📔 Daily/2025-03-20.md") 269 | - operation: Choose "append" (add after target), "prepend" (add before target), or "replace" (replace target) 270 | - target_type: Choose "heading", "block", or "frontmatter" 271 | - target: Specify what to target (see detailed instructions below) 272 | - content: The content you want to add or replace 273 | 274 | HEADING TARGETS - IMPORTANT RULES: 275 | 1. For heading targets, use the FULL PATH from the top-level heading (H1) to your target heading 276 | 2. Separate heading levels with "::" (e.g., "2025-03-20::Notes" or "Project Ideas::Development::Web Apps") 277 | 3. Use the EXACT heading text without any hash symbols (#) 278 | 4. Example of a typical hierarchy: 279 | # Main Title (H1) 280 | ## Section (H2) 281 | ### Subsection (H3) 282 | To target the Subsection, use: "Main Title::Section::Subsection" 283 | 5. Common errors: 284 | - Skipping a heading level (like going H1→H3 without including H2) 285 | - Using only the immediate parent heading without the full path 286 | - Using incorrect heading text (case, spacing, or special characters matter) 287 | 288 | BLOCK REFERENCE TARGETS: 289 | - Use the block ID without the "^" symbol (e.g., use "2d9b4a" not "^2d9b4a") 290 | 291 | FRONTMATTER TARGETS: 292 | - Use the exact field name in the YAML frontmatter (e.g., "tags" or "status") 293 | 294 | COMMON ERRORS: 295 | - "invalid-target": Double-check that your heading path is complete, starting from H1 296 | - "content-already-preexists-in-target": The exact content already exists at the target 297 | - If you get errors, try getting the file contents first to verify the exact heading text and structure 298 | 299 | EXAMPLES: 300 | 301 | Example 1: Add content under a Notes heading in a daily note 302 | obsidian_patch_content( 303 | filepath: "📔 Periodic Notes/📔 Daily/2025-03-20.md", 304 | operation: "append", 305 | target_type: "heading", 306 | target: "2025-03-20::Notes", 307 | content: "Hello from Claude\n\n" 308 | ) 309 | 310 | Example 2: Add content under a nested heading 311 | obsidian_patch_content( 312 | filepath: "Projects/Development.md", 313 | operation: "prepend", 314 | target_type: "heading", 315 | target: "Development::Web Projects::Current", 316 | content: "- New project idea\n" 317 | ) 318 | 319 | Example 3: Update a frontmatter field 320 | obsidian_patch_content( 321 | filepath: "Projects/ProjectX.md", 322 | operation: "replace", 323 | target_type: "frontmatter", 324 | target: "status", 325 | content: "In Progress" 326 | )`, 327 | inputSchema: { 328 | type: "object", 329 | properties: { 330 | filepath: { 331 | type: "string", 332 | description: "Path to the file (relative to vault root)", 333 | format: "path" 334 | }, 335 | operation: { 336 | type: "string", 337 | description: "Operation to perform: 'append' (add after target), 'prepend' (add before target), or 'replace' (replace target)", 338 | enum: ["append", "prepend", "replace"] 339 | }, 340 | target_type: { 341 | type: "string", 342 | description: "Type of target: 'heading' (a section heading like '## Title'), 'block' (a block reference), or 'frontmatter' (YAML frontmatter field)", 343 | enum: ["heading", "block", "frontmatter"] 344 | }, 345 | target: { 346 | type: "string", 347 | description: "Target identifier: for headings, use the EXACT full heading text INCLUDING the '#' symbols (e.g., '## Notes 📝' not just 'Notes 📝'); for blocks, use the block ID; for frontmatter, use the field name (e.g., 'tags')" 348 | }, 349 | content: { 350 | type: "string", 351 | description: "Content to insert or replace at the target location" 352 | } 353 | }, 354 | required: ["filepath", "operation", "target_type", "target", "content"] 355 | } 356 | }; 357 | } 358 | 359 | async runTool(args: Record): Promise { 360 | const required = ["filepath", "operation", "target_type", "target", "content"]; 361 | if (!required.every(key => key in args)) { 362 | throw new Error(`Missing required arguments: ${required.filter(key => !(key in args)).join(', ')}`); 363 | } 364 | 365 | await this.obsidian.patchContent( 366 | args.filepath, 367 | args.operation as any, 368 | args.target_type as any, 369 | args.target, 370 | args.content 371 | ); 372 | 373 | return [ 374 | { 375 | type: "text", 376 | text: `Successfully patched content in ${args.filepath}` 377 | } 378 | ]; 379 | } 380 | } 381 | 382 | export class ComplexSearchToolHandler implements ToolHandler { 383 | name: string; 384 | private obsidian: Obsidian; 385 | 386 | constructor(obsidian: Obsidian) { 387 | this.name = TOOL_COMPLEX_SEARCH; 388 | this.obsidian = obsidian; 389 | } 390 | 391 | getToolDescription(): Tool { 392 | return { 393 | name: this.name, 394 | description: `Advanced search using JsonLogic query expressions. 395 | Use this for complex search criteria like finding files with specific tags, paths, or content patterns. 396 | 397 | Example queries: 398 | 1. Find all markdown files: {"glob": ["*.md", {"var": "path"}]} 399 | 2. Find files with specific tag: {"in": ["#project", {"var": "tags"}]} 400 | 3. Find files in a folder: {"startsWith": [{"var": "path"}, "Projects/"]} 401 | 402 | Only use this if the simple search tool isn't sufficient for your needs.`, 403 | inputSchema: { 404 | type: "object", 405 | properties: { 406 | query: { 407 | type: "object", 408 | description: "JsonLogic query object defining search criteria." 409 | } 410 | }, 411 | required: ["query"] 412 | } 413 | }; 414 | } 415 | 416 | async runTool(args: Record): Promise { 417 | if (!args.query) { 418 | throw new Error("query argument missing in arguments"); 419 | } 420 | 421 | const results = await this.obsidian.searchJson(args.query); 422 | 423 | return [ 424 | { 425 | type: "text", 426 | text: JSON.stringify(results, null, 2) 427 | } 428 | ]; 429 | } 430 | } 431 | 432 | export class BatchGetFileContentsToolHandler implements ToolHandler { 433 | name: string; 434 | private obsidian: Obsidian; 435 | 436 | constructor(obsidian: Obsidian) { 437 | this.name = TOOL_BATCH_GET_FILE_CONTENTS; 438 | this.obsidian = obsidian; 439 | } 440 | 441 | getToolDescription(): Tool { 442 | return { 443 | name: this.name, 444 | description: "Retrieve the contents of multiple files in one operation. This is more efficient than making separate calls when you need content from multiple files. Each file's content is returned with a header indicating the filename and separated by dividers.", 445 | inputSchema: { 446 | type: "object", 447 | properties: { 448 | filepaths: { 449 | type: "array", 450 | items: { 451 | type: "string", 452 | description: "Path to a file (relative to your vault root)", 453 | format: "path" 454 | }, 455 | description: "List of file paths to read (e.g., ['Daily Notes/2023-01-01.md', 'Projects/Project X.md'])" 456 | }, 457 | }, 458 | required: ["filepaths"] 459 | } 460 | }; 461 | } 462 | 463 | async runTool(args: Record): Promise { 464 | if (!args.filepaths || !Array.isArray(args.filepaths)) { 465 | throw new Error("filepaths argument missing or not an array"); 466 | } 467 | 468 | const content = await this.obsidian.getBatchFileContents(args.filepaths); 469 | 470 | return [ 471 | { 472 | type: "text", 473 | text: content 474 | } 475 | ]; 476 | } 477 | } -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- 1 | export interface Tool { 2 | name: string; 3 | description: string; 4 | inputSchema: { 5 | type: string; 6 | properties: Record; 7 | required: string[]; 8 | }; 9 | } 10 | 11 | export interface TextContent { 12 | type: 'text'; 13 | text: string; 14 | } 15 | 16 | export interface ImageContent { 17 | type: 'image'; 18 | url: string; 19 | mimeType: string; 20 | } 21 | 22 | export interface EmbeddedResource { 23 | type: 'embedded'; 24 | name: string; 25 | data: string; 26 | mimeType: string; 27 | } 28 | 29 | export type ToolOutput = TextContent | ImageContent | EmbeddedResource; -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Visit https://aka.ms/tsconfig to read more about this file */ 4 | 5 | /* Projects */ 6 | // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ 7 | // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ 8 | // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ 9 | // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ 10 | // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ 12 | 13 | /* Language and Environment */ 14 | "target": "es2018", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */ 17 | // "libReplacement": true, /* Enable lib replacement. */ 18 | // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ 19 | // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ 20 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ 21 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ 22 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ 23 | // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ 24 | // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ 25 | // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ 26 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ 27 | 28 | /* Modules */ 29 | "module": "commonjs", /* Specify what module code is generated. */ 30 | // "rootDir": "./", /* Specify the root folder within your source files. */ 31 | // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ 32 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ 33 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ 34 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 35 | // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ 36 | // "types": [], /* Specify type package names to be included without being referenced in a source file. */ 37 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 38 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ 39 | // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ 40 | // "rewriteRelativeImportExtensions": true, /* Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files. */ 41 | // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ 42 | // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ 43 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ 44 | // "noUncheckedSideEffectImports": true, /* Check side effect imports. */ 45 | "resolveJsonModule": true, /* Enable importing .json files. */ 46 | // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ 47 | // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ 48 | 49 | /* JavaScript Support */ 50 | // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ 51 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ 52 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ 53 | 54 | /* Emit */ 55 | "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ 56 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */ 57 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ 58 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ 59 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ 60 | // "noEmit": true, /* Disable emitting files from a compilation. */ 61 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ 62 | "outDir": "./dist", /* Specify an output folder for all emitted files. */ 63 | // "removeComments": true, /* Disable emitting comments. */ 64 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ 65 | // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ 66 | // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ 67 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 68 | // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ 69 | // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ 70 | // "newLine": "crlf", /* Set the newline character for emitting files. */ 71 | // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ 72 | // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ 73 | // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ 74 | // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ 75 | // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ 76 | 77 | /* Interop Constraints */ 78 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ 79 | // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ 80 | // "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */ 81 | // "erasableSyntaxOnly": true, /* Do not allow runtime constructs that are not part of ECMAScript. */ 82 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ 83 | "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */ 84 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ 85 | "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ 86 | 87 | /* Type Checking */ 88 | "strict": true, /* Enable all strict type-checking options. */ 89 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ 90 | // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ 91 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ 92 | // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ 93 | // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ 94 | // "strictBuiltinIteratorReturn": true, /* Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'. */ 95 | // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ 96 | // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ 97 | // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ 98 | // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ 99 | // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ 100 | // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ 101 | // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ 102 | // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ 103 | // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ 104 | // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ 105 | // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ 106 | // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ 107 | // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ 108 | 109 | /* Completeness */ 110 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ 111 | "skipLibCheck": true /* Skip type checking all .d.ts files. */ 112 | }, 113 | "include": ["src/**/*"], 114 | "exclude": ["node_modules", "dist"] 115 | } 116 | --------------------------------------------------------------------------------