spaxel/dashboard/node_modules/get-proto
jedarden c817e96802 feat: implement repeated-setting change detection with guided calibration
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
2026-04-11 00:18:19 -04:00
..
.github feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
test feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
.eslintrc feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
.nycrc feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
CHANGELOG.md feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
index.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
index.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
LICENSE feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
Object.getPrototypeOf.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
Object.getPrototypeOf.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
package.json feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
README.md feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
Reflect.getPrototypeOf.d.ts feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
Reflect.getPrototypeOf.js feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00
tsconfig.json feat: implement repeated-setting change detection with guided calibration 2026-04-11 00:18:19 -04:00

get-proto Version Badge

github actions coverage License Downloads

npm badge

Robustly get the Prototype of an object. Uses the best available method.

Getting started

npm install --save get-proto

Usage/Examples

const assert = require('assert');
const getProto = require('get-proto');

const a = { a: 1, b: 2, [Symbol.toStringTag]: 'foo' };
const b = { c: 3, __proto__: a };

assert.equal(getProto(b), a);
assert.equal(getProto(a), Object.prototype);
assert.equal(getProto({ __proto__: null }), null);

Tests

Clone the repo, npm install, and run npm test