refactor: enhance DockerController with smart fallback for legacy containers; add YAML parsing support and improve container retrieval logic

This commit is contained in:
SaelixCode
2026-02-20 23:37:37 -05:00
parent e686508dec
commit e94b706a9f
3 changed files with 128 additions and 30 deletions
+13 -1
View File
@@ -21,13 +21,15 @@
"express": "^5.2.1",
"jsonwebtoken": "^9.0.3",
"systeminformation": "^5.31.1",
"ws": "^8.19.0"
"ws": "^8.19.0",
"yaml": "^2.8.2"
},
"devDependencies": {
"@types/bcrypt": "^6.0.0",
"@types/cookie-parser": "^1.4.10",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^25.3.0",
"@types/yaml": "^1.9.6",
"nodemon": "^3.1.13",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
@@ -422,6 +424,16 @@
"@types/node": "*"
}
},
"node_modules/@types/yaml": {
"version": "1.9.6",
"resolved": "https://registry.npmjs.org/@types/yaml/-/yaml-1.9.6.tgz",
"integrity": "sha512-VKOCuDN57wngmyQnRqcn4vuGWCXViISHv+UCCjrKcf1yt4zyfMmOGlZDI2ucTHK72V8ki+sd7h21OZL6O5S52A==",
"dev": true,
"license": "MIT",
"dependencies": {
"yaml": "*"
}
},
"node_modules/accepts": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",