From 09950d00a6996382d4a3d18265b25847ebe0546e Mon Sep 17 00:00:00 2001
From: Srijan
Date: Mon, 3 Aug 2026 20:28:46 +0530
Subject: [PATCH 1/2] feat(homepage): add HAMi-DRA architecture toggle to
homepage
Signed-off-by: Srijan
---
package-lock.json | 122 ++++++++-------
package.json | 1 +
src/pages/index.js | 297 +++++++++++++++++++++++++-----------
src/pages/styles.module.css | 55 +++++++
4 files changed, 337 insertions(+), 138 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 8f94380de..2eab0f2fb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,6 +17,7 @@
"@docusaurus/preset-classic": "^3.10.1",
"@docusaurus/theme-mermaid": "^3.10.1",
"@easyops-cn/docusaurus-search-local": "^0.55.3",
+ "@fortawesome/fontawesome-svg-core": "^7.3.1",
"@fortawesome/free-brands-svg-icons": "^7.3.1",
"@fortawesome/free-solid-svg-icons": "^7.3.1",
"@fortawesome/react-fontawesome": "^3.5.0",
@@ -3608,7 +3609,7 @@
"version": "3.10.2",
"resolved": "https://registry.npmjs.org/@docusaurus/faster/-/faster-3.10.2.tgz",
"integrity": "sha512-p/5E5/RyHv+QWusJMPN5i3OMJTqTgkhuwzVbB1AReDWTUHXQCmf5mlTFzGiDrWeQWIDOKsuOPn1jJh0s9LUOHA==",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"dependencies": {
"@docusaurus/types": "3.10.2",
@@ -4355,23 +4356,21 @@
}
},
"node_modules/@fortawesome/fontawesome-common-types": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-7.2.0.tgz",
- "integrity": "sha512-IpR0bER9FY25p+e7BmFH25MZKEwFHTfRAfhOyJubgiDnoJNsSvJ7nigLraHtp4VOG/cy8D7uiV0dLkHOne5Fhw==",
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-7.3.1.tgz",
+ "integrity": "sha512-k0C0sdHmZtAo6dRDtd1Z/qcpyHbL0CKsjV8seMY/21xGhY5Wsv0XRmiI/xEEH4y2c9b1+jvgNs/3EqhV27yUEA==",
"license": "MIT",
- "peer": true,
"engines": {
"node": ">=6"
}
},
"node_modules/@fortawesome/fontawesome-svg-core": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-7.2.0.tgz",
- "integrity": "sha512-6639htZMjEkwskf3J+e6/iar+4cTNM9qhoWuRfj9F3eJD6r7iCzV1SWnQr2Mdv0QT0suuqU8BoJCZUyCtP9R4Q==",
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-7.3.1.tgz",
+ "integrity": "sha512-BoxVN3PKnMbgStHhjoaky/oWdxHomDqmBVA24IA3KEmssFGeI7u9YT/BJceOjIum/t6TpPa/vcMKaVYQeIQ/3Q==",
"license": "MIT",
- "peer": true,
"dependencies": {
- "@fortawesome/fontawesome-common-types": "7.2.0"
+ "@fortawesome/fontawesome-common-types": "7.3.1"
},
"engines": {
"node": ">=6"
@@ -4389,15 +4388,6 @@
"node": ">=6"
}
},
- "node_modules/@fortawesome/free-brands-svg-icons/node_modules/@fortawesome/fontawesome-common-types": {
- "version": "7.3.1",
- "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-7.3.1.tgz",
- "integrity": "sha512-k0C0sdHmZtAo6dRDtd1Z/qcpyHbL0CKsjV8seMY/21xGhY5Wsv0XRmiI/xEEH4y2c9b1+jvgNs/3EqhV27yUEA==",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/@fortawesome/free-solid-svg-icons": {
"version": "7.3.1",
"resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-7.3.1.tgz",
@@ -4410,15 +4400,6 @@
"node": ">=6"
}
},
- "node_modules/@fortawesome/free-solid-svg-icons/node_modules/@fortawesome/fontawesome-common-types": {
- "version": "7.3.1",
- "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-7.3.1.tgz",
- "integrity": "sha512-k0C0sdHmZtAo6dRDtd1Z/qcpyHbL0CKsjV8seMY/21xGhY5Wsv0XRmiI/xEEH4y2c9b1+jvgNs/3EqhV27yUEA==",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/@fortawesome/react-fontawesome": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-3.5.0.tgz",
@@ -5030,14 +5011,14 @@
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/error-codes/-/error-codes-0.22.0.tgz",
"integrity": "sha512-xF9SjnEy7vTdx+xekjPCV5cIHOGCkdn3pIxo9vU7gEZMIw0SvAEdsy6Uh17xaCpm8V0FWvR0SZoK9Ik6jGOaug==",
- "devOptional": true,
+ "dev": true,
"license": "MIT"
},
"node_modules/@module-federation/runtime": {
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/runtime/-/runtime-0.22.0.tgz",
"integrity": "sha512-38g5iPju2tPC3KHMPxRKmy4k4onNp6ypFPS1eKGsNLUkXgHsPMBFqAjDw96iEcjri91BrahG4XcdyKi97xZzlA==",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"dependencies": {
"@module-federation/error-codes": "0.22.0",
@@ -5049,7 +5030,7 @@
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/runtime-core/-/runtime-core-0.22.0.tgz",
"integrity": "sha512-GR1TcD6/s7zqItfhC87zAp30PqzvceoeDGYTgF3Vx2TXvsfDrhP6Qw9T4vudDQL3uJRne6t7CzdT29YyVxlgIA==",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"dependencies": {
"@module-federation/error-codes": "0.22.0",
@@ -5060,7 +5041,7 @@
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/runtime-tools/-/runtime-tools-0.22.0.tgz",
"integrity": "sha512-4ScUJ/aUfEernb+4PbLdhM/c60VHl698Gn1gY21m9vyC1Ucn69fPCA1y2EwcCB7IItseRMoNhdcWQnzt/OPCNA==",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"dependencies": {
"@module-federation/runtime": "0.22.0",
@@ -5071,14 +5052,14 @@
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/sdk/-/sdk-0.22.0.tgz",
"integrity": "sha512-x4aFNBKn2KVQRuNVC5A7SnrSCSqyfIWmm1DvubjbO9iKFe7ith5niw8dqSFBekYBg2Fwy+eMg4sEFNVvCAdo6g==",
- "devOptional": true,
+ "dev": true,
"license": "MIT"
},
"node_modules/@module-federation/webpack-bundler-runtime": {
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/webpack-bundler-runtime/-/webpack-bundler-runtime-0.22.0.tgz",
"integrity": "sha512-aM8gCqXu+/4wBmJtVeMeeMN5guw3chf+2i6HajKtQv7SJfxV/f4IyNQJUeUQu9HfiAZHjqtMV5Lvq/Lvh8LdyA==",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"dependencies": {
"@module-federation/runtime": "0.22.0",
@@ -5605,7 +5586,7 @@
"version": "1.7.11",
"resolved": "https://registry.npmjs.org/@rspack/binding/-/binding-1.7.11.tgz",
"integrity": "sha512-2MGdy2s2HimsDT444Bp5XnALzNRxuBNc7y0JzyuqKbHBywd4x2NeXyhWXXoxufaCFu5PBc9Qq9jyfjW2Aeh06Q==",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"optionalDependencies": {
"@rspack/binding-darwin-arm64": "1.7.11",
@@ -5627,6 +5608,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5640,6 +5622,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5653,6 +5636,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5666,6 +5650,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5679,6 +5664,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5692,6 +5678,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5705,6 +5692,7 @@
"cpu": [
"wasm32"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -5715,6 +5703,7 @@
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.7.tgz",
"integrity": "sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==",
+ "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -5730,6 +5719,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5743,6 +5733,7 @@
"cpu": [
"ia32"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5756,6 +5747,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5766,7 +5758,7 @@
"version": "1.7.11",
"resolved": "https://registry.npmjs.org/@rspack/core/-/core-1.7.11.tgz",
"integrity": "sha512-rsD9b+Khmot5DwCMiB3cqTQo53ioPG3M/A7BySu8+0+RS7GCxKm+Z+mtsjtG/vsu4Tn2tcqCdZtA3pgLoJB+ew==",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"dependencies": {
"@module-federation/runtime-tools": "0.22.0",
@@ -5789,7 +5781,7 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@rspack/lite-tapable/-/lite-tapable-1.1.0.tgz",
"integrity": "sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw==",
- "devOptional": true,
+ "dev": true,
"license": "MIT"
},
"node_modules/@sideway/address": {
@@ -6103,7 +6095,7 @@
"version": "1.15.47",
"resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.47.tgz",
"integrity": "sha512-FbsO5JcfOjfH38W/rohBRBweJeERsAuIP4f377lmkmxTcq9exjtx4SkRuZY5CdfhR2CBVwDIJegBpJDffwNsOg==",
- "devOptional": true,
+ "dev": true,
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
@@ -6147,6 +6139,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6163,6 +6156,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6179,6 +6173,7 @@
"cpu": [
"arm"
],
+ "dev": true,
"license": "Apache-2.0",
"optional": true,
"os": [
@@ -6195,6 +6190,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6211,6 +6207,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6227,6 +6224,7 @@
"cpu": [
"ppc64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6243,6 +6241,7 @@
"cpu": [
"s390x"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6259,6 +6258,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6275,6 +6275,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6291,6 +6292,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6307,6 +6309,7 @@
"cpu": [
"ia32"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6323,6 +6326,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6336,14 +6340,14 @@
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
"integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",
- "devOptional": true,
+ "dev": true,
"license": "Apache-2.0"
},
"node_modules/@swc/html": {
"version": "1.15.43",
"resolved": "https://registry.npmjs.org/@swc/html/-/html-1.15.43.tgz",
"integrity": "sha512-SKbkbdGi9SDO9cTdV+6H0/AYifnb2nDOlz5BlWxlWMXACV3kmX6WwZDo0bBdyGlO/G4jCVWdR5r84qfotU2now==",
- "devOptional": true,
+ "dev": true,
"license": "Apache-2.0",
"dependencies": {
"@swc/counter": "^0.1.3"
@@ -6373,6 +6377,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6389,6 +6394,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6405,6 +6411,7 @@
"cpu": [
"arm"
],
+ "dev": true,
"license": "Apache-2.0",
"optional": true,
"os": [
@@ -6421,6 +6428,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6437,6 +6445,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6453,6 +6462,7 @@
"cpu": [
"ppc64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6469,6 +6479,7 @@
"cpu": [
"s390x"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6485,6 +6496,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6501,6 +6513,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6517,6 +6530,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6533,6 +6547,7 @@
"cpu": [
"ia32"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6549,6 +6564,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6562,7 +6578,7 @@
"version": "0.1.27",
"resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.27.tgz",
"integrity": "sha512-K6h3iUlqeM946U4sXFYeahefR1YBbXJvko+hv8WS8/0BNJ4OHiHRywMnQUJCqkR7Y9+hqQ1TvEpiKqUhz7NEFg==",
- "devOptional": true,
+ "dev": true,
"license": "Apache-2.0",
"dependencies": {
"@swc/counter": "^0.1.3"
@@ -10014,7 +10030,7 @@
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
- "devOptional": true,
+ "dev": true,
"license": "Apache-2.0",
"engines": {
"node": ">=8"
@@ -12682,7 +12698,7 @@
"version": "1.32.0",
"resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
"integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
- "devOptional": true,
+ "dev": true,
"license": "MPL-2.0",
"dependencies": {
"detect-libc": "^2.0.3"
@@ -12715,6 +12731,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12735,6 +12752,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12755,6 +12773,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12775,6 +12794,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12795,6 +12815,7 @@
"cpu": [
"arm"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12815,6 +12836,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12835,6 +12857,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12855,6 +12878,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12875,6 +12899,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12895,6 +12920,7 @@
"cpu": [
"arm64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12915,6 +12941,7 @@
"cpu": [
"x64"
],
+ "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -19323,13 +19350,6 @@
"url": "https://opencollective.com/webpack"
}
},
- "node_modules/search-insights": {
- "version": "2.17.3",
- "resolved": "https://registry.npmjs.org/search-insights/-/search-insights-2.17.3.tgz",
- "integrity": "sha512-RQPdCYTa8A68uM2jwxoY842xDhvx3E5LFL1LxvxCNMev4o5mLuokczhzjAgGwUZBAmOKZknArSxLKmXtIi2AxQ==",
- "license": "MIT",
- "peer": true
- },
"node_modules/section-matter": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz",
@@ -20170,7 +20190,7 @@
"version": "0.2.7",
"resolved": "https://registry.npmjs.org/swc-loader/-/swc-loader-0.2.7.tgz",
"integrity": "sha512-nwYWw3Fh9ame3Rtm7StS9SBLpHRRnYcK7bnpF3UKZmesAK0gw2/ADvlURFAINmPvKtDLzp+GBiP9yLoEjg6S9w==",
- "devOptional": true,
+ "dev": true,
"license": "MIT",
"dependencies": {
"@swc/counter": "^0.1.3"
diff --git a/package.json b/package.json
index 679206585..c8465d913 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,7 @@
"@docusaurus/preset-classic": "^3.10.1",
"@docusaurus/theme-mermaid": "^3.10.1",
"@easyops-cn/docusaurus-search-local": "^0.55.3",
+ "@fortawesome/fontawesome-svg-core": "^7.3.1",
"@fortawesome/free-brands-svg-icons": "^7.3.1",
"@fortawesome/free-solid-svg-icons": "^7.3.1",
"@fortawesome/react-fontawesome": "^3.5.0",
diff --git a/src/pages/index.js b/src/pages/index.js
index ce7866f4f..e3052f8ac 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -175,66 +175,142 @@ const heroDiagramCopy = {
zh: "显存 / 核心利用趋势",
},
};
-const runtimeLanes = [
- {
- key: "control",
- tone: "control",
- title: { en: "Control Plane", zh: "控制面" },
- summary: { en: "Decision path", zh: "决策路径" },
- steps: [
- {
- key: "webhook",
- emphasis: "secondary",
- label: { en: "MutatingWebhook", zh: "MutatingWebhook" },
- note: { en: "Admission Entry", zh: "准入入口" },
- },
+const runtimeModesData = {
+ hami: {
+ key: "hami",
+ label: { en: "HAMi (Device Plugin)", zh: "HAMi (Device Plugin 模式)" },
+ title: { en: "HAMi Runtime Mechanism (Device Plugin)", zh: "HAMi 运行时机制 (Device Plugin)" },
+ entryLabel: { en: "Request Entry / Runtime Interface", zh: "请求入口 / 运行时接口" },
+ entryValue: {
+ en: "PodSpec + Extended Resources (nvidia.com/gpu + gpumem / gpucores)",
+ zh: "PodSpec + 扩展资源 (nvidia.com/gpu + gpumem / gpucores)",
+ },
+ lanes: [
{
- key: "scheduler",
- emphasis: "primary",
- label: { en: "HAMi Scheduler", zh: "HAMi Scheduler" },
- note: { en: "Policy / Topology", zh: "策略 / 拓扑" },
+ key: "control",
+ tone: "control",
+ title: { en: "Control Plane", zh: "控制面" },
+ summary: { en: "Decision path", zh: "决策路径" },
+ steps: [
+ {
+ key: "webhook",
+ emphasis: "secondary",
+ label: { en: "MutatingWebhook", zh: "MutatingWebhook" },
+ note: { en: "Admission Entry", zh: "准入入口" },
+ },
+ {
+ key: "scheduler",
+ emphasis: "primary",
+ label: { en: "HAMi Scheduler", zh: "HAMi Scheduler" },
+ note: { en: "Policy / Topology", zh: "策略 / 拓扑" },
+ },
+ {
+ key: "binding",
+ emphasis: "primary",
+ label: { en: "Device Binding Decision", zh: "设备绑定决策" },
+ note: { en: "Target GPU Selected", zh: "完成目标设备选择" },
+ },
+ ],
},
{
- key: "binding",
- emphasis: "primary",
- label: { en: "Device Binding Decision", zh: "设备绑定决策" },
- note: { en: "Target GPU Selected", zh: "完成目标设备选择" },
+ key: "data",
+ tone: "data",
+ title: { en: "Data Plane", zh: "数据面" },
+ summary: { en: "Enforcement Path", zh: "执行路径" },
+ steps: [
+ {
+ key: "injection",
+ emphasis: "primary",
+ label: { en: "Device Plugin Injection", zh: "Device Plugin 注入" },
+ note: { en: "Device Attached", zh: "完成设备注入" },
+ },
+ {
+ key: "isolation",
+ emphasis: "primary",
+ label: { en: "HAMi Core", zh: "HAMi Core" },
+ note: { en: "Memory / Core Isolation", zh: "显存 / 核心隔离" },
+ },
+ {
+ key: "runtime",
+ emphasis: "secondary",
+ label: { en: "Container Workload", zh: "容器工作负载" },
+ note: { en: "Execution Starts", zh: "开始运行" },
+ },
+ ],
},
],
+ resources: {
+ type: "extended",
+ label: { en: "Resource Semantics", zh: "资源语义" },
+ },
},
- {
- key: "data",
- tone: "data",
- title: { en: "Data Plane", zh: "数据面" },
- summary: { en: "Enforcement Path", zh: "执行路径" },
- steps: [
+ "hami-dra": {
+ key: "hami-dra",
+ label: { en: "HAMi-DRA Mode", zh: "HAMi-DRA 模式" },
+ title: { en: "HAMi-DRA Runtime Mechanism (DRA Mode)", zh: "HAMi-DRA 运行时机制 (DRA 模式)" },
+ entryLabel: { en: "Request Entry / Runtime Interface", zh: "请求入口 / 运行时接口" },
+ entryValue: {
+ en: "PodSpec + ResourceClaim / ResourceSlice + CDI",
+ zh: "PodSpec + ResourceClaim / ResourceSlice + CDI 声明",
+ },
+ lanes: [
{
- key: "injection",
- emphasis: "primary",
- label: { en: "Device Plugin + CDI Injection", zh: "Device Plugin + CDI 注入" },
- note: { en: "Device Attached", zh: "完成设备注入" },
+ key: "control",
+ tone: "control",
+ title: { en: "Control Plane", zh: "控制面" },
+ summary: { en: "Decision path", zh: "决策路径" },
+ steps: [
+ {
+ key: "webhook",
+ emphasis: "secondary",
+ label: { en: "HAMi-DRA Webhook", zh: "HAMi-DRA Webhook" },
+ note: { en: "Auto-Conversion & Admission", zh: "资源改写与准入" },
+ },
+ {
+ key: "scheduler",
+ emphasis: "primary",
+ label: { en: "Native Kube-Scheduler", zh: "原生 Kube-Scheduler" },
+ note: { en: "K8s DRA Plugin Scheduling", zh: "K8s 原生 DRA 调度" },
+ },
+ {
+ key: "binding",
+ emphasis: "primary",
+ label: { en: "ResourceClaim Allocation", zh: "ResourceClaim 绑定" },
+ note: { en: "DeviceClass & Slice Selected", zh: "完成设备切片选择" },
+ },
+ ],
},
{
- key: "isolation",
- emphasis: "primary",
- label: { en: "HAMi Core", zh: "HAMi Core" },
- note: { en: "Memory / Core Isolation", zh: "显存 / 核心隔离" },
- },
- {
- key: "runtime",
- emphasis: "secondary",
- label: { en: "Container Workload", zh: "容器工作负载" },
- note: { en: "Execution Starts", zh: "开始运行" },
+ key: "data",
+ tone: "data",
+ title: { en: "Data Plane", zh: "数据面" },
+ summary: { en: "Enforcement Path", zh: "执行路径" },
+ steps: [
+ {
+ key: "injection",
+ emphasis: "primary",
+ label: { en: "HAMi-DRA Driver + CDI", zh: "HAMi-DRA Driver + CDI 注入" },
+ note: { en: "CDI Spec & Preload", zh: "CDI 设备与预加载注入" },
+ },
+ {
+ key: "isolation",
+ emphasis: "primary",
+ label: { en: "HAMi Core", zh: "HAMi Core" },
+ note: { en: "Memory / Core Isolation", zh: "显存 / 核心隔离" },
+ },
+ {
+ key: "runtime",
+ emphasis: "secondary",
+ label: { en: "Container Workload", zh: "容器工作负载" },
+ note: { en: "Execution Starts", zh: "开始运行" },
+ },
+ ],
},
],
- },
-];
-const runtimeDiagramCopy = {
- title: { en: "HAMi Runtime Mechanism", zh: "HAMi 运行时机制" },
- entryLabel: { en: "Request Entry / Runtime Interface", zh: "请求入口 / 运行时接口" },
- entryValue: {
- en: "PodSpec + Device Plugin / DRA + CDI",
- zh: "PodSpec + Device Plugin / DRA + CDI 运行时接口",
+ resources: {
+ type: "dra",
+ label: { en: "Resource Semantics", zh: "资源语义" },
+ },
},
};
const architectureSectionCopy = {
@@ -375,6 +451,7 @@ export default function Home() {
const { i18n } = useDocusaurusContext();
const isZh = i18n.currentLocale === "zh";
const [starsCount, setStarsCount] = useState(3100);
+ const [archMode, setArchMode] = useState("hami");
// Static: Docker Hub's API sends no CORS header, so it cannot be read from the browser.
const dockerPulls = 325000;
const kubernetesLogo = useBaseUrl("img/kubernetes-logo.svg");
@@ -764,50 +841,96 @@ export default function Home() {
+
+
+
+
+
+
+
-
-
- {pickLocalized(i18n.currentLocale, runtimeDiagramCopy.title)}
-
-
-
- {pickLocalized(i18n.currentLocale, runtimeDiagramCopy.entryLabel)}
-
-
- {pickLocalized(i18n.currentLocale, runtimeDiagramCopy.entryValue)}
-
-
-
-
-
-
-
-
- {isZh ? "资源语义" : "Resource Semantics"}
-
-
-
nvidia.com/gpu
-
+
-
gpumem
-
/
-
gpucores
+ {(() => {
+ const activeMode = runtimeModesData[archMode] || runtimeModesData.hami;
+ return (
+
+
+ {pickLocalized(i18n.currentLocale, activeMode.title)}
+
+
+
+ {pickLocalized(i18n.currentLocale, activeMode.entryLabel)}
+
+
+ {pickLocalized(i18n.currentLocale, activeMode.entryValue)}
+
+
+
+
+
+
+
+
+ {pickLocalized(i18n.currentLocale, activeMode.resources.label)}
+
+
+ {activeMode.key === "hami" ? (
+ <>
+ nvidia.com/gpu
+ +
+ gpumem
+ /
+ gpucores
+ >
+ ) : (
+ <>
+ ResourceClaim
+
+ (DeviceClass + memory/cores)
+ >
+ )}
+
+
-
-
+ );
+ })()}
diff --git a/src/pages/styles.module.css b/src/pages/styles.module.css
index a8124fe53..a6e098308 100644
--- a/src/pages/styles.module.css
+++ b/src/pages/styles.module.css
@@ -689,6 +689,61 @@
margin-top: 22px;
}
+.archModeToggleRow {
+ display: flex;
+ justify-content: center;
+ margin-bottom: 20px;
+}
+
+.archModeToggle {
+ display: inline-flex;
+ gap: 6px;
+ background: rgba(226, 232, 240, 0.7);
+ padding: 4px;
+ border-radius: 9999px;
+ border: 1px solid rgba(203, 213, 225, 0.6);
+}
+
+.archModeBtn {
+ border: none;
+ background: transparent;
+ padding: 8px 20px;
+ font-size: 0.88rem;
+ font-weight: 600;
+ border-radius: 9999px;
+ color: #475569;
+ cursor: pointer;
+ transition: all 0.2s ease;
+}
+
+.archModeBtn:hover {
+ color: #0f172a;
+}
+
+.archModeBtnActive {
+ background: #10b981;
+ color: #ffffff !important;
+ box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
+}
+
+:global(html[data-theme="dark"]) .archModeToggle {
+ background: rgba(30, 41, 59, 0.85);
+ border-color: rgba(51, 65, 85, 0.8);
+}
+
+:global(html[data-theme="dark"]) .archModeBtn {
+ color: #94a3b8;
+}
+
+:global(html[data-theme="dark"]) .archModeBtn:hover {
+ color: #f8fafc;
+}
+
+:global(html[data-theme="dark"]) .archModeBtnActive {
+ background: #10b981;
+ color: #ffffff !important;
+}
+
.runtimeMechanism {
margin-bottom: 0;
padding: 0;
From fec6a8571331d845b0becbdbc76514f0096c87b9 Mon Sep 17 00:00:00 2001
From: Srijan
Date: Tue, 4 Aug 2026 19:12:08 +0530
Subject: [PATCH 2/2] chore(deps): restore package.json and lockfile to master
Signed-off-by: Srijan
---
package-lock.json | 122 +++++++++++++++++++---------------------------
package.json | 1 -
2 files changed, 51 insertions(+), 72 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 2eab0f2fb..8f94380de 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,7 +17,6 @@
"@docusaurus/preset-classic": "^3.10.1",
"@docusaurus/theme-mermaid": "^3.10.1",
"@easyops-cn/docusaurus-search-local": "^0.55.3",
- "@fortawesome/fontawesome-svg-core": "^7.3.1",
"@fortawesome/free-brands-svg-icons": "^7.3.1",
"@fortawesome/free-solid-svg-icons": "^7.3.1",
"@fortawesome/react-fontawesome": "^3.5.0",
@@ -3609,7 +3608,7 @@
"version": "3.10.2",
"resolved": "https://registry.npmjs.org/@docusaurus/faster/-/faster-3.10.2.tgz",
"integrity": "sha512-p/5E5/RyHv+QWusJMPN5i3OMJTqTgkhuwzVbB1AReDWTUHXQCmf5mlTFzGiDrWeQWIDOKsuOPn1jJh0s9LUOHA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@docusaurus/types": "3.10.2",
@@ -4356,21 +4355,23 @@
}
},
"node_modules/@fortawesome/fontawesome-common-types": {
- "version": "7.3.1",
- "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-7.3.1.tgz",
- "integrity": "sha512-k0C0sdHmZtAo6dRDtd1Z/qcpyHbL0CKsjV8seMY/21xGhY5Wsv0XRmiI/xEEH4y2c9b1+jvgNs/3EqhV27yUEA==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-7.2.0.tgz",
+ "integrity": "sha512-IpR0bER9FY25p+e7BmFH25MZKEwFHTfRAfhOyJubgiDnoJNsSvJ7nigLraHtp4VOG/cy8D7uiV0dLkHOne5Fhw==",
"license": "MIT",
+ "peer": true,
"engines": {
"node": ">=6"
}
},
"node_modules/@fortawesome/fontawesome-svg-core": {
- "version": "7.3.1",
- "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-7.3.1.tgz",
- "integrity": "sha512-BoxVN3PKnMbgStHhjoaky/oWdxHomDqmBVA24IA3KEmssFGeI7u9YT/BJceOjIum/t6TpPa/vcMKaVYQeIQ/3Q==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-svg-core/-/fontawesome-svg-core-7.2.0.tgz",
+ "integrity": "sha512-6639htZMjEkwskf3J+e6/iar+4cTNM9qhoWuRfj9F3eJD6r7iCzV1SWnQr2Mdv0QT0suuqU8BoJCZUyCtP9R4Q==",
"license": "MIT",
+ "peer": true,
"dependencies": {
- "@fortawesome/fontawesome-common-types": "7.3.1"
+ "@fortawesome/fontawesome-common-types": "7.2.0"
},
"engines": {
"node": ">=6"
@@ -4388,6 +4389,15 @@
"node": ">=6"
}
},
+ "node_modules/@fortawesome/free-brands-svg-icons/node_modules/@fortawesome/fontawesome-common-types": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-7.3.1.tgz",
+ "integrity": "sha512-k0C0sdHmZtAo6dRDtd1Z/qcpyHbL0CKsjV8seMY/21xGhY5Wsv0XRmiI/xEEH4y2c9b1+jvgNs/3EqhV27yUEA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/@fortawesome/free-solid-svg-icons": {
"version": "7.3.1",
"resolved": "https://registry.npmjs.org/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-7.3.1.tgz",
@@ -4400,6 +4410,15 @@
"node": ">=6"
}
},
+ "node_modules/@fortawesome/free-solid-svg-icons/node_modules/@fortawesome/fontawesome-common-types": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-7.3.1.tgz",
+ "integrity": "sha512-k0C0sdHmZtAo6dRDtd1Z/qcpyHbL0CKsjV8seMY/21xGhY5Wsv0XRmiI/xEEH4y2c9b1+jvgNs/3EqhV27yUEA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/@fortawesome/react-fontawesome": {
"version": "3.5.0",
"resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-3.5.0.tgz",
@@ -5011,14 +5030,14 @@
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/error-codes/-/error-codes-0.22.0.tgz",
"integrity": "sha512-xF9SjnEy7vTdx+xekjPCV5cIHOGCkdn3pIxo9vU7gEZMIw0SvAEdsy6Uh17xaCpm8V0FWvR0SZoK9Ik6jGOaug==",
- "dev": true,
+ "devOptional": true,
"license": "MIT"
},
"node_modules/@module-federation/runtime": {
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/runtime/-/runtime-0.22.0.tgz",
"integrity": "sha512-38g5iPju2tPC3KHMPxRKmy4k4onNp6ypFPS1eKGsNLUkXgHsPMBFqAjDw96iEcjri91BrahG4XcdyKi97xZzlA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@module-federation/error-codes": "0.22.0",
@@ -5030,7 +5049,7 @@
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/runtime-core/-/runtime-core-0.22.0.tgz",
"integrity": "sha512-GR1TcD6/s7zqItfhC87zAp30PqzvceoeDGYTgF3Vx2TXvsfDrhP6Qw9T4vudDQL3uJRne6t7CzdT29YyVxlgIA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@module-federation/error-codes": "0.22.0",
@@ -5041,7 +5060,7 @@
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/runtime-tools/-/runtime-tools-0.22.0.tgz",
"integrity": "sha512-4ScUJ/aUfEernb+4PbLdhM/c60VHl698Gn1gY21m9vyC1Ucn69fPCA1y2EwcCB7IItseRMoNhdcWQnzt/OPCNA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@module-federation/runtime": "0.22.0",
@@ -5052,14 +5071,14 @@
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/sdk/-/sdk-0.22.0.tgz",
"integrity": "sha512-x4aFNBKn2KVQRuNVC5A7SnrSCSqyfIWmm1DvubjbO9iKFe7ith5niw8dqSFBekYBg2Fwy+eMg4sEFNVvCAdo6g==",
- "dev": true,
+ "devOptional": true,
"license": "MIT"
},
"node_modules/@module-federation/webpack-bundler-runtime": {
"version": "0.22.0",
"resolved": "https://registry.npmjs.org/@module-federation/webpack-bundler-runtime/-/webpack-bundler-runtime-0.22.0.tgz",
"integrity": "sha512-aM8gCqXu+/4wBmJtVeMeeMN5guw3chf+2i6HajKtQv7SJfxV/f4IyNQJUeUQu9HfiAZHjqtMV5Lvq/Lvh8LdyA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@module-federation/runtime": "0.22.0",
@@ -5586,7 +5605,7 @@
"version": "1.7.11",
"resolved": "https://registry.npmjs.org/@rspack/binding/-/binding-1.7.11.tgz",
"integrity": "sha512-2MGdy2s2HimsDT444Bp5XnALzNRxuBNc7y0JzyuqKbHBywd4x2NeXyhWXXoxufaCFu5PBc9Qq9jyfjW2Aeh06Q==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"optionalDependencies": {
"@rspack/binding-darwin-arm64": "1.7.11",
@@ -5608,7 +5627,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5622,7 +5640,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5636,7 +5653,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5650,7 +5666,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5664,7 +5679,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5678,7 +5692,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5692,7 +5705,6 @@
"cpu": [
"wasm32"
],
- "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -5703,7 +5715,6 @@
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.0.7.tgz",
"integrity": "sha512-SeDnOO0Tk7Okiq6DbXmmBODgOAb9dp9gjlphokTUxmt8U3liIP1ZsozBahH69j/RJv+Rfs6IwUKHTgQYJ/HBAw==",
- "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -5719,7 +5730,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5733,7 +5743,6 @@
"cpu": [
"ia32"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5747,7 +5756,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -5758,7 +5766,7 @@
"version": "1.7.11",
"resolved": "https://registry.npmjs.org/@rspack/core/-/core-1.7.11.tgz",
"integrity": "sha512-rsD9b+Khmot5DwCMiB3cqTQo53ioPG3M/A7BySu8+0+RS7GCxKm+Z+mtsjtG/vsu4Tn2tcqCdZtA3pgLoJB+ew==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@module-federation/runtime-tools": "0.22.0",
@@ -5781,7 +5789,7 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@rspack/lite-tapable/-/lite-tapable-1.1.0.tgz",
"integrity": "sha512-E2B0JhYFmVAwdDiG14+DW0Di4Ze4Jg10Pc4/lILUrd5DRCaklduz2OvJ5HYQ6G+hd+WTzqQb3QnDNfK4yvAFYw==",
- "dev": true,
+ "devOptional": true,
"license": "MIT"
},
"node_modules/@sideway/address": {
@@ -6095,7 +6103,7 @@
"version": "1.15.47",
"resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.47.tgz",
"integrity": "sha512-FbsO5JcfOjfH38W/rohBRBweJeERsAuIP4f377lmkmxTcq9exjtx4SkRuZY5CdfhR2CBVwDIJegBpJDffwNsOg==",
- "dev": true,
+ "devOptional": true,
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
@@ -6139,7 +6147,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6156,7 +6163,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6173,7 +6179,6 @@
"cpu": [
"arm"
],
- "dev": true,
"license": "Apache-2.0",
"optional": true,
"os": [
@@ -6190,7 +6195,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6207,7 +6211,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6224,7 +6227,6 @@
"cpu": [
"ppc64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6241,7 +6243,6 @@
"cpu": [
"s390x"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6258,7 +6259,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6275,7 +6275,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6292,7 +6291,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6309,7 +6307,6 @@
"cpu": [
"ia32"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6326,7 +6323,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6340,14 +6336,14 @@
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
"integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==",
- "dev": true,
+ "devOptional": true,
"license": "Apache-2.0"
},
"node_modules/@swc/html": {
"version": "1.15.43",
"resolved": "https://registry.npmjs.org/@swc/html/-/html-1.15.43.tgz",
"integrity": "sha512-SKbkbdGi9SDO9cTdV+6H0/AYifnb2nDOlz5BlWxlWMXACV3kmX6WwZDo0bBdyGlO/G4jCVWdR5r84qfotU2now==",
- "dev": true,
+ "devOptional": true,
"license": "Apache-2.0",
"dependencies": {
"@swc/counter": "^0.1.3"
@@ -6377,7 +6373,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6394,7 +6389,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6411,7 +6405,6 @@
"cpu": [
"arm"
],
- "dev": true,
"license": "Apache-2.0",
"optional": true,
"os": [
@@ -6428,7 +6421,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6445,7 +6437,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6462,7 +6453,6 @@
"cpu": [
"ppc64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6479,7 +6469,6 @@
"cpu": [
"s390x"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6496,7 +6485,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6513,7 +6501,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6530,7 +6517,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6547,7 +6533,6 @@
"cpu": [
"ia32"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6564,7 +6549,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "Apache-2.0 AND MIT",
"optional": true,
"os": [
@@ -6578,7 +6562,7 @@
"version": "0.1.27",
"resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.27.tgz",
"integrity": "sha512-K6h3iUlqeM946U4sXFYeahefR1YBbXJvko+hv8WS8/0BNJ4OHiHRywMnQUJCqkR7Y9+hqQ1TvEpiKqUhz7NEFg==",
- "dev": true,
+ "devOptional": true,
"license": "Apache-2.0",
"dependencies": {
"@swc/counter": "^0.1.3"
@@ -10030,7 +10014,7 @@
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
- "dev": true,
+ "devOptional": true,
"license": "Apache-2.0",
"engines": {
"node": ">=8"
@@ -12698,7 +12682,7 @@
"version": "1.32.0",
"resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
"integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
- "dev": true,
+ "devOptional": true,
"license": "MPL-2.0",
"dependencies": {
"detect-libc": "^2.0.3"
@@ -12731,7 +12715,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12752,7 +12735,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12773,7 +12755,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12794,7 +12775,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12815,7 +12795,6 @@
"cpu": [
"arm"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12836,7 +12815,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12857,7 +12835,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12878,7 +12855,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12899,7 +12875,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12920,7 +12895,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -12941,7 +12915,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MPL-2.0",
"optional": true,
"os": [
@@ -19350,6 +19323,13 @@
"url": "https://opencollective.com/webpack"
}
},
+ "node_modules/search-insights": {
+ "version": "2.17.3",
+ "resolved": "https://registry.npmjs.org/search-insights/-/search-insights-2.17.3.tgz",
+ "integrity": "sha512-RQPdCYTa8A68uM2jwxoY842xDhvx3E5LFL1LxvxCNMev4o5mLuokczhzjAgGwUZBAmOKZknArSxLKmXtIi2AxQ==",
+ "license": "MIT",
+ "peer": true
+ },
"node_modules/section-matter": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz",
@@ -20190,7 +20170,7 @@
"version": "0.2.7",
"resolved": "https://registry.npmjs.org/swc-loader/-/swc-loader-0.2.7.tgz",
"integrity": "sha512-nwYWw3Fh9ame3Rtm7StS9SBLpHRRnYcK7bnpF3UKZmesAK0gw2/ADvlURFAINmPvKtDLzp+GBiP9yLoEjg6S9w==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@swc/counter": "^0.1.3"
diff --git a/package.json b/package.json
index c8465d913..679206585 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,6 @@
"@docusaurus/preset-classic": "^3.10.1",
"@docusaurus/theme-mermaid": "^3.10.1",
"@easyops-cn/docusaurus-search-local": "^0.55.3",
- "@fortawesome/fontawesome-svg-core": "^7.3.1",
"@fortawesome/free-brands-svg-icons": "^7.3.1",
"@fortawesome/free-solid-svg-icons": "^7.3.1",
"@fortawesome/react-fontawesome": "^3.5.0",