@camstack/addon-provider-wyze 0.2.97 → 0.2.98
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/addon.js +55 -1
- package/dist/addon.mjs +55 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -16519,6 +16519,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16519
16519
|
"addon-crash-loop",
|
|
16520
16520
|
"addon-update-available",
|
|
16521
16521
|
"server-update-available",
|
|
16522
|
+
"wrapper-update-available",
|
|
16522
16523
|
"alarm-triggered",
|
|
16523
16524
|
"alarm-armed",
|
|
16524
16525
|
"alarm-disarmed",
|
|
@@ -22075,6 +22076,53 @@ var ImageContractSchema = object({
|
|
|
22075
22076
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22076
22077
|
message: string()
|
|
22077
22078
|
});
|
|
22079
|
+
/**
|
|
22080
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22081
|
+
* produced it.
|
|
22082
|
+
*
|
|
22083
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22084
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22085
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22086
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22087
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22088
|
+
*/
|
|
22089
|
+
var WrapperIdentitySchema = object({
|
|
22090
|
+
kind: _enum([
|
|
22091
|
+
"docker",
|
|
22092
|
+
"electron",
|
|
22093
|
+
"native",
|
|
22094
|
+
"contradictory",
|
|
22095
|
+
"unknown"
|
|
22096
|
+
]),
|
|
22097
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22098
|
+
evidence: array(object({
|
|
22099
|
+
/** Which probe this row reports. */
|
|
22100
|
+
fact: _enum([
|
|
22101
|
+
"dockerenv-file",
|
|
22102
|
+
"proc-1-cgroup",
|
|
22103
|
+
"platform",
|
|
22104
|
+
"electron-app-version-env"
|
|
22105
|
+
]),
|
|
22106
|
+
/**
|
|
22107
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22108
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22109
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22110
|
+
*/
|
|
22111
|
+
mode: _enum(["observed", "declared"]),
|
|
22112
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22113
|
+
holds: boolean(),
|
|
22114
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22115
|
+
detail: string()
|
|
22116
|
+
})),
|
|
22117
|
+
/**
|
|
22118
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22119
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22120
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22121
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22122
|
+
* known there.
|
|
22123
|
+
*/
|
|
22124
|
+
currentVersion: string().nullable()
|
|
22125
|
+
});
|
|
22078
22126
|
var ServerRollbackInfoSchema = object({
|
|
22079
22127
|
/** The version that failed (or was manually rolled back). */
|
|
22080
22128
|
fromVersion: string(),
|
|
@@ -22116,7 +22164,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22116
22164
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22117
22165
|
* version skew: an older provider's payload simply omits it.
|
|
22118
22166
|
*/
|
|
22119
|
-
imageContract: ImageContractSchema.optional()
|
|
22167
|
+
imageContract: ImageContractSchema.optional(),
|
|
22168
|
+
/**
|
|
22169
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22170
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22171
|
+
* absent wrapper is unknown — never `native`.
|
|
22172
|
+
*/
|
|
22173
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22120
22174
|
});
|
|
22121
22175
|
var ServerUpdateCheckResultSchema = object({
|
|
22122
22176
|
packageName: string(),
|
package/dist/addon.mjs
CHANGED
|
@@ -16498,6 +16498,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16498
16498
|
"addon-crash-loop",
|
|
16499
16499
|
"addon-update-available",
|
|
16500
16500
|
"server-update-available",
|
|
16501
|
+
"wrapper-update-available",
|
|
16501
16502
|
"alarm-triggered",
|
|
16502
16503
|
"alarm-armed",
|
|
16503
16504
|
"alarm-disarmed",
|
|
@@ -22054,6 +22055,53 @@ var ImageContractSchema = object({
|
|
|
22054
22055
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22055
22056
|
message: string()
|
|
22056
22057
|
});
|
|
22058
|
+
/**
|
|
22059
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22060
|
+
* produced it.
|
|
22061
|
+
*
|
|
22062
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22063
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22064
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22065
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22066
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22067
|
+
*/
|
|
22068
|
+
var WrapperIdentitySchema = object({
|
|
22069
|
+
kind: _enum([
|
|
22070
|
+
"docker",
|
|
22071
|
+
"electron",
|
|
22072
|
+
"native",
|
|
22073
|
+
"contradictory",
|
|
22074
|
+
"unknown"
|
|
22075
|
+
]),
|
|
22076
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22077
|
+
evidence: array(object({
|
|
22078
|
+
/** Which probe this row reports. */
|
|
22079
|
+
fact: _enum([
|
|
22080
|
+
"dockerenv-file",
|
|
22081
|
+
"proc-1-cgroup",
|
|
22082
|
+
"platform",
|
|
22083
|
+
"electron-app-version-env"
|
|
22084
|
+
]),
|
|
22085
|
+
/**
|
|
22086
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22087
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22088
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22089
|
+
*/
|
|
22090
|
+
mode: _enum(["observed", "declared"]),
|
|
22091
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22092
|
+
holds: boolean(),
|
|
22093
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22094
|
+
detail: string()
|
|
22095
|
+
})),
|
|
22096
|
+
/**
|
|
22097
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22098
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22099
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22100
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22101
|
+
* known there.
|
|
22102
|
+
*/
|
|
22103
|
+
currentVersion: string().nullable()
|
|
22104
|
+
});
|
|
22057
22105
|
var ServerRollbackInfoSchema = object({
|
|
22058
22106
|
/** The version that failed (or was manually rolled back). */
|
|
22059
22107
|
fromVersion: string(),
|
|
@@ -22095,7 +22143,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22095
22143
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22096
22144
|
* version skew: an older provider's payload simply omits it.
|
|
22097
22145
|
*/
|
|
22098
|
-
imageContract: ImageContractSchema.optional()
|
|
22146
|
+
imageContract: ImageContractSchema.optional(),
|
|
22147
|
+
/**
|
|
22148
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22149
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22150
|
+
* absent wrapper is unknown — never `native`.
|
|
22151
|
+
*/
|
|
22152
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22099
22153
|
});
|
|
22100
22154
|
var ServerUpdateCheckResultSchema = object({
|
|
22101
22155
|
packageName: string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.98",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|