@camstack/addon-mqtt-broker 1.2.93 → 1.2.95
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/mqtt-broker.addon.js +57 -3
- package/dist/mqtt-broker.addon.mjs +57 -3
- package/package.json +1 -1
|
@@ -16239,6 +16239,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16239
16239
|
"addon-crash-loop",
|
|
16240
16240
|
"addon-update-available",
|
|
16241
16241
|
"server-update-available",
|
|
16242
|
+
"wrapper-update-available",
|
|
16242
16243
|
"alarm-triggered",
|
|
16243
16244
|
"alarm-armed",
|
|
16244
16245
|
"alarm-disarmed",
|
|
@@ -21755,6 +21756,53 @@ var ImageContractSchema = object({
|
|
|
21755
21756
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
21756
21757
|
message: string()
|
|
21757
21758
|
});
|
|
21759
|
+
/**
|
|
21760
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
21761
|
+
* produced it.
|
|
21762
|
+
*
|
|
21763
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
21764
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
21765
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
21766
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
21767
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
21768
|
+
*/
|
|
21769
|
+
var WrapperIdentitySchema = object({
|
|
21770
|
+
kind: _enum([
|
|
21771
|
+
"docker",
|
|
21772
|
+
"electron",
|
|
21773
|
+
"native",
|
|
21774
|
+
"contradictory",
|
|
21775
|
+
"unknown"
|
|
21776
|
+
]),
|
|
21777
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
21778
|
+
evidence: array(object({
|
|
21779
|
+
/** Which probe this row reports. */
|
|
21780
|
+
fact: _enum([
|
|
21781
|
+
"dockerenv-file",
|
|
21782
|
+
"proc-1-cgroup",
|
|
21783
|
+
"platform",
|
|
21784
|
+
"electron-app-version-env"
|
|
21785
|
+
]),
|
|
21786
|
+
/**
|
|
21787
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
21788
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
21789
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
21790
|
+
*/
|
|
21791
|
+
mode: _enum(["observed", "declared"]),
|
|
21792
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
21793
|
+
holds: boolean(),
|
|
21794
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
21795
|
+
detail: string()
|
|
21796
|
+
})),
|
|
21797
|
+
/**
|
|
21798
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
21799
|
+
* Electron app version it declared, or the baked seed closure that
|
|
21800
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
21801
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
21802
|
+
* known there.
|
|
21803
|
+
*/
|
|
21804
|
+
currentVersion: string().nullable()
|
|
21805
|
+
});
|
|
21758
21806
|
var ServerRollbackInfoSchema = object({
|
|
21759
21807
|
/** The version that failed (or was manually rolled back). */
|
|
21760
21808
|
fromVersion: string(),
|
|
@@ -21796,7 +21844,13 @@ var ServerPackageStatusSchema = object({
|
|
|
21796
21844
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
21797
21845
|
* version skew: an older provider's payload simply omits it.
|
|
21798
21846
|
*/
|
|
21799
|
-
imageContract: ImageContractSchema.optional()
|
|
21847
|
+
imageContract: ImageContractSchema.optional(),
|
|
21848
|
+
/**
|
|
21849
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
21850
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
21851
|
+
* absent wrapper is unknown — never `native`.
|
|
21852
|
+
*/
|
|
21853
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
21800
21854
|
});
|
|
21801
21855
|
var ServerUpdateCheckResultSchema = object({
|
|
21802
21856
|
packageName: string(),
|
|
@@ -24818,8 +24872,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24818
24872
|
*
|
|
24819
24873
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
24820
24874
|
* "every camera". A request for no devices is a request, not an
|
|
24821
|
-
* omission; same contract as `deviceManager.
|
|
24822
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
24875
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
24876
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
24823
24877
|
*
|
|
24824
24878
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
24825
24879
|
*/
|
|
@@ -16234,6 +16234,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16234
16234
|
"addon-crash-loop",
|
|
16235
16235
|
"addon-update-available",
|
|
16236
16236
|
"server-update-available",
|
|
16237
|
+
"wrapper-update-available",
|
|
16237
16238
|
"alarm-triggered",
|
|
16238
16239
|
"alarm-armed",
|
|
16239
16240
|
"alarm-disarmed",
|
|
@@ -21750,6 +21751,53 @@ var ImageContractSchema = object({
|
|
|
21750
21751
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
21751
21752
|
message: string()
|
|
21752
21753
|
});
|
|
21754
|
+
/**
|
|
21755
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
21756
|
+
* produced it.
|
|
21757
|
+
*
|
|
21758
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
21759
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
21760
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
21761
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
21762
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
21763
|
+
*/
|
|
21764
|
+
var WrapperIdentitySchema = object({
|
|
21765
|
+
kind: _enum([
|
|
21766
|
+
"docker",
|
|
21767
|
+
"electron",
|
|
21768
|
+
"native",
|
|
21769
|
+
"contradictory",
|
|
21770
|
+
"unknown"
|
|
21771
|
+
]),
|
|
21772
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
21773
|
+
evidence: array(object({
|
|
21774
|
+
/** Which probe this row reports. */
|
|
21775
|
+
fact: _enum([
|
|
21776
|
+
"dockerenv-file",
|
|
21777
|
+
"proc-1-cgroup",
|
|
21778
|
+
"platform",
|
|
21779
|
+
"electron-app-version-env"
|
|
21780
|
+
]),
|
|
21781
|
+
/**
|
|
21782
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
21783
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
21784
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
21785
|
+
*/
|
|
21786
|
+
mode: _enum(["observed", "declared"]),
|
|
21787
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
21788
|
+
holds: boolean(),
|
|
21789
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
21790
|
+
detail: string()
|
|
21791
|
+
})),
|
|
21792
|
+
/**
|
|
21793
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
21794
|
+
* Electron app version it declared, or the baked seed closure that
|
|
21795
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
21796
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
21797
|
+
* known there.
|
|
21798
|
+
*/
|
|
21799
|
+
currentVersion: string().nullable()
|
|
21800
|
+
});
|
|
21753
21801
|
var ServerRollbackInfoSchema = object({
|
|
21754
21802
|
/** The version that failed (or was manually rolled back). */
|
|
21755
21803
|
fromVersion: string(),
|
|
@@ -21791,7 +21839,13 @@ var ServerPackageStatusSchema = object({
|
|
|
21791
21839
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
21792
21840
|
* version skew: an older provider's payload simply omits it.
|
|
21793
21841
|
*/
|
|
21794
|
-
imageContract: ImageContractSchema.optional()
|
|
21842
|
+
imageContract: ImageContractSchema.optional(),
|
|
21843
|
+
/**
|
|
21844
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
21845
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
21846
|
+
* absent wrapper is unknown — never `native`.
|
|
21847
|
+
*/
|
|
21848
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
21795
21849
|
});
|
|
21796
21850
|
var ServerUpdateCheckResultSchema = object({
|
|
21797
21851
|
packageName: string(),
|
|
@@ -24813,8 +24867,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
24813
24867
|
*
|
|
24814
24868
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
24815
24869
|
* "every camera". A request for no devices is a request, not an
|
|
24816
|
-
* omission; same contract as `deviceManager.
|
|
24817
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
24870
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
24871
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
24818
24872
|
*
|
|
24819
24873
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
24820
24874
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.95",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|