* feat: better hardware setting * chore: update layout * feat: better hardware setting * chore: fix title section * chore: added hardware engine management * chore: integrate gpus and enable set gpu activate * chore: update calculate ram and vram * chore: update calulate vram and ram used * fix: set active gpus * chore: fix progress bar spacing * chore: always update cache vram gpu * chore: update cpu usage percentage * chore: fix type usage cpu * chore: update ram cpus usage getsystemmonitor from new api harware engine management system * test: update test case data using hardware management extension * chore: resolve conflict lock json * chore: cleanup app services * chore: update type OperationSystemInfo * chore: update app service * chore: show list gpus on system monitor * chore: remove monitoring extension * chore: update test case app service * chore: remove unused hooks useGpusSetting * chore: remove monitor from shource index * chore: fix test core * chore: update gpu and cpu info on engine management ext * chore: fix app service test * chore: update test appService include cpu info * chore: filter gpus show or hide on system monitor based activated gpu * chore: remove unused run_mode * chore: remove tensort * chore: update check gpu run_mode * chore: handle undefined gpus * chore: cleanup PR * chore: cleanup process node error * chore: fix type
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "@janhq/hardware-management-extension",
|
|
"productName": "Hardware Management",
|
|
"version": "1.0.0",
|
|
"description": "Manages Better Hardware settings.",
|
|
"main": "dist/index.js",
|
|
"node": "dist/node/index.cjs.js",
|
|
"author": "Jan <service@jan.ai>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"test": "jest",
|
|
"build": "rolldown -c rolldown.config.mjs",
|
|
"codesign:darwin": "../../.github/scripts/auto-sign.sh",
|
|
"codesign:win32:linux": "echo 'No codesigning required'",
|
|
"codesign": "run-script-os",
|
|
"build:publish": "rimraf *.tgz --glob || true && yarn build && yarn codesign && npm pack && cpx *.tgz ../../pre-install"
|
|
},
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./main": "./dist/module.js"
|
|
},
|
|
"devDependencies": {
|
|
"cpx": "^1.5.0",
|
|
"rimraf": "^3.0.2",
|
|
"rolldown": "^1.0.0-beta.1",
|
|
"run-script-os": "^1.1.6",
|
|
"ts-loader": "^9.5.0",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"dependencies": {
|
|
"@janhq/core": "../../core/package.tgz",
|
|
"cpu-instructions": "^0.0.13",
|
|
"ky": "^1.7.2",
|
|
"p-queue": "^8.0.1"
|
|
},
|
|
"bundledDependencies": [
|
|
"cpu-instructions",
|
|
"@janhq/core"
|
|
],
|
|
"hardwares": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"files": [
|
|
"dist/*",
|
|
"package.json",
|
|
"README.md"
|
|
]
|
|
}
|