A self-improving RLM agent for coding workflows and long-running autonomous tasks.
Rust
chore(deps): consolidate dependency updates (#632)
Sebastian Müller47dccfad4c0e
diff --git a/biome.json b/biome.jsonindex 9d8b3975e6..5fc3aa3ba5 100644--- a/biome.json+++ b/biome.json@@ -1,9 +1,9 @@{- "$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",+ "$schema": "https://biomejs.dev/schemas/2.5.5/schema.json","linter": {"enabled": true,"rules": {- "recommended": true,+ "preset": "recommended","style": {"noNonNullAssertion": "off","useConst": "error",@@ -13,6 +13,12 @@"noExplicitAny": "off","noControlCharactersInRegex": "off","noEmptyInterface": "off"+ },+ "complexity": {+ "useOptionalChain": "off"+ },+ "correctness": {+ "noUnsafeOptionalChaining": "off"}}},diff --git a/package-lock.json b/package-lock.jsonindex f782584da0..64651d2e35 100644--- a/package-lock.json+++ b/package-lock.json@@ -20,7 +20,7 @@},"devDependencies": {"@anthropic-ai/sandbox-runtime": "^0.0.55",- "@biomejs/biome": "2.3.5",+ "@biomejs/biome": "2.5.5","@types/node": "^22.10.5","@typescript/native-preview": "7.0.0-dev.20260120.1","concurrently": "^9.2.4",@@ -28,7 +28,7 @@"jiti": "^2.7.0","shx": "^0.4.0","tsx": "^4.23.1",- "typescript": "^5.9.2"+ "typescript": "^7.0.2"},"engines": {"node": ">=22.8.0"@@ -63,14 +63,6 @@"node": ">=18.0.0"}},- "node_modules/@anthropic-ai/sandbox-runtime/node_modules/zod": {- "version": "3.25.76",- "dev": true,- "license": "MIT",- "funding": {- "url": "https://github.com/sponsors/colinhacks"- }- },"node_modules/@anthropic-ai/sdk": {"version": "0.91.1","license": "MIT",@@ -90,22 +82,22 @@}},"node_modules/@aws-sdk/client-bedrock-runtime": {- "version": "3.1083.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/client-bedrock-runtime/-/client-bedrock-runtime-3.1083.0.tgz",- "integrity": "sha512-1mc2lW5uKpyTQWmRdC4AEF4LOAg5XpMmwqRmPVLx4M/VaVL5c3bxaZSaJeHfMVNeRRt/mk08dWXm7WWf+7G9IQ==",+ "version": "3.1095.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/client-bedrock-runtime/-/client-bedrock-runtime-3.1095.0.tgz",+ "integrity": "sha512-DWcwoQdQPrQJxnG3hz1sG88EjfzGv3SReRy4mtAO+pZXtLX+trriTa20o+qcTmVzwqS43JXtX26ythOzErev9A==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/credential-provider-node": "^3.972.66",- "@aws-sdk/eventstream-handler-node": "^3.972.26",- "@aws-sdk/middleware-eventstream": "^3.972.22",- "@aws-sdk/middleware-websocket": "^3.972.39",- "@aws-sdk/token-providers": "3.1083.0",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/fetch-http-handler": "^5.6.4",- "@smithy/node-http-handler": "^4.9.4",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/credential-provider-node": "^3.972.72",+ "@aws-sdk/eventstream-handler-node": "^3.972.30",+ "@aws-sdk/middleware-eventstream": "^3.972.25",+ "@aws-sdk/middleware-websocket": "^3.972.43",+ "@aws-sdk/token-providers": "3.1095.0",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/fetch-http-handler": "^5.6.10",+ "@smithy/node-http-handler": "^4.9.10",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -113,17 +105,17 @@}},"node_modules/@aws-sdk/core": {- "version": "3.975.1",- "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.975.1.tgz",- "integrity": "sha512-8qh/6EYb7hl/ZwVfQufhbMEZs1gQIc7GbdrIf4eprQJ7cv042+74nE6l3YDfyWNzb9iPXb8fRyYSHkNIk5eE6Q==",+ "version": "3.977.1",+ "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.977.1.tgz",+ "integrity": "sha512-KVtQRtc00ES/y+Sc3vYXeP6pCIcNlBJCZOwvqSy8ZpVGmbM5+IG+AfhuTKQ2oXmIVqZJewaGMMpzPkywC6xg0w==","license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "^3.974.0",- "@aws-sdk/xml-builder": "^3.972.34",+ "@aws-sdk/types": "^3.974.2",+ "@aws-sdk/xml-builder": "^3.972.37","@aws/lambda-invoke-store": "^0.3.0",- "@smithy/core": "^3.29.2",- "@smithy/signature-v4": "^5.6.3",- "@smithy/types": "^4.16.0",+ "@smithy/core": "^3.29.8",+ "@smithy/signature-v4": "^5.6.9",+ "@smithy/types": "^4.16.1","bowser": "^2.11.0","tslib": "^2.6.2"},@@ -132,15 +124,15 @@}},"node_modules/@aws-sdk/credential-provider-env": {- "version": "3.972.57",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.57.tgz",- "integrity": "sha512-1RfJaF7SW1TOnvNGU7kaYjwUf5H3sfm+synGH1bHhRlqcnxCt3szebH3dmKEyY4tuGcbQ6ffzUT89cRitBV8OQ==",+ "version": "3.972.61",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.972.61.tgz",+ "integrity": "sha512-qihs2ekMb89Nxd2JenCgVFhjbkb3EIo7HEBCBzyZACKVJdrLUZBLOmAE3xr0Sayml8n/jZSzwO/IufIiIzO7PQ==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -148,17 +140,17 @@}},"node_modules/@aws-sdk/credential-provider-http": {- "version": "3.972.59",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.59.tgz",- "integrity": "sha512-sRCkpTiFnCdQvuaRVjQ6SVoHu6i7RUpurVo1c4F81HWhPvUJ7Wdp5MNtSdX1O29CNXc8em3O5m52hCjVtAD9SA==",+ "version": "3.972.63",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.972.63.tgz",+ "integrity": "sha512-yfozsS8wkWZEi/n6IsrodcFKBWZ0iNAezhJbTReMNc0z1Px17qdeAeuL1/wziCAmCZyXiW7QzP75ggJkBQv8jQ==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/fetch-http-handler": "^5.6.4",- "@smithy/node-http-handler": "^4.9.4",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/fetch-http-handler": "^5.6.10",+ "@smithy/node-http-handler": "^4.9.10",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -166,23 +158,23 @@}},"node_modules/@aws-sdk/credential-provider-ini": {- "version": "3.973.1",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.1.tgz",- "integrity": "sha512-6d8H6ZAh3ZPKZ6fe1nG2OWeZEZPtt9ravoD1dezPdPtsSkJRoxGAnFSHwKT3E/Te6fHE30zRzjV6TD12rvF6yQ==",+ "version": "3.973.6",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.973.6.tgz",+ "integrity": "sha512-jGLTW1bj148GL/6/IMlfY2fMYS9FtHOG+NahkFD4y0qkzYudNUahelxryY68/HGMslYuHClk1XaS/3b3eJzEkg==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/credential-provider-env": "^3.972.57",- "@aws-sdk/credential-provider-http": "^3.972.59",- "@aws-sdk/credential-provider-login": "^3.972.63",- "@aws-sdk/credential-provider-process": "^3.972.57",- "@aws-sdk/credential-provider-sso": "^3.973.1",- "@aws-sdk/credential-provider-web-identity": "^3.972.63",- "@aws-sdk/nested-clients": "^3.997.31",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/credential-provider-imds": "^4.4.7",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/credential-provider-env": "^3.972.61",+ "@aws-sdk/credential-provider-http": "^3.972.63",+ "@aws-sdk/credential-provider-login": "^3.972.68",+ "@aws-sdk/credential-provider-process": "^3.972.61",+ "@aws-sdk/credential-provider-sso": "^3.973.5",+ "@aws-sdk/credential-provider-web-identity": "^3.972.67",+ "@aws-sdk/nested-clients": "^3.997.35",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/credential-provider-imds": "^4.4.13",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -190,16 +182,16 @@}},"node_modules/@aws-sdk/credential-provider-login": {- "version": "3.972.63",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.63.tgz",- "integrity": "sha512-GREWRrMj0XnNKMaVa/Mauoaui26qBEHu71WWqXbwZOu/jFQOnPZjTf7u0KtGKC8VGa6VUs9kDWGgocrKNLS9vw==",+ "version": "3.972.68",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-login/-/credential-provider-login-3.972.68.tgz",+ "integrity": "sha512-w6tNci6g7RqFpLhj1f5xseBvaNojb4Pkgp5Jp5apl9hrJtaf2AA+rX9+qlhlWUK6kcyAFYPA7emO+55zj+S98Q==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/nested-clients": "^3.997.31",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/nested-clients": "^3.997.35",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -207,21 +199,21 @@}},"node_modules/@aws-sdk/credential-provider-node": {- "version": "3.972.66",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.66.tgz",- "integrity": "sha512-f+qjRXZpz7sgzbc4QB+6nLKfyKFgRRXzWdXbsKPv/VhVRyHsDyq4yBWC/B75BAJpFIcUeI2XR/3gdWJ677zB4A==",+ "version": "3.972.72",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.972.72.tgz",+ "integrity": "sha512-blQ7F5QGzylnzeh5549zQLoCAiMHkXFLjFovEMaVy4b2X8JhUu+u9NXro1hyK95YHdVFNmBHKs2hIHtZchxKlQ==","license": "Apache-2.0","dependencies": {- "@aws-sdk/credential-provider-env": "^3.972.57",- "@aws-sdk/credential-provider-http": "^3.972.59",- "@aws-sdk/credential-provider-ini": "^3.973.1",- "@aws-sdk/credential-provider-process": "^3.972.57",- "@aws-sdk/credential-provider-sso": "^3.973.1",- "@aws-sdk/credential-provider-web-identity": "^3.972.63",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/credential-provider-imds": "^4.4.7",- "@smithy/types": "^4.16.0",+ "@aws-sdk/credential-provider-env": "^3.972.61",+ "@aws-sdk/credential-provider-http": "^3.972.63",+ "@aws-sdk/credential-provider-ini": "^3.973.6",+ "@aws-sdk/credential-provider-process": "^3.972.61",+ "@aws-sdk/credential-provider-sso": "^3.973.5",+ "@aws-sdk/credential-provider-web-identity": "^3.972.67",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/credential-provider-imds": "^4.4.13",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -229,15 +221,15 @@}},"node_modules/@aws-sdk/credential-provider-process": {- "version": "3.972.57",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.57.tgz",- "integrity": "sha512-TiVQhuU0pbhIZAUZacbPHMyzrIdiH+lnx+PMY/Pu/b93dJrq3wdZwzUJ0TPpvNxaqbHsxJvQZW3/h/beLiKq7Q==",+ "version": "3.972.61",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.972.61.tgz",+ "integrity": "sha512-xzRuj+fUVO4nkafKQJVKAF97kGpeQbfjuwmRrtGZNf42/1dkmcz6o7dswBy7alY0htQn5sCL1GWQYEykviWZkA==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -245,17 +237,17 @@}},"node_modules/@aws-sdk/credential-provider-sso": {- "version": "3.973.1",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.1.tgz",- "integrity": "sha512-3foTZUJ4821Ij60X7K3NJroygiZLnbBmarN+T//O2cjkISan90zElN3NBmgSlDrTQ7Gs6z/yO8V7h60QNcDZHQ==",+ "version": "3.973.5",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.973.5.tgz",+ "integrity": "sha512-fZRjjWhLFelsDoOYjqShQTrIGYC3Pf9Mx9Czf+1ikfQDgktxjze33dVo1q1/ZQ+T0qbtejVoHNHrfD5aJVpv/w==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/nested-clients": "^3.997.31",- "@aws-sdk/token-providers": "3.1083.0",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/nested-clients": "^3.997.35",+ "@aws-sdk/token-providers": "3.1095.0",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -263,16 +255,16 @@}},"node_modules/@aws-sdk/credential-provider-web-identity": {- "version": "3.972.63",- "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.63.tgz",- "integrity": "sha512-8qZLFhM69eKcS37m459ctPR05Qimycm/74OPVioe6wNZabMT54GYhwBju0+J656RkMasNSawWQu+c8CmBe3TUQ==",+ "version": "3.972.67",+ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.972.67.tgz",+ "integrity": "sha512-FTNZ05gkPBA6CKbU3N4zPgybV+stdazwMOya75CmGdcJL7p8Fw/BdHP8WVxJd0mvzyPK2cg/C3gli58Ir4HgCw==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/nested-clients": "^3.997.31",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/nested-clients": "^3.997.35",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -280,14 +272,14 @@}},"node_modules/@aws-sdk/eventstream-handler-node": {- "version": "3.972.26",- "resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-handler-node/-/eventstream-handler-node-3.972.26.tgz",- "integrity": "sha512-RE1fu7Nn05vG0EUJM+8Sde2GFecC658WGaC/asPzLF6K4x3H5ZaDBcQtHRE67Gdgb1VZpyUUliYejHFK1qt0Uw==",+ "version": "3.972.30",+ "resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-handler-node/-/eventstream-handler-node-3.972.30.tgz",+ "integrity": "sha512-hJboPgIpq5+ADc++/B9TBqn65CXV21cZLGB8V5RBQbxkZ/rQ6qMfcxTnW/SvQlasX4jhaSG8B1wsVjhQyDrsnQ==","license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -295,14 +287,14 @@}},"node_modules/@aws-sdk/middleware-eventstream": {- "version": "3.972.22",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-eventstream/-/middleware-eventstream-3.972.22.tgz",- "integrity": "sha512-jtkgmhevnpzC1WeS+Y/sgymYbaQ6qg7pVOUl5cUT/8MiLptqrtnXQlNV80m+j2WIx5MIL7kVHIZNxxcK2tfUEQ==",+ "version": "3.972.25",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-eventstream/-/middleware-eventstream-3.972.25.tgz",+ "integrity": "sha512-9SFbPzJDHHR5k6Q6KvXVas/veUm/TzNcNTFM2UhdXHZHpyIvI2lS+s4cxljw1BihGpVhsAkQDo/2nW7dHxpf4Q==","license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -310,17 +302,17 @@}},"node_modules/@aws-sdk/middleware-websocket": {- "version": "3.972.39",- "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-websocket/-/middleware-websocket-3.972.39.tgz",- "integrity": "sha512-CS1spxRSezmTmI3PD+3Xrnp6KryTSEz0EefA8u6uGd0s2I0uXseWHALDI/03Wi0IUczXNWo2QrZEaHDuJNby/Q==",+ "version": "3.972.43",+ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-websocket/-/middleware-websocket-3.972.43.tgz",+ "integrity": "sha512-n29++15Vma64Kd0enp9Bo8a6LTm8TvUoMbJEwqXtIksv0oEs+SUCRMm3gozDfPD1Ly0k/sSBughxarlLlRF6Xw==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/fetch-http-handler": "^5.6.4",- "@smithy/signature-v4": "^5.6.3",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/fetch-http-handler": "^5.6.10",+ "@smithy/signature-v4": "^5.6.9",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -328,18 +320,18 @@}},"node_modules/@aws-sdk/nested-clients": {- "version": "3.997.31",- "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.997.31.tgz",- "integrity": "sha512-BDHTpwcsZHEBNEJzOg/B1BkFYJxAXY50dau/NyVWs3d51F0WgIUGSWZot/Os+N3KpDhXeaXnz37mWffAvduREw==",+ "version": "3.997.35",+ "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.997.35.tgz",+ "integrity": "sha512-2MJfseVG/aXvIyOIBlYA/Oaf6qFDdsu4D8RKsEUdOQpVuLaor0BdxIBBtJLBNQQEe6Ku3YMvLljwb1MwVUpzRw==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/signature-v4-multi-region": "^3.996.39",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/fetch-http-handler": "^5.6.4",- "@smithy/node-http-handler": "^4.9.4",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/signature-v4-multi-region": "^3.996.42",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/fetch-http-handler": "^5.6.10",+ "@smithy/node-http-handler": "^4.9.10",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -347,14 +339,14 @@}},"node_modules/@aws-sdk/signature-v4-multi-region": {- "version": "3.996.39",- "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.39.tgz",- "integrity": "sha512-8+srXqYIF8KYMLC4FxMLEM5Ek7kUNibJu1R4m8/fUhhNYIZZz26oGtKkCr8I/HiG2fFQxBvaGgQZT4/mqRCSnA==",+ "version": "3.996.42",+ "resolved": "https://registry.npmjs.org/@aws-sdk/signature-v4-multi-region/-/signature-v4-multi-region-3.996.42.tgz",+ "integrity": "sha512-DBV4naZP6HYBlAvPpoQzOP12Wvfou/5rN8yJPXjBTBylU5qwCbh/tXr2MddHoIjgoRkEl/eS+IljiUqvmwey1Q==","license": "Apache-2.0","dependencies": {- "@aws-sdk/types": "^3.974.0",- "@smithy/signature-v4": "^5.6.3",- "@smithy/types": "^4.16.0",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/signature-v4": "^5.6.9",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -362,16 +354,16 @@}},"node_modules/@aws-sdk/token-providers": {- "version": "3.1083.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1083.0.tgz",- "integrity": "sha512-s0woKnxuHrExLc5L2ArIH5BMkbonHPtt+5hSBM8oknp9M6QTuUmmAmJ2E0EdzCGONrO+8+ADPqvv6UX0nNcc7A==",+ "version": "3.1095.0",+ "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.1095.0.tgz",+ "integrity": "sha512-65SudS6y4nzaYHybtqcpm3sHe5jLhdMn68HRKS1nUx690BtQeaAQOoujQ+dpOjBATIVGVgKKjEP8tR+U06QJQA==","license": "Apache-2.0","dependencies": {- "@aws-sdk/core": "^3.975.1",- "@aws-sdk/nested-clients": "^3.997.31",- "@aws-sdk/types": "^3.974.0",- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@aws-sdk/core": "^3.977.0",+ "@aws-sdk/nested-clients": "^3.997.35",+ "@aws-sdk/types": "^3.974.2",+ "@smithy/core": "^3.29.8",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -379,12 +371,12 @@}},"node_modules/@aws-sdk/types": {- "version": "3.974.0",- "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.974.0.tgz",- "integrity": "sha512-QIBrw90CDm4O0UaIIzkU6DrFdeJzEb2Va5EPEVpyldj6sHJxB6cshhStJuhZxk3wR3PmjJlYsjPmY1kNb+KGBg==",+ "version": "3.974.2",+ "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.974.2.tgz",+ "integrity": "sha512-3W6IUtSxFbH6X7Wb7DzGCV5QiFQsd0g8bOfntpmDxQlzBoKWUMBu/JPQR0DwkE+Hpnxd6db1tXbOwdeHddG6cA==","license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.16.0",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -392,12 +384,12 @@}},"node_modules/@aws-sdk/xml-builder": {- "version": "3.972.34",- "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.34.tgz",- "integrity": "sha512-wHhWL1y7sN3enBA8POrPpQM5jCcmu2ozyhbRei4c8OjVcEaEs6yLucLa/pla457ggS/ysuy7bosagz3HaJkZXA==",+ "version": "3.972.37",+ "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.972.37.tgz",+ "integrity": "sha512-zKq4HQum8JwDyEuyfuI4bbiAcU0KxP6qy+9PR/IsR92IyE/DaBAikzAS50tjxip4bqIIANpCcG+Yyj6CVhXupg==","license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.16.0",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -421,7 +413,9 @@}},"node_modules/@biomejs/biome": {- "version": "2.3.5",+ "version": "2.5.5",+ "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.5.5.tgz",+ "integrity": "sha512-r1S8nFsAG1MY+vJFZALzIvwXAJv6ejDQ0mxP21Tgr9YK3ZFtjrvbBwDdNhx1rUqvccEIeNg20cYCNzl6Cr69pQ==","dev": true,"license": "MIT OR Apache-2.0","bin": {@@ -435,18 +429,20 @@"url": "https://opencollective.com/biome"},"optionalDependencies": {- "@biomejs/cli-darwin-arm64": "2.3.5",- "@biomejs/cli-darwin-x64": "2.3.5",- "@biomejs/cli-linux-arm64": "2.3.5",- "@biomejs/cli-linux-arm64-musl": "2.3.5",- "@biomejs/cli-linux-x64": "2.3.5",- "@biomejs/cli-linux-x64-musl": "2.3.5",- "@biomejs/cli-win32-arm64": "2.3.5",- "@biomejs/cli-win32-x64": "2.3.5"+ "@biomejs/cli-darwin-arm64": "2.5.5",+ "@biomejs/cli-darwin-x64": "2.5.5",+ "@biomejs/cli-linux-arm64": "2.5.5",+ "@biomejs/cli-linux-arm64-musl": "2.5.5",+ "@biomejs/cli-linux-x64": "2.5.5",+ "@biomejs/cli-linux-x64-musl": "2.5.5",+ "@biomejs/cli-win32-arm64": "2.5.5",+ "@biomejs/cli-win32-x64": "2.5.5"}},"node_modules/@biomejs/cli-darwin-arm64": {- "version": "2.3.5",+ "version": "2.5.5",+ "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.5.5.tgz",+ "integrity": "sha512-kUrAhXVWUrwmAUnV2iXSK7umxKFysTwvqK+Ty6ptUcLY/7T3SnCAjUowE4uvwaEej6nXZ7hu/dTtbokKdsPeag==","cpu": ["arm64"],@@ -461,9 +457,9 @@}},"node_modules/@biomejs/cli-darwin-x64": {- "version": "2.3.5",- "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.3.5.tgz",- "integrity": "sha512-qpT8XDqeUlzrOW8zb4k3tjhT7rmvVRumhi2657I2aGcY4B+Ft5fNwDdZGACzn8zj7/K1fdWjgwYE3i2mSZ+vOA==",+ "version": "2.5.5",+ "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.5.5.tgz",+ "integrity": "sha512-DamiYc5bUYZ2uxlfc+RLEPtz1Abb6PO5eTbOkufLpSGwd/7AMQAdxhFYiXmwwkJL8IsT8S7GvdgwDHqaMFAvKw==","cpu": ["x64"],@@ -478,13 +474,16 @@}},"node_modules/@biomejs/cli-linux-arm64": {- "version": "2.3.5",- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.3.5.tgz",- "integrity": "sha512-u/pybjTBPGBHB66ku4pK1gj+Dxgx7/+Z0jAriZISPX1ocTO8aHh8x8e7Kb1rB4Ms0nA/SzjtNOVJ4exVavQBCw==",+ "version": "2.5.5",+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.5.5.tgz",+ "integrity": "sha512-lRKF/pH/1RiYiBKExi3TCZVAtvzEm77aifrvcNiDFrR9WxeAnDUjDnseb6y2XV85mjitLs6SILGm2XG77cHtSQ==","cpu": ["arm64"],"dev": true,+ "libc": [+ "glibc"+ ],"license": "MIT OR Apache-2.0","optional": true,"os": [@@ -495,13 +494,16 @@}},"node_modules/@biomejs/cli-linux-arm64-musl": {- "version": "2.3.5",- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.3.5.tgz",- "integrity": "sha512-eGUG7+hcLgGnMNl1KHVZUYxahYAhC462jF/wQolqu4qso2MSk32Q+QrpN7eN4jAHAg7FUMIo897muIhK4hXhqg==",+ "version": "2.5.5",+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.5.5.tgz",+ "integrity": "sha512-U4WMl/sy/E/Q73vf15VspakLRRs2LDFcCeBxJnQfXzssb88zpV6PJPaQ3ezhQ7H6Ht2/8bvuZeHgJWzmoxllZg==","cpu": ["arm64"],"dev": true,+ "libc": [+ "musl"+ ],"license": "MIT OR Apache-2.0","optional": true,"os": [@@ -512,13 +514,16 @@}},"node_modules/@biomejs/cli-linux-x64": {- "version": "2.3.5",- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.3.5.tgz",- "integrity": "sha512-XrIVi9YAW6ye0CGQ+yax0gLfx+BFOtKaNX74n+xHWla6Cl6huUmcKNO7HPx7BiKnJUzrxXY1qYlm7xMvi08X4g==",+ "version": "2.5.5",+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.5.5.tgz",+ "integrity": "sha512-H/O39nJEw/2Zm/fm7hrmxxoF8kK/aU1uCoPp70ruXVbomaAdLpJJnCmL11Q2JotT8QVHH06So04Oq53lCSwSwQ==","cpu": ["x64"],"dev": true,+ "libc": [+ "glibc"+ ],"license": "MIT OR Apache-2.0","optional": true,"os": [@@ -529,13 +534,16 @@}},"node_modules/@biomejs/cli-linux-x64-musl": {- "version": "2.3.5",- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.3.5.tgz",- "integrity": "sha512-awVuycTPpVTH/+WDVnEEYSf6nbCBHf/4wB3lquwT7puhNg8R4XvonWNZzUsfHZrCkjkLhFH/vCZK5jHatD9FEg==",+ "version": "2.5.5",+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.5.5.tgz",+ "integrity": "sha512-m7wC7tjX5Lrmo69dc4md8FeKpPU1NTCY1v7xUoQQ2vadWwNnBS0KZOG8471otFPHrTHihQJAjQPgMObpLvDe6A==","cpu": ["x64"],"dev": true,+ "libc": [+ "musl"+ ],"license": "MIT OR Apache-2.0","optional": true,"os": [@@ -546,9 +554,9 @@}},"node_modules/@biomejs/cli-win32-arm64": {- "version": "2.3.5",- "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.3.5.tgz",- "integrity": "sha512-DlBiMlBZZ9eIq4H7RimDSGsYcOtfOIfZOaI5CqsWiSlbTfqbPVfWtCf92wNzx8GNMbu1s7/g3ZZESr6+GwM/SA==",+ "version": "2.5.5",+ "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.5.5.tgz",+ "integrity": "sha512-7BryINPuYypLUAH3o/o5ZdgomJ4zn3EDR0ChZJst7n32S6ZhKbgHXuYydLu+YAnx59ehGFR0z/MG6qnzQi3Yyw==","cpu": ["arm64"],@@ -563,9 +571,9 @@}},"node_modules/@biomejs/cli-win32-x64": {- "version": "2.3.5",- "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.3.5.tgz",- "integrity": "sha512-nUmR8gb6yvrKhtRgzwo/gDimPwnO5a4sCydf8ZS2kHIJhEmSmk+STsusr1LHTuM//wXppBawvSQi2xFXJCdgKQ==",+ "version": "2.5.5",+ "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.5.5.tgz",+ "integrity": "sha512-bIBFo+n6MIxdNcVFy5CrurbKiZQiUciK3bt8+O9I4wjFZNTfXLpi+giq47522eXqW5NBc9ulx7dR1SlZKi2J5g==","cpu": ["x64"],@@ -604,35 +612,38 @@"link": true},"node_modules/@emnapi/core": {- "version": "1.10.0",- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",- "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==",+ "version": "2.0.0-alpha.3",+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-2.0.0-alpha.3.tgz",+ "integrity": "sha512-AZypUeJ/yByuxyS7BlSNRDOMLMlROYtjYdIAuBmJssVz1UJDSeYxLrdizhXCFYhedC5bqd/ASy8EuNXbVVXp9g==","dev": true,"license": "MIT","optional": true,+ "peer": true,"dependencies": {- "@emnapi/wasi-threads": "1.2.1",+ "@emnapi/wasi-threads": "2.0.1","tslib": "^2.4.0"}},"node_modules/@emnapi/runtime": {- "version": "1.10.0",- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",- "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",+ "version": "2.0.0-alpha.3",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-2.0.0-alpha.3.tgz",+ "integrity": "sha512-hFPAhMUjJD9BSyCANEISPOogeXC9Zo9ZQl7L6vKnaVsMkCtzznaW/naYypeyl0Gv5rYfWYsZbpixTMpjDJzQeA==","dev": true,"license": "MIT","optional": true,+ "peer": true,"dependencies": {"tslib": "^2.4.0"}},"node_modules/@emnapi/wasi-threads": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",- "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-2.0.1.tgz",+ "integrity": "sha512-9DsSk+o5NBX0CCJT8s0EROGSGxjR/tKu6aBTaVyq+SjAEQH4XcdcRxPBRzsBLizTTJ49MJjF+jgu3qnO9GLQcQ==","dev": true,"license": "MIT","optional": true,+ "peer": true,"dependencies": {"tslib": "^2.4.0"}@@ -1312,22 +1323,25 @@}},"node_modules/@napi-rs/wasm-runtime": {- "version": "1.1.5",- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.5.tgz",- "integrity": "sha512-AWPoBRJ9tsnVhor4sjO7rkni+7p+2IAEFj6cx06UgP10jkQHqay/36uRV/bFkgrh18D9vb4cr8Q0Pthskgzy+Q==",+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.0.tgz",+ "integrity": "sha512-kDoONqMa+VnZ4vvvu/ZUurpJ4gkZU57e7g69qpNgWhYcZFPUHZM2CEMKm+cG6ufDVALbjMvfmMjFVqaK7uEMnA==","dev": true,"license": "MIT","optional": true,"dependencies": {- "@tybys/wasm-util": "^0.10.2"+ "@tybys/wasm-util": "^0.10.3"+ },+ "engines": {+ "node": "^20.19.0 || ^22.13.0 || >=23.5.0"},"funding": {"type": "github","url": "https://github.com/sponsors/Brooooooklyn"},"peerDependencies": {- "@emnapi/core": "^1.7.1",- "@emnapi/runtime": "^1.7.1"+ "@emnapi/core": "^2.0.0-alpha.3",+ "@emnapi/runtime": "^2.0.0-alpha.3"}},"node_modules/@nodelib/fs.scandir": {@@ -1363,9 +1377,9 @@}},"node_modules/@oxc-project/types": {- "version": "0.133.0",- "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.133.0.tgz",- "integrity": "sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA==",+ "version": "0.139.0",+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.139.0.tgz",+ "integrity": "sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==","dev": true,"license": "MIT","funding": {@@ -1374,7 +1388,6 @@},"node_modules/@pondwader/socks5-server": {"version": "1.0.10",- "dev": true,"license": "MIT"},"node_modules/@protobufjs/aspromise": {@@ -1423,9 +1436,9 @@"license": "BSD-3-Clause"},"node_modules/@rolldown/binding-android-arm64": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.3.tgz",- "integrity": "sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.1.5.tgz",+ "integrity": "sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==","cpu": ["arm64"],@@ -1440,9 +1453,9 @@}},"node_modules/@rolldown/binding-darwin-arm64": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.3.tgz",- "integrity": "sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.1.5.tgz",+ "integrity": "sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw==","cpu": ["arm64"],@@ -1457,9 +1470,9 @@}},"node_modules/@rolldown/binding-darwin-x64": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.3.tgz",- "integrity": "sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.1.5.tgz",+ "integrity": "sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g==","cpu": ["x64"],@@ -1474,9 +1487,9 @@}},"node_modules/@rolldown/binding-freebsd-x64": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.3.tgz",- "integrity": "sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.1.5.tgz",+ "integrity": "sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA==","cpu": ["x64"],@@ -1491,9 +1504,9 @@}},"node_modules/@rolldown/binding-linux-arm-gnueabihf": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.3.tgz",- "integrity": "sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.1.5.tgz",+ "integrity": "sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw==","cpu": ["arm"],@@ -1508,9 +1521,9 @@}},"node_modules/@rolldown/binding-linux-arm64-gnu": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.3.tgz",- "integrity": "sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.1.5.tgz",+ "integrity": "sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q==","cpu": ["arm64"],@@ -1528,9 +1541,9 @@}},"node_modules/@rolldown/binding-linux-arm64-musl": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.3.tgz",- "integrity": "sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.1.5.tgz",+ "integrity": "sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==","cpu": ["arm64"],@@ -1548,9 +1561,9 @@}},"node_modules/@rolldown/binding-linux-ppc64-gnu": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.3.tgz",- "integrity": "sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.1.5.tgz",+ "integrity": "sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==","cpu": ["ppc64"],@@ -1568,9 +1581,9 @@}},"node_modules/@rolldown/binding-linux-s390x-gnu": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.3.tgz",- "integrity": "sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.1.5.tgz",+ "integrity": "sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==","cpu": ["s390x"],@@ -1588,9 +1601,9 @@}},"node_modules/@rolldown/binding-linux-x64-gnu": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.3.tgz",- "integrity": "sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.1.5.tgz",+ "integrity": "sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==","cpu": ["x64"],@@ -1608,9 +1621,9 @@}},"node_modules/@rolldown/binding-linux-x64-musl": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.3.tgz",- "integrity": "sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.1.5.tgz",+ "integrity": "sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==","cpu": ["x64"],@@ -1628,9 +1641,9 @@}},"node_modules/@rolldown/binding-openharmony-arm64": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.3.tgz",- "integrity": "sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.1.5.tgz",+ "integrity": "sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==","cpu": ["arm64"],@@ -1645,9 +1658,9 @@}},"node_modules/@rolldown/binding-wasm32-wasi": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.3.tgz",- "integrity": "sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.1.5.tgz",+ "integrity": "sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA==","cpu": ["wasm32"],@@ -1655,18 +1668,52 @@"license": "MIT","optional": true,"dependencies": {- "@emnapi/core": "1.10.0",- "@emnapi/runtime": "1.10.0",- "@napi-rs/wasm-runtime": "^1.1.4"+ "@emnapi/core": "1.11.1",+ "@emnapi/runtime": "1.11.1",+ "@napi-rs/wasm-runtime": "^1.1.6"},"engines": {"node": "^20.19.0 || >=22.12.0"}},+ "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/core": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.1.tgz",+ "integrity": "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/wasi-threads": "1.2.2",+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/runtime": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.1.tgz",+ "integrity": "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@rolldown/binding-wasm32-wasi/node_modules/@emnapi/wasi-threads": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz",+ "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==",+ "dev": true,+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },"node_modules/@rolldown/binding-win32-arm64-msvc": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.3.tgz",- "integrity": "sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.1.5.tgz",+ "integrity": "sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw==","cpu": ["arm64"],@@ -1681,9 +1728,9 @@}},"node_modules/@rolldown/binding-win32-x64-msvc": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.3.tgz",- "integrity": "sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.1.5.tgz",+ "integrity": "sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA==","cpu": ["x64"],@@ -1709,12 +1756,12 @@"license": "Apache-2.0"},"node_modules/@smithy/core": {- "version": "3.29.2",- "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.29.2.tgz",- "integrity": "sha512-DXUk6yU0C1Q1tYvJh1VCtl8QOBcSoZpKwjTPkxT6A4MUQYHvgeKGByL8mrEdxnvhdf9nq5GyzmRb5n/vPgu3Lw==",+ "version": "3.30.0",+ "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.30.0.tgz",+ "integrity": "sha512-dl2yRglDxfzH9uJ4fSo4zTaAHa0zH7+V7BZMRWy8hEYIKT1BiqMUK/CN6T3ADQ3kbA5N1tmUulroJ2UtONS7Kw==","license": "Apache-2.0","dependencies": {- "@smithy/types": "^4.16.0",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -1722,13 +1769,13 @@}},"node_modules/@smithy/credential-provider-imds": {- "version": "4.4.7",- "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.4.7.tgz",- "integrity": "sha512-UEMLOoA0Fl4uYBxh6l0uN0H6EJe/A89OGeDNTteQeXpJ20BcpfIr4wlCY9pel1jEAUHAxaYwuqrYlrKdXE1GKQ==",+ "version": "4.4.14",+ "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.4.14.tgz",+ "integrity": "sha512-QgbuahIb2qxQeZQvNK0sw3aF3JH5zwH8j2lLp5DUasVXexGGMWULAR+7z0omPXFolCP/m5wN9M5lm9EGdSviTQ==","license": "Apache-2.0","dependencies": {- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@smithy/core": "^3.30.0",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -1736,13 +1783,13 @@}},"node_modules/@smithy/fetch-http-handler": {- "version": "5.6.4",- "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.6.4.tgz",- "integrity": "sha512-psnst7NZWdAEvJvyW8YZEE7xNVMyLrQFfHtyrVFrxNyy+dKWkQ+rqC6oI5ZhxThpUy9RSfEshgm34zqbOxzsRw==",+ "version": "5.6.11",+ "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.6.11.tgz",+ "integrity": "sha512-o0Zkj1nKqJAoq+a+BrkhU39tRftMNjLwpc/z06Frfl43wpbHrJMaSAVZE4vTqlxtVkNaGaT0bIDxOp7tkFTuQQ==","license": "Apache-2.0","dependencies": {- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@smithy/core": "^3.30.0",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -1750,13 +1797,13 @@}},"node_modules/@smithy/node-http-handler": {- "version": "4.9.4",- "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.9.4.tgz",- "integrity": "sha512-BNTop/fSOptmoVk8g+efwHCofFh37g70OWGAFES1TeAAJja1K5aAI8rTE26ETSc5k8IQuWY2kAIoPla01NgYrA==",+ "version": "4.9.11",+ "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.9.11.tgz",+ "integrity": "sha512-slbzbz8taEOzoXv/9y34YNBoE+ZHmddLykCgjDAjvMAsu2nM5s2Gzwa5OGF721tD8s+CKeFUBds5lSj9lcbuDg==","license": "Apache-2.0","dependencies": {- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@smithy/core": "^3.30.0",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -1764,13 +1811,13 @@}},"node_modules/@smithy/signature-v4": {- "version": "5.6.3",- "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.6.3.tgz",- "integrity": "sha512-8qVKKzqh7naF27ePmx0SkUfnGP/wBI9dyaeAmhHvopnbIlItUAmB/e6PkPCU3rRb2v9BY8D4EZXSoydSibatvw==",+ "version": "5.6.10",+ "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.6.10.tgz",+ "integrity": "sha512-EXhWePm3SXJAX38npIy4TXL2Aex/OVgCClTjelN2QHw/U+8CQUH8C7AaxsVzQcYieYPseywn48s89DmvuGjiAg==","license": "Apache-2.0","dependencies": {- "@smithy/core": "^3.29.2",- "@smithy/types": "^4.16.0",+ "@smithy/core": "^3.30.0",+ "@smithy/types": "^4.16.1","tslib": "^2.6.2"},"engines": {@@ -1778,9 +1825,9 @@}},"node_modules/@smithy/types": {- "version": "4.16.0",- "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.16.0.tgz",- "integrity": "sha512-aVUabzlBBmY0PfvVgLKQSOGFIL5/7R54JE3uD9a5Ay/jSED61SkuAcCYENNXJzYUvJ1NPrWO0P+rAXHCkbBUKw==",+ "version": "4.16.1",+ "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.16.1.tgz",+ "integrity": "sha512-0JFs3V2y2M9tKW5na/qxe69Zv+uxLMO7QBbhxF/FHu/Gp2NFZAAL9tWl9PU02xxo07pb3G9FTyjNc6D5uZrJIg==","license": "Apache-2.0","dependencies": {"tslib": "^2.6.2"@@ -1820,9 +1867,9 @@"license": "MIT"},"node_modules/@tybys/wasm-util": {- "version": "0.10.2",- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.2.tgz",- "integrity": "sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==",+ "version": "0.10.3",+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.3.tgz",+ "integrity": "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==","dev": true,"license": "MIT","optional": true,@@ -1849,9 +1896,15 @@"license": "MIT"},"node_modules/@types/diff": {- "version": "7.0.2",+ "version": "8.0.0",+ "resolved": "https://registry.npmjs.org/@types/diff/-/diff-8.0.0.tgz",+ "integrity": "sha512-o7jqJM04gfaYrdCecCVMbZhNdG6T1MHg/oQoRFdERLV+4d+V7FijhiEAbFu0Usww84Yijk9yH58U4Jk4HbtzZw==",+ "deprecated": "This is a stub types definition. diff provides its own type definitions, so you do not need this installed.","dev": true,- "license": "MIT"+ "license": "MIT",+ "dependencies": {+ "diff": "*"+ }},"node_modules/@types/estree": {"version": "1.0.9",@@ -1877,7 +1930,9 @@"license": "MIT"},"node_modules/@types/node": {- "version": "22.19.17",+ "version": "22.20.1",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.20.1.tgz",+ "integrity": "sha512-EANqOCF9QFyra+4pfxUcX9STKJpCLjMbObVzljIJomAWSnuSIEAvyzEU53GaajbXJEgdh0iEcPL+DGvpUd4k1Q==","license": "MIT","dependencies": {"undici-types": "~6.21.0"@@ -1892,8 +1947,9 @@}},"node_modules/@types/retry": {- "version": "0.12.5",- "dev": true,+ "version": "0.12.0",+ "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz",+ "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==","license": "MIT"},"node_modules/@types/yauzl": {@@ -2017,17 +2073,357 @@"win32"]},+ "node_modules/@typescript/typescript-aix-ppc64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-aix-ppc64/-/typescript-aix-ppc64-7.0.2.tgz",+ "integrity": "sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==",+ "cpu": [+ "ppc64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "aix"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-darwin-arm64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-arm64/-/typescript-darwin-arm64-7.0.2.tgz",+ "integrity": "sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-darwin-x64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-darwin-x64/-/typescript-darwin-x64-7.0.2.tgz",+ "integrity": "sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-freebsd-arm64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-arm64/-/typescript-freebsd-arm64-7.0.2.tgz",+ "integrity": "sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-freebsd-x64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-freebsd-x64/-/typescript-freebsd-x64-7.0.2.tgz",+ "integrity": "sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-linux-arm": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm/-/typescript-linux-arm-7.0.2.tgz",+ "integrity": "sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==",+ "cpu": [+ "arm"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-linux-arm64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-arm64/-/typescript-linux-arm64-7.0.2.tgz",+ "integrity": "sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-linux-loong64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-loong64/-/typescript-linux-loong64-7.0.2.tgz",+ "integrity": "sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==",+ "cpu": [+ "loong64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-linux-mips64el": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-mips64el/-/typescript-linux-mips64el-7.0.2.tgz",+ "integrity": "sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==",+ "cpu": [+ "mips64el"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-linux-ppc64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-ppc64/-/typescript-linux-ppc64-7.0.2.tgz",+ "integrity": "sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==",+ "cpu": [+ "ppc64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-linux-riscv64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-riscv64/-/typescript-linux-riscv64-7.0.2.tgz",+ "integrity": "sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==",+ "cpu": [+ "riscv64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-linux-s390x": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-s390x/-/typescript-linux-s390x-7.0.2.tgz",+ "integrity": "sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==",+ "cpu": [+ "s390x"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-linux-x64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-linux-x64/-/typescript-linux-x64-7.0.2.tgz",+ "integrity": "sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-netbsd-arm64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-arm64/-/typescript-netbsd-arm64-7.0.2.tgz",+ "integrity": "sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "netbsd"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-netbsd-x64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-netbsd-x64/-/typescript-netbsd-x64-7.0.2.tgz",+ "integrity": "sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "netbsd"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-openbsd-arm64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-arm64/-/typescript-openbsd-arm64-7.0.2.tgz",+ "integrity": "sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "openbsd"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-openbsd-x64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-openbsd-x64/-/typescript-openbsd-x64-7.0.2.tgz",+ "integrity": "sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "openbsd"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-sunos-x64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-sunos-x64/-/typescript-sunos-x64-7.0.2.tgz",+ "integrity": "sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "sunos"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-win32-arm64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-arm64/-/typescript-win32-arm64-7.0.2.tgz",+ "integrity": "sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==",+ "cpu": [+ "arm64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },+ "node_modules/@typescript/typescript-win32-x64": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/@typescript/typescript-win32-x64/-/typescript-win32-x64-7.0.2.tgz",+ "integrity": "sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==",+ "cpu": [+ "x64"+ ],+ "dev": true,+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=16.20.0"+ }+ },"node_modules/@vitest/expect": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.9.tgz",- "integrity": "sha512-vl/rYsUKcBr3SnQn166+XR5ZQcgMx3DQhFWdfli/cWpLnLUmbxZvyrJZotLFUryib+LtArYMSTJ5RbQ57ZqrlA==",+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-4.1.10.tgz",+ "integrity": "sha512-YsCn+qAk1GWjQOWFEsEcL2gNQ0zmVmQu3T03qP6UyjhtmdtwtbuI+DASn/7iQB3HGTXkdBwGddzxPlmiql5vlA==","dev": true,"license": "MIT","dependencies": {"@standard-schema/spec": "^1.1.0","@types/chai": "^5.2.2",- "@vitest/spy": "4.1.9",- "@vitest/utils": "4.1.9",+ "@vitest/spy": "4.1.10",+ "@vitest/utils": "4.1.10","chai": "^6.2.2","tinyrainbow": "^3.1.0"},@@ -2036,13 +2432,13 @@}},"node_modules/@vitest/mocker": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.9.tgz",- "integrity": "sha512-EVkXzBjrPGM+cK8/ANWgBrkUCfJfb38/EfTSO8h7pWvKkyPkpWxvR7BkD2MyItMF62C97zAEoqdpUixwR/e+Rw==",+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-4.1.10.tgz",+ "integrity": "sha512-v0xaezt+DKEmKfaxg133ldzADrwLGd7Ze1MfQQTYfvs8OqZIwbxyxaYURivwV7sWy5fqn3rH5uOrSp07bp44Ow==","dev": true,"license": "MIT","dependencies": {- "@vitest/spy": "4.1.9",+ "@vitest/spy": "4.1.10","estree-walker": "^3.0.3","magic-string": "^0.30.21"},@@ -2063,9 +2459,9 @@}},"node_modules/@vitest/pretty-format": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.9.tgz",- "integrity": "sha512-s0iufns3iIFitdgm+YR7g1whCAaGtXz459VS9/PqyKDEEFgYIhsHOQmXgIgDuYCt7DeQmiZT0Qe2OA2p4ZPu5A==",+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-4.1.10.tgz",+ "integrity": "sha512-W1HsjSH4MXQ9YfmmhLAoIYf1HRfekQCGngeIgcei6MP5QQGWUe0gkopdZQaVCFO+JDJMrAJGwa5pRpNpvy4P8Q==","dev": true,"license": "MIT","dependencies": {@@ -2076,13 +2472,13 @@}},"node_modules/@vitest/runner": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.9.tgz",- "integrity": "sha512-KXLMDtc7oe70+3mJfGrPUWPesswH+3sTxAMAMl8DG7I8IUQT4XW718dY5ID3vPUcmlu27CcKfY4P3h3I29SLJg==",+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-4.1.10.tgz",+ "integrity": "sha512-IKI6kpIH+LmpROplyLwBBaCfMgOZOMsygVa6BARD6ahA04VRuJSa6OaVG7kRvSEMD870Vd91rSSw0eegtWyLGg==","dev": true,"license": "MIT","dependencies": {- "@vitest/utils": "4.1.9",+ "@vitest/utils": "4.1.10","pathe": "^2.0.3"},"funding": {@@ -2090,14 +2486,14 @@}},"node_modules/@vitest/snapshot": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.9.tgz",- "integrity": "sha512-Jc7RKGNBo8Z28WYIm0Niej4xdSPByRf6mU58VpHQkd6Zh05rlnA+twjbK5HyeIGHxrzsc3mJgS43uM0CZKzaIA==",+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-4.1.10.tgz",+ "integrity": "sha512-xRkfOT1qpTAi/Ti4Y1LtfRc3kEuqxGw59eN2jN9pRWMtS/XDevekhcFSqvQqjUNGksfjMJu3Y+oJ+4Ypn2OaJw==","dev": true,"license": "MIT","dependencies": {- "@vitest/pretty-format": "4.1.9",- "@vitest/utils": "4.1.9",+ "@vitest/pretty-format": "4.1.10",+ "@vitest/utils": "4.1.10","magic-string": "^0.30.21","pathe": "^2.0.3"},@@ -2106,9 +2502,9 @@}},"node_modules/@vitest/spy": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.9.tgz",- "integrity": "sha512-fHpsS6mIi+PiEW+vcRVOMkX1oSaPKne3VOclSFICPcGOmfKgXPU5iAah+wcNcj2xPrCCmfq99IDGf+EojhhvhA==",+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-4.1.10.tgz",+ "integrity": "sha512-PLf/Ugvoq5wO/b4rwYCR1h2PSIdXz7wnkQFMiUpLdtM7l6pqVFcQIBEHyT1+l+cj7mNwAfZHzqXqDyjvOuwbDw==","dev": true,"license": "MIT","funding": {@@ -2116,13 +2512,13 @@}},"node_modules/@vitest/utils": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.9.tgz",- "integrity": "sha512-A51o8ymO5PpqlWNnBP9ZHPXDIpuMtTLlGSjN7la4US+LJzoUMyhwjA5QXlm39JexgwHKW4Xjs8Z2d3dLCXOeuA==",+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-4.1.10.tgz",+ "integrity": "sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA==","dev": true,"license": "MIT","dependencies": {- "@vitest/pretty-format": "4.1.9",+ "@vitest/pretty-format": "4.1.10","convert-source-map": "^2.0.0","tinyrainbow": "^3.1.0"},@@ -2260,15 +2656,15 @@"license": "MIT"},"node_modules/brace-expansion": {- "version": "5.0.7",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.7.tgz",- "integrity": "sha512-7oFy703dxfY3/NLxC1fh2SUCQ0H9rmAY+5EpDVfXjUTTs+HEwR2nYaqLv+GWcTsumwxPfiz6CzCNkwXwBUwqCA==",+ "version": "5.0.9",+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.9.tgz",+ "integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==","license": "MIT","dependencies": {"balanced-match": "^4.0.2"},"engines": {- "node": "18 || 20 || >=22"+ "node": "20 || >=22"}},"node_modules/braces": {@@ -2448,7 +2844,6 @@},"node_modules/commander": {"version": "12.1.0",- "dev": true,"license": "MIT","engines": {"node": ">=18"@@ -3230,7 +3625,9 @@}},"node_modules/ip-address": {- "version": "10.2.0",+ "version": "10.4.0",+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.4.0.tgz",+ "integrity": "sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ==","license": "MIT","engines": {"node": ">= 12"@@ -3349,9 +3746,9 @@}},"node_modules/lightningcss": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",- "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz",+ "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==","dev": true,"license": "MPL-2.0","dependencies": {@@ -3365,23 +3762,23 @@"url": "https://opencollective.com/parcel"},"optionalDependencies": {- "lightningcss-android-arm64": "1.32.0",- "lightningcss-darwin-arm64": "1.32.0",- "lightningcss-darwin-x64": "1.32.0",- "lightningcss-freebsd-x64": "1.32.0",- "lightningcss-linux-arm-gnueabihf": "1.32.0",- "lightningcss-linux-arm64-gnu": "1.32.0",- "lightningcss-linux-arm64-musl": "1.32.0",- "lightningcss-linux-x64-gnu": "1.32.0",- "lightningcss-linux-x64-musl": "1.32.0",- "lightningcss-win32-arm64-msvc": "1.32.0",- "lightningcss-win32-x64-msvc": "1.32.0"+ "lightningcss-android-arm64": "1.33.0",+ "lightningcss-darwin-arm64": "1.33.0",+ "lightningcss-darwin-x64": "1.33.0",+ "lightningcss-freebsd-x64": "1.33.0",+ "lightningcss-linux-arm-gnueabihf": "1.33.0",+ "lightningcss-linux-arm64-gnu": "1.33.0",+ "lightningcss-linux-arm64-musl": "1.33.0",+ "lightningcss-linux-x64-gnu": "1.33.0",+ "lightningcss-linux-x64-musl": "1.33.0",+ "lightningcss-win32-arm64-msvc": "1.33.0",+ "lightningcss-win32-x64-msvc": "1.33.0"}},"node_modules/lightningcss-android-arm64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",- "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz",+ "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==","cpu": ["arm64"],@@ -3400,9 +3797,9 @@}},"node_modules/lightningcss-darwin-arm64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",- "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz",+ "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==","cpu": ["arm64"],@@ -3421,9 +3818,9 @@}},"node_modules/lightningcss-darwin-x64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",- "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz",+ "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==","cpu": ["x64"],@@ -3442,9 +3839,9 @@}},"node_modules/lightningcss-freebsd-x64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",- "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz",+ "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==","cpu": ["x64"],@@ -3463,9 +3860,9 @@}},"node_modules/lightningcss-linux-arm-gnueabihf": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",- "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz",+ "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==","cpu": ["arm"],@@ -3484,9 +3881,9 @@}},"node_modules/lightningcss-linux-arm64-gnu": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",- "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz",+ "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==","cpu": ["arm64"],@@ -3508,9 +3905,9 @@}},"node_modules/lightningcss-linux-arm64-musl": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",- "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz",+ "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==","cpu": ["arm64"],@@ -3532,9 +3929,9 @@}},"node_modules/lightningcss-linux-x64-gnu": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",- "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz",+ "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==","cpu": ["x64"],@@ -3556,9 +3953,9 @@}},"node_modules/lightningcss-linux-x64-musl": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",- "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz",+ "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==","cpu": ["x64"],@@ -3580,9 +3977,9 @@}},"node_modules/lightningcss-win32-arm64-msvc": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",- "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz",+ "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==","cpu": ["arm64"],@@ -3601,9 +3998,9 @@}},"node_modules/lightningcss-win32-x64-msvc": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",- "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz",+ "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==","cpu": ["x64"],@@ -3626,7 +4023,9 @@"license": "Apache-2.0"},"node_modules/lru-cache": {- "version": "11.3.6",+ "version": "11.5.2",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.2.tgz",+ "integrity": "sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g==","license": "BlueOak-1.0.0","engines": {"node": "20 || >=22"@@ -3643,13 +4042,15 @@}},"node_modules/marked": {- "version": "15.0.12",+ "version": "18.0.7",+ "resolved": "https://registry.npmjs.org/marked/-/marked-18.0.7.tgz",+ "integrity": "sha512-iDVQ5ldaiKXn6b2JroX5kgRfmwgqolW7NpaEzTl1k/2Zh1njIEN9yniyLV/mOvWwtsE8OGgkjsCYvijuPk1dtA==","license": "MIT","bin": {"marked": "bin/marked.js"},"engines": {- "node": ">= 18"+ "node": ">= 20"}},"node_modules/merge2": {@@ -3751,9 +4152,9 @@}},"node_modules/nanoid": {- "version": "3.3.12",- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz",- "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==",+ "version": "3.3.17",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.17.tgz",+ "integrity": "sha512-xQLf0A3HOMlgHq0n247/LRuAOYmB7dXJ/DvAxGvsSBij45XtBSmQycu+F8ODbHwns/XyFZagyL1+J0Offw1E0g==","dev": true,"funding": [{@@ -3933,10 +4334,6 @@"node": ">=8"}},- "node_modules/p-retry/node_modules/@types/retry": {- "version": "0.12.0",- "license": "MIT"- },"node_modules/pac-proxy-agent": {"version": "7.2.0","license": "MIT",@@ -4057,9 +4454,9 @@}},"node_modules/postcss": {- "version": "8.5.15",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz",- "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==",+ "version": "8.5.25",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.25.tgz",+ "integrity": "sha512-DTPx3RWSSnWyzLxQnlH0rJP+EW5ekl16ZU4/psbIhA0e53kJfdgaN5vKM+xP7yJtXVu+nfdVFmlgFDEKAe4Pyw==","dev": true,"funding": [{@@ -4077,7 +4474,7 @@],"license": "MIT","dependencies": {- "nanoid": "^3.3.12",+ "nanoid": "^3.3.16","picocolors": "^1.1.1","source-map-js": "^1.2.1"},@@ -4285,13 +4682,13 @@}},"node_modules/rolldown": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.3.tgz",- "integrity": "sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g==",+ "version": "1.1.5",+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.1.5.tgz",+ "integrity": "sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==","dev": true,"license": "MIT","dependencies": {- "@oxc-project/types": "=0.133.0",+ "@oxc-project/types": "=0.139.0","@rolldown/pluginutils": "^1.0.0"},"bin": {@@ -4301,21 +4698,21 @@"node": "^20.19.0 || >=22.12.0"},"optionalDependencies": {- "@rolldown/binding-android-arm64": "1.0.3",- "@rolldown/binding-darwin-arm64": "1.0.3",- "@rolldown/binding-darwin-x64": "1.0.3",- "@rolldown/binding-freebsd-x64": "1.0.3",- "@rolldown/binding-linux-arm-gnueabihf": "1.0.3",- "@rolldown/binding-linux-arm64-gnu": "1.0.3",- "@rolldown/binding-linux-arm64-musl": "1.0.3",- "@rolldown/binding-linux-ppc64-gnu": "1.0.3",- "@rolldown/binding-linux-s390x-gnu": "1.0.3",- "@rolldown/binding-linux-x64-gnu": "1.0.3",- "@rolldown/binding-linux-x64-musl": "1.0.3",- "@rolldown/binding-openharmony-arm64": "1.0.3",- "@rolldown/binding-wasm32-wasi": "1.0.3",- "@rolldown/binding-win32-arm64-msvc": "1.0.3",- "@rolldown/binding-win32-x64-msvc": "1.0.3"+ "@rolldown/binding-android-arm64": "1.1.5",+ "@rolldown/binding-darwin-arm64": "1.1.5",+ "@rolldown/binding-darwin-x64": "1.1.5",+ "@rolldown/binding-freebsd-x64": "1.1.5",+ "@rolldown/binding-linux-arm-gnueabihf": "1.1.5",+ "@rolldown/binding-linux-arm64-gnu": "1.1.5",+ "@rolldown/binding-linux-arm64-musl": "1.1.5",+ "@rolldown/binding-linux-ppc64-gnu": "1.1.5",+ "@rolldown/binding-linux-s390x-gnu": "1.1.5",+ "@rolldown/binding-linux-x64-gnu": "1.1.5",+ "@rolldown/binding-linux-x64-musl": "1.1.5",+ "@rolldown/binding-openharmony-arm64": "1.1.5",+ "@rolldown/binding-wasm32-wasi": "1.1.5",+ "@rolldown/binding-win32-arm64-msvc": "1.1.5",+ "@rolldown/binding-win32-x64-msvc": "1.1.5"}},"node_modules/run-parallel": {@@ -4367,7 +4764,9 @@"license": "MIT"},"node_modules/semver": {- "version": "7.7.4",+ "version": "7.8.5",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==","dev": true,"license": "ISC","bin": {@@ -4753,9 +5152,9 @@}},"node_modules/tinyglobby/node_modules/picomatch": {- "version": "4.0.4",- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",- "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==","dev": true,"license": "MIT","engines": {@@ -4766,9 +5165,9 @@}},"node_modules/tinyrainbow": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.0.tgz",- "integrity": "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==",+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-3.1.1.tgz",+ "integrity": "sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw==","dev": true,"license": "MIT","engines": {@@ -4849,19 +5248,44 @@}},"node_modules/typebox": {- "version": "1.1.38",+ "version": "1.3.10",+ "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.3.10.tgz",+ "integrity": "sha512-L0MT00X96q0P30f1NrGULgaSbmu8hfTjWbLULeVoM+j5u0jR5wyefoDquX2NmRa39f0KiNIBo1wWSaVvHJTZlA==","license": "MIT"},"node_modules/typescript": {- "version": "5.9.3",+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-7.0.2.tgz",+ "integrity": "sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==","dev": true,"license": "Apache-2.0","bin": {- "tsc": "bin/tsc",- "tsserver": "bin/tsserver"+ "tsc": "bin/tsc"},"engines": {- "node": ">=14.17"+ "node": ">=16.20.0"+ },+ "optionalDependencies": {+ "@typescript/typescript-aix-ppc64": "7.0.2",+ "@typescript/typescript-darwin-arm64": "7.0.2",+ "@typescript/typescript-darwin-x64": "7.0.2",+ "@typescript/typescript-freebsd-arm64": "7.0.2",+ "@typescript/typescript-freebsd-x64": "7.0.2",+ "@typescript/typescript-linux-arm": "7.0.2",+ "@typescript/typescript-linux-arm64": "7.0.2",+ "@typescript/typescript-linux-loong64": "7.0.2",+ "@typescript/typescript-linux-mips64el": "7.0.2",+ "@typescript/typescript-linux-ppc64": "7.0.2",+ "@typescript/typescript-linux-riscv64": "7.0.2",+ "@typescript/typescript-linux-s390x": "7.0.2",+ "@typescript/typescript-linux-x64": "7.0.2",+ "@typescript/typescript-netbsd-arm64": "7.0.2",+ "@typescript/typescript-netbsd-x64": "7.0.2",+ "@typescript/typescript-openbsd-arm64": "7.0.2",+ "@typescript/typescript-openbsd-x64": "7.0.2",+ "@typescript/typescript-sunos-x64": "7.0.2",+ "@typescript/typescript-win32-arm64": "7.0.2",+ "@typescript/typescript-win32-x64": "7.0.2"}},"node_modules/uint8array-extras": {@@ -4875,9 +5299,9 @@}},"node_modules/undici": {- "version": "7.28.0",- "resolved": "https://registry.npmjs.org/undici/-/undici-7.28.0.tgz",- "integrity": "sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==",+ "version": "7.29.0",+ "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz",+ "integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==","license": "MIT","engines": {"node": ">=20.18.1"@@ -4904,16 +5328,16 @@}},"node_modules/vite": {- "version": "8.0.16",- "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.16.tgz",- "integrity": "sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw==",+ "version": "8.1.5",+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.1.5.tgz",+ "integrity": "sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw==","dev": true,"license": "MIT","dependencies": {"lightningcss": "^1.32.0",- "picomatch": "^4.0.4",- "postcss": "^8.5.15",- "rolldown": "1.0.3",+ "picomatch": "^4.0.5",+ "postcss": "^8.5.17",+ "rolldown": "~1.1.5","tinyglobby": "^0.2.17"},"bin": {@@ -4930,7 +5354,7 @@},"peerDependencies": {"@types/node": "^20.19.0 || >=22.12.0",- "@vitejs/devtools": "^0.1.18",+ "@vitejs/devtools": "^0.3.0","esbuild": "^0.27.0 || ^0.28.0","jiti": ">=1.21.0","less": "^4.0.0",@@ -4982,9 +5406,9 @@}},"node_modules/vite/node_modules/picomatch": {- "version": "4.0.4",- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",- "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==","dev": true,"license": "MIT","engines": {@@ -4995,19 +5419,19 @@}},"node_modules/vitest": {- "version": "4.1.9",- "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.9.tgz",- "integrity": "sha512-nE3/LEyc0z87uHYLZebqCUOaJr2hdtuPp7BQ4BosVFnfltxgAvMG08NyrSGlPpOUWvR27c5flSmYFTNr78L9GQ==",+ "version": "4.1.10",+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-4.1.10.tgz",+ "integrity": "sha512-R9jUTe5S4Qb0HCd4TNqpC7oGcrMssMRGXLW80ubjWsW9VH5GF8y1Y0SFLY9AbqSk6nt0PnOx4H4WNJYZ13GUPw==","dev": true,"license": "MIT","dependencies": {- "@vitest/expect": "4.1.9",- "@vitest/mocker": "4.1.9",- "@vitest/pretty-format": "4.1.9",- "@vitest/runner": "4.1.9",- "@vitest/snapshot": "4.1.9",- "@vitest/spy": "4.1.9",- "@vitest/utils": "4.1.9",+ "@vitest/expect": "4.1.10",+ "@vitest/mocker": "4.1.10",+ "@vitest/pretty-format": "4.1.10",+ "@vitest/runner": "4.1.10",+ "@vitest/snapshot": "4.1.10",+ "@vitest/spy": "4.1.10",+ "@vitest/utils": "4.1.10","es-module-lexer": "^2.0.0","expect-type": "^1.3.0","magic-string": "^0.30.21",@@ -5035,12 +5459,12 @@"@edge-runtime/vm": "*","@opentelemetry/api": "^1.9.0","@types/node": "^20.0.0 || ^22.0.0 || >=24.0.0",- "@vitest/browser-playwright": "4.1.9",- "@vitest/browser-preview": "4.1.9",- "@vitest/browser-webdriverio": "4.1.9",- "@vitest/coverage-istanbul": "4.1.9",- "@vitest/coverage-v8": "4.1.9",- "@vitest/ui": "4.1.9",+ "@vitest/browser-playwright": "4.1.10",+ "@vitest/browser-preview": "4.1.10",+ "@vitest/browser-webdriverio": "4.1.10",+ "@vitest/coverage-istanbul": "4.1.10",+ "@vitest/coverage-v8": "4.1.10",+ "@vitest/ui": "4.1.10","happy-dom": "*","jsdom": "*","vite": "^6.0.0 || ^7.0.0 || ^8.0.0"@@ -5085,7 +5509,9 @@}},"node_modules/vitest/node_modules/picomatch": {- "version": "4.0.4",+ "version": "4.0.5",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.5.tgz",+ "integrity": "sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==","dev": true,"license": "MIT","engines": {@@ -5208,7 +5634,9 @@}},"node_modules/yargs": {- "version": "16.2.0",+ "version": "16.2.2",+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.2.tgz",+ "integrity": "sha512-Nt9ZJjXTv5R8MHbqby/wXQ6Gi0Bb3TcYZkR1bzuL4yB2OxWPkXknz513gEF0GoA6tn00UpbPvERW8rzCuWCA6w==","license": "MIT","dependencies": {"cliui": "^7.0.2",@@ -5253,16 +5681,18 @@}},"node_modules/zeromq/node_modules/node-addon-api": {- "version": "8.7.0",- "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.7.0.tgz",- "integrity": "sha512-9MdFxmkKaOYVTV+XVRG8ArDwwQ77XIgIPyKASB1k3JPq3M8fGQQQE3YpMOrKm6g//Ktx8ivZr8xo1Qmtqub+GA==",+ "version": "8.9.1",+ "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.9.1.tgz",+ "integrity": "sha512-4eUQWVPCUUUiBjLnHS3cXWeC6ryoPUc0U3rP7IuzapoGbzMqd/r6KKO0clr0b+snQhsrueFEhCZDdK+LK7hxKg==","license": "MIT","engines": {"node": "^18 || ^20 || >= 21"}},"node_modules/zod": {- "version": "4.4.3",+ "version": "3.25.76",+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==","license": "MIT","funding": {"url": "https://github.com/sponsors/colinhacks"@@ -5281,27 +5711,31 @@"license": "MIT","dependencies": {"@earendil-works/pi-ai": "^0.7.1",- "typebox": "^1.1.24"+ "typebox": "^1.3.9"},"devDependencies": {"@types/node": "^24.3.0",- "typescript": "^5.7.3",- "vitest": "^4.1.9"+ "typescript": "^7.0.2",+ "vitest": "^4.1.10"},"engines": {"node": ">=20.0.0"}},"packages/agent/node_modules/@types/node": {- "version": "24.12.2",+ "version": "24.13.3",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==","dev": true,"license": "MIT","dependencies": {- "undici-types": "~7.16.0"+ "undici-types": "~7.18.0"}},"packages/agent/node_modules/undici-types": {- "version": "7.16.0",+ "version": "7.18.2",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==","dev": true,"license": "MIT"},@@ -5311,15 +5745,15 @@"license": "MIT","dependencies": {"@anthropic-ai/sdk": "^0.91.1",- "@aws-sdk/client-bedrock-runtime": "^3.1083.0",+ "@aws-sdk/client-bedrock-runtime": "^3.1095.0","@google/genai": "^1.40.0","@mistralai/mistralai": "^2.2.0","chalk": "^5.6.2","openai": "6.47.0","partial-json": "^0.1.7","proxy-agent": "^6.5.0",- "typebox": "^1.1.24",- "undici": "^7.28.0",+ "typebox": "^1.3.9",+ "undici": "^7.29.0","zod-to-json-schema": "^3.24.6"},"bin": {@@ -5328,22 +5762,26 @@"devDependencies": {"@types/node": "^24.3.0","canvas": "^3.2.0",- "vitest": "^4.1.9"+ "vitest": "^4.1.10"},"engines": {"node": ">=20.0.0"}},"packages/ai/node_modules/@types/node": {- "version": "24.12.2",+ "version": "24.13.3",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==","dev": true,"license": "MIT","dependencies": {- "undici-types": "~7.16.0"+ "undici-types": "~7.18.0"}},"packages/ai/node_modules/undici-types": {- "version": "7.16.0",+ "version": "7.18.2",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==","dev": true,"license": "MIT"},@@ -5367,12 +5805,12 @@"hosted-git-info": "^9.0.2","ignore": "^7.0.5","jiti": "^2.7.0",- "marked": "^15.0.12",+ "marked": "^18.0.7","minimatch": "^10.2.3","proper-lockfile": "^4.1.2","strip-ansi": "^7.1.0",- "typebox": "^1.1.24",- "undici": "^7.28.0",+ "typebox": "^1.3.9",+ "undici": "^7.29.0","uuid": "^14.0.0","yaml": "^2.9.0","zeromq": "^6.1.2"@@ -5381,15 +5819,15 @@"pi": "dist/bundle/cli.js"},"devDependencies": {- "@types/diff": "^7.0.2",+ "@types/diff": "^8.0.0","@types/hosted-git-info": "^3.0.5","@types/ms": "^2.1.0","@types/node": "^24.3.0","@types/proper-lockfile": "^4.1.4","esbuild": "^0.28.1","shx": "^0.4.0",- "typescript": "^5.7.3",- "vitest": "^4.1.9"+ "typescript": "^7.0.2",+ "vitest": "^4.1.10"},"engines": {"node": ">=22.8.0"@@ -5434,10 +5872,6 @@"node": ">=18.0.0"}},- "packages/coding-agent/examples/extensions/sandbox/node_modules/@pondwader/socks5-server": {- "version": "1.0.10",- "license": "MIT"- },"packages/coding-agent/examples/extensions/sandbox/node_modules/@types/lodash": {"version": "4.17.23","license": "MIT"@@ -5449,24 +5883,10 @@"@types/lodash": "*"}},- "packages/coding-agent/examples/extensions/sandbox/node_modules/commander": {- "version": "12.1.0",- "license": "MIT",- "engines": {- "node": ">=18"- }- },"packages/coding-agent/examples/extensions/sandbox/node_modules/lodash-es": {"version": "4.18.1","license": "MIT"},- "packages/coding-agent/examples/extensions/sandbox/node_modules/zod": {- "version": "3.25.76",- "license": "MIT",- "funding": {- "url": "https://github.com/sponsors/colinhacks"- }- },"packages/coding-agent/examples/extensions/with-deps": {"name": "pi-extension-with-deps","version": "0.0.1",@@ -5485,15 +5905,19 @@}},"packages/coding-agent/node_modules/@types/node": {- "version": "24.12.2",+ "version": "24.13.3",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",+ "integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==","dev": true,"license": "MIT","dependencies": {- "undici-types": "~7.16.0"+ "undici-types": "~7.18.0"}},"packages/coding-agent/node_modules/undici-types": {- "version": "7.16.0",+ "version": "7.18.2",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",+ "integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==","dev": true,"license": "MIT"},@@ -5505,7 +5929,7 @@"@types/mime-types": "^3.0.1","chalk": "^5.5.0","get-east-asian-width": "^1.6.0",- "marked": "^15.0.12",+ "marked": "^18.0.7","mime-types": "^3.0.1"},"devDependencies": {diff --git a/package.json b/package.jsonindex b30b1d869e..c61edc4fc0 100644--- a/package.json+++ b/package.json@@ -35,7 +35,7 @@},"devDependencies": {"@anthropic-ai/sandbox-runtime": "^0.0.55",- "@biomejs/biome": "2.3.5",+ "@biomejs/biome": "2.5.5","@types/node": "^22.10.5","@typescript/native-preview": "7.0.0-dev.20260120.1","concurrently": "^9.2.4",@@ -43,7 +43,7 @@"jiti": "^2.7.0","shx": "^0.4.0","tsx": "^4.23.1",- "typescript": "^5.9.2"+ "typescript": "^7.0.2"},"engines": {"node": ">=22.8.0"diff --git a/packages/agent/package.json b/packages/agent/package.jsonindex b173784ea6..f33f66b3a6 100644--- a/packages/agent/package.json+++ b/packages/agent/package.json@@ -18,7 +18,7 @@},"dependencies": {"@earendil-works/pi-ai": "^0.7.1",- "typebox": "^1.1.24"+ "typebox": "^1.3.9"},"keywords": ["ai",@@ -39,7 +39,7 @@},"devDependencies": {"@types/node": "^24.3.0",- "typescript": "^5.7.3",- "vitest": "^4.1.9"+ "typescript": "^7.0.2",+ "vitest": "^4.1.10"}}diff --git a/packages/ai/package.json b/packages/ai/package.jsonindex b5ff3eecd9..c3b9ec3dc7 100644--- a/packages/ai/package.json+++ b/packages/ai/package.json@@ -73,15 +73,15 @@},"dependencies": {"@anthropic-ai/sdk": "^0.91.1",- "@aws-sdk/client-bedrock-runtime": "^3.1083.0",+ "@aws-sdk/client-bedrock-runtime": "^3.1095.0","@google/genai": "^1.40.0","@mistralai/mistralai": "^2.2.0",- "typebox": "^1.1.24",+ "typebox": "^1.3.9","chalk": "^5.6.2","openai": "6.47.0","partial-json": "^0.1.7","proxy-agent": "^6.5.0",- "undici": "^7.28.0",+ "undici": "^7.29.0","zod-to-json-schema": "^3.24.6"},"keywords": [@@ -107,6 +107,6 @@"devDependencies": {"@types/node": "^24.3.0","canvas": "^3.2.0",- "vitest": "^4.1.9"+ "vitest": "^4.1.10"}}diff --git a/packages/ai/test/openrouter-cache-write-repro.test.ts b/packages/ai/test/openrouter-cache-write-repro.test.tsindex ca4929677f..ce5abde9e8 100644--- a/packages/ai/test/openrouter-cache-write-repro.test.ts+++ b/packages/ai/test/openrouter-cache-write-repro.test.ts@@ -12,67 +12,66 @@ function createLongSystemPrompt(): string {}describe.skipIf(!process.env.OPENROUTER_API_KEY)("OpenRouter cache_write repro E2E", () => {- it(- "regression: preserves cache_write_tokens on openai-completions stream path",- { retry: 2, timeout: 90000 },- async () => {- const model = getModel("openrouter", "google/gemini-2.5-flash");- const context = {- systemPrompt: createLongSystemPrompt(),- messages: [- {- role: "user" as const,- content: "Reply with exactly: OK",- timestamp: Date.now(),- },- ],- };+ it("regression: preserves cache_write_tokens on openai-completions stream path", {+ retry: 2,+ timeout: 90000,+ }, async () => {+ const model = getModel("openrouter", "google/gemini-2.5-flash");+ const context = {+ systemPrompt: createLongSystemPrompt(),+ messages: [+ {+ role: "user" as const,+ content: "Reply with exactly: OK",+ timestamp: Date.now(),+ },+ ],+ };- const options = {- apiKey: process.env.OPENROUTER_API_KEY!,- maxTokens: 32,- temperature: 0,- onPayload: (payload: unknown) => {- const params = payload as {- messages?: Array<{- role?: string;- content?: string | Array<{ type?: string; text?: string; cache_control?: { type: string } }>;- }>;- };- const messages = params.messages;- if (!Array.isArray(messages)) return payload;+ const options = {+ apiKey: process.env.OPENROUTER_API_KEY!,+ maxTokens: 32,+ temperature: 0,+ onPayload: (payload: unknown) => {+ const params = payload as {+ messages?: Array<{+ role?: string;+ content?: string | Array<{ type?: string; text?: string; cache_control?: { type: string } }>;+ }>;+ };+ const messages = params.messages;+ if (!Array.isArray(messages)) return payload;- for (let i = messages.length - 1; i >= 0; i--) {- const msg = messages[i];- if (msg.role !== "user") continue;- if (typeof msg.content === "string") {- msg.content = [{ type: "text", text: msg.content, cache_control: { type: "ephemeral" } }];+ for (let i = messages.length - 1; i >= 0; i--) {+ const msg = messages[i];+ if (msg.role !== "user") continue;+ if (typeof msg.content === "string") {+ msg.content = [{ type: "text", text: msg.content, cache_control: { type: "ephemeral" } }];+ break;+ }+ if (!Array.isArray(msg.content)) continue;+ for (let j = msg.content.length - 1; j >= 0; j--) {+ const part = msg.content[j];+ if (part.type === "text") {+ part.cache_control = { type: "ephemeral" };break;}- if (!Array.isArray(msg.content)) continue;- for (let j = msg.content.length - 1; j >= 0; j--) {- const part = msg.content[j];- if (part.type === "text") {- part.cache_control = { type: "ephemeral" };- break;- }- }- break;}- return payload;- },- };+ break;+ }+ return payload;+ },+ };- const first = await completeSimple(model, context, options);- expect(first.stopReason, first.errorMessage).toBe("stop");+ const first = await completeSimple(model, context, options);+ expect(first.stopReason, first.errorMessage).toBe("stop");- const second = await completeSimple(model, context, options);- expect(second.stopReason, second.errorMessage).toBe("stop");+ const second = await completeSimple(model, context, options);+ expect(second.stopReason, second.errorMessage).toBe("stop");- // Regression expectation: cache_write_tokens from provider usage must be preserved.- // With the cache_control marker above, at least one of the two calls should create cache.- const hasCacheWrite = first.usage.cacheWrite > 0 || second.usage.cacheWrite > 0;- expect(hasCacheWrite).toBe(true);- },- );+ // Regression expectation: cache_write_tokens from provider usage must be preserved.+ // With the cache_control marker above, at least one of the two calls should create cache.+ const hasCacheWrite = first.usage.cacheWrite > 0 || second.usage.cacheWrite > 0;+ expect(hasCacheWrite).toBe(true);+ });});diff --git a/packages/ai/test/total-tokens.test.ts b/packages/ai/test/total-tokens.test.tsindex 4d79c64352..06156baeff 100644--- a/packages/ai/test/total-tokens.test.ts+++ b/packages/ai/test/total-tokens.test.ts@@ -106,26 +106,25 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.ANTHROPIC_API_KEY)("Anthropic (API Key)", () => {- it(- "claude-sonnet-4-5 - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("anthropic", "claude-sonnet-4-5");+ it("claude-sonnet-4-5 - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("anthropic", "claude-sonnet-4-5");- console.log(`\nAnthropic / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.ANTHROPIC_API_KEY });+ console.log(`\nAnthropic / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.ANTHROPIC_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);- // Anthropic should have cache activity- const hasCache = second.cacheRead > 0 || second.cacheWrite > 0 || first.cacheWrite > 0;- expect(hasCache).toBe(true);- },- );+ // Anthropic should have cache activity+ const hasCache = second.cacheRead > 0 || second.cacheWrite > 0 || first.cacheWrite > 0;+ expect(hasCache).toBe(true);+ });});describe("Anthropic (OAuth)", () => {@@ -156,27 +155,26 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.OPENAI_API_KEY)("OpenAI Completions", () => {- it(- "gpt-4o-mini - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const { compat: _compat, ...baseModel } = getModel("openai", "gpt-4o-mini")!;- void _compat;- const llm: Model<"openai-completions"> = {- ...baseModel,- api: "openai-completions",- };-- console.log(`\nOpenAI Completions / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm);+ it("gpt-4o-mini - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const { compat: _compat, ...baseModel } = getModel("openai", "gpt-4o-mini")!;+ void _compat;+ const llm: Model<"openai-completions"> = {+ ...baseModel,+ api: "openai-completions",+ };++ console.log(`\nOpenAI Completions / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm);- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});describe.skipIf(!process.env.OPENAI_API_KEY)("OpenAI Responses", () => {@@ -195,24 +193,23 @@ describe("totalTokens field", () => {});describe.skipIf(!hasAzureOpenAICredentials())("Azure OpenAI Responses", () => {- it(- "gpt-4o-mini - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("azure-openai-responses", "gpt-4o-mini");- const azureDeploymentName = resolveAzureDeploymentName(llm.id);- const azureOptions = azureDeploymentName ? { azureDeploymentName } : {};+ it("gpt-4o-mini - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("azure-openai-responses", "gpt-4o-mini");+ const azureDeploymentName = resolveAzureDeploymentName(llm.id);+ const azureOptions = azureDeploymentName ? { azureDeploymentName } : {};- console.log(`\nAzure OpenAI Responses / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, azureOptions);+ console.log(`\nAzure OpenAI Responses / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, azureOptions);- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -220,22 +217,21 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.GEMINI_API_KEY)("Google", () => {- it(- "gemini-2.5-flash - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("google", "gemini-2.5-flash");+ it("gemini-2.5-flash - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("google", "gemini-2.5-flash");- console.log(`\nGoogle / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm);+ console.log(`\nGoogle / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm);- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -262,22 +258,21 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.GROQ_API_KEY)("Groq", () => {- it(- "openai/gpt-oss-120b - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("groq", "openai/gpt-oss-120b");+ it("openai/gpt-oss-120b - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("groq", "openai/gpt-oss-120b");- console.log(`\nGroq / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.GROQ_API_KEY });+ console.log(`\nGroq / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.GROQ_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -285,22 +280,21 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.CEREBRAS_API_KEY)("Cerebras", () => {- it(- "gpt-oss-120b - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("cerebras", "gpt-oss-120b");+ it("gpt-oss-120b - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("cerebras", "gpt-oss-120b");- console.log(`\nCerebras / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.CEREBRAS_API_KEY });+ console.log(`\nCerebras / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.CEREBRAS_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -308,24 +302,23 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!hasCloudflareWorkersAICredentials())("Cloudflare Workers AI", () => {- it(- "@cf/moonshotai/kimi-k2.6 - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("cloudflare-workers-ai", "@cf/moonshotai/kimi-k2.6");+ it("@cf/moonshotai/kimi-k2.6 - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("cloudflare-workers-ai", "@cf/moonshotai/kimi-k2.6");- console.log(`\nCloudflare Workers AI / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, {- apiKey: process.env.CLOUDFLARE_API_KEY,- });+ console.log(`\nCloudflare Workers AI / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, {+ apiKey: process.env.CLOUDFLARE_API_KEY,+ });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -333,24 +326,23 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!hasCloudflareAiGatewayCredentials())("Cloudflare AI Gateway", () => {- it(- "workers-ai/@cf/moonshotai/kimi-k2.6 - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("cloudflare-ai-gateway", "workers-ai/@cf/moonshotai/kimi-k2.6");+ it("workers-ai/@cf/moonshotai/kimi-k2.6 - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("cloudflare-ai-gateway", "workers-ai/@cf/moonshotai/kimi-k2.6");- console.log(`\nCloudflare AI Gateway / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, {- apiKey: process.env.CLOUDFLARE_API_KEY,- });+ console.log(`\nCloudflare AI Gateway / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, {+ apiKey: process.env.CLOUDFLARE_API_KEY,+ });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -396,22 +388,21 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.MISTRAL_API_KEY)("Mistral", () => {- it(- "devstral-medium-latest - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("mistral", "devstral-medium-latest");+ it("devstral-medium-latest - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("mistral", "devstral-medium-latest");- console.log(`\nMistral / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.MISTRAL_API_KEY });+ console.log(`\nMistral / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.MISTRAL_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -419,22 +410,21 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.MINIMAX_API_KEY)("MiniMax", () => {- it(- "MiniMax-M2.7 - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("minimax", "MiniMax-M2.7");+ it("MiniMax-M2.7 - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("minimax", "MiniMax-M2.7");- console.log(`\nMiniMax / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.MINIMAX_API_KEY });+ console.log(`\nMiniMax / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.MINIMAX_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -442,22 +432,21 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.XIAOMI_API_KEY)("Xiaomi MiMo (API billing)", () => {- it(- "mimo-v2.5-pro - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("xiaomi", "mimo-v2.5-pro");+ it("mimo-v2.5-pro - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("xiaomi", "mimo-v2.5-pro");- console.log(`\nXiaomi MiMo / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.XIAOMI_API_KEY });+ console.log(`\nXiaomi MiMo / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.XIAOMI_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -465,24 +454,23 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.XIAOMI_TOKEN_PLAN_CN_API_KEY)("Xiaomi MiMo Token Plan (CN)", () => {- it(- "mimo-v2.5-pro - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("xiaomi-token-plan-cn", "mimo-v2.5-pro");+ it("mimo-v2.5-pro - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("xiaomi-token-plan-cn", "mimo-v2.5-pro");- console.log(`\nXiaomi MiMo Token Plan CN / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, {- apiKey: process.env.XIAOMI_TOKEN_PLAN_CN_API_KEY,- });+ console.log(`\nXiaomi MiMo Token Plan CN / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, {+ apiKey: process.env.XIAOMI_TOKEN_PLAN_CN_API_KEY,+ });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -490,24 +478,23 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.XIAOMI_TOKEN_PLAN_AMS_API_KEY)("Xiaomi MiMo Token Plan (AMS)", () => {- it(- "mimo-v2.5-pro - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("xiaomi-token-plan-ams", "mimo-v2.5-pro");+ it("mimo-v2.5-pro - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("xiaomi-token-plan-ams", "mimo-v2.5-pro");- console.log(`\nXiaomi MiMo Token Plan AMS / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, {- apiKey: process.env.XIAOMI_TOKEN_PLAN_AMS_API_KEY,- });+ console.log(`\nXiaomi MiMo Token Plan AMS / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, {+ apiKey: process.env.XIAOMI_TOKEN_PLAN_AMS_API_KEY,+ });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -515,24 +502,23 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.XIAOMI_TOKEN_PLAN_SGP_API_KEY)("Xiaomi MiMo Token Plan (SGP)", () => {- it(- "mimo-v2.5-pro - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("xiaomi-token-plan-sgp", "mimo-v2.5-pro");+ it("mimo-v2.5-pro - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("xiaomi-token-plan-sgp", "mimo-v2.5-pro");- console.log(`\nXiaomi MiMo Token Plan SGP / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, {- apiKey: process.env.XIAOMI_TOKEN_PLAN_SGP_API_KEY,- });+ console.log(`\nXiaomi MiMo Token Plan SGP / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, {+ apiKey: process.env.XIAOMI_TOKEN_PLAN_SGP_API_KEY,+ });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -559,22 +545,21 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.AI_GATEWAY_API_KEY)("Vercel AI Gateway", () => {- it(- "google/gemini-2.5-flash - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("vercel-ai-gateway", "google/gemini-2.5-flash");+ it("google/gemini-2.5-flash - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("vercel-ai-gateway", "google/gemini-2.5-flash");- console.log(`\nVercel AI Gateway / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.AI_GATEWAY_API_KEY });+ console.log(`\nVercel AI Gateway / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.AI_GATEWAY_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -582,90 +567,85 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!process.env.OPENROUTER_API_KEY)("OpenRouter", () => {- it(- "anthropic/claude-sonnet-4 - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("openrouter", "anthropic/claude-sonnet-4");+ it("anthropic/claude-sonnet-4 - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("openrouter", "anthropic/claude-sonnet-4");- console.log(`\nOpenRouter / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });+ console.log(`\nOpenRouter / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });- it(- "deepseek/deepseek-chat - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("openrouter", "deepseek/deepseek-chat");+ it("deepseek/deepseek-chat - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("openrouter", "deepseek/deepseek-chat");- console.log(`\nOpenRouter / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });+ console.log(`\nOpenRouter / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });- it(- "mistralai/mistral-small-3.2-24b-instruct - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("openrouter", "mistralai/mistral-small-3.2-24b-instruct");+ it("mistralai/mistral-small-3.2-24b-instruct - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("openrouter", "mistralai/mistral-small-3.2-24b-instruct");- console.log(`\nOpenRouter / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });+ console.log(`\nOpenRouter / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });- it(- "google/gemini-2.5-flash - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("openrouter", "google/gemini-2.5-flash");+ it("google/gemini-2.5-flash - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("openrouter", "google/gemini-2.5-flash");- console.log(`\nOpenRouter / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });+ console.log(`\nOpenRouter / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });- it(- "meta-llama/llama-4-scout - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("openrouter", "meta-llama/llama-4-scout");+ it("meta-llama/llama-4-scout - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("openrouter", "meta-llama/llama-4-scout");- console.log(`\nOpenRouter / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });+ console.log(`\nOpenRouter / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm, { apiKey: process.env.OPENROUTER_API_KEY });- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================@@ -715,22 +695,21 @@ describe("totalTokens field", () => {// =========================================================================describe.skipIf(!hasBedrockCredentials())("Amazon Bedrock", () => {- it(- "claude-sonnet-4-5 - should return totalTokens equal to sum of components",- { retry: 3, timeout: 60000 },- async () => {- const llm = getModel("amazon-bedrock", "global.anthropic.claude-sonnet-4-5-20250929-v1:0");+ it("claude-sonnet-4-5 - should return totalTokens equal to sum of components", {+ retry: 3,+ timeout: 60000,+ }, async () => {+ const llm = getModel("amazon-bedrock", "global.anthropic.claude-sonnet-4-5-20250929-v1:0");- console.log(`\nAmazon Bedrock / ${llm.id}:`);- const { first, second } = await testTotalTokensWithCache(llm);+ console.log(`\nAmazon Bedrock / ${llm.id}:`);+ const { first, second } = await testTotalTokensWithCache(llm);- logUsage("First request", first);- logUsage("Second request", second);+ logUsage("First request", first);+ logUsage("Second request", second);- assertTotalTokensEqualsComponents(first);- assertTotalTokensEqualsComponents(second);- },- );+ assertTotalTokensEqualsComponents(first);+ assertTotalTokensEqualsComponents(second);+ });});// =========================================================================diff --git a/packages/ai/test/unicode-surrogate.test.ts b/packages/ai/test/unicode-surrogate.test.tsindex f923ee77d7..3d9945c981 100644--- a/packages/ai/test/unicode-surrogate.test.ts+++ b/packages/ai/test/unicode-surrogate.test.ts@@ -625,13 +625,12 @@ describe("AI Providers Unicode Surrogate Pair Tests", () => {await testRealWorldLinkedInData(llm);});- it(- "should handle unpaired high surrogate (0xD83D) in tool results",- { retry: 3, timeout: 30000 },- async () => {- await testUnpairedHighSurrogate(llm);- },- );+ it("should handle unpaired high surrogate (0xD83D) in tool results", {+ retry: 3,+ timeout: 30000,+ }, async () => {+ await testUnpairedHighSurrogate(llm);+ });},);@@ -648,13 +647,12 @@ describe("AI Providers Unicode Surrogate Pair Tests", () => {await testRealWorldLinkedInData(llm);});- it(- "should handle unpaired high surrogate (0xD83D) in tool results",- { retry: 3, timeout: 30000 },- async () => {- await testUnpairedHighSurrogate(llm);- },- );+ it("should handle unpaired high surrogate (0xD83D) in tool results", {+ retry: 3,+ timeout: 30000,+ }, async () => {+ await testUnpairedHighSurrogate(llm);+ });},);@@ -671,13 +669,12 @@ describe("AI Providers Unicode Surrogate Pair Tests", () => {await testRealWorldLinkedInData(llm);});- it(- "should handle unpaired high surrogate (0xD83D) in tool results",- { retry: 3, timeout: 30000 },- async () => {- await testUnpairedHighSurrogate(llm);- },- );+ it("should handle unpaired high surrogate (0xD83D) in tool results", {+ retry: 3,+ timeout: 30000,+ }, async () => {+ await testUnpairedHighSurrogate(llm);+ });},);diff --git a/packages/coding-agent/package.json b/packages/coding-agent/package.jsonindex bb0570e403..a2f5b5cd8a 100644--- a/packages/coding-agent/package.json+++ b/packages/coding-agent/package.json@@ -61,12 +61,12 @@"hosted-git-info": "^9.0.2","ignore": "^7.0.5","jiti": "^2.7.0",- "marked": "^15.0.12",+ "marked": "^18.0.7","minimatch": "^10.2.3","proper-lockfile": "^4.1.2","strip-ansi": "^7.1.0",- "typebox": "^1.1.24",- "undici": "^7.28.0",+ "typebox": "^1.3.9",+ "undici": "^7.29.0","uuid": "^14.0.0","yaml": "^2.9.0","zeromq": "^6.1.2"@@ -81,15 +81,15 @@"@mariozechner/clipboard": "^0.3.9"},"devDependencies": {- "@types/diff": "^7.0.2",+ "@types/diff": "^8.0.0","@types/hosted-git-info": "^3.0.5","@types/ms": "^2.1.0","@types/node": "^24.3.0","@types/proper-lockfile": "^4.1.4","esbuild": "^0.28.1","shx": "^0.4.0",- "typescript": "^5.7.3",- "vitest": "^4.1.9"+ "typescript": "^7.0.2",+ "vitest": "^4.1.10"},"keywords": ["coding-agent",diff --git a/packages/coding-agent/src/core/extensions/types.ts b/packages/coding-agent/src/core/extensions/types.tsindex 89ff11dcf3..1dc4ee88cb 100644--- a/packages/coding-agent/src/core/extensions/types.ts+++ b/packages/coding-agent/src/core/extensions/types.ts@@ -70,9 +70,9 @@ import type {} from "../tools/index.js";export type { ExecOptions, ExecResult } from "../exec.js";+export type { AppKeybinding, KeybindingsManager } from "../keybindings.js";export type { BuildSystemPromptOptions } from "../system-prompt.js";export type { AgentToolResult, AgentToolUpdateCallback, ToolExecutionMode };-export type { AppKeybinding, KeybindingsManager } from "../keybindings.js";// ============================================================================// UI Contextdiff --git a/packages/coding-agent/src/core/keybindings.ts b/packages/coding-agent/src/core/keybindings.tsindex 3a410340bd..60b579a674 100644--- a/packages/coding-agent/src/core/keybindings.ts+++ b/packages/coding-agent/src/core/keybindings.ts@@ -393,4 +393,4 @@ export class KeybindingsManager extends TuiKeybindingsManager {}}-export type { Keybinding, KeyId, KeybindingsConfig };+export type { Keybinding, KeybindingsConfig, KeyId };diff --git a/packages/coding-agent/src/core/sdk.ts b/packages/coding-agent/src/core/sdk.tsindex fcd2e774ca..70c9fc502b 100644--- a/packages/coding-agent/src/core/sdk.ts+++ b/packages/coding-agent/src/core/sdk.ts@@ -104,11 +104,11 @@ export type { Skill } from "./skills.js";export type { Tool } from "./tools/index.js";export {- withFileMutationQueue,- // Tool factories (for custom cwd)- createIpythonTool,createBashTool,createEditTool,+ // Tool factories (for custom cwd)+ createIpythonTool,+ withFileMutationQueue,};// Helper Functionsdiff --git a/packages/coding-agent/test/acp-cold-cli.test.ts b/packages/coding-agent/test/acp-cold-cli.test.tsindex f08f7b3591..38a3760e1a 100644--- a/packages/coding-agent/test/acp-cold-cli.test.ts+++ b/packages/coding-agent/test/acp-cold-cli.test.ts@@ -186,33 +186,32 @@ async function driveAcpTurn(baseUrl: string): Promise<AcpResult> {}describe("ACP mode over a cold real CLI process", () => {- it(- "reports a provider failure instead of a silent end_turn",- { tags: ["kernel-heavy"], timeout: 180_000 },- async () => {- const baseUrl = await startRejectingProvider();- const { responses, updates } = await driveAcpTurn(baseUrl);-- const initialize = responses.find((frame) => frame.id === 1);- expect(initialize, "the real CLI must answer initialize on stdout").toBeDefined();-- const prompt = responses.find((frame) => frame.id === 3);- expect(prompt, "session/prompt must answer").toBeDefined();-- // The provider rejected, so the turn must not claim a clean completion.- // Before this was fixed the answer was {stopReason: "end_turn"} with- // updates === 0, which a client reads as a successful empty turn.- const result = (prompt as { result?: { stopReason?: string } }).result;- const error = (prompt as { error?: unknown }).error;- expect(- error !== undefined || result?.stopReason !== "end_turn",- `a failed turn must not report end_turn (updates=${updates}, frame=${JSON.stringify(prompt)})`,- ).toBe(true);-- // Failing loudly is only half of it: the client also has to be able to- // tell *why*. Assert the provider's own rejection reaches the client- // rather than a bare "Internal error".- expect(JSON.stringify(error)).toContain("unauthorized in test");- },- );+ it("reports a provider failure instead of a silent end_turn", {+ tags: ["kernel-heavy"],+ timeout: 180_000,+ }, async () => {+ const baseUrl = await startRejectingProvider();+ const { responses, updates } = await driveAcpTurn(baseUrl);++ const initialize = responses.find((frame) => frame.id === 1);+ expect(initialize, "the real CLI must answer initialize on stdout").toBeDefined();++ const prompt = responses.find((frame) => frame.id === 3);+ expect(prompt, "session/prompt must answer").toBeDefined();++ // The provider rejected, so the turn must not claim a clean completion.+ // Before this was fixed the answer was {stopReason: "end_turn"} with+ // updates === 0, which a client reads as a successful empty turn.+ const result = (prompt as { result?: { stopReason?: string } }).result;+ const error = (prompt as { error?: unknown }).error;+ expect(+ error !== undefined || result?.stopReason !== "end_turn",+ `a failed turn must not report end_turn (updates=${updates}, frame=${JSON.stringify(prompt)})`,+ ).toBe(true);++ // Failing loudly is only half of it: the client also has to be able to+ // tell *why*. Assert the provider's own rejection reaches the client+ // rather than a bare "Internal error".+ expect(JSON.stringify(error)).toContain("unauthorized in test");+ });});diff --git a/packages/coding-agent/test/acp-kernel-features.test.ts b/packages/coding-agent/test/acp-kernel-features.test.tsindex 6663fb94c4..de7660888a 100644--- a/packages/coding-agent/test/acp-kernel-features.test.ts+++ b/packages/coding-agent/test/acp-kernel-features.test.ts@@ -57,44 +57,43 @@ describe("ACP mode over a real IPython kernel", () => {rmSync(tempDir, { recursive: true, force: true });});- it(- "keeps IPython state across cells and represents each cell as an ACP execute call",- { tags: ["kernel-heavy"], timeout: 180_000 },- async () => {- // Every provisioner in this file requests the same skill set: the kernel venv- // is shared, and a skill-less kernel here can leave a later skill-dependent- // test with an unsynced venv when files run concurrently.- provisioner = new IpythonKernelProvisioner(tempDir, { pythonSkills: [AGENT_MESSAGE_SKILL] });- const manager: KernelManager = await provisioner.ensure();+ it("keeps IPython state across cells and represents each cell as an ACP execute call", {+ tags: ["kernel-heavy"],+ timeout: 180_000,+ }, async () => {+ // Every provisioner in this file requests the same skill set: the kernel venv+ // is shared, and a skill-less kernel here can leave a later skill-dependent+ // test with an unsynced venv when files run concurrently.+ provisioner = new IpythonKernelProvisioner(tempDir, { pythonSkills: [AGENT_MESSAGE_SKILL] });+ const manager: KernelManager = await provisioner.ensure();- const first = await manager.execute("acp_state = 41\nprint('set')");- expect(first.status).toBe("ok");- // Persistence is the whole point of the kernel: a second cell must see it.- const second = await manager.execute("print(acp_state + 1)");- expect(second.status).toBe("ok");- expect(second.stdout.trim()).toBe("42");+ const first = await manager.execute("acp_state = 41\nprint('set')");+ expect(first.status).toBe("ok");+ // Persistence is the whole point of the kernel: a second cell must see it.+ const second = await manager.execute("print(acp_state + 1)");+ expect(second.status).toBe("ok");+ expect(second.stdout.trim()).toBe("42");- const updates = acpUpdatesForSessionEvent(toolEndEvent("cell-2", second.stdout));- expect(updates[0]).toMatchObject({- sessionUpdate: "tool_call_update",- toolCallId: "cell-2",- status: "completed",- });- expect(JSON.stringify(updates[0]?.content)).toContain("42");- },- );+ const updates = acpUpdatesForSessionEvent(toolEndEvent("cell-2", second.stdout));+ expect(updates[0]).toMatchObject({+ sessionUpdate: "tool_call_update",+ toolCallId: "cell-2",+ status: "completed",+ });+ expect(JSON.stringify(updates[0]?.content)).toContain("42");+ });- it(- "runs continual-harness CRUD in the kernel and can represent the result over ACP",- { tags: ["kernel-heavy"], timeout: 180_000 },- async () => {- provisioner = new IpythonKernelProvisioner(tempDir, {- pythonSkills: [AGENT_MESSAGE_SKILL],- env: { RLM_GLOBAL_HARNESS_STATE_DIR: join(tempDir, "harness") },- });- const manager = await provisioner.ensure();+ it("runs continual-harness CRUD in the kernel and can represent the result over ACP", {+ tags: ["kernel-heavy"],+ timeout: 180_000,+ }, async () => {+ provisioner = new IpythonKernelProvisioner(tempDir, {+ pythonSkills: [AGENT_MESSAGE_SKILL],+ env: { RLM_GLOBAL_HARNESS_STATE_DIR: join(tempDir, "harness") },+ });+ const manager = await provisioner.ensure();- const allKinds = await manager.execute(`+ const allKinds = await manager.execute(`import jsonmem = rlm.harness.create_memory(title="m", content="memory content", global_=True)note = rlm.harness.create_prompt_note(title="n", content="prompt note content", global_=True)@@ -111,15 +110,15 @@ print(json.dumps({"skill_ref": skill.reference.get("import"),}, sort_keys=True))`);- expect(allKinds.status, why(allKinds)).toBe("ok");- // Every editable harness kind, not just memory: skills additionally require- // a python reference and an argument contract.- expect(JSON.parse(allKinds.stdout.trim())).toMatchObject({- kinds: ["memory", "prompt", "skill", "subagent"],- skill_ref: "pkg.mod",- });+ expect(allKinds.status, why(allKinds)).toBe("ok");+ // Every editable harness kind, not just memory: skills additionally require+ // a python reference and an argument contract.+ expect(JSON.parse(allKinds.stdout.trim())).toMatchObject({+ kinds: ["memory", "prompt", "skill", "subagent"],+ skill_ref: "pkg.mod",+ });- const result = await manager.execute(`+ const result = await manager.execute(`import jsonentry = rlm.harness.create_memory(title="ACP verification memory",@@ -138,62 +137,61 @@ print(json.dumps({"after": after.title if after else None,}, sort_keys=True))`);- expect(result.status, why(result)).toBe("ok");- const payload = JSON.parse(result.stdout.trim());- expect(payload.found).toBe("ACP verification memory");- expect(payload.listed).toContain(payload.created);- expect(payload.deleted).toBe(true);- expect(payload.after).toBeNull();+ expect(result.status, why(result)).toBe("ok");+ const payload = JSON.parse(result.stdout.trim());+ expect(payload.found).toBe("ACP verification memory");+ expect(payload.listed).toContain(payload.created);+ expect(payload.deleted).toBe(true);+ expect(payload.after).toBeNull();- // A refinement outcome for that CRUD is expressible as namespaced metadata.- const refined = acpUpdatesForSessionEvent({- type: "refine_complete",- result: {- summary: "persisted ACP verification memory",- appliedEdits: [{ applied: true, action: "create", kind: "memory", id: payload.created }],- },- } as AgentConnectionSessionEvent);- expect(refined[0]?._meta).toMatchObject({- [PRIME_AGENT_META_NAMESPACE]: { refinement: { status: "complete" } },- });- },- );+ // A refinement outcome for that CRUD is expressible as namespaced metadata.+ const refined = acpUpdatesForSessionEvent({+ type: "refine_complete",+ result: {+ summary: "persisted ACP verification memory",+ appliedEdits: [{ applied: true, action: "create", kind: "memory", id: payload.created }],+ },+ } as AgentConnectionSessionEvent);+ expect(refined[0]?._meta).toMatchObject({+ [PRIME_AGENT_META_NAMESPACE]: { refinement: { status: "complete" } },+ });+ });- it(- "exposes rlm depth and subagent APIs to the kernel behind the ACP front end",- { tags: ["kernel-heavy"], timeout: 180_000 },- async () => {- provisioner = new IpythonKernelProvisioner(tempDir, {- pythonSkills: [AGENT_MESSAGE_SKILL],- env: { RLM_DEPTH: "0", RLM_MAX_DEPTH: "1" },- hostHandlers: {- "rlm.list_subagents": async () => ({- subagents: [- {- rlm_child_id: "child-1",- active_session_id: "active-1",- session_id: "session-1",- session_name: "reviewer",- session_dir: tempDir,- status: "completed",- },- ],- }),- "rlm.delete_subagent": async (payload) => ({- subagent: {- rlm_child_id: String(payload.target),- active_session_id: null,+ it("exposes rlm depth and subagent APIs to the kernel behind the ACP front end", {+ tags: ["kernel-heavy"],+ timeout: 180_000,+ }, async () => {+ provisioner = new IpythonKernelProvisioner(tempDir, {+ pythonSkills: [AGENT_MESSAGE_SKILL],+ env: { RLM_DEPTH: "0", RLM_MAX_DEPTH: "1" },+ hostHandlers: {+ "rlm.list_subagents": async () => ({+ subagents: [+ {+ rlm_child_id: "child-1",+ active_session_id: "active-1",session_id: "session-1",session_name: "reviewer",session_dir: tempDir,status: "completed",},- }),- },- });- const manager = await provisioner.ensure();+ ],+ }),+ "rlm.delete_subagent": async (payload) => ({+ subagent: {+ rlm_child_id: String(payload.target),+ active_session_id: null,+ session_id: "session-1",+ session_name: "reviewer",+ session_dir: tempDir,+ status: "completed",+ },+ }),+ },+ });+ const manager = await provisioner.ensure();- const result = await manager.execute(`+ const result = await manager.execute(`import json, oschildren = await rlm.list_subagents()removed = await rlm.delete_subagent(children[0])@@ -204,53 +202,50 @@ print(json.dumps({"removed": removed.session_name,}, sort_keys=True))`);- expect(result.status, why(result)).toBe("ok");- const payload = JSON.parse(result.stdout.trim());- expect(payload.names).toEqual(["reviewer"]);- expect(payload.removed).toBe("reviewer");- expect(payload.depth).toBe("0");- expect(payload.max_depth).toBe("1");- },- );+ expect(result.status, why(result)).toBe("ok");+ const payload = JSON.parse(result.stdout.trim());+ expect(payload.names).toEqual(["reviewer"]);+ expect(payload.removed).toBe("reviewer");+ expect(payload.depth).toBe("0");+ expect(payload.max_depth).toBe("1");+ });- it(- "sends an agent-to-agent message from the kernel and surfaces it over ACP",- { tags: ["kernel-heavy"], timeout: 180_000 },- async () => {- provisioner = new IpythonKernelProvisioner(tempDir, {- pythonSkills: [AGENT_MESSAGE_SKILL],- hostHandlers: {- // The family roster: parent, siblings, and children of this agent.- "agent_message.list_agents": async () => ({- current: { name: "root", id: "session-alpha", depth: 0 },- entries: [{ relationship: "child", name: "reviewer", id: "session-beta", depth: 1, status: "idle" }],- }),- "agent_message.send": async (payload) => ({- id: "agentmsg-acp",- source: "agent_message",- target: { activeSessionId: "beta", sessionId: "session-beta", sessionName: "reviewer" },- message: payload.message,- deliveryStatus: "queued",- queuedAt: "2026-08-04T00:00:00.000Z",- deliveryMode: payload.mode ?? "auto",- }),- },- });- const manager = await provisioner.ensure();+ it("sends an agent-to-agent message from the kernel and surfaces it over ACP", {+ tags: ["kernel-heavy"],+ timeout: 180_000,+ }, async () => {+ provisioner = new IpythonKernelProvisioner(tempDir, {+ pythonSkills: [AGENT_MESSAGE_SKILL],+ hostHandlers: {+ // The family roster: parent, siblings, and children of this agent.+ "agent_message.list_agents": async () => ({+ current: { name: "root", id: "session-alpha", depth: 0 },+ entries: [{ relationship: "child", name: "reviewer", id: "session-beta", depth: 1, status: "idle" }],+ }),+ "agent_message.send": async (payload) => ({+ id: "agentmsg-acp",+ source: "agent_message",+ target: { activeSessionId: "beta", sessionId: "session-beta", sessionName: "reviewer" },+ message: payload.message,+ deliveryStatus: "queued",+ queuedAt: "2026-08-04T00:00:00.000Z",+ deliveryMode: payload.mode ?? "auto",+ }),+ },+ });+ const manager = await provisioner.ensure();- // The kernel venv is shared across test files. If a concurrently running- // file rebuilt it without this skill, say so plainly rather than failing- // later with an opaque AttributeError on the stub object.- const available = await manager.execute(- "import json; print(json.dumps({'kind': type(agent_message).__name__}))",- );- expect(available.status, why(available)).toBe("ok");- expect(- JSON.parse(available.stdout.trim()).kind,- "agent_message skill was not installed into the shared kernel venv",- ).not.toBe("_PrimeAgentUnavailableSkill");+ // The kernel venv is shared across test files. If a concurrently running+ // file rebuilt it without this skill, say so plainly rather than failing+ // later with an opaque AttributeError on the stub object.+ const available = await manager.execute("import json; print(json.dumps({'kind': type(agent_message).__name__}))");+ expect(available.status, why(available)).toBe("ok");+ expect(+ JSON.parse(available.stdout.trim()).kind,+ "agent_message skill was not installed into the shared kernel venv",+ ).not.toBe("_PrimeAgentUnavailableSkill");- const result = await manager.execute(`+ const result = await manager.execute(`import jsonroster = await agent_message.list_agents()receipt = await agent_message.send("status update", receiver_role="child", receiver_name="reviewer")@@ -259,23 +254,22 @@ print(json.dumps({"status": receipt["deliveryStatus"],}))`);- expect(result.status, why(result)).toBe("ok");- const payload = JSON.parse(result.stdout.trim());- expect(payload.roster).toEqual(["reviewer"]);- expect(payload.status).toBe("queued");+ expect(result.status, why(result)).toBe("ok");+ const payload = JSON.parse(result.stdout.trim());+ expect(payload.roster).toEqual(["reviewer"]);+ expect(payload.status).toBe("queued");- // The kernel reports the send; ACP carries it as namespaced metadata.- const sentMessages = result.sentAgentMessages ?? [];- expect(sentMessages.length).toBeGreaterThan(0);- const sent = sentMessages[0];- const updates = acpUpdatesForSessionEvent({- type: "ipython_sent_agent_message",- toolCallId: "cell-msg",- message: sent,- } as AgentConnectionSessionEvent);- expect(updates[0]?._meta).toMatchObject({- [PRIME_AGENT_META_NAMESPACE]: { agentMessage: { toolCallId: "cell-msg", deliveryStatus: "queued" } },- });- },- );+ // The kernel reports the send; ACP carries it as namespaced metadata.+ const sentMessages = result.sentAgentMessages ?? [];+ expect(sentMessages.length).toBeGreaterThan(0);+ const sent = sentMessages[0];+ const updates = acpUpdatesForSessionEvent({+ type: "ipython_sent_agent_message",+ toolCallId: "cell-msg",+ message: sent,+ } as AgentConnectionSessionEvent);+ expect(updates[0]?._meta).toMatchObject({+ [PRIME_AGENT_META_NAMESPACE]: { agentMessage: { toolCallId: "cell-msg", deliveryStatus: "queued" } },+ });+ });});diff --git a/packages/coding-agent/test/daemon-supervisor-process.test.ts b/packages/coding-agent/test/daemon-supervisor-process.test.tsindex 43df0e2cbf..27fc3cb3b1 100644--- a/packages/coding-agent/test/daemon-supervisor-process.test.ts+++ b/packages/coding-agent/test/daemon-supervisor-process.test.ts@@ -649,60 +649,55 @@ describe("daemon supervisor resident workers", () => {await waitForSocketGone(socketPath);});- it(- "cancels an orphan heartbeat instead of recreating a descriptorless active session",- { tags: ["process-stress"] },- async () => {- const root = tempDir();- const agentDir = join(root, "agent");- const projectDir = join(root, "project");- const sessionDir = join(agentDir, "sessions");- const socketPath = join(- tmpdir(),- `prime-supervisor-orphan-cron-${process.pid}-${randomUUID().slice(0, 8)}.sock`,- );- mkdirSync(projectDir, { recursive: true });- const sessionManager = SessionManager.create(projectDir, sessionDir);- sessionManager.appendMessage({ role: "user", content: "old scheduled work", timestamp: 1 });- sessionManager.appendSessionState({ status: "active" });- const sessionFile = sessionManager.getSessionFile();- if (!sessionFile) {- throw new Error("Fixture session did not persist");- }- const cronStore = new AgentCronJobStore(getCronJobsPath(agentDir));- const heartbeat = cronStore.createHeartbeat({- activeSessionId: "deleted-worker",- sessionId: sessionManager.getSessionId(),- sessionFile,- cwd: projectDir,- scheduleText: "every 10s",- prompt: "continue old work",- now: new Date(Date.now() - 20_000),- });+ it("cancels an orphan heartbeat instead of recreating a descriptorless active session", {+ tags: ["process-stress"],+ }, async () => {+ const root = tempDir();+ const agentDir = join(root, "agent");+ const projectDir = join(root, "project");+ const sessionDir = join(agentDir, "sessions");+ const socketPath = join(tmpdir(), `prime-supervisor-orphan-cron-${process.pid}-${randomUUID().slice(0, 8)}.sock`);+ mkdirSync(projectDir, { recursive: true });+ const sessionManager = SessionManager.create(projectDir, sessionDir);+ sessionManager.appendMessage({ role: "user", content: "old scheduled work", timestamp: 1 });+ sessionManager.appendSessionState({ status: "active" });+ const sessionFile = sessionManager.getSessionFile();+ if (!sessionFile) {+ throw new Error("Fixture session did not persist");+ }+ const cronStore = new AgentCronJobStore(getCronJobsPath(agentDir));+ const heartbeat = cronStore.createHeartbeat({+ activeSessionId: "deleted-worker",+ sessionId: sessionManager.getSessionId(),+ sessionFile,+ cwd: projectDir,+ scheduleText: "every 10s",+ prompt: "continue old work",+ now: new Date(Date.now() - 20_000),+ });- const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);- const client = await connectEventually(socketPath, supervisor);- const migratedStore = AgentCronJobStore.forSessionArtifacts();- migratedStore.registerSessionArtifact(sessionManager.getSessionId(), sessionManager.getSessionArtifactDir()!);- await waitForCondition(- () => migratedStore.list().find((job) => job.id === heartbeat.id)?.status === "cancelled",- "Orphan heartbeat was not cancelled",- );+ const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);+ const client = await connectEventually(socketPath, supervisor);+ const migratedStore = AgentCronJobStore.forSessionArtifacts();+ migratedStore.registerSessionArtifact(sessionManager.getSessionId(), sessionManager.getSessionArtifactDir()!);+ await waitForCondition(+ () => migratedStore.list().find((job) => job.id === heartbeat.id)?.status === "cancelled",+ "Orphan heartbeat was not cancelled",+ );- expect(countWorkerDescriptors(agentDir)).toBe(0);- const listed = await client.request({ type: "list" });- expect(listed.success).toBe(true);- expect(- requireSessionList(listed.success ? listed.data : undefined).filter(- (session) => session.activeSessionId || session.workerPid,- ),- ).toEqual([]);+ expect(countWorkerDescriptors(agentDir)).toBe(0);+ const listed = await client.request({ type: "list" });+ expect(listed.success).toBe(true);+ expect(+ requireSessionList(listed.success ? listed.data : undefined).filter(+ (session) => session.activeSessionId || session.workerPid,+ ),+ ).toEqual([]);- await client.request({ type: "shutdown" });- client.close();- await waitForSocketGone(socketPath);- },- );+ await client.request({ type: "shutdown" });+ client.close();+ await waitForSocketGone(socketPath);+ });it("restarts an empty supervisor without requiring a resident worker", async () => {const root = tempDir();@@ -827,244 +822,233 @@ describe("daemon supervisor resident workers", () => {await waitForSocketGone(socketPath);}, 30_000);- it(- "finalizes a timed-out worker stop by force-stopping the process and removing its registration",- { tags: ["process-stress"], timeout: 45_000 },- async () => {- const root = tempDir();- const agentDir = join(root, "agent");- const projectDir = join(root, "project");- const sessionDir = join(agentDir, "sessions");- const socketPath = join(- tmpdir(),- `prime-supervisor-stop-finalize-${process.pid}-${randomUUID().slice(0, 8)}.sock`,- );- mkdirSync(projectDir, { recursive: true });- const sessionManager = SessionManager.create(projectDir, sessionDir);- sessionManager.appendMessage({ role: "user", content: "finalize me", timestamp: 1 });- const sessionFile = sessionManager.getSessionFile();- if (!sessionFile) {- throw new Error("Fixture session did not persist");- }+ it("finalizes a timed-out worker stop by force-stopping the process and removing its registration", {+ tags: ["process-stress"],+ timeout: 45_000,+ }, async () => {+ const root = tempDir();+ const agentDir = join(root, "agent");+ const projectDir = join(root, "project");+ const sessionDir = join(agentDir, "sessions");+ const socketPath = join(+ tmpdir(),+ `prime-supervisor-stop-finalize-${process.pid}-${randomUUID().slice(0, 8)}.sock`,+ );+ mkdirSync(projectDir, { recursive: true });+ const sessionManager = SessionManager.create(projectDir, sessionDir);+ sessionManager.appendMessage({ role: "user", content: "finalize me", timestamp: 1 });+ const sessionFile = sessionManager.getSessionFile();+ if (!sessionFile) {+ throw new Error("Fixture session did not persist");+ }- const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);- const client = await connectEventually(socketPath, supervisor);- const created = await client.request({- type: "create",- sessionPath: sessionFile,- lifecycle: "client_owned",- config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },- });- if (!created.success) {- throw new Error(created.error);- }- const summary = requireSummary(created.data);- if (!summary.workerPid) {- throw new Error("Resident worker did not expose its pid");- }- workerPids.add(summary.workerPid);- const activeSessionId = summary.activeSessionId ?? summary.id;-- // A suspended worker cannot exit within the stop deadline, so the stop- // times out and used to leave a tombstoned registration behind forever.- process.kill(summary.workerPid, "SIGSTOP");- const stopResult = await client.request({ type: "complete_owned_session", activeSessionId }, 30_000);- expect(stopResult).toMatchObject({- success: false,- error: expect.stringContaining("did not stop"),- });- const tombstone = readWorkerDescriptor(agentDir);- expect(tombstone.stopRequestedAt).toEqual(expect.any(String));-- // The supervisor finishes the interrupted stop on its own: it escalates- // to SIGKILL, waits for the process to die, and removes the registration.- await waitForProcessGone(summary.workerPid);- workerPids.delete(summary.workerPid);- await waitForCondition(- () => countWorkerDescriptors(agentDir) === 0,- "Timed-out worker stop was not finalized",- 20_000,- );+ const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);+ const client = await connectEventually(socketPath, supervisor);+ const created = await client.request({+ type: "create",+ sessionPath: sessionFile,+ lifecycle: "client_owned",+ config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },+ });+ if (!created.success) {+ throw new Error(created.error);+ }+ const summary = requireSummary(created.data);+ if (!summary.workerPid) {+ throw new Error("Resident worker did not expose its pid");+ }+ workerPids.add(summary.workerPid);+ const activeSessionId = summary.activeSessionId ?? summary.id;- await client.request({ type: "shutdown" });- client.close();- await waitForSocketGone(socketPath);- },- );+ // A suspended worker cannot exit within the stop deadline, so the stop+ // times out and used to leave a tombstoned registration behind forever.+ process.kill(summary.workerPid, "SIGSTOP");+ const stopResult = await client.request({ type: "complete_owned_session", activeSessionId }, 30_000);+ expect(stopResult).toMatchObject({+ success: false,+ error: expect.stringContaining("did not stop"),+ });+ const tombstone = readWorkerDescriptor(agentDir);+ expect(tombstone.stopRequestedAt).toEqual(expect.any(String));- it(- "resumes a saved session immediately after a worker stop fails and the process dies",- { tags: ["process-stress"], timeout: 45_000 },- async () => {- const root = tempDir();- const agentDir = join(root, "agent");- const projectDir = join(root, "project");- const sessionDir = join(agentDir, "sessions");- const socketPath = join(- tmpdir(),- `prime-supervisor-resume-heal-${process.pid}-${randomUUID().slice(0, 8)}.sock`,- );- mkdirSync(projectDir, { recursive: true });- const sessionManager = SessionManager.create(projectDir, sessionDir);- sessionManager.appendMessage({ role: "user", content: "resume me", timestamp: 1 });- const sessionFile = sessionManager.getSessionFile();- if (!sessionFile) {- throw new Error("Fixture session did not persist");- }+ // The supervisor finishes the interrupted stop on its own: it escalates+ // to SIGKILL, waits for the process to die, and removes the registration.+ await waitForProcessGone(summary.workerPid);+ workerPids.delete(summary.workerPid);+ await waitForCondition(+ () => countWorkerDescriptors(agentDir) === 0,+ "Timed-out worker stop was not finalized",+ 20_000,+ );- const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);- const client = await connectEventually(socketPath, supervisor);- const created = await client.request({- type: "create",- sessionPath: sessionFile,- lifecycle: "client_owned",- config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },- });- if (!created.success) {- throw new Error(created.error);- }- const summary = requireSummary(created.data);- if (!summary.workerPid) {- throw new Error("Resident worker did not expose its pid");- }- workerPids.add(summary.workerPid);- const activeSessionId = summary.activeSessionId ?? summary.id;-- // A suspended worker forces the stop past its deadline, leaving a- // tombstoned registration for a process that dies moments later.- process.kill(summary.workerPid, "SIGSTOP");- const stopResult = await client.request({ type: "complete_owned_session", activeSessionId }, 30_000);- expect(stopResult).toMatchObject({- success: false,- error: expect.stringContaining("did not stop"),- });- process.kill(summary.workerPid, "SIGKILL");- await waitForProcessGone(summary.workerPid);- workerPids.delete(summary.workerPid);-- // Resuming the saved transcript must not be blocked by the stale- // registration. Whichever cleanup wins the race — the background stop- // finalizer or the resume-time reclaim (each covered deterministically- // by unit tests) — the user-visible guarantee is the same: the resume- // below must succeed with a fresh worker.- const resumed = await client.request({- type: "create",- sessionPath: sessionFile,- config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },- });- expect(resumed.success).toBe(true);- const resumedSummary = requireSummary(resumed.success ? resumed.data : undefined);- expect(resumedSummary.sessionId).toBe(summary.sessionId);- expect(resumedSummary.workerPid).not.toBe(summary.workerPid);- expect(resumedSummary.workerState).toBe("ready");- if (resumedSummary.workerPid) {- workerPids.add(resumedSummary.workerPid);- }+ await client.request({ type: "shutdown" });+ client.close();+ await waitForSocketGone(socketPath);+ });- const attached = await client.request({- type: "attach",- activeSessionId: resumedSummary.activeSessionId ?? resumedSummary.id,- });- expect(attached.success).toBe(true);+ it("resumes a saved session immediately after a worker stop fails and the process dies", {+ tags: ["process-stress"],+ timeout: 45_000,+ }, async () => {+ const root = tempDir();+ const agentDir = join(root, "agent");+ const projectDir = join(root, "project");+ const sessionDir = join(agentDir, "sessions");+ const socketPath = join(tmpdir(), `prime-supervisor-resume-heal-${process.pid}-${randomUUID().slice(0, 8)}.sock`);+ mkdirSync(projectDir, { recursive: true });+ const sessionManager = SessionManager.create(projectDir, sessionDir);+ sessionManager.appendMessage({ role: "user", content: "resume me", timestamp: 1 });+ const sessionFile = sessionManager.getSessionFile();+ if (!sessionFile) {+ throw new Error("Fixture session did not persist");+ }- await client.request({ type: "shutdown" });- client.close();- await waitForSocketGone(socketPath);- if (resumedSummary.workerPid) {- await waitForProcessGone(resumedSummary.workerPid);- workerPids.delete(resumedSummary.workerPid);- }- },- );+ const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);+ const client = await connectEventually(socketPath, supervisor);+ const created = await client.request({+ type: "create",+ sessionPath: sessionFile,+ lifecycle: "client_owned",+ config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },+ });+ if (!created.success) {+ throw new Error(created.error);+ }+ const summary = requireSummary(created.data);+ if (!summary.workerPid) {+ throw new Error("Resident worker did not expose its pid");+ }+ workerPids.add(summary.workerPid);+ const activeSessionId = summary.activeSessionId ?? summary.id;- it(- "does not resurrect an intentionally stopped root when the supervisor dies during kill",- { tags: ["process-stress"], timeout: 30_000 },- async () => {- const root = tempDir();- const agentDir = join(root, "agent");- const projectDir = join(root, "project");- const sessionDir = join(agentDir, "sessions");- const socketPath = join(- tmpdir(),- `prime-supervisor-stop-race-${process.pid}-${randomUUID().slice(0, 8)}.sock`,- );- mkdirSync(projectDir, { recursive: true });- const sessionManager = SessionManager.create(projectDir, sessionDir);- sessionManager.appendMessage({ role: "user", content: "stop me", timestamp: 1 });- sessionManager.appendSessionState({ status: "active" });- const sessionFile = sessionManager.getSessionFile();- if (!sessionFile) {- throw new Error("Fixture session did not persist");- }+ // A suspended worker forces the stop past its deadline, leaving a+ // tombstoned registration for a process that dies moments later.+ process.kill(summary.workerPid, "SIGSTOP");+ const stopResult = await client.request({ type: "complete_owned_session", activeSessionId }, 30_000);+ expect(stopResult).toMatchObject({+ success: false,+ error: expect.stringContaining("did not stop"),+ });+ process.kill(summary.workerPid, "SIGKILL");+ await waitForProcessGone(summary.workerPid);+ workerPids.delete(summary.workerPid);- const firstSupervisor = spawnSupervisor(agentDir, socketPath, projectDir);- const client = await connectEventually(socketPath, firstSupervisor);- const firstSupervisorPid = client.hello?.supervisorPid;- if (!firstSupervisorPid) {- throw new Error("Daemon hello did not expose its supervisor pid");- }- const created = await client.request({- type: "create",- sessionPath: sessionFile,- config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },- });- if (!created.success) {- throw new Error(created.error);- }- const summary = requireSummary(created.data);- if (!summary.workerPid) {- throw new Error("Resident worker did not expose its pid");- }- workerPids.add(summary.workerPid);- const activeSessionId = summary.activeSessionId ?? summary.id;- const heartbeatResponse = await client.request({- type: "heartbeat_set",- activeSessionId,- schedule: "every 1h",- prompt: "continue old work",- });- if (!heartbeatResponse.success || !heartbeatResponse.data || typeof heartbeatResponse.data !== "object") {- throw new Error(- heartbeatResponse.success ? "Heartbeat response was missing data" : heartbeatResponse.error,- );- }- const heartbeat = (heartbeatResponse.data as { heartbeat: { id: string } }).heartbeat;- const cronStore = AgentCronJobStore.forSessionArtifacts();- cronStore.registerSessionArtifact(summary.sessionId, sessionManager.getSessionArtifactDir()!);- process.kill(summary.workerPid, "SIGSTOP");- const killResult = client.request({ type: "kill", activeSessionId }).catch((error: unknown) => error);- const tombstone = await waitForWorkerStopTombstone(agentDir);- expect(tombstone.stopRequestedAt).toEqual(expect.any(String));- expect(tombstone.archiveOnStop).toBe(true);-- process.kill(firstSupervisorPid, "SIGKILL");- await waitForExit(firstSupervisor);- children.delete(firstSupervisor);- client.close();- await expect(killResult).resolves.toBeInstanceOf(Error);-- const replacementSupervisor = spawnSupervisor(agentDir, socketPath, projectDir);- const replacementClient = await connectEventually(socketPath, replacementSupervisor);- const listed = await replacementClient.request({ type: "list" });- expect(listed.success).toBe(true);- const sessions = requireSessionList(listed.success ? listed.data : undefined);- expect(sessions.filter((session) => session.activeSessionId || session.workerPid)).toEqual([]);- await waitForProcessGone(summary.workerPid);- workerPids.delete(summary.workerPid);- await waitForCondition(- () => countWorkerDescriptors(agentDir) === 0,- "Intentional worker stop descriptor was not removed",- );- expect(countWorkerDescriptors(agentDir)).toBe(0);- expect((await readSessionInfo(sessionFile))?.state).toEqual({ status: "archived" });- expect(cronStore.list().find((job) => job.id === heartbeat.id)).toMatchObject({ status: "cancelled" });+ // Resuming the saved transcript must not be blocked by the stale+ // registration. Whichever cleanup wins the race — the background stop+ // finalizer or the resume-time reclaim (each covered deterministically+ // by unit tests) — the user-visible guarantee is the same: the resume+ // below must succeed with a fresh worker.+ const resumed = await client.request({+ type: "create",+ sessionPath: sessionFile,+ config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },+ });+ expect(resumed.success).toBe(true);+ const resumedSummary = requireSummary(resumed.success ? resumed.data : undefined);+ expect(resumedSummary.sessionId).toBe(summary.sessionId);+ expect(resumedSummary.workerPid).not.toBe(summary.workerPid);+ expect(resumedSummary.workerState).toBe("ready");+ if (resumedSummary.workerPid) {+ workerPids.add(resumedSummary.workerPid);+ }- await replacementClient.request({ type: "shutdown" });- replacementClient.close();- await waitForSocketGone(socketPath);- },- );+ const attached = await client.request({+ type: "attach",+ activeSessionId: resumedSummary.activeSessionId ?? resumedSummary.id,+ });+ expect(attached.success).toBe(true);++ await client.request({ type: "shutdown" });+ client.close();+ await waitForSocketGone(socketPath);+ if (resumedSummary.workerPid) {+ await waitForProcessGone(resumedSummary.workerPid);+ workerPids.delete(resumedSummary.workerPid);+ }+ });++ it("does not resurrect an intentionally stopped root when the supervisor dies during kill", {+ tags: ["process-stress"],+ timeout: 30_000,+ }, async () => {+ const root = tempDir();+ const agentDir = join(root, "agent");+ const projectDir = join(root, "project");+ const sessionDir = join(agentDir, "sessions");+ const socketPath = join(tmpdir(), `prime-supervisor-stop-race-${process.pid}-${randomUUID().slice(0, 8)}.sock`);+ mkdirSync(projectDir, { recursive: true });+ const sessionManager = SessionManager.create(projectDir, sessionDir);+ sessionManager.appendMessage({ role: "user", content: "stop me", timestamp: 1 });+ sessionManager.appendSessionState({ status: "active" });+ const sessionFile = sessionManager.getSessionFile();+ if (!sessionFile) {+ throw new Error("Fixture session did not persist");+ }++ const firstSupervisor = spawnSupervisor(agentDir, socketPath, projectDir);+ const client = await connectEventually(socketPath, firstSupervisor);+ const firstSupervisorPid = client.hello?.supervisorPid;+ if (!firstSupervisorPid) {+ throw new Error("Daemon hello did not expose its supervisor pid");+ }+ const created = await client.request({+ type: "create",+ sessionPath: sessionFile,+ config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },+ });+ if (!created.success) {+ throw new Error(created.error);+ }+ const summary = requireSummary(created.data);+ if (!summary.workerPid) {+ throw new Error("Resident worker did not expose its pid");+ }+ workerPids.add(summary.workerPid);+ const activeSessionId = summary.activeSessionId ?? summary.id;+ const heartbeatResponse = await client.request({+ type: "heartbeat_set",+ activeSessionId,+ schedule: "every 1h",+ prompt: "continue old work",+ });+ if (!heartbeatResponse.success || !heartbeatResponse.data || typeof heartbeatResponse.data !== "object") {+ throw new Error(heartbeatResponse.success ? "Heartbeat response was missing data" : heartbeatResponse.error);+ }+ const heartbeat = (heartbeatResponse.data as { heartbeat: { id: string } }).heartbeat;+ const cronStore = AgentCronJobStore.forSessionArtifacts();+ cronStore.registerSessionArtifact(summary.sessionId, sessionManager.getSessionArtifactDir()!);+ process.kill(summary.workerPid, "SIGSTOP");+ const killResult = client.request({ type: "kill", activeSessionId }).catch((error: unknown) => error);+ const tombstone = await waitForWorkerStopTombstone(agentDir);+ expect(tombstone.stopRequestedAt).toEqual(expect.any(String));+ expect(tombstone.archiveOnStop).toBe(true);++ process.kill(firstSupervisorPid, "SIGKILL");+ await waitForExit(firstSupervisor);+ children.delete(firstSupervisor);+ client.close();+ await expect(killResult).resolves.toBeInstanceOf(Error);++ const replacementSupervisor = spawnSupervisor(agentDir, socketPath, projectDir);+ const replacementClient = await connectEventually(socketPath, replacementSupervisor);+ const listed = await replacementClient.request({ type: "list" });+ expect(listed.success).toBe(true);+ const sessions = requireSessionList(listed.success ? listed.data : undefined);+ expect(sessions.filter((session) => session.activeSessionId || session.workerPid)).toEqual([]);+ await waitForProcessGone(summary.workerPid);+ workerPids.delete(summary.workerPid);+ await waitForCondition(+ () => countWorkerDescriptors(agentDir) === 0,+ "Intentional worker stop descriptor was not removed",+ );+ expect(countWorkerDescriptors(agentDir)).toBe(0);+ expect((await readSessionInfo(sessionFile))?.state).toEqual({ status: "archived" });+ expect(cronStore.list().find((job) => job.id === heartbeat.id)).toMatchObject({ status: "cancelled" });++ await replacementClient.request({ type: "shutdown" });+ replacementClient.close();+ await waitForSocketGone(socketPath);+ });it("hosts and adopts isolated worker processes", async () => {const root = tempDir();@@ -1137,146 +1121,142 @@ describe("daemon supervisor resident workers", () => {);}, 60_000);- it(- "hosts resident roots in isolated worker processes without a session cap",- { tags: ["process-stress"], timeout: 180_000 },- async () => {- const root = tempDir();- const agentDir = join(root, "agent");- const projectDir = join(root, "project");- const sessionDir = join(agentDir, "sessions");- const socketPath = join(- tmpdir(),- `prime-supervisor-many-roots-${process.pid}-${randomUUID().slice(0, 8)}.sock`,- );- mkdirSync(projectDir, { recursive: true });- const sessionFiles = Array.from({ length: PROCESS_STRESS_WORKERS }, (_, index) => {- const manager = SessionManager.create(projectDir, sessionDir);- manager.appendMessage({ role: "user", content: `root ${index}`, timestamp: index + 1 });- const sessionFile = manager.getSessionFile();- if (!sessionFile) {- throw new Error("Fixture session did not persist");- }- return sessionFile;- });+ it("hosts resident roots in isolated worker processes without a session cap", {+ tags: ["process-stress"],+ timeout: 180_000,+ }, async () => {+ const root = tempDir();+ const agentDir = join(root, "agent");+ const projectDir = join(root, "project");+ const sessionDir = join(agentDir, "sessions");+ const socketPath = join(tmpdir(), `prime-supervisor-many-roots-${process.pid}-${randomUUID().slice(0, 8)}.sock`);+ mkdirSync(projectDir, { recursive: true });+ const sessionFiles = Array.from({ length: PROCESS_STRESS_WORKERS }, (_, index) => {+ const manager = SessionManager.create(projectDir, sessionDir);+ manager.appendMessage({ role: "user", content: `root ${index}`, timestamp: index + 1 });+ const sessionFile = manager.getSessionFile();+ if (!sessionFile) {+ throw new Error("Fixture session did not persist");+ }+ return sessionFile;+ });- const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);- const client = await connectEventually(socketPath, supervisor);- const externalLease = acquireSessionLease(sessionFiles[0], agentDir, {- [SESSION_LEASES_ENABLED_ENV]: "1",- [SESSION_LEASE_OWNER_ID_ENV]: "external-owner",- });- const conflict = await client.request({- type: "create",- sessionPath: sessionFiles[0],- config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },- });- expect(conflict).toMatchObject({- success: false,- errorInfo: { code: "session_already_active", activeSessionId: "external-owner" },- });- const emptyAfterConflict = await client.request({ type: "list" });- expect(requireSessionList(emptyAfterConflict.success ? emptyAfterConflict.data : undefined)).toHaveLength(0);- externalLease?.release();- const created = await Promise.all(- sessionFiles.map((sessionPath) =>- client.request({- type: "create",- sessionPath,- config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },- }),- ),- );- const summaries = created.map((response) => {- if (!response.success) {- throw new Error(response.error);- }- return requireSummary(response.data);- });- const pids = summaries.map((summary) => summary.workerPid);- expect(new Set(pids).size).toBe(PROCESS_STRESS_WORKERS);- expect(pids).not.toContain(supervisor.pid);- for (const pid of pids) {- if (!pid) {- throw new Error("Resident root did not expose a worker pid");- }- workerPids.add(pid);+ const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);+ const client = await connectEventually(socketPath, supervisor);+ const externalLease = acquireSessionLease(sessionFiles[0], agentDir, {+ [SESSION_LEASES_ENABLED_ENV]: "1",+ [SESSION_LEASE_OWNER_ID_ENV]: "external-owner",+ });+ const conflict = await client.request({+ type: "create",+ sessionPath: sessionFiles[0],+ config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },+ });+ expect(conflict).toMatchObject({+ success: false,+ errorInfo: { code: "session_already_active", activeSessionId: "external-owner" },+ });+ const emptyAfterConflict = await client.request({ type: "list" });+ expect(requireSessionList(emptyAfterConflict.success ? emptyAfterConflict.data : undefined)).toHaveLength(0);+ externalLease?.release();+ const created = await Promise.all(+ sessionFiles.map((sessionPath) =>+ client.request({+ type: "create",+ sessionPath,+ config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },+ }),+ ),+ );+ const summaries = created.map((response) => {+ if (!response.success) {+ throw new Error(response.error);}- const firstActiveSessionId = summaries[0]!.activeSessionId ?? summaries[0]!.id;- const addedCron = await client.request({- type: "cron_add",- activeSessionId: firstActiveSessionId,- schedule: "every 1h",- prompt: "check status",- });- expect(addedCron.success).toBe(true);- const cronJob = (addedCron.success ? addedCron.data : undefined) as { job?: { id?: string } } | undefined;- if (!cronJob?.job?.id) {- throw new Error("Supervisor did not persist the cron job");+ return requireSummary(response.data);+ });+ const pids = summaries.map((summary) => summary.workerPid);+ expect(new Set(pids).size).toBe(PROCESS_STRESS_WORKERS);+ expect(pids).not.toContain(supervisor.pid);+ for (const pid of pids) {+ if (!pid) {+ throw new Error("Resident root did not expose a worker pid");}- const listedCron = await client.request({ type: "cron_list", activeSessionId: firstActiveSessionId });- expect(listedCron).toMatchObject({ success: true, data: { jobs: [{ id: cronJob.job.id }] } });- const cancelledCron = await client.request({ type: "cron_cancel", jobId: cronJob.job.id });- expect(cancelledCron.success).toBe(true);- const activeSessionIds = summaries.map((summary) => summary.activeSessionId ?? summary.id);- await Promise.all(- activeSessionIds.map((activeSessionId, index) =>- startBlockingBash(client, activeSessionId, join(root, `stress-blocker-${index}.ready`)),- ),- );- const heartbeats = await Promise.all(- activeSessionIds.map((activeSessionId, index) =>- client.request({- type: "heartbeat_set",- activeSessionId,- schedule: "every 10s",- prompt: `heartbeat ${index}`,- }),- ),- );- expect(heartbeats.every((response) => response.success)).toBe(true);- await waitForCondition(- () => {- const stores = summaries.map((summary, index) => {- const store = AgentCronJobStore.forSessionArtifacts();- store.registerSessionArtifact(- summary.sessionId,- join(dirname(dirname(sessionFiles[index]!)), "session-artifacts", summary.sessionId),- );- return store;- });- return stores.every((store) => store.list().some((job) => job.lastSkippedAt !== undefined));- },- "Session workers did not advance their heartbeats independently",- 15_000,- );-- const listed = await client.request({ type: "list" });- expect(listed.success).toBe(true);- expect(requireSessionList(listed.success ? listed.data : undefined)).toHaveLength(PROCESS_STRESS_WORKERS);- supervisor.kill("SIGTERM");- await waitForExit(supervisor);- children.delete(supervisor);- client.close();- const replacementClient = await connectEventually(socketPath);- const adopted = await replacementClient.request({ type: "list" });- expect(adopted.success).toBe(true);- expect(- new Set(requireSessionList(adopted.success ? adopted.data : undefined).map((summary) => summary.workerPid)),- ).toEqual(new Set(pids));- await replacementClient.request({ type: "shutdown" });- replacementClient.close();- await waitForSocketGone(socketPath);- await Promise.all(- pids.map(async (pid) => {- if (pid) {- await waitForProcessGone(pid);- workerPids.delete(pid);- }+ workerPids.add(pid);+ }+ const firstActiveSessionId = summaries[0]!.activeSessionId ?? summaries[0]!.id;+ const addedCron = await client.request({+ type: "cron_add",+ activeSessionId: firstActiveSessionId,+ schedule: "every 1h",+ prompt: "check status",+ });+ expect(addedCron.success).toBe(true);+ const cronJob = (addedCron.success ? addedCron.data : undefined) as { job?: { id?: string } } | undefined;+ if (!cronJob?.job?.id) {+ throw new Error("Supervisor did not persist the cron job");+ }+ const listedCron = await client.request({ type: "cron_list", activeSessionId: firstActiveSessionId });+ expect(listedCron).toMatchObject({ success: true, data: { jobs: [{ id: cronJob.job.id }] } });+ const cancelledCron = await client.request({ type: "cron_cancel", jobId: cronJob.job.id });+ expect(cancelledCron.success).toBe(true);+ const activeSessionIds = summaries.map((summary) => summary.activeSessionId ?? summary.id);+ await Promise.all(+ activeSessionIds.map((activeSessionId, index) =>+ startBlockingBash(client, activeSessionId, join(root, `stress-blocker-${index}.ready`)),+ ),+ );+ const heartbeats = await Promise.all(+ activeSessionIds.map((activeSessionId, index) =>+ client.request({+ type: "heartbeat_set",+ activeSessionId,+ schedule: "every 10s",+ prompt: `heartbeat ${index}`,}),- );- },- );+ ),+ );+ expect(heartbeats.every((response) => response.success)).toBe(true);+ await waitForCondition(+ () => {+ const stores = summaries.map((summary, index) => {+ const store = AgentCronJobStore.forSessionArtifacts();+ store.registerSessionArtifact(+ summary.sessionId,+ join(dirname(dirname(sessionFiles[index]!)), "session-artifacts", summary.sessionId),+ );+ return store;+ });+ return stores.every((store) => store.list().some((job) => job.lastSkippedAt !== undefined));+ },+ "Session workers did not advance their heartbeats independently",+ 15_000,+ );++ const listed = await client.request({ type: "list" });+ expect(listed.success).toBe(true);+ expect(requireSessionList(listed.success ? listed.data : undefined)).toHaveLength(PROCESS_STRESS_WORKERS);+ supervisor.kill("SIGTERM");+ await waitForExit(supervisor);+ children.delete(supervisor);+ client.close();+ const replacementClient = await connectEventually(socketPath);+ const adopted = await replacementClient.request({ type: "list" });+ expect(adopted.success).toBe(true);+ expect(+ new Set(requireSessionList(adopted.success ? adopted.data : undefined).map((summary) => summary.workerPid)),+ ).toEqual(new Set(pids));+ await replacementClient.request({ type: "shutdown" });+ replacementClient.close();+ await waitForSocketGone(socketPath);+ await Promise.all(+ pids.map(async (pid) => {+ if (pid) {+ await waitForProcessGone(pid);+ workerPids.delete(pid);+ }+ }),+ );+ });it("isolates a root, streams a chunked snapshot, and adopts the same worker after restart", async () => {const root = tempDir();@@ -1458,72 +1438,71 @@ describe("daemon supervisor resident workers", () => {workerPids.delete(recovered.workerPid);});- it(- "runs a session-artifact cron job while the supervisor is being replaced",- { tags: ["process-stress"], timeout: 30_000 },- async () => {- const root = tempDir();- const agentDir = join(root, "agent");- const projectDir = join(root, "project");- const sessionDir = join(agentDir, "sessions");- const socketPath = join(tmpdir(), `prime-worker-cron-${process.pid}-${randomUUID().slice(0, 8)}.sock`);- mkdirSync(projectDir, { recursive: true });- const sessionManager = SessionManager.create(projectDir, sessionDir);- sessionManager.appendMessage({ role: "user", content: "scheduled work", timestamp: 1 });- sessionManager.appendSessionState({ status: "active" });- const sessionFile = sessionManager.getSessionFile();- const artifactDir = sessionManager.getSessionArtifactDir();- if (!sessionFile || !artifactDir) {- throw new Error("Fixture session did not persist");- }+ it("runs a session-artifact cron job while the supervisor is being replaced", {+ tags: ["process-stress"],+ timeout: 30_000,+ }, async () => {+ const root = tempDir();+ const agentDir = join(root, "agent");+ const projectDir = join(root, "project");+ const sessionDir = join(agentDir, "sessions");+ const socketPath = join(tmpdir(), `prime-worker-cron-${process.pid}-${randomUUID().slice(0, 8)}.sock`);+ mkdirSync(projectDir, { recursive: true });+ const sessionManager = SessionManager.create(projectDir, sessionDir);+ sessionManager.appendMessage({ role: "user", content: "scheduled work", timestamp: 1 });+ sessionManager.appendSessionState({ status: "active" });+ const sessionFile = sessionManager.getSessionFile();+ const artifactDir = sessionManager.getSessionArtifactDir();+ if (!sessionFile || !artifactDir) {+ throw new Error("Fixture session did not persist");+ }- const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);- const client = await connectEventually(socketPath, supervisor);- const created = await client.request({- type: "create",- sessionPath: sessionFile,- config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },- });- if (!created.success) {- throw new Error(created.error);- }- const summary = requireSummary(created.data);- if (!summary.workerPid) {- throw new Error("Resident worker did not expose its pid");- }- workerPids.add(summary.workerPid);- await startBlockingBash(client, summary.activeSessionId ?? summary.id, join(root, "heartbeat-blocker.ready"));- const scheduled = await client.request({- type: "heartbeat_set",- activeSessionId: summary.activeSessionId ?? summary.id,- schedule: "every 10s",- prompt: "continue without the supervisor",- });- if (!scheduled.success || !scheduled.data || typeof scheduled.data !== "object") {- throw new Error(scheduled.success ? "Heartbeat response was missing its job" : scheduled.error);- }- const job = (scheduled.data as { heartbeat: { id: string } }).heartbeat;+ const supervisor = spawnSupervisor(agentDir, socketPath, projectDir);+ const client = await connectEventually(socketPath, supervisor);+ const created = await client.request({+ type: "create",+ sessionPath: sessionFile,+ config: { cwd: projectDir, agentDir, sessionDir, noTools: true, noExtensions: true },+ });+ if (!created.success) {+ throw new Error(created.error);+ }+ const summary = requireSummary(created.data);+ if (!summary.workerPid) {+ throw new Error("Resident worker did not expose its pid");+ }+ workerPids.add(summary.workerPid);+ await startBlockingBash(client, summary.activeSessionId ?? summary.id, join(root, "heartbeat-blocker.ready"));+ const scheduled = await client.request({+ type: "heartbeat_set",+ activeSessionId: summary.activeSessionId ?? summary.id,+ schedule: "every 10s",+ prompt: "continue without the supervisor",+ });+ if (!scheduled.success || !scheduled.data || typeof scheduled.data !== "object") {+ throw new Error(scheduled.success ? "Heartbeat response was missing its job" : scheduled.error);+ }+ const job = (scheduled.data as { heartbeat: { id: string } }).heartbeat;- client.close();- supervisor.kill("SIGKILL");- await waitForExit(supervisor);- children.delete(supervisor);-- const store = AgentCronJobStore.forSessionArtifacts();- store.registerSessionArtifact(sessionManager.getSessionId(), artifactDir);- await waitForCondition(- () => store.list().find((candidate) => candidate.id === job.id)?.lastSkippedAt !== undefined,- "Resident worker did not advance its heartbeat without the supervisor",- 15_000,- );- expect(store.list().find((candidate) => candidate.id === job.id)).toBeDefined();-- const replacement = await connectEventually(socketPath);- await replacement.request({ type: "shutdown" });- replacement.close();- await waitForSocketGone(socketPath);- await waitForProcessGone(summary.workerPid);- workerPids.delete(summary.workerPid);- },- );+ client.close();+ supervisor.kill("SIGKILL");+ await waitForExit(supervisor);+ children.delete(supervisor);++ const store = AgentCronJobStore.forSessionArtifacts();+ store.registerSessionArtifact(sessionManager.getSessionId(), artifactDir);+ await waitForCondition(+ () => store.list().find((candidate) => candidate.id === job.id)?.lastSkippedAt !== undefined,+ "Resident worker did not advance its heartbeat without the supervisor",+ 15_000,+ );+ expect(store.list().find((candidate) => candidate.id === job.id)).toBeDefined();++ const replacement = await connectEventually(socketPath);+ await replacement.request({ type: "shutdown" });+ replacement.close();+ await waitForSocketGone(socketPath);+ await waitForProcessGone(summary.workerPid);+ workerPids.delete(summary.workerPid);+ });});diff --git a/packages/tui/package.json b/packages/tui/package.jsonindex 89de4d5d9f..30e04378dd 100644--- a/packages/tui/package.json+++ b/packages/tui/package.json@@ -39,7 +39,7 @@"@types/mime-types": "^3.0.1","chalk": "^5.5.0","get-east-asian-width": "^1.6.0",- "marked": "^15.0.12",+ "marked": "^18.0.7","mime-types": "^3.0.1"},"optionalDependencies": {