@camstack/addon-provider-gree 0.2.92 → 0.2.94
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 +57 -3
- package/dist/addon.mjs +57 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -16473,6 +16473,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16473
16473
|
"addon-crash-loop",
|
|
16474
16474
|
"addon-update-available",
|
|
16475
16475
|
"server-update-available",
|
|
16476
|
+
"wrapper-update-available",
|
|
16476
16477
|
"alarm-triggered",
|
|
16477
16478
|
"alarm-armed",
|
|
16478
16479
|
"alarm-disarmed",
|
|
@@ -22029,6 +22030,53 @@ var ImageContractSchema = object({
|
|
|
22029
22030
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22030
22031
|
message: string()
|
|
22031
22032
|
});
|
|
22033
|
+
/**
|
|
22034
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22035
|
+
* produced it.
|
|
22036
|
+
*
|
|
22037
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22038
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22039
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22040
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22041
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22042
|
+
*/
|
|
22043
|
+
var WrapperIdentitySchema = object({
|
|
22044
|
+
kind: _enum([
|
|
22045
|
+
"docker",
|
|
22046
|
+
"electron",
|
|
22047
|
+
"native",
|
|
22048
|
+
"contradictory",
|
|
22049
|
+
"unknown"
|
|
22050
|
+
]),
|
|
22051
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22052
|
+
evidence: array(object({
|
|
22053
|
+
/** Which probe this row reports. */
|
|
22054
|
+
fact: _enum([
|
|
22055
|
+
"dockerenv-file",
|
|
22056
|
+
"proc-1-cgroup",
|
|
22057
|
+
"platform",
|
|
22058
|
+
"electron-app-version-env"
|
|
22059
|
+
]),
|
|
22060
|
+
/**
|
|
22061
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22062
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22063
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22064
|
+
*/
|
|
22065
|
+
mode: _enum(["observed", "declared"]),
|
|
22066
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22067
|
+
holds: boolean(),
|
|
22068
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22069
|
+
detail: string()
|
|
22070
|
+
})),
|
|
22071
|
+
/**
|
|
22072
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22073
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22074
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22075
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22076
|
+
* known there.
|
|
22077
|
+
*/
|
|
22078
|
+
currentVersion: string().nullable()
|
|
22079
|
+
});
|
|
22032
22080
|
var ServerRollbackInfoSchema = object({
|
|
22033
22081
|
/** The version that failed (or was manually rolled back). */
|
|
22034
22082
|
fromVersion: string(),
|
|
@@ -22070,7 +22118,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22070
22118
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22071
22119
|
* version skew: an older provider's payload simply omits it.
|
|
22072
22120
|
*/
|
|
22073
|
-
imageContract: ImageContractSchema.optional()
|
|
22121
|
+
imageContract: ImageContractSchema.optional(),
|
|
22122
|
+
/**
|
|
22123
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22124
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22125
|
+
* absent wrapper is unknown — never `native`.
|
|
22126
|
+
*/
|
|
22127
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22074
22128
|
});
|
|
22075
22129
|
var ServerUpdateCheckResultSchema = object({
|
|
22076
22130
|
packageName: string(),
|
|
@@ -25822,8 +25876,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25822
25876
|
*
|
|
25823
25877
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
25824
25878
|
* "every camera". A request for no devices is a request, not an
|
|
25825
|
-
* omission; same contract as `deviceManager.
|
|
25826
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
25879
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
25880
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
25827
25881
|
*
|
|
25828
25882
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
25829
25883
|
*/
|
package/dist/addon.mjs
CHANGED
|
@@ -16472,6 +16472,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16472
16472
|
"addon-crash-loop",
|
|
16473
16473
|
"addon-update-available",
|
|
16474
16474
|
"server-update-available",
|
|
16475
|
+
"wrapper-update-available",
|
|
16475
16476
|
"alarm-triggered",
|
|
16476
16477
|
"alarm-armed",
|
|
16477
16478
|
"alarm-disarmed",
|
|
@@ -22028,6 +22029,53 @@ var ImageContractSchema = object({
|
|
|
22028
22029
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22029
22030
|
message: string()
|
|
22030
22031
|
});
|
|
22032
|
+
/**
|
|
22033
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22034
|
+
* produced it.
|
|
22035
|
+
*
|
|
22036
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22037
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22038
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22039
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22040
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22041
|
+
*/
|
|
22042
|
+
var WrapperIdentitySchema = object({
|
|
22043
|
+
kind: _enum([
|
|
22044
|
+
"docker",
|
|
22045
|
+
"electron",
|
|
22046
|
+
"native",
|
|
22047
|
+
"contradictory",
|
|
22048
|
+
"unknown"
|
|
22049
|
+
]),
|
|
22050
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22051
|
+
evidence: array(object({
|
|
22052
|
+
/** Which probe this row reports. */
|
|
22053
|
+
fact: _enum([
|
|
22054
|
+
"dockerenv-file",
|
|
22055
|
+
"proc-1-cgroup",
|
|
22056
|
+
"platform",
|
|
22057
|
+
"electron-app-version-env"
|
|
22058
|
+
]),
|
|
22059
|
+
/**
|
|
22060
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22061
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22062
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22063
|
+
*/
|
|
22064
|
+
mode: _enum(["observed", "declared"]),
|
|
22065
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22066
|
+
holds: boolean(),
|
|
22067
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22068
|
+
detail: string()
|
|
22069
|
+
})),
|
|
22070
|
+
/**
|
|
22071
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22072
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22073
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22074
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22075
|
+
* known there.
|
|
22076
|
+
*/
|
|
22077
|
+
currentVersion: string().nullable()
|
|
22078
|
+
});
|
|
22031
22079
|
var ServerRollbackInfoSchema = object({
|
|
22032
22080
|
/** The version that failed (or was manually rolled back). */
|
|
22033
22081
|
fromVersion: string(),
|
|
@@ -22069,7 +22117,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22069
22117
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22070
22118
|
* version skew: an older provider's payload simply omits it.
|
|
22071
22119
|
*/
|
|
22072
|
-
imageContract: ImageContractSchema.optional()
|
|
22120
|
+
imageContract: ImageContractSchema.optional(),
|
|
22121
|
+
/**
|
|
22122
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22123
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22124
|
+
* absent wrapper is unknown — never `native`.
|
|
22125
|
+
*/
|
|
22126
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22073
22127
|
});
|
|
22074
22128
|
var ServerUpdateCheckResultSchema = object({
|
|
22075
22129
|
packageName: string(),
|
|
@@ -25821,8 +25875,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25821
25875
|
*
|
|
25822
25876
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
25823
25877
|
* "every camera". A request for no devices is a request, not an
|
|
25824
|
-
* omission; same contract as `deviceManager.
|
|
25825
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
25878
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
25879
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
25826
25880
|
*
|
|
25827
25881
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
25828
25882
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-gree",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.94",
|
|
4
4
|
"description": "Gree air-conditioner device-provider addon for CamStack — wraps the @apocaliss92/nodegree local-UDP client (LAN discovery + AES control), exposing climate-control and fan-control",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|