@camstack/addon-provider-rtsp 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/addon.js CHANGED
@@ -16526,6 +16526,7 @@ var NcSystemEventKindSchema = _enum([
16526
16526
  "addon-crash-loop",
16527
16527
  "addon-update-available",
16528
16528
  "server-update-available",
16529
+ "wrapper-update-available",
16529
16530
  "alarm-triggered",
16530
16531
  "alarm-armed",
16531
16532
  "alarm-disarmed",
@@ -22082,6 +22083,53 @@ var ImageContractSchema = object({
22082
22083
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
22083
22084
  message: string()
22084
22085
  });
22086
+ /**
22087
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
22088
+ * produced it.
22089
+ *
22090
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
22091
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
22092
+ * for a `docker` shell and says the app restarts into the new build for
22093
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
22094
+ * nothing reads is the defect this repo keeps paying for.
22095
+ */
22096
+ var WrapperIdentitySchema = object({
22097
+ kind: _enum([
22098
+ "docker",
22099
+ "electron",
22100
+ "native",
22101
+ "contradictory",
22102
+ "unknown"
22103
+ ]),
22104
+ /** Every probe that ran, in a stable order. Never empty. */
22105
+ evidence: array(object({
22106
+ /** Which probe this row reports. */
22107
+ fact: _enum([
22108
+ "dockerenv-file",
22109
+ "proc-1-cgroup",
22110
+ "platform",
22111
+ "electron-app-version-env"
22112
+ ]),
22113
+ /**
22114
+ * `observed` — this process read it itself. `declared` — the shell told the
22115
+ * process and nothing here can check it. Only the Electron app version is
22116
+ * ever `declared`, and only because a child cannot see its parent.
22117
+ */
22118
+ mode: _enum(["observed", "declared"]),
22119
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
22120
+ holds: boolean(),
22121
+ /** What was actually read, verbatim enough for an operator to argue with. */
22122
+ detail: string()
22123
+ })),
22124
+ /**
22125
+ * The version of the SHELL, when the shell has one it can state: the
22126
+ * Electron app version it declared, or the baked seed closure that
22127
+ * fingerprints a container / app bundle. `null` for `contradictory` and
22128
+ * `unknown` — which version belongs to the shell is precisely what is not
22129
+ * known there.
22130
+ */
22131
+ currentVersion: string().nullable()
22132
+ });
22085
22133
  var ServerRollbackInfoSchema = object({
22086
22134
  /** The version that failed (or was manually rolled back). */
22087
22135
  fromVersion: string(),
@@ -22123,7 +22171,13 @@ var ServerPackageStatusSchema = object({
22123
22171
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22124
22172
  * version skew: an older provider's payload simply omits it.
22125
22173
  */
22126
- imageContract: ImageContractSchema.optional()
22174
+ imageContract: ImageContractSchema.optional(),
22175
+ /**
22176
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22177
+ * for version skew: an older provider's payload simply omits it, and an
22178
+ * absent wrapper is unknown — never `native`.
22179
+ */
22180
+ wrapper: WrapperIdentitySchema.optional()
22127
22181
  });
22128
22182
  var ServerUpdateCheckResultSchema = object({
22129
22183
  packageName: string(),
@@ -25987,8 +26041,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25987
26041
  *
25988
26042
  * An **empty array reads NOTHING** — `[]` is an empty page, never
25989
26043
  * "every camera". A request for no devices is a request, not an
25990
- * omission; same contract as `deviceManager.listFleet` and
25991
- * `pipelineAnalytics.listRecentTracks`.
26044
+ * omission; same contract as `deviceManager.listAll`'s `deviceIds`
26045
+ * and `pipelineAnalytics.listRecentTracks`.
25992
26046
  *
25993
26047
  * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
25994
26048
  */
package/dist/addon.mjs CHANGED
@@ -16502,6 +16502,7 @@ var NcSystemEventKindSchema = _enum([
16502
16502
  "addon-crash-loop",
16503
16503
  "addon-update-available",
16504
16504
  "server-update-available",
16505
+ "wrapper-update-available",
16505
16506
  "alarm-triggered",
16506
16507
  "alarm-armed",
16507
16508
  "alarm-disarmed",
@@ -22058,6 +22059,53 @@ var ImageContractSchema = object({
22058
22059
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
22059
22060
  message: string()
22060
22061
  });
22062
+ /**
22063
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
22064
+ * produced it.
22065
+ *
22066
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
22067
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
22068
+ * for a `docker` shell and says the app restarts into the new build for
22069
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
22070
+ * nothing reads is the defect this repo keeps paying for.
22071
+ */
22072
+ var WrapperIdentitySchema = object({
22073
+ kind: _enum([
22074
+ "docker",
22075
+ "electron",
22076
+ "native",
22077
+ "contradictory",
22078
+ "unknown"
22079
+ ]),
22080
+ /** Every probe that ran, in a stable order. Never empty. */
22081
+ evidence: array(object({
22082
+ /** Which probe this row reports. */
22083
+ fact: _enum([
22084
+ "dockerenv-file",
22085
+ "proc-1-cgroup",
22086
+ "platform",
22087
+ "electron-app-version-env"
22088
+ ]),
22089
+ /**
22090
+ * `observed` — this process read it itself. `declared` — the shell told the
22091
+ * process and nothing here can check it. Only the Electron app version is
22092
+ * ever `declared`, and only because a child cannot see its parent.
22093
+ */
22094
+ mode: _enum(["observed", "declared"]),
22095
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
22096
+ holds: boolean(),
22097
+ /** What was actually read, verbatim enough for an operator to argue with. */
22098
+ detail: string()
22099
+ })),
22100
+ /**
22101
+ * The version of the SHELL, when the shell has one it can state: the
22102
+ * Electron app version it declared, or the baked seed closure that
22103
+ * fingerprints a container / app bundle. `null` for `contradictory` and
22104
+ * `unknown` — which version belongs to the shell is precisely what is not
22105
+ * known there.
22106
+ */
22107
+ currentVersion: string().nullable()
22108
+ });
22061
22109
  var ServerRollbackInfoSchema = object({
22062
22110
  /** The version that failed (or was manually rolled back). */
22063
22111
  fromVersion: string(),
@@ -22099,7 +22147,13 @@ var ServerPackageStatusSchema = object({
22099
22147
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22100
22148
  * version skew: an older provider's payload simply omits it.
22101
22149
  */
22102
- imageContract: ImageContractSchema.optional()
22150
+ imageContract: ImageContractSchema.optional(),
22151
+ /**
22152
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22153
+ * for version skew: an older provider's payload simply omits it, and an
22154
+ * absent wrapper is unknown — never `native`.
22155
+ */
22156
+ wrapper: WrapperIdentitySchema.optional()
22103
22157
  });
22104
22158
  var ServerUpdateCheckResultSchema = object({
22105
22159
  packageName: string(),
@@ -25963,8 +26017,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25963
26017
  *
25964
26018
  * An **empty array reads NOTHING** — `[]` is an empty page, never
25965
26019
  * "every camera". A request for no devices is a request, not an
25966
- * omission; same contract as `deviceManager.listFleet` and
25967
- * `pipelineAnalytics.listRecentTracks`.
26020
+ * omission; same contract as `deviceManager.listAll`'s `deviceIds`
26021
+ * and `pipelineAnalytics.listRecentTracks`.
25968
26022
  *
25969
26023
  * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
25970
26024
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.93",
3
+ "version": "1.2.95",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",