@camstack/addon-provider-rademacher 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
|
@@ -17455,6 +17455,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
17455
17455
|
"addon-crash-loop",
|
|
17456
17456
|
"addon-update-available",
|
|
17457
17457
|
"server-update-available",
|
|
17458
|
+
"wrapper-update-available",
|
|
17458
17459
|
"alarm-triggered",
|
|
17459
17460
|
"alarm-armed",
|
|
17460
17461
|
"alarm-disarmed",
|
|
@@ -23011,6 +23012,53 @@ var ImageContractSchema = object({
|
|
|
23011
23012
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
23012
23013
|
message: string()
|
|
23013
23014
|
});
|
|
23015
|
+
/**
|
|
23016
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
23017
|
+
* produced it.
|
|
23018
|
+
*
|
|
23019
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
23020
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
23021
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
23022
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
23023
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
23024
|
+
*/
|
|
23025
|
+
var WrapperIdentitySchema = object({
|
|
23026
|
+
kind: _enum([
|
|
23027
|
+
"docker",
|
|
23028
|
+
"electron",
|
|
23029
|
+
"native",
|
|
23030
|
+
"contradictory",
|
|
23031
|
+
"unknown"
|
|
23032
|
+
]),
|
|
23033
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
23034
|
+
evidence: array(object({
|
|
23035
|
+
/** Which probe this row reports. */
|
|
23036
|
+
fact: _enum([
|
|
23037
|
+
"dockerenv-file",
|
|
23038
|
+
"proc-1-cgroup",
|
|
23039
|
+
"platform",
|
|
23040
|
+
"electron-app-version-env"
|
|
23041
|
+
]),
|
|
23042
|
+
/**
|
|
23043
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
23044
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
23045
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
23046
|
+
*/
|
|
23047
|
+
mode: _enum(["observed", "declared"]),
|
|
23048
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
23049
|
+
holds: boolean(),
|
|
23050
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
23051
|
+
detail: string()
|
|
23052
|
+
})),
|
|
23053
|
+
/**
|
|
23054
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
23055
|
+
* Electron app version it declared, or the baked seed closure that
|
|
23056
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
23057
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
23058
|
+
* known there.
|
|
23059
|
+
*/
|
|
23060
|
+
currentVersion: string().nullable()
|
|
23061
|
+
});
|
|
23014
23062
|
var ServerRollbackInfoSchema = object({
|
|
23015
23063
|
/** The version that failed (or was manually rolled back). */
|
|
23016
23064
|
fromVersion: string(),
|
|
@@ -23052,7 +23100,13 @@ var ServerPackageStatusSchema = object({
|
|
|
23052
23100
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
23053
23101
|
* version skew: an older provider's payload simply omits it.
|
|
23054
23102
|
*/
|
|
23055
|
-
imageContract: ImageContractSchema.optional()
|
|
23103
|
+
imageContract: ImageContractSchema.optional(),
|
|
23104
|
+
/**
|
|
23105
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
23106
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
23107
|
+
* absent wrapper is unknown — never `native`.
|
|
23108
|
+
*/
|
|
23109
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
23056
23110
|
});
|
|
23057
23111
|
var ServerUpdateCheckResultSchema = object({
|
|
23058
23112
|
packageName: string(),
|
|
@@ -26804,8 +26858,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
26804
26858
|
*
|
|
26805
26859
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
26806
26860
|
* "every camera". A request for no devices is a request, not an
|
|
26807
|
-
* omission; same contract as `deviceManager.
|
|
26808
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
26861
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
26862
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
26809
26863
|
*
|
|
26810
26864
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
26811
26865
|
*/
|
package/dist/addon.mjs
CHANGED
|
@@ -17454,6 +17454,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
17454
17454
|
"addon-crash-loop",
|
|
17455
17455
|
"addon-update-available",
|
|
17456
17456
|
"server-update-available",
|
|
17457
|
+
"wrapper-update-available",
|
|
17457
17458
|
"alarm-triggered",
|
|
17458
17459
|
"alarm-armed",
|
|
17459
17460
|
"alarm-disarmed",
|
|
@@ -23010,6 +23011,53 @@ var ImageContractSchema = object({
|
|
|
23010
23011
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
23011
23012
|
message: string()
|
|
23012
23013
|
});
|
|
23014
|
+
/**
|
|
23015
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
23016
|
+
* produced it.
|
|
23017
|
+
*
|
|
23018
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
23019
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
23020
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
23021
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
23022
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
23023
|
+
*/
|
|
23024
|
+
var WrapperIdentitySchema = object({
|
|
23025
|
+
kind: _enum([
|
|
23026
|
+
"docker",
|
|
23027
|
+
"electron",
|
|
23028
|
+
"native",
|
|
23029
|
+
"contradictory",
|
|
23030
|
+
"unknown"
|
|
23031
|
+
]),
|
|
23032
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
23033
|
+
evidence: array(object({
|
|
23034
|
+
/** Which probe this row reports. */
|
|
23035
|
+
fact: _enum([
|
|
23036
|
+
"dockerenv-file",
|
|
23037
|
+
"proc-1-cgroup",
|
|
23038
|
+
"platform",
|
|
23039
|
+
"electron-app-version-env"
|
|
23040
|
+
]),
|
|
23041
|
+
/**
|
|
23042
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
23043
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
23044
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
23045
|
+
*/
|
|
23046
|
+
mode: _enum(["observed", "declared"]),
|
|
23047
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
23048
|
+
holds: boolean(),
|
|
23049
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
23050
|
+
detail: string()
|
|
23051
|
+
})),
|
|
23052
|
+
/**
|
|
23053
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
23054
|
+
* Electron app version it declared, or the baked seed closure that
|
|
23055
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
23056
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
23057
|
+
* known there.
|
|
23058
|
+
*/
|
|
23059
|
+
currentVersion: string().nullable()
|
|
23060
|
+
});
|
|
23013
23061
|
var ServerRollbackInfoSchema = object({
|
|
23014
23062
|
/** The version that failed (or was manually rolled back). */
|
|
23015
23063
|
fromVersion: string(),
|
|
@@ -23051,7 +23099,13 @@ var ServerPackageStatusSchema = object({
|
|
|
23051
23099
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
23052
23100
|
* version skew: an older provider's payload simply omits it.
|
|
23053
23101
|
*/
|
|
23054
|
-
imageContract: ImageContractSchema.optional()
|
|
23102
|
+
imageContract: ImageContractSchema.optional(),
|
|
23103
|
+
/**
|
|
23104
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
23105
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
23106
|
+
* absent wrapper is unknown — never `native`.
|
|
23107
|
+
*/
|
|
23108
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
23055
23109
|
});
|
|
23056
23110
|
var ServerUpdateCheckResultSchema = object({
|
|
23057
23111
|
packageName: string(),
|
|
@@ -26803,8 +26857,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
26803
26857
|
*
|
|
26804
26858
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
26805
26859
|
* "every camera". A request for no devices is a request, not an
|
|
26806
|
-
* omission; same contract as `deviceManager.
|
|
26807
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
26860
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
26861
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
26808
26862
|
*
|
|
26809
26863
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
26810
26864
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.94",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|