@camstack/addon-export-hap 1.2.98 → 1.2.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hap-export.addon.js +163 -1
- package/dist/hap-export.addon.mjs +163 -1
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -8293,6 +8293,157 @@ var CameraSwitchGroupSchema = object({
|
|
|
8293
8293
|
/** Unix ms when the group was composed server-side. */
|
|
8294
8294
|
fetchedAt: number()
|
|
8295
8295
|
});
|
|
8296
|
+
/**
|
|
8297
|
+
* What the gate decided about a birth, from the CALLER's point of view.
|
|
8298
|
+
*
|
|
8299
|
+
* Deliberately not `ConfirmationVerdict`: `undecided` is not a birth decision
|
|
8300
|
+
* at all — it is a deferral, and the row is written when the deferral ENDS.
|
|
8301
|
+
* The third member is the one the gate's own type cannot express, because
|
|
8302
|
+
* exhaustion is a property of how long the caller waited.
|
|
8303
|
+
*/
|
|
8304
|
+
var BirthDecisionVerdictSchema = _enum([
|
|
8305
|
+
"confirmed",
|
|
8306
|
+
"suppressed",
|
|
8307
|
+
"exhausted-fallback"
|
|
8308
|
+
]);
|
|
8309
|
+
/** One birth decision, as it is kept. */
|
|
8310
|
+
var BirthDecisionRecordSchema = object({
|
|
8311
|
+
id: string(),
|
|
8312
|
+
/** Epoch ms the VERDICT was taken (not the birth instant — see `firstSeen`). */
|
|
8313
|
+
at: number().int(),
|
|
8314
|
+
/** The camera. Required: every question here is asked per-camera. */
|
|
8315
|
+
deviceId: number().int(),
|
|
8316
|
+
/**
|
|
8317
|
+
* The track the decision was about. PROVENANCE, not ownership — a suppressed
|
|
8318
|
+
* birth has no track at all, and a confirmed one is expected to age out long
|
|
8319
|
+
* before this row does. Named `sourceTrackId` so the retention model's
|
|
8320
|
+
* ownership derivation (`collection-classification.ts`, which keys on a
|
|
8321
|
+
* column literally called `trackId`) cannot reach it.
|
|
8322
|
+
*/
|
|
8323
|
+
sourceTrackId: string(),
|
|
8324
|
+
/** The candidate's claimed class. The miss rate is asked per class too. */
|
|
8325
|
+
className: string(),
|
|
8326
|
+
verdict: BirthDecisionVerdictSchema,
|
|
8327
|
+
/**
|
|
8328
|
+
* The gate's own `ConfirmationReason` (`confirmed`, `suppressed`,
|
|
8329
|
+
* `native-pass`, `no-crop`, `timeout`, `carried-inconclusive`, …), or `null`
|
|
8330
|
+
* when the gate is DISABLED and every birth is waved through. `null` is not
|
|
8331
|
+
* "unknown": it says the gate took no measurement because it was off, which
|
|
8332
|
+
* is a different population and must never be averaged in with the rest.
|
|
8333
|
+
*/
|
|
8334
|
+
reason: string().nullable(),
|
|
8335
|
+
/** Deferral attempts this birth used. 0 = decided on its first look. */
|
|
8336
|
+
attempts: number().int(),
|
|
8337
|
+
/** Ms from the FIRST undecided attempt to this verdict. 0 = never deferred. */
|
|
8338
|
+
deferredForMs: number().int(),
|
|
8339
|
+
/**
|
|
8340
|
+
* THE COLUMN THE RE-OFFER DEFECT IS COUNTED IN.
|
|
8341
|
+
*
|
|
8342
|
+
* `true` when the frame the verdict was taken on carried no matched
|
|
8343
|
+
* detection for this track — the tracker was coasting a frozen box and the
|
|
8344
|
+
* subject was not observed. The deferred-birth re-offer pulls the candidate
|
|
8345
|
+
* straight out of `result.tracked` without checking, so this is reachable
|
|
8346
|
+
* today; the question is the RATE, per camera, and whether refusing those
|
|
8347
|
+
* frames would have cost real tracks (cross-read against `verdict` and
|
|
8348
|
+
* `decidedByBirthEvidence`).
|
|
8349
|
+
*/
|
|
8350
|
+
decidedOnCoastedFrame: boolean(),
|
|
8351
|
+
/** Were D379 birth-instant pixels in hand when this candidate was submitted? */
|
|
8352
|
+
birthEvidenceAvailable: boolean(),
|
|
8353
|
+
/**
|
|
8354
|
+
* Did those pixels DECIDE it (`cropSource === 'carried'`)? Available and
|
|
8355
|
+
* deciding are different: the carried crop is confirm-only, so a candidate
|
|
8356
|
+
* can hold evidence, be found inconclusive on it, and be decided by a native
|
|
8357
|
+
* crop of a later instant. A coasted decision backed by carried evidence is
|
|
8358
|
+
* a real observation of the birth instant; one without it is not.
|
|
8359
|
+
*/
|
|
8360
|
+
decidedByBirthEvidence: boolean(),
|
|
8361
|
+
/** Best class-compatible crop score, or `null` when nothing compatible was
|
|
8362
|
+
* found — deliberately not 0, which would be a measurement that never was. */
|
|
8363
|
+
bestScore: number().nullable(),
|
|
8364
|
+
/** The bar this candidate actually faced (the phantom-cell hook may raise it). */
|
|
8365
|
+
appliedMinConfidence: number().nullable(),
|
|
8366
|
+
/**
|
|
8367
|
+
* The track's own `firstSeen` — the candidate's first frame, which is where
|
|
8368
|
+
* the timeline starts. `null` for a suppressed birth, which has no track.
|
|
8369
|
+
*/
|
|
8370
|
+
firstSeen: number().int().nullable(),
|
|
8371
|
+
/**
|
|
8372
|
+
* The device's most recent motion RISING EDGE at the moment of the decision,
|
|
8373
|
+
* or `null` when there is none, it is older than
|
|
8374
|
+
* {@link MAX_BIRTH_LATENCY_PROXY_MS}, or this runner never saw one.
|
|
8375
|
+
*/
|
|
8376
|
+
motionOnsetAt: number().int().nullable(),
|
|
8377
|
+
/**
|
|
8378
|
+
* `firstSeen − motionOnsetAt` — THE OPERATOR'S COMPLAINT, IN MILLISECONDS,
|
|
8379
|
+
* AND THE WEAKEST NUMBER IN THIS ROW. Read the error bars before quoting it.
|
|
8380
|
+
*
|
|
8381
|
+
* **Why motion onset and not something else.** Two other proxies were
|
|
8382
|
+
* considered and rejected:
|
|
8383
|
+
* - *the recording/pipeline session start*: for a camera on
|
|
8384
|
+
* `detectionMode: 'always'` the session opens at process start, hours
|
|
8385
|
+
* before any subject. It measures nothing.
|
|
8386
|
+
* - *the first detection on the device in this burst*: CIRCULAR. A track's
|
|
8387
|
+
* `firstSeen` IS the first detection of that object, so for the track that
|
|
8388
|
+
* OPENS a burst — the only one the operator is complaining about — the two
|
|
8389
|
+
* are the same instant and the latency is 0 by construction.
|
|
8390
|
+
* Motion onset is the only in-process signal produced by a DIFFERENT
|
|
8391
|
+
* mechanism from the object detector, so it is the only one that can precede
|
|
8392
|
+
* it. It is also already maintained per-device at frame rate on this very
|
|
8393
|
+
* node (`handleMotionAnalysis` / `handleOnboardMotion`), which is what makes
|
|
8394
|
+
* it free — and, decisively, the frame path and the motion path are gated to
|
|
8395
|
+
* the SAME designated post-processing node, so the mirror is never empty for
|
|
8396
|
+
* a camera whose births land here.
|
|
8397
|
+
*
|
|
8398
|
+
* **Error bars, all of them.**
|
|
8399
|
+
* 1. *Motion has no class.* A burst opened by rain, a headlight sweeping a
|
|
8400
|
+
* wall or a branch, and only later joined by the person, OVERSTATES the
|
|
8401
|
+
* latency without bound. Mitigated, never removed, by
|
|
8402
|
+
* {@link BirthDecisionRecord.birthIndexInBurst}: only index 0 is a
|
|
8403
|
+
* candidate for "this burst is this subject", and even then it is a
|
|
8404
|
+
* candidate, not a fact.
|
|
8405
|
+
* 2. *The sign is not guaranteed.* The analyzer needs a pixel-count and
|
|
8406
|
+
* intensity threshold. A subject entering slowly at the far edge of the
|
|
8407
|
+
* frame can clear the detector's confidence floor BEFORE it clears the
|
|
8408
|
+
* motion floor, making this negative. Negatives are stored as-is and
|
|
8409
|
+
* never clamped — clamping would fabricate the distribution's left tail,
|
|
8410
|
+
* which is the half that says the proxy is unreliable.
|
|
8411
|
+
* 3. *Onboard motion carries firmware latency of unknown, per-model offset*
|
|
8412
|
+
* (hundreds of ms), plus camera-vs-hub clock skew on top. Numbers are
|
|
8413
|
+
* therefore comparable WITHIN a camera and not across cameras of
|
|
8414
|
+
* different motion sources. The motion source is deliberately not copied
|
|
8415
|
+
* here — it belongs to the addon that owns the device (D224) and this is
|
|
8416
|
+
* a write on the frame path — so group by `deviceId`, which is how the
|
|
8417
|
+
* question is always asked anyway.
|
|
8418
|
+
* 4. *Continuous motion.* On a busy scene the burst never closes and the
|
|
8419
|
+
* onset is minutes old. Bounded by {@link MAX_BIRTH_LATENCY_PROXY_MS};
|
|
8420
|
+
* past it this is `null`.
|
|
8421
|
+
* 5. *No motion signal at all* — analyzer off, onboard-only camera not
|
|
8422
|
+
* reporting, or nothing since boot: `null`. Which is the truth about a
|
|
8423
|
+
* camera nobody has a reference instant for.
|
|
8424
|
+
*
|
|
8425
|
+
* So this is a per-camera DISTRIBUTION over index-0 births, and it is honest
|
|
8426
|
+
* as such. It is not a per-track fact and must never be shown as one.
|
|
8427
|
+
*/
|
|
8428
|
+
birthLatencyMs: number().int().nullable(),
|
|
8429
|
+
/**
|
|
8430
|
+
* How many births this device has already decided since that motion onset.
|
|
8431
|
+
* 0 = the first, i.e. the only index at which the burst plausibly belongs to
|
|
8432
|
+
* this subject. `null` when there is no usable onset.
|
|
8433
|
+
*/
|
|
8434
|
+
birthIndexInBurst: number().int().nullable()
|
|
8435
|
+
});
|
|
8436
|
+
/** Query input for `listBirthDecisions` — newest first, one camera or all. */
|
|
8437
|
+
var BirthDecisionQueryInputSchema = object({
|
|
8438
|
+
/** Restrict to a single camera; omit for every row. */
|
|
8439
|
+
deviceId: number().int().optional(),
|
|
8440
|
+
/** Only decisions at or after this epoch ms. */
|
|
8441
|
+
since: number().int().optional(),
|
|
8442
|
+
/** Restrict to one verdict — the miss rate is read one population at a time. */
|
|
8443
|
+
verdict: BirthDecisionVerdictSchema.optional(),
|
|
8444
|
+
/** Max rows returned, newest-first. */
|
|
8445
|
+
limit: number().int().min(1).max(5e3).optional()
|
|
8446
|
+
});
|
|
8296
8447
|
/** One archived note — the operator's words plus enough context to find what
|
|
8297
8448
|
* they were looking at, after the track itself is gone. */
|
|
8298
8449
|
var ArchivedDebugNoteSchema = object({
|
|
@@ -20552,7 +20703,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20552
20703
|
deviceId: number(),
|
|
20553
20704
|
trackId: string(),
|
|
20554
20705
|
flags: TrackFlagsPatchSchema
|
|
20555
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20706
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20556
20707
|
kind: "query",
|
|
20557
20708
|
auth: "admin"
|
|
20558
20709
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -34029,6 +34180,12 @@ Object.freeze({
|
|
|
34029
34180
|
addonId: null,
|
|
34030
34181
|
access: "view"
|
|
34031
34182
|
},
|
|
34183
|
+
"pipelineAnalytics.listBirthDecisions": {
|
|
34184
|
+
capName: "pipeline-analytics",
|
|
34185
|
+
capScope: "device",
|
|
34186
|
+
addonId: null,
|
|
34187
|
+
access: "view"
|
|
34188
|
+
},
|
|
34032
34189
|
"pipelineAnalytics.listEventKinds": {
|
|
34033
34190
|
capName: "pipeline-analytics",
|
|
34034
34191
|
capScope: "device",
|
|
@@ -37821,6 +37978,11 @@ Object.freeze({
|
|
|
37821
37978
|
form: "single",
|
|
37822
37979
|
optional: true
|
|
37823
37980
|
}],
|
|
37981
|
+
"pipelineAnalytics.listBirthDecisions": [{
|
|
37982
|
+
name: "deviceId",
|
|
37983
|
+
form: "single",
|
|
37984
|
+
optional: true
|
|
37985
|
+
}],
|
|
37824
37986
|
"pipelineAnalytics.listEventKinds": [{
|
|
37825
37987
|
name: "deviceId",
|
|
37826
37988
|
form: "single",
|
|
@@ -8281,6 +8281,157 @@ var CameraSwitchGroupSchema = object({
|
|
|
8281
8281
|
/** Unix ms when the group was composed server-side. */
|
|
8282
8282
|
fetchedAt: number()
|
|
8283
8283
|
});
|
|
8284
|
+
/**
|
|
8285
|
+
* What the gate decided about a birth, from the CALLER's point of view.
|
|
8286
|
+
*
|
|
8287
|
+
* Deliberately not `ConfirmationVerdict`: `undecided` is not a birth decision
|
|
8288
|
+
* at all — it is a deferral, and the row is written when the deferral ENDS.
|
|
8289
|
+
* The third member is the one the gate's own type cannot express, because
|
|
8290
|
+
* exhaustion is a property of how long the caller waited.
|
|
8291
|
+
*/
|
|
8292
|
+
var BirthDecisionVerdictSchema = _enum([
|
|
8293
|
+
"confirmed",
|
|
8294
|
+
"suppressed",
|
|
8295
|
+
"exhausted-fallback"
|
|
8296
|
+
]);
|
|
8297
|
+
/** One birth decision, as it is kept. */
|
|
8298
|
+
var BirthDecisionRecordSchema = object({
|
|
8299
|
+
id: string(),
|
|
8300
|
+
/** Epoch ms the VERDICT was taken (not the birth instant — see `firstSeen`). */
|
|
8301
|
+
at: number().int(),
|
|
8302
|
+
/** The camera. Required: every question here is asked per-camera. */
|
|
8303
|
+
deviceId: number().int(),
|
|
8304
|
+
/**
|
|
8305
|
+
* The track the decision was about. PROVENANCE, not ownership — a suppressed
|
|
8306
|
+
* birth has no track at all, and a confirmed one is expected to age out long
|
|
8307
|
+
* before this row does. Named `sourceTrackId` so the retention model's
|
|
8308
|
+
* ownership derivation (`collection-classification.ts`, which keys on a
|
|
8309
|
+
* column literally called `trackId`) cannot reach it.
|
|
8310
|
+
*/
|
|
8311
|
+
sourceTrackId: string(),
|
|
8312
|
+
/** The candidate's claimed class. The miss rate is asked per class too. */
|
|
8313
|
+
className: string(),
|
|
8314
|
+
verdict: BirthDecisionVerdictSchema,
|
|
8315
|
+
/**
|
|
8316
|
+
* The gate's own `ConfirmationReason` (`confirmed`, `suppressed`,
|
|
8317
|
+
* `native-pass`, `no-crop`, `timeout`, `carried-inconclusive`, …), or `null`
|
|
8318
|
+
* when the gate is DISABLED and every birth is waved through. `null` is not
|
|
8319
|
+
* "unknown": it says the gate took no measurement because it was off, which
|
|
8320
|
+
* is a different population and must never be averaged in with the rest.
|
|
8321
|
+
*/
|
|
8322
|
+
reason: string().nullable(),
|
|
8323
|
+
/** Deferral attempts this birth used. 0 = decided on its first look. */
|
|
8324
|
+
attempts: number().int(),
|
|
8325
|
+
/** Ms from the FIRST undecided attempt to this verdict. 0 = never deferred. */
|
|
8326
|
+
deferredForMs: number().int(),
|
|
8327
|
+
/**
|
|
8328
|
+
* THE COLUMN THE RE-OFFER DEFECT IS COUNTED IN.
|
|
8329
|
+
*
|
|
8330
|
+
* `true` when the frame the verdict was taken on carried no matched
|
|
8331
|
+
* detection for this track — the tracker was coasting a frozen box and the
|
|
8332
|
+
* subject was not observed. The deferred-birth re-offer pulls the candidate
|
|
8333
|
+
* straight out of `result.tracked` without checking, so this is reachable
|
|
8334
|
+
* today; the question is the RATE, per camera, and whether refusing those
|
|
8335
|
+
* frames would have cost real tracks (cross-read against `verdict` and
|
|
8336
|
+
* `decidedByBirthEvidence`).
|
|
8337
|
+
*/
|
|
8338
|
+
decidedOnCoastedFrame: boolean(),
|
|
8339
|
+
/** Were D379 birth-instant pixels in hand when this candidate was submitted? */
|
|
8340
|
+
birthEvidenceAvailable: boolean(),
|
|
8341
|
+
/**
|
|
8342
|
+
* Did those pixels DECIDE it (`cropSource === 'carried'`)? Available and
|
|
8343
|
+
* deciding are different: the carried crop is confirm-only, so a candidate
|
|
8344
|
+
* can hold evidence, be found inconclusive on it, and be decided by a native
|
|
8345
|
+
* crop of a later instant. A coasted decision backed by carried evidence is
|
|
8346
|
+
* a real observation of the birth instant; one without it is not.
|
|
8347
|
+
*/
|
|
8348
|
+
decidedByBirthEvidence: boolean(),
|
|
8349
|
+
/** Best class-compatible crop score, or `null` when nothing compatible was
|
|
8350
|
+
* found — deliberately not 0, which would be a measurement that never was. */
|
|
8351
|
+
bestScore: number().nullable(),
|
|
8352
|
+
/** The bar this candidate actually faced (the phantom-cell hook may raise it). */
|
|
8353
|
+
appliedMinConfidence: number().nullable(),
|
|
8354
|
+
/**
|
|
8355
|
+
* The track's own `firstSeen` — the candidate's first frame, which is where
|
|
8356
|
+
* the timeline starts. `null` for a suppressed birth, which has no track.
|
|
8357
|
+
*/
|
|
8358
|
+
firstSeen: number().int().nullable(),
|
|
8359
|
+
/**
|
|
8360
|
+
* The device's most recent motion RISING EDGE at the moment of the decision,
|
|
8361
|
+
* or `null` when there is none, it is older than
|
|
8362
|
+
* {@link MAX_BIRTH_LATENCY_PROXY_MS}, or this runner never saw one.
|
|
8363
|
+
*/
|
|
8364
|
+
motionOnsetAt: number().int().nullable(),
|
|
8365
|
+
/**
|
|
8366
|
+
* `firstSeen − motionOnsetAt` — THE OPERATOR'S COMPLAINT, IN MILLISECONDS,
|
|
8367
|
+
* AND THE WEAKEST NUMBER IN THIS ROW. Read the error bars before quoting it.
|
|
8368
|
+
*
|
|
8369
|
+
* **Why motion onset and not something else.** Two other proxies were
|
|
8370
|
+
* considered and rejected:
|
|
8371
|
+
* - *the recording/pipeline session start*: for a camera on
|
|
8372
|
+
* `detectionMode: 'always'` the session opens at process start, hours
|
|
8373
|
+
* before any subject. It measures nothing.
|
|
8374
|
+
* - *the first detection on the device in this burst*: CIRCULAR. A track's
|
|
8375
|
+
* `firstSeen` IS the first detection of that object, so for the track that
|
|
8376
|
+
* OPENS a burst — the only one the operator is complaining about — the two
|
|
8377
|
+
* are the same instant and the latency is 0 by construction.
|
|
8378
|
+
* Motion onset is the only in-process signal produced by a DIFFERENT
|
|
8379
|
+
* mechanism from the object detector, so it is the only one that can precede
|
|
8380
|
+
* it. It is also already maintained per-device at frame rate on this very
|
|
8381
|
+
* node (`handleMotionAnalysis` / `handleOnboardMotion`), which is what makes
|
|
8382
|
+
* it free — and, decisively, the frame path and the motion path are gated to
|
|
8383
|
+
* the SAME designated post-processing node, so the mirror is never empty for
|
|
8384
|
+
* a camera whose births land here.
|
|
8385
|
+
*
|
|
8386
|
+
* **Error bars, all of them.**
|
|
8387
|
+
* 1. *Motion has no class.* A burst opened by rain, a headlight sweeping a
|
|
8388
|
+
* wall or a branch, and only later joined by the person, OVERSTATES the
|
|
8389
|
+
* latency without bound. Mitigated, never removed, by
|
|
8390
|
+
* {@link BirthDecisionRecord.birthIndexInBurst}: only index 0 is a
|
|
8391
|
+
* candidate for "this burst is this subject", and even then it is a
|
|
8392
|
+
* candidate, not a fact.
|
|
8393
|
+
* 2. *The sign is not guaranteed.* The analyzer needs a pixel-count and
|
|
8394
|
+
* intensity threshold. A subject entering slowly at the far edge of the
|
|
8395
|
+
* frame can clear the detector's confidence floor BEFORE it clears the
|
|
8396
|
+
* motion floor, making this negative. Negatives are stored as-is and
|
|
8397
|
+
* never clamped — clamping would fabricate the distribution's left tail,
|
|
8398
|
+
* which is the half that says the proxy is unreliable.
|
|
8399
|
+
* 3. *Onboard motion carries firmware latency of unknown, per-model offset*
|
|
8400
|
+
* (hundreds of ms), plus camera-vs-hub clock skew on top. Numbers are
|
|
8401
|
+
* therefore comparable WITHIN a camera and not across cameras of
|
|
8402
|
+
* different motion sources. The motion source is deliberately not copied
|
|
8403
|
+
* here — it belongs to the addon that owns the device (D224) and this is
|
|
8404
|
+
* a write on the frame path — so group by `deviceId`, which is how the
|
|
8405
|
+
* question is always asked anyway.
|
|
8406
|
+
* 4. *Continuous motion.* On a busy scene the burst never closes and the
|
|
8407
|
+
* onset is minutes old. Bounded by {@link MAX_BIRTH_LATENCY_PROXY_MS};
|
|
8408
|
+
* past it this is `null`.
|
|
8409
|
+
* 5. *No motion signal at all* — analyzer off, onboard-only camera not
|
|
8410
|
+
* reporting, or nothing since boot: `null`. Which is the truth about a
|
|
8411
|
+
* camera nobody has a reference instant for.
|
|
8412
|
+
*
|
|
8413
|
+
* So this is a per-camera DISTRIBUTION over index-0 births, and it is honest
|
|
8414
|
+
* as such. It is not a per-track fact and must never be shown as one.
|
|
8415
|
+
*/
|
|
8416
|
+
birthLatencyMs: number().int().nullable(),
|
|
8417
|
+
/**
|
|
8418
|
+
* How many births this device has already decided since that motion onset.
|
|
8419
|
+
* 0 = the first, i.e. the only index at which the burst plausibly belongs to
|
|
8420
|
+
* this subject. `null` when there is no usable onset.
|
|
8421
|
+
*/
|
|
8422
|
+
birthIndexInBurst: number().int().nullable()
|
|
8423
|
+
});
|
|
8424
|
+
/** Query input for `listBirthDecisions` — newest first, one camera or all. */
|
|
8425
|
+
var BirthDecisionQueryInputSchema = object({
|
|
8426
|
+
/** Restrict to a single camera; omit for every row. */
|
|
8427
|
+
deviceId: number().int().optional(),
|
|
8428
|
+
/** Only decisions at or after this epoch ms. */
|
|
8429
|
+
since: number().int().optional(),
|
|
8430
|
+
/** Restrict to one verdict — the miss rate is read one population at a time. */
|
|
8431
|
+
verdict: BirthDecisionVerdictSchema.optional(),
|
|
8432
|
+
/** Max rows returned, newest-first. */
|
|
8433
|
+
limit: number().int().min(1).max(5e3).optional()
|
|
8434
|
+
});
|
|
8284
8435
|
/** One archived note — the operator's words plus enough context to find what
|
|
8285
8436
|
* they were looking at, after the track itself is gone. */
|
|
8286
8437
|
var ArchivedDebugNoteSchema = object({
|
|
@@ -20540,7 +20691,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20540
20691
|
deviceId: number(),
|
|
20541
20692
|
trackId: string(),
|
|
20542
20693
|
flags: TrackFlagsPatchSchema
|
|
20543
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20694
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20544
20695
|
kind: "query",
|
|
20545
20696
|
auth: "admin"
|
|
20546
20697
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -34017,6 +34168,12 @@ Object.freeze({
|
|
|
34017
34168
|
addonId: null,
|
|
34018
34169
|
access: "view"
|
|
34019
34170
|
},
|
|
34171
|
+
"pipelineAnalytics.listBirthDecisions": {
|
|
34172
|
+
capName: "pipeline-analytics",
|
|
34173
|
+
capScope: "device",
|
|
34174
|
+
addonId: null,
|
|
34175
|
+
access: "view"
|
|
34176
|
+
},
|
|
34020
34177
|
"pipelineAnalytics.listEventKinds": {
|
|
34021
34178
|
capName: "pipeline-analytics",
|
|
34022
34179
|
capScope: "device",
|
|
@@ -37809,6 +37966,11 @@ Object.freeze({
|
|
|
37809
37966
|
form: "single",
|
|
37810
37967
|
optional: true
|
|
37811
37968
|
}],
|
|
37969
|
+
"pipelineAnalytics.listBirthDecisions": [{
|
|
37970
|
+
name: "deviceId",
|
|
37971
|
+
form: "single",
|
|
37972
|
+
optional: true
|
|
37973
|
+
}],
|
|
37812
37974
|
"pipelineAnalytics.listEventKinds": [{
|
|
37813
37975
|
name: "deviceId",
|
|
37814
37976
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-hap",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.99",
|
|
4
4
|
"description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|