Detects when user changes same config setting 3+ times within 24 hours. Shows non-intrusive prompt offering help with guided calibration flow. Guided calibration features: - Test for false positives (walk around room) - Test for missed motion (sit still) - Suggest optimal value based on diurnal baseline SNR and link health - Apply suggested value button Files: - dashboard/js/proactive.js: Complete implementation with localStorage tracking Acceptance: - Help prompt fires after 3+ changes in 24h - Calibration flow tests both directions - Suggests value based on system data - Apply button works
53 lines
1 KiB
JSON
53 lines
1 KiB
JSON
{
|
|
"name": "prompts",
|
|
"version": "2.4.2",
|
|
"description": "Lightweight, beautiful and user-friendly prompts",
|
|
"license": "MIT",
|
|
"repository": "terkelg/prompts",
|
|
"main": "index.js",
|
|
"author": {
|
|
"name": "Terkel Gjervig",
|
|
"email": "terkel@terkel.com",
|
|
"url": "https://terkel.com"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"dist",
|
|
"index.js"
|
|
],
|
|
"scripts": {
|
|
"start": "node lib/index.js",
|
|
"build": "babel lib -d dist",
|
|
"prepublishOnly": "npm run build",
|
|
"test": "tape test/*.js | tap-spec"
|
|
},
|
|
"keywords": [
|
|
"ui",
|
|
"prompts",
|
|
"cli",
|
|
"prompt",
|
|
"interface",
|
|
"command-line",
|
|
"input",
|
|
"command",
|
|
"stdin",
|
|
"menu",
|
|
"ask",
|
|
"interact"
|
|
],
|
|
"dependencies": {
|
|
"kleur": "^3.0.3",
|
|
"sisteransi": "^1.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.12.1",
|
|
"@babel/core": "^7.12.3",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
|
|
"@babel/preset-env": "^7.12.1",
|
|
"tap-spec": "^2.2.2",
|
|
"tape": "^4.13.3"
|
|
},
|
|
"engines": {
|
|
"node": ">= 6"
|
|
}
|
|
}
|