@camstack/addon-provider-homematic 1.2.94 → 1.2.96

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
@@ -16545,6 +16545,7 @@ var NcSystemEventKindSchema = _enum([
16545
16545
  "addon-crash-loop",
16546
16546
  "addon-update-available",
16547
16547
  "server-update-available",
16548
+ "wrapper-update-available",
16548
16549
  "alarm-triggered",
16549
16550
  "alarm-armed",
16550
16551
  "alarm-disarmed",
@@ -22101,6 +22102,53 @@ var ImageContractSchema = object({
22101
22102
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
22102
22103
  message: string()
22103
22104
  });
22105
+ /**
22106
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
22107
+ * produced it.
22108
+ *
22109
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
22110
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
22111
+ * for a `docker` shell and says the app restarts into the new build for
22112
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
22113
+ * nothing reads is the defect this repo keeps paying for.
22114
+ */
22115
+ var WrapperIdentitySchema = object({
22116
+ kind: _enum([
22117
+ "docker",
22118
+ "electron",
22119
+ "native",
22120
+ "contradictory",
22121
+ "unknown"
22122
+ ]),
22123
+ /** Every probe that ran, in a stable order. Never empty. */
22124
+ evidence: array(object({
22125
+ /** Which probe this row reports. */
22126
+ fact: _enum([
22127
+ "dockerenv-file",
22128
+ "proc-1-cgroup",
22129
+ "platform",
22130
+ "electron-app-version-env"
22131
+ ]),
22132
+ /**
22133
+ * `observed` — this process read it itself. `declared` — the shell told the
22134
+ * process and nothing here can check it. Only the Electron app version is
22135
+ * ever `declared`, and only because a child cannot see its parent.
22136
+ */
22137
+ mode: _enum(["observed", "declared"]),
22138
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
22139
+ holds: boolean(),
22140
+ /** What was actually read, verbatim enough for an operator to argue with. */
22141
+ detail: string()
22142
+ })),
22143
+ /**
22144
+ * The version of the SHELL, when the shell has one it can state: the
22145
+ * Electron app version it declared, or the baked seed closure that
22146
+ * fingerprints a container / app bundle. `null` for `contradictory` and
22147
+ * `unknown` — which version belongs to the shell is precisely what is not
22148
+ * known there.
22149
+ */
22150
+ currentVersion: string().nullable()
22151
+ });
22104
22152
  var ServerRollbackInfoSchema = object({
22105
22153
  /** The version that failed (or was manually rolled back). */
22106
22154
  fromVersion: string(),
@@ -22142,7 +22190,13 @@ var ServerPackageStatusSchema = object({
22142
22190
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22143
22191
  * version skew: an older provider's payload simply omits it.
22144
22192
  */
22145
- imageContract: ImageContractSchema.optional()
22193
+ imageContract: ImageContractSchema.optional(),
22194
+ /**
22195
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22196
+ * for version skew: an older provider's payload simply omits it, and an
22197
+ * absent wrapper is unknown — never `native`.
22198
+ */
22199
+ wrapper: WrapperIdentitySchema.optional()
22146
22200
  });
22147
22201
  var ServerUpdateCheckResultSchema = object({
22148
22202
  packageName: string(),
@@ -25894,8 +25948,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25894
25948
  *
25895
25949
  * An **empty array reads NOTHING** — `[]` is an empty page, never
25896
25950
  * "every camera". A request for no devices is a request, not an
25897
- * omission; same contract as `deviceManager.listFleet` and
25898
- * `pipelineAnalytics.listRecentTracks`.
25951
+ * omission; same contract as `deviceManager.listAll`'s `deviceIds`
25952
+ * and `pipelineAnalytics.listRecentTracks`.
25899
25953
  *
25900
25954
  * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
25901
25955
  */
package/dist/addon.mjs CHANGED
@@ -16546,6 +16546,7 @@ var NcSystemEventKindSchema = _enum([
16546
16546
  "addon-crash-loop",
16547
16547
  "addon-update-available",
16548
16548
  "server-update-available",
16549
+ "wrapper-update-available",
16549
16550
  "alarm-triggered",
16550
16551
  "alarm-armed",
16551
16552
  "alarm-disarmed",
@@ -22102,6 +22103,53 @@ var ImageContractSchema = object({
22102
22103
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
22103
22104
  message: string()
22104
22105
  });
22106
+ /**
22107
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
22108
+ * produced it.
22109
+ *
22110
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
22111
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
22112
+ * for a `docker` shell and says the app restarts into the new build for
22113
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
22114
+ * nothing reads is the defect this repo keeps paying for.
22115
+ */
22116
+ var WrapperIdentitySchema = object({
22117
+ kind: _enum([
22118
+ "docker",
22119
+ "electron",
22120
+ "native",
22121
+ "contradictory",
22122
+ "unknown"
22123
+ ]),
22124
+ /** Every probe that ran, in a stable order. Never empty. */
22125
+ evidence: array(object({
22126
+ /** Which probe this row reports. */
22127
+ fact: _enum([
22128
+ "dockerenv-file",
22129
+ "proc-1-cgroup",
22130
+ "platform",
22131
+ "electron-app-version-env"
22132
+ ]),
22133
+ /**
22134
+ * `observed` — this process read it itself. `declared` — the shell told the
22135
+ * process and nothing here can check it. Only the Electron app version is
22136
+ * ever `declared`, and only because a child cannot see its parent.
22137
+ */
22138
+ mode: _enum(["observed", "declared"]),
22139
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
22140
+ holds: boolean(),
22141
+ /** What was actually read, verbatim enough for an operator to argue with. */
22142
+ detail: string()
22143
+ })),
22144
+ /**
22145
+ * The version of the SHELL, when the shell has one it can state: the
22146
+ * Electron app version it declared, or the baked seed closure that
22147
+ * fingerprints a container / app bundle. `null` for `contradictory` and
22148
+ * `unknown` — which version belongs to the shell is precisely what is not
22149
+ * known there.
22150
+ */
22151
+ currentVersion: string().nullable()
22152
+ });
22105
22153
  var ServerRollbackInfoSchema = object({
22106
22154
  /** The version that failed (or was manually rolled back). */
22107
22155
  fromVersion: string(),
@@ -22143,7 +22191,13 @@ var ServerPackageStatusSchema = object({
22143
22191
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22144
22192
  * version skew: an older provider's payload simply omits it.
22145
22193
  */
22146
- imageContract: ImageContractSchema.optional()
22194
+ imageContract: ImageContractSchema.optional(),
22195
+ /**
22196
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22197
+ * for version skew: an older provider's payload simply omits it, and an
22198
+ * absent wrapper is unknown — never `native`.
22199
+ */
22200
+ wrapper: WrapperIdentitySchema.optional()
22147
22201
  });
22148
22202
  var ServerUpdateCheckResultSchema = object({
22149
22203
  packageName: string(),
@@ -25895,8 +25949,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
25895
25949
  *
25896
25950
  * An **empty array reads NOTHING** — `[]` is an empty page, never
25897
25951
  * "every camera". A request for no devices is a request, not an
25898
- * omission; same contract as `deviceManager.listFleet` and
25899
- * `pipelineAnalytics.listRecentTracks`.
25952
+ * omission; same contract as `deviceManager.listAll`'s `deviceIds`
25953
+ * and `pipelineAnalytics.listRecentTracks`.
25900
25954
  *
25901
25955
  * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
25902
25956
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.94",
3
+ "version": "1.2.96",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",