diff --git a/package.json b/package.json index 776c604..57df55a 100644 --- a/package.json +++ b/package.json @@ -52,16 +52,16 @@ "@fastify/formbody": "^7.4.0", "@fastify/multipart": "^8.2.0", "@fastify/sensible": "^5.6.0", - "@fastify/static": "^7.0.3", + "@fastify/static": "^7.0.4", "@fastify/swagger": "^8.14.0", "@fastify/swagger-ui": "^3.0.0", "@fastify/under-pressure": "^8.3.0", "@fastify/websocket": "^9.0.0", - "@langchain/anthropic": "^0.1.16", - "@langchain/azure-openai": "^0.0.7", + "@langchain/anthropic": "^0.1.17", + "@langchain/azure-openai": "^0.0.8", "@langchain/cohere": "^0.0.8", - "@langchain/community": "^0.0.53", - "@langchain/core": "^0.1.61", + "@langchain/community": "^0.0.56", + "@langchain/core": "^0.1.62", "@langchain/google-genai": "^0.0.12", "@langchain/mistralai": "^0.0.19", "@langchain/openai": "^0.0.28", @@ -79,37 +79,37 @@ "destr": "^2.0.3", "dotenv": "^16.4.5", "fastembed": "^1.14.1", - "fastify": "^4.26.2", + "fastify": "^4.27.0", "fastify-zod-openapi": "^1.2.0", "get-port-please": "^3.1.2", "html-to-text": "^9.0.5", "is-docker": "^3.0.0", "js-tiktoken": "^1.0.11", - "langchain": "^0.1.36", + "langchain": "^0.1.37", "lodash": "^4.17.21", "lowdb": "^7.0.1", "mammoth": "^1.7.2", "ofetch": "^1.3.4", - "officeparser": "^4.0.8", + "officeparser": "^4.1.1", "pdf-parse": "^1.1.1", - "pkg-types": "^1.1.0", + "pkg-types": "^1.1.1", "qs": "^6.12.1", "scule": "^1.3.0", "turbowatch": "^2.29.4", "uncrypto": "^0.1.3", - "zod": "^3.23.4", + "zod": "^3.23.8", "zod-openapi": "^2.17.0", "zod-to-json-schema": "^3.23.0" }, "devDependencies": { - "@antfu/eslint-config": "^2.16.0", + "@antfu/eslint-config": "^2.17.0", "@total-typescript/ts-reset": "^0.5.1", - "@types/lodash": "^4.17.0", - "@types/node": "^20.12.7", + "@types/lodash": "^4.17.1", + "@types/node": "^20.12.11", "@types/nodemon": "^1.19.6", "@types/qs": "^6.9.15", "@types/ws": "^8.5.10", - "@vitest/ui": "^1.5.2", + "@vitest/ui": "^1.6.0", "changelogen": "^0.5.5", "eslint": "^8.57.0", "eslint-plugin-format": "^0.1.1", @@ -117,10 +117,10 @@ "magicast": "^0.3.4", "nodemon": "^3.1.0", "tsup": "^8.0.2", - "tsx": "^4.7.3", + "tsx": "^4.10.2", "typescript": "^5.4.5", - "typescript-eslint": "^7.7.1", + "typescript-eslint": "^7.9.0", "vite-tsconfig-paths": "^4.3.2", - "vitest": "^1.5.2" + "vitest": "^1.6.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1ec5b54..2375bd5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ dependencies: specifier: ^5.6.0 version: 5.6.0 '@fastify/static': - specifier: ^7.0.3 - version: 7.0.3 + specifier: ^7.0.4 + version: 7.0.4 '@fastify/swagger': specifier: ^8.14.0 version: 8.14.0 @@ -33,20 +33,20 @@ dependencies: specifier: ^9.0.0 version: 9.0.0 '@langchain/anthropic': - specifier: ^0.1.16 - version: 0.1.16 + specifier: ^0.1.17 + version: 0.1.17 '@langchain/azure-openai': - specifier: ^0.0.7 - version: 0.0.7 + specifier: ^0.0.8 + version: 0.0.8 '@langchain/cohere': specifier: ^0.0.8 version: 0.0.8 '@langchain/community': - specifier: ^0.0.53 - version: 0.0.53(@qdrant/js-client-rest@1.9.0)(html-to-text@9.0.5)(lodash@4.17.21) + specifier: ^0.0.56 + version: 0.0.56(@qdrant/js-client-rest@1.9.0)(html-to-text@9.0.5)(lodash@4.17.21) '@langchain/core': - specifier: ^0.1.61 - version: 0.1.61 + specifier: ^0.1.62 + version: 0.1.62 '@langchain/google-genai': specifier: ^0.0.12 version: 0.0.12 @@ -99,11 +99,11 @@ dependencies: specifier: ^1.14.1 version: 1.14.1 fastify: - specifier: ^4.26.2 - version: 4.26.2 + specifier: ^4.27.0 + version: 4.27.0 fastify-zod-openapi: specifier: ^1.2.0 - version: 1.2.0(fastify@4.26.2)(zod-openapi@2.17.0)(zod@3.23.4) + version: 1.2.0(fastify@4.27.0)(zod-openapi@2.17.0)(zod@3.23.8) get-port-please: specifier: ^3.1.2 version: 3.1.2 @@ -117,8 +117,8 @@ dependencies: specifier: ^1.0.11 version: 1.0.11 langchain: - specifier: ^0.1.36 - version: 0.1.36(@qdrant/js-client-rest@1.9.0)(cheerio@1.0.0-rc.12)(d3-dsv@2.0.0)(html-to-text@9.0.5)(lodash@4.17.21)(mammoth@1.7.2)(officeparser@4.0.8)(pdf-parse@1.1.1) + specifier: ^0.1.37 + version: 0.1.37(@qdrant/js-client-rest@1.9.0)(cheerio@1.0.0-rc.12)(d3-dsv@2.0.0)(html-to-text@9.0.5)(lodash@4.17.21)(mammoth@1.7.2)(officeparser@4.1.1)(pdf-parse@1.1.1) lodash: specifier: ^4.17.21 version: 4.17.21 @@ -132,14 +132,14 @@ dependencies: specifier: ^1.3.4 version: 1.3.4 officeparser: - specifier: ^4.0.8 - version: 4.0.8 + specifier: ^4.1.1 + version: 4.1.1 pdf-parse: specifier: ^1.1.1 version: 1.1.1 pkg-types: - specifier: ^1.1.0 - version: 1.1.0 + specifier: ^1.1.1 + version: 1.1.1 qs: specifier: ^6.12.1 version: 6.12.1 @@ -153,28 +153,28 @@ dependencies: specifier: ^0.1.3 version: 0.1.3 zod: - specifier: ^3.23.4 - version: 3.23.4 + specifier: ^3.23.8 + version: 3.23.8 zod-openapi: specifier: ^2.17.0 - version: 2.17.0(zod@3.23.4) + version: 2.17.0(zod@3.23.8) zod-to-json-schema: specifier: ^3.23.0 - version: 3.23.0(zod@3.23.4) + version: 3.23.0(zod@3.23.8) devDependencies: '@antfu/eslint-config': - specifier: ^2.16.0 - version: 2.16.0(@vue/compiler-sfc@3.4.21)(eslint-plugin-format@0.1.1)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.5.2) + specifier: ^2.17.0 + version: 2.17.0(@vue/compiler-sfc@3.4.21)(eslint-plugin-format@0.1.1)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.6.0) '@total-typescript/ts-reset': specifier: ^0.5.1 version: 0.5.1 '@types/lodash': - specifier: ^4.17.0 - version: 4.17.0 + specifier: ^4.17.1 + version: 4.17.1 '@types/node': - specifier: ^20.12.7 - version: 20.12.7 + specifier: ^20.12.11 + version: 20.12.11 '@types/nodemon': specifier: ^1.19.6 version: 1.19.6 @@ -185,8 +185,8 @@ devDependencies: specifier: ^8.5.10 version: 8.5.10 '@vitest/ui': - specifier: ^1.5.2 - version: 1.5.2(vitest@1.5.2) + specifier: ^1.6.0 + version: 1.6.0(vitest@1.6.0) changelogen: specifier: ^0.5.5 version: 0.5.5 @@ -209,20 +209,20 @@ devDependencies: specifier: ^8.0.2 version: 8.0.2(typescript@5.4.5) tsx: - specifier: ^4.7.3 - version: 4.7.3 + specifier: ^4.10.2 + version: 4.10.2 typescript: specifier: ^5.4.5 version: 5.4.5 typescript-eslint: - specifier: ^7.7.1 - version: 7.7.1(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.9.0 + version: 7.9.0(eslint@8.57.0)(typescript@5.4.5) vite-tsconfig-paths: specifier: ^4.3.2 version: 4.3.2(typescript@5.4.5) vitest: - specifier: ^1.5.2 - version: 1.5.2(@types/node@20.12.7)(@vitest/ui@1.5.2) + specifier: ^1.6.0 + version: 1.6.0(@types/node@20.12.11)(@vitest/ui@1.6.0) packages: @@ -231,8 +231,8 @@ packages: engines: {node: '>=0.10.0'} dev: true - /@antfu/eslint-config@2.16.0(@vue/compiler-sfc@3.4.21)(eslint-plugin-format@0.1.1)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.5.2): - resolution: {integrity: sha512-K56svKb2tRtJcONE548tyvZJ8ZQPJiHp+20Aez1Dy77nVKQbPiCDFYGHxuk3fn1+NSL6PUxbVm/IEhqIWtZFCQ==} + /@antfu/eslint-config@2.17.0(@vue/compiler-sfc@3.4.21)(eslint-plugin-format@0.1.1)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.6.0): + resolution: {integrity: sha512-OvLgETKfNTFD1PaGToM/Mu1A53lbMCXN4TLLL3QloGK3IkuSvNoGumLwkK1wQ1AsZAG+hfGoe+Rkd7V9Wv7MlA==} hasBin: true peerDependencies: '@eslint-react/eslint-plugin': ^1.5.8 @@ -274,34 +274,34 @@ packages: svelte-eslint-parser: optional: true dependencies: - '@antfu/install-pkg': 0.3.2 + '@antfu/install-pkg': 0.3.3 '@clack/prompts': 0.7.0 - '@stylistic/eslint-plugin': 1.7.2(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/eslint-plugin': 7.7.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) + '@stylistic/eslint-plugin': 2.1.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.9.0(@typescript-eslint/parser@7.9.0)(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.9.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-config-flat-gitignore: 0.1.5 - eslint-flat-config-utils: 0.2.3 + eslint-flat-config-utils: 0.2.4 eslint-merge-processors: 0.1.0(eslint@8.57.0) - eslint-plugin-antfu: 2.1.2(eslint@8.57.0) - eslint-plugin-command: 0.1.2(eslint@8.57.0) + eslint-plugin-antfu: 2.2.0(eslint@8.57.0) + eslint-plugin-command: 0.2.0(eslint@8.57.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.57.0) eslint-plugin-format: 0.1.1(eslint@8.57.0) eslint-plugin-import-x: 0.5.0(eslint@8.57.0)(typescript@5.4.5) eslint-plugin-jsdoc: 48.2.3(eslint@8.57.0) eslint-plugin-jsonc: 2.15.1(eslint@8.57.0) - eslint-plugin-markdown: 4.0.1(eslint@8.57.0) - eslint-plugin-n: 17.3.1(eslint@8.57.0) + eslint-plugin-markdown: 5.0.0(eslint@8.57.0) + eslint-plugin-n: 17.6.0(eslint@8.57.0) eslint-plugin-no-only-tests: 3.1.0 eslint-plugin-perfectionist: 2.10.0(eslint@8.57.0)(typescript@5.4.5)(vue-eslint-parser@9.4.2) eslint-plugin-toml: 0.11.0(eslint@8.57.0) eslint-plugin-unicorn: 52.0.0(eslint@8.57.0) - eslint-plugin-unused-imports: 3.1.0(@typescript-eslint/eslint-plugin@7.7.1)(eslint@8.57.0) - eslint-plugin-vitest: 0.5.4(@typescript-eslint/eslint-plugin@7.7.1)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.5.2) + eslint-plugin-unused-imports: 3.2.0(@typescript-eslint/eslint-plugin@7.9.0)(eslint@8.57.0) + eslint-plugin-vitest: 0.5.4(@typescript-eslint/eslint-plugin@7.9.0)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.6.0) eslint-plugin-vue: 9.25.0(eslint@8.57.0) eslint-plugin-yml: 1.14.0(eslint@8.57.0) eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.4.21)(eslint@8.57.0) - globals: 15.0.0 + globals: 15.2.0 jsonc-eslint-parser: 2.4.0 local-pkg: 0.5.0 parse-gitignore: 2.0.0 @@ -318,10 +318,14 @@ packages: - vitest dev: true - /@antfu/install-pkg@0.3.2: - resolution: {integrity: sha512-FFYqME8+UHlPnRlX/vn+8cTD4Wo/nG/lzRxpABs3XANBmdJdNImVz3QvjNAE/W3PSCNbG387FOz8o5WelnWOlg==} + /@antfu/install-pkg@0.3.3: + resolution: {integrity: sha512-nHHsk3NXQ6xkCfiRRC8Nfrg8pU5kkr3P3Y9s9dKqiuRmBD0Yap7fymNDjGFKeWhZQHqqbCS5CfeMy9wtExM24w==} dependencies: - execa: 8.0.1 + '@jsdevtools/ez-spawn': 3.0.4 + dev: true + + /@antfu/utils@0.7.8: + resolution: {integrity: sha512-rWQkqXRESdjXtc+7NRfK9lASQjpXJu1ayp7qi1d23zZorY+wBHVLHHoVcMsEnkqEBWTFqbztO7/QdJFzyEcLTg==} dev: true /@anthropic-ai/sdk@0.20.1: @@ -1092,8 +1096,8 @@ packages: vary: 1.1.2 dev: false - /@fastify/static@7.0.3: - resolution: {integrity: sha512-2tmTdF+uFCykasutaO6k4/wOt7eXyi7m3dGuCPo5micXzv0qt6ttb/nWnDYL/BlXjYGfp1JI4a1gyluTIylvQA==} + /@fastify/static@7.0.4: + resolution: {integrity: sha512-p2uKtaf8BMOZWLs6wu+Ihg7bWNBdjNgCwDza4MJtTqg+5ovKmcbgbR9Xs5/smZ1YISfzKOCNYmZV8LaCj+eJ1Q==} dependencies: '@fastify/accept-negotiator': 1.1.0 '@fastify/send': 2.1.0 @@ -1106,7 +1110,7 @@ packages: /@fastify/swagger-ui@3.0.0: resolution: {integrity: sha512-8P5OwHVv6QR4XSE6cW4fsENeMbW4yWWWj6Dz/5tvQN2pwNyTiSWxYpsY3+VP+uiZucNaDrAE2xm11rqytqAocA==} dependencies: - '@fastify/static': 7.0.3 + '@fastify/static': 7.0.4 fastify-plugin: 4.5.1 openapi-types: 12.1.3 rfdc: 1.3.0 @@ -1217,29 +1221,39 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /@langchain/anthropic@0.1.16: - resolution: {integrity: sha512-vCbwkZ3pkMSKf67fBgNlslvuW9f3EZGBbO8Ic2etgX3xFl6L0WuMtfS26P1FCDpRwaKuC1BrCj2aLAeMzMq/Fg==} + /@jsdevtools/ez-spawn@3.0.4: + resolution: {integrity: sha512-f5DRIOZf7wxogefH03RjMPMdBF7ADTWUMoOs9kaJo06EfwF+aFhMZMDZxHg/Xe12hptN9xoZjGso2fdjapBRIA==} + engines: {node: '>=10'} + dependencies: + call-me-maybe: 1.0.2 + cross-spawn: 7.0.3 + string-argv: 0.3.2 + type-detect: 4.0.8 + dev: true + + /@langchain/anthropic@0.1.17: + resolution: {integrity: sha512-zbyTXtbFh0P0EEi+Q/AgDJlz/tltAg9ddVptew3IcQM1c6Yc7lG9oUqh14uzFUKPae2kFDKE78jrx1oiV4JMgw==} engines: {node: '>=18'} dependencies: '@anthropic-ai/sdk': 0.20.1 - '@langchain/core': 0.1.61 + '@langchain/core': 0.1.62 fast-xml-parser: 4.3.5 - zod: 3.23.4 - zod-to-json-schema: 3.23.0(zod@3.23.4) + zod: 3.23.8 + zod-to-json-schema: 3.23.0(zod@3.23.8) transitivePeerDependencies: - encoding dev: false - /@langchain/azure-openai@0.0.7: - resolution: {integrity: sha512-fMH/kDAe8wOQ3j5mwaqFHjxsxtAgBLAfeMoxTgev7nC/76c4wRboSY4lb4FnwilNw4EXpB2Jg/K2QV19UyPOPw==} + /@langchain/azure-openai@0.0.8: + resolution: {integrity: sha512-8ckAdL33jqPPEABwsdIYao/NZr7c47XTZZ0gj+BO//EDHuXYlAiZC0XS+iS5OI0aGqJFt0eKh/fCuCHxT4xDeQ==} engines: {node: '>=18'} dependencies: '@azure/core-auth': 1.6.0 '@azure/openai': 1.0.0-beta.11 - '@langchain/core': 0.1.61 + '@langchain/core': 0.1.62 js-tiktoken: 1.0.11 - zod: 3.23.4 - zod-to-json-schema: 3.20.3(zod@3.23.4) + zod: 3.23.8 + zod-to-json-schema: 3.20.3(zod@3.23.8) transitivePeerDependencies: - supports-color dev: false @@ -1248,14 +1262,14 @@ packages: resolution: {integrity: sha512-HZ0NcJqEQj4vwiBiL97fFe1DreGzvUuAQZ41IeIJJKPxG4anNQ7EI1qrjmOEY71Hbnqty16Y5IPK4DbvsR6YFQ==} engines: {node: '>=18'} dependencies: - '@langchain/core': 0.1.61 + '@langchain/core': 0.1.62 cohere-ai: 7.9.5 transitivePeerDependencies: - encoding dev: false - /@langchain/community@0.0.53(@qdrant/js-client-rest@1.9.0)(html-to-text@9.0.5)(lodash@4.17.21): - resolution: {integrity: sha512-iFqZPt4MRssGYsQoKSXWJQaYTZCC7WNuilp2JCCs3wKmJK3l6mR0eV+PDrnT+TaDHUVxt/b0rwgM0sOiy0j2jA==} + /@langchain/community@0.0.56(@qdrant/js-client-rest@1.9.0)(html-to-text@9.0.5)(lodash@4.17.21): + resolution: {integrity: sha512-EJlwyh2UZyfHJdh0OnyoCYV9BmyLGtoDPgeGPkXGhyxzUlVx+wbfx8LfkI47MGYGJHDNECKtAAfS7pqNdlmgFg==} engines: {node: '>=18'} peerDependencies: '@aws-crypto/sha256-js': ^5.0.0 @@ -1536,7 +1550,7 @@ packages: ws: optional: true dependencies: - '@langchain/core': 0.1.61 + '@langchain/core': 0.1.62 '@langchain/openai': 0.0.28 '@qdrant/js-client-rest': 1.9.0(typescript@5.4.5) expr-eval: 2.0.2 @@ -1545,14 +1559,14 @@ packages: langsmith: 0.1.13 lodash: 4.17.21 uuid: 9.0.1 - zod: 3.23.4 - zod-to-json-schema: 3.23.0(zod@3.23.4) + zod: 3.23.8 + zod-to-json-schema: 3.23.0(zod@3.23.8) transitivePeerDependencies: - encoding dev: false - /@langchain/core@0.1.61: - resolution: {integrity: sha512-C8OkAly+ugvXsL8TACCmFv9WTTcT4gvQaG6NbrXCOzibBCywfxxcTqEMOyg3zIKpxHEmR0DHqh0OiJRHocnsCg==} + /@langchain/core@0.1.62: + resolution: {integrity: sha512-PsBM/x0wxVvVPawKak2MFjxEneogipf212yO+rLf+2M3RDepCpYCdn1NBWgfmC+AWpmBYx/8zM7Y4QW7Kg2Wjw==} engines: {node: '>=18'} dependencies: ansi-styles: 5.2.0 @@ -1565,8 +1579,8 @@ packages: p-queue: 6.6.2 p-retry: 4.6.2 uuid: 9.0.1 - zod: 3.23.4 - zod-to-json-schema: 3.23.0(zod@3.23.4) + zod: 3.23.8 + zod-to-json-schema: 3.23.0(zod@3.23.8) dev: false /@langchain/google-genai@0.0.12: @@ -1574,18 +1588,18 @@ packages: engines: {node: '>=18'} dependencies: '@google/generative-ai': 0.7.1 - '@langchain/core': 0.1.61 + '@langchain/core': 0.1.62 dev: false /@langchain/mistralai@0.0.19: resolution: {integrity: sha512-Uin/jve1NCZLAFa9dpOKzE3Y2+uSnMJQX5ria9vO3lnTGRlvBwcMhyGDoTYdI+gnQgHH4ceBoIBzJDlVG+WVWw==} engines: {node: '>=18'} dependencies: - '@langchain/core': 0.1.61 + '@langchain/core': 0.1.62 '@mistralai/mistralai': 0.1.3 uuid: 9.0.1 - zod: 3.23.4 - zod-to-json-schema: 3.23.0(zod@3.23.4) + zod: 3.23.8 + zod-to-json-schema: 3.23.0(zod@3.23.8) transitivePeerDependencies: - encoding dev: false @@ -1594,11 +1608,11 @@ packages: resolution: {integrity: sha512-2s1RA3/eAnz4ahdzsMPBna9hfAqpFNlWdHiPxVGZ5yrhXsbLWWoPcF+22LCk9t0HJKtazi2GCIWc0HVXH9Abig==} engines: {node: '>=18'} dependencies: - '@langchain/core': 0.1.61 + '@langchain/core': 0.1.62 js-tiktoken: 1.0.11 openai: 4.33.0 - zod: 3.23.4 - zod-to-json-schema: 3.23.0(zod@3.23.4) + zod: 3.23.8 + zod-to-json-schema: 3.23.0(zod@3.23.8) transitivePeerDependencies: - encoding dev: false @@ -1607,7 +1621,7 @@ packages: resolution: {integrity: sha512-3hPesWomnmVeYMppEGYbyv0v/sRUugUdlFBNn9m1ueJYHAIKbvCErkWxNUH3guyKKYgJVrkvZoQxcd9faucSaw==} engines: {node: '>=18'} dependencies: - '@langchain/core': 0.1.61 + '@langchain/core': 0.1.62 js-tiktoken: 1.0.11 dev: false @@ -1929,71 +1943,70 @@ packages: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@stylistic/eslint-plugin-js@1.7.2(eslint@8.57.0): - resolution: {integrity: sha512-ZYX7C5p7zlHbACwFLU+lISVh6tdcRP/++PWegh2Sy0UgMT5kU0XkPa2tKWEtJYzZmPhJxu9LxbnWcnE/tTwSDQ==} - engines: {node: ^16.0.0 || >=18.0.0} + /@stylistic/eslint-plugin-js@2.1.0(eslint@8.57.0): + resolution: {integrity: sha512-gdXUjGNSsnY6nPyqxu6lmDTtVrwCOjun4x8PUn0x04d5ucLI74N3MT1Q0UhdcOR9No3bo5PGDyBgXK+KmD787A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' dependencies: '@types/eslint': 8.56.10 acorn: 8.11.3 - escape-string-regexp: 4.0.0 eslint: 8.57.0 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 + eslint-visitor-keys: 4.0.0 + espree: 10.0.1 dev: true - /@stylistic/eslint-plugin-jsx@1.7.2(eslint@8.57.0): - resolution: {integrity: sha512-lNZR5PR0HLJPs+kY0y8fy6KroKlYqA5PwsYWpVYWzqZWiL5jgAeUo4s9yLFYjJjzildJ5MsTVMy/xP81Qz6GXg==} - engines: {node: ^16.0.0 || >=18.0.0} + /@stylistic/eslint-plugin-jsx@2.1.0(eslint@8.57.0): + resolution: {integrity: sha512-mMD7S+IndZo2vxmwpHVTCwx2O1VdtE5tmpeNwgaEcXODzWV1WTWpnsc/PECQKIr/mkLPFWiSIqcuYNhQ/3l6AQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.7.2(eslint@8.57.0) + '@stylistic/eslint-plugin-js': 2.1.0(eslint@8.57.0) '@types/eslint': 8.56.10 eslint: 8.57.0 estraverse: 5.3.0 picomatch: 4.0.2 dev: true - /@stylistic/eslint-plugin-plus@1.7.2(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-luUfRVbBVtt0+/FNt8/76BANJEzb/nHWasHD7UUjyMrch2U9xUKpObrkTCzqBuisKek+uFupwGjqXqDP07+fQw==} + /@stylistic/eslint-plugin-plus@2.1.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-S5QAlgYXESJaSBFhBSBLZy9o36gXrXQwWSt6QkO+F0SrT9vpV5JF/VKoh+ojO7tHzd8Ckmyouq02TT9Sv2B0zQ==} peerDependencies: eslint: '*' dependencies: '@types/eslint': 8.56.10 - '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.9.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@stylistic/eslint-plugin-ts@1.7.2(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-szX89YPocwCe4T0eT3alj7MwEzDHt5+B+kb/vQfSSLIjI9CGgoWrgj50zU8PtaDctTh4ZieFBzU/lRmkSUo0RQ==} - engines: {node: ^16.0.0 || >=18.0.0} + /@stylistic/eslint-plugin-ts@2.1.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-2ioFibufHYBALx2TBrU4KXovCkN8qCqcb9yIHc0fyOfTaO5jw4d56WW7YRcF3Zgde6qFyXwAN6z/+w4pnmos1g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.7.2(eslint@8.57.0) + '@stylistic/eslint-plugin-js': 2.1.0(eslint@8.57.0) '@types/eslint': 8.56.10 - '@typescript-eslint/utils': 6.21.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.9.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript dev: true - /@stylistic/eslint-plugin@1.7.2(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-TesaPR4AOCeD4unwu9gZCdTe8SsUpykriICuwXV8GFBgESuVbfVp+S8g6xTWe9ntVR803bNMtnr2UhxHW0iFqg==} - engines: {node: ^16.0.0 || >=18.0.0} + /@stylistic/eslint-plugin@2.1.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-cBBowKP2u/+uE5CzgH5w8pE9VKqcM7BXdIDPIbGt2rmLJGnA6MJPr9vYGaqgMoJFs7R/FzsMQerMvvEP40g2uw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.40.0' dependencies: - '@stylistic/eslint-plugin-js': 1.7.2(eslint@8.57.0) - '@stylistic/eslint-plugin-jsx': 1.7.2(eslint@8.57.0) - '@stylistic/eslint-plugin-plus': 1.7.2(eslint@8.57.0)(typescript@5.4.5) - '@stylistic/eslint-plugin-ts': 1.7.2(eslint@8.57.0)(typescript@5.4.5) + '@stylistic/eslint-plugin-js': 2.1.0(eslint@8.57.0) + '@stylistic/eslint-plugin-jsx': 2.1.0(eslint@8.57.0) + '@stylistic/eslint-plugin-plus': 2.1.0(eslint@8.57.0)(typescript@5.4.5) + '@stylistic/eslint-plugin-ts': 2.1.0(eslint@8.57.0)(typescript@5.4.5) '@types/eslint': 8.56.10 eslint: 8.57.0 transitivePeerDependencies: @@ -2029,7 +2042,7 @@ packages: resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 20.12.7 + '@types/node': 20.12.11 dev: false /@types/json-schema@7.0.15: @@ -2039,11 +2052,11 @@ packages: /@types/jsonfile@6.1.4: resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} dependencies: - '@types/node': 20.12.7 + '@types/node': 20.12.11 dev: false - /@types/lodash@4.17.0: - resolution: {integrity: sha512-t7dhREVv6dbNj0q17X12j7yDG4bD/DHYX7o5/DbDxobP0HnGPgpRz2Ej77aL7TZT3DSw13fqUTj8J4mMnqa7WA==} + /@types/lodash@4.17.1: + resolution: {integrity: sha512-X+2qazGS3jxLAIz5JDXDzglAF3KpijdhFxlf/V1+hEsOUc+HnWi81L/uv/EvGuV90WY+7mPGFCUDGfQC3Gj95Q==} dev: true /@types/mdast@3.0.15: @@ -2059,7 +2072,7 @@ packages: /@types/node-fetch@2.6.7: resolution: {integrity: sha512-lX17GZVpJ/fuCjguZ5b3TjEbSENxmEk1B2z02yoXSK9WMEWRivhdSY73wWMn6bpcCDAOh6qAdktpKHIlkDk2lg==} dependencies: - '@types/node': 20.12.7 + '@types/node': 20.12.11 form-data: 4.0.0 dev: false @@ -2069,15 +2082,15 @@ packages: undici-types: 5.26.5 dev: false - /@types/node@20.12.7: - resolution: {integrity: sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==} + /@types/node@20.12.11: + resolution: {integrity: sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==} dependencies: undici-types: 5.26.5 /@types/nodemon@1.19.6: resolution: {integrity: sha512-vjKuaQOLUA5EY2zkUmWG1ipXbKt9Wd+H/0SiIuHVeH4cHtt6509iRUGH9ZR0iqgUrtj3BrP9KqoTuV3ZCbQcYA==} dependencies: - '@types/node': 20.12.7 + '@types/node': 20.12.11 dev: true /@types/normalize-package-data@2.4.3: @@ -2115,11 +2128,11 @@ packages: /@types/ws@8.5.10: resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} dependencies: - '@types/node': 20.12.7 + '@types/node': 20.12.11 dev: true - /@typescript-eslint/eslint-plugin@7.7.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-KwfdWXJBOviaBVhxO3p5TJiLpNuh2iyXyjmWN0f1nU87pwyvfS0EmjC6ukQVYVFJd/K1+0NWGPDXiyEyQorn0Q==} + /@typescript-eslint/eslint-plugin@7.9.0(@typescript-eslint/parser@7.9.0)(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-6e+X0X3sFe/G/54aC3jt0txuMTURqLyekmEHViqyA2VnxhLMpvA6nqmcjIy+Cr9tLDHPssA74BP5Mx9HQIxBEA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 @@ -2130,25 +2143,23 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 7.7.1 - '@typescript-eslint/type-utils': 7.7.1(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.7.1(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.7.1 - debug: 4.3.4(supports-color@5.5.0) + '@typescript-eslint/parser': 7.9.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.9.0 + '@typescript-eslint/type-utils': 7.9.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.9.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 7.9.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 - semver: 7.6.0 ts-api-utils: 1.3.0(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-vmPzBOOtz48F6JAGVS/kZYk4EkXao6iGrD838sp1w3NQQC0W8ry/q641KU4PrG7AKNAf56NOcR8GOpH8l9FPCw==} + /@typescript-eslint/parser@7.9.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-qHMJfkL5qvgQB2aLvhUSXxbK7OLnDkwPzFalg458pxQgfxKDfT1ZDbHQM/I6mDIf/svlMkj21kzKuQ2ixJlatQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -2157,10 +2168,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 7.7.1 - '@typescript-eslint/types': 7.7.1 - '@typescript-eslint/typescript-estree': 7.7.1(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.7.1 + '@typescript-eslint/scope-manager': 7.9.0 + '@typescript-eslint/types': 7.9.0 + '@typescript-eslint/typescript-estree': 7.9.0(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 7.9.0 debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 typescript: 5.4.5 @@ -2176,14 +2187,6 @@ packages: '@typescript-eslint/visitor-keys': 5.62.0 dev: true - /@typescript-eslint/scope-manager@6.21.0: - resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/visitor-keys': 6.21.0 - dev: true - /@typescript-eslint/scope-manager@7.7.1: resolution: {integrity: sha512-PytBif2SF+9SpEUKynYn5g1RHFddJUcyynGpztX3l/ik7KmZEv19WCMhUBkHXPU9es/VWGD3/zg3wg90+Dh2rA==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2192,8 +2195,16 @@ packages: '@typescript-eslint/visitor-keys': 7.7.1 dev: true - /@typescript-eslint/type-utils@7.7.1(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-ZksJLW3WF7o75zaBPScdW1Gbkwhd/lyeXGf1kQCxJaOeITscoSl0MjynVvCzuV5boUz/3fOI06Lz8La55mu29Q==} + /@typescript-eslint/scope-manager@7.9.0: + resolution: {integrity: sha512-ZwPK4DeCDxr3GJltRz5iZejPFAAr4Wk3+2WIBaj1L5PYK5RgxExu/Y68FFVclN0y6GGwH8q+KgKRCvaTmFBbgQ==} + engines: {node: ^18.18.0 || >=20.0.0} + dependencies: + '@typescript-eslint/types': 7.9.0 + '@typescript-eslint/visitor-keys': 7.9.0 + dev: true + + /@typescript-eslint/type-utils@7.9.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-6Qy8dfut0PFrFRAZsGzuLoM4hre4gjzWJB6sUvdunCYZsYemTkzZNwF1rnGea326PHPT3zn5Lmg32M/xfJfByA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -2202,8 +2213,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 7.7.1(typescript@5.4.5) - '@typescript-eslint/utils': 7.7.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.9.0(typescript@5.4.5) + '@typescript-eslint/utils': 7.9.0(eslint@8.57.0)(typescript@5.4.5) debug: 4.3.4(supports-color@5.5.0) eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.4.5) @@ -2217,16 +2228,16 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/types@6.21.0: - resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==} - engines: {node: ^16.0.0 || >=18.0.0} - dev: true - /@typescript-eslint/types@7.7.1: resolution: {integrity: sha512-AmPmnGW1ZLTpWa+/2omPrPfR7BcbUU4oha5VIbSbS1a1Tv966bklvLNXxp3mrbc+P2j4MNOTfDffNsk4o0c6/w==} engines: {node: ^18.18.0 || >=20.0.0} dev: true + /@typescript-eslint/types@7.9.0: + resolution: {integrity: sha512-oZQD9HEWQanl9UfsbGVcZ2cGaR0YT5476xfWE0oE5kQa2sNK2frxOlkeacLOTh9po4AlUT5rtkGyYM5kew0z5w==} + engines: {node: ^18.18.0 || >=20.0.0} + dev: true + /@typescript-eslint/typescript-estree@5.62.0(typescript@5.4.5): resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2248,21 +2259,21 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.21.0(typescript@5.4.5): - resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/typescript-estree@7.7.1(typescript@5.4.5): + resolution: {integrity: sha512-CXe0JHCXru8Fa36dteXqmH2YxngKJjkQLjxzoj6LYwzZ7qZvgsLSc+eqItCrqIop8Vl2UKoAi0StVWu97FQZIQ==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/visitor-keys': 6.21.0 + '@typescript-eslint/types': 7.7.1 + '@typescript-eslint/visitor-keys': 7.7.1 debug: 4.3.4(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 - minimatch: 9.0.3 + minimatch: 9.0.4 semver: 7.6.0 ts-api-utils: 1.3.0(typescript@5.4.5) typescript: 5.4.5 @@ -2270,8 +2281,8 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@7.7.1(typescript@5.4.5): - resolution: {integrity: sha512-CXe0JHCXru8Fa36dteXqmH2YxngKJjkQLjxzoj6LYwzZ7qZvgsLSc+eqItCrqIop8Vl2UKoAi0StVWu97FQZIQ==} + /@typescript-eslint/typescript-estree@7.9.0(typescript@5.4.5): + resolution: {integrity: sha512-zBCMCkrb2YjpKV3LA0ZJubtKCDxLttxfdGmwZvTqqWevUPN0FZvSI26FalGFFUZU/9YQK/A4xcQF9o/VVaCKAg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' @@ -2279,8 +2290,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 7.7.1 - '@typescript-eslint/visitor-keys': 7.7.1 + '@typescript-eslint/types': 7.9.0 + '@typescript-eslint/visitor-keys': 7.9.0 debug: 4.3.4(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 @@ -2312,18 +2323,18 @@ packages: - typescript dev: true - /@typescript-eslint/utils@6.21.0(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/utils@7.7.1(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-QUvBxPEaBXf41ZBbaidKICgVL8Hin0p6prQDu6bbetWo39BKbWJxRsErOzMNT1rXvTll+J7ChrbmMCXM9rsvOQ==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 6.21.0 - '@typescript-eslint/types': 6.21.0 - '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.7.1 + '@typescript-eslint/types': 7.7.1 + '@typescript-eslint/typescript-estree': 7.7.1(typescript@5.4.5) eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: @@ -2331,20 +2342,17 @@ packages: - typescript dev: true - /@typescript-eslint/utils@7.7.1(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-QUvBxPEaBXf41ZBbaidKICgVL8Hin0p6prQDu6bbetWo39BKbWJxRsErOzMNT1rXvTll+J7ChrbmMCXM9rsvOQ==} + /@typescript-eslint/utils@7.9.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-5KVRQCzZajmT4Ep+NEgjXCvjuypVvYHUW7RHlXzNPuak2oWpVoD1jf5xCP0dPAuNIchjC7uQyvbdaSTFaLqSdA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 7.7.1 - '@typescript-eslint/types': 7.7.1 - '@typescript-eslint/typescript-estree': 7.7.1(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.9.0 + '@typescript-eslint/types': 7.9.0 + '@typescript-eslint/typescript-estree': 7.9.0(typescript@5.4.5) eslint: 8.57.0 - semver: 7.6.0 transitivePeerDependencies: - supports-color - typescript @@ -2358,19 +2366,19 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@6.21.0: - resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==} - engines: {node: ^16.0.0 || >=18.0.0} + /@typescript-eslint/visitor-keys@7.7.1: + resolution: {integrity: sha512-gBL3Eq25uADw1LQ9kVpf3hRM+DWzs0uZknHYK3hq4jcTPqVCClHGDnB6UUUV2SFeBeA4KWHWbbLqmbGcZ4FYbw==} + engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 6.21.0 + '@typescript-eslint/types': 7.7.1 eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@7.7.1: - resolution: {integrity: sha512-gBL3Eq25uADw1LQ9kVpf3hRM+DWzs0uZknHYK3hq4jcTPqVCClHGDnB6UUUV2SFeBeA4KWHWbbLqmbGcZ4FYbw==} + /@typescript-eslint/visitor-keys@7.9.0: + resolution: {integrity: sha512-iESPx2TNLDNGQLyjKhUvIKprlP49XNEK+MvIf9nIO7ZZaZdbnfWKHnXAgufpxqfA0YryH8XToi4+CjBgVnFTSQ==} engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 7.7.1 + '@typescript-eslint/types': 7.9.0 eslint-visitor-keys: 3.4.3 dev: true @@ -2378,53 +2386,53 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitest/expect@1.5.2: - resolution: {integrity: sha512-rf7MTD1WCoDlN3FfYJ9Llfp0PbdtOMZ3FIF0AVkDnKbp3oiMW1c8AmvRZBcqbAhDUAvF52e9zx4WQM1r3oraVA==} + /@vitest/expect@1.6.0: + resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} dependencies: - '@vitest/spy': 1.5.2 - '@vitest/utils': 1.5.2 + '@vitest/spy': 1.6.0 + '@vitest/utils': 1.6.0 chai: 4.4.1 dev: true - /@vitest/runner@1.5.2: - resolution: {integrity: sha512-7IJ7sJhMZrqx7HIEpv3WrMYcq8ZNz9L6alo81Y6f8hV5mIE6yVZsFoivLZmr0D777klm1ReqonE9LyChdcmw6g==} + /@vitest/runner@1.6.0: + resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} dependencies: - '@vitest/utils': 1.5.2 + '@vitest/utils': 1.6.0 p-limit: 5.0.0 pathe: 1.1.2 dev: true - /@vitest/snapshot@1.5.2: - resolution: {integrity: sha512-CTEp/lTYos8fuCc9+Z55Ga5NVPKUgExritjF5VY7heRFUfheoAqBneUlvXSUJHUZPjnPmyZA96yLRJDP1QATFQ==} + /@vitest/snapshot@1.6.0: + resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} dependencies: magic-string: 0.30.8 pathe: 1.1.2 pretty-format: 29.7.0 dev: true - /@vitest/spy@1.5.2: - resolution: {integrity: sha512-xCcPvI8JpCtgikT9nLpHPL1/81AYqZy1GCy4+MCHBE7xi8jgsYkULpW5hrx5PGLgOQjUpb6fd15lqcriJ40tfQ==} + /@vitest/spy@1.6.0: + resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} dependencies: tinyspy: 2.2.1 dev: true - /@vitest/ui@1.5.2(vitest@1.5.2): - resolution: {integrity: sha512-pYDitwgCOn7i3FH7Ka94G70dmj85xpBA42BaWCx82blPehyVO8FU6OLHNP9iAKJIHaIOXwZ+bgOXYSj3wZCxFA==} + /@vitest/ui@1.6.0(vitest@1.6.0): + resolution: {integrity: sha512-k3Lyo+ONLOgylctiGovRKy7V4+dIN2yxstX3eY5cWFXH6WP+ooVX79YSyi0GagdTQzLmT43BF27T0s6dOIPBXA==} peerDependencies: - vitest: 1.5.2 + vitest: 1.6.0 dependencies: - '@vitest/utils': 1.5.2 + '@vitest/utils': 1.6.0 fast-glob: 3.3.2 fflate: 0.8.2 flatted: 3.2.9 pathe: 1.1.2 picocolors: 1.0.0 sirv: 2.0.4 - vitest: 1.5.2(@types/node@20.12.7)(@vitest/ui@1.5.2) + vitest: 1.6.0(@types/node@20.12.11)(@vitest/ui@1.6.0) dev: true - /@vitest/utils@1.5.2: - resolution: {integrity: sha512-sWOmyofuXLJ85VvXNsroZur7mOJGiQeM0JN3/0D1uU8U9bGFM69X1iqHaRXl6R8BwaLY6yPCogP257zxTzkUdA==} + /@vitest/utils@1.6.0: + resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 @@ -2791,7 +2799,7 @@ packages: ohash: 1.1.3 pathe: 1.1.2 perfect-debounce: 1.0.0 - pkg-types: 1.1.0 + pkg-types: 1.1.1 rc9: 2.1.1 dev: true @@ -2811,6 +2819,10 @@ packages: set-function-length: 1.2.2 dev: false + /call-me-maybe@1.0.2: + resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==} + dev: true + /callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} @@ -2878,7 +2890,7 @@ packages: ofetch: 1.3.4 open: 9.1.0 pathe: 1.1.2 - pkg-types: 1.1.0 + pkg-types: 1.1.1 scule: 1.3.0 semver: 7.6.0 std-env: 3.7.0 @@ -3512,8 +3524,8 @@ packages: parse-gitignore: 2.0.0 dev: true - /eslint-flat-config-utils@0.2.3: - resolution: {integrity: sha512-tfrMNXZfuN4q7sFi1Cr//BN3qdI7c8fLJhbshlp8l9PZIqZ7eVeeyd2Regtu/P9kjOlv18lRlBALzsZaF7ByUg==} + /eslint-flat-config-utils@0.2.4: + resolution: {integrity: sha512-k7MJkSIfF0bs5eQu1KXyV0AhsvdsqSt1pQfZNLwf6qkozuHQV6aNHg5f8+3Ya+WTzpB+e7I3hMhs4qBwx7nEkw==} dependencies: '@types/eslint': 8.56.10 pathe: 1.1.2 @@ -3550,16 +3562,17 @@ packages: resolution: {integrity: sha512-oOeA6FWU0UJT/Rxc3XF5Cq0nbIZbylm7j8+plqq0CZoE6m4u32OXJrR+9iy4srGMmF6v6pmgvP1zPxSRIGh3sg==} dev: true - /eslint-plugin-antfu@2.1.2(eslint@8.57.0): - resolution: {integrity: sha512-s7ZTOM3uq0iqpp6gF0UEotnvup7f2PHBUftCytLZX0+6C9j9KadKZQh6bVVngAyFgsmeD9+gcBopOYLClb2oDg==} + /eslint-plugin-antfu@2.2.0(eslint@8.57.0): + resolution: {integrity: sha512-QHzHYP+fyfhSkIdcuT9JZ4rCPuJOoHRE27gglPYHlJ6lxB7pO9i45yAy4aurx/rleBuEC27U4c//1Nwtbasj4Q==} peerDependencies: eslint: '*' dependencies: + '@antfu/utils': 0.7.8 eslint: 8.57.0 dev: true - /eslint-plugin-command@0.1.2(eslint@8.57.0): - resolution: {integrity: sha512-LxP9coE/GwLvF4JMFyJxqjyMxOASxl8Y3UPWyjjfaIBz4X0yWGqidX0gbAeVuZ9xkaBNWIWZtlPtLPlN/wckOA==} + /eslint-plugin-command@0.2.0(eslint@8.57.0): + resolution: {integrity: sha512-SGOMTs6Pu5HQKwCF9uZ214cdVlJ99U+6GRoUS01zeLZmcQcFU4YXy2KTKqXaEsNCvaFY91OrHRZbh4/1xt9Yzw==} peerDependencies: eslint: '*' dependencies: @@ -3660,8 +3673,8 @@ packages: synckit: 0.6.2 dev: true - /eslint-plugin-markdown@4.0.1(eslint@8.57.0): - resolution: {integrity: sha512-5/MnGvYU0i8MbHH5cg8S+Vl3DL+bqRNYshk1xUO86DilNBaxtTkhH+5FD0/yO03AmlI6+lfNFdk2yOw72EPzpA==} + /eslint-plugin-markdown@5.0.0(eslint@8.57.0): + resolution: {integrity: sha512-kY2u9yDhzvfZ0kmRTsvgm3mTnvZgTSGIIPeHg3yesSx4R5CTCnITUjCPhzCD1MUhNcqHU5Tr6lzx+02EclVPbw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8' @@ -3672,8 +3685,8 @@ packages: - supports-color dev: true - /eslint-plugin-n@17.3.1(eslint@8.57.0): - resolution: {integrity: sha512-25+HTtKe1F8U/M4ERmdzbz/xkm/gaY0OYC8Fcv1z/WvpLJ8Xfh9LzJ13JV5uj4QyCUD8kOPJrNjn/3y+tc57Vw==} + /eslint-plugin-n@17.6.0(eslint@8.57.0): + resolution: {integrity: sha512-Y73o88ROwbCtVCCmZjYlYcPYkOG7mIzxxVK1XFRSa2epbKWtAPsmYpAD0pqxg/ZwlcWxMDceQPKHYQi4VIHz7w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: '>=8.23.0' @@ -3683,7 +3696,7 @@ packages: eslint: 8.57.0 eslint-plugin-es-x: 7.6.0(eslint@8.57.0) get-tsconfig: 4.7.3 - globals: 15.0.0 + globals: 15.2.0 ignore: 5.3.1 minimatch: 9.0.4 semver: 7.6.0 @@ -3764,8 +3777,8 @@ packages: - supports-color dev: true - /eslint-plugin-unused-imports@3.1.0(@typescript-eslint/eslint-plugin@7.7.1)(eslint@8.57.0): - resolution: {integrity: sha512-9l1YFCzXKkw1qtAru1RWUtG2EVDZY0a0eChKXcL+EZ5jitG7qxdctu4RnvhOJHv4xfmUf7h+JJPINlVpGhZMrw==} + /eslint-plugin-unused-imports@3.2.0(@typescript-eslint/eslint-plugin@7.9.0)(eslint@8.57.0): + resolution: {integrity: sha512-6uXyn6xdINEpxE1MtDjxQsyXB37lfyO2yKGVVgtD7WEWQGORSOZjgrD6hBhvGv4/SO+TOlS+UnC6JppRqbuwGQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/eslint-plugin': 6 - 7 @@ -3774,12 +3787,12 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.7.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.9.0(@typescript-eslint/parser@7.9.0)(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-rule-composer: 0.3.0 dev: true - /eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@7.7.1)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.5.2): + /eslint-plugin-vitest@0.5.4(@typescript-eslint/eslint-plugin@7.9.0)(eslint@8.57.0)(typescript@5.4.5)(vitest@1.6.0): resolution: {integrity: sha512-um+odCkccAHU53WdKAw39MY61+1x990uXjSPguUCq3VcEHdqJrOb8OTMrbYlY6f9jAKx7x98kLVlIe3RJeJqoQ==} engines: {node: ^18.0.0 || >= 20.0.0} peerDependencies: @@ -3792,10 +3805,10 @@ packages: vitest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.7.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.9.0(@typescript-eslint/parser@7.9.0)(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/utils': 7.7.1(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 - vitest: 1.5.2(@types/node@20.12.7)(@vitest/ui@1.5.2) + vitest: 1.6.0(@types/node@20.12.11)(@vitest/ui@1.6.0) transitivePeerDependencies: - supports-color - typescript @@ -3882,6 +3895,11 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true + /eslint-visitor-keys@4.0.0: + resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dev: true + /eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3929,6 +3947,15 @@ packages: - supports-color dev: true + /espree@10.0.1: + resolution: {integrity: sha512-MWkrWZbJsL2UwnjxTX3gG8FneachS/Mwg7tdGXce011sJd5b0JG54vat5KHnfSBODZ3Wvzd2WnjxyzsRoVv+ww==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dependencies: + acorn: 8.11.3 + acorn-jsx: 5.3.2(acorn@8.11.3) + eslint-visitor-keys: 4.0.0 + dev: true + /espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -4157,7 +4184,7 @@ packages: resolution: {integrity: sha512-stRHYGeuqpEZTL1Ef0Ovr2ltazUT9g844X5z/zEBFLG8RYlpDiOCIG+ATvYEp+/zmc7sN29mcIMp8gvYplYPIQ==} dev: false - /fastify-zod-openapi@1.2.0(fastify@4.26.2)(zod-openapi@2.17.0)(zod@3.23.4): + /fastify-zod-openapi@1.2.0(fastify@4.27.0)(zod-openapi@2.17.0)(zod@3.23.8): resolution: {integrity: sha512-Hm+4y7B0sWHP+0CvtMJuM3Tp+VMbfax7k4rH/VYk2EB/PJ38pcP6/TKMQ/0394N2IzrA64rzN261NgOZmNn3XA==} engines: {node: '>=16.11'} peerDependencies: @@ -4165,14 +4192,14 @@ packages: zod: ^3.21.4 zod-openapi: ^2.6.3 dependencies: - fastify: 4.26.2 + fastify: 4.27.0 fastify-plugin: 4.5.1 - zod: 3.23.4 - zod-openapi: 2.17.0(zod@3.23.4) + zod: 3.23.8 + zod-openapi: 2.17.0(zod@3.23.8) dev: false - /fastify@4.26.2: - resolution: {integrity: sha512-90pjTuPGrfVKtdpLeLzND5nyC4woXZN5VadiNQCicj/iJU4viNHKhsAnb7jmv1vu2IzkLXyBiCzdWuzeXgQ5Ug==} + /fastify@4.27.0: + resolution: {integrity: sha512-ci9IXzbigB8dyi0mSy3faa3Bsj0xWAPb9JeT4KRzubdSb6pNhcADRUaXCBml6V1Ss/a05kbtQls5LBmhHydoTA==} dependencies: '@fastify/ajv-compiler': 3.5.0 '@fastify/error': 3.4.0 @@ -4183,12 +4210,12 @@ packages: fast-json-stringify: 5.8.0 find-my-way: 8.1.0 light-my-request: 5.11.0 - pino: 8.18.0 + pino: 9.1.0 process-warning: 3.0.0 proxy-addr: 2.0.7 rfdc: 1.3.0 secure-json-parse: 2.7.0 - semver: 7.5.4 + semver: 7.6.0 toad-cache: 3.3.0 transitivePeerDependencies: - supports-color @@ -4479,7 +4506,7 @@ packages: dependencies: foreground-child: 3.1.1 jackspeak: 2.3.6 - minimatch: 9.0.3 + minimatch: 9.0.4 minipass: 7.0.4 path-scurry: 1.10.1 dev: false @@ -4533,8 +4560,8 @@ packages: type-fest: 0.20.2 dev: true - /globals@15.0.0: - resolution: {integrity: sha512-m/C/yR4mjO6pXDTm9/R/SpYTAIyaUB4EOzcaaMEl7mds7Mshct9GfejiJNQGjHHbdMPey13Kpu4TMbYi9ex1pw==} + /globals@15.2.0: + resolution: {integrity: sha512-FQ5YwCHZM3nCmtb5FzEWwdUc9K5d3V/w9mzcz8iGD1gC/aOTHc6PouYu0kkKipNJqHAT7m51sqzQjEjIP+cK0A==} engines: {node: '>=18'} dev: true @@ -5007,8 +5034,8 @@ packages: resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} dev: false - /langchain@0.1.36(@qdrant/js-client-rest@1.9.0)(cheerio@1.0.0-rc.12)(d3-dsv@2.0.0)(html-to-text@9.0.5)(lodash@4.17.21)(mammoth@1.7.2)(officeparser@4.0.8)(pdf-parse@1.1.1): - resolution: {integrity: sha512-NTbnCL/jKWIeEI//Nm1oG8nhW3vkYWvEMr1MPotmTThTfeKfO87eV/OAzAyh6Ruy6GFs/qofRgQZGIe6XvXTNQ==} + /langchain@0.1.37(@qdrant/js-client-rest@1.9.0)(cheerio@1.0.0-rc.12)(d3-dsv@2.0.0)(html-to-text@9.0.5)(lodash@4.17.21)(mammoth@1.7.2)(officeparser@4.1.1)(pdf-parse@1.1.1): + resolution: {integrity: sha512-rpaLEJtRrLYhAViEp7/aHfSkxbgSqHJ5n10tXv3o4kHP/wOin85RpTgewwvGjEaKc3797jOg+sLSk6a7e0UlMg==} engines: {node: '>=18'} peerDependencies: '@aws-sdk/client-s3': ^3.310.0 @@ -5016,6 +5043,7 @@ packages: '@aws-sdk/client-sfn': ^3.310.0 '@aws-sdk/credential-provider-node': ^3.388.0 '@azure/storage-blob': ^12.15.0 + '@browserbasehq/sdk': '*' '@gomomento/sdk': ^1.51.1 '@gomomento/sdk-core': ^1.51.1 '@gomomento/sdk-web': ^1.51.1 @@ -5074,6 +5102,8 @@ packages: optional: true '@azure/storage-blob': optional: true + '@browserbasehq/sdk': + optional: true '@gomomento/sdk': optional: true '@gomomento/sdk-core': @@ -5170,8 +5200,8 @@ packages: optional: true dependencies: '@anthropic-ai/sdk': 0.9.1 - '@langchain/community': 0.0.53(@qdrant/js-client-rest@1.9.0)(html-to-text@9.0.5)(lodash@4.17.21) - '@langchain/core': 0.1.61 + '@langchain/community': 0.0.56(@qdrant/js-client-rest@1.9.0)(html-to-text@9.0.5)(lodash@4.17.21) + '@langchain/core': 0.1.62 '@langchain/openai': 0.0.28 '@langchain/textsplitters': 0.0.0 binary-extensions: 2.2.0 @@ -5185,14 +5215,14 @@ packages: langsmith: 0.1.13 mammoth: 1.7.2 ml-distance: 4.0.1 - officeparser: 4.0.8 + officeparser: 4.1.1 openapi-types: 12.1.3 p-retry: 4.6.2 pdf-parse: 1.1.1 uuid: 9.0.1 yaml: 2.3.3 - zod: 3.23.4 - zod-to-json-schema: 3.23.0(zod@3.23.4) + zod: 3.23.8 + zod-to-json-schema: 3.23.0(zod@3.23.8) transitivePeerDependencies: - '@aws-crypto/sha256-js' - '@aws-sdk/client-bedrock-agent-runtime' @@ -5323,7 +5353,7 @@ packages: engines: {node: '>=14'} dependencies: mlly: 1.6.1 - pkg-types: 1.1.0 + pkg-types: 1.1.1 dev: true /locate-path@5.0.0: @@ -5538,18 +5568,11 @@ packages: brace-expansion: 2.0.1 dev: false - /minimatch@9.0.3: - resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} - engines: {node: '>=16 || 14 >=14.17'} - dependencies: - brace-expansion: 2.0.1 - /minimatch@9.0.4: resolution: {integrity: sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==} engines: {node: '>=16 || 14 >=14.17'} dependencies: brace-expansion: 2.0.1 - dev: true /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -5623,8 +5646,17 @@ packages: dependencies: acorn: 8.11.3 pathe: 1.1.2 - pkg-types: 1.1.0 + pkg-types: 1.1.1 ufo: 1.5.0 + dev: true + + /mlly@1.7.0: + resolution: {integrity: sha512-U9SDaXGEREBYQgfejV97coK0UL1r+qnF2SyO9A3qcI8MzKnsIFKHNVEkrDyNncQTKQQumsasmeq84eNMdBfsNQ==} + dependencies: + acorn: 8.11.3 + pathe: 1.1.2 + pkg-types: 1.1.1 + ufo: 1.5.3 /mnemonist@0.39.6: resolution: {integrity: sha512-A/0v5Z59y63US00cRSLiloEIw3t5G+MiKz4BhX21FI+YBJXBOGW0ohFxTxO08dsOYlzxo87T7vGfZKYp2bcAWA==} @@ -5801,17 +5833,15 @@ packages: node-fetch-native: 1.6.4 ufo: 1.5.3 - /officeparser@4.0.8: - resolution: {integrity: sha512-dIVwWkKWwFy7qQO+8foRTTDJybs3CEJORDulCQPqirqhtiK2cETojmuekRtBcVebpcAKCXTg4dYs0mjmifwJKA==} + /officeparser@4.1.1: + resolution: {integrity: sha512-bOh7l6Bt/caeyU9t+9yGdQF2N30j8puR7PhXmSI/NqssHNnfnTLp1ehpBo4KuIMeOvzhr8mvkXHFpR2qhH1uhg==} hasBin: true dependencies: '@xmldom/xmldom': 0.8.10 decompress: 4.2.1 file-type: 16.5.4 - pdf-parse: 1.1.1 + node-ensure: 0.0.0 rimraf: 2.7.1 - transitivePeerDependencies: - - supports-color dev: false /ohash@1.1.3: @@ -6165,6 +6195,13 @@ packages: split2: 4.2.0 dev: false + /pino-abstract-transport@1.2.0: + resolution: {integrity: sha512-Guhh8EZfPCfH+PMXAb6rKOjGQEoy0xlAIn+irODG5kgfYV+BQ0rGYYWTIel3P5mmyXqkYkPmdIkywsn6QKUR1Q==} + dependencies: + readable-stream: 4.4.2 + split2: 4.2.0 + dev: false + /pino-pretty@10.2.3: resolution: {integrity: sha512-4jfIUc8TC1GPUfDyMSlW1STeORqkoxec71yhxIpLDQapUu8WOuoz2TTCoidrIssyz78LZC69whBMPIKCMbi3cw==} hasBin: true @@ -6185,25 +6222,25 @@ packages: strip-json-comments: 3.1.1 dev: false - /pino-std-serializers@6.2.2: - resolution: {integrity: sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==} + /pino-std-serializers@7.0.0: + resolution: {integrity: sha512-e906FRY0+tV27iq4juKzSYPbUj2do2X2JX4EzSca1631EB2QJQUqGbDuERal7LCtOpxl6x3+nvo9NPZcmjkiFA==} dev: false - /pino@8.18.0: - resolution: {integrity: sha512-Mz/gKiRyuXu4HnpHgi1YWdHQCoWMufapzooisvFn78zl4dZciAxS+YeRkUxXl1ee/SzU80YCz1zpECCh4oC6Aw==} + /pino@9.1.0: + resolution: {integrity: sha512-qUcgfrlyOtjwhNLdbhoL7NR4NkHjzykAPw0V2QLFbvu/zss29h4NkRnibyFzBrNCbzCOY3WZ9hhKSwfOkNggYA==} hasBin: true dependencies: atomic-sleep: 1.0.0 fast-redact: 3.3.0 on-exit-leak-free: 2.1.2 - pino-abstract-transport: 1.1.0 - pino-std-serializers: 6.2.2 + pino-abstract-transport: 1.2.0 + pino-std-serializers: 7.0.0 process-warning: 3.0.0 quick-format-unescaped: 4.0.4 real-require: 0.2.0 safe-stable-stringify: 2.4.3 - sonic-boom: 3.7.0 - thread-stream: 2.4.1 + sonic-boom: 4.0.1 + thread-stream: 3.0.0 dev: false /pirates@4.0.6: @@ -6211,11 +6248,11 @@ packages: engines: {node: '>= 6'} dev: true - /pkg-types@1.1.0: - resolution: {integrity: sha512-/RpmvKdxKf8uILTtoOhAgf30wYbP2Qw+L9p3Rvshx1JZVX+XQNZQFjlbmGHEGIm4CkVPlSn+NXmIM8+9oWQaSA==} + /pkg-types@1.1.1: + resolution: {integrity: sha512-ko14TjmDuQJ14zsotODv7dBlwxKhUKQEhuhmbqo1uCi9BB0Z2alo/wAXg6q1dTR5TyuqYyWhjtfe/Tsh+X28jQ==} dependencies: confbox: 0.1.7 - mlly: 1.6.1 + mlly: 1.7.0 pathe: 1.1.2 /pluralize@8.0.0: @@ -6656,7 +6693,6 @@ packages: hasBin: true dependencies: lru-cache: 6.0.0 - dev: true /serialize-error@11.0.3: resolution: {integrity: sha512-2G2y++21dhj2R7iHAdd0FIzjGwuKZld+7Pl/bTU6YIkrC2ZMbVUjm+luj6A6V34Rv9XfKJDKpTWu9W4Gse1D9g==} @@ -6761,6 +6797,12 @@ packages: atomic-sleep: 1.0.0 dev: false + /sonic-boom@4.0.1: + resolution: {integrity: sha512-hTSD/6JMLyT4r9zeof6UtuBDpjJ9sO08/nmS5djaA9eozT9oOlNdpXSnzcgj4FTqpk3nkLrs61l4gip9r1HCrQ==} + dependencies: + atomic-sleep: 1.0.0 + dev: false + /source-map-js@1.2.0: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} @@ -6850,6 +6892,11 @@ packages: engines: {node: '>=4.0.0'} dev: false + /string-argv@0.3.2: + resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} + engines: {node: '>=0.6.19'} + dev: true + /string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -7029,8 +7076,8 @@ packages: any-promise: 1.3.0 dev: true - /thread-stream@2.4.1: - resolution: {integrity: sha512-d/Ex2iWd1whipbT681JmTINKw0ZwOUBZm7+Gjs64DHuX34mmw8vJL2bFAaNacaW72zYiTJxSHi5abUuOi5nsfg==} + /thread-stream@3.0.0: + resolution: {integrity: sha512-oUIFjxaUT6knhPtWgDMc29zF1FcSl0yXpapkyrQrCGEfYA2HUZXCilUtKyYIv6HkCyqSPAMkY+EG0GbyIrNDQg==} dependencies: real-require: 0.2.0 dev: false @@ -7217,12 +7264,12 @@ packages: typescript: 5.4.5 dev: true - /tsx@4.7.3: - resolution: {integrity: sha512-+fQnMqIp/jxZEXLcj6WzYy9FhcS5/Dfk8y4AtzJ6ejKcKqmfTF8Gso/jtrzDggCF2zTU20gJa6n8XqPYwDAUYQ==} + /tsx@4.10.2: + resolution: {integrity: sha512-gOfACgv1ElsIjvt7Fp0rMJKGnMGjox0JfGOfX3kmZCV/yZumaNqtHGKBXt1KgaYS9KjDOmqGeI8gHk/W7kWVZg==} engines: {node: '>=18.0.0'} hasBin: true dependencies: - esbuild: 0.19.12 + esbuild: 0.20.2 get-tsconfig: 4.7.3 optionalDependencies: fsevents: 2.3.3 @@ -7292,8 +7339,8 @@ packages: mime-types: 2.1.35 dev: false - /typescript-eslint@7.7.1(eslint@8.57.0)(typescript@5.4.5): - resolution: {integrity: sha512-ykEBfa3xx3odjZy6GRED4SCPrjo0rgHwstLlEgLX4EMEuv7QeIDSmfV+S6Kk+XkbsYn4BDEcPvsci1X26lRpMQ==} + /typescript-eslint@7.9.0(eslint@8.57.0)(typescript@5.4.5): + resolution: {integrity: sha512-7iTn9c10teHHCys5Ud/yaJntXZrjt3h2mrx3feJGBOLgQkF3TB1X89Xs3aVQ/GgdXRAXpk2bPTdpRwHP4YkUow==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -7302,9 +7349,9 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 7.7.1(@typescript-eslint/parser@7.7.1)(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.7.1(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.7.1(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.9.0(@typescript-eslint/parser@7.9.0)(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.9.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.9.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 typescript: 5.4.5 transitivePeerDependencies: @@ -7318,6 +7365,7 @@ packages: /ufo@1.5.0: resolution: {integrity: sha512-c7SxU8XB0LTO7hALl6CcE1Q92ZrLzr1iE0IVIsUa9SlFfkn2B2p6YLO6dLxOj7qCWY98PB3Q3EZbN6bEu8p7jA==} + dev: true /ufo@1.5.3: resolution: {integrity: sha512-Y7HYmWaFwPUmkoQCUIAYpKqkOf+SbVj/2fJJZ4RJMCfZp0rTGwRbzQD+HghfnhKOjL9E01okqz+ncJskGYfBNw==} @@ -7412,8 +7460,8 @@ packages: engines: {node: '>= 0.8'} dev: false - /vite-node@1.5.2(@types/node@20.12.7): - resolution: {integrity: sha512-Y8p91kz9zU+bWtF7HGt6DVw2JbhyuB2RlZix3FPYAYmUyZ3n7iTp8eSyLyY6sxtPegvxQtmlTMhfPhUfCUF93A==} + /vite-node@1.6.0(@types/node@20.12.11): + resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: @@ -7421,7 +7469,7 @@ packages: debug: 4.3.4(supports-color@5.5.0) pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.7(@types/node@20.12.7) + vite: 5.2.7(@types/node@20.12.11) transitivePeerDependencies: - '@types/node' - less @@ -7449,7 +7497,7 @@ packages: - typescript dev: true - /vite@5.2.7(@types/node@20.12.7): + /vite@5.2.7(@types/node@20.12.11): resolution: {integrity: sha512-k14PWOKLI6pMaSzAuGtT+Cf0YmIx12z9YGon39onaJNy8DLBfBJrzg9FQEmkAM5lpHBZs9wksWAsyF/HkpEwJA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -7477,7 +7525,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.12.7 + '@types/node': 20.12.11 esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.13.2 @@ -7485,15 +7533,15 @@ packages: fsevents: 2.3.3 dev: true - /vitest@1.5.2(@types/node@20.12.7)(@vitest/ui@1.5.2): - resolution: {integrity: sha512-l9gwIkq16ug3xY7BxHwcBQovLZG75zZL0PlsiYQbf76Rz6QGs54416UWMtC0jXeihvHvcHrf2ROEjkQRVpoZYw==} + /vitest@1.6.0(@types/node@20.12.11)(@vitest/ui@1.6.0): + resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 1.5.2 - '@vitest/ui': 1.5.2 + '@vitest/browser': 1.6.0 + '@vitest/ui': 1.6.0 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -7510,13 +7558,13 @@ packages: jsdom: optional: true dependencies: - '@types/node': 20.12.7 - '@vitest/expect': 1.5.2 - '@vitest/runner': 1.5.2 - '@vitest/snapshot': 1.5.2 - '@vitest/spy': 1.5.2 - '@vitest/ui': 1.5.2(vitest@1.5.2) - '@vitest/utils': 1.5.2 + '@types/node': 20.12.11 + '@vitest/expect': 1.6.0 + '@vitest/runner': 1.6.0 + '@vitest/snapshot': 1.6.0 + '@vitest/spy': 1.6.0 + '@vitest/ui': 1.6.0(vitest@1.6.0) + '@vitest/utils': 1.6.0 acorn-walk: 8.3.2 chai: 4.4.1 debug: 4.3.4(supports-color@5.5.0) @@ -7529,8 +7577,8 @@ packages: strip-literal: 2.1.0 tinybench: 2.6.0 tinypool: 0.8.3 - vite: 5.2.7(@types/node@20.12.7) - vite-node: 1.5.2(@types/node@20.12.7) + vite: 5.2.7(@types/node@20.12.11) + vite-node: 1.6.0(@types/node@20.12.11) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -7723,33 +7771,33 @@ packages: engines: {node: '>=12.20'} dev: true - /zod-openapi@2.17.0(zod@3.23.4): + /zod-openapi@2.17.0(zod@3.23.8): resolution: {integrity: sha512-S6x14LmPWZ3Sbnx71pqzIB6oIox1ce6vHnJY7ZUYLBm8TTEQ6/g6+kwutna5jplAhzphkMbYPbtW3cmHXFcRBg==} engines: {node: '>=16.11'} peerDependencies: zod: ^3.21.4 dependencies: - zod: 3.23.4 + zod: 3.23.8 dev: false - /zod-to-json-schema@3.20.3(zod@3.23.4): + /zod-to-json-schema@3.20.3(zod@3.23.8): resolution: {integrity: sha512-/Q3wnyxAfCt94ZcrGiXXoiAfRqasxl9CX64LZ9fj+4dKH68zulUtU0uk1WMxQPfAxQ0ZI70dKzcoW7hHj+DwSQ==} peerDependencies: zod: ^3.20.0 dependencies: - zod: 3.23.4 + zod: 3.23.8 dev: false - /zod-to-json-schema@3.23.0(zod@3.23.4): + /zod-to-json-schema@3.23.0(zod@3.23.8): resolution: {integrity: sha512-az0uJ243PxsRIa2x1WmNE/pnuA05gUq/JB8Lwe1EDCCL/Fz9MgjYQ0fPlyc2Tcv6aF2ZA7WM5TWaRZVEFaAIag==} peerDependencies: zod: ^3.23.3 dependencies: - zod: 3.23.4 + zod: 3.23.8 dev: false - /zod@3.23.4: - resolution: {integrity: sha512-/AtWOKbBgjzEYYQRNfoGKHObgfAZag6qUJX1VbHo2PRBgS+wfWagEY2mizjfyAPcGesrJOcx/wcl0L9WnVrHFw==} + /zod@3.23.8: + resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} dev: false /zx@7.2.3: diff --git a/src/database.ts b/src/database.ts index c764b0a..37e38ad 100644 --- a/src/database.ts +++ b/src/database.ts @@ -1,4 +1,3 @@ -import { defu } from 'defu' import { JSONFileSyncPreset } from 'lowdb/node' import { z } from 'zod' diff --git a/src/looking_glass/agent-manager.ts b/src/looking_glass/agent-manager.ts index 2dfe4d2..e5d4e28 100644 --- a/src/looking_glass/agent-manager.ts +++ b/src/looking_glass/agent-manager.ts @@ -143,7 +143,7 @@ export class AgentManager { return await memoryChain.invoke(input, { callbacks: [new NewTokenHandler(stray)] }) } - async executeTool(input: AgentInput, stray: StrayCat): Promise { + async executeTool(input: AgentInput, stray: StrayCat): Promise { const trigger = madHatter.executeHook('instantToolTrigger', '@{name}', stray) if (!trigger) return undefined @@ -155,7 +155,11 @@ export class AgentManager { if (calledTool && instantTool) { const toolInput = input.input.replace(interpolateFString(trigger, { name: calledTool.name }), '').trim() calledTool.assignCat(stray) - return { output: await calledTool.invoke(toolInput) } + const output = await calledTool.invoke(toolInput) + return { + output, + intermediateSteps: [{ tool: calledTool.name, input: toolInput, observation: output }], + } } return undefined } diff --git a/src/mad_hatter/core_plugin/plugin-tools.ts b/src/mad_hatter/core_plugin/plugin-tools.ts index 6424819..5c010f7 100644 --- a/src/mad_hatter/core_plugin/plugin-tools.ts +++ b/src/mad_hatter/core_plugin/plugin-tools.ts @@ -9,10 +9,10 @@ CatTool.add('GetTime', 'Useful to get the current time when asked. Input is alwa startExamples: ['What time is it', 'Get the time'], }) -CatTool.add('GetName', 'Useful to get the current user name when asked. Input is the user name.', async (input) => { - return `Your name is ${input}` +CatTool.add('GenerateName', 'Useful to generate a random name when asked. Input is the country origin of the name.', async (input, cat) => { + return cat.llm(`Give me a name that is from ${input}`) }, { - startExamples: ['My name is Daniel', 'I\'m John'], + startExamples: ['I want an african name', 'Generate an italian name'], }) CatForm.add('PizzaForm', { diff --git a/src/mad_hatter/tool.ts b/src/mad_hatter/tool.ts index d4cc038..48efb47 100644 --- a/src/mad_hatter/tool.ts +++ b/src/mad_hatter/tool.ts @@ -4,6 +4,7 @@ import _IsEmpty from 'lodash/isEmpty.js' import { DynamicStructuredTool } from '@langchain/core/tools' import type { RunnableConfig } from '@langchain/core/runnables' import type { StrayCat } from '@lg' +import { parsedEnv } from '@utils' interface ToolOptions { direct?: boolean @@ -52,6 +53,7 @@ export class Tool extends DynamicStructuredTool { text: z.string().nullable(), }), returnDirect: direct, + verbose: parsedEnv.verbose, }) this.startExamples = startExamples diff --git a/src/plugins/README.md b/src/plugins/README.md index a5e477f..38e2946 100644 --- a/src/plugins/README.md +++ b/src/plugins/README.md @@ -8,7 +8,7 @@ To let the Cheshire Cat detect your plugin, you need to create at least one `.ts To import `tool`, `hook`, `form` or `plugin` methods, you need to: -```typescript +```ts import { CatHook } from '@hook' import { CatTool } from '@tool' import { CatForm } from '@form' @@ -17,7 +17,7 @@ import { CatPlugin } from '@plugin' And then you can use them like this: -```typescript +```ts CatHook.add('hookName', /* ... the other parameters */) CatTool.add('toolName', /* ... the other parameters */) @@ -29,7 +29,7 @@ CatPlugin.on('eventName', /* ... the other parameters */) From inside any hook, tool or form, you can access the current plugin informations like this: -```typescript +```ts // For example, in a hook CatHook.add('agentPromptPrefix', (prefix, cat) => { const info = cat.getPluginInfo() @@ -62,7 +62,7 @@ CatForm.add('myFormName', { For the plugin settings, you must use `zod`. Here is an example: -```typescript +```ts import { z } from 'zod' CatPlugin.settings({ @@ -72,7 +72,7 @@ CatPlugin.settings({ If you need to use the internal logger, you can do: -```typescript +```ts import { log } from '@logger' log.info('Hello, world!') diff --git a/test/env-mock.ts b/test/env-mock.ts index 644f155..7f684b9 100644 --- a/test/env-mock.ts +++ b/test/env-mock.ts @@ -1,7 +1,3 @@ -import { madHatter } from '@mh/mad-hatter.ts' -import { cheshireCat } from '@lg/cheshire-cat.ts' -import { StrayCat } from '@lg/stray-cat.ts' -import { rabbitHole } from '@rh' import { afterAll, beforeAll, test, vi } from 'vitest' export const mockTest = test.extend({