@camstack/addon-post-analysis 1.2.141 → 1.2.144
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/{dist-CQGjLREi.mjs → dist-3FJkk7Mx.mjs} +100 -15
- package/dist/{dist-C6oVj0QW.js → dist-C8RL0Hzy.js} +100 -15
- package/dist/embedding-encoder/index.js +1 -1
- package/dist/embedding-encoder/index.mjs +1 -1
- package/dist/pipeline-analytics/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-zZNZEbxQ.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-Bb5cXFSY.mjs} +3 -3
- package/dist/pipeline-analytics/{hostInit-DzbgECYw.mjs → hostInit-Btr3CZPD.mjs} +3 -3
- package/dist/pipeline-analytics/index.js +1 -1
- package/dist/pipeline-analytics/index.mjs +1 -1
- package/dist/pipeline-analytics/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -8007,11 +8007,10 @@ var DetectionCatalogClassMapSchema = object({
|
|
|
8007
8007
|
* timestamp + postMs]`). Matches the admin-ui clip window (−5s/+10s).
|
|
8008
8008
|
*
|
|
8009
8009
|
* Every consumer derives from this ONE constant so event↔footage boundaries
|
|
8010
|
-
* agree everywhere (C1):
|
|
8011
|
-
*
|
|
8012
|
-
*
|
|
8013
|
-
*
|
|
8014
|
-
* their `startMs/endMs` with it.
|
|
8010
|
+
* agree everywhere (C1): today that is the `videoclips` default provider
|
|
8011
|
+
* (addon-post-analysis), which pads its clip windows with it. The recorder used
|
|
8012
|
+
* to pad in-RAM playback markers with it too; those markers had no reader
|
|
8013
|
+
* anywhere in the repo and were deleted on 2026-08-29.
|
|
8015
8014
|
*
|
|
8016
8015
|
* NOTE: this is a UI/JOIN convention, NOT the `events`-band keep/discard gate —
|
|
8017
8016
|
* that uses the per-device `preBufferSec`/`postBufferSec` config.
|
|
@@ -14254,6 +14253,50 @@ var NodeProcessSchema = object({
|
|
|
14254
14253
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
14255
14254
|
uptimeSec: number()
|
|
14256
14255
|
});
|
|
14256
|
+
/**
|
|
14257
|
+
* One retained container-memory reading.
|
|
14258
|
+
*
|
|
14259
|
+
* `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
|
|
14260
|
+
* a second clock: that is what makes "processes sum to X, container says Y"
|
|
14261
|
+
* subtractable per point rather than an eyeballed comparison of two series
|
|
14262
|
+
* sampled at different instants.
|
|
14263
|
+
*
|
|
14264
|
+
* A reduced window keeps the sample with the LARGEST `currentBytes` in each
|
|
14265
|
+
* bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
|
|
14266
|
+
* never coexisted, and a mean would smear away the peak this exists to find.
|
|
14267
|
+
*/
|
|
14268
|
+
var ContainerMemoryPointSchema = object({
|
|
14269
|
+
/** Which hierarchy answered, so a reading is never ambiguous. */
|
|
14270
|
+
source: _enum(["cgroup-v2", "cgroup-v1"]),
|
|
14271
|
+
/** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
|
|
14272
|
+
currentBytes: number(),
|
|
14273
|
+
/** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
|
|
14274
|
+
limitBytes: number().nullable(),
|
|
14275
|
+
/** Anonymous pages: the closest thing to "what the processes allocated". */
|
|
14276
|
+
anonBytes: number().nullable(),
|
|
14277
|
+
/** Page cache. Charged to the cgroup, owned by no process. */
|
|
14278
|
+
fileBytes: number().nullable(),
|
|
14279
|
+
/**
|
|
14280
|
+
* Shared memory — and the field that explained the largest single surprise.
|
|
14281
|
+
* The i915 driver backs GPU buffers with shmem, so an inference pool or a
|
|
14282
|
+
* hardware-decode session holding DRM objects is charged HERE and appears
|
|
14283
|
+
* nowhere in a `ps` scan.
|
|
14284
|
+
*/
|
|
14285
|
+
shmemBytes: number().nullable(),
|
|
14286
|
+
/** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
|
|
14287
|
+
slabBytes: number().nullable(),
|
|
14288
|
+
/**
|
|
14289
|
+
* Shrinkable i915 GEM object bytes, from debugfs.
|
|
14290
|
+
*
|
|
14291
|
+
* **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
|
|
14292
|
+
* component of `currentBytes` and must not be subtracted from it; it says
|
|
14293
|
+
* what put the shmem there, where `shmemBytes` only says how much.
|
|
14294
|
+
*
|
|
14295
|
+
* `null` wherever debugfs is not mounted — which is inside every camstack
|
|
14296
|
+
* container today — and on any node with no Intel GPU.
|
|
14297
|
+
*/
|
|
14298
|
+
gpuShmemBytes: number().nullable()
|
|
14299
|
+
}).extend({ atMs: number() });
|
|
14257
14300
|
var DumpHeapSnapshotInputSchema = object({
|
|
14258
14301
|
/** The addon whose runner should dump a heap snapshot. */
|
|
14259
14302
|
addonId: string() });
|
|
@@ -14317,6 +14360,21 @@ var NodeLoadSeriesSchema = object({
|
|
|
14317
14360
|
/** One entry per function seen in the window, heaviest-first. */
|
|
14318
14361
|
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
14319
14362
|
/**
|
|
14363
|
+
* The CONTAINER's memory over the same window, oldest-first.
|
|
14364
|
+
*
|
|
14365
|
+
* Sits next to `series` rather than in a method of its own because the whole
|
|
14366
|
+
* question is a subtraction: the per-process rows in `series` sum to one
|
|
14367
|
+
* number and this one is another, and an operator who has to issue two calls
|
|
14368
|
+
* to compare them will compare two different instants. Same reader, same
|
|
14369
|
+
* `sinceMs`, same `bucketMs`, same timestamps.
|
|
14370
|
+
*
|
|
14371
|
+
* **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
|
|
14372
|
+
* Mac, a bare-metal host, a container with the hierarchy hidden — reports no
|
|
14373
|
+
* points at all. A zero here would be indistinguishable from a healthy
|
|
14374
|
+
* container and is precisely the lie this field exists to avoid.
|
|
14375
|
+
*/
|
|
14376
|
+
containerMemory: array(ContainerMemoryPointSchema).readonly(),
|
|
14377
|
+
/**
|
|
14320
14378
|
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
14321
14379
|
* reduction was needed — so a caller can always say what one point covers
|
|
14322
14380
|
* without having to know whether it was reduced.
|
|
@@ -26391,6 +26449,33 @@ var intercomCapability = {
|
|
|
26391
26449
|
deviceNative: true,
|
|
26392
26450
|
mode: "singleton",
|
|
26393
26451
|
deviceTypes: [DeviceType.Camera],
|
|
26452
|
+
/**
|
|
26453
|
+
* **Auth tier: `protected` on every method — deliberate, and load-bearing.**
|
|
26454
|
+
*
|
|
26455
|
+
* Talking through a camera is an OPERATE action, not a CONFIGURE one. This
|
|
26456
|
+
* cap has no configuration surface at all: all six methods open, feed and
|
|
26457
|
+
* close one live audio session against one `deviceId`. That is the same
|
|
26458
|
+
* authority as `ptz.move` or `snapshot.getSnapshot`, both `protected` — and
|
|
26459
|
+
* the opposite of `ptz.savePreset` / `snapshot.invalidateCache`, which are
|
|
26460
|
+
* `admin` because they change what the device IS.
|
|
26461
|
+
*
|
|
26462
|
+
* `protected` does not mean ungated: `protectedProcedure` runs the
|
|
26463
|
+
* `METHOD_ACCESS_MAP` scope check, and every method here is `scope: 'device'`
|
|
26464
|
+
* with `access: 'create'` and a `deviceId` in its input. So a caller needs a
|
|
26465
|
+
* grant that covers THAT camera at `create` — a `camera-viewer` (`view`
|
|
26466
|
+
* only) still cannot talk, and a grant on camera 5 cannot talk through
|
|
26467
|
+
* camera 7.
|
|
26468
|
+
*
|
|
26469
|
+
* Every method was `auth: 'admin'` from the initial commit, which made the
|
|
26470
|
+
* cap unreachable by every non-admin principal — `adminProcedure` throws
|
|
26471
|
+
* `FORBIDDEN: Admin required` BEFORE the scope check runs, so the scope
|
|
26472
|
+
* machinery generated for this cap (`METHOD_ACCESS_MAP`,
|
|
26473
|
+
* `DEVICE_SCOPED_CAPS`, `METHOD_DEVICE_SELECTORS`) was complete and dead. The
|
|
26474
|
+
* `camera-operator` scope preset has promised "PTZ control, intercom,
|
|
26475
|
+
* snapshots" since that same commit; the promise could not be kept. Recorded
|
|
26476
|
+
* as D289; `scripts/check-scope-preset-promises.ts` now fails the build if a
|
|
26477
|
+
* preset promises a cap no row of that preset can reach.
|
|
26478
|
+
*/
|
|
26394
26479
|
methods: {
|
|
26395
26480
|
/**
|
|
26396
26481
|
* Open a server-side WebRTC audio-only session. Returns an SDP
|
|
@@ -26403,7 +26488,7 @@ var intercomCapability = {
|
|
|
26403
26488
|
sdpOffer: string()
|
|
26404
26489
|
}), {
|
|
26405
26490
|
kind: "mutation",
|
|
26406
|
-
auth: "
|
|
26491
|
+
auth: "protected"
|
|
26407
26492
|
}),
|
|
26408
26493
|
handleAnswer: method(object({
|
|
26409
26494
|
deviceId: number(),
|
|
@@ -26411,7 +26496,7 @@ var intercomCapability = {
|
|
|
26411
26496
|
sdpAnswer: string()
|
|
26412
26497
|
}), _void(), {
|
|
26413
26498
|
kind: "mutation",
|
|
26414
|
-
auth: "
|
|
26499
|
+
auth: "protected"
|
|
26415
26500
|
}),
|
|
26416
26501
|
/** Close explicitly. Server also auto-closes on 30s idle. */
|
|
26417
26502
|
stopSession: method(object({
|
|
@@ -26419,7 +26504,7 @@ var intercomCapability = {
|
|
|
26419
26504
|
sessionId: string()
|
|
26420
26505
|
}), _void(), {
|
|
26421
26506
|
kind: "mutation",
|
|
26422
|
-
auth: "
|
|
26507
|
+
auth: "protected"
|
|
26423
26508
|
}),
|
|
26424
26509
|
/**
|
|
26425
26510
|
* Open a raw-PCM talk session (no WebRTC SDP plumbing). Used by
|
|
@@ -26432,7 +26517,7 @@ var intercomCapability = {
|
|
|
26432
26517
|
*/
|
|
26433
26518
|
startTalkSession: method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
26434
26519
|
kind: "mutation",
|
|
26435
|
-
auth: "
|
|
26520
|
+
auth: "protected"
|
|
26436
26521
|
}),
|
|
26437
26522
|
/**
|
|
26438
26523
|
* Push one chunk of talk-back audio onto the active talk session.
|
|
@@ -26467,12 +26552,12 @@ var intercomCapability = {
|
|
|
26467
26552
|
sequenceNumber: number().int()
|
|
26468
26553
|
}), object({ accepted: boolean() }), {
|
|
26469
26554
|
kind: "mutation",
|
|
26470
|
-
auth: "
|
|
26555
|
+
auth: "protected"
|
|
26471
26556
|
}),
|
|
26472
26557
|
/** Close the raw-PCM talk session. Idempotent. */
|
|
26473
26558
|
endTalkSession: method(object({ deviceId: number() }), _void(), {
|
|
26474
26559
|
kind: "mutation",
|
|
26475
|
-
auth: "
|
|
26560
|
+
auth: "protected"
|
|
26476
26561
|
})
|
|
26477
26562
|
},
|
|
26478
26563
|
events: { onStatusChanged: { data: object({
|
|
@@ -29182,10 +29267,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
|
|
|
29182
29267
|
* recording config. NOTE on events (source of truth, R5/C3): this cap carries
|
|
29183
29268
|
* NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
|
|
29184
29269
|
* events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
|
|
29185
|
-
* rows)
|
|
29186
|
-
*
|
|
29187
|
-
*
|
|
29188
|
-
* (`interfaces/recording-config.ts`).
|
|
29270
|
+
* rows) and are the ONLY event surface — the recorder has none. The in-RAM
|
|
29271
|
+
* playback markers it used to build were deleted on 2026-08-29 because nothing
|
|
29272
|
+
* ever read them. Event<->footage joins are by time, padded with the shared
|
|
29273
|
+
* `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
|
|
29189
29274
|
*/
|
|
29190
29275
|
var RecordingStatusSchema = object({
|
|
29191
29276
|
deviceId: number(),
|
|
@@ -8038,11 +8038,10 @@ var DetectionCatalogClassMapSchema = object({
|
|
|
8038
8038
|
* timestamp + postMs]`). Matches the admin-ui clip window (−5s/+10s).
|
|
8039
8039
|
*
|
|
8040
8040
|
* Every consumer derives from this ONE constant so event↔footage boundaries
|
|
8041
|
-
* agree everywhere (C1):
|
|
8042
|
-
*
|
|
8043
|
-
*
|
|
8044
|
-
*
|
|
8045
|
-
* their `startMs/endMs` with it.
|
|
8041
|
+
* agree everywhere (C1): today that is the `videoclips` default provider
|
|
8042
|
+
* (addon-post-analysis), which pads its clip windows with it. The recorder used
|
|
8043
|
+
* to pad in-RAM playback markers with it too; those markers had no reader
|
|
8044
|
+
* anywhere in the repo and were deleted on 2026-08-29.
|
|
8046
8045
|
*
|
|
8047
8046
|
* NOTE: this is a UI/JOIN convention, NOT the `events`-band keep/discard gate —
|
|
8048
8047
|
* that uses the per-device `preBufferSec`/`postBufferSec` config.
|
|
@@ -14285,6 +14284,50 @@ var NodeProcessSchema = object({
|
|
|
14285
14284
|
/** Wall-clock uptime (seconds). Parsed from `ps etime`. */
|
|
14286
14285
|
uptimeSec: number()
|
|
14287
14286
|
});
|
|
14287
|
+
/**
|
|
14288
|
+
* One retained container-memory reading.
|
|
14289
|
+
*
|
|
14290
|
+
* `atMs` is the timestamp of the PROCESS snapshot taken in the same tick, not
|
|
14291
|
+
* a second clock: that is what makes "processes sum to X, container says Y"
|
|
14292
|
+
* subtractable per point rather than an eyeballed comparison of two series
|
|
14293
|
+
* sampled at different instants.
|
|
14294
|
+
*
|
|
14295
|
+
* A reduced window keeps the sample with the LARGEST `currentBytes` in each
|
|
14296
|
+
* bucket, WHOLE. Taking a per-field maximum would synthesise a row whose parts
|
|
14297
|
+
* never coexisted, and a mean would smear away the peak this exists to find.
|
|
14298
|
+
*/
|
|
14299
|
+
var ContainerMemoryPointSchema = object({
|
|
14300
|
+
/** Which hierarchy answered, so a reading is never ambiguous. */
|
|
14301
|
+
source: _enum(["cgroup-v2", "cgroup-v1"]),
|
|
14302
|
+
/** `memory.current` (v2) / `memory.usage_in_bytes` (v1). Always known. */
|
|
14303
|
+
currentBytes: number(),
|
|
14304
|
+
/** The cgroup's ceiling. `null` = NO LIMIT — never a sentinel, never zero. */
|
|
14305
|
+
limitBytes: number().nullable(),
|
|
14306
|
+
/** Anonymous pages: the closest thing to "what the processes allocated". */
|
|
14307
|
+
anonBytes: number().nullable(),
|
|
14308
|
+
/** Page cache. Charged to the cgroup, owned by no process. */
|
|
14309
|
+
fileBytes: number().nullable(),
|
|
14310
|
+
/**
|
|
14311
|
+
* Shared memory — and the field that explained the largest single surprise.
|
|
14312
|
+
* The i915 driver backs GPU buffers with shmem, so an inference pool or a
|
|
14313
|
+
* hardware-decode session holding DRM objects is charged HERE and appears
|
|
14314
|
+
* nowhere in a `ps` scan.
|
|
14315
|
+
*/
|
|
14316
|
+
shmemBytes: number().nullable(),
|
|
14317
|
+
/** Kernel slab charged to this cgroup. `null` on v1, which never publishes it. */
|
|
14318
|
+
slabBytes: number().nullable(),
|
|
14319
|
+
/**
|
|
14320
|
+
* Shrinkable i915 GEM object bytes, from debugfs.
|
|
14321
|
+
*
|
|
14322
|
+
* **Host-wide across every DRM client, NOT cgroup-scoped.** It is not a
|
|
14323
|
+
* component of `currentBytes` and must not be subtracted from it; it says
|
|
14324
|
+
* what put the shmem there, where `shmemBytes` only says how much.
|
|
14325
|
+
*
|
|
14326
|
+
* `null` wherever debugfs is not mounted — which is inside every camstack
|
|
14327
|
+
* container today — and on any node with no Intel GPU.
|
|
14328
|
+
*/
|
|
14329
|
+
gpuShmemBytes: number().nullable()
|
|
14330
|
+
}).extend({ atMs: number() });
|
|
14288
14331
|
var DumpHeapSnapshotInputSchema = object({
|
|
14289
14332
|
/** The addon whose runner should dump a heap snapshot. */
|
|
14290
14333
|
addonId: string() });
|
|
@@ -14348,6 +14391,21 @@ var NodeLoadSeriesSchema = object({
|
|
|
14348
14391
|
/** One entry per function seen in the window, heaviest-first. */
|
|
14349
14392
|
series: array(LoadFunctionSeriesSchema).readonly(),
|
|
14350
14393
|
/**
|
|
14394
|
+
* The CONTAINER's memory over the same window, oldest-first.
|
|
14395
|
+
*
|
|
14396
|
+
* Sits next to `series` rather than in a method of its own because the whole
|
|
14397
|
+
* question is a subtraction: the per-process rows in `series` sum to one
|
|
14398
|
+
* number and this one is another, and an operator who has to issue two calls
|
|
14399
|
+
* to compare them will compare two different instants. Same reader, same
|
|
14400
|
+
* `sinceMs`, same `bucketMs`, same timestamps.
|
|
14401
|
+
*
|
|
14402
|
+
* **EMPTY means ABSENT, never zero.** A node with no cgroup — a developer
|
|
14403
|
+
* Mac, a bare-metal host, a container with the hierarchy hidden — reports no
|
|
14404
|
+
* points at all. A zero here would be indistinguishable from a healthy
|
|
14405
|
+
* container and is precisely the lie this field exists to avoid.
|
|
14406
|
+
*/
|
|
14407
|
+
containerMemory: array(ContainerMemoryPointSchema).readonly(),
|
|
14408
|
+
/**
|
|
14351
14409
|
* Width of one returned bucket, in ms. Equals the sampling cadence when no
|
|
14352
14410
|
* reduction was needed — so a caller can always say what one point covers
|
|
14353
14411
|
* without having to know whether it was reduced.
|
|
@@ -26422,6 +26480,33 @@ var intercomCapability = {
|
|
|
26422
26480
|
deviceNative: true,
|
|
26423
26481
|
mode: "singleton",
|
|
26424
26482
|
deviceTypes: [DeviceType.Camera],
|
|
26483
|
+
/**
|
|
26484
|
+
* **Auth tier: `protected` on every method — deliberate, and load-bearing.**
|
|
26485
|
+
*
|
|
26486
|
+
* Talking through a camera is an OPERATE action, not a CONFIGURE one. This
|
|
26487
|
+
* cap has no configuration surface at all: all six methods open, feed and
|
|
26488
|
+
* close one live audio session against one `deviceId`. That is the same
|
|
26489
|
+
* authority as `ptz.move` or `snapshot.getSnapshot`, both `protected` — and
|
|
26490
|
+
* the opposite of `ptz.savePreset` / `snapshot.invalidateCache`, which are
|
|
26491
|
+
* `admin` because they change what the device IS.
|
|
26492
|
+
*
|
|
26493
|
+
* `protected` does not mean ungated: `protectedProcedure` runs the
|
|
26494
|
+
* `METHOD_ACCESS_MAP` scope check, and every method here is `scope: 'device'`
|
|
26495
|
+
* with `access: 'create'` and a `deviceId` in its input. So a caller needs a
|
|
26496
|
+
* grant that covers THAT camera at `create` — a `camera-viewer` (`view`
|
|
26497
|
+
* only) still cannot talk, and a grant on camera 5 cannot talk through
|
|
26498
|
+
* camera 7.
|
|
26499
|
+
*
|
|
26500
|
+
* Every method was `auth: 'admin'` from the initial commit, which made the
|
|
26501
|
+
* cap unreachable by every non-admin principal — `adminProcedure` throws
|
|
26502
|
+
* `FORBIDDEN: Admin required` BEFORE the scope check runs, so the scope
|
|
26503
|
+
* machinery generated for this cap (`METHOD_ACCESS_MAP`,
|
|
26504
|
+
* `DEVICE_SCOPED_CAPS`, `METHOD_DEVICE_SELECTORS`) was complete and dead. The
|
|
26505
|
+
* `camera-operator` scope preset has promised "PTZ control, intercom,
|
|
26506
|
+
* snapshots" since that same commit; the promise could not be kept. Recorded
|
|
26507
|
+
* as D289; `scripts/check-scope-preset-promises.ts` now fails the build if a
|
|
26508
|
+
* preset promises a cap no row of that preset can reach.
|
|
26509
|
+
*/
|
|
26425
26510
|
methods: {
|
|
26426
26511
|
/**
|
|
26427
26512
|
* Open a server-side WebRTC audio-only session. Returns an SDP
|
|
@@ -26434,7 +26519,7 @@ var intercomCapability = {
|
|
|
26434
26519
|
sdpOffer: string()
|
|
26435
26520
|
}), {
|
|
26436
26521
|
kind: "mutation",
|
|
26437
|
-
auth: "
|
|
26522
|
+
auth: "protected"
|
|
26438
26523
|
}),
|
|
26439
26524
|
handleAnswer: method(object({
|
|
26440
26525
|
deviceId: number(),
|
|
@@ -26442,7 +26527,7 @@ var intercomCapability = {
|
|
|
26442
26527
|
sdpAnswer: string()
|
|
26443
26528
|
}), _void(), {
|
|
26444
26529
|
kind: "mutation",
|
|
26445
|
-
auth: "
|
|
26530
|
+
auth: "protected"
|
|
26446
26531
|
}),
|
|
26447
26532
|
/** Close explicitly. Server also auto-closes on 30s idle. */
|
|
26448
26533
|
stopSession: method(object({
|
|
@@ -26450,7 +26535,7 @@ var intercomCapability = {
|
|
|
26450
26535
|
sessionId: string()
|
|
26451
26536
|
}), _void(), {
|
|
26452
26537
|
kind: "mutation",
|
|
26453
|
-
auth: "
|
|
26538
|
+
auth: "protected"
|
|
26454
26539
|
}),
|
|
26455
26540
|
/**
|
|
26456
26541
|
* Open a raw-PCM talk session (no WebRTC SDP plumbing). Used by
|
|
@@ -26463,7 +26548,7 @@ var intercomCapability = {
|
|
|
26463
26548
|
*/
|
|
26464
26549
|
startTalkSession: method(object({ deviceId: number() }), object({ sessionId: string() }), {
|
|
26465
26550
|
kind: "mutation",
|
|
26466
|
-
auth: "
|
|
26551
|
+
auth: "protected"
|
|
26467
26552
|
}),
|
|
26468
26553
|
/**
|
|
26469
26554
|
* Push one chunk of talk-back audio onto the active talk session.
|
|
@@ -26498,12 +26583,12 @@ var intercomCapability = {
|
|
|
26498
26583
|
sequenceNumber: number().int()
|
|
26499
26584
|
}), object({ accepted: boolean() }), {
|
|
26500
26585
|
kind: "mutation",
|
|
26501
|
-
auth: "
|
|
26586
|
+
auth: "protected"
|
|
26502
26587
|
}),
|
|
26503
26588
|
/** Close the raw-PCM talk session. Idempotent. */
|
|
26504
26589
|
endTalkSession: method(object({ deviceId: number() }), _void(), {
|
|
26505
26590
|
kind: "mutation",
|
|
26506
|
-
auth: "
|
|
26591
|
+
auth: "protected"
|
|
26507
26592
|
})
|
|
26508
26593
|
},
|
|
26509
26594
|
events: { onStatusChanged: { data: object({
|
|
@@ -29213,10 +29298,10 @@ DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceI
|
|
|
29213
29298
|
* recording config. NOTE on events (source of truth, R5/C3): this cap carries
|
|
29214
29299
|
* NO event surface — `getPlaybackManifest` returns playlist URLs only. Timeline
|
|
29215
29300
|
* events (motion/object/audio) come from `pipelineAnalytics` (durable SQLite
|
|
29216
|
-
* rows)
|
|
29217
|
-
*
|
|
29218
|
-
*
|
|
29219
|
-
* (`interfaces/recording-config.ts`).
|
|
29301
|
+
* rows) and are the ONLY event surface — the recorder has none. The in-RAM
|
|
29302
|
+
* playback markers it used to build were deleted on 2026-08-29 because nothing
|
|
29303
|
+
* ever read them. Event<->footage joins are by time, padded with the shared
|
|
29304
|
+
* `EVENT_PAD_MS` (`interfaces/recording-config.ts`).
|
|
29220
29305
|
*/
|
|
29221
29306
|
var RecordingStatusSchema = object({
|
|
29222
29307
|
deviceId: number(),
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-C8RL0Hzy.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
node_fs = require_dist.__toESM(node_fs);
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dt as BaseAddon, P as PoolMemoryWatchdog, ct as hfModelUrl, it as embeddingEncoderCapability, pt as parseProcStatus, yt as resolvePoolMemoryPolicy } from "../dist-
|
|
1
|
+
import { Dt as BaseAddon, P as PoolMemoryWatchdog, ct as hfModelUrl, it as embeddingEncoderCapability, pt as parseProcStatus, yt as resolvePoolMemoryPolicy } from "../dist-3FJkk7Mx.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import * as path$1 from "node:path";
|
|
@@ -3,7 +3,7 @@ import "./dist-CYZr2fwk.mjs";
|
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
5
5
|
name: "@camstack/sdk",
|
|
6
|
-
version: "1.2.
|
|
6
|
+
version: "1.2.45",
|
|
7
7
|
scope: ["default"],
|
|
8
8
|
loaded: !1,
|
|
9
9
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.123",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.86",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_pipeline_analytics_widgets",
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.123",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -45,7 +45,7 @@ async function r() {
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"@camstack/sdk": {
|
|
48
|
-
version: "1.2.
|
|
48
|
+
version: "1.2.45",
|
|
49
49
|
scope: "default",
|
|
50
50
|
shareConfig: {
|
|
51
51
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.86",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-C8RL0Hzy.js");
|
|
6
6
|
let node_fs = require("node:fs");
|
|
7
7
|
node_fs = require_dist.__toESM(node_fs, 1);
|
|
8
8
|
let node_path = require("node:path");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as buildEventKindDescriptor, A as NcSnoozeSuppressedSchema, At as hydrateSchema, B as SCENE_DIVERGED, Bt as object, C as NcRuleInputSchema, Ct as vectorDimFromBase64, D as NcScheduleSchema, Dt as BaseAddon, E as NcRuleTargetSchema, Et as errMsg, F as RECORDING_EXPORT_MAX_READ_BYTES, Ft as array, G as TimelapseRuleSchema, Gt as EventCategory, H as TIMELAPSE_DENSE_FLOOR_SEC, Ht as record, I as RetrainStatusSchema, It as boolean, J as addonWidgetsSourceCapability, K as TrackSourceSchema, Lt as discriminatedUnion, M as NcTaxonomySchema, Mt as nodePin, N as OpsLogEntrySchema, Nt as sleep, O as NcSnoozeInputSchema, Ot as DeviceType, Pt as _enum, Q as audioModeOf, R as SCENE_DEFAULT_ANCHOR_THRESHOLD, Rt as literal, S as NcConditionDescriptorSchema, St as systemEventFilterApplies, T as NcRuleSchema, Tt as zoneAnalyticsCapability, U as TimelapseRuleInputSchema, Ut as string, V as SceneMonitorSchema, Vt as partialRecord, W as TimelapseRulePatchSchema, Wt as unknown, X as assertTimelapseCadences, Y as alarmPanelCapability, Z as audioMetricsCapability, _ as NC_ALARM_SYSTEM_EVENT_KINDS, _t as readDeviceStateFrom, a as COCO_TO_MACRO, at as encodeVectorBase64, bt as sceneMonitorCapability, c as DETECTION_MACRO_CLASSES, d as EVENT_KIND_BY_CAP, dt as kebabToCamel, et as cosineSimilarity$1, f as EVENT_PAD_MS, ft as notificationRulesCapability, g as MACRO_LABELS, gt as plateGalleryCapability, h as LabelAttributionSchema, ht as pipelineAnalyticsCapability, i as CLUSTER_MODEL_SCOPED_STEPS, j as NcSystemEventKindSchema, jt as isDeviceScopedCap, k as NcSnoozeSchema, kt as createEvent, lt as isDetectionMacroClass, m as FailureCounters, mt as pickClusterStepModels, n as AnalyticsGroupRecordSchema, nt as defineCustomActions, o as DEFAULT_EVENT_COLOR, ot as faceGalleryCapability, p as FULL_IMAGE_BBOX, q as VISIT_MERGE_GAP_MS, r as BaseDevice, rt as deriveRecordingMode, st as failureContributionCapability, t as AnalyticsGroupDetailSchema, tt as customAction, u as DeclaredDevices, ut as isScheduleActive, v as NC_CONDITION_CATALOG, vt as readTimelapseGeneratedAt, w as NcRulePatchSchema, wt as videoclipsCapability, x as NC_TAXONOMY, xt as subKindsOf, y as NC_DEFAULT_SNOOZE_MINUTES, z as SCENE_DEFAULT_UNCOVERED_POLICY, zt as number } from "../dist-
|
|
1
|
+
import { $ as buildEventKindDescriptor, A as NcSnoozeSuppressedSchema, At as hydrateSchema, B as SCENE_DIVERGED, Bt as object, C as NcRuleInputSchema, Ct as vectorDimFromBase64, D as NcScheduleSchema, Dt as BaseAddon, E as NcRuleTargetSchema, Et as errMsg, F as RECORDING_EXPORT_MAX_READ_BYTES, Ft as array, G as TimelapseRuleSchema, Gt as EventCategory, H as TIMELAPSE_DENSE_FLOOR_SEC, Ht as record, I as RetrainStatusSchema, It as boolean, J as addonWidgetsSourceCapability, K as TrackSourceSchema, Lt as discriminatedUnion, M as NcTaxonomySchema, Mt as nodePin, N as OpsLogEntrySchema, Nt as sleep, O as NcSnoozeInputSchema, Ot as DeviceType, Pt as _enum, Q as audioModeOf, R as SCENE_DEFAULT_ANCHOR_THRESHOLD, Rt as literal, S as NcConditionDescriptorSchema, St as systemEventFilterApplies, T as NcRuleSchema, Tt as zoneAnalyticsCapability, U as TimelapseRuleInputSchema, Ut as string, V as SceneMonitorSchema, Vt as partialRecord, W as TimelapseRulePatchSchema, Wt as unknown, X as assertTimelapseCadences, Y as alarmPanelCapability, Z as audioMetricsCapability, _ as NC_ALARM_SYSTEM_EVENT_KINDS, _t as readDeviceStateFrom, a as COCO_TO_MACRO, at as encodeVectorBase64, bt as sceneMonitorCapability, c as DETECTION_MACRO_CLASSES, d as EVENT_KIND_BY_CAP, dt as kebabToCamel, et as cosineSimilarity$1, f as EVENT_PAD_MS, ft as notificationRulesCapability, g as MACRO_LABELS, gt as plateGalleryCapability, h as LabelAttributionSchema, ht as pipelineAnalyticsCapability, i as CLUSTER_MODEL_SCOPED_STEPS, j as NcSystemEventKindSchema, jt as isDeviceScopedCap, k as NcSnoozeSchema, kt as createEvent, lt as isDetectionMacroClass, m as FailureCounters, mt as pickClusterStepModels, n as AnalyticsGroupRecordSchema, nt as defineCustomActions, o as DEFAULT_EVENT_COLOR, ot as faceGalleryCapability, p as FULL_IMAGE_BBOX, q as VISIT_MERGE_GAP_MS, r as BaseDevice, rt as deriveRecordingMode, st as failureContributionCapability, t as AnalyticsGroupDetailSchema, tt as customAction, u as DeclaredDevices, ut as isScheduleActive, v as NC_CONDITION_CATALOG, vt as readTimelapseGeneratedAt, w as NcRulePatchSchema, wt as videoclipsCapability, x as NC_TAXONOMY, xt as subKindsOf, y as NC_DEFAULT_SNOOZE_MINUTES, z as SCENE_DEFAULT_UNCOVERED_POLICY, zt as number } from "../dist-3FJkk7Mx.mjs";
|
|
2
2
|
import { t as __exportAll } from "../embedding-encoder/index.mjs";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
import { promises } from "node:fs";
|
|
@@ -30,7 +30,7 @@ async function d(e) {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
async function f() {
|
|
33
|
-
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_analytics_widgets-Bb5cXFSY.mjs")).catch((e) => {
|
|
34
34
|
throw l = void 0, e;
|
|
35
35
|
}), l;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-post-analysis",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.144",
|
|
4
4
|
"description": "Post-Analysis bundle — enrichment, embedding-encoder, pipeline-analytics. Multi-entry npm package shipping addons that consume pipeline output.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|