- Perf(watchdog): Adaptive external health checks for proxy (30s) and DNS (60s) * Honor UCI ai_proxy_health_interval and ai_dns_interval while healthy * Adapt to fast retry (10-15s) upon consecutive failures, instant post-heal reset * Single shared observation context (tick_context) per tick eliminating redundant pgrep/proc scans * Throttle watchdog keepalive file writes from 5s to 30s - Perf(ui): Read-only fast path for get_ui_state * Decouple refresh_action_dirs() filesystem GC from 500ms polling requests * Throttle action directory cleanup to once per 30s via /var/run stamp * Trigger immediate GC sweep on action job completion - Perf(telegram): Long-poll 50s and eliminate redundant sleep after success * Increase getUpdates long-poll timeout to 50s (curl timeout 65s) * Remove redundant sleep after successful poll for instant command responsiveness - Perf(torrserver): Cache detected PID and replace shell sleep with native ucode sleep(60000) - Fix(singbox): Remove harmful hijack-dns rules from mixed proxy inbounds * Eliminate hijack-dns (port 53 / protocol dns) from section, direct bypass and service mixed proxies * Resolve 4-5s curl timeouts on component updates (api.github.com) and slow LAN DNS resolution * Maintain ip_is_private: true direct LAN routing bypass - Test: Add tests/watchdog_adaptive_intervals.sh and update tests/sing_box_runtime.sh - Version: Bump fe-app-tachyon to 1.3.27
50 lines
1.6 KiB
JSON
50 lines
1.6 KiB
JSON
{
|
|
"name": "fe-app-tachyon",
|
|
"version": "1.3.27",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"format": "prettier --write src",
|
|
"format:js": "prettier --write ../luci-app-tachyon/htdocs/luci-static/resources/view/tachyon",
|
|
"lint": "eslint src --ext .ts,.tsx",
|
|
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
"build": "tsc --noEmit && tsup src/main.ts",
|
|
"dev": "tsup src/main.ts --watch",
|
|
"test": "vitest",
|
|
"ci": "npm run format && npm run lint --max-warnings=0 && npm run test -- --run && npm run build",
|
|
"watch:sftp": "node watch-upload.js",
|
|
"locales:extract-calls": "node extract-calls.js",
|
|
"locales:generate-pot": "node generate-pot.js",
|
|
"locales:generate-po:ru": "node generate-po.js ru",
|
|
"locales:distribute": "node distribute-locales.js",
|
|
"locales:actualize": "npm run locales:extract-calls && npm run locales:generate-pot && npm run locales:generate-po:ru && npm run locales:distribute"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/parser": "7.28.4",
|
|
"@babel/traverse": "7.28.4",
|
|
"@babel/types": "7.28.4",
|
|
"@eslint/js": "9.36.0",
|
|
"@vitest/mocker": "^5.0.0",
|
|
"chokidar": "4.0.3",
|
|
"dotenv": "17.2.3",
|
|
"eslint": "9.36.0",
|
|
"eslint-config-prettier": "10.1.8",
|
|
"fast-glob": "3.3.3",
|
|
"prettier": "3.6.2",
|
|
"ssh2-sftp-client": "12.0.1",
|
|
"tsup": "8.5.0",
|
|
"typescript": "5.9.3",
|
|
"typescript-eslint": "8.45.0",
|
|
"vitest": "^5.0.0"
|
|
},
|
|
"overrides": {
|
|
"@humanfs/node": ">=0.16.8",
|
|
"postcss": "8.5.23",
|
|
"js-yaml": "^5.2.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@esbuild/win32-x64": "^0.28.2",
|
|
"@rolldown/binding-win32-x64-msvc": "^1.2.6"
|
|
}
|
|
}
|