@camstack/addon-provider-reolink 1.2.116 → 1.2.118

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 CHANGED
@@ -17114,6 +17114,7 @@ var NcSystemEventKindSchema = _enum([
17114
17114
  "addon-crash-loop",
17115
17115
  "addon-update-available",
17116
17116
  "server-update-available",
17117
+ "wrapper-update-available",
17117
17118
  "alarm-triggered",
17118
17119
  "alarm-armed",
17119
17120
  "alarm-disarmed",
@@ -22670,6 +22671,53 @@ var ImageContractSchema = object({
22670
22671
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
22671
22672
  message: string()
22672
22673
  });
22674
+ /**
22675
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
22676
+ * produced it.
22677
+ *
22678
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
22679
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
22680
+ * for a `docker` shell and says the app restarts into the new build for
22681
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
22682
+ * nothing reads is the defect this repo keeps paying for.
22683
+ */
22684
+ var WrapperIdentitySchema = object({
22685
+ kind: _enum([
22686
+ "docker",
22687
+ "electron",
22688
+ "native",
22689
+ "contradictory",
22690
+ "unknown"
22691
+ ]),
22692
+ /** Every probe that ran, in a stable order. Never empty. */
22693
+ evidence: array(object({
22694
+ /** Which probe this row reports. */
22695
+ fact: _enum([
22696
+ "dockerenv-file",
22697
+ "proc-1-cgroup",
22698
+ "platform",
22699
+ "electron-app-version-env"
22700
+ ]),
22701
+ /**
22702
+ * `observed` — this process read it itself. `declared` — the shell told the
22703
+ * process and nothing here can check it. Only the Electron app version is
22704
+ * ever `declared`, and only because a child cannot see its parent.
22705
+ */
22706
+ mode: _enum(["observed", "declared"]),
22707
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
22708
+ holds: boolean(),
22709
+ /** What was actually read, verbatim enough for an operator to argue with. */
22710
+ detail: string()
22711
+ })),
22712
+ /**
22713
+ * The version of the SHELL, when the shell has one it can state: the
22714
+ * Electron app version it declared, or the baked seed closure that
22715
+ * fingerprints a container / app bundle. `null` for `contradictory` and
22716
+ * `unknown` — which version belongs to the shell is precisely what is not
22717
+ * known there.
22718
+ */
22719
+ currentVersion: string().nullable()
22720
+ });
22673
22721
  var ServerRollbackInfoSchema = object({
22674
22722
  /** The version that failed (or was manually rolled back). */
22675
22723
  fromVersion: string(),
@@ -22711,7 +22759,13 @@ var ServerPackageStatusSchema = object({
22711
22759
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22712
22760
  * version skew: an older provider's payload simply omits it.
22713
22761
  */
22714
- imageContract: ImageContractSchema.optional()
22762
+ imageContract: ImageContractSchema.optional(),
22763
+ /**
22764
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22765
+ * for version skew: an older provider's payload simply omits it, and an
22766
+ * absent wrapper is unknown — never `native`.
22767
+ */
22768
+ wrapper: WrapperIdentitySchema.optional()
22715
22769
  });
22716
22770
  var ServerUpdateCheckResultSchema = object({
22717
22771
  packageName: string(),
@@ -26567,8 +26621,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
26567
26621
  *
26568
26622
  * An **empty array reads NOTHING** — `[]` is an empty page, never
26569
26623
  * "every camera". A request for no devices is a request, not an
26570
- * omission; same contract as `deviceManager.listFleet` and
26571
- * `pipelineAnalytics.listRecentTracks`.
26624
+ * omission; same contract as `deviceManager.listAll`'s `deviceIds`
26625
+ * and `pipelineAnalytics.listRecentTracks`.
26572
26626
  *
26573
26627
  * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
26574
26628
  */
package/dist/addon.mjs CHANGED
@@ -17109,6 +17109,7 @@ var NcSystemEventKindSchema = _enum([
17109
17109
  "addon-crash-loop",
17110
17110
  "addon-update-available",
17111
17111
  "server-update-available",
17112
+ "wrapper-update-available",
17112
17113
  "alarm-triggered",
17113
17114
  "alarm-armed",
17114
17115
  "alarm-disarmed",
@@ -22665,6 +22666,53 @@ var ImageContractSchema = object({
22665
22666
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
22666
22667
  message: string()
22667
22668
  });
22669
+ /**
22670
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
22671
+ * produced it.
22672
+ *
22673
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
22674
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
22675
+ * for a `docker` shell and says the app restarts into the new build for
22676
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
22677
+ * nothing reads is the defect this repo keeps paying for.
22678
+ */
22679
+ var WrapperIdentitySchema = object({
22680
+ kind: _enum([
22681
+ "docker",
22682
+ "electron",
22683
+ "native",
22684
+ "contradictory",
22685
+ "unknown"
22686
+ ]),
22687
+ /** Every probe that ran, in a stable order. Never empty. */
22688
+ evidence: array(object({
22689
+ /** Which probe this row reports. */
22690
+ fact: _enum([
22691
+ "dockerenv-file",
22692
+ "proc-1-cgroup",
22693
+ "platform",
22694
+ "electron-app-version-env"
22695
+ ]),
22696
+ /**
22697
+ * `observed` — this process read it itself. `declared` — the shell told the
22698
+ * process and nothing here can check it. Only the Electron app version is
22699
+ * ever `declared`, and only because a child cannot see its parent.
22700
+ */
22701
+ mode: _enum(["observed", "declared"]),
22702
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
22703
+ holds: boolean(),
22704
+ /** What was actually read, verbatim enough for an operator to argue with. */
22705
+ detail: string()
22706
+ })),
22707
+ /**
22708
+ * The version of the SHELL, when the shell has one it can state: the
22709
+ * Electron app version it declared, or the baked seed closure that
22710
+ * fingerprints a container / app bundle. `null` for `contradictory` and
22711
+ * `unknown` — which version belongs to the shell is precisely what is not
22712
+ * known there.
22713
+ */
22714
+ currentVersion: string().nullable()
22715
+ });
22668
22716
  var ServerRollbackInfoSchema = object({
22669
22717
  /** The version that failed (or was manually rolled back). */
22670
22718
  fromVersion: string(),
@@ -22706,7 +22754,13 @@ var ServerPackageStatusSchema = object({
22706
22754
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22707
22755
  * version skew: an older provider's payload simply omits it.
22708
22756
  */
22709
- imageContract: ImageContractSchema.optional()
22757
+ imageContract: ImageContractSchema.optional(),
22758
+ /**
22759
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22760
+ * for version skew: an older provider's payload simply omits it, and an
22761
+ * absent wrapper is unknown — never `native`.
22762
+ */
22763
+ wrapper: WrapperIdentitySchema.optional()
22710
22764
  });
22711
22765
  var ServerUpdateCheckResultSchema = object({
22712
22766
  packageName: string(),
@@ -26562,8 +26616,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
26562
26616
  *
26563
26617
  * An **empty array reads NOTHING** — `[]` is an empty page, never
26564
26618
  * "every camera". A request for no devices is a request, not an
26565
- * omission; same contract as `deviceManager.listFleet` and
26566
- * `pipelineAnalytics.listRecentTracks`.
26619
+ * omission; same contract as `deviceManager.listAll`'s `deviceIds`
26620
+ * and `pipelineAnalytics.listRecentTracks`.
26567
26621
  *
26568
26622
  * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
26569
26623
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.2.116",
3
+ "version": "1.2.118",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",