From fc8805bf0c6c37fa7fbe752d47300408f030c792 Mon Sep 17 00:00:00 2001 From: starmorph Date: Mon, 19 May 2025 15:17:12 -0700 Subject: [PATCH] bump langchain pkg's to newer version --- package.json | 11 +++--- yarn.lock | 106 ++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 86 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index 8ad17c5..040726f 100644 --- a/package.json +++ b/package.json @@ -17,11 +17,12 @@ "format": "prettier --write ." }, "dependencies": { - "@langchain/anthropic": "^0.3.12", - "@langchain/community": "^0.3.27", - "@langchain/core": "^0.3.37", - "@langchain/langgraph": "^0.2.57", - "langchain": "^0.3.14" + "@langchain/anthropic": "^0.3.20", + "@langchain/community": "^0.3.43", + "@langchain/core": "^0.3.56", + "@langchain/langgraph": "^0.2.72", + "@langchain/openai": "^0.5.10", + "langchain": "^0.3.26" }, "devDependencies": { "@eslint/eslintrc": "^3.1.0", diff --git a/yarn.lock b/yarn.lock index 4b2ddb5..471bdd5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,10 +10,10 @@ "@jridgewell/gen-mapping" "^0.3.5" "@jridgewell/trace-mapping" "^0.3.24" -"@anthropic-ai/sdk@^0.32.1": - version "0.32.1" - resolved "https://registry.yarnpkg.com/@anthropic-ai/sdk/-/sdk-0.32.1.tgz#d22c8ebae2adccc59d78fb416e89de337ff09014" - integrity sha512-U9JwTrDvdQ9iWuABVsMLj8nJVwAyQz6QXvgLsVhryhCEPkLsbcP/MXxm+jYcAwLoV8ESbaTTjnD4kuAFa+Hyjg== +"@anthropic-ai/sdk@^0.39.0": + version "0.39.0" + resolved "https://registry.yarnpkg.com/@anthropic-ai/sdk/-/sdk-0.39.0.tgz#624d5b33413a9cc322febb64e9d48bdcf5a98cdc" + integrity sha512-eMyDIPRZbt1CCLErRCi3exlAvNkBtRe+kW5vvJyef93PmNr/clstYgHhtvmkxN82nlKgzyGPCyGxrm0JQ1ZIdg== dependencies: "@types/node" "^18.11.18" "@types/node-fetch" "^2.6.4" @@ -620,43 +620,43 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@langchain/anthropic@^0.3.12": - version "0.3.12" - resolved "https://registry.yarnpkg.com/@langchain/anthropic/-/anthropic-0.3.12.tgz#0d047bf053b109583dfecfc689deab603c746a48" - integrity sha512-vYANJVeus+v8wieTST5GUGlennY87NMIjaFx6JCJN8MMtf2KVwyBWQAUAPyGwzVQ40tru3w0rK2ruvzYBRcWEg== +"@langchain/anthropic@^0.3.20": + version "0.3.20" + resolved "https://registry.yarnpkg.com/@langchain/anthropic/-/anthropic-0.3.20.tgz#45b2285506674bdc7ca81c57ca7d5611e3d6049e" + integrity sha512-er/mdxdSs8BlQeH5GQtvEIBxf2slge3gsF7CW88S23xfASn6bnjAisQGQwRmvD+X0do7G526W7lNP93u6dMJ0A== dependencies: - "@anthropic-ai/sdk" "^0.32.1" + "@anthropic-ai/sdk" "^0.39.0" fast-xml-parser "^4.4.1" zod "^3.22.4" zod-to-json-schema "^3.22.4" -"@langchain/community@^0.3.27": - version "0.3.27" - resolved "https://registry.yarnpkg.com/@langchain/community/-/community-0.3.27.tgz#9aee4e3ec8e432af008653d9de887720498fb6a5" - integrity sha512-YdVDysg/k4LiRJgtGo5IHlrtAMsWK5o7/WtgUGsyABAfKNAcFY2dBV5NClbEwS2GuE4Ll8TC3PxSWIctH42oeg== +"@langchain/community@^0.3.43": + version "0.3.43" + resolved "https://registry.yarnpkg.com/@langchain/community/-/community-0.3.43.tgz#4d8d1254470a39599f115156c7cb682e5cdaf55b" + integrity sha512-rTXuKflXyftKFw2fAl5YbkfMcwsIcot8tpUy50asXxbe3eGpQimIFXZsLeaBlftjQPadgnBMOr3Wn1xX8kfOzA== dependencies: - "@langchain/openai" ">=0.2.0 <0.5.0" + "@langchain/openai" ">=0.2.0 <0.6.0" binary-extensions "^2.2.0" expr-eval "^2.0.2" flat "^5.0.2" js-yaml "^4.1.0" langchain ">=0.2.3 <0.3.0 || >=0.3.4 <0.4.0" - langsmith ">=0.2.8 <0.4.0" + langsmith "^0.3.29" uuid "^10.0.0" zod "^3.22.3" zod-to-json-schema "^3.22.5" -"@langchain/core@^0.3.37": - version "0.3.37" - resolved "https://registry.yarnpkg.com/@langchain/core/-/core-0.3.37.tgz#9ea7985c6cdaa075b02241ba3e6ba76c47454daf" - integrity sha512-LFk9GqHxcyCFx0oXvCBP7vDZIOUHYzzNU7JR+2ofIMnfkBLzcCKzBLySQDfPtd13PrpGHkaeOeLq8H1Tqi9lSw== +"@langchain/core@^0.3.56": + version "0.3.56" + resolved "https://registry.yarnpkg.com/@langchain/core/-/core-0.3.56.tgz#02f96f67366f54c9cec5b35c484e739dabb1785c" + integrity sha512-eF9MyInM9RLNisAygiCrzHnqzOnuzGWy4f1SAqAis+XIMhcA98WuZDNWxyX9pP3aKQGc47FAJ/9XWJwv5KiquA== dependencies: "@cfworker/json-schema" "^4.0.2" ansi-styles "^5.0.0" camelcase "6" decamelize "1.2.0" js-tiktoken "^1.0.12" - langsmith ">=0.2.8 <0.4.0" + langsmith "^0.3.29" mustache "^4.2.0" p-queue "^6.6.2" p-retry "4" @@ -681,17 +681,17 @@ p-retry "4" uuid "^9.0.0" -"@langchain/langgraph@^0.2.57": - version "0.2.67" - resolved "https://registry.yarnpkg.com/@langchain/langgraph/-/langgraph-0.2.67.tgz#f154e4e8534ca78b2b73a2cd3a901d82790b0d1b" - integrity sha512-tu/ewNIvhIPzeW5GxGzqjmGHinnU/qbNAoLM9czdpci0PCbMysbEJ2pbJrZs7ZjaReWSnr/THkeLPQwqGOM9xw== +"@langchain/langgraph@^0.2.72": + version "0.2.72" + resolved "https://registry.yarnpkg.com/@langchain/langgraph/-/langgraph-0.2.72.tgz#bac8da9d29e276353bf74b0b8b11c2532d94c0f5" + integrity sha512-2Rs79mLSx0Yxr/omiWOXBlaS+eywZ9KACe06pI6XkA3hT2hwqjMlXYMvbeD7mxZlKrPtLsQaHWvL9IO2VAa+lQ== dependencies: "@langchain/langgraph-checkpoint" "~0.0.17" "@langchain/langgraph-sdk" "~0.0.32" uuid "^10.0.0" zod "^3.23.8" -"@langchain/openai@>=0.1.0 <0.5.0", "@langchain/openai@>=0.2.0 <0.5.0": +"@langchain/openai@>=0.1.0 <0.5.0": version "0.4.2" resolved "https://registry.yarnpkg.com/@langchain/openai/-/openai-0.4.2.tgz#1259bf56c4948ed2301d366e2fe945c29dfb53bc" integrity sha512-Cuj7qbVcycALTP0aqZuPpEc7As8cwiGaU21MhXRyZFs+dnWxKYxZ1Q1z4kcx6cYkq/I+CNwwmk+sP+YruU73Aw== @@ -701,6 +701,16 @@ zod "^3.22.4" zod-to-json-schema "^3.22.3" +"@langchain/openai@>=0.1.0 <0.6.0", "@langchain/openai@>=0.2.0 <0.6.0", "@langchain/openai@^0.5.10": + version "0.5.10" + resolved "https://registry.yarnpkg.com/@langchain/openai/-/openai-0.5.10.tgz#f86797a030287fe597257c2586f503808787b7e8" + integrity sha512-hBQIWjcVxGS7tgVvgBBmrZ5jSaJ8nu9g6V64/Tx6KGjkW7VdGmUvqCO+koiQCOZVL7PBJkHWAvDsbghPYXiZEA== + dependencies: + js-tiktoken "^1.0.12" + openai "^4.96.0" + zod "^3.22.4" + zod-to-json-schema "^3.22.3" + "@langchain/textsplitters@>=0.0.0 <0.2.0": version "0.1.0" resolved "https://registry.yarnpkg.com/@langchain/textsplitters/-/textsplitters-0.1.0.tgz#f37620992192df09ecda3dfbd545b36a6bcbae46" @@ -2992,7 +3002,7 @@ kleur@^3.0.3: resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== -"langchain@>=0.2.3 <0.3.0 || >=0.3.4 <0.4.0", langchain@^0.3.14: +"langchain@>=0.2.3 <0.3.0 || >=0.3.4 <0.4.0": version "0.3.14" resolved "https://registry.yarnpkg.com/langchain/-/langchain-0.3.14.tgz#ee01c975cfe767c2cd1516f8774f1eebc7c2c006" integrity sha512-U6NpGSQP/R/RfZFin6OOxFYgLNAwtfgKEWKxT3whw2LIDUnjXrgbulkS5R5iXIU8V10kAXhDvj+FyEUI8C4U6Q== @@ -3010,6 +3020,24 @@ kleur@^3.0.3: zod "^3.22.4" zod-to-json-schema "^3.22.3" +langchain@^0.3.26: + version "0.3.26" + resolved "https://registry.yarnpkg.com/langchain/-/langchain-0.3.26.tgz#5e1dec39172d1589bfee369a710b2e2459c3df8e" + integrity sha512-W/9phB4wiAnj+PnpMWmv/ptIp7i5ygY2aK8yjKlxccHPbaNeMoy7njzFz8d0/xfcPyA3MvG4AuZnJ1j3/E2/Ig== + dependencies: + "@langchain/openai" ">=0.1.0 <0.6.0" + "@langchain/textsplitters" ">=0.0.0 <0.2.0" + js-tiktoken "^1.0.12" + js-yaml "^4.1.0" + jsonpointer "^5.0.1" + langsmith "^0.3.29" + openapi-types "^12.1.3" + p-retry "4" + uuid "^10.0.0" + yaml "^2.2.1" + zod "^3.22.4" + zod-to-json-schema "^3.22.3" + "langsmith@>=0.2.8 <0.4.0": version "0.3.3" resolved "https://registry.yarnpkg.com/langsmith/-/langsmith-0.3.3.tgz#fcb61454842cf2f85c937f536fa0729544c7c467" @@ -3023,6 +3051,19 @@ kleur@^3.0.3: semver "^7.6.3" uuid "^10.0.0" +langsmith@^0.3.29: + version "0.3.29" + resolved "https://registry.yarnpkg.com/langsmith/-/langsmith-0.3.29.tgz#75b8df90b8a724f320ff0cdc784768117e17a922" + integrity sha512-JPF2B339qpYy9FyuY4Yz1aWYtgPlFc/a+VTj3L/JcFLHCiMP7+Ig8I9jO+o1QwVa+JU3iugL1RS0wwc+Glw0zA== + dependencies: + "@types/uuid" "^10.0.0" + chalk "^4.1.2" + console-table-printer "^2.12.1" + p-queue "^6.6.2" + p-retry "4" + semver "^7.6.3" + uuid "^10.0.0" + leven@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" @@ -3279,6 +3320,19 @@ openai@^4.77.0: formdata-node "^4.3.2" node-fetch "^2.6.7" +openai@^4.96.0: + version "4.100.0" + resolved "https://registry.yarnpkg.com/openai/-/openai-4.100.0.tgz#eb630a97f3531b7c91906b3a42920f9873efa392" + integrity sha512-9soq/wukv3utxcuD7TWFqKdKp0INWdeyhUCvxwrne5KwnxaCp4eHL4GdT/tMFhYolxgNhxFzg5GFwM331Z5CZg== + dependencies: + "@types/node" "^18.11.18" + "@types/node-fetch" "^2.6.4" + abort-controller "^3.0.0" + agentkeepalive "^4.2.1" + form-data-encoder "1.7.2" + formdata-node "^4.3.2" + node-fetch "^2.6.7" + openapi-types@^12.1.3: version "12.1.3" resolved "https://registry.yarnpkg.com/openapi-types/-/openapi-types-12.1.3.tgz#471995eb26c4b97b7bd356aacf7b91b73e777dd3"