diff --git a/package.json b/package.json index 77fb58f..037eb37 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@mui/material": "^5.15.14", "@xenova/transformers": "^2.16.1", "construct-style-sheets-polyfill": "^3.1.0", - "langchain": "^0.1.30", + "langchain": "^0.1.33", "moment": "^2.30.1", "pdf-parse": "^1.1.1", "pdfjs-dist": "^4.0.379", @@ -53,7 +53,7 @@ "@twind/preset-tailwind": "^1.1.4", "@types/chrome": "0.0.266", "@types/jest": "29.5.12", - "@types/node": "20.12.2", + "@types/node": "20.12.7", "@types/react": "18.2.73", "@types/react-dom": "18.2.25", "@types/ws": "^8.5.10", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 68070e0..ab6c523 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ dependencies: specifier: ^3.1.0 version: 3.1.0 langchain: - specifier: ^0.1.30 - version: 0.1.30(@mozilla/readability@0.5.0)(@xenova/transformers@2.16.1)(pdf-parse@1.1.1)(voy-search@0.6.3)(ws@8.16.0) + specifier: ^0.1.33 + version: 0.1.33(@mozilla/readability@0.5.0)(@xenova/transformers@2.16.1)(pdf-parse@1.1.1)(voy-search@0.6.3)(ws@8.16.0) moment: specifier: ^2.30.1 version: 2.30.1 @@ -63,7 +63,7 @@ dependencies: devDependencies: '@commitlint/cli': specifier: ^19.2.1 - version: 19.2.1(@types/node@20.12.2)(typescript@5.4.4) + version: 19.2.1(@types/node@20.12.7)(typescript@5.4.4) '@commitlint/config-conventional': specifier: ^19.1.0 version: 19.1.0 @@ -89,8 +89,8 @@ devDependencies: specifier: 29.5.12 version: 29.5.12 '@types/node': - specifier: 20.12.2 - version: 20.12.2 + specifier: 20.12.7 + version: 20.12.7 '@types/react': specifier: 18.2.73 version: 18.2.73 @@ -147,7 +147,7 @@ devDependencies: version: 9.0.11 jest: specifier: 29.7.0 - version: 29.7.0(@types/node@20.12.2) + version: 29.7.0(@types/node@20.12.7) jest-environment-jsdom: specifier: 29.7.0 version: 29.7.0 @@ -180,7 +180,7 @@ devDependencies: version: 5.4.4 vite: specifier: 5.2.8 - version: 5.2.8(@types/node@20.12.2)(sass@1.71.1) + version: 5.2.8(@types/node@20.12.7)(sass@1.71.1) vite-plugin-top-level-await: specifier: ^1.4.1 version: 1.4.1(rollup@4.13.0)(vite@5.2.8) @@ -691,14 +691,14 @@ packages: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} dev: true - /@commitlint/cli@19.2.1(@types/node@20.12.2)(typescript@5.4.4): + /@commitlint/cli@19.2.1(@types/node@20.12.7)(typescript@5.4.4): resolution: {integrity: sha512-cbkYUJsLqRomccNxvoJTyv5yn0bSy05BBizVyIcLACkRbVUqYorC351Diw/XFSWC/GtpwiwT2eOvQgFZa374bg==} engines: {node: '>=v18'} hasBin: true dependencies: '@commitlint/format': 19.0.3 '@commitlint/lint': 19.1.0 - '@commitlint/load': 19.2.0(@types/node@20.12.2)(typescript@5.4.4) + '@commitlint/load': 19.2.0(@types/node@20.12.7)(typescript@5.4.4) '@commitlint/read': 19.2.1 '@commitlint/types': 19.0.3 execa: 8.0.1 @@ -767,7 +767,7 @@ packages: '@commitlint/types': 19.0.3 dev: true - /@commitlint/load@19.2.0(@types/node@20.12.2)(typescript@5.4.4): + /@commitlint/load@19.2.0(@types/node@20.12.7)(typescript@5.4.4): resolution: {integrity: sha512-XvxxLJTKqZojCxaBQ7u92qQLFMMZc4+p9qrIq/9kJDy8DOrEa7P1yx7Tjdc2u2JxIalqT4KOGraVgCE7eCYJyQ==} engines: {node: '>=v18'} dependencies: @@ -777,7 +777,7 @@ packages: '@commitlint/types': 19.0.3 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.4.4) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.12.2)(cosmiconfig@9.0.0)(typescript@5.4.4) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.12.7)(cosmiconfig@9.0.0)(typescript@5.4.4) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -1312,7 +1312,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -1333,14 +1333,14 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.12.2) + jest-config: 29.7.0(@types/node@20.12.7) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -1368,7 +1368,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 jest-mock: 29.7.0 dev: true @@ -1395,7 +1395,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.12.2 + '@types/node': 20.12.7 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -1428,7 +1428,7 @@ packages: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.20 - '@types/node': 20.12.2 + '@types/node': 20.12.7 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -1516,7 +1516,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.5 '@types/istanbul-reports': 3.0.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 '@types/yargs': 17.0.28 chalk: 4.1.2 dev: true @@ -1584,8 +1584,8 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /@langchain/community@0.0.43(@mozilla/readability@0.5.0)(@xenova/transformers@2.16.1)(voy-search@0.6.3)(ws@8.16.0): - resolution: {integrity: sha512-60TjV3knGGOPHfbJxLpuwARr8oA0r6Txm8wTFvFx+TjRUrloyBUcWSbJIdm62gAwBJDEHmdjjyWOOzU+eewcuA==} + /@langchain/community@0.0.48(@mozilla/readability@0.5.0)(@xenova/transformers@2.16.1)(voy-search@0.6.3)(ws@8.16.0): + resolution: {integrity: sha512-jG7dpJkgKtwbrSLsxW4mXmECopTj5tRt4+B+QcKCqZm7yEghFR44Xj5OkDWtzzsjpL47RJck5AJ8MsQnmi7WDQ==} engines: {node: '>=18'} peerDependencies: '@aws-crypto/sha256-js': ^5.0.0 @@ -1600,7 +1600,7 @@ packages: '@azure/search-documents': ^12.0.0 '@clickhouse/client': ^0.2.5 '@cloudflare/ai': '*' - '@datastax/astra-db-ts': ^0.1.4 + '@datastax/astra-db-ts': ^1.0.0 '@elastic/elasticsearch': ^8.4.0 '@getmetal/metal-sdk': '*' '@getzep/zep-js': ^0.9.0 @@ -1646,6 +1646,7 @@ packages: couchbase: ^4.3.0 discord.js: ^14.14.1 dria: ^0.0.3 + duck-duck-scrape: ^2.2.5 faiss-node: ^0.5.1 firebase-admin: ^11.9.0 || ^12.0.0 google-auth-library: ^8.9.0 @@ -1795,6 +1796,8 @@ packages: optional: true dria: optional: true + duck-duck-scrape: + optional: true faiss-node: optional: true firebase-admin: @@ -1860,8 +1863,8 @@ packages: ws: optional: true dependencies: - '@langchain/core': 0.1.48 - '@langchain/openai': 0.0.21 + '@langchain/core': 0.1.57 + '@langchain/openai': 0.0.28 '@mozilla/readability': 0.5.0 '@xenova/transformers': 2.16.1 expr-eval: 2.0.2 @@ -1871,12 +1874,13 @@ packages: voy-search: 0.6.3 ws: 8.16.0 zod: 3.22.4 + zod-to-json-schema: 3.22.5(zod@3.22.4) transitivePeerDependencies: - encoding dev: false - /@langchain/core@0.1.48: - resolution: {integrity: sha512-kGggyDbaYzCIPGkzvMvm/v0+lcTy1jlX6QZ7PSzUQFYJg5JK399x3AOYIDkbbUVxBAyHRgrWlxVQXH0FW3N6Bg==} + /@langchain/core@0.1.57: + resolution: {integrity: sha512-6wOwidPkkRcANrOKl88+YYpm3jHfpg6W8EqZHQCImSAlxdEhyDSq2eeQKHOPCFCrfNWkClaNn+Wlzzz4Qwf9Tg==} engines: {node: '>=18'} dependencies: ansi-styles: 5.2.0 @@ -1892,13 +1896,13 @@ packages: zod-to-json-schema: 3.22.4(zod@3.22.4) dev: false - /@langchain/openai@0.0.21: - resolution: {integrity: sha512-p3BmYmPhoOxSWxuuvjw0vtzJMCfnGnp+cBK9huIcu2ds7DX8OsVNgPhFf7xPodl5fzz142pfjOHQkemqFBo6MA==} + /@langchain/openai@0.0.28: + resolution: {integrity: sha512-2s1RA3/eAnz4ahdzsMPBna9hfAqpFNlWdHiPxVGZ5yrhXsbLWWoPcF+22LCk9t0HJKtazi2GCIWc0HVXH9Abig==} engines: {node: '>=18'} dependencies: - '@langchain/core': 0.1.48 + '@langchain/core': 0.1.57 js-tiktoken: 1.0.8 - openai: 4.28.0 + openai: 4.34.0 zod: 3.22.4 zod-to-json-schema: 3.22.4(zod@3.22.4) transitivePeerDependencies: @@ -2589,7 +2593,7 @@ packages: /@types/conventional-commits-parser@5.0.0: resolution: {integrity: sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==} dependencies: - '@types/node': 20.12.2 + '@types/node': 20.12.7 dev: true /@types/debug@4.1.12: @@ -2629,7 +2633,7 @@ packages: /@types/graceful-fs@4.1.8: resolution: {integrity: sha512-NhRH7YzWq8WiNKVavKPBmtLYZHxNY19Hh+az28O/phfp68CF45pMFud+ZzJ8ewnxnC5smIdF3dqFeiSUQ5I+pw==} dependencies: - '@types/node': 20.12.2 + '@types/node': 20.12.7 dev: true /@types/har-format@1.2.14: @@ -2668,7 +2672,7 @@ packages: /@types/jsdom@20.0.1: resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} dependencies: - '@types/node': 20.12.2 + '@types/node': 20.12.7 '@types/tough-cookie': 4.0.4 parse5: 7.1.2 dev: true @@ -2702,7 +2706,7 @@ packages: /@types/node-fetch@2.6.7: resolution: {integrity: sha512-lX17GZVpJ/fuCjguZ5b3TjEbSENxmEk1B2z02yoXSK9WMEWRivhdSY73wWMn6bpcCDAOh6qAdktpKHIlkDk2lg==} dependencies: - '@types/node': 20.12.2 + '@types/node': 20.12.7 form-data: 4.0.0 dev: false @@ -2714,6 +2718,12 @@ packages: resolution: {integrity: sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==} dependencies: undici-types: 5.26.5 + dev: true + + /@types/node@20.12.7: + resolution: {integrity: sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==} + dependencies: + undici-types: 5.26.5 /@types/parse-json@4.0.1: resolution: {integrity: sha512-3YmXzzPAdOTVljVMkTMBdBEvlOLg2cDQaDhnnhT3nT9uDbnJzjWhKlzb+desT12Y7tGqaN6d+AbozcKzyL36Ng==} @@ -2771,7 +2781,7 @@ packages: /@types/ws@8.5.10: resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==} dependencies: - '@types/node': 20.12.2 + '@types/node': 20.12.7 dev: true /@types/yargs-parser@21.0.1: @@ -2930,7 +2940,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.23.7) '@types/babel__core': 7.20.5 react-refresh: 0.14.0 - vite: 5.2.8(@types/node@20.12.2)(sass@1.71.1) + vite: 5.2.8(@types/node@20.12.7)(sass@1.71.1) transitivePeerDependencies: - supports-color dev: true @@ -3894,7 +3904,7 @@ packages: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} dev: true - /cosmiconfig-typescript-loader@5.0.0(@types/node@20.12.2)(cosmiconfig@9.0.0)(typescript@5.4.4): + /cosmiconfig-typescript-loader@5.0.0(@types/node@20.12.7)(cosmiconfig@9.0.0)(typescript@5.4.4): resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} engines: {node: '>=v16'} peerDependencies: @@ -3902,7 +3912,7 @@ packages: cosmiconfig: '>=8.2' typescript: '>=4' dependencies: - '@types/node': 20.12.2 + '@types/node': 20.12.7 cosmiconfig: 9.0.0(typescript@5.4.4) jiti: 1.21.0 typescript: 5.4.4 @@ -3935,7 +3945,7 @@ packages: typescript: 5.4.4 dev: true - /create-jest@29.7.0(@types/node@20.12.2): + /create-jest@29.7.0(@types/node@20.12.7): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -3944,7 +3954,7 @@ packages: chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.12.2) + jest-config: 29.7.0(@types/node@20.12.7) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -5869,7 +5879,7 @@ packages: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1 @@ -5890,7 +5900,7 @@ packages: - supports-color dev: true - /jest-cli@29.7.0(@types/node@20.12.2): + /jest-cli@29.7.0(@types/node@20.12.7): resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -5904,10 +5914,10 @@ packages: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.12.2) + create-jest: 29.7.0(@types/node@20.12.7) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.12.2) + jest-config: 29.7.0(@types/node@20.12.7) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -5918,7 +5928,7 @@ packages: - ts-node dev: true - /jest-config@29.7.0(@types/node@20.12.2): + /jest-config@29.7.0(@types/node@20.12.7): resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -5933,7 +5943,7 @@ packages: '@babel/core': 7.23.2 '@jest/test-sequencer': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 babel-jest: 29.7.0(@babel/core@7.23.2) chalk: 4.1.2 ci-info: 3.9.0 @@ -5999,7 +6009,7 @@ packages: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 20.12.2 + '@types/node': 20.12.7 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -6016,7 +6026,7 @@ packages: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 jest-mock: 29.7.0 jest-util: 29.7.0 dev: true @@ -6032,7 +6042,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.8 - '@types/node': 20.12.2 + '@types/node': 20.12.7 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -6083,7 +6093,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 jest-util: 29.7.0 dev: true @@ -6138,7 +6148,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -6169,7 +6179,7 @@ packages: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -6221,7 +6231,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -6246,7 +6256,7 @@ packages: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.12.2 + '@types/node': 20.12.7 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -6267,13 +6277,13 @@ packages: resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.12.2 + '@types/node': 20.12.7 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /jest@29.7.0(@types/node@20.12.2): + /jest@29.7.0(@types/node@20.12.7): resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -6286,7 +6296,7 @@ packages: '@jest/core': 29.7.0 '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.12.2) + jest-cli: 29.7.0(@types/node@20.12.7) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -6444,8 +6454,8 @@ packages: engines: {node: '>=6'} dev: true - /langchain@0.1.30(@mozilla/readability@0.5.0)(@xenova/transformers@2.16.1)(pdf-parse@1.1.1)(voy-search@0.6.3)(ws@8.16.0): - resolution: {integrity: sha512-5h/vNMmutQ98tbB0sPDlAileZVca6A2McFgGa3+D56Dm8mSSCzTQL2DngPA6h09DlKDpSr7+6PdFw5Hoj0ZDSw==} + /langchain@0.1.33(@mozilla/readability@0.5.0)(@xenova/transformers@2.16.1)(pdf-parse@1.1.1)(voy-search@0.6.3)(ws@8.16.0): + resolution: {integrity: sha512-IrRd839x8eAmDutHNDMHGzIjufyWt/ckJrnRB2WifIJmtLWNRNQo5jZd7toeBU0UOVOQxoPtQGYf8lR0ar7vIQ==} engines: {node: '>=18'} peerDependencies: '@aws-sdk/client-s3': ^3.310.0 @@ -6604,9 +6614,9 @@ packages: optional: true dependencies: '@anthropic-ai/sdk': 0.9.1 - '@langchain/community': 0.0.43(@mozilla/readability@0.5.0)(@xenova/transformers@2.16.1)(voy-search@0.6.3)(ws@8.16.0) - '@langchain/core': 0.1.48 - '@langchain/openai': 0.0.21 + '@langchain/community': 0.0.48(@mozilla/readability@0.5.0)(@xenova/transformers@2.16.1)(voy-search@0.6.3)(ws@8.16.0) + '@langchain/core': 0.1.57 + '@langchain/openai': 0.0.28 binary-extensions: 2.2.0 js-tiktoken: 1.0.8 js-yaml: 4.1.0 @@ -6668,6 +6678,7 @@ packages: - cohere-ai - discord.js - dria + - duck-duck-scrape - encoding - firebase-admin - googleapis @@ -7561,15 +7572,14 @@ packages: is-wsl: 2.2.0 dev: true - /openai@4.28.0: - resolution: {integrity: sha512-JM8fhcpmpGN0vrUwGquYIzdcEQHtFuom6sRCbbCM6CfzZXNuRk33G7KfeRAIfnaCxSpzrP5iHtwJzIm6biUZ2Q==} + /openai@4.34.0: + resolution: {integrity: sha512-ma6sJ1lHUaJRPQj9GvfXzLXDL4K9DoUeesgAnw/Lwm9r2jm/xqGGIW6LaIScL4ZLfQyzxHs7aTBZGyiKMDWgIA==} hasBin: true dependencies: '@types/node': 18.15.11 '@types/node-fetch': 2.6.7 abort-controller: 3.0.0 agentkeepalive: 4.5.0 - digest-fetch: 1.3.0 form-data-encoder: 1.7.2 formdata-node: 4.4.1 node-fetch: 2.7.0 @@ -7928,7 +7938,7 @@ packages: '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 '@types/long': 4.0.2 - '@types/node': 20.12.2 + '@types/node': 20.12.7 long: 4.0.0 dev: false @@ -8973,7 +8983,7 @@ packages: '@babel/core': 7.23.2 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - jest: 29.7.0(@types/node@20.12.2) + jest: 29.7.0(@types/node@20.12.7) jest-util: 29.7.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -9270,7 +9280,7 @@ packages: '@rollup/plugin-virtual': 3.0.2(rollup@4.13.0) '@swc/core': 1.3.107 uuid: 9.0.1 - vite: 5.2.8(@types/node@20.12.2)(sass@1.71.1) + vite: 5.2.8(@types/node@20.12.7)(sass@1.71.1) transitivePeerDependencies: - '@swc/helpers' - rollup @@ -9281,10 +9291,10 @@ packages: peerDependencies: vite: ^2 || ^3 || ^4 || ^5 dependencies: - vite: 5.2.8(@types/node@20.12.2)(sass@1.71.1) + vite: 5.2.8(@types/node@20.12.7)(sass@1.71.1) dev: true - /vite@5.2.8(@types/node@20.12.2)(sass@1.71.1): + /vite@5.2.8(@types/node@20.12.7)(sass@1.71.1): resolution: {integrity: sha512-OyZR+c1CE8yeHw5V5t59aXsUPPVTHMDjEZz8MgguLL/Q7NblxhZUlTu9xSPqlsUO/y+X7dlU05jdhvyycD55DA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -9312,7 +9322,7 @@ packages: terser: optional: true dependencies: - '@types/node': 20.12.2 + '@types/node': 20.12.7 esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.13.0 @@ -9618,6 +9628,14 @@ packages: zod: 3.22.4 dev: false + /zod-to-json-schema@3.22.5(zod@3.22.4): + resolution: {integrity: sha512-+akaPo6a0zpVCCseDed504KBJUQpEW5QZw7RMneNmKw+fGaML1Z9tUNLnHHAC8x6dzVRO1eB2oEMyZRnuBZg7Q==} + peerDependencies: + zod: ^3.22.4 + dependencies: + zod: 3.22.4 + dev: false + /zod@3.22.4: resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} dev: false