From 8cee8ed6ffc78e4fc2a9edf16c260621c1cca697 Mon Sep 17 00:00:00 2001 From: Antoine Berger <64917674+antoine-berger@users.noreply.github.com> Date: Tue, 10 Nov 2026 20:55:43 +0000 Subject: [PATCH 1/9] chore(deps): remove the unused uuid dependency [SAP-4715] @sapiom/agent-map and @sapiom/harness declared uuid ^10.0.0 (and @types/uuid) but import it nowhere. Dropping the declarations closes Dependabot alerts #325 and #361 on their manifests without moving any resolved version: uuid 10 stays in the lockfile for the @langchain/* 0.3 dev graph, which the overrides commit handles. Co-Authored-By: Claude Opus 5.5 --- packages/agent-map/package.json | 4 +--- packages/harness/package.json | 2 -- pnpm-lock.yaml | 12 ------------ 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/packages/agent-map/package.json b/packages/agent-map/package.json index a9014c565..86c5ea271 100644 --- a/packages/agent-map/package.json +++ b/packages/agent-map/package.json @@ -79,7 +79,6 @@ "@types/node": "^20.11.30", "typescript": "~5.9.3", "vitest": "^3.0.0", - "@types/uuid": "^10.0.0", "esbuild": "^0.28.1" }, "engines": { @@ -89,7 +88,6 @@ "access": "public" }, "dependencies": { - "zod": "^3.25.0", - "uuid": "^10.0.0" + "zod": "^3.25.0" } } diff --git a/packages/harness/package.json b/packages/harness/package.json index debc0d23a..e05ff8f4b 100644 --- a/packages/harness/package.json +++ b/packages/harness/package.json @@ -75,7 +75,6 @@ "node-pty": "^1.1.0", "open": "^10.1.0", "typescript": "~5.9.3", - "uuid": "^10.0.0", "ws": "^8.18.0", "zod": "^3.25.0", "@sapiom/agent-map": "workspace:^" @@ -88,7 +87,6 @@ "@types/node": "^20.11.30", "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", - "@types/uuid": "^10.0.0", "@types/ws": "^8.5.10", "@vitejs/plugin-react": "^4.3.4", "@xterm/addon-fit": "^0.10.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 50da7ad70..53f348ed4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -135,9 +135,6 @@ importers: packages/agent-map: dependencies: - uuid: - specifier: ^10.0.0 - version: 10.0.0 zod: specifier: ^3.25.0 version: 3.25.76 @@ -145,9 +142,6 @@ importers: '@types/node': specifier: ^20.11.30 version: 20.19.43 - '@types/uuid': - specifier: ^10.0.0 - version: 10.0.0 esbuild: specifier: ^0.28.1 version: 0.28.1 @@ -490,9 +484,6 @@ importers: typescript: specifier: ~5.9.3 version: 5.9.3 - uuid: - specifier: ^10.0.0 - version: 10.0.0 ws: specifier: ^8.18.0 version: 8.21.0 @@ -530,9 +521,6 @@ importers: '@types/react-dom': specifier: ^19.0.0 version: 19.2.3(@types/react@19.2.17) - '@types/uuid': - specifier: ^10.0.0 - version: 10.0.0 '@types/ws': specifier: ^8.5.10 version: 8.18.1 From 002f6d84cb25d0139594391cb85503983c55e497 Mon Sep 17 00:00:00 2001 From: Antoine Berger <64917674+antoine-berger@users.noreply.github.com> Date: Tue, 10 Nov 2026 20:56:58 +0000 Subject: [PATCH 2/9] fix(deps): floor vulnerable transitive dependencies at their first patched releases [SAP-4715] Add one pnpm override per vulnerable major line, each at the lowest release that closes every open Dependabot alert on that line: body-parser 1.20.9 and 2.4.0, brace-expansion 1.1.21, 2.1.7 and 5.0.12, browserslist 4.28.7, dompurify 3.4.17, fast-uri 3.1.9, handlebars 4.7.10, hono 4.13.11, ip-address 10.7.4, js-yaml 3.15.2 and 4.3.2, postcss 8.5.23, proxy-addr 2.0.8 and qs 6.16.1. fast-xml-parser 4, langsmith 0.3, uuid 9/10 and toml 4 have no patched release in their own major, so they move to 5.7.0, 0.6.0, 11.1.1 and 5.0.1. The first three sit only in @sapiom/langchain-classic's dev-only @langchain/* 0.3 test graph; toml sits under effect, which uses parse() only in its CLI module. baseline-browser-mapping, nanoid and source-map-js need no key of their own: the patched browserslist and postcss releases that resolve require baseline-browser-mapping ^2.11.33, nanoid ^3.3.20 and source-map-js ^1.2.2. The lockfile also gains the patched parents' own dependencies (fast-xml-parser 5's strnum 2 and XML helpers, body-parser 2.4's content-type 2.1 and iconv-lite 0.7.3, browserslist's data packages) and drops langsmith 0.3's console-table-printer, simple-wcswidth and @types/uuid. Co-Authored-By: Claude Opus 5.5 --- pnpm-lock.yaml | 433 ++++++++++++++++++++++++-------------------- pnpm-workspace.yaml | 31 ++++ 2 files changed, 270 insertions(+), 194 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 53f348ed4..86ca6582a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,6 +6,27 @@ settings: overrides: '@electron/rebuild': ^3.7.0 + body-parser@1: ^1.20.9 + body-parser@2: ^2.4.0 + brace-expansion@1: ^1.1.21 + brace-expansion@2: ^2.1.7 + brace-expansion@5: ^5.0.12 + browserslist@4: ^4.28.7 + dompurify@3: ^3.4.17 + fast-uri@3: ^3.1.9 + fast-xml-parser@4: ^5.7.0 + handlebars@4: ^4.7.10 + hono@4: ^4.13.11 + ip-address@10: ^10.7.4 + js-yaml@3: ^3.15.2 + js-yaml@4: ^4.3.2 + langsmith@0.3: ^0.6.0 + postcss@8: ^8.5.23 + proxy-addr@2: ^2.0.8 + qs@6: ^6.16.1 + toml@4: ^5.0.1 + uuid@9: ^11.1.1 + uuid@10: ^11.1.1 patchedDependencies: '@assistant-ui/react-opencode@0.2.22': @@ -658,16 +679,16 @@ importers: devDependencies: '@langchain/anthropic': specifier: ^0.3.30 - version: 0.3.34(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)))(zod@4.4.3) + version: 0.3.34(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3) '@langchain/core': specifier: ^0.3.78 - version: 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)) + version: 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0) '@langchain/langgraph': specifier: ^0.2.74 - version: 0.2.74(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod-to-json-schema@3.25.2(zod@4.4.3)) + version: 0.2.74(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod-to-json-schema@3.25.2(zod@4.4.3)) '@langchain/openai': specifier: ~1.1.0 - version: 1.1.3(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)))(ws@8.21.0) + version: 1.1.3(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(ws@8.21.0) '@types/jest': specifier: ^29.5.14 version: 29.5.14 @@ -1703,7 +1724,7 @@ packages: resolution: {integrity: sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw==} engines: {node: '>=18.14.1'} peerDependencies: - hono: ^4 + hono: ^4.13.11 '@humanwhocodes/config-array@0.13.0': resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} @@ -2097,6 +2118,9 @@ packages: resolution: {integrity: sha512-VVPPgHyQ6ShqnrmDWuxjmUIsO9gWyOZFmuOfLd9LfBGQJwZfy0gvv9pbHSJuoFNIYC7ZDX9aoFwowjcdSC4E8w==} engines: {node: '>=18'} + '@nodable/entities@3.1.0': + resolution: {integrity: sha512-LsS/DjHr+uDM647Gru/cA8+J3a3HfhttwCKLyuoyN7yXTFCxKBtSgMQBvrW9yNPa2/zDRUNuGPaH5QUFoa4arQ==} + '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -3179,9 +3203,6 @@ packages: '@types/trusted-types@2.0.7': resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} - '@types/uuid@10.0.0': - resolution: {integrity: sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==} - '@types/verror@1.10.11': resolution: {integrity: sha512-RlDm9K7+o5stv0Co8i8ZRGxDbrTxhJtgjqjFyVh/tXQyl/rYtTKlnTvZ88oSTeYREWurwx20Js4kTuKCsFkUtg==} @@ -3406,6 +3427,9 @@ packages: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} + anynum@1.0.1: + resolution: {integrity: sha512-N6//FLET/tXYNM/F6ABca1oH6fWB+KlTt909Le28WMDBk8oaT4vY17DCrwg2MvmuqUKt3Ni4N5dGJ/EoBgcO6A==} + app-builder-bin@5.0.0-alpha.10: resolution: {integrity: sha512-Ev4jj3D7Bo+O0GPD2NMvJl+PGiBAfS7pUGawntBNpCbxtpncfUixqFj9z9Jme7V7s3LBGqsWZZP54fxBX3JKJw==} @@ -3528,8 +3552,8 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseline-browser-mapping@2.10.37: - resolution: {integrity: sha512-girxaJ7WZssDOFhzCGZTDKoTa1gk6A1TbflaYTpykLJ4UU9Fz9kx1aREM8JCuoVHbL8X8T/mJg7w2oYSq72Oig==} + baseline-browser-mapping@2.11.35: + resolution: {integrity: sha512-GNk8KX52CHqeNKGk8+7tZnQab/2k1t/BgrUHPKNdijzpEhF1saPQZHVKb6m5loSAxB39gyrTYw34Qf9CQ3u1qQ==} engines: {node: '>=6.0.0'} hasBin: true @@ -3549,34 +3573,34 @@ packages: bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} - body-parser@1.20.5: - resolution: {integrity: sha512-3grm+/2tUOvu2cjJkvsIxrv/wVpfXQW4PsQHYm7yk4vfpu7Ekl6nEsYBoJUL6qDwZUx8wUhQ8tR2qz+ad9c9OA==} + body-parser@1.20.9: + resolution: {integrity: sha512-FISIQxV5u91Y9gvuFq3q/tA/qTqLJn3AhRcEvyozyhJTh5OBFFtv827AdHU7Rbyct4r+Ba1/99oFa1Y3yuFsdw==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} - body-parser@2.3.0: - resolution: {integrity: sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==} + body-parser@2.4.0: + resolution: {integrity: sha512-Ifk1KcLrxaGt1occQagQNFNNOqRt1LFuehEnHHzB8Z6cRgIxRU1TBaiIsUiCdA+gy5PL7Y1IX31DNKkRmxtXjQ==} engines: {node: '>=18'} boolean@3.2.0: resolution: {integrity: sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==} deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. - brace-expansion@1.1.15: - resolution: {integrity: sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==} + brace-expansion@1.1.21: + resolution: {integrity: sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==} - brace-expansion@2.1.1: - resolution: {integrity: sha512-WR1cURNjuvBLMZBMbqM0UoE+WAfdUcEV1ccD8PVBVOI+Z3ND4+SZbN8RsfT2bMuG1qwz5RFvPukSZm5fF2D5eA==} + brace-expansion@2.1.7: + resolution: {integrity: sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==} - brace-expansion@5.0.7: - resolution: {integrity: sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==} - engines: {node: 18 || 20 || >=22} + brace-expansion@5.0.12: + resolution: {integrity: sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==} + engines: {node: 20 || >=22} braces@3.0.3: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - browserslist@4.28.2: - resolution: {integrity: sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==} + browserslist@4.29.5: + resolution: {integrity: sha512-khTmKu5NGYTotqcYo8Bew2k4RAE9PuXRSFRXG2lQBrCEQHyeQ/vX6gKMxfokwywBsLiXZMnHsmWMG1pnO8J7uQ==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true @@ -3654,8 +3678,8 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - caniuse-lite@1.0.30001799: - resolution: {integrity: sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==} + caniuse-lite@1.0.30001823: + resolution: {integrity: sha512-TQ5s/djDjNk1axreUW+4rULH+BmdCMLiJkhaXnO5wqivG7tITkSUj4ItIdzqdZHKaXcHAV8dhH3JxOM7/7bwqw==} chai@5.3.3: resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==} @@ -3765,9 +3789,6 @@ packages: config-file-ts@0.2.8-rc1: resolution: {integrity: sha512-GtNECbVI82bT4RiDIzBSVuTKoSHufnU7Ce7/42bkWZJZFLjmDF2WBpVsvRkhKCfKBnTBb3qZrBwPpFBU/Myvhg==} - console-table-printer@2.16.1: - resolution: {integrity: sha512-Sc9FRJ4O9xKGNrvulNdPfK5SyBcZ6lcaRnDE4AQ/uw6IDtjHhsqyzzqcnMikjyGaiOOF2tNOKoBhbVjRvFy9Lw==} - content-disposition@0.5.4: resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==} engines: {node: '>= 0.6'} @@ -3784,6 +3805,10 @@ packages: resolution: {integrity: sha512-j/O/d7GcZCyNl7/hwZAb606rzqkyvaDctLmckbxLzHvFBzTJHuGEdodATcP3yIRoDrLHkIATJuvzbFlp/ki2cQ==} engines: {node: '>=18'} + content-type@2.1.0: + resolution: {integrity: sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==} + engines: {node: '>=18'} + convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} @@ -3974,8 +3999,8 @@ packages: resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} engines: {node: '>=6.0.0'} - dompurify@3.4.12: - resolution: {integrity: sha512-zQvGet8Z2sWbQhCmfFz/T5QWH2oBmjnqK3qvOjaqaNLrLEF912WamU+ohnTp0TCep/MFVHpdJuCZEdFOdTnEFg==} + dompurify@3.4.17: + resolution: {integrity: sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==} dotenv-expand@11.0.7: resolution: {integrity: sha512-zIHwmZPRshsCdpMDyVsqGmgyP0yT8GAgXUnkdAoJisxvf33k7yO6OuoKmcTGuXPWSsm8Oh88nZicRLA9Y0rUeA==} @@ -4017,8 +4042,8 @@ packages: electron-publish@25.1.7: resolution: {integrity: sha512-+jbTkR9m39eDBMP4gfbqglDd6UvBC7RLh5Y0MhFSsc6UkGHj9Vj9TWobxevHYMMqmoujL11ZLjfPpMX+Pt6YEg==} - electron-to-chromium@1.5.374: - resolution: {integrity: sha512-HCF5i7izveksHSGqa7mhDh6tr3Uz9Dar2RAjwuh69bw3QGPVObjQIgLwQWeO/Rxp9/r0KdboKy9RbpQDl97fjg==} + electron-to-chromium@1.5.479: + resolution: {integrity: sha512-uAJdJQ7vHa4TvPfzt1TOqoRgHmav5gwmqHMPLxBH6m8Cbj5R9/z/rygTOQiZ8pe5g0ZAEogga1bP6HoKcOzx/Q==} electron-updater@6.8.9: resolution: {integrity: sha512-ZhVxM9iGONUpZGI1FxdMRgJjUFXi7AYGVa5PwKlO1tV1/4zDxQmfKpXOHVztKrd6L9rLcFjERvi1Mf2vxyTkig==} @@ -4256,14 +4281,17 @@ packages: fast-string-width@3.0.2: resolution: {integrity: sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==} - fast-uri@3.1.2: - resolution: {integrity: sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==} + fast-uri@3.1.9: + resolution: {integrity: sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==} fast-wrap-ansi@0.2.2: resolution: {integrity: sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==} - fast-xml-parser@4.5.7: - resolution: {integrity: sha512-a6Qh1RMCNbSrU1+sAyAAZH3rTe+OaWJbNZIq0S+ifZciUUOQtlVxBJwoTUE2bYhysmG/RYyI5WJFIKdBahJdrQ==} + fast-xml-builder@1.3.1: + resolution: {integrity: sha512-pIM/1n3ntFXKYrUZwW7QCK0gAW7XY+wzj1YMIV3tLDvPj/V+zTGJK5e3/4WJfwj0qWw2ElNXiTixda/R+3YSug==} + + fast-xml-parser@5.12.0: + resolution: {integrity: sha512-/pXxRBtwxY9w8z7YbgsvIPPcPvFDsTbIkWwTQJhzNJPokj+TbN6ftmcv4j/pEQDvOCNnKGDzuk5Bo2oogIOiFg==} hasBin: true fastq@1.20.1: @@ -4519,8 +4547,8 @@ packages: graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - handlebars@4.7.9: - resolution: {integrity: sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==} + handlebars@4.7.10: + resolution: {integrity: sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==} engines: {node: '>=0.4.7'} hasBin: true @@ -4543,8 +4571,8 @@ packages: resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==} engines: {node: '>= 0.4'} - hono@4.12.25: - resolution: {integrity: sha512-2NFaIyNVgJmBs/ecmtGzlmluTFs5cHEWGTdu0t1HBwYzoGXOL5nUQBRMXsXWla5i4KkG//QMzVP88m1+I3fdAQ==} + hono@4.13.17: + resolution: {integrity: sha512-vZIcbkvjOR5hHRWERbGkr8fGfF0GGM1ooYkuH448iO3b2AdVEr3AXZSw4Z3Kn+1L5z0CVoVeyV29VGYmFh05kQ==} engines: {node: '>=16.9.0'} hosted-git-info@4.1.0: @@ -4613,6 +4641,10 @@ packages: resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==} engines: {node: '>=0.10.0'} + iconv-lite@0.7.3: + resolution: {integrity: sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==} + engines: {node: '>=0.10.0'} + ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} @@ -4651,8 +4683,8 @@ packages: resolution: {integrity: sha512-ifK0CgjALofS5bkrcTy4RaQ9Vx2Knf/eLeIO+NaswQEpH1UblrtTSCIvN71qQDMq0PeQ/SSPojvEJp9vvvfr+w==} engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} - ip-address@10.2.0: - resolution: {integrity: sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==} + ip-address@10.7.6: + resolution: {integrity: sha512-00LYkM6byILa9eQIx6qoaXCM40xTLd56AZ4vyaPW3YTyb49VZYPo5xsiAq4tuQ54GH4R7gVdYScJ1B7B77PuTg==} engines: {node: '>= 12'} ipaddr.js@1.9.1: @@ -4749,6 +4781,9 @@ packages: resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==} engines: {node: '>=18'} + is-unsafe@2.0.3: + resolution: {integrity: sha512-ZBllczCCO267vgdFb6Tq3pv+LhHaCiGMdr+ZsuL+OopruAg7S+3ZDs1vD0RPC0uSrkjzbraxaGjtX1YBxjPeFQ==} + is-windows@1.0.2: resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} engines: {node: '>=0.10.0'} @@ -4947,12 +4982,12 @@ packages: js-tokens@9.0.1: resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} - js-yaml@3.14.2: - resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} + js-yaml@3.15.2: + resolution: {integrity: sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==} hasBin: true - js-yaml@4.2.0: - resolution: {integrity: sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==} + js-yaml@4.3.2: + resolution: {integrity: sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==} hasBin: true jsesc@3.1.0: @@ -5027,13 +5062,14 @@ packages: peerDependencies: '@langchain/core': ^1.2.1 - langsmith@0.3.87: - resolution: {integrity: sha512-XXR1+9INH8YX96FKWc5tie0QixWz6tOqAsAKfcJyPkE0xPep+NDz0IQLR32q4bn10QK3LqD2HN6T3n6z1YLW7Q==} + langsmith@0.6.3: + resolution: {integrity: sha512-pXrQ4/4myQvjFFOAUmt5pWRrLEZR20gzIJD7MNdUH+5/S5nLI4ZRBo/SYKC6coaYj9pYTfQdBIzcs+3kfJ5uDA==} peerDependencies: '@opentelemetry/api': '*' '@opentelemetry/exporter-trace-otlp-proto': '*' '@opentelemetry/sdk-trace-base': '*' openai: '*' + ws: '>=7' peerDependenciesMeta: '@opentelemetry/api': optional: true @@ -5043,6 +5079,8 @@ packages: optional: true openai: optional: true + ws: + optional: true langsmith@0.8.0: resolution: {integrity: sha512-edm/zZ1jMQRt0GzavmJ0YPIsqKkXetffIpmR29li8P0SoZ0MI/xKk/tIAkPnxHCybmzJesIQf5CT7eLQCqv3kA==} @@ -5353,8 +5391,8 @@ packages: resolution: {integrity: sha512-dkEJPVvun4FryqBmZ5KhDo0K9iDXAwn08tMLDinNdRBNPcYEDiWYysLcc6k3mjTMlbP9KyylvRpd4wFtwrT9rw==} engines: {node: ^20.17.0 || >=22.9.0} - nanoid@3.3.12: - resolution: {integrity: sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==} + nanoid@3.3.20: + resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -5413,8 +5451,8 @@ packages: node-pty@1.1.0: resolution: {integrity: sha512-20JqtutY6JPXTUnL0ij1uad7Qe1baT46lyolh2sSENDd4sTzKZ4nmAFkeAARDKwmlLjPx6XKRlwRUxwjOy+lUg==} - node-releases@2.0.47: - resolution: {integrity: sha512-Uzmd6LXpouKo8EUK68IjH4+E01w/hXyV3R3g/geCJo+rXLNfh1xucB+LOzYEOQPSiUK3h/xZf0cQGcSsmyL2Og==} + node-releases@2.0.63: + resolution: {integrity: sha512-6li2QanLsAXpIH2R6j77MzRyvOyrvdTqlKtO4CgBdHGNvN99ZZfyxszHc5o5+IZBWD5u6Hzwg83JoGXmqZNG9Q==} engines: {node: '>=18'} nopt@6.0.0: @@ -5732,6 +5770,10 @@ packages: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} + path-expression-matcher@1.6.2: + resolution: {integrity: sha512-enSlaiat05iasnzmgNxRj8reFdj3puY2QpNgP1aPIaVfT6nn9ICuPoFlKHk8EN22HcwewshO+mN2DGbkCEOtqQ==} + engines: {node: '>=14.0.0'} + path-is-absolute@1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} @@ -5816,8 +5858,8 @@ packages: resolution: {integrity: sha512-ZIfcLJC+7E7FBFnDxm9MPmt7D+DidyQ26lewieO75AdhA2ayMtsJSES0iWzqJQbcVRSrTufQoy0DR94xHue0oA==} engines: {node: '>=10.4.0'} - postcss@8.5.15: - resolution: {integrity: sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==} + postcss@8.5.32: + resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==} engines: {node: ^10 || ^12 || >=14} posthog-js@1.409.5: @@ -5884,8 +5926,8 @@ packages: resolution: {integrity: sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==} engines: {node: '>= 8'} - proxy-addr@2.0.7: - resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} + proxy-addr@2.0.8: + resolution: {integrity: sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==} engines: {node: '>= 0.10'} proxy-from-env@2.1.0: @@ -5905,12 +5947,8 @@ packages: pure-rand@8.4.2: resolution: {integrity: sha512-vvuOGgcuPJAirlHvuQw1TrOiw7ptaIXXmIbNuiNOY6lNGJJH49PQ1Kj4nd783nPdQhQdicgOjVI2yI/9BD6/Ng==} - qs@6.15.1: - resolution: {integrity: sha512-6YHEFRL9mfgcAvql/XhwTvf5jKcOiiupt2FiJxHkiX1z4j7WL8J/jRHYLluORvc1XxB5rV20KoeK00gVJamspg==} - engines: {node: '>=0.6'} - - qs@6.15.2: - resolution: {integrity: sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==} + qs@6.17.1: + resolution: {integrity: sha512-jd3COkaKVgGUW+ZHyEHCG9bH7RoaaiWuMgzsIBjUMVjLAaWGWpoUAVwljVvBHxRu/2qEHnadLGZrkutYUBPQJA==} engines: {node: '>=0.6'} quansync@0.2.11: @@ -6211,9 +6249,6 @@ packages: resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==} engines: {node: '>=10'} - simple-wcswidth@1.1.2: - resolution: {integrity: sha512-j7piyCjAeTDSjzTSQ7DokZtMNwNlEAyxqSZeCS+CXH7fJ4jx3FuJ/mTW3mE+6JLs4VJBbcll0Kjn+KXI5t21Iw==} - sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} @@ -6237,8 +6272,8 @@ packages: resolution: {integrity: sha512-LJhUYUvItdQ0LkJTmPeaEObWXAqFyfmP85x0tch/ez9cahmhlBBLbIqDFnvBnUJGagb0JbIQrkBs1wJ+yRYpEw==} engines: {node: '>= 10.0.0', npm: '>= 3.0.0'} - source-map-js@1.2.1: - resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + source-map-js@1.2.2: + resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} engines: {node: '>=0.10.0'} source-map-support@0.5.13: @@ -6338,8 +6373,8 @@ packages: strip-literal@3.1.0: resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==} - strnum@1.1.2: - resolution: {integrity: sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA==} + strnum@2.5.1: + resolution: {integrity: sha512-UM4nTLWzQiDBseVxUGxN0wJzIk0UU89Qi7pKXz9qISo+lhviJikTuikBsK/oFRlpvYHvSdz0TVoLyQ+sEpYwxA==} sumchecker@3.0.1: resolution: {integrity: sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==} @@ -6423,8 +6458,8 @@ packages: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} - toml@4.3.0: - resolution: {integrity: sha512-lVb8X9BsPVuH0M4BKeS91tXAmJvCjQ5UIyAbQFaxkKGyUFK2RPkhwaFSQH8vbpl1d23eu/IBH+dwVMHWaq9A5A==} + toml@5.0.1: + resolution: {integrity: sha512-EqYNA/YvUNndrA2B3O2ojzLQoTQrBxeZ9UIjQwk8t10oe6n7dwclBwd9IdZQTOKwe6vWX+AXtl6IntXRbepdxQ==} engines: {node: '>=20'} tree-kill@1.2.2: @@ -6566,11 +6601,11 @@ packages: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} - update-browserslist-db@1.2.3: - resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} + update-browserslist-db@1.3.4: + resolution: {integrity: sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==} hasBin: true peerDependencies: - browserslist: '>= 4.21.0' + browserslist: ^4.28.7 uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} @@ -6632,20 +6667,14 @@ packages: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} - uuid@10.0.0: - resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==} - deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). + uuid@11.1.1: + resolution: {integrity: sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==} hasBin: true uuid@14.0.2: resolution: {integrity: sha512-xZe/16rV4aa+HGSOCiY2YeLT1OybRLrrkL/Rqaq7p7GMVXjFh+6wN4oMYgjFmnSnhY8t6Xpdl2l9qmnHYuMHwQ==} hasBin: true - uuid@9.0.1: - resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} - deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). - hasBin: true - v8-to-istanbul@9.3.0: resolution: {integrity: sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==} engines: {node: '>=10.12.0'} @@ -6795,6 +6824,10 @@ packages: resolution: {integrity: sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==} engines: {node: '>=18'} + xml-naming@0.3.0: + resolution: {integrity: sha512-ghig2TBE/H11aOVgmahA3MhimvkBr6JIYknH/Dhdk10nXwdbIqBJsbfMxpvFPG8bAw77gN29aQWvKpmVoPlvPQ==} + engines: {node: '>=16.0.0'} + xmlbuilder@15.1.1: resolution: {integrity: sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==} engines: {node: '>=8.0'} @@ -6994,7 +7027,7 @@ snapshots: dependencies: '@babel/compat-data': 7.29.7 '@babel/helper-validator-option': 7.29.7 - browserslist: 4.28.2 + browserslist: 4.29.5 lru-cache: 5.1.1 semver: 6.3.1 @@ -7365,7 +7398,7 @@ snapshots: '@changesets/parse@0.4.3': dependencies: '@changesets/types': 6.1.0 - js-yaml: 4.2.0 + js-yaml: 4.3.2 '@changesets/pre@2.0.2': dependencies: @@ -7663,7 +7696,7 @@ snapshots: globals: 13.24.0 ignore: 5.3.2 import-fresh: 3.3.1 - js-yaml: 4.2.0 + js-yaml: 4.3.2 minimatch: 3.1.5 strip-json-comments: 3.1.1 transitivePeerDependencies: @@ -7696,9 +7729,9 @@ snapshots: '@gar/promisify@1.1.3': {} - '@hono/node-server@1.19.14(hono@4.12.25)': + '@hono/node-server@1.19.14(hono@4.13.17)': dependencies: - hono: 4.12.25 + hono: 4.13.17 '@humanwhocodes/config-array@0.13.0': dependencies: @@ -7852,7 +7885,7 @@ snapshots: camelcase: 5.3.1 find-up: 4.1.0 get-package-type: 0.1.0 - js-yaml: 3.14.2 + js-yaml: 3.15.2 resolve-from: 5.0.0 '@istanbuljs/schema@0.1.6': {} @@ -8038,26 +8071,26 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@langchain/anthropic@0.3.34(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)))(zod@4.4.3)': + '@langchain/anthropic@0.3.34(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(zod@4.4.3)': dependencies: '@anthropic-ai/sdk': 0.65.0(zod@4.4.3) - '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)) - fast-xml-parser: 4.5.7 + '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0) + fast-xml-parser: 5.12.0 transitivePeerDependencies: - zod - '@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))': + '@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)': dependencies: '@cfworker/json-schema': 4.1.1 ansi-styles: 5.2.0 camelcase: 6.3.0 decamelize: 1.2.0 js-tiktoken: 1.0.21 - langsmith: 0.3.87(openai@6.45.0(ws@8.21.0)(zod@4.4.3)) + langsmith: 0.6.3(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0) mustache: 4.2.0 p-queue: 6.6.2 p-retry: 4.6.2 - uuid: 10.0.0 + uuid: 11.1.1 zod: 3.25.76 zod-to-json-schema: 3.25.2(zod@3.25.76) transitivePeerDependencies: @@ -8065,6 +8098,7 @@ snapshots: - '@opentelemetry/exporter-trace-otlp-proto' - '@opentelemetry/sdk-trace-base' - openai + - ws '@langchain/core@1.2.1(openai@6.45.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0)': dependencies: @@ -8082,23 +8116,23 @@ snapshots: - openai - ws - '@langchain/langgraph-checkpoint@0.0.18(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)))': + '@langchain/langgraph-checkpoint@0.0.18(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))': dependencies: - '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)) - uuid: 10.0.0 + '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0) + uuid: 11.1.1 '@langchain/langgraph-checkpoint@1.1.3(@langchain/core@1.2.1(openai@6.45.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0))': dependencies: '@langchain/core': 1.2.1(openai@6.45.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0) - '@langchain/langgraph-sdk@0.0.112(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@langchain/langgraph-sdk@0.0.112(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: '@types/json-schema': 7.0.15 p-queue: 6.6.2 p-retry: 4.6.2 - uuid: 9.0.1 + uuid: 11.1.1 optionalDependencies: - '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)) + '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) @@ -8113,12 +8147,12 @@ snapshots: react: 19.2.7 react-dom: 19.2.7(react@19.2.7) - '@langchain/langgraph@0.2.74(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod-to-json-schema@3.25.2(zod@4.4.3))': + '@langchain/langgraph@0.2.74(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod-to-json-schema@3.25.2(zod@4.4.3))': dependencies: - '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)) - '@langchain/langgraph-checkpoint': 0.0.18(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))) - '@langchain/langgraph-sdk': 0.0.112(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)))(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - uuid: 10.0.0 + '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0) + '@langchain/langgraph-checkpoint': 0.0.18(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0)) + '@langchain/langgraph-sdk': 0.0.112(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + uuid: 11.1.1 zod: 3.25.76 optionalDependencies: zod-to-json-schema: 3.25.2(zod@4.4.3) @@ -8140,9 +8174,9 @@ snapshots: - svelte - vue - '@langchain/openai@1.1.3(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)))(ws@8.21.0)': + '@langchain/openai@1.1.3(@langchain/core@0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0))(ws@8.21.0)': dependencies: - '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3)) + '@langchain/core': 0.3.80(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0) js-tiktoken: 1.0.21 openai: 6.45.0(ws@8.21.0)(zod@3.25.76) zod: 3.25.76 @@ -8185,7 +8219,7 @@ snapshots: '@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@3.25.76)': dependencies: - '@hono/node-server': 1.19.14(hono@4.12.25) + '@hono/node-server': 1.19.14(hono@4.13.17) ajv: 8.20.0 ajv-formats: 3.0.1(ajv@8.20.0) content-type: 1.0.5 @@ -8195,7 +8229,7 @@ snapshots: eventsource-parser: 3.1.0 express: 5.2.1 express-rate-limit: 8.5.2(express@5.2.1) - hono: 4.12.25 + hono: 4.13.17 jose: 6.2.3 json-schema-typed: 8.0.2 pkce-challenge: 5.0.1 @@ -8234,6 +8268,8 @@ snapshots: outvariant: 1.4.3 strict-event-emitter: 0.5.1 + '@nodable/entities@3.1.0': {} + '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -9374,8 +9410,6 @@ snapshots: '@types/trusted-types@2.0.7': optional: true - '@types/uuid@10.0.0': {} - '@types/verror@1.10.11': optional: true @@ -9596,14 +9630,14 @@ snapshots: ajv@8.18.0: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.1.2 + fast-uri: 3.1.9 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 ajv@8.20.0: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.1.2 + fast-uri: 3.1.9 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 @@ -9632,6 +9666,8 @@ snapshots: normalize-path: 3.0.0 picomatch: 2.3.2 + anynum@1.0.1: {} + app-builder-bin@5.0.0-alpha.10: {} app-builder-lib@25.1.8(dmg-builder@25.1.8)(electron-builder-squirrel-windows@25.1.8): @@ -9661,7 +9697,7 @@ snapshots: hosted-git-info: 4.1.0 is-ci: 3.0.1 isbinaryfile: 5.0.7 - js-yaml: 4.2.0 + js-yaml: 4.3.2 json5: 2.2.3 lazy-val: 1.0.5 minimatch: 10.2.5 @@ -9830,7 +9866,7 @@ snapshots: base64-js@1.5.1: {} - baseline-browser-mapping@2.10.37: {} + baseline-browser-mapping@2.11.35: {} better-path-resolve@1.0.0: dependencies: @@ -9850,7 +9886,7 @@ snapshots: bluebird@3.7.2: {} - body-parser@1.20.5: + body-parser@1.20.9: dependencies: bytes: 3.1.2 content-type: 1.0.5 @@ -9860,22 +9896,22 @@ snapshots: http-errors: 2.0.1 iconv-lite: 0.4.24 on-finished: 2.4.1 - qs: 6.15.2 + qs: 6.17.1 raw-body: 2.5.3 type-is: 1.6.18 unpipe: 1.0.0 transitivePeerDependencies: - supports-color - body-parser@2.3.0: + body-parser@2.4.0: dependencies: bytes: 3.1.2 - content-type: 2.0.0 + content-type: 2.1.0 debug: 4.4.3 http-errors: 2.0.1 - iconv-lite: 0.7.2 + iconv-lite: 0.7.3 on-finished: 2.4.1 - qs: 6.15.2 + qs: 6.17.1 raw-body: 3.0.2 type-is: 2.1.0 transitivePeerDependencies: @@ -9884,16 +9920,16 @@ snapshots: boolean@3.2.0: optional: true - brace-expansion@1.1.15: + brace-expansion@1.1.21: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 - brace-expansion@2.1.1: + brace-expansion@2.1.7: dependencies: balanced-match: 1.0.2 - brace-expansion@5.0.7: + brace-expansion@5.0.12: dependencies: balanced-match: 4.0.4 @@ -9901,13 +9937,13 @@ snapshots: dependencies: fill-range: 7.1.1 - browserslist@4.28.2: + browserslist@4.29.5: dependencies: - baseline-browser-mapping: 2.10.37 - caniuse-lite: 1.0.30001799 - electron-to-chromium: 1.5.374 - node-releases: 2.0.47 - update-browserslist-db: 1.2.3(browserslist@4.28.2) + baseline-browser-mapping: 2.11.35 + caniuse-lite: 1.0.30001823 + electron-to-chromium: 1.5.479 + node-releases: 2.0.63 + update-browserslist-db: 1.3.4(browserslist@4.29.5) bs-logger@0.2.6: dependencies: @@ -9956,7 +9992,7 @@ snapshots: http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.6 is-ci: 3.0.1 - js-yaml: 4.2.0 + js-yaml: 4.3.2 source-map-support: 0.5.21 stat-mode: 1.0.0 temp-file: 3.4.0 @@ -10022,7 +10058,7 @@ snapshots: camelcase@6.3.0: {} - caniuse-lite@1.0.30001799: {} + caniuse-lite@1.0.30001823: {} chai@5.3.3: dependencies: @@ -10115,10 +10151,6 @@ snapshots: glob: 10.5.0 typescript: 5.9.3 - console-table-printer@2.16.1: - dependencies: - simple-wcswidth: 1.1.2 - content-disposition@0.5.4: dependencies: safe-buffer: 5.2.1 @@ -10129,6 +10161,8 @@ snapshots: content-type@2.0.0: {} + content-type@2.1.0: {} + convert-source-map@2.0.0: {} cookie-signature@1.0.7: {} @@ -10281,7 +10315,7 @@ snapshots: builder-util-runtime: 9.2.10 fs-extra: 10.1.0 iconv-lite: 0.6.3 - js-yaml: 4.2.0 + js-yaml: 4.3.2 optionalDependencies: dmg-license: 1.0.11 transitivePeerDependencies: @@ -10305,7 +10339,7 @@ snapshots: dependencies: esutils: 2.0.3 - dompurify@3.4.12: + dompurify@3.4.17: optionalDependencies: '@types/trusted-types': 2.0.7 @@ -10338,7 +10372,7 @@ snapshots: kubernetes-types: 1.30.0 msgpackr: 2.1.0 multipasta: 0.2.8 - toml: 4.3.0 + toml: 5.0.1 uuid: 14.0.2 yaml: 2.9.1 @@ -10386,13 +10420,13 @@ snapshots: transitivePeerDependencies: - supports-color - electron-to-chromium@1.5.374: {} + electron-to-chromium@1.5.479: {} electron-updater@6.8.9: dependencies: builder-util-runtime: 9.7.0 fs-extra: 10.1.0 - js-yaml: 4.2.0 + js-yaml: 4.3.2 lazy-val: 1.0.5 lodash.escaperegexp: 4.1.2 lodash.isequal: 4.5.0 @@ -10567,7 +10601,7 @@ snapshots: imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 - js-yaml: 4.2.0 + js-yaml: 4.3.2 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash.merge: 4.6.2 @@ -10663,13 +10697,13 @@ snapshots: express-rate-limit@8.5.2(express@5.2.1): dependencies: express: 5.2.1 - ip-address: 10.2.0 + ip-address: 10.7.6 express@4.22.2: dependencies: accepts: 1.3.8 array-flatten: 1.1.1 - body-parser: 1.20.5 + body-parser: 1.20.9 content-disposition: 0.5.4 content-type: 1.0.5 cookie: 0.7.2 @@ -10687,8 +10721,8 @@ snapshots: on-finished: 2.4.1 parseurl: 1.3.3 path-to-regexp: 0.1.13 - proxy-addr: 2.0.7 - qs: 6.15.2 + proxy-addr: 2.0.8 + qs: 6.17.1 range-parser: 1.2.1 safe-buffer: 5.2.1 send: 0.19.2 @@ -10704,7 +10738,7 @@ snapshots: express@5.2.1: dependencies: accepts: 2.0.0 - body-parser: 2.3.0 + body-parser: 2.4.0 content-disposition: 1.1.0 content-type: 1.0.5 cookie: 0.7.2 @@ -10722,8 +10756,8 @@ snapshots: on-finished: 2.4.1 once: 1.4.0 parseurl: 1.3.3 - proxy-addr: 2.0.7 - qs: 6.15.2 + proxy-addr: 2.0.8 + qs: 6.17.1 range-parser: 1.2.1 router: 2.2.0 send: 1.2.1 @@ -10775,15 +10809,25 @@ snapshots: dependencies: fast-string-truncated-width: 3.0.3 - fast-uri@3.1.2: {} + fast-uri@3.1.9: {} fast-wrap-ansi@0.2.2: dependencies: fast-string-width: 3.0.2 - fast-xml-parser@4.5.7: + fast-xml-builder@1.3.1: dependencies: - strnum: 1.1.2 + path-expression-matcher: 1.6.2 + xml-naming: 0.3.0 + + fast-xml-parser@5.12.0: + dependencies: + '@nodable/entities': 3.1.0 + fast-xml-builder: 1.3.1 + is-unsafe: 2.0.3 + path-expression-matcher: 1.6.2 + strnum: 2.5.1 + xml-naming: 0.3.0 fastq@1.20.1: dependencies: @@ -11097,7 +11141,7 @@ snapshots: graphemer@1.4.0: {} - handlebars@4.7.9: + handlebars@4.7.10: dependencies: minimist: 1.2.8 neo-async: 2.6.2 @@ -11123,7 +11167,7 @@ snapshots: dependencies: function-bind: 1.1.2 - hono@4.12.25: {} + hono@4.13.17: {} hosted-git-info@4.1.0: dependencies: @@ -11203,6 +11247,10 @@ snapshots: dependencies: safer-buffer: 2.1.2 + iconv-lite@0.7.3: + dependencies: + safer-buffer: 2.1.2 + ieee754@1.2.1: {} ignore@5.3.2: {} @@ -11232,7 +11280,7 @@ snapshots: ini@7.0.0: {} - ip-address@10.2.0: {} + ip-address@10.7.6: {} ipaddr.js@1.9.1: {} @@ -11292,6 +11340,8 @@ snapshots: is-unicode-supported@2.1.0: {} + is-unsafe@2.0.3: {} + is-windows@1.0.2: {} is-wsl@3.1.1: @@ -11679,12 +11729,12 @@ snapshots: js-tokens@9.0.1: {} - js-yaml@3.14.2: + js-yaml@3.15.2: dependencies: argparse: 1.0.10 esprima: 4.0.1 - js-yaml@4.2.0: + js-yaml@4.3.2: dependencies: argparse: 2.0.1 @@ -11766,16 +11816,12 @@ snapshots: - vue - ws - langsmith@0.3.87(openai@6.45.0(ws@8.21.0)(zod@4.4.3)): + langsmith@0.6.3(openai@6.45.0(ws@8.21.0)(zod@4.4.3))(ws@8.21.0): dependencies: - '@types/uuid': 10.0.0 - chalk: 4.1.2 - console-table-printer: 2.16.1 p-queue: 6.6.2 - semver: 7.8.4 - uuid: 10.0.0 optionalDependencies: openai: 6.45.0(ws@8.21.0)(zod@4.4.3) + ws: 8.21.0 langsmith@0.8.0(openai@6.45.0(ws@8.21.0)(zod@3.25.76))(ws@8.21.0): dependencies: @@ -11944,19 +11990,19 @@ snapshots: minimatch@10.2.5: dependencies: - brace-expansion: 5.0.7 + brace-expansion: 5.0.12 minimatch@3.1.5: dependencies: - brace-expansion: 1.1.15 + brace-expansion: 1.1.21 minimatch@5.1.9: dependencies: - brace-expansion: 2.1.1 + brace-expansion: 2.1.7 minimatch@9.0.9: dependencies: - brace-expansion: 2.1.1 + brace-expansion: 2.1.7 minimist@1.2.8: {} @@ -12039,7 +12085,7 @@ snapshots: mute-stream@3.0.0: {} - nanoid@3.3.12: {} + nanoid@3.3.20: {} nanoid@6.0.1: {} @@ -12089,7 +12135,7 @@ snapshots: dependencies: node-addon-api: 7.1.1 - node-releases@2.0.47: {} + node-releases@2.0.63: {} nopt@6.0.0: dependencies: @@ -12303,6 +12349,8 @@ snapshots: path-exists@4.0.0: {} + path-expression-matcher@1.6.2: {} + path-is-absolute@1.0.1: {} path-key@3.1.1: {} @@ -12360,11 +12408,11 @@ snapshots: base64-js: 1.5.1 xmlbuilder: 15.1.1 - postcss@8.5.15: + postcss@8.5.32: dependencies: - nanoid: 3.3.12 + nanoid: 3.3.20 picocolors: 1.1.1 - source-map-js: 1.2.1 + source-map-js: 1.2.2 posthog-js@1.409.5: dependencies: @@ -12372,7 +12420,7 @@ snapshots: '@posthog/core': 1.46.1 '@posthog/types': 1.399.0 core-js: 3.49.0 - dompurify: 3.4.12 + dompurify: 3.4.17 fflate: 0.4.9 preact: 10.29.7 query-selector-shadow-dom: 1.0.1 @@ -12418,7 +12466,7 @@ snapshots: propagate@2.0.1: {} - proxy-addr@2.0.7: + proxy-addr@2.0.8: dependencies: forwarded: 0.2.0 ipaddr.js: 1.9.1 @@ -12436,12 +12484,9 @@ snapshots: pure-rand@8.4.2: {} - qs@6.15.1: - dependencies: - side-channel: 1.1.1 - - qs@6.15.2: + qs@6.17.1: dependencies: + es-define-property: 1.0.1 side-channel: 1.1.1 quansync@0.2.11: {} @@ -12587,7 +12632,7 @@ snapshots: read-yaml-file@1.1.0: dependencies: graceful-fs: 4.2.11 - js-yaml: 3.14.2 + js-yaml: 3.15.2 pify: 4.0.1 strip-bom: 3.0.0 @@ -12850,8 +12895,6 @@ snapshots: dependencies: semver: 7.8.4 - simple-wcswidth@1.1.2: {} - sisteransi@1.0.5: {} slash@3.0.0: {} @@ -12875,10 +12918,10 @@ snapshots: socks@2.8.9: dependencies: - ip-address: 10.2.0 + ip-address: 10.7.6 smart-buffer: 4.2.0 - source-map-js@1.2.1: {} + source-map-js@1.2.2: {} source-map-support@0.5.13: dependencies: @@ -12969,7 +13012,9 @@ snapshots: dependencies: js-tokens: 9.0.1 - strnum@1.1.2: {} + strnum@2.5.1: + dependencies: + anynum: 1.0.1 sumchecker@3.0.1: dependencies: @@ -13050,7 +13095,7 @@ snapshots: toidentifier@1.0.1: {} - toml@4.3.0: {} + toml@5.0.1: {} tree-kill@1.2.2: {} @@ -13068,7 +13113,7 @@ snapshots: dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - handlebars: 4.7.9 + handlebars: 4.7.10 jest: 29.7.0(@types/node@20.19.43) json5: 2.2.3 lodash.memoize: 4.1.2 @@ -13127,7 +13172,7 @@ snapshots: dependencies: des.js: 1.1.0 js-md4: 0.3.2 - qs: 6.15.1 + qs: 6.17.1 tunnel: 0.0.6 underscore: 1.13.8 @@ -13158,9 +13203,9 @@ snapshots: unpipe@1.0.0: {} - update-browserslist-db@1.2.3(browserslist@4.28.2): + update-browserslist-db@1.3.4(browserslist@4.29.5): dependencies: - browserslist: 4.28.2 + browserslist: 4.29.5 escalade: 3.2.0 picocolors: 1.1.1 @@ -13208,12 +13253,10 @@ snapshots: utils-merge@1.0.1: {} - uuid@10.0.0: {} + uuid@11.1.1: {} uuid@14.0.2: {} - uuid@9.0.1: {} - v8-to-istanbul@9.3.0: dependencies: '@jridgewell/trace-mapping': 0.3.31 @@ -13255,7 +13298,7 @@ snapshots: esbuild: 0.25.12 fdir: 6.5.0(picomatch@4.0.4) picomatch: 4.0.4 - postcss: 8.5.15 + postcss: 8.5.32 rollup: 4.62.0 tinyglobby: 0.2.17 optionalDependencies: @@ -13358,6 +13401,8 @@ snapshots: dependencies: is-wsl: 3.1.1 + xml-naming@0.3.0: {} + xmlbuilder@15.1.1: {} y18n@5.0.8: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e275e3c54..98654b89d 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -21,5 +21,36 @@ onlyBuiltDependencies: # cross-platform rebuild HANG that the bare node-gyp override caused. overrides: "@electron/rebuild": ^3.7.0 + # Security floors for transitive dependencies (SAP-4715). Each key is scoped + # to the major line a parent declares and floors it at the first release that + # closes that line's open advisories, so no parent gets a major it did not ask + # for. Some lines have no patched release in their own major and move up one: + # fast-xml-parser@4, langsmith@0.3 and uuid@9/10 sit in + # @sapiom/langchain-classic's dev-only @langchain/* 0.3 test graph, whose + # tests cover the jump. toml@4 moves to 5 under effect, which the desktop app + # ships; parse(input, options) remains available, but integers outside + # JavaScript's safe range require the bigint option and must fit TOML's + # signed 64-bit range. + "body-parser@1": ^1.20.9 + "body-parser@2": ^2.4.0 + "brace-expansion@1": ^1.1.21 + "brace-expansion@2": ^2.1.7 + "brace-expansion@5": ^5.0.12 + "browserslist@4": ^4.28.7 + "dompurify@3": ^3.4.17 + "fast-uri@3": ^3.1.9 + "fast-xml-parser@4": ^5.7.0 + "handlebars@4": ^4.7.10 + "hono@4": ^4.13.11 + "ip-address@10": ^10.7.4 + "js-yaml@3": ^3.15.2 + "js-yaml@4": ^4.3.2 + "langsmith@0.3": ^0.6.0 + "postcss@8": ^8.5.23 + "proxy-addr@2": ^2.0.8 + "qs@6": ^6.16.1 + "toml@4": ^5.0.1 + "uuid@9": ^11.1.1 + "uuid@10": ^11.1.1 patchedDependencies: "@assistant-ui/react-opencode@0.2.22": patches/@assistant-ui__react-opencode@0.2.22.patch From 3651080f2dcfce1f64f553db39b8668f9e075bcf Mon Sep 17 00:00:00 2001 From: Antoine Berger <64917674+antoine-berger@users.noreply.github.com> Date: Tue, 10 Nov 2026 20:57:38 +0000 Subject: [PATCH 3/9] fix(deps): raise the undici and axios dev floors to their patched releases [SAP-4715] @sapiom/fetch tests against undici ^7.16.0 and @sapiom/axios against axios ^1.7.9, both dev-only. undici 7.30.1 closes every open undici 7 alert and axios 1.20.0 closes every open axios alert, so the floors move there. The axios peer range (>=1.0.0) is unchanged. axios is follow-redirects' only parent here, and the axios release that resolves requires follow-redirects ^1.16.2, which closes the follow-redirects alerts without an override. Co-Authored-By: Claude Opus 5.5 --- packages/axios/package.json | 2 +- packages/fetch/package.json | 2 +- pnpm-lock.yaml | 34 +++++++++++++++++----------------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/axios/package.json b/packages/axios/package.json index db4c0d841..bbe0eb54b 100644 --- a/packages/axios/package.json +++ b/packages/axios/package.json @@ -57,7 +57,7 @@ "@types/node": "^20.11.30", "@typescript-eslint/eslint-plugin": "^7.3.1", "@typescript-eslint/parser": "^7.3.1", - "axios": "^1.7.9", + "axios": "^1.20.0", "axios-mock-adapter": "^2.1.0", "eslint": "^8.57.0", "jest": "^29.7.0", diff --git a/packages/fetch/package.json b/packages/fetch/package.json index 473c6ec28..2315591aa 100644 --- a/packages/fetch/package.json +++ b/packages/fetch/package.json @@ -63,7 +63,7 @@ "prettier": "^3.2.5", "ts-jest": "^29.1.2", "typescript": "^5.4.2", - "undici": "^7.16.0" + "undici": "^7.30.1" }, "dependencies": { "@sapiom/core": "workspace:*" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 86ca6582a..65715c642 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -274,11 +274,11 @@ importers: specifier: ^7.3.1 version: 7.18.0(eslint@8.57.1)(typescript@5.9.3) axios: - specifier: ^1.7.9 - version: 1.18.0 + specifier: ^1.20.0 + version: 1.21.1 axios-mock-adapter: specifier: ^2.1.0 - version: 2.1.0(axios@1.18.0) + version: 2.1.0(axios@1.21.1) eslint: specifier: ^8.57.0 version: 8.57.1 @@ -461,8 +461,8 @@ importers: specifier: ^5.4.2 version: 5.9.3 undici: - specifier: ^7.16.0 - version: 7.28.0 + specifier: ^7.30.1 + version: 7.30.2 packages/harness: dependencies: @@ -3514,8 +3514,8 @@ packages: peerDependencies: axios: '>= 0.17.0' - axios@1.18.0: - resolution: {integrity: sha512-E32NzpYKp++W7XRe52rHiXV2ehxmh3wbdgO7MHeFM+vqxLBYHzt0ElkiImtOBxtOmyp0yoC8C6uESVV84Y2/hw==} + axios@1.21.1: + resolution: {integrity: sha512-6eI5Q/Y4u/Um9dDlsRoq5pY2rxnUTv+L4PpLitnbk/i4jb3MxLZ5CsN5Ih3IysbeRYK4pR+P7qfMsOQl9fwwFQ==} babel-jest@29.7.0: resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} @@ -4364,8 +4364,8 @@ packages: flatted@3.4.2: resolution: {integrity: sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==} - follow-redirects@1.16.0: - resolution: {integrity: sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==} + follow-redirects@1.16.3: + resolution: {integrity: sha512-toOSoqN6d51Wjf1aOFJYcoVv1aND9rj/CwjLU0Vz40oDuSpWDayCeKe4JpL5NL0WdFvoOOCI3BRo69HahjbR1A==} engines: {node: '>=4.0'} peerDependencies: debug: '*' @@ -6573,8 +6573,8 @@ packages: undici-types@6.21.0: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} - undici@7.28.0: - resolution: {integrity: sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==} + undici@7.30.2: + resolution: {integrity: sha512-mLyPQnHwUxaM/rideoK/+KL8DaAJLRl4aBCfmX444aCSLnIaomqPLtNRe2jdCYcsk5wZzXrDIQC8ZeYNRAYyIA==} engines: {node: '>=20.18.1'} unicorn-magic@0.3.0: @@ -9789,15 +9789,15 @@ snapshots: at-least-node@1.0.0: {} - axios-mock-adapter@2.1.0(axios@1.18.0): + axios-mock-adapter@2.1.0(axios@1.21.1): dependencies: - axios: 1.18.0 + axios: 1.21.1 fast-deep-equal: 3.1.3 is-buffer: 2.0.5 - axios@1.18.0: + axios@1.21.1: dependencies: - follow-redirects: 1.16.0 + follow-redirects: 1.16.3 form-data: 4.0.6 https-proxy-agent: 5.0.1 proxy-from-env: 2.1.0 @@ -10918,7 +10918,7 @@ snapshots: flatted@3.4.2: {} - follow-redirects@1.16.0: {} + follow-redirects@1.16.3: {} foreground-child@3.3.1: dependencies: @@ -13185,7 +13185,7 @@ snapshots: undici-types@6.21.0: {} - undici@7.28.0: {} + undici@7.30.2: {} unicorn-magic@0.3.0: {} From 7d5b6022fd5481b7536ae25596e602e042f083cd Mon Sep 17 00:00:00 2001 From: Antoine Berger <64917674+antoine-berger@users.noreply.github.com> Date: Tue, 10 Nov 2026 20:58:12 +0000 Subject: [PATCH 4/9] fix(deps): require the patched MCP SDK 1.32.0 [SAP-4715] @sapiom/mcp and @sapiom/harness accepted @modelcontextprotocol/sdk ^1.26.0 and the lockfile resolved 1.29.0. 1.32.0 is the first release that closes every open SDK alert, so both floors move to ^1.32.0. The SDK depends on @hono/node-server, whose serveStatic double-decoding advisory has no 1.x fix (1.19.18 backports a different fix). A scoped override moves its 1.x line to the first patched 2.1.3, which the SDK's own range (^1.19.9 || ^2.0.5) allows. Overrides are not published: consumers resolve the SDK's range themselves. Co-Authored-By: Claude Opus 5.5 --- packages/harness/package.json | 2 +- packages/mcp/package.json | 2 +- pnpm-lock.yaml | 25 +++++++++++++------------ pnpm-workspace.yaml | 5 ++++- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/packages/harness/package.json b/packages/harness/package.json index e05ff8f4b..115cf68dc 100644 --- a/packages/harness/package.json +++ b/packages/harness/package.json @@ -63,7 +63,7 @@ "e2e:live": "tsx scripts/e2e-live.ts" }, "dependencies": { - "@modelcontextprotocol/sdk": "^1.26.0", + "@modelcontextprotocol/sdk": "^1.32.0", "@sapiom/agent": "workspace:^", "@sapiom/agent-core": "workspace:^", "@sapiom/analytics-core": "workspace:^", diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 23ab3fb72..6591fa1ed 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -59,7 +59,7 @@ "test:package": "pnpm --filter \"@sapiom/mcp...\" build && node scripts/check-package.mjs" }, "dependencies": { - "@modelcontextprotocol/sdk": "^1.26.0", + "@modelcontextprotocol/sdk": "^1.32.0", "@sapiom/agent-core": "workspace:^", "@sapiom/analytics-core": "workspace:^", "@sapiom/sandbox-preview": "workspace:^", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 65715c642..63c73d440 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,6 +17,7 @@ overrides: fast-xml-parser@4: ^5.7.0 handlebars@4: ^4.7.10 hono@4: ^4.13.11 + '@hono/node-server@1': ^2.1.3 ip-address@10: ^10.7.4 js-yaml@3: ^3.15.2 js-yaml@4: ^4.3.2 @@ -467,8 +468,8 @@ importers: packages/harness: dependencies: '@modelcontextprotocol/sdk': - specifier: ^1.26.0 - version: 1.29.0(@cfworker/json-schema@4.1.1)(zod@3.25.76) + specifier: ^1.32.0 + version: 1.32.2(@cfworker/json-schema@4.1.1)(zod@3.25.76) '@sapiom/agent': specifier: workspace:^ version: link:../agent @@ -723,8 +724,8 @@ importers: packages/mcp: dependencies: '@modelcontextprotocol/sdk': - specifier: ^1.26.0 - version: 1.29.0(@cfworker/json-schema@4.1.1)(zod@3.25.76) + specifier: ^1.32.0 + version: 1.32.2(@cfworker/json-schema@4.1.1)(zod@3.25.76) '@sapiom/agent-core': specifier: workspace:^ version: link:../agent-core @@ -1720,9 +1721,9 @@ packages: '@gar/promisify@1.1.3': resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} - '@hono/node-server@1.19.14': - resolution: {integrity: sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw==} - engines: {node: '>=18.14.1'} + '@hono/node-server@2.1.6': + resolution: {integrity: sha512-p/KH9MnfNcsm3sR6x4lNgm5j+QN4Et8srKredl9DZfXiyZ1UQ3aQ2YVpFLbqktYN5JI+DB+VZFKM2PqE5hLKjQ==} + engines: {node: '>=20'} peerDependencies: hono: ^4.13.11 @@ -2074,8 +2075,8 @@ packages: '@manypkg/get-packages@1.1.3': resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} - '@modelcontextprotocol/sdk@1.29.0': - resolution: {integrity: sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ==} + '@modelcontextprotocol/sdk@1.32.2': + resolution: {integrity: sha512-SWsVtH/0vULSQStoZ6xxH2K09Li8fXYTMC64ZeogCdpZ3XSi1eCPOByV1OpuJxuI3OcmHhosDWYyii07tpPsLw==} engines: {node: '>=18'} peerDependencies: '@cfworker/json-schema': ^4.1.1 @@ -7729,7 +7730,7 @@ snapshots: '@gar/promisify@1.1.3': {} - '@hono/node-server@1.19.14(hono@4.13.17)': + '@hono/node-server@2.1.6(hono@4.13.17)': dependencies: hono: 4.13.17 @@ -8217,9 +8218,9 @@ snapshots: globby: 11.1.0 read-yaml-file: 1.1.0 - '@modelcontextprotocol/sdk@1.29.0(@cfworker/json-schema@4.1.1)(zod@3.25.76)': + '@modelcontextprotocol/sdk@1.32.2(@cfworker/json-schema@4.1.1)(zod@3.25.76)': dependencies: - '@hono/node-server': 1.19.14(hono@4.13.17) + '@hono/node-server': 2.1.6(hono@4.13.17) ajv: 8.20.0 ajv-formats: 3.0.1(ajv@8.20.0) content-type: 1.0.5 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 98654b89d..ffe74c82a 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -30,7 +30,9 @@ overrides: # tests cover the jump. toml@4 moves to 5 under effect, which the desktop app # ships; parse(input, options) remains available, but integers outside # JavaScript's safe range require the bigint option and must fit TOML's - # signed 64-bit range. + # signed 64-bit range. @hono/node-server@1 moves to 2.x, which + # @modelcontextprotocol/sdk 1.32's own range (^1.19.9 || ^2.0.5) allows; no + # 1.x release fixes its serveStatic double-decoding advisory. "body-parser@1": ^1.20.9 "body-parser@2": ^2.4.0 "brace-expansion@1": ^1.1.21 @@ -42,6 +44,7 @@ overrides: "fast-xml-parser@4": ^5.7.0 "handlebars@4": ^4.7.10 "hono@4": ^4.13.11 + "@hono/node-server@1": ^2.1.3 "ip-address@10": ^10.7.4 "js-yaml@3": ^3.15.2 "js-yaml@4": ^4.3.2 From f7434e962b0dc1f79ccda0ca55440c2b6b27205c Mon Sep 17 00:00:00 2001 From: Antoine Berger <64917674+antoine-berger@users.noreply.github.com> Date: Tue, 10 Nov 2026 20:58:43 +0000 Subject: [PATCH 5/9] fix(deps): raise the harness Vite floor to 6.4.4 [SAP-4715] The Studio web bundle builds with vite ^6.0.0, which resolved 6.4.3. 6.4.4 is the first 6.x release that closes the open Vite and bundled launch-editor alerts, so the floor moves there and the build stays on Vite 6 and its default browser target. Vitest 3's own copy of Vite moves with the Vitest commit that follows. Co-Authored-By: Claude Opus 5.5 --- packages/harness/package.json | 2 +- pnpm-lock.yaml | 66 +++++++++++++++++++++++++++++++---- 2 files changed, 61 insertions(+), 7 deletions(-) diff --git a/packages/harness/package.json b/packages/harness/package.json index 115cf68dc..15499c3d6 100644 --- a/packages/harness/package.json +++ b/packages/harness/package.json @@ -98,7 +98,7 @@ "react": "^19.0.0", "react-dom": "^19.0.0", "tsx": "^4.19.0", - "vite": "^6.0.0", + "vite": "^6.4.4", "vitest": "^3.0.0", "@assistant-ui/react": "0.15.18", "@assistant-ui/react-opencode": "0.2.22", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 63c73d440..6cb6cc44d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -548,7 +548,7 @@ importers: version: 8.18.1 '@vitejs/plugin-react': specifier: ^4.3.4 - version: 4.7.0(vite@6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) + version: 4.7.0(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) '@xterm/addon-fit': specifier: ^0.10.0 version: 0.10.0(@xterm/xterm@5.5.0) @@ -577,8 +577,8 @@ importers: specifier: ^4.19.0 version: 4.23.0 vite: - specifier: ^6.0.0 - version: 6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + specifier: ^6.4.4 + version: 6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) vitest: specifier: ^3.0.0 version: 3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) @@ -6733,6 +6733,46 @@ packages: yaml: optional: true + vite@6.4.6: + resolution: {integrity: sha512-RtsraAwEG68idOA6iUOoIpOlcSKROnf815aIq9qHTSrDNpLoBrBa12suyfcEd8qn0xwOVQI1Yhm1GbmTjF600A==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + jiti: '>=1.21.0' + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + vitest@3.2.6: resolution: {integrity: sha512-xejya+bT/j/+R/AGa1XOfRxLmNUlLtlwjRsFUILF+xHfzElmGcmFydy2gqqIrd62ptIEfwVMofd19uNWD9L7Nw==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} @@ -9512,7 +9552,7 @@ snapshots: '@ungap/structured-clone@1.3.1': {} - '@vitejs/plugin-react@4.7.0(vite@6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1))': + '@vitejs/plugin-react@4.7.0(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1))': dependencies: '@babel/core': 7.29.7 '@babel/plugin-transform-react-jsx-self': 7.29.7(@babel/core@7.29.7) @@ -9520,7 +9560,7 @@ snapshots: '@rolldown/pluginutils': 1.0.0-beta.27 '@types/babel__core': 7.20.5 react-refresh: 0.17.0 - vite: 6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + vite: 6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) transitivePeerDependencies: - supports-color @@ -13279,7 +13319,7 @@ snapshots: debug: 4.4.3 es-module-lexer: 1.7.0 pathe: 2.0.3 - vite: 6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + vite: 6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) transitivePeerDependencies: - '@types/node' - jiti @@ -13308,6 +13348,20 @@ snapshots: tsx: 4.23.0 yaml: 2.9.1 + vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1): + dependencies: + esbuild: 0.25.12 + fdir: 6.5.0(picomatch@4.0.4) + picomatch: 4.0.4 + postcss: 8.5.32 + rollup: 4.62.0 + tinyglobby: 0.2.17 + optionalDependencies: + '@types/node': 20.19.43 + fsevents: 2.3.3 + tsx: 4.23.0 + yaml: 2.9.1 + vitest@3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1): dependencies: '@types/chai': 5.2.3 From 10535254e743ba35a8e2521dc1ea886010a8ce39 Mon Sep 17 00:00:00 2001 From: Antoine Berger <64917674+antoine-berger@users.noreply.github.com> Date: Tue, 10 Nov 2026 21:05:33 +0000 Subject: [PATCH 6/9] test(harness): run the listVisible suite that sat inside a test body [SAP-4715] The createDefinitionSlugResolver.listVisible suite was declared inside the "bounds network waits" test, so Vitest 3 collected none of its 10 tests. Vitest 4 rejects a suite declared inside a test ("Calling the suite function inside test function is not allowed"), which would fail the Vitest 4 upgrade that follows. Close the test before the suite so it runs as a sibling. Co-Authored-By: Claude Opus 5.5 --- packages/harness/src/core/definition-slug-resolver.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/harness/src/core/definition-slug-resolver.test.ts b/packages/harness/src/core/definition-slug-resolver.test.ts index 7bf360c9b..34fc5ab69 100644 --- a/packages/harness/src/core/definition-slug-resolver.test.ts +++ b/packages/harness/src/core/definition-slug-resolver.test.ts @@ -452,6 +452,7 @@ describe("authenticated deployment evidence", () => { } finally { timeout.mockRestore(); } + }); describe("createDefinitionSlugResolver.listVisible (SAP-3214)", () => { let errorSpy: ReturnType; @@ -697,7 +698,6 @@ describe("authenticated deployment evidence", () => { expect(fetchImpl).toHaveBeenCalledTimes(1); }); }); - }); }); describe("createDefinitionSlugResolver — credential channel", () => { From a0e4c4677f20ee840dde21eb4e4717cec1d50373 Mon Sep 17 00:00:00 2001 From: Antoine Berger <64917674+antoine-berger@users.noreply.github.com> Date: Tue, 10 Nov 2026 21:05:57 +0000 Subject: [PATCH 7/9] fix(deps): move Vitest to 4.1.12, its first patched release [SAP-4715] The Vitest and @vitest/mocker advisories open on agent-map, harness, harness-desktop, mcp and opencode have no 3.x fix: the mocker redirect path traversal is fixed in 4.1.11 and the manual-mock registration injection in @vitest/mocker 4.1.12, which vitest 4.1.12 pins. Vitest 4 also drops tinypool, closing its two critical advisories. Its own Vite copy dedupes to the harness's patched Vite 6. Vitest 4 changes two things the suites relied on: - An untyped vi.fn() is typed as possibly constructable, so the harness handles that are called as functions get a callable Mock type. - restoreAllMocks no longer clears module-mock call history, so the mcp auth and credentials suites reset mocks before restoring them. Vitest 4 needs Node 20 or later (engines ^20 || ^22 || >=24), so the agent-map-node18 job stops running agent-map's unit suite, which still runs on Node 20 and 22 in the matrix job. The job keeps the mcp closure build and the packed-package checks on Node 18. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/test.yml | 3 +- packages/agent-map/package.json | 2 +- packages/harness-desktop/package.json | 2 +- packages/harness/package.json | 2 +- .../src/core/collector/codex-tailer.test.ts | 4 +- .../harness/src/core/opencode-host.test.ts | 6 +- .../src/core/workspace-watch-broker.test.ts | 4 +- .../src/core/workspace-watcher.test.ts | 6 +- .../src/server/codex-tailer-wiring.test.ts | 4 +- packages/harness/src/server/rest.test.ts | 6 +- packages/mcp/package.json | 2 +- packages/mcp/src/auth.test.ts | 3 + packages/mcp/src/credentials.test.ts | 3 + packages/opencode/package.json | 2 +- pnpm-lock.yaml | 349 ++++++------------ 15 files changed, 135 insertions(+), 263 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0be454b92..ed3b5bc04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,7 +75,8 @@ jobs: cache: "pnpm" - run: pnpm install --frozen-lockfile --filter "@sapiom/mcp..." - run: pnpm --filter "@sapiom/mcp..." build - - run: pnpm --filter @sapiom/agent-map test + # Vitest 4 needs Node 20+, so agent-map's unit suite runs in the matrix + # above; this job proves the packed packages still work on Node 18. - run: pnpm --filter @sapiom/agent-map test:package - run: pnpm --filter @sapiom/mcp test:capabilities - run: pnpm --filter @sapiom/mcp test:package diff --git a/packages/agent-map/package.json b/packages/agent-map/package.json index 86c5ea271..7b0eb3fcd 100644 --- a/packages/agent-map/package.json +++ b/packages/agent-map/package.json @@ -78,7 +78,7 @@ "devDependencies": { "@types/node": "^20.11.30", "typescript": "~5.9.3", - "vitest": "^3.0.0", + "vitest": "^4.1.12", "esbuild": "^0.28.1" }, "engines": { diff --git a/packages/harness-desktop/package.json b/packages/harness-desktop/package.json index be9d7250f..12bc4584d 100644 --- a/packages/harness-desktop/package.json +++ b/packages/harness-desktop/package.json @@ -33,7 +33,7 @@ "electron": "^33.0.0", "electron-builder": "^25.1.8", "typescript": "^5.4.2", - "vitest": "^3.0.0" + "vitest": "^4.1.12" }, "engines": { "node": ">=20.0.0" diff --git a/packages/harness/package.json b/packages/harness/package.json index 15499c3d6..2bc866018 100644 --- a/packages/harness/package.json +++ b/packages/harness/package.json @@ -99,7 +99,7 @@ "react-dom": "^19.0.0", "tsx": "^4.19.0", "vite": "^6.4.4", - "vitest": "^3.0.0", + "vitest": "^4.1.12", "@assistant-ui/react": "0.15.18", "@assistant-ui/react-opencode": "0.2.22", "@opencode-ai/sdk": "1.18.29" diff --git a/packages/harness/src/core/collector/codex-tailer.test.ts b/packages/harness/src/core/collector/codex-tailer.test.ts index 38d0531dc..3378fc995 100644 --- a/packages/harness/src/core/collector/codex-tailer.test.ts +++ b/packages/harness/src/core/collector/codex-tailer.test.ts @@ -1,7 +1,7 @@ import { mkdir, mkdtemp, realpath, rm, symlink, writeFile, appendFile } from "node:fs/promises"; import { tmpdir } from "node:os"; import { join } from "node:path"; -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { afterEach, beforeEach, describe, expect, it, vi, type Mock } from "vitest"; import { findRolloutFile, tailCodexRollout, type CodexTailerHandle } from "./codex-tailer.js"; import type { RawHookPayload } from "./normalizer.js"; @@ -36,7 +36,7 @@ describe("tailCodexRollout", () => { let rolloutPath: string; let handle: CodexTailerHandle | undefined; let onEvent: ReturnType void>>; - let onError: ReturnType; + let onError: Mock<(...args: any[]) => any>; beforeEach(async () => { dir = await mkdtemp(join(tmpdir(), "harness-codex-tailer-")); diff --git a/packages/harness/src/core/opencode-host.test.ts b/packages/harness/src/core/opencode-host.test.ts index 360d1c33e..5bf867086 100644 --- a/packages/harness/src/core/opencode-host.test.ts +++ b/packages/harness/src/core/opencode-host.test.ts @@ -1,4 +1,4 @@ -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { afterEach, beforeEach, describe, expect, it, vi, type Mock } from "vitest"; import { access, mkdtemp, @@ -36,8 +36,8 @@ const observers: Array<{ hosted: HostedOpenCode; id: string; update: (state: AssistantObservation) => void; - dispose: ReturnType; - start: ReturnType; + dispose: Mock<(...args: any[]) => any>; + start: Mock<(...args: any[]) => any>; }> = []; const createObserver = vi.fn( ( diff --git a/packages/harness/src/core/workspace-watch-broker.test.ts b/packages/harness/src/core/workspace-watch-broker.test.ts index 566890bea..4f292633f 100644 --- a/packages/harness/src/core/workspace-watch-broker.test.ts +++ b/packages/harness/src/core/workspace-watch-broker.test.ts @@ -1,7 +1,7 @@ import * as fs from "node:fs/promises"; import * as os from "node:os"; import * as path from "node:path"; -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { afterEach, beforeEach, describe, expect, it, vi, type Mock } from "vitest"; import { SharedWorkspaceWatchBroker, @@ -13,7 +13,7 @@ import { let root: string; let listener: Parameters[1]; -let close: ReturnType; +let close: Mock<(...args: any[]) => any>; let watchFactory: ReturnType>; let aliasPath: string | null; diff --git a/packages/harness/src/core/workspace-watcher.test.ts b/packages/harness/src/core/workspace-watcher.test.ts index 5f6a0039c..103575c85 100644 --- a/packages/harness/src/core/workspace-watcher.test.ts +++ b/packages/harness/src/core/workspace-watcher.test.ts @@ -1,4 +1,4 @@ -import { describe, it, expect, beforeEach, afterEach, vi } from "vitest"; +import { describe, it, expect, beforeEach, afterEach, vi, type Mock } from "vitest"; import * as fs from "node:fs/promises"; import * as os from "node:os"; import * as path from "node:path"; @@ -28,8 +28,8 @@ async function scaffoldWorkflow(root: string, name: string): Promise { let cwd: string; let manager: WorkspaceWatcherManager; -let onChange: ReturnType; -let onWatcherStarted: ReturnType; +let onChange: Mock<(...args: any[]) => any>; +let onWatcherStarted: Mock<(...args: any[]) => any>; describe("WorkspaceWatcherManager", () => { beforeEach(async () => { diff --git a/packages/harness/src/server/codex-tailer-wiring.test.ts b/packages/harness/src/server/codex-tailer-wiring.test.ts index 30e847b0c..237f57259 100644 --- a/packages/harness/src/server/codex-tailer-wiring.test.ts +++ b/packages/harness/src/server/codex-tailer-wiring.test.ts @@ -6,7 +6,7 @@ * polling delay. See codex-session-lifecycle.test.ts for the real-files, * no-mocking end-to-end proof. */ -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { afterEach, beforeEach, describe, expect, it, vi, type Mock } from "vitest"; import { mkdtemp, rm } from "node:fs/promises"; import { tmpdir } from "node:os"; import { join } from "node:path"; @@ -21,7 +21,7 @@ import { startServer, type HarnessServer } from "./index.js"; import { CodexRolloutBroker } from "../core/collector/codex-rollout-broker.js"; import type { HarnessAdapter, LaunchOpts, SpawnSpec } from "../shared/types.js"; -type FakeTailerHandle = { stop: ReturnType; emitSessionEnd: ReturnType }; +type FakeTailerHandle = { stop: Mock<(...args: any[]) => any>; emitSessionEnd: Mock<(...args: any[]) => any> }; /** * `vi.waitFor`'s own default (1000ms timeout / 50ms interval — tuned for diff --git a/packages/harness/src/server/rest.test.ts b/packages/harness/src/server/rest.test.ts index 3815bd8b7..acfb908d7 100644 --- a/packages/harness/src/server/rest.test.ts +++ b/packages/harness/src/server/rest.test.ts @@ -3,7 +3,7 @@ import * as fs from "node:fs/promises"; import * as os from "node:os"; import * as path from "node:path"; import express from "express"; -import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; +import { afterEach, beforeEach, describe, expect, it, vi, type Mock } from "vitest"; let tmpHome: string; @@ -161,8 +161,8 @@ function historyAdapter( describe("createRestRouter", () => { let server: ReturnType; let baseUrl: string; - let onTelemetryOptInChange: ReturnType; - let writeWorkspaceContext: ReturnType; + let onTelemetryOptInChange: Mock<(...args: any[]) => any>; + let writeWorkspaceContext: Mock<(...args: any[]) => any>; function start(overrides: Partial = {}) { onTelemetryOptInChange = vi.fn(); diff --git a/packages/mcp/package.json b/packages/mcp/package.json index 6591fa1ed..0c5152a92 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -73,7 +73,7 @@ "@typescript-eslint/parser": "^7.3.1", "eslint": "^8.57.0", "prettier": "^3.2.5", - "vitest": "^3.0.0" + "vitest": "^4.1.12" }, "engines": { "node": ">=18.0.0" diff --git a/packages/mcp/src/auth.test.ts b/packages/mcp/src/auth.test.ts index ba0bccbe6..9ad0c4e71 100644 --- a/packages/mcp/src/auth.test.ts +++ b/packages/mcp/src/auth.test.ts @@ -69,6 +69,9 @@ describe("performBrowserAuth", () => { afterEach(() => { globalThis.fetch = originalFetch; + // Vitest 4's restoreAllMocks only restores vi.spyOn spies; reset module + // mocks too to prevent call history from leaking between tests. + vi.resetAllMocks(); vi.restoreAllMocks(); }); diff --git a/packages/mcp/src/credentials.test.ts b/packages/mcp/src/credentials.test.ts index 565d8201e..6d01722dd 100644 --- a/packages/mcp/src/credentials.test.ts +++ b/packages/mcp/src/credentials.test.ts @@ -58,6 +58,9 @@ it("exposes the shared credential-store path", () => { }); afterEach(() => { + // Vitest 4's restoreAllMocks only restores vi.spyOn spies; reset module + // mocks too to prevent call history from leaking between tests. + vi.resetAllMocks(); vi.restoreAllMocks(); }); diff --git a/packages/opencode/package.json b/packages/opencode/package.json index 91019a8ff..04cc925c3 100644 --- a/packages/opencode/package.json +++ b/packages/opencode/package.json @@ -47,6 +47,6 @@ "@typescript-eslint/parser": "^7.3.1", "eslint": "^8.57.0", "typescript": "^5.4.2", - "vitest": "^3.0.0" + "vitest": "^4.1.12" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6cb6cc44d..f2e466cfd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -171,8 +171,8 @@ importers: specifier: ~5.9.3 version: 5.9.3 vitest: - specifier: ^3.0.0 - version: 3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + specifier: ^4.1.12 + version: 4.1.12(@types/node@20.19.43)(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) packages/agent-runtime: dependencies: @@ -530,7 +530,7 @@ importers: version: 9.6.1(@types/node@20.19.43) '@stryker-mutator/vitest-runner': specifier: ^9.6.1 - version: 9.6.1(@stryker-mutator/core@9.6.1(@types/node@20.19.43))(vitest@3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) + version: 9.6.1(@stryker-mutator/core@9.6.1(@types/node@20.19.43))(vitest@4.1.12(@types/node@20.19.43)(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1))) '@types/express': specifier: ^4.17.21 version: 4.17.25 @@ -580,8 +580,8 @@ importers: specifier: ^6.4.4 version: 6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) vitest: - specifier: ^3.0.0 - version: 3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + specifier: ^4.1.12 + version: 4.1.12(@types/node@20.19.43)(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) packages/harness-desktop: dependencies: @@ -620,8 +620,8 @@ importers: specifier: ^5.4.2 version: 5.9.3 vitest: - specifier: ^3.0.0 - version: 3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + specifier: ^4.1.12 + version: 4.1.12(@types/node@20.19.43)(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) packages/langchain: dependencies: @@ -761,8 +761,8 @@ importers: specifier: ^3.2.5 version: 3.8.4 vitest: - specifier: ^3.0.0 - version: 3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + specifier: ^4.1.12 + version: 4.1.12(@types/node@20.19.43)(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) packages/node-http: dependencies: @@ -829,8 +829,8 @@ importers: specifier: ^5.4.2 version: 5.9.3 vitest: - specifier: ^3.0.0 - version: 3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + specifier: ^4.1.12 + version: 4.1.12(@types/node@20.19.43)(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) packages/sandbox: dependencies: @@ -3286,34 +3286,34 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 - '@vitest/expect@3.2.6': - resolution: {integrity: sha512-1+7q9BtaKzEmO+fmNT3kYvoNn5Y71XWAx2Q5HRim4tTVRQVRv4uJFAQ5FbK0OPUeNP/WmVCpxYxoJdvuHVjzBQ==} + '@vitest/expect@4.1.12': + resolution: {integrity: sha512-vFlTt+YEu9WBpNjdGayNmlMVzrWPi1+sv853/7t2FU7hpO5gAFBKHzQmkCq5Xjpr+evegF2994LQT3hF3mRlqQ==} - '@vitest/mocker@3.2.6': - resolution: {integrity: sha512-EZOrpDbkKotFAP7wPAQV1UIyoGOk4oX7ynWhBhLB7v+meMHbQhU16oPpIYGTTe4oFlhpryGpgpcZP/sin3hYuw==} + '@vitest/mocker@4.1.12': + resolution: {integrity: sha512-fKShNpKZzupWZuY0z7egydvL0sqW4INEZBEExMBMAa6izlENEVHwoXgdaTCaBZ5fwlr4xf2o1wXC83n9RpO+NA==} peerDependencies: msw: ^2.4.9 - vite: ^5.0.0 || ^6.0.0 || ^7.0.0-0 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: msw: optional: true vite: optional: true - '@vitest/pretty-format@3.2.6': - resolution: {integrity: sha512-lb7XXXzmm2h2ASzFnRvQpDo6onT1NmMJA3tkGTWiBFtRJ9lxGY3d3mm/Apt36gej2bkkOVLL/yTOtufDaFa/jA==} + '@vitest/pretty-format@4.1.12': + resolution: {integrity: sha512-XW9O8+Mxx4VpCtkYdMJLZQQwsVryP9wk7cPKDxtXFfwSak6yRh5+2fep/Y0XF/ElBvJHq8bcYdi6aeuai0opZA==} - '@vitest/runner@3.2.6': - resolution: {integrity: sha512-HYcoSj1w5tcgUnzoF0HcyaAQjpA1gj9ftUJ7iSJSuipc02jW9gKkigwZbjFldAfYHA1fa8UZVRftdMY5msWM9Q==} + '@vitest/runner@4.1.12': + resolution: {integrity: sha512-NKlVKCr5QnCe8jijdMnmkpHHU+WTqiLFR6G0pHji9uRjXK9xJl1k1nTw6F3pOOj2PDcsDt2GKQMI7wIsaT491w==} - '@vitest/snapshot@3.2.6': - resolution: {integrity: sha512-H+ZjNTWGpObenh0YnlBctAPnJSI20P81PL8BPzWpx54YXLLTm8hEsWawtcYLMrwvpK48hGxLLbCS+1KRXhsKhw==} + '@vitest/snapshot@4.1.12': + resolution: {integrity: sha512-ko1y1Qgb/slzQ9mr+b89Cuqud8WG1TKtsPD8r7ZUBdvVOGt85Af2HwCqHujrhwJq95hs/9RM7fcAPg57o1vlzw==} - '@vitest/spy@3.2.6': - resolution: {integrity: sha512-oq6BbH68WzcWmwtBrU9nqLeaXTR4XwJF7FSLkKEZo4i6eoXcrxjcwSuTvWBIRUTC6VC72nXYunzqgZA+IKdtxg==} + '@vitest/spy@4.1.12': + resolution: {integrity: sha512-RGq9x4JNGNTZHEJxvN0oSiJjeSCExm0n2gZKKJZHY9cX5AVA6M7VJILBT3ZJ/tJ/0J9uWT7fETV9/btoi//vSg==} - '@vitest/utils@3.2.6': - resolution: {integrity: sha512-lI23nIs4bnT3T8NIoh+vFaz5s2/DdP0Jgt2jxwgWljvwn82cLJtyi/If+fjFyoLMGIOz0U/fKvWE0d4jsNQEfg==} + '@vitest/utils@4.1.12': + resolution: {integrity: sha512-Q3awXrwOfEV+qc3WmO5ONyE0yO7Q1gQ9/oyHxGLZ/pl7N3NO/ZztqQwKLuwMkV+CA1JYSIeO3gkHnRDIo4AVaA==} '@xmldom/xmldom@0.9.10': resolution: {integrity: sha512-A9gOqLdi6cV4ibazAjcQufGj0B1y/vDqYrcuP6d/6x8P27gRS8643Dj9o1dEKtB6O7fwxb2FgBmJS2mX7gpvdw==} @@ -3643,10 +3643,6 @@ packages: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} - cac@6.7.14: - resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} - engines: {node: '>=8'} - cacache@16.1.3: resolution: {integrity: sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -3682,8 +3678,8 @@ packages: caniuse-lite@1.0.30001823: resolution: {integrity: sha512-TQ5s/djDjNk1axreUW+4rULH+BmdCMLiJkhaXnO5wqivG7tITkSUj4ItIdzqdZHKaXcHAV8dhH3JxOM7/7bwqw==} - chai@5.3.3: - resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==} + chai@6.3.0: + resolution: {integrity: sha512-XWAtwJ6OHO+tj0EKCs0Y2UamnyOxseZWltU4x2U2wh8g4AigdjwvtUjvLP2tqkA/avxHEtzxNaqGq/YGNwckKg==} engines: {node: '>=18'} chalk@4.1.2: @@ -3701,10 +3697,6 @@ packages: chardet@2.1.1: resolution: {integrity: sha512-PsezH1rqdV9VvyNhxxOW32/d75r01NY7TQCmOqomRo15ZSOKbpTFVsfjghxo6JloQUCGnH4k1LGu0R4yCLlWQQ==} - check-error@2.1.3: - resolution: {integrity: sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==} - engines: {node: '>= 16'} - chownr@2.0.0: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} @@ -3898,10 +3890,6 @@ packages: babel-plugin-macros: optional: true - deep-eql@5.0.2: - resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} - engines: {node: '>=6'} - deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -4102,8 +4090,8 @@ packages: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} - es-module-lexer@1.7.0: - resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} + es-module-lexer@2.3.2: + resolution: {integrity: sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==} es-object-atoms@1.1.2: resolution: {integrity: sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==} @@ -4980,9 +4968,6 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - js-tokens@9.0.1: - resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} - js-yaml@3.15.2: resolution: {integrity: sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==} hasBin: true @@ -5170,9 +5155,6 @@ packages: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} - loupe@3.2.1: - resolution: {integrity: sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ==} - lowercase-keys@2.0.0: resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==} engines: {node: '>=8'} @@ -5563,6 +5545,10 @@ packages: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} + obug@2.2.1: + resolution: {integrity: sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==} + engines: {node: '>=12.20.0'} + on-finished@2.4.1: resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} engines: {node: '>= 0.8'} @@ -5807,10 +5793,6 @@ packages: pathe@2.0.3: resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} - pathval@2.0.1: - resolution: {integrity: sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==} - engines: {node: '>= 14.16'} - pe-library@0.4.1: resolution: {integrity: sha512-eRWB5LBz7PpDu4PUlwT0PhnQfTQJlDDdPa35urV4Osrm0t0AqQFGn+UIkU3klZvwJ8KPO3VbBFsXquA6p6kqZw==} engines: {node: '>=12', npm: '>=6'} @@ -6319,8 +6301,8 @@ packages: resolution: {integrity: sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==} engines: {node: '>= 0.8'} - std-env@3.10.0: - resolution: {integrity: sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg==} + std-env@4.3.0: + resolution: {integrity: sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag==} strict-event-emitter@0.5.1: resolution: {integrity: sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==} @@ -6371,9 +6353,6 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - strip-literal@3.1.0: - resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==} - strnum@2.5.1: resolution: {integrity: sha512-UM4nTLWzQiDBseVxUGxN0wJzIk0UU89Qi7pKXz9qISo+lhviJikTuikBsK/oFRlpvYHvSdz0TVoLyQ+sEpYwxA==} @@ -6422,23 +6401,16 @@ packages: tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} - tinyexec@0.3.2: - resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + tinyexec@1.3.1: + resolution: {integrity: sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==} + engines: {node: '>=18'} tinyglobby@0.2.17: resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} engines: {node: '>=12.0.0'} - tinypool@1.1.1: - resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==} - engines: {node: ^18.0.0 || >=20.0.0} - - tinyrainbow@2.0.0: - resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==} - engines: {node: '>=14.0.0'} - - tinyspy@4.0.4: - resolution: {integrity: sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==} + tinyrainbow@3.2.0: + resolution: {integrity: sha512-LgO3D9yZJjApUiuUfl9iFAwrtaX4+lok3wJIqttGoKCHlWUqHqbQpnxCf82L8FjgKsh4iGo78hqJwgL8F6To2A==} engines: {node: '>=14.0.0'} tmp-promise@3.0.3: @@ -6688,51 +6660,6 @@ packages: resolution: {integrity: sha512-veufcmxri4e3XSrT0xwfUR7kguIkaxBeosDg00yDWhk49wdwkSUrvvsm7nc75e1PUyvIeZj6nS8VQRYz2/S4Xg==} engines: {node: '>=0.6.0'} - vite-node@3.2.4: - resolution: {integrity: sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} - hasBin: true - - vite@6.4.3: - resolution: {integrity: sha512-NTKlcQjlAK7MlQoyb6LgaqHc8sso/pVyUJYWMws3jg21uTJw/LddqIFPcPqP6PzpgbIcZyKI85sFE4HBrQDA8A==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - jiti: '>=1.21.0' - less: '*' - lightningcss: ^1.21.0 - sass: '*' - sass-embedded: '*' - stylus: '*' - sugarss: '*' - terser: ^5.16.0 - tsx: ^4.8.1 - yaml: ^2.4.2 - peerDependenciesMeta: - '@types/node': - optional: true - jiti: - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - tsx: - optional: true - yaml: - optional: true - vite@6.4.6: resolution: {integrity: sha512-RtsraAwEG68idOA6iUOoIpOlcSKROnf815aIq9qHTSrDNpLoBrBa12suyfcEd8qn0xwOVQI1Yhm1GbmTjF600A==} engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} @@ -6773,26 +6700,39 @@ packages: yaml: optional: true - vitest@3.2.6: - resolution: {integrity: sha512-xejya+bT/j/+R/AGa1XOfRxLmNUlLtlwjRsFUILF+xHfzElmGcmFydy2gqqIrd62ptIEfwVMofd19uNWD9L7Nw==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + vitest@4.1.12: + resolution: {integrity: sha512-5eWdz2yb3ajxWF3C8C4TjkXl7FGm3n2E/VlazALrQHzK7nYMSGFnCZto0bbPNl77AwkOZVLk0YnBAejUu0NiWA==} + engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' - '@types/debug': ^4.1.12 - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - '@vitest/browser': 3.2.6 - '@vitest/ui': 3.2.6 + '@opentelemetry/api': ^1.9.0 + '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0 + '@vitest/browser-playwright': 4.1.12 + '@vitest/browser-preview': 4.1.12 + '@vitest/browser-webdriverio': ^4.1.11 + '@vitest/coverage-istanbul': 4.1.12 + '@vitest/coverage-v8': 4.1.12 + '@vitest/ui': 4.1.12 happy-dom: '*' jsdom: '*' + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: '@edge-runtime/vm': optional: true - '@types/debug': + '@opentelemetry/api': optional: true '@types/node': optional: true - '@vitest/browser': + '@vitest/browser-playwright': + optional: true + '@vitest/browser-preview': + optional: true + '@vitest/browser-webdriverio': + optional: true + '@vitest/coverage-istanbul': + optional: true + '@vitest/coverage-v8': optional: true '@vitest/ui': optional: true @@ -9279,14 +9219,14 @@ snapshots: '@stryker-mutator/util@9.6.1': {} - '@stryker-mutator/vitest-runner@9.6.1(@stryker-mutator/core@9.6.1(@types/node@20.19.43))(vitest@3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1))': + '@stryker-mutator/vitest-runner@9.6.1(@stryker-mutator/core@9.6.1(@types/node@20.19.43))(vitest@4.1.12(@types/node@20.19.43)(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)))': dependencies: '@stryker-mutator/api': 9.6.1 '@stryker-mutator/core': 9.6.1(@types/node@20.19.43) '@stryker-mutator/util': 9.6.1 semver: 7.8.4 tslib: 2.8.1 - vitest: 3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + vitest: 4.1.12(@types/node@20.19.43)(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) '@szmarczak/http-timer@4.0.6': dependencies: @@ -9564,47 +9504,46 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/expect@3.2.6': + '@vitest/expect@4.1.12': dependencies: + '@standard-schema/spec': 1.1.0 '@types/chai': 5.2.3 - '@vitest/spy': 3.2.6 - '@vitest/utils': 3.2.6 - chai: 5.3.3 - tinyrainbow: 2.0.0 + '@vitest/spy': 4.1.12 + '@vitest/utils': 4.1.12 + chai: 6.3.0 + tinyrainbow: 3.2.0 - '@vitest/mocker@3.2.6(vite@6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1))': + '@vitest/mocker@4.1.12(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1))': dependencies: - '@vitest/spy': 3.2.6 + '@vitest/spy': 4.1.12 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + vite: 6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) - '@vitest/pretty-format@3.2.6': + '@vitest/pretty-format@4.1.12': dependencies: - tinyrainbow: 2.0.0 + tinyrainbow: 3.2.0 - '@vitest/runner@3.2.6': + '@vitest/runner@4.1.12': dependencies: - '@vitest/utils': 3.2.6 + '@vitest/utils': 4.1.12 pathe: 2.0.3 - strip-literal: 3.1.0 - '@vitest/snapshot@3.2.6': + '@vitest/snapshot@4.1.12': dependencies: - '@vitest/pretty-format': 3.2.6 + '@vitest/pretty-format': 4.1.12 + '@vitest/utils': 4.1.12 magic-string: 0.30.21 pathe: 2.0.3 - '@vitest/spy@3.2.6': - dependencies: - tinyspy: 4.0.4 + '@vitest/spy@4.1.12': {} - '@vitest/utils@3.2.6': + '@vitest/utils@4.1.12': dependencies: - '@vitest/pretty-format': 3.2.6 - loupe: 3.2.1 - tinyrainbow: 2.0.0 + '@vitest/pretty-format': 4.1.12 + convert-source-map: 2.0.0 + tinyrainbow: 3.2.0 '@xmldom/xmldom@0.9.10': {} @@ -10046,8 +9985,6 @@ snapshots: bytes@3.1.2: {} - cac@6.7.14: {} - cacache@16.1.3: dependencies: '@npmcli/fs': 2.1.2 @@ -10101,13 +10038,7 @@ snapshots: caniuse-lite@1.0.30001823: {} - chai@5.3.3: - dependencies: - assertion-error: 2.0.1 - check-error: 2.1.3 - deep-eql: 5.0.2 - loupe: 3.2.1 - pathval: 2.0.1 + chai@6.3.0: {} chalk@4.1.2: dependencies: @@ -10120,8 +10051,6 @@ snapshots: chardet@2.1.1: {} - check-error@2.1.3: {} - chownr@2.0.0: {} chromium-pickle-js@0.2.0: {} @@ -10277,8 +10206,6 @@ snapshots: dedent@1.7.2: {} - deep-eql@5.0.2: {} - deep-is@0.1.4: {} deepmerge@4.3.1: {} @@ -10522,7 +10449,7 @@ snapshots: es-errors@1.3.0: {} - es-module-lexer@1.7.0: {} + es-module-lexer@2.3.2: {} es-object-atoms@1.1.2: dependencies: @@ -11768,8 +11695,6 @@ snapshots: js-tokens@4.0.0: {} - js-tokens@9.0.1: {} - js-yaml@3.15.2: dependencies: argparse: 1.0.10 @@ -11923,8 +11848,6 @@ snapshots: chalk: 4.1.2 is-unicode-supported: 0.1.0 - loupe@3.2.1: {} - lowercase-keys@2.0.0: {} lru-cache@10.4.3: {} @@ -12204,6 +12127,8 @@ snapshots: object-keys@1.1.1: optional: true + obug@2.2.1: {} + on-finished@2.4.1: dependencies: ee-first: 1.1.1 @@ -12413,8 +12338,6 @@ snapshots: pathe@2.0.3: {} - pathval@2.0.1: {} - pe-library@0.4.1: {} pend@1.2.0: {} @@ -13002,7 +12925,7 @@ snapshots: statuses@2.0.2: {} - std-env@3.10.0: {} + std-env@4.3.0: {} strict-event-emitter@0.5.1: {} @@ -13049,10 +12972,6 @@ snapshots: strip-json-comments@3.1.1: {} - strip-literal@3.1.0: - dependencies: - js-tokens: 9.0.1 - strnum@2.5.1: dependencies: anynum: 1.0.1 @@ -13109,18 +13028,14 @@ snapshots: tinybench@2.9.0: {} - tinyexec@0.3.2: {} + tinyexec@1.3.1: {} tinyglobby@0.2.17: dependencies: fdir: 6.5.0(picomatch@4.0.4) picomatch: 4.0.4 - tinypool@1.1.1: {} - - tinyrainbow@2.0.0: {} - - tinyspy@4.0.4: {} + tinyrainbow@3.2.0: {} tmp-promise@3.0.3: dependencies: @@ -13313,41 +13228,6 @@ snapshots: extsprintf: 1.4.1 optional: true - vite-node@3.2.4(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1): - dependencies: - cac: 6.7.14 - debug: 4.4.3 - es-module-lexer: 1.7.0 - pathe: 2.0.3 - vite: 6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) - transitivePeerDependencies: - - '@types/node' - - jiti - - less - - lightningcss - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - tsx - - yaml - - vite@6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1): - dependencies: - esbuild: 0.25.12 - fdir: 6.5.0(picomatch@4.0.4) - picomatch: 4.0.4 - postcss: 8.5.32 - rollup: 4.62.0 - tinyglobby: 0.2.17 - optionalDependencies: - '@types/node': 20.19.43 - fsevents: 2.3.3 - tsx: 4.23.0 - yaml: 2.9.1 - vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1): dependencies: esbuild: 0.25.12 @@ -13362,47 +13242,32 @@ snapshots: tsx: 4.23.0 yaml: 2.9.1 - vitest@3.2.6(@types/debug@4.1.13)(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1): + vitest@4.1.12(@types/node@20.19.43)(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)): dependencies: - '@types/chai': 5.2.3 - '@vitest/expect': 3.2.6 - '@vitest/mocker': 3.2.6(vite@6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) - '@vitest/pretty-format': 3.2.6 - '@vitest/runner': 3.2.6 - '@vitest/snapshot': 3.2.6 - '@vitest/spy': 3.2.6 - '@vitest/utils': 3.2.6 - chai: 5.3.3 - debug: 4.4.3 + '@vitest/expect': 4.1.12 + '@vitest/mocker': 4.1.12(vite@6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1)) + '@vitest/pretty-format': 4.1.12 + '@vitest/runner': 4.1.12 + '@vitest/snapshot': 4.1.12 + '@vitest/spy': 4.1.12 + '@vitest/utils': 4.1.12 + es-module-lexer: 2.3.2 expect-type: 1.3.0 magic-string: 0.30.21 + obug: 2.2.1 pathe: 2.0.3 picomatch: 4.0.4 - std-env: 3.10.0 + std-env: 4.3.0 tinybench: 2.9.0 - tinyexec: 0.3.2 + tinyexec: 1.3.1 tinyglobby: 0.2.17 - tinypool: 1.1.1 - tinyrainbow: 2.0.0 - vite: 6.4.3(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) - vite-node: 3.2.4(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) + tinyrainbow: 3.2.0 + vite: 6.4.6(@types/node@20.19.43)(tsx@4.23.0)(yaml@2.9.1) why-is-node-running: 2.3.0 optionalDependencies: - '@types/debug': 4.1.13 '@types/node': 20.19.43 transitivePeerDependencies: - - jiti - - less - - lightningcss - msw - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - tsx - - yaml walker@1.0.8: dependencies: From ed3bcfbac1a33a89967900f87b63a259a3fb06c1 Mon Sep 17 00:00:00 2001 From: Antoine Berger <64917674+antoine-berger@users.noreply.github.com> Date: Tue, 10 Nov 2026 21:06:19 +0000 Subject: [PATCH 8/9] chore: add a changeset for the MCP SDK floor and the uuid removal [SAP-4715] @sapiom/mcp and @sapiom/harness raise their @modelcontextprotocol/sdk range and @sapiom/agent-map and @sapiom/harness drop uuid, so all three get a patch release. Co-Authored-By: Claude Opus 5.5 --- .changeset/mcp-sdk-floor-and-unused-uuid.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .changeset/mcp-sdk-floor-and-unused-uuid.md diff --git a/.changeset/mcp-sdk-floor-and-unused-uuid.md b/.changeset/mcp-sdk-floor-and-unused-uuid.md new file mode 100644 index 000000000..fa758b56b --- /dev/null +++ b/.changeset/mcp-sdk-floor-and-unused-uuid.md @@ -0,0 +1,10 @@ +--- +"@sapiom/mcp": patch +"@sapiom/harness": patch +"@sapiom/agent-map": patch +--- + +`@sapiom/mcp` and `@sapiom/harness` now require `@modelcontextprotocol/sdk` +1.32.0 or later within 1.x, the first release that fixes the SDK's published +security advisories. `@sapiom/agent-map` and `@sapiom/harness` no longer depend +on the unused `uuid` package. From 30eb44ebd15369ce16db13c6453feddfe63b76dc Mon Sep 17 00:00:00 2001 From: Antoine Berger <64917674+antoine-berger@users.noreply.github.com> Date: Tue, 10 Nov 2026 23:18:07 +0000 Subject: [PATCH 9/9] test(axios): check the suite against one set of axios declarations [SAP-4715] The @sapiom/axios suite stopped compiling when the lockfile moved axios from 1.18.0 to 1.21.1. `new MockAdapter(axiosInstance)` fails with TS2345 in both test files, so Jest runs no tests. A cached transform hid the failure on the first local run. axios ships two declaration files, index.d.ts for ESM and index.d.cts for CommonJS. ts-jest resolves "axios" to index.d.ts for this package's files and to index.d.cts for axios-mock-adapter. Up to 1.18.0 the two AxiosInstance types matched structurally. axios 1.19.0 made the request methods return AxiosResponseResult, a conditional type on a unique symbol that each file declares for itself, so an AxiosInstance from one file is no longer assignable to an AxiosInstance from the other. Every patched release (1.20.0, 1.21.0, 1.21.1) fails the same way, and axios-mock-adapter 2.1.0 is the newest adapter, so no version choice fixes it. Map "axios" to index.d.cts in the ts-jest options. Those declarations describe the CommonJS build that Jest loads, and the test files, the package source and the adapter are then checked against the same file. No test file, source file or dependency changes. Co-Authored-By: Claude Fable 5.2 --- packages/axios/jest.config.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/axios/jest.config.js b/packages/axios/jest.config.js index e33c0caad..2d05425a3 100644 --- a/packages/axios/jest.config.js +++ b/packages/axios/jest.config.js @@ -3,7 +3,15 @@ module.exports = { roots: ['/src'], testMatch: ['**/__tests__/**/*.ts', '**/?(*.)+(spec|test).ts'], transform: { - '^.+\\.tsx?$': ['ts-jest', {}], + // Type-check the tests against axios's CommonJS declarations, which + // describe the build Jest loads. Without the mapping, ts-jest resolves + // "axios" to index.d.ts for this package's files and to index.d.cts for + // axios-mock-adapter, and since axios 1.19 an AxiosInstance from one file + // is not assignable to an AxiosInstance from the other. + '^.+\\.tsx?$': [ + 'ts-jest', + { tsconfig: { paths: { axios: ['./node_modules/axios/index.d.cts'] } } }, + ], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'], moduleNameMapper: {