@camstack/addon-export-hap 1.2.104 → 1.2.106
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 +57 -3
- package/dist/hap-export.addon.mjs +57 -3
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -16943,6 +16943,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16943
16943
|
"addon-crash-loop",
|
|
16944
16944
|
"addon-update-available",
|
|
16945
16945
|
"server-update-available",
|
|
16946
|
+
"wrapper-update-available",
|
|
16946
16947
|
"alarm-triggered",
|
|
16947
16948
|
"alarm-armed",
|
|
16948
16949
|
"alarm-disarmed",
|
|
@@ -22459,6 +22460,53 @@ var ImageContractSchema = object({
|
|
|
22459
22460
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22460
22461
|
message: string()
|
|
22461
22462
|
});
|
|
22463
|
+
/**
|
|
22464
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22465
|
+
* produced it.
|
|
22466
|
+
*
|
|
22467
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22468
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22469
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22470
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22471
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22472
|
+
*/
|
|
22473
|
+
var WrapperIdentitySchema = object({
|
|
22474
|
+
kind: _enum([
|
|
22475
|
+
"docker",
|
|
22476
|
+
"electron",
|
|
22477
|
+
"native",
|
|
22478
|
+
"contradictory",
|
|
22479
|
+
"unknown"
|
|
22480
|
+
]),
|
|
22481
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22482
|
+
evidence: array(object({
|
|
22483
|
+
/** Which probe this row reports. */
|
|
22484
|
+
fact: _enum([
|
|
22485
|
+
"dockerenv-file",
|
|
22486
|
+
"proc-1-cgroup",
|
|
22487
|
+
"platform",
|
|
22488
|
+
"electron-app-version-env"
|
|
22489
|
+
]),
|
|
22490
|
+
/**
|
|
22491
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22492
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22493
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22494
|
+
*/
|
|
22495
|
+
mode: _enum(["observed", "declared"]),
|
|
22496
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22497
|
+
holds: boolean(),
|
|
22498
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22499
|
+
detail: string()
|
|
22500
|
+
})),
|
|
22501
|
+
/**
|
|
22502
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22503
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22504
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22505
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22506
|
+
* known there.
|
|
22507
|
+
*/
|
|
22508
|
+
currentVersion: string().nullable()
|
|
22509
|
+
});
|
|
22462
22510
|
var ServerRollbackInfoSchema = object({
|
|
22463
22511
|
/** The version that failed (or was manually rolled back). */
|
|
22464
22512
|
fromVersion: string(),
|
|
@@ -22500,7 +22548,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22500
22548
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22501
22549
|
* version skew: an older provider's payload simply omits it.
|
|
22502
22550
|
*/
|
|
22503
|
-
imageContract: ImageContractSchema.optional()
|
|
22551
|
+
imageContract: ImageContractSchema.optional(),
|
|
22552
|
+
/**
|
|
22553
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22554
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22555
|
+
* absent wrapper is unknown — never `native`.
|
|
22556
|
+
*/
|
|
22557
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22504
22558
|
});
|
|
22505
22559
|
var ServerUpdateCheckResultSchema = object({
|
|
22506
22560
|
packageName: string(),
|
|
@@ -25542,8 +25596,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25542
25596
|
*
|
|
25543
25597
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
25544
25598
|
* "every camera". A request for no devices is a request, not an
|
|
25545
|
-
* omission; same contract as `deviceManager.
|
|
25546
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
25599
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
25600
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
25547
25601
|
*
|
|
25548
25602
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
25549
25603
|
*/
|
|
@@ -16931,6 +16931,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16931
16931
|
"addon-crash-loop",
|
|
16932
16932
|
"addon-update-available",
|
|
16933
16933
|
"server-update-available",
|
|
16934
|
+
"wrapper-update-available",
|
|
16934
16935
|
"alarm-triggered",
|
|
16935
16936
|
"alarm-armed",
|
|
16936
16937
|
"alarm-disarmed",
|
|
@@ -22447,6 +22448,53 @@ var ImageContractSchema = object({
|
|
|
22447
22448
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22448
22449
|
message: string()
|
|
22449
22450
|
});
|
|
22451
|
+
/**
|
|
22452
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22453
|
+
* produced it.
|
|
22454
|
+
*
|
|
22455
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22456
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22457
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22458
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22459
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22460
|
+
*/
|
|
22461
|
+
var WrapperIdentitySchema = object({
|
|
22462
|
+
kind: _enum([
|
|
22463
|
+
"docker",
|
|
22464
|
+
"electron",
|
|
22465
|
+
"native",
|
|
22466
|
+
"contradictory",
|
|
22467
|
+
"unknown"
|
|
22468
|
+
]),
|
|
22469
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22470
|
+
evidence: array(object({
|
|
22471
|
+
/** Which probe this row reports. */
|
|
22472
|
+
fact: _enum([
|
|
22473
|
+
"dockerenv-file",
|
|
22474
|
+
"proc-1-cgroup",
|
|
22475
|
+
"platform",
|
|
22476
|
+
"electron-app-version-env"
|
|
22477
|
+
]),
|
|
22478
|
+
/**
|
|
22479
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22480
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22481
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22482
|
+
*/
|
|
22483
|
+
mode: _enum(["observed", "declared"]),
|
|
22484
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22485
|
+
holds: boolean(),
|
|
22486
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22487
|
+
detail: string()
|
|
22488
|
+
})),
|
|
22489
|
+
/**
|
|
22490
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22491
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22492
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22493
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22494
|
+
* known there.
|
|
22495
|
+
*/
|
|
22496
|
+
currentVersion: string().nullable()
|
|
22497
|
+
});
|
|
22450
22498
|
var ServerRollbackInfoSchema = object({
|
|
22451
22499
|
/** The version that failed (or was manually rolled back). */
|
|
22452
22500
|
fromVersion: string(),
|
|
@@ -22488,7 +22536,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22488
22536
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22489
22537
|
* version skew: an older provider's payload simply omits it.
|
|
22490
22538
|
*/
|
|
22491
|
-
imageContract: ImageContractSchema.optional()
|
|
22539
|
+
imageContract: ImageContractSchema.optional(),
|
|
22540
|
+
/**
|
|
22541
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22542
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22543
|
+
* absent wrapper is unknown — never `native`.
|
|
22544
|
+
*/
|
|
22545
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22492
22546
|
});
|
|
22493
22547
|
var ServerUpdateCheckResultSchema = object({
|
|
22494
22548
|
packageName: string(),
|
|
@@ -25530,8 +25584,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25530
25584
|
*
|
|
25531
25585
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
25532
25586
|
* "every camera". A request for no devices is a request, not an
|
|
25533
|
-
* omission; same contract as `deviceManager.
|
|
25534
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
25587
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
25588
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
25535
25589
|
*
|
|
25536
25590
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
25537
25591
|
*/
|
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.106",
|
|
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",
|