From 8a7021108ffb9395e6fba3f7a838c16190141e22 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 8 Oct 2024 13:55:19 -0700 Subject: [PATCH] memory cache (#760) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix cache handling and dependencies, update models and packages 🔧📦 * Enhance caching logic and update cache value handling 🚀🔧 * Improve caching logic and enhance error analysis instructions 🚀🔍 --- THIRD_PARTY_LICENSES.md | 44 +-- docs/genaisrc/genaiscript.d.ts | 10 +- .../content/docs/reference/scripts/system.mdx | 2 +- docs/yarn.lock | 203 +++++++------- eval/extrism/genaisrc/genaiscript.d.ts | 10 +- genaisrc/genaiscript.d.ts | 10 +- packages/auto/genaiscript.d.ts | 10 +- packages/core/src/cache.ts | 130 ++++++--- packages/core/src/filesystem.ts | 8 +- packages/core/src/genaisrc/genaiscript.d.ts | 10 +- packages/core/src/openai.ts | 6 +- packages/core/src/promptcontext.ts | 7 + packages/core/src/types/prompt_template.d.ts | 10 +- .../sample/genaisrc/blog/genaiscript.d.ts | 10 +- packages/sample/genaisrc/cache.genai.mts | 40 +-- packages/sample/genaisrc/genaiscript.d.ts | 10 +- .../sample/genaisrc/github-agent.genai.mts | 2 + .../sample/genaisrc/node/genaiscript.d.ts | 10 +- .../sample/genaisrc/python/genaiscript.d.ts | 10 +- .../sample/genaisrc/style/genaiscript.d.ts | 10 +- packages/sample/src/aici/genaiscript.d.ts | 10 +- packages/sample/src/errors/genaiscript.d.ts | 10 +- packages/sample/src/genaiscript.d.ts | 10 +- packages/sample/src/makecode/genaiscript.d.ts | 10 +- packages/sample/src/tla/genaiscript.d.ts | 10 +- packages/sample/src/vision/genaiscript.d.ts | 10 +- packages/vscode/genaisrc/genaiscript.d.ts | 10 +- slides/genaisrc/genaiscript.d.ts | 10 +- slides/yarn.lock | 252 +++++++++--------- yarn.lock | 156 +++++------ 30 files changed, 615 insertions(+), 425 deletions(-) diff --git a/THIRD_PARTY_LICENSES.md b/THIRD_PARTY_LICENSES.md index af1b09327d..60e6ba1d1c 100644 --- a/THIRD_PARTY_LICENSES.md +++ b/THIRD_PARTY_LICENSES.md @@ -1247,7 +1247,7 @@ The following npm packages may be included in this product: - @types/http-cache-semantics@4.0.4 - @types/mute-stream@0.0.4 - @types/node@16.9.1 - - @types/node@22.7.4 + - @types/node@22.7.5 - @types/turndown@5.0.5 - @types/yauzl@2.10.3 @@ -1309,7 +1309,7 @@ MIT License The following npm package may be included in this product: - - genaiscript-vscode@1.60.2 + - genaiscript-vscode@1.61.2 This package contains the following license and notice below: @@ -3045,7 +3045,7 @@ The following npm packages may be included in this product: - @inquirer/core@9.2.1 - @inquirer/editor@3.0.1 - @inquirer/expand@3.0.1 - - @inquirer/figures@1.0.6 + - @inquirer/figures@1.0.7 - @inquirer/input@3.0.1 - @inquirer/number@2.0.1 - @inquirer/password@3.0.1 @@ -3578,16 +3578,6 @@ IN THE SOFTWARE. ----------- -The following npm package may be included in this product: - - - buildcheck@0.0.6 - -This package contains the following license and notice below: - -http://github.com/mscdex/buildcheck/raw/master/LICENSE - ------------ - The following npm package may be included in this product: - ssh2@1.16.0 @@ -3598,16 +3588,6 @@ http://github.com/mscdex/ssh2/raw/master/LICENSE ----------- -The following npm package may be included in this product: - - - cpu-features@0.0.10 - -This package contains the following license and notice below: - -https://github.com/mscdex/cpu-features/raw/master/LICENSE - ------------ - The following npm packages may be included in this product: - boolbase@1.0.0 @@ -4431,9 +4411,9 @@ The following npm packages may be included in this product: - @tokenizer/token@0.3.0 - agent-base@6.0.2 - canvas@2.11.2 - - genaiscript-core-internal@1.60.2 - - genaiscript-sample@1.60.2 - - genaiscript@1.60.2 + - genaiscript-core-internal@1.61.2 + - genaiscript-sample@1.61.2 + - genaiscript@1.61.2 - https-proxy-agent@5.0.1 - isarray@1.0.0 - javascript-natural-sort@0.7.1 @@ -5114,7 +5094,7 @@ SOFTWARE. The following npm package may be included in this product: - - gpt-tokenizer@2.4.0 + - gpt-tokenizer@2.4.1 This package contains the following license and notice below: @@ -5145,7 +5125,7 @@ SOFTWARE. The following npm package may be included in this product: - - @lvce-editor/ripgrep@1.2.0 + - @lvce-editor/ripgrep@1.3.0 This package contains the following license and notice below: @@ -5205,7 +5185,7 @@ SOFTWARE. The following npm package may be included in this product: - - complex.js@2.2.0 + - complex.js@2.2.4 This package contains the following license and notice below: @@ -5363,7 +5343,7 @@ SOFTWARE. The following npm packages may be included in this product: - - @azure/msal-browser@3.25.0 + - @azure/msal-browser@3.26.0 - @azure/msal-common@14.15.0 These packages each contain the following license and notice below: @@ -5854,8 +5834,8 @@ IN THE SOFTWARE. The following npm packages may be included in this product: - - playwright-core@1.47.2 - - playwright@1.47.2 + - playwright-core@1.48.0 + - playwright@1.48.0 These packages each contain the following license and notice below: diff --git a/docs/genaisrc/genaiscript.d.ts b/docs/genaisrc/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/docs/genaisrc/genaiscript.d.ts +++ b/docs/genaisrc/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/docs/src/content/docs/reference/scripts/system.mdx b/docs/src/content/docs/reference/scripts/system.mdx index 4437ef699a..ac3c7aa0e8 100644 --- a/docs/src/content/docs/reference/scripts/system.mdx +++ b/docs/src/content/docs/reference/scripts/system.mdx @@ -137,7 +137,7 @@ defAgent( system: ["system.explanations", "system.github_info"], tools: [ "md_find_files", - "md_read_frontmatterm", + "md_read_frontmatter", "fs_find_files", "fs_read_file", ], diff --git a/docs/yarn.lock b/docs/yarn.lock index 9c82400be8..1659341e2e 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -123,9 +123,9 @@ zod "^3.23.8" "@astrojs/starlight@^0.28.2": - version "0.28.2" - resolved "https://registry.yarnpkg.com/@astrojs/starlight/-/starlight-0.28.2.tgz#108f847ed533be6024a83389b0e94f6b236fe6f0" - integrity sha512-Q1/Ujl2EzWX71qwqdt/0KP3wOyX6Rvyzcep/zD3hRCtw/Vi2TReh4Q2wLwz7mnbuYU9H7YvBKYknbkmjC+K/0w== + version "0.28.3" + resolved "https://registry.yarnpkg.com/@astrojs/starlight/-/starlight-0.28.3.tgz#b338c14dcf4ac54de9fa5c5a95065660525cdf1d" + integrity sha512-GXXIPKSu5d50mLVtgI4jf6pb3FPQm8n4MI6ZXuQQqqnA0xg7PJQ76WFSVyrICeqM5fKABSqcBksp/glyEJes/A== dependencies: "@astrojs/mdx" "^3.1.3" "@astrojs/sitemap" "^3.1.6" @@ -183,7 +183,7 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.25.7.tgz#b8479fe0018ef0ac87b6b7a5c6916fcd67ae2c9c" integrity sha512-9ickoLz+hcXCeh7jrcin+/SLWm+GkxE2kTvoYyp38p4WkdFXfQJxDFGWp/YHjiKLPx06z2A7W8XKuqbReXDzsw== -"@babel/core@^7.25.2": +"@babel/core@^7.25.7": version "7.25.7" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.25.7.tgz#1b3d144157575daf132a3bc80b2b18e6e3ca6ece" integrity sha512-yJ474Zv3cwiSOO9nXJuqzvwEeM+chDuQ8GJirw+pZ91sCGCyOZ3dJkVE09fTV0VEVzXyLWhh3G/AolYTPX7Mow== @@ -310,7 +310,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.25.7" -"@babel/plugin-transform-react-jsx@^7.25.2": +"@babel/plugin-transform-react-jsx@^7.25.7": version "7.25.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.25.7.tgz#f5e2af6020a562fe048dd343e571c4428e6c5632" integrity sha512-vILAg5nwGlR9EXE8JIOX4NHXd49lrYbN8hnjffDtoULwpL9hUx/N55nqh2qd0q6FyNDfjl9V79ecKGvFbcSA0Q== @@ -350,7 +350,7 @@ debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.25.4", "@babel/types@^7.25.6", "@babel/types@^7.25.7": +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.25.4", "@babel/types@^7.25.7": version "7.25.7" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.25.7.tgz#1b7725c1d3a59f328cb700ce704c46371e6eef9b" integrity sha512-vwIVdXG+j+FOpkwqHRcBgHLYNL7XMkufrlaFvL9o6Ai9sJn9+PdyIL5qa0XzTZw084c+u9LOls53eoZWP/W5WQ== @@ -896,47 +896,47 @@ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz#0574d7e87b44ee8511d08cc7f914bcb802b70818" integrity sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw== -"@shikijs/core@1.21.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/core/-/core-1.21.0.tgz#1557480430163b5d2e7e3fe42514f9656d7f0daf" - integrity sha512-zAPMJdiGuqXpZQ+pWNezQAk5xhzRXBNiECFPcJLtUdsFM3f//G95Z15EHTnHchYycU8kIIysqGgxp8OVSj1SPQ== +"@shikijs/core@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/core/-/core-1.22.0.tgz#74e5d4485e5f7afa85109e322b42e400686f92bb" + integrity sha512-S8sMe4q71TJAW+qG93s5VaiihujRK6rqDFqBnxqvga/3LvqHEnxqBIOPkt//IdXVtHkQWKu4nOQNk0uBGicU7Q== dependencies: - "@shikijs/engine-javascript" "1.21.0" - "@shikijs/engine-oniguruma" "1.21.0" - "@shikijs/types" "1.21.0" - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/engine-javascript" "1.22.0" + "@shikijs/engine-oniguruma" "1.22.0" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" "@types/hast" "^3.0.4" hast-util-to-html "^9.0.3" -"@shikijs/engine-javascript@1.21.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/engine-javascript/-/engine-javascript-1.21.0.tgz#86776dd5df02d7381c23041cb314f25c831c83bf" - integrity sha512-jxQHNtVP17edFW4/0vICqAVLDAxmyV31MQJL4U/Kg+heQALeKYVOWo0sMmEZ18FqBt+9UCdyqGKYE7bLRtk9mg== +"@shikijs/engine-javascript@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/engine-javascript/-/engine-javascript-1.22.0.tgz#2e5db29f0421755492f5279f8224ef7a7f907a29" + integrity sha512-AeEtF4Gcck2dwBqCFUKYfsCq0s+eEbCEbkUuFou53NZ0sTGnJnJ/05KHQFZxpii5HMXbocV9URYVowOP2wH5kw== dependencies: - "@shikijs/types" "1.21.0" - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" oniguruma-to-js "0.4.3" -"@shikijs/engine-oniguruma@1.21.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-1.21.0.tgz#aaceece7d2e9572d41c0fb1082ee9b2895245080" - integrity sha512-AIZ76XocENCrtYzVU7S4GY/HL+tgHGbVU+qhiDyNw1qgCA5OSi4B4+HY4BtAoJSMGuD/L5hfTzoRVbzEm2WTvg== +"@shikijs/engine-oniguruma@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-1.22.0.tgz#74c661fac4cd1f08f2c09b5d6e2fd2a6720d0401" + integrity sha512-5iBVjhu/DYs1HB0BKsRRFipRrD7rqjxlWTj4F2Pf+nQSPqc3kcyqFFeZXnBMzDf0HdqaFVvhDRAGiYNvyLP+Mw== dependencies: - "@shikijs/types" "1.21.0" - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" -"@shikijs/types@1.21.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/types/-/types-1.21.0.tgz#3e097012221b9ca1f8fbdf47e6aefe66ccb4398a" - integrity sha512-tzndANDhi5DUndBtpojEq/42+dpUF2wS7wdCDQaFtIXm3Rd1QkrcVgSSRLOvEwexekihOXfbYJINW37g96tJRw== +"@shikijs/types@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/types/-/types-1.22.0.tgz#d2a572381395c9308b472c8199b8e0289753b9ad" + integrity sha512-Fw/Nr7FGFhlQqHfxzZY8Cwtwk5E9nKDUgeLjZgt3UuhcM3yJR9xj3ZGNravZZok8XmEZMiYkSMTPlPkULB8nww== dependencies: - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/vscode-textmate" "^9.3.0" "@types/hast" "^3.0.4" -"@shikijs/vscode-textmate@^9.2.2": - version "9.2.2" - resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-9.2.2.tgz#24571f50625c7cd075f9efe0def8b9d2c0930ada" - integrity sha512-TMp15K+GGYrWlZM8+Lnj9EaHEFmOen0WJBrfa17hF7taDOYthuPPV0GWzfd/9iMij0akS/8Yw2ikquH7uVi/fg== +"@shikijs/vscode-textmate@^9.3.0": + version "9.3.0" + resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-9.3.0.tgz#b2f1776e488c1d6c2b6cd129bab62f71bbc9c7ab" + integrity sha512-jn7/7ky30idSkd/O5yDBfAnVt+JJpepofP/POZ1iMOxK59cOfqIgg/Dj0eFsjOTMw+4ycJN0uhZH/Eb0bs/EUA== "@types/acorn@^4.0.0": version "4.0.6" @@ -1073,9 +1073,9 @@ "@types/unist" "*" "@types/node@*", "@types/node@>=20": - version "22.7.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.4.tgz#e35d6f48dca3255ce44256ddc05dee1c23353fcc" - integrity sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg== + version "22.7.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.5.tgz#cfde981727a7ab3611a481510b473ae54442b92b" + integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ== dependencies: undici-types "~6.19.2" @@ -1107,31 +1107,31 @@ integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== "@volar/kit@~2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@volar/kit/-/kit-2.4.5.tgz#3944d8f67d1d5ee5ade28bc4624d3ce76c7b43c0" - integrity sha512-ZzyErW5UiDfiIuJ/lpqc2Kx5PHDGDZ/bPlPJYpRcxlrn8Z8aDhRlsLHkNKcNiH65TmNahk2kbLaiejiqu6BD3A== + version "2.4.6" + resolved "https://registry.yarnpkg.com/@volar/kit/-/kit-2.4.6.tgz#c55b440fadf4c233d8d054328176a3fd7e9cd395" + integrity sha512-OaMtpmLns6IYD1nOSd0NdG/F5KzJ7Jr4B7TLeb4byPzu+ExuuRVeO56Dn1C7Frnw6bGudUQd90cpQAmxdB+RlQ== dependencies: - "@volar/language-service" "2.4.5" - "@volar/typescript" "2.4.5" + "@volar/language-service" "2.4.6" + "@volar/typescript" "2.4.6" typesafe-path "^0.2.2" vscode-languageserver-textdocument "^1.0.11" vscode-uri "^3.0.8" -"@volar/language-core@2.4.5", "@volar/language-core@~2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.5.tgz#af8ba724b05fc4dce2339c49662e732e9c22c897" - integrity sha512-F4tA0DCO5Q1F5mScHmca0umsi2ufKULAnMOVBfMsZdT4myhVl4WdKRwCaKcfOkIEuyrAVvtq1ESBdZ+rSyLVww== +"@volar/language-core@2.4.6", "@volar/language-core@~2.4.5": + version "2.4.6" + resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.6.tgz#159625a6e1263fe68d1afad524ae2bd40c4ee0dd" + integrity sha512-FxUfxaB8sCqvY46YjyAAV6c3mMIq/NWQMVvJ+uS4yxr1KzOvyg61gAuOnNvgCvO4TZ7HcLExBEsWcDu4+K4E8A== dependencies: - "@volar/source-map" "2.4.5" + "@volar/source-map" "2.4.6" "@volar/language-server@~2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@volar/language-server/-/language-server-2.4.5.tgz#87116cfef3e2d58b0e43ccbb3114e1f395e9ee81" - integrity sha512-l5PswE0JzCtstTlwBUpikeSa3lNUBJhTuWtj9KclZTGi2Uex4RcqGOhTiDsUUtvdv/hEuYCxGq1EdJJPlQsD/g== + version "2.4.6" + resolved "https://registry.yarnpkg.com/@volar/language-server/-/language-server-2.4.6.tgz#1233ecaf11d2b8b26c082fc694b1499c491bf6e0" + integrity sha512-ARIbMXapEUPj9UFbZqWqw/iZ+ZuxUcY+vY212+2uutZVo/jrdzhLPu2TfZd9oB9akX8XXuslinT3051DyHLLRA== dependencies: - "@volar/language-core" "2.4.5" - "@volar/language-service" "2.4.5" - "@volar/typescript" "2.4.5" + "@volar/language-core" "2.4.6" + "@volar/language-service" "2.4.6" + "@volar/typescript" "2.4.6" path-browserify "^1.0.1" request-light "^0.7.0" vscode-languageserver "^9.0.1" @@ -1139,27 +1139,27 @@ vscode-languageserver-textdocument "^1.0.11" vscode-uri "^3.0.8" -"@volar/language-service@2.4.5", "@volar/language-service@~2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@volar/language-service/-/language-service-2.4.5.tgz#298ee42535a48075eac35a90a6a0258e457ba3a0" - integrity sha512-xiFlL0aViGg6JhwAXyohPrdlID13uom8WQg6DWYaV8ob8RRy+zoLlBUI8SpQctwlWEO9poyrYK01revijAwkcw== +"@volar/language-service@2.4.6", "@volar/language-service@~2.4.5": + version "2.4.6" + resolved "https://registry.yarnpkg.com/@volar/language-service/-/language-service-2.4.6.tgz#ca10c60d7e9e9f9ca68d6386cbc74031cc1e7f03" + integrity sha512-wNeEVBgBKgpP1MfMYPrgTf1K8nhOGEh3ac0+9n6ECyk2N03+j0pWCpQ2i99mRWT/POvo1PgizDmYFH8S67bZOA== dependencies: - "@volar/language-core" "2.4.5" + "@volar/language-core" "2.4.6" vscode-languageserver-protocol "^3.17.5" vscode-languageserver-textdocument "^1.0.11" vscode-uri "^3.0.8" -"@volar/source-map@2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-2.4.5.tgz#81223a06321aaa067b40619189b44a9f0b7ac2d8" - integrity sha512-varwD7RaKE2J/Z+Zu6j3mNNJbNT394qIxXwdvz/4ao/vxOfyClZpSDtLKkwWmecinkOVos5+PWkWraelfMLfpw== +"@volar/source-map@2.4.6": + version "2.4.6" + resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-2.4.6.tgz#b71ad241216f646812639f359262e6a84b46b6ed" + integrity sha512-Nsh7UW2ruK+uURIPzjJgF0YRGP5CX9nQHypA2OMqdM2FKy7rh+uv3XgPnWPw30JADbKvZ5HuBzG4gSbVDYVtiw== -"@volar/typescript@2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-2.4.5.tgz#1210c1e8561ac20af46348ceaf8e6e96c797063f" - integrity sha512-mcT1mHvLljAEtHviVcBuOyAwwMKz1ibXTi5uYtP/pf4XxoAzpdkQ+Br2IC0NPCvLCbjPZmbf3I0udndkfB1CDg== +"@volar/typescript@2.4.6": + version "2.4.6" + resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-2.4.6.tgz#6a4611b9fae793ad0d4c66d11d765f2731d93a12" + integrity sha512-NMIrA7y5OOqddL9VtngPWYmdQU03htNKFtAYidbYfWA0TOhyGVd9tfcP4TsLWQ+RBWDZCbBqsr8xzU0ZOxYTCQ== dependencies: - "@volar/language-core" "2.4.5" + "@volar/language-core" "2.4.6" path-browserify "^1.0.1" vscode-uri "^3.0.8" @@ -1286,17 +1286,17 @@ astro-remote@0.3.2: ultrahtml "^1.5.3" astro@^4.15.10: - version "4.15.11" - resolved "https://registry.yarnpkg.com/astro/-/astro-4.15.11.tgz#4c33b81fd306bd1c1abb5c718b36520942cb1b16" - integrity sha512-uA9fenaRR+j6ksPFsmhM88ttz94a66SET1TZxAJLxctxWkDlgz58BxZYUc1gNlt0azhgzOgh4hP3q9M4YzAmBA== + version "4.15.12" + resolved "https://registry.yarnpkg.com/astro/-/astro-4.15.12.tgz#2757efd36b913294368c8e05e45db2fe8e0d6537" + integrity sha512-PojmALAzwafLUD//hqKD4/+1Fj03Aa2VQY/rztCg6DUMgHLpo3TFV3ob1++kay91z/MdNWR+IGITcXhxAXhiTg== dependencies: "@astrojs/compiler" "^2.10.3" "@astrojs/internal-helpers" "0.4.1" "@astrojs/markdown-remark" "5.2.0" "@astrojs/telemetry" "3.1.0" - "@babel/core" "^7.25.2" - "@babel/plugin-transform-react-jsx" "^7.25.2" - "@babel/types" "^7.25.6" + "@babel/core" "^7.25.7" + "@babel/plugin-transform-react-jsx" "^7.25.7" + "@babel/types" "^7.25.7" "@oslojs/encoding" "^1.1.0" "@rollup/pluginutils" "^5.1.2" "@types/babel__core" "^7.20.5" @@ -1308,7 +1308,7 @@ astro@^4.15.10: ci-info "^4.0.0" clsx "^2.1.1" common-ancestor-path "^1.0.1" - cookie "^0.6.0" + cookie "^0.7.2" cssesc "^3.0.0" debug "^4.3.7" deterministic-object-hash "^2.0.2" @@ -1340,9 +1340,8 @@ astro@^4.15.10: prompts "^2.4.2" rehype "^13.0.2" semver "^7.6.3" - shiki "^1.21.0" + shiki "^1.22.0" string-width "^7.2.0" - strip-ansi "^7.1.0" tinyexec "^0.3.0" tsconfck "^3.1.3" unist-util-visit "^5.0.0" @@ -1585,10 +1584,10 @@ convert-source-map@^2.0.0: resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== -cookie@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.6.0.tgz#2798b04b071b0ecbff0dbb62a505a8efa4e19051" - integrity sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw== +cookie@^0.7.2: + version "0.7.2" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7" + integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w== cose-base@^1.0.0: version "1.0.3" @@ -1979,9 +1978,9 @@ dset@^3.1.3, dset@^3.1.4: integrity sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA== electron-to-chromium@^1.5.28: - version "1.5.32" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.32.tgz#4a05ee78e29e240aabaf73a67ce9fe73f52e1bc7" - integrity sha512-M+7ph0VGBQqqpTT2YrabjNKSQ2fEl9PVx6AK3N558gDH9NO8O6XN9SXXFWRo9u9PbEg/bWq+tjXQr+eXmxubCw== + version "1.5.33" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.33.tgz#8f64698661240e70fdbc4b032e6085e391f05e09" + integrity sha512-+cYTcFB1QqD4j4LegwLfpCNxifb6dDFUAwk6RsLusCwIaZI6or2f+q8rs5tTB2YC53HhOlIbEaqHMAAC8IOIwA== elkjs@^0.9.0: version "0.9.3" @@ -2565,9 +2564,9 @@ http-cache-semantics@^4.1.1: integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== i18next@^23.11.5: - version "23.15.1" - resolved "https://registry.yarnpkg.com/i18next/-/i18next-23.15.1.tgz#c50de337bf12ca5195e697cc0fbe5f32304871d9" - integrity sha512-wB4abZ3uK7EWodYisHl/asf8UYEhrI/vj/8aoSsrj/ZDxj4/UXPOa1KvFt1Fq5hkUHquNqwFlDprmjZ8iySgYA== + version "23.15.2" + resolved "https://registry.yarnpkg.com/i18next/-/i18next-23.15.2.tgz#8a54f877ccbbc46696eacb5bd5b31d84f9ade7cb" + integrity sha512-zcPSWzCvw6uKnuYHIqs4W7hTuB9e3AFcSdZgvCWoPXIZsBjBd4djN2/2uOHIB+1DFFkQnMBXvhNg7J3WyCuywQ== dependencies: "@babel/runtime" "^7.23.2" @@ -3961,9 +3960,9 @@ pkg-dir@^4.2.0: find-up "^4.0.0" playwright-core@^1.0.0: - version "1.47.2" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.47.2.tgz#7858da9377fa32a08be46ba47d7523dbd9460a4e" - integrity sha512-3JvMfF+9LJfe16l7AbSmU555PaTl2tPyQsVInqm3id16pdDfvZ8TTZ/pyzmkbDrZTQefyzU7AIHlZqQnxpqHVQ== + version "1.48.0" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.48.0.tgz#34d209dd4aba8fccd4a96116f1c4f7630f868722" + integrity sha512-RBvzjM9rdpP7UUFrQzRwR8L/xR4HyC1QXMzGYTbf1vjw25/ya9NRAVnXi/0fvFopjebvyPzsmoK58xxeEOaVvA== postcss-nested@^6.0.1: version "6.2.0" @@ -4354,16 +4353,16 @@ sharp@^0.33.3: "@img/sharp-win32-ia32" "0.33.5" "@img/sharp-win32-x64" "0.33.5" -shiki@^1.1.7, shiki@^1.10.3, shiki@^1.21.0: - version "1.21.0" - resolved "https://registry.yarnpkg.com/shiki/-/shiki-1.21.0.tgz#11debe38d5cc9c4a0e931632de574785c4677039" - integrity sha512-apCH5BoWTrmHDPGgg3RF8+HAAbEL/CdbYr8rMw7eIrdhCkZHdVGat5mMNlRtd1erNG01VPMIKHNQ0Pj2HMAiog== +shiki@^1.1.7, shiki@^1.10.3, shiki@^1.22.0: + version "1.22.0" + resolved "https://registry.yarnpkg.com/shiki/-/shiki-1.22.0.tgz#45d1dfff0e03a598af70e2ec8592f14ef07827b4" + integrity sha512-/t5LlhNs+UOKQCYBtl5ZsH/Vclz73GIqT2yQsCBygr8L/ppTdmpL4w3kPLoZJbMKVWtoG77Ue1feOjZfDxvMkw== dependencies: - "@shikijs/core" "1.21.0" - "@shikijs/engine-javascript" "1.21.0" - "@shikijs/engine-oniguruma" "1.21.0" - "@shikijs/types" "1.21.0" - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/core" "1.22.0" + "@shikijs/engine-javascript" "1.22.0" + "@shikijs/engine-oniguruma" "1.22.0" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" "@types/hast" "^3.0.4" signal-exit@^4.1.0: @@ -5056,9 +5055,9 @@ zwitch@^2.0.0, zwitch@^2.0.4: integrity sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A== zx@^8.1.8: - version "8.1.8" - resolved "https://registry.yarnpkg.com/zx/-/zx-8.1.8.tgz#0d0abb501d7e2593bf6f4539fc578ad36e6988b3" - integrity sha512-m8s48skYQ8EcRz9KXfc7rZCjqlZevOGiNxq5tNhDiGnhOvXKRGxVr+ajUma9B6zxMdHGSSbnjV/R/r7Ue2xd+A== + version "8.1.9" + resolved "https://registry.yarnpkg.com/zx/-/zx-8.1.9.tgz#36b8be5929a1c870dcaa28551095e17aa7ebf251" + integrity sha512-UHuLHphHmsBYKkAchkSrEN4nzDyagafqC9HUxtc1J7eopaScW6H9dsLJ1lmkAntnLtDTGoM8fa+jrJrXiIfKFA== optionalDependencies: "@types/fs-extra" ">=11" "@types/node" ">=20" diff --git a/eval/extrism/genaisrc/genaiscript.d.ts b/eval/extrism/genaisrc/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/eval/extrism/genaisrc/genaiscript.d.ts +++ b/eval/extrism/genaisrc/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/genaisrc/genaiscript.d.ts b/genaisrc/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/genaisrc/genaiscript.d.ts +++ b/genaisrc/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/auto/genaiscript.d.ts b/packages/auto/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/auto/genaiscript.d.ts +++ b/packages/auto/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/core/src/cache.ts b/packages/core/src/cache.ts index 0fd5471e90..a73592cee2 100644 --- a/packages/core/src/cache.ts +++ b/packages/core/src/cache.ts @@ -21,11 +21,14 @@ export type CacheEntry = { sha: string; key: K; val: V } * @template K - Type of the key * @template V - Type of the value */ -export class JSONLineCache extends EventTarget { - private _entries: Record> +export class MemoryCache + extends EventTarget + implements WorkspaceFileCache +{ + protected _entries: Record> // Constructor is private to enforce the use of byName factory method - private constructor(public readonly name: string) { + protected constructor(public readonly name: string) { super() // Initialize EventTarget } @@ -35,47 +38,18 @@ export class JSONLineCache extends EventTarget { * @param name - The name of the cache * @returns An instance of JSONLineCache */ - static byName(name: string): JSONLineCache { + static byName(name: string): MemoryCache { name = name.replace(/[^a-z0-9_]/gi, "_") // Sanitize name - const key = "cacheKV." + name + const key = "memorycache." + name if (host.userState[key]) return host.userState[key] // Return if exists - const r = new JSONLineCache(name) + const r = new MemoryCache(name) host.userState[key] = r return r } - // Get the folder path for the cache storage - private folder() { - return dotGenaiscriptPath("cache", this.name) - } - - // Get the full path to the cache file - private path() { - return host.resolvePath(this.folder(), "db.jsonl") - } - - /** - * Initialize the cache by loading entries from the file. - * Identifies duplicate entries and rewrites the file if necessary. - */ - private async initialize() { + protected async initialize() { if (this._entries) return this._entries = {} - await host.createDirectory(this.folder()) // Ensure directory exists - const content = await tryReadText(this.path()) - const objs: CacheEntry[] = (await JSONLTryParse(content)) ?? [] - let numdup = 0 // Counter for duplicates - for (const obj of objs) { - if (this._entries[obj.sha]) numdup++ // Count duplicates - this._entries[obj.sha] = obj - } - if (2 * numdup > objs.length) { - // Rewrite file if too many duplicates - await writeJSONL( - this.path(), - objs.filter((o) => this._entries[o.sha] === o) // Preserve order - ) - } } /** @@ -87,6 +61,15 @@ export class JSONLineCache extends EventTarget { return Object.values(this._entries).map((kv) => kv.key) } + /** + * Retrieve all values from the cache. + * @returns + */ + async values(): Promise { + await this.initialize() + return Object.values(this._entries).map((kv) => kv.val) + } + /** * Retrieve all entries from the cache. * @returns A promise resolving to an array of cache entries @@ -118,22 +101,22 @@ export class JSONLineCache extends EventTarget { return this._entries[sha]?.val } + protected async appendEntry(entry: CacheEntry) {} + /** * Set a key-value pair in the cache, triggering a change event. * @param key - The key to set * @param val - The value to set * @param options - Optional trace options */ - async set(key: K, val: V, options?: TraceOptions) { - const { trace } = options || {} + async set(key: K, val: V) { await this.initialize() const sha = await keySHA(key) const ent = { sha, key, val } const ex = this._entries[sha] if (ex && JSON.stringify(ex) == JSON.stringify(ent)) return // No change this._entries[sha] = ent - await appendJSONL(this.path(), [ent]) // Append to file - trace?.item(`cache ${this.name} set`) + await this.appendEntry(ent) this.dispatchEvent(new Event(CHANGE)) // Notify listeners } @@ -143,12 +126,77 @@ export class JSONLineCache extends EventTarget { * @returns A promise resolving to the SHA string */ async getKeySHA(key: K) { - await this.initialize() const sha = await keySHA(key) return sha } } +/** + * A cache class that manages entries stored in JSONL format. + * It allows storage and retrieval of cache entries with unique SHA identifiers. + * @template K - Type of the key + * @template V - Type of the value + */ +export class JSONLineCache extends MemoryCache { + // Constructor is private to enforce the use of byName factory method + protected constructor(public readonly name: string) { + super(name) // Initialize EventTarget + } + + /** + * Factory method to create or retrieve an existing cache by name. + * Sanitizes the name to ensure it is a valid identifier. + * @param name - The name of the cache + * @returns An instance of JSONLineCache + */ + static byName(name: string): JSONLineCache { + name = name.replace(/[^a-z0-9_]/gi, "_") // Sanitize name + const key = "workspacecache." + name + if (host.userState[key]) return host.userState[key] // Return if exists + const r = new JSONLineCache(name) + host.userState[key] = r + return r + } + + // Get the folder path for the cache storage + private folder() { + return dotGenaiscriptPath("cache", this.name) + } + + // Get the full path to the cache file + private path() { + return host.resolvePath(this.folder(), "db.jsonl") + } + + /** + * Initialize the cache by loading entries from the file. + * Identifies duplicate entries and rewrites the file if necessary. + */ + override async initialize() { + if (this._entries) return + this._entries = {} + await host.createDirectory(this.folder()) // Ensure directory exists + const content = await tryReadText(this.path()) + const objs: CacheEntry[] = (await JSONLTryParse(content)) ?? [] + let numdup = 0 // Counter for duplicates + for (const obj of objs) { + if (this._entries[obj.sha]) numdup++ // Count duplicates + this._entries[obj.sha] = obj + } + if (2 * numdup > objs.length) { + // Rewrite file if too many duplicates + await writeJSONL( + this.path(), + objs.filter((o) => this._entries[o.sha] === o) // Preserve order + ) + } + } + + override async appendEntry(ent: CacheEntry) { + await appendJSONL(this.path(), [ent]) // Append to file + } +} + /** * Compute the SHA256 hash of a key for uniqueness. * Normalizes the key by converting it to a string and appending the core version. diff --git a/packages/core/src/filesystem.ts b/packages/core/src/filesystem.ts index 73e2f3412c..db8695af64 100644 --- a/packages/core/src/filesystem.ts +++ b/packages/core/src/filesystem.ts @@ -89,13 +89,7 @@ export function createFileSystem(): Omit { cache: async (name: string) => { if (!name) throw new NotSupportedError("missing cache name") const res = JSONLineCache.byName(name) - return >{ - get: async (key: any) => res.get(key), - set: async (key: any, val: any) => res.set(key, val), - keys: async () => res.keys(), - values: async () => - res.entries().then((es) => es.map((e) => e.val)), - } + return res }, } ;(fs as any).readFile = readText diff --git a/packages/core/src/genaisrc/genaiscript.d.ts b/packages/core/src/genaisrc/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/core/src/genaisrc/genaiscript.d.ts +++ b/packages/core/src/genaisrc/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/core/src/openai.ts b/packages/core/src/openai.ts index a22eab6bed..738d7f8d81 100644 --- a/packages/core/src/openai.ts +++ b/packages/core/src/openai.ts @@ -289,11 +289,7 @@ export const OpenAIChatCompletion: ChatCompletionHandler = async ( } if (done && finishReason === "stop") - await cacheStore.set( - cachedKey, - { text: chatResp, finishReason }, - { trace } - ) + await cacheStore.set(cachedKey, { text: chatResp, finishReason }) return { text: chatResp, toolCalls, finishReason, usage, error } } diff --git a/packages/core/src/promptcontext.ts b/packages/core/src/promptcontext.ts index e8cdbc515b..255216dd2e 100644 --- a/packages/core/src/promptcontext.ts +++ b/packages/core/src/promptcontext.ts @@ -26,6 +26,8 @@ import { vectorSearch } from "./vectorsearch" import { Project } from "./ast" import { shellParse } from "./shell" import { PLimitPromiseQueue } from "./concurrency" +import { NotSupportedError } from "./error" +import { JSONLineCache, MemoryCache } from "./cache" /** * Creates a prompt context for the given project, variables, trace, options, and model. @@ -195,6 +197,11 @@ export async function createPromptContext( // Define the host for executing commands, browsing, and other operations const promptHost: PromptHost = Object.freeze({ + cache: async (name: string) => { + if (!name) throw new NotSupportedError("missing cache name") + const res = MemoryCache.byName(name) + return res + }, exec: async ( command: string, args?: string[] | ShellOptions, diff --git a/packages/core/src/types/prompt_template.d.ts b/packages/core/src/types/prompt_template.d.ts index f3c3beb21a..5927c4cffb 100644 --- a/packages/core/src/types/prompt_template.d.ts +++ b/packages/core/src/types/prompt_template.d.ts @@ -630,7 +630,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2834,6 +2834,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/genaisrc/blog/genaiscript.d.ts b/packages/sample/genaisrc/blog/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/genaisrc/blog/genaiscript.d.ts +++ b/packages/sample/genaisrc/blog/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/genaisrc/cache.genai.mts b/packages/sample/genaisrc/cache.genai.mts index ae233b4f59..aa666fcbb6 100644 --- a/packages/sample/genaisrc/cache.genai.mts +++ b/packages/sample/genaisrc/cache.genai.mts @@ -1,39 +1,45 @@ script({ - model: "openai:gpt-3.5-turbo", + model: "openai:gpt-4o-mini", cache: "gpt-cache", tests: [{}, {}], // run twice to trigger caching }) -const cache = await workspace.cache("test-cache") const key = Math.random() const value = Math.random() +for (const cache of [ + await workspace.cache("test-cache"), + await host.cache("test-cache"), +]) { + await cache.set(key, value) + const result = await cache.get(key) + if (result !== value) throw new Error(`unexpected value: ${result}`) -await cache.set(key, value) -const result = await cache.get(key) -if (result !== value) throw new Error(`unexpected value: ${result}`) + const values = await cache.values() + if (!values.includes(value)) throw new Error(`unexpected values: ${values}`) -const values = await cache.values() -if (!values.includes(value)) throw new Error(`unexpected values: ${values}`) - -const keys = await cache.keys() -if (!keys.includes(key)) throw new Error(`unexpected keys: ${keys}`) + const keys = await cache.keys() + if (!keys.includes(key)) throw new Error(`unexpected keys: ${keys}`) +} console.log(`cache test passed`) -$`Generate a random word.` +$`Generate 2 word poem.` defOutputProcessor(async ({ text }) => { - console.error(`process output`) + console.log(`process output`) const pcache = await workspace.cache("poem-cache") const cached = await pcache.get("poem-result") + const value = "abcdefghijklmnopqrstuvwxyz" if (cached) { - console.error(`cache hit ${cached} | ${text}`) - if (cached !== text) { + console.log(`cache hit ${cached} | ${value}`) + if (cached !== value) { console.error(`cached value mismatch`) - throw new Error(`unexpected cached value: ${cached}`) + throw new Error( + `unexpected cached value: '${cached}', expected '${value}'` + ) } } else { - console.error(`storing poem in cache`) - await pcache.set("poem-result", text) + console.log(`storing poem in cache`) + await pcache.set("poem-result", value) } }) diff --git a/packages/sample/genaisrc/genaiscript.d.ts b/packages/sample/genaisrc/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/genaisrc/genaiscript.d.ts +++ b/packages/sample/genaisrc/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/genaisrc/github-agent.genai.mts b/packages/sample/genaisrc/github-agent.genai.mts index adb99f1010..5553d368f9 100644 --- a/packages/sample/genaisrc/github-agent.genai.mts +++ b/packages/sample/genaisrc/github-agent.genai.mts @@ -26,7 +26,9 @@ $` 2. Find the last successful run before the failed run 3. Compare the run job logs between the failed run and the last successful run 4. Compare the source code between the failed run commit (head_sha) and the last successful run commit (head_sha) + - show a diff of the source code that created the problem if possible 5. Analyze all the above information and identify the root cause of the failure + - generate a patch to fix the problem if possible In your report, include html links to the relevant runs, commits, pull requests or issues. ` diff --git a/packages/sample/genaisrc/node/genaiscript.d.ts b/packages/sample/genaisrc/node/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/genaisrc/node/genaiscript.d.ts +++ b/packages/sample/genaisrc/node/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/genaisrc/python/genaiscript.d.ts b/packages/sample/genaisrc/python/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/genaisrc/python/genaiscript.d.ts +++ b/packages/sample/genaisrc/python/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/genaisrc/style/genaiscript.d.ts b/packages/sample/genaisrc/style/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/genaisrc/style/genaiscript.d.ts +++ b/packages/sample/genaisrc/style/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/src/aici/genaiscript.d.ts b/packages/sample/src/aici/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/src/aici/genaiscript.d.ts +++ b/packages/sample/src/aici/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/src/errors/genaiscript.d.ts b/packages/sample/src/errors/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/src/errors/genaiscript.d.ts +++ b/packages/sample/src/errors/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/src/genaiscript.d.ts b/packages/sample/src/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/src/genaiscript.d.ts +++ b/packages/sample/src/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/src/makecode/genaiscript.d.ts b/packages/sample/src/makecode/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/src/makecode/genaiscript.d.ts +++ b/packages/sample/src/makecode/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/src/tla/genaiscript.d.ts b/packages/sample/src/tla/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/src/tla/genaiscript.d.ts +++ b/packages/sample/src/tla/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/sample/src/vision/genaiscript.d.ts b/packages/sample/src/vision/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/sample/src/vision/genaiscript.d.ts +++ b/packages/sample/src/vision/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/packages/vscode/genaisrc/genaiscript.d.ts b/packages/vscode/genaisrc/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/packages/vscode/genaisrc/genaiscript.d.ts +++ b/packages/vscode/genaisrc/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/slides/genaisrc/genaiscript.d.ts b/slides/genaisrc/genaiscript.d.ts index f1e2965211..b4d42f601c 100644 --- a/slides/genaisrc/genaiscript.d.ts +++ b/slides/genaisrc/genaiscript.d.ts @@ -711,7 +711,7 @@ interface WorkspaceFileSystem { writeText(path: string, content: string): Promise /** - * Opens a key-value cache for the given cache name. + * Opens a file-backed key-value cache for the given cache name. * The cache is persisted across runs of the script. Entries are dropped when the cache grows too large. * @param cacheName */ @@ -2915,6 +2915,14 @@ interface PromiseQueue { } interface PromptHost extends ShellHost { + /** + * Opens a in-memory key-value cache for the given cache name. Entries are dropped when the cache grows too large. + * @param cacheName + */ + cache( + cacheName: string + ): Promise> + /** * Starts a container * @param options container creation options diff --git a/slides/yarn.lock b/slides/yarn.lock index 1be07d7d34..690d40b13b 100644 --- a/slides/yarn.lock +++ b/slides/yarn.lock @@ -41,7 +41,7 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.25.7.tgz#b8479fe0018ef0ac87b6b7a5c6916fcd67ae2c9c" integrity sha512-9ickoLz+hcXCeh7jrcin+/SLWm+GkxE2kTvoYyp38p4WkdFXfQJxDFGWp/YHjiKLPx06z2A7W8XKuqbReXDzsw== -"@babel/core@^7.24.7", "@babel/core@^7.25.2": +"@babel/core@^7.24.7", "@babel/core@^7.25.7": version "7.25.7" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.25.7.tgz#1b3d144157575daf132a3bc80b2b18e6e3ca6ece" integrity sha512-yJ474Zv3cwiSOO9nXJuqzvwEeM+chDuQ8GJirw+pZ91sCGCyOZ3dJkVE09fTV0VEVzXyLWhh3G/AolYTPX7Mow== @@ -231,7 +231,7 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.25.7" "@babel/plugin-syntax-typescript" "^7.25.7" -"@babel/standalone@^7.25.6": +"@babel/standalone@^7.25.7": version "7.25.7" resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.25.7.tgz#f134e51e5e91f1ff2ffead46cc0436158b9e0f4b" integrity sha512-7H+mK18Ew4C/pIIiZwF1eiVjUEh2Ju/BpwRZwcPeXltF/rIjHjFL0gol7PtGrHocmIq6P6ubJrylmmWQ3lGJPA== @@ -564,23 +564,23 @@ integrity sha512-kym7SodPp8/wloecOpcmSnWJsK7M0E5Wg8UcFA+uO4B9s5d0ywXOEro/8HM9x0rW+TljRzul/14UYz3TleT3ig== "@iconify-json/carbon@^1.1.37": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@iconify-json/carbon/-/carbon-1.2.1.tgz#5133d36f1e59320c45841474f5a1776a340dbb6a" - integrity sha512-dIMY6OOY9LnwR3kOqAtfz4phGFG+KNfESEwSL6muCprBelSlSPpRXtdqvEEO/qWhkf5AJ9hWrOV3Egi5Z2IuKA== + version "1.2.2" + resolved "https://registry.yarnpkg.com/@iconify-json/carbon/-/carbon-1.2.2.tgz#01ab23169b2011f6bd080a5e139f182408ae5e38" + integrity sha512-cmGo+PBMIuYWHML/vvZzKqc1XEqZCTxBIubTSWph5u8uT15oKilPyaqTxRw054k6JZ+n0mD0OIoUo2OEvec6kg== dependencies: "@iconify/types" "*" "@iconify-json/ph@^1.1.14": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@iconify-json/ph/-/ph-1.2.0.tgz#f24d78fbfea7da7876e1e3269210ee15c16b2752" - integrity sha512-013eLpgTmX1lACOuDnkuhC7gRHyYj9w/j8SyDmlyUYvsKQrwdRsv1otcXtwH3DevuDAzSkreeeRsCeez+gTyVA== + version "1.2.1" + resolved "https://registry.yarnpkg.com/@iconify-json/ph/-/ph-1.2.1.tgz#c011a457a9a8eac05926a940661e07f92f000433" + integrity sha512-x0DNfwWrS18dbsBYOq3XGiZnGz4CgRyC+YSl/TZvMQiKhIUl1woWqUbMYqqfMNUBzjyk7ulvaRovpRsIlqIf8g== dependencies: "@iconify/types" "*" "@iconify-json/svg-spinners@^1.1.3": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@iconify-json/svg-spinners/-/svg-spinners-1.2.0.tgz#474513f45ebe64fd4faa63a82dd9e4d6285e27cb" - integrity sha512-0ov9JMKnqD4p/8aEzSTk+VKdmKZkRWHTqbzCEgKhL+yvpR8B1k3Ak8CO0bt6o+SBV/l8MOqUgFFgdt0xx8tLEw== + version "1.2.1" + resolved "https://registry.yarnpkg.com/@iconify-json/svg-spinners/-/svg-spinners-1.2.1.tgz#f4128ed71e576ba3e4e9501786301734265c71e3" + integrity sha512-QZNA4YzFD2zqdC6nIBJM6WlAGakUCjvMt92Ks1R4XFxkd76Ps3rdiauYWESDRZvNYURAByp2b9cwZarFula65g== dependencies: "@iconify/types" "*" @@ -855,88 +855,88 @@ resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.24.0.tgz#0574d7e87b44ee8511d08cc7f914bcb802b70818" integrity sha512-fbMkAF7fufku0N2dE5TBXcNlg0pt0cJue4xBRE2Qc5Vqikxr4VCgKj/ht6SMdFcOacVA9rqF70APJ8RN/4vMJw== -"@shikijs/core@1.21.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/core/-/core-1.21.0.tgz#1557480430163b5d2e7e3fe42514f9656d7f0daf" - integrity sha512-zAPMJdiGuqXpZQ+pWNezQAk5xhzRXBNiECFPcJLtUdsFM3f//G95Z15EHTnHchYycU8kIIysqGgxp8OVSj1SPQ== +"@shikijs/core@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/core/-/core-1.22.0.tgz#74e5d4485e5f7afa85109e322b42e400686f92bb" + integrity sha512-S8sMe4q71TJAW+qG93s5VaiihujRK6rqDFqBnxqvga/3LvqHEnxqBIOPkt//IdXVtHkQWKu4nOQNk0uBGicU7Q== dependencies: - "@shikijs/engine-javascript" "1.21.0" - "@shikijs/engine-oniguruma" "1.21.0" - "@shikijs/types" "1.21.0" - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/engine-javascript" "1.22.0" + "@shikijs/engine-oniguruma" "1.22.0" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" "@types/hast" "^3.0.4" hast-util-to-html "^9.0.3" -"@shikijs/engine-javascript@1.21.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/engine-javascript/-/engine-javascript-1.21.0.tgz#86776dd5df02d7381c23041cb314f25c831c83bf" - integrity sha512-jxQHNtVP17edFW4/0vICqAVLDAxmyV31MQJL4U/Kg+heQALeKYVOWo0sMmEZ18FqBt+9UCdyqGKYE7bLRtk9mg== +"@shikijs/engine-javascript@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/engine-javascript/-/engine-javascript-1.22.0.tgz#2e5db29f0421755492f5279f8224ef7a7f907a29" + integrity sha512-AeEtF4Gcck2dwBqCFUKYfsCq0s+eEbCEbkUuFou53NZ0sTGnJnJ/05KHQFZxpii5HMXbocV9URYVowOP2wH5kw== dependencies: - "@shikijs/types" "1.21.0" - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" oniguruma-to-js "0.4.3" -"@shikijs/engine-oniguruma@1.21.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-1.21.0.tgz#aaceece7d2e9572d41c0fb1082ee9b2895245080" - integrity sha512-AIZ76XocENCrtYzVU7S4GY/HL+tgHGbVU+qhiDyNw1qgCA5OSi4B4+HY4BtAoJSMGuD/L5hfTzoRVbzEm2WTvg== +"@shikijs/engine-oniguruma@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/engine-oniguruma/-/engine-oniguruma-1.22.0.tgz#74c661fac4cd1f08f2c09b5d6e2fd2a6720d0401" + integrity sha512-5iBVjhu/DYs1HB0BKsRRFipRrD7rqjxlWTj4F2Pf+nQSPqc3kcyqFFeZXnBMzDf0HdqaFVvhDRAGiYNvyLP+Mw== dependencies: - "@shikijs/types" "1.21.0" - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" "@shikijs/markdown-it@^1.14.1": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/markdown-it/-/markdown-it-1.21.0.tgz#f28ccf13d1819c649b617dba93698d5db5a00c10" - integrity sha512-wNvze11LNnhNc3NpGG7Y2Jxlecta85bd1QRltB+oqtug4w63BtjzTQubpB3NWwXTWXf91iVlmbo8Sp9mrmZVGQ== + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/markdown-it/-/markdown-it-1.22.0.tgz#343b06cf3cf1af53b9194bd38aed9bafd924f1f9" + integrity sha512-IAWi2pbzYndiuXOWnV5Ll4ULQJeWl45WUACl1Xc2KSiBl0JtQmqKvPOGKN7YSZbyIzkB6bWUItRrv5ucO35U+g== dependencies: markdown-it "^14.1.0" - shiki "1.21.0" + shiki "1.22.0" "@shikijs/monaco@^1.14.1": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/monaco/-/monaco-1.21.0.tgz#582d5d3e1ed5fe1bd57a0237f8192cf1bd9b4fdf" - integrity sha512-F/eoyJpbOPZh9KLD1ouIEhXcdkCHT06CkSLnvjYj4XDCN07/tXhtfCMoHw50nQjpaM9iIRlOj1xjy+9NO/di1A== + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/monaco/-/monaco-1.22.0.tgz#15006da6788782d9a50342f08f306c5dddcbe12c" + integrity sha512-E2FiNB1Od+uM3ESdmraFnThwUl1uz45rw6mONivcYHXgWO9E1t8UjjmE5ypkKUUKa0MlrpqAZEvyZRKh+9d7vg== dependencies: - "@shikijs/core" "1.21.0" - "@shikijs/types" "1.21.0" - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/core" "1.22.0" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" "@shikijs/twoslash@", "@shikijs/twoslash@^1.14.1": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/twoslash/-/twoslash-1.21.0.tgz#ee0a51282a2a7a02c583ec14f34a914d29f128d2" - integrity sha512-91HTpoIsx6vsJZ0DE1fs/jNeEAL5xJ5hWMVPUSp3iGHxOLH59nGrOcsjSgv4lKaxeE2i6VFvnPANQ5q8I5k2AQ== + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/twoslash/-/twoslash-1.22.0.tgz#8f7f22f0273148343831246667f4a6647cc7e6f6" + integrity sha512-r5F/x4GTh18XzhAREehgT9lCDFZlISBSIsOFZQQaqjiOLG81PIqJN1I1D6XY58UN9OJt+3mffuKq19K4FOJKJA== dependencies: - "@shikijs/core" "1.21.0" - "@shikijs/types" "1.21.0" + "@shikijs/core" "1.22.0" + "@shikijs/types" "1.22.0" twoslash "^0.2.12" -"@shikijs/types@1.21.0": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/types/-/types-1.21.0.tgz#3e097012221b9ca1f8fbdf47e6aefe66ccb4398a" - integrity sha512-tzndANDhi5DUndBtpojEq/42+dpUF2wS7wdCDQaFtIXm3Rd1QkrcVgSSRLOvEwexekihOXfbYJINW37g96tJRw== +"@shikijs/types@1.22.0": + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/types/-/types-1.22.0.tgz#d2a572381395c9308b472c8199b8e0289753b9ad" + integrity sha512-Fw/Nr7FGFhlQqHfxzZY8Cwtwk5E9nKDUgeLjZgt3UuhcM3yJR9xj3ZGNravZZok8XmEZMiYkSMTPlPkULB8nww== dependencies: - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/vscode-textmate" "^9.3.0" "@types/hast" "^3.0.4" "@shikijs/vitepress-twoslash@^1.14.1": - version "1.21.0" - resolved "https://registry.yarnpkg.com/@shikijs/vitepress-twoslash/-/vitepress-twoslash-1.21.0.tgz#3982dc01cb1d6f2483c99a95f06b245aa6fe3a13" - integrity sha512-/B/edWFxZ6Tdfj0Jj+jxJOKsHRd89NZ57tK0E68kvaWbbnBw3UaLCixDL+SvdeGFMov2uN1URXgCdBQTR6daZg== + version "1.22.0" + resolved "https://registry.yarnpkg.com/@shikijs/vitepress-twoslash/-/vitepress-twoslash-1.22.0.tgz#d989c9e3f2768bc30c46bfcd6241a69a2047f5ba" + integrity sha512-NN2AP412MDBP2HwpnKAokvZdoHfWMPIBCW4eYWyjuEqW3OUGFLY7dmsJbYIf1EsjUFcYktHpk0yA/nL9tSocFA== dependencies: "@shikijs/twoslash" "" floating-vue "^5.2.2" mdast-util-from-markdown "^2.0.1" mdast-util-gfm "^3.0.0" mdast-util-to-hast "^13.2.0" - shiki "1.21.0" + shiki "1.22.0" twoslash "^0.2.12" twoslash-vue "^0.2.12" - vue "^3.5.10" + vue "^3.5.11" -"@shikijs/vscode-textmate@^9.2.2": - version "9.2.2" - resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-9.2.2.tgz#24571f50625c7cd075f9efe0def8b9d2c0930ada" - integrity sha512-TMp15K+GGYrWlZM8+Lnj9EaHEFmOen0WJBrfa17hF7taDOYthuPPV0GWzfd/9iMij0akS/8Yw2ikquH7uVi/fg== +"@shikijs/vscode-textmate@^9.3.0": + version "9.3.0" + resolved "https://registry.yarnpkg.com/@shikijs/vscode-textmate/-/vscode-textmate-9.3.0.tgz#b2f1776e488c1d6c2b6cd129bab62f71bbc9c7ab" + integrity sha512-jn7/7ky30idSkd/O5yDBfAnVt+JJpepofP/POZ1iMOxK59cOfqIgg/Dj0eFsjOTMw+4ycJN0uhZH/Eb0bs/EUA== "@sindresorhus/is@^5.2.0": version "5.6.0" @@ -1193,16 +1193,16 @@ integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g== "@types/node@*", "@types/node@>=20": - version "22.7.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.4.tgz#e35d6f48dca3255ce44256ddc05dee1c23353fcc" - integrity sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg== + version "22.7.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.5.tgz#cfde981727a7ab3611a481510b473ae54442b92b" + integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ== dependencies: undici-types "~6.19.2" "@types/node@^18.7.3": - version "18.19.54" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.54.tgz#f1048dc083f81b242640f04f18fb3e4ccf13fcdb" - integrity sha512-+BRgt0G5gYjTvdLac9sIeE0iZcJxi4Jc4PV5EUzqi+88jmQLr+fRZdv2tCTV7IHKSGxM6SaLoOXQWWUiLUItMw== + version "18.19.55" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.55.tgz#29c3f8e1485a92ec96636957ddec55aabc6e856e" + integrity sha512-zzw5Vw52205Zr/nmErSEkN5FLqXPuKX/k5d1D7RKHATGqU7y6YfX9QxZraUzUrFGqH6XzOzG196BC35ltJC4Cw== dependencies: undici-types "~5.26.4" @@ -1481,16 +1481,16 @@ integrity sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A== "@volar/language-core@~2.4.1": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.5.tgz#af8ba724b05fc4dce2339c49662e732e9c22c897" - integrity sha512-F4tA0DCO5Q1F5mScHmca0umsi2ufKULAnMOVBfMsZdT4myhVl4WdKRwCaKcfOkIEuyrAVvtq1ESBdZ+rSyLVww== + version "2.4.6" + resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-2.4.6.tgz#159625a6e1263fe68d1afad524ae2bd40c4ee0dd" + integrity sha512-FxUfxaB8sCqvY46YjyAAV6c3mMIq/NWQMVvJ+uS4yxr1KzOvyg61gAuOnNvgCvO4TZ7HcLExBEsWcDu4+K4E8A== dependencies: - "@volar/source-map" "2.4.5" + "@volar/source-map" "2.4.6" -"@volar/source-map@2.4.5": - version "2.4.5" - resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-2.4.5.tgz#81223a06321aaa067b40619189b44a9f0b7ac2d8" - integrity sha512-varwD7RaKE2J/Z+Zu6j3mNNJbNT394qIxXwdvz/4ao/vxOfyClZpSDtLKkwWmecinkOVos5+PWkWraelfMLfpw== +"@volar/source-map@2.4.6": + version "2.4.6" + resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-2.4.6.tgz#b71ad241216f646812639f359262e6a84b46b6ed" + integrity sha512-Nsh7UW2ruK+uURIPzjJgF0YRGP5CX9nQHypA2OMqdM2FKy7rh+uv3XgPnWPw30JADbKvZ5HuBzG4gSbVDYVtiw== "@vue/babel-helper-vue-transform-on@1.2.5": version "1.2.5" @@ -1697,7 +1697,7 @@ dependencies: vue-demi ">=0.14.10" -acorn@^8.11.3, acorn@^8.12.1, acorn@^8.8.2: +acorn@^8.12.1, acorn@^8.8.2: version "8.12.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.12.1.tgz#71616bdccbe25e27a54439e0046e89ca76df2248" integrity sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg== @@ -2018,10 +2018,10 @@ computeds@^0.0.1: resolved "https://registry.yarnpkg.com/computeds/-/computeds-0.0.1.tgz#215b08a4ba3e08a11ff6eee5d6d8d7166a97ce2e" integrity sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q== -confbox@^0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/confbox/-/confbox-0.1.7.tgz#ccfc0a2bcae36a84838e83a3b7f770fb17d6c579" - integrity sha512-uJcB/FKZtBMCJpK8MQji6bJHgu1tixKPxRLeGkNzBoOZzpnZUJm0jm2/sBDWcuBx1dYgxV4JU+g5hmNxCyAmdA== +confbox@^0.1.7, confbox@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/confbox/-/confbox-0.1.8.tgz#820d73d3b3c82d9bd910652c5d4d599ef8ff8b06" + integrity sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w== connect@^3.7.0: version "3.7.0" @@ -2564,9 +2564,9 @@ ee-first@1.1.1: integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== electron-to-chromium@^1.5.28: - version "1.5.32" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.32.tgz#4a05ee78e29e240aabaf73a67ce9fe73f52e1bc7" - integrity sha512-M+7ph0VGBQqqpTT2YrabjNKSQ2fEl9PVx6AK3N558gDH9NO8O6XN9SXXFWRo9u9PbEg/bWq+tjXQr+eXmxubCw== + version "1.5.33" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.33.tgz#8f64698661240e70fdbc4b032e6085e391f05e09" + integrity sha512-+cYTcFB1QqD4j4LegwLfpCNxifb6dDFUAwk6RsLusCwIaZI6or2f+q8rs5tTB2YC53HhOlIbEaqHMAAC8IOIwA== emoji-regex@^8.0.0: version "8.0.0" @@ -3208,10 +3208,10 @@ jiti@^1.21.6: resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.6.tgz#6c7f7398dd4b3142767f9a168af2f317a428d268" integrity sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w== -jiti@^2.0.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/jiti/-/jiti-2.2.1.tgz#0c968cd6c9b4baeb4074abd2f2f2dc42f6537a09" - integrity sha512-weIl/Bv3G0J3UKamLxEA2G+FfQ33Z1ZkQJGPjKFV21zQdKWu2Pi6o4elpj2uEl5XdFJZ9xzn1fsanWTFSt45zw== +jiti@^2.3.1: + version "2.3.3" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-2.3.3.tgz#39c66fc77476b92a694e65dfe04b294070e2e096" + integrity sha512-EX4oNDwcXSivPrw2qKH2LB5PoFxEvgtv2JgwW0bU858HoLQ+kutSvjLMUqBd0PeJYEinLWhoI9Ol0eYMqj/wNQ== js-tokens@^4.0.0: version "4.0.0" @@ -3883,15 +3883,15 @@ mkdirp@^1.0.3: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mlly@^1.4.2, mlly@^1.5.0, mlly@^1.7.1: - version "1.7.1" - resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.7.1.tgz#e0336429bb0731b6a8e887b438cbdae522c8f32f" - integrity sha512-rrVRZRELyQzrIUAVMHxP97kv+G786pHmOKzuFII8zDYahFBS7qnHh2AlYSl1GAHhaMPCz6/oHjVMcfFYgFYHgA== +mlly@^1.4.2, mlly@^1.5.0, mlly@^1.7.1, mlly@^1.7.2: + version "1.7.2" + resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.7.2.tgz#21c0d04543207495b8d867eff0ac29fac9a023c0" + integrity sha512-tN3dvVHYVz4DhSXinXIk7u9syPYaJvio118uomkovAtWBT+RdbP6Lfh/5Lvo519YMmwBafwlh20IPTXIStscpA== dependencies: - acorn "^8.11.3" + acorn "^8.12.1" pathe "^1.1.2" - pkg-types "^1.1.1" - ufo "^1.5.3" + pkg-types "^1.2.0" + ufo "^1.5.4" monaco-editor@^0.51.0: version "0.51.0" @@ -3968,9 +3968,9 @@ nypm@^0.3.8: ufo "^1.5.4" ofetch@^1.3.4: - version "1.4.0" - resolved "https://registry.yarnpkg.com/ofetch/-/ofetch-1.4.0.tgz#89ef58fb673fbe2a87250973d4586ce7725e8399" - integrity sha512-MuHgsEhU6zGeX+EMh+8mSMrYTnsqJQQrpM00Q6QHMKNqQ0bKy0B43tk8tL1wg+CnsSTy1kg4Ir2T5Ig6rD+dfQ== + version "1.4.1" + resolved "https://registry.yarnpkg.com/ofetch/-/ofetch-1.4.1.tgz#b6bf6b0d75ba616cef6519dd8b6385a8bae480ec" + integrity sha512-QZj2DfGplQAr2oj9KzceK9Hwz6Whxazmn85yYeVuS3u9XTMOGMRx0kO95MQ+vLsj/S/NwBDMMLU5hpxvI6Tklw== dependencies: destr "^2.0.3" node-fetch-native "^1.6.4" @@ -4018,9 +4018,9 @@ p-cancelable@^3.0.0: integrity sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw== package-manager-detector@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/package-manager-detector/-/package-manager-detector-0.2.0.tgz#160395cd5809181f5a047222319262b8c2d8aaea" - integrity sha512-E385OSk9qDcXhcM9LNSe4sdhx8a9mAPrZ4sMLW+tmxl5ZuGtPUcdFu+MPP2jbgiWAZ6Pfe5soGFMd+0Db5Vrog== + version "0.2.1" + resolved "https://registry.yarnpkg.com/package-manager-detector/-/package-manager-detector-0.2.1.tgz#c9a0e3d7d2972cf1aa787f7d0c4665b0cf472c84" + integrity sha512-/hVW2fZvAdEas+wyKh0SnlZ2mx0NIa1+j11YaQkogEJkcMErbwchHCuo8z7lEtajZJQZ6rgZNVTWMVVd71Bjng== pako@^1.0.10, pako@^1.0.11, pako@^1.0.6, pako@~1.0.2: version "1.0.11" @@ -4092,13 +4092,13 @@ picomatch@^4.0.2: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.2.tgz#77c742931e8f3b8820946c76cd0c1f13730d1dab" integrity sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg== -pkg-types@^1.0.3, pkg-types@^1.1.1, pkg-types@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.2.0.tgz#d0268e894e93acff11a6279de147e83354ebd42d" - integrity sha512-+ifYuSSqOQ8CqP4MbZA5hDpb97n3E8SVWdJe+Wms9kj745lmd3b7EZJiqvmLwAlmRfjrI7Hi5z3kdBJ93lFNPA== +pkg-types@^1.0.3, pkg-types@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.2.1.tgz#6ac4e455a5bb4b9a6185c1c79abd544c901db2e5" + integrity sha512-sQoqa8alT3nHjGuTjuKgOnvjo4cljkufdtLMnO2LBP/wRwuDlo1tkaEdMxCRhyGRPacv/ztlZgDPm2b7FAmEvw== dependencies: - confbox "^0.1.7" - mlly "^1.7.1" + confbox "^0.1.8" + mlly "^1.7.2" pathe "^1.1.2" plantuml-encoder@^1.4.0: @@ -4424,16 +4424,16 @@ shiki-magic-move@^0.4.4: diff-match-patch-es "^0.1.0" ohash "^1.1.4" -shiki@1.21.0, shiki@^1.14.1: - version "1.21.0" - resolved "https://registry.yarnpkg.com/shiki/-/shiki-1.21.0.tgz#11debe38d5cc9c4a0e931632de574785c4677039" - integrity sha512-apCH5BoWTrmHDPGgg3RF8+HAAbEL/CdbYr8rMw7eIrdhCkZHdVGat5mMNlRtd1erNG01VPMIKHNQ0Pj2HMAiog== +shiki@1.22.0, shiki@^1.14.1: + version "1.22.0" + resolved "https://registry.yarnpkg.com/shiki/-/shiki-1.22.0.tgz#45d1dfff0e03a598af70e2ec8592f14ef07827b4" + integrity sha512-/t5LlhNs+UOKQCYBtl5ZsH/Vclz73GIqT2yQsCBygr8L/ppTdmpL4w3kPLoZJbMKVWtoG77Ue1feOjZfDxvMkw== dependencies: - "@shikijs/core" "1.21.0" - "@shikijs/engine-javascript" "1.21.0" - "@shikijs/engine-oniguruma" "1.21.0" - "@shikijs/types" "1.21.0" - "@shikijs/vscode-textmate" "^9.2.2" + "@shikijs/core" "1.22.0" + "@shikijs/engine-javascript" "1.22.0" + "@shikijs/engine-oniguruma" "1.22.0" + "@shikijs/types" "1.22.0" + "@shikijs/vscode-textmate" "^9.3.0" "@types/hast" "^3.0.4" signal-exit@^4.1.0: @@ -4678,7 +4678,7 @@ uc.micro@^2.0.0, uc.micro@^2.1.0: resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.1.0.tgz#f8d3f7d0ec4c3dea35a7e3c8efa4cb8b45c9e7ee" integrity sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A== -ufo@^1.3.2, ufo@^1.5.3, ufo@^1.5.4: +ufo@^1.3.2, ufo@^1.5.4: version "1.5.4" resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.5.4.tgz#16d6949674ca0c9e0fbbae1fa20a71d7b1ded754" integrity sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ== @@ -4882,15 +4882,15 @@ untun@^0.1.3: pathe "^1.1.1" untyped@^1.4.2: - version "1.5.0" - resolved "https://registry.yarnpkg.com/untyped/-/untyped-1.5.0.tgz#18b5329b72e49f6c75ff7fea537ea5fe4cf52270" - integrity sha512-o2Vjmn2dal08BzCcINxSmWuAteReUUiXseii5VRhmxyLF0b21K0iKZQ9fMYK7RWspVkY+0saqaVQNq4roe3Efg== + version "1.5.1" + resolved "https://registry.yarnpkg.com/untyped/-/untyped-1.5.1.tgz#2ccf3ee09419d59a44c21a192877ab45aa98361a" + integrity sha512-reBOnkJBFfBZ8pCKaeHgfZLcehXtM6UTxc+vqs1JvCps0c4amLNp3fhdGBZwYp+VLyoY9n3X5KOP7lCyWBUX9A== dependencies: - "@babel/core" "^7.25.2" - "@babel/standalone" "^7.25.6" - "@babel/types" "^7.25.6" + "@babel/core" "^7.25.7" + "@babel/standalone" "^7.25.7" + "@babel/types" "^7.25.7" defu "^6.1.4" - jiti "^2.0.0" + jiti "^2.3.1" mri "^1.2.0" scule "^1.3.0" @@ -5054,7 +5054,7 @@ vue-router@^4.4.3: dependencies: "@vue/devtools-api" "^6.6.4" -vue@^3.4.38, vue@^3.5.10: +vue@^3.4.38, vue@^3.5.11: version "3.5.11" resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.11.tgz#3e307183797629f701e303a0a008f517ae031483" integrity sha512-/8Wurrd9J3lb72FTQS7gRMNQD4nztTtKPmuDuPuhqXmmpD6+skVjAeahNpVzsuky6Sy9gy7wn8UadqPtt9SQIg== @@ -5135,9 +5135,9 @@ zwitch@^2.0.0, zwitch@^2.0.4: integrity sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A== zx@^8.1.8: - version "8.1.8" - resolved "https://registry.yarnpkg.com/zx/-/zx-8.1.8.tgz#0d0abb501d7e2593bf6f4539fc578ad36e6988b3" - integrity sha512-m8s48skYQ8EcRz9KXfc7rZCjqlZevOGiNxq5tNhDiGnhOvXKRGxVr+ajUma9B6zxMdHGSSbnjV/R/r7Ue2xd+A== + version "8.1.9" + resolved "https://registry.yarnpkg.com/zx/-/zx-8.1.9.tgz#36b8be5929a1c870dcaa28551095e17aa7ebf251" + integrity sha512-UHuLHphHmsBYKkAchkSrEN4nzDyagafqC9HUxtc1J7eopaScW6H9dsLJ1lmkAntnLtDTGoM8fa+jrJrXiIfKFA== optionalDependencies: "@types/fs-extra" ">=11" "@types/node" ">=20" diff --git a/yarn.lock b/yarn.lock index 5a24df2319..0acd4da44a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -164,9 +164,9 @@ tslib "^2.6.2" "@azure/msal-browser@^3.14.0": - version "3.25.0" - resolved "https://registry.yarnpkg.com/@azure/msal-browser/-/msal-browser-3.25.0.tgz#7ce0949977bc9e0c58319f7090c44fe5537104d4" - integrity sha512-a0Y7pmSy8SC1s9bvwr+REvyAA1nQcITlZvkElM2gNUPYFTTNUTEdcpg73TmawNucyMdZ9xb/GFcuhrLOqYAzwg== + version "3.26.0" + resolved "https://registry.yarnpkg.com/@azure/msal-browser/-/msal-browser-3.26.0.tgz#def8f1998e446d92432595577709d0cb6afc72fe" + integrity sha512-kiksPQPqsOBiXXFXN5UatcBZafFGCKbVXRulyV3gZ11OsOt/PdlbBUEM36KvDboJzAXJpvn9bvD8A5IwwXBc1w== dependencies: "@azure/msal-common" "14.15.0" @@ -519,10 +519,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@9.11.1": - version "9.11.1" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.11.1.tgz#8bcb37436f9854b3d9a561440daf916acd940986" - integrity sha512-/qu+TWz8WwPWc7/HcIJKi+c+MOm46GdVaSlTTQcaqaL53+GsoA6MxWp5PtTx48qbSP7ylM1Kn7nhvkugfJvRSA== +"@eslint/js@9.12.0": + version "9.12.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.12.0.tgz#69ca3ca9fab9a808ec6d67b8f6edb156cbac91e1" + integrity sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA== "@eslint/object-schema@^2.1.4": version "2.1.4" @@ -546,12 +546,25 @@ resolved "https://registry.yarnpkg.com/@huggingface/jinja/-/jinja-0.3.1.tgz#4fd73c9cf450a25ec4f8a8969290231c4ec37d98" integrity sha512-SbcBWUKDQ76lzlVYOloscUk0SJjuL1LcbZsfQv/Bxxc7dwJMYuS+DAQ+HhVw6ZkTFXArejaX5HQRuCuleYwYdA== +"@humanfs/core@^0.19.0": + version "0.19.0" + resolved "https://registry.yarnpkg.com/@humanfs/core/-/core-0.19.0.tgz#08db7a8c73bb07673d9ebd925f2dad746411fcec" + integrity sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw== + +"@humanfs/node@^0.16.5": + version "0.16.5" + resolved "https://registry.yarnpkg.com/@humanfs/node/-/node-0.16.5.tgz#a9febb7e7ad2aff65890fdc630938f8d20aa84ba" + integrity sha512-KSPA4umqSG4LHYRodq31VDwKAvaTF4xmVlzM8Aeh4PlU1JQ3IG0wiA8C25d3RQ9nJyM3mBHyI53K06VVL/oFFg== + dependencies: + "@humanfs/core" "^0.19.0" + "@humanwhocodes/retry" "^0.3.0" + "@humanwhocodes/module-importer@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/retry@^0.3.0": +"@humanwhocodes/retry@^0.3.0", "@humanwhocodes/retry@^0.3.1": version "0.3.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/retry/-/retry-0.3.1.tgz#c72a5c76a9fbaf3488e231b13dc52c0da7bab42a" integrity sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA== @@ -612,9 +625,9 @@ yoctocolors-cjs "^2.1.2" "@inquirer/figures@^1.0.6": - version "1.0.6" - resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.6.tgz#1a562f916da39888c56b65b78259d2261bd7d40b" - integrity sha512-yfZzps3Cso2UbM7WlxKwZQh2Hs6plrbjs1QnzQDZhK2DgyCo6D8AaHps9olkNcUFlcYERMqU3uJSp1gmy3s/qQ== + version "1.0.7" + resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.7.tgz#d050ccc0eabfacc0248c4ff647a9dfba1b01594b" + integrity sha512-m+Trk77mp54Zma6xLkLuY+mvanPxlE4A7yNKs2HBiyZ4UkVs28Mv5c/pgWrHeInx+USHeX/WEPzjrWrcJiQgjw== "@inquirer/input@^3.0.1": version "3.0.1" @@ -985,20 +998,20 @@ integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== "@lvce-editor/ripgrep@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@lvce-editor/ripgrep/-/ripgrep-1.2.0.tgz#9c93cac388bc652cce3a513fd61ecd33a8fe1da4" - integrity sha512-4Og2sNF6lbjWqmlISaTlk/qJ8xlMamzBF3tvPRZ0/+58ONPMiRkT0QdxYskXNNDnNWB5R77UFM12/pbQSnPXjw== + version "1.3.0" + resolved "https://registry.yarnpkg.com/@lvce-editor/ripgrep/-/ripgrep-1.3.0.tgz#4914f58492a6f210f222dc6594776e75d3466edc" + integrity sha512-DDcMjQ14wO9BpFCj7oomhkZFE2iRZZNVrixWSwK+vLZwHS81wXkS8QUUDkSwS6LrSkDgLb8EQFWMXIZD7x148g== dependencies: - "@lvce-editor/verror" "^1.2.0" - execa "^9.0.1" + "@lvce-editor/verror" "^1.4.0" + execa "^9.4.0" extract-zip "^2.0.1" fs-extra "^11.2.0" - got "^14.2.1" + got "^14.4.2" path-exists "^5.0.0" tempy "^3.1.0" xdg-basedir "^5.1.0" -"@lvce-editor/verror@^1.2.0": +"@lvce-editor/verror@^1.4.0": version "1.4.0" resolved "https://registry.yarnpkg.com/@lvce-editor/verror/-/verror-1.4.0.tgz#710bb82e844e94663419675d77a02a5c9405d817" integrity sha512-pM9sUHjzcMVySm/B8qtNR0lL60XxmKR6S0Tf2TrGW+5fK3qJHyySvfbL51smBxKRtX+MpKh+RVT5nQhWf/3m5A== @@ -1036,7 +1049,7 @@ resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== -"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": +"@nodelib/fs.walk@^1.2.3": version "1.2.8" resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== @@ -1376,9 +1389,9 @@ integrity sha512-dtByW6WiFk5W5Jfgz1VM+YPA21xMXTuSFoLYIDY0L44jDLLflVPtZkYuu3/YxpGcvjzKFBZLU+GyKjR0HOYtyw== "@types/diff@^5.2.2": - version "5.2.2" - resolved "https://registry.yarnpkg.com/@types/diff/-/diff-5.2.2.tgz#d430dbb1da6739f1e2565c2c80b54184d4c77658" - integrity sha512-qVqLpd49rmJA2nZzLVsmfS/aiiBpfVE95dHhPVwG0NmSBAt+riPxnj53wq2oBq5m4Q2RF1IWFEUpnZTgrQZfEQ== + version "5.2.3" + resolved "https://registry.yarnpkg.com/@types/diff/-/diff-5.2.3.tgz#dcdcfa40df9f011f9465180e0196dfbd921971d9" + integrity sha512-K0Oqlrq3kQMaO2RhfrNQX5trmt+XLyom88zS0u84nnIcLvFnRUMRRHmrGny5GSM+kNO9IZLARsdQHDzkhAgmrQ== "@types/docker-modem@*": version "3.0.6" @@ -1508,9 +1521,9 @@ form-data "^4.0.0" "@types/node@*", "@types/node@>=13.7.0", "@types/node@>=20", "@types/node@^22.5.5": - version "22.7.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.4.tgz#e35d6f48dca3255ce44256ddc05dee1c23353fcc" - integrity sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg== + version "22.7.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.7.5.tgz#cfde981727a7ab3611a481510b473ae54442b92b" + integrity sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ== dependencies: undici-types "~6.19.2" @@ -1520,16 +1533,16 @@ integrity sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g== "@types/node@^18.11.18": - version "18.19.54" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.54.tgz#f1048dc083f81b242640f04f18fb3e4ccf13fcdb" - integrity sha512-+BRgt0G5gYjTvdLac9sIeE0iZcJxi4Jc4PV5EUzqi+88jmQLr+fRZdv2tCTV7IHKSGxM6SaLoOXQWWUiLUItMw== + version "18.19.55" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.55.tgz#29c3f8e1485a92ec96636957ddec55aabc6e856e" + integrity sha512-zzw5Vw52205Zr/nmErSEkN5FLqXPuKX/k5d1D7RKHATGqU7y6YfX9QxZraUzUrFGqH6XzOzG196BC35ltJC4Cw== dependencies: undici-types "~5.26.4" "@types/node@^20.14.12": - version "20.16.10" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.16.10.tgz#0cc3fdd3daf114a4776f54ba19726a01c907ef71" - integrity sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA== + version "20.16.11" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.16.11.tgz#9b544c3e716b1577ac12e70f9145193f32750b33" + integrity sha512-y+cTCACu92FyA5fgQSAI8A1H429g7aSK2HsO7K4XYUWc4dY5IUz55JSDIYT6/VsOLfGy8vmvQYC2hfb0iF16Uw== dependencies: undici-types "~6.19.2" @@ -2301,9 +2314,9 @@ commander@^7.2.0: integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== complex.js@^2.1.1: - version "2.2.0" - resolved "https://registry.yarnpkg.com/complex.js/-/complex.js-2.2.0.tgz#22c3ab1a5db16ae9550acc7a6e015e10a68e2b84" - integrity sha512-gKZLyOdqy5BZTh3PxB0RPuF51D8Go7MW2gV0uuagTW/lncAqndrbMmLiTwrfi6qSYx9tKU/b3GxNpLaz+wMBlw== + version "2.2.4" + resolved "https://registry.yarnpkg.com/complex.js/-/complex.js-2.2.4.tgz#d796ef4f2092d6f229351ed4ab0e9f4d743c01ca" + integrity sha512-pXNwUld1KC6YJmeNhOWtwCSRQF4384CHeZc6m/YmpRl8vwRaiwFHOxt7RTqbWZtwCu9z48JW5BtUmovZEuovkw== concat-map@0.0.1: version "0.0.1" @@ -2671,9 +2684,9 @@ es-errors@^1.3.0: integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== es-toolkit@^1.23.0: - version "1.23.0" - resolved "https://registry.yarnpkg.com/es-toolkit/-/es-toolkit-1.23.0.tgz#78909817f86c3a7b18069ebad1c097fb2163728f" - integrity sha512-1Caq9T90fX973dnm8BIEBN9l9pffbxxbZYZYwIy/B4g8oFwNTMcbbqzvIWV4XVZlHY6A8RLZvI/3agxF0CmOPA== + version "1.24.0" + resolved "https://registry.yarnpkg.com/es-toolkit/-/es-toolkit-1.24.0.tgz#2fc9bf35db5b32c41003cd581935062640c122d5" + integrity sha512-nZM+MRSGhKjCdjvqWEFr5Jns6vxoXtBcsl4/cEsGMgsMx8Z2ato4vBTGMUSIQBZJgEdKyNcgGh42yu9xiuNYtQ== es5-ext@^0.10.35, es5-ext@^0.10.62, es5-ext@^0.10.63, es5-ext@^0.10.64, es5-ext@~0.10.14: version "0.10.64" @@ -2782,7 +2795,7 @@ escape-string-regexp@^4.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -eslint-scope@^8.0.2: +eslint-scope@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-8.1.0.tgz#70214a174d4cbffbc3e8a26911d8bf51b9ae9d30" integrity sha512-14dSvlhaVhKKsa9Fx1l8A17s7ah7Ef7wCakJ10LYk6+GYmP9yDti2oq2SEwcyndt6knfcZyhyxwY3i9yL78EQw== @@ -2795,26 +2808,26 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint-visitor-keys@^4.0.0, eslint-visitor-keys@^4.1.0: +eslint-visitor-keys@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.1.0.tgz#1f785cc5e81eb7534523d85922248232077d2f8c" integrity sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg== eslint@^9.11.1: - version "9.11.1" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.11.1.tgz#701e5fc528990153f9cef696d8427003b5206567" - integrity sha512-MobhYKIoAO1s1e4VUrgx1l1Sk2JBR/Gqjjgw8+mfgoLE2xwsHur4gdfTxyTgShrhvdVFTaJSgMiQBl1jv/AWxg== + version "9.12.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.12.0.tgz#54fcba2876c90528396da0fa44b6446329031e86" + integrity sha512-UVIOlTEWxwIopRL1wgSQYdnVDcEvs2wyaO6DGo5mXqe3r16IoCNWkR29iHhyaP4cICWjbgbmFUGAhh0GJRuGZw== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.11.0" "@eslint/config-array" "^0.18.0" "@eslint/core" "^0.6.0" "@eslint/eslintrc" "^3.1.0" - "@eslint/js" "9.11.1" + "@eslint/js" "9.12.0" "@eslint/plugin-kit" "^0.2.0" + "@humanfs/node" "^0.16.5" "@humanwhocodes/module-importer" "^1.0.1" - "@humanwhocodes/retry" "^0.3.0" - "@nodelib/fs.walk" "^1.2.8" + "@humanwhocodes/retry" "^0.3.1" "@types/estree" "^1.0.6" "@types/json-schema" "^7.0.15" ajv "^6.12.4" @@ -2822,9 +2835,9 @@ eslint@^9.11.1: cross-spawn "^7.0.2" debug "^4.3.2" escape-string-regexp "^4.0.0" - eslint-scope "^8.0.2" - eslint-visitor-keys "^4.0.0" - espree "^10.1.0" + eslint-scope "^8.1.0" + eslint-visitor-keys "^4.1.0" + espree "^10.2.0" esquery "^1.5.0" esutils "^2.0.2" fast-deep-equal "^3.1.3" @@ -2834,13 +2847,11 @@ eslint@^9.11.1: ignore "^5.2.0" imurmurhash "^0.1.4" is-glob "^4.0.0" - is-path-inside "^3.0.3" json-stable-stringify-without-jsonify "^1.0.1" lodash.merge "^4.6.2" minimatch "^3.1.2" natural-compare "^1.4.0" optionator "^0.9.3" - strip-ansi "^6.0.1" text-table "^0.2.0" esniff@^2.0.1: @@ -2853,7 +2864,7 @@ esniff@^2.0.1: event-emitter "^0.3.5" type "^2.7.2" -espree@^10.0.1, espree@^10.1.0: +espree@^10.0.1, espree@^10.2.0: version "10.2.0" resolved "https://registry.yarnpkg.com/espree/-/espree-10.2.0.tgz#f4bcead9e05b0615c968e85f83816bc386a45df6" integrity sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g== @@ -2909,7 +2920,7 @@ events@^3.0.0: resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== -execa@^9.0.1, execa@^9.4.0: +execa@^9.4.0: version "9.4.0" resolved "https://registry.yarnpkg.com/execa/-/execa-9.4.0.tgz#071ff6516c46eb82af9a559dba3c891637a10f3f" integrity sha512-yKHlle2YGxZE842MERVIplWwNH5VYmqqcPFgtnlU//K8gxuFFXu0pwd/CrfXTumFpeEiufsP7+opT/bPJa1yVw== @@ -3330,7 +3341,7 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" -got@^14.2.1: +got@^14.4.2: version "14.4.2" resolved "https://registry.yarnpkg.com/got/-/got-14.4.2.tgz#988ed18d8deca3a3933915fbeff36065f8f58db7" integrity sha512-+Te/qEZ6hr7i+f0FNgXx/6WQteSM/QqueGvxeYQQFm0GDfoxLVJ/oiwUKYMTeioColWUTdewZ06hmrBjw6F7tw== @@ -3353,9 +3364,9 @@ gpt-3-encoder@1.1.4: integrity sha512-fSQRePV+HUAhCn7+7HL7lNIXNm6eaFWFbNLOOGtmSJ0qJycyQvj60OvRlH7mee8xAMjBDNRdMXlMwjAbMTDjkg== gpt-tokenizer@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/gpt-tokenizer/-/gpt-tokenizer-2.4.0.tgz#bde91fd57dc6dcf2f954597538ccf177bef60512" - integrity sha512-UmipHgPmzOVSj1Nu0bajJt7eZYnIttoaUSfgsXs77jFlpKGFBodM0fpa7989rl/pUEONKjye9WqAhlerHKux9Q== + version "2.4.1" + resolved "https://registry.yarnpkg.com/gpt-tokenizer/-/gpt-tokenizer-2.4.1.tgz#77769429d0f85c8d16d9a3c842b4c808d10051d2" + integrity sha512-toR/iMboG04xErwQGdtf4KuW4dPsiRqIh8qQ5i+Us8PW0iThUf+FqY0rNUMA8hRauf3kJttR7uVae7MNgx4OXA== graceful-fs@^4.1.6, graceful-fs@^4.2.0: version "4.2.11" @@ -3712,11 +3723,6 @@ is-obj@^3.0.0: resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-3.0.0.tgz#b0889f1f9f8cb87e87df53a8d1230a2250f8b9be" integrity sha512-IlsXEHOjtKhpN8r/tRFj2nDyTmHvcfNeu/nrRIcXE17ROeatXchkojffa1SpdqW4cr/Fj6QkEf/Gn4zf6KKvEQ== -is-path-inside@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" - integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== - is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" @@ -4655,9 +4661,9 @@ openai@^3.2.1: form-data "^4.0.0" openai@^4.67.1: - version "4.67.1" - resolved "https://registry.yarnpkg.com/openai/-/openai-4.67.1.tgz#ed07c40bf24c5f4108dfb662de1471f0c75e890d" - integrity sha512-2YbRFy6qaYRJabK2zLMn4txrB2xBy0KP5g/eoqeSPTT31mIJMnkT75toagvfE555IKa2RdrzJrZwdDsUipsAMw== + version "4.67.3" + resolved "https://registry.yarnpkg.com/openai/-/openai-4.67.3.tgz#a7c1b59cb9eca064f3ff3d439b7bf51487d88a49" + integrity sha512-HT2tZgjLgRqbLQNKmYtjdF/4TQuiBvg1oGvTDhwpSEQzxo6/oM1us8VQ53vBK2BiKvCxFuq6gKGG70qfwrNhKg== dependencies: "@types/node" "^18.11.18" "@types/node-fetch" "^2.6.4" @@ -4959,17 +4965,17 @@ platform@^1.3.6: resolved "https://registry.yarnpkg.com/platform/-/platform-1.3.6.tgz#48b4ce983164b209c2d45a107adb31f473a6e7a7" integrity sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg== -playwright-core@1.47.2: - version "1.47.2" - resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.47.2.tgz#7858da9377fa32a08be46ba47d7523dbd9460a4e" - integrity sha512-3JvMfF+9LJfe16l7AbSmU555PaTl2tPyQsVInqm3id16pdDfvZ8TTZ/pyzmkbDrZTQefyzU7AIHlZqQnxpqHVQ== +playwright-core@1.48.0: + version "1.48.0" + resolved "https://registry.yarnpkg.com/playwright-core/-/playwright-core-1.48.0.tgz#34d209dd4aba8fccd4a96116f1c4f7630f868722" + integrity sha512-RBvzjM9rdpP7UUFrQzRwR8L/xR4HyC1QXMzGYTbf1vjw25/ya9NRAVnXi/0fvFopjebvyPzsmoK58xxeEOaVvA== playwright@^1.47.2: - version "1.47.2" - resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.47.2.tgz#155688aa06491ee21fb3e7555b748b525f86eb20" - integrity sha512-nx1cLMmQWqmA3UsnjaaokyoUpdVaaDhJhMoxX2qj3McpjnsqFHs516QAKYhqHAgOP+oCFTEOCOAaD1RgD/RQfA== + version "1.48.0" + resolved "https://registry.yarnpkg.com/playwright/-/playwright-1.48.0.tgz#00855d9a25f1991d422867f1c32af5d90f457b48" + integrity sha512-qPqFaMEHuY/ug8o0uteYJSRfMGFikhUysk8ZvAtfKmUK3kc/6oNl/y3EczF8OFGYIi/Ex2HspMfzYArk6+XQSA== dependencies: - playwright-core "1.47.2" + playwright-core "1.48.0" optionalDependencies: fsevents "2.3.2" @@ -6458,9 +6464,9 @@ zod@^3.23.8: integrity sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g== zx@^8.1.8: - version "8.1.8" - resolved "https://registry.yarnpkg.com/zx/-/zx-8.1.8.tgz#0d0abb501d7e2593bf6f4539fc578ad36e6988b3" - integrity sha512-m8s48skYQ8EcRz9KXfc7rZCjqlZevOGiNxq5tNhDiGnhOvXKRGxVr+ajUma9B6zxMdHGSSbnjV/R/r7Ue2xd+A== + version "8.1.9" + resolved "https://registry.yarnpkg.com/zx/-/zx-8.1.9.tgz#36b8be5929a1c870dcaa28551095e17aa7ebf251" + integrity sha512-UHuLHphHmsBYKkAchkSrEN4nzDyagafqC9HUxtc1J7eopaScW6H9dsLJ1lmkAntnLtDTGoM8fa+jrJrXiIfKFA== optionalDependencies: "@types/fs-extra" ">=11" "@types/node" ">=20"