@camstack/addon-import-alexa 0.2.92 → 0.2.93

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
@@ -16713,6 +16713,7 @@ var NcSystemEventKindSchema = _enum([
16713
16713
  "addon-crash-loop",
16714
16714
  "addon-update-available",
16715
16715
  "server-update-available",
16716
+ "wrapper-update-available",
16716
16717
  "alarm-triggered",
16717
16718
  "alarm-armed",
16718
16719
  "alarm-disarmed",
@@ -22269,6 +22270,53 @@ var ImageContractSchema = object({
22269
22270
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
22270
22271
  message: string()
22271
22272
  });
22273
+ /**
22274
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
22275
+ * produced it.
22276
+ *
22277
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
22278
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
22279
+ * for a `docker` shell and says the app restarts into the new build for
22280
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
22281
+ * nothing reads is the defect this repo keeps paying for.
22282
+ */
22283
+ var WrapperIdentitySchema = object({
22284
+ kind: _enum([
22285
+ "docker",
22286
+ "electron",
22287
+ "native",
22288
+ "contradictory",
22289
+ "unknown"
22290
+ ]),
22291
+ /** Every probe that ran, in a stable order. Never empty. */
22292
+ evidence: array(object({
22293
+ /** Which probe this row reports. */
22294
+ fact: _enum([
22295
+ "dockerenv-file",
22296
+ "proc-1-cgroup",
22297
+ "platform",
22298
+ "electron-app-version-env"
22299
+ ]),
22300
+ /**
22301
+ * `observed` — this process read it itself. `declared` — the shell told the
22302
+ * process and nothing here can check it. Only the Electron app version is
22303
+ * ever `declared`, and only because a child cannot see its parent.
22304
+ */
22305
+ mode: _enum(["observed", "declared"]),
22306
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
22307
+ holds: boolean(),
22308
+ /** What was actually read, verbatim enough for an operator to argue with. */
22309
+ detail: string()
22310
+ })),
22311
+ /**
22312
+ * The version of the SHELL, when the shell has one it can state: the
22313
+ * Electron app version it declared, or the baked seed closure that
22314
+ * fingerprints a container / app bundle. `null` for `contradictory` and
22315
+ * `unknown` — which version belongs to the shell is precisely what is not
22316
+ * known there.
22317
+ */
22318
+ currentVersion: string().nullable()
22319
+ });
22272
22320
  var ServerRollbackInfoSchema = object({
22273
22321
  /** The version that failed (or was manually rolled back). */
22274
22322
  fromVersion: string(),
@@ -22310,7 +22358,13 @@ var ServerPackageStatusSchema = object({
22310
22358
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22311
22359
  * version skew: an older provider's payload simply omits it.
22312
22360
  */
22313
- imageContract: ImageContractSchema.optional()
22361
+ imageContract: ImageContractSchema.optional(),
22362
+ /**
22363
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22364
+ * for version skew: an older provider's payload simply omits it, and an
22365
+ * absent wrapper is unknown — never `native`.
22366
+ */
22367
+ wrapper: WrapperIdentitySchema.optional()
22314
22368
  });
22315
22369
  var ServerUpdateCheckResultSchema = object({
22316
22370
  packageName: string(),
package/dist/addon.mjs CHANGED
@@ -16713,6 +16713,7 @@ var NcSystemEventKindSchema = _enum([
16713
16713
  "addon-crash-loop",
16714
16714
  "addon-update-available",
16715
16715
  "server-update-available",
16716
+ "wrapper-update-available",
16716
16717
  "alarm-triggered",
16717
16718
  "alarm-armed",
16718
16719
  "alarm-disarmed",
@@ -22269,6 +22270,53 @@ var ImageContractSchema = object({
22269
22270
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
22270
22271
  message: string()
22271
22272
  });
22273
+ /**
22274
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
22275
+ * produced it.
22276
+ *
22277
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
22278
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
22279
+ * for a `docker` shell and says the app restarts into the new build for
22280
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
22281
+ * nothing reads is the defect this repo keeps paying for.
22282
+ */
22283
+ var WrapperIdentitySchema = object({
22284
+ kind: _enum([
22285
+ "docker",
22286
+ "electron",
22287
+ "native",
22288
+ "contradictory",
22289
+ "unknown"
22290
+ ]),
22291
+ /** Every probe that ran, in a stable order. Never empty. */
22292
+ evidence: array(object({
22293
+ /** Which probe this row reports. */
22294
+ fact: _enum([
22295
+ "dockerenv-file",
22296
+ "proc-1-cgroup",
22297
+ "platform",
22298
+ "electron-app-version-env"
22299
+ ]),
22300
+ /**
22301
+ * `observed` — this process read it itself. `declared` — the shell told the
22302
+ * process and nothing here can check it. Only the Electron app version is
22303
+ * ever `declared`, and only because a child cannot see its parent.
22304
+ */
22305
+ mode: _enum(["observed", "declared"]),
22306
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
22307
+ holds: boolean(),
22308
+ /** What was actually read, verbatim enough for an operator to argue with. */
22309
+ detail: string()
22310
+ })),
22311
+ /**
22312
+ * The version of the SHELL, when the shell has one it can state: the
22313
+ * Electron app version it declared, or the baked seed closure that
22314
+ * fingerprints a container / app bundle. `null` for `contradictory` and
22315
+ * `unknown` — which version belongs to the shell is precisely what is not
22316
+ * known there.
22317
+ */
22318
+ currentVersion: string().nullable()
22319
+ });
22272
22320
  var ServerRollbackInfoSchema = object({
22273
22321
  /** The version that failed (or was manually rolled back). */
22274
22322
  fromVersion: string(),
@@ -22310,7 +22358,13 @@ var ServerPackageStatusSchema = object({
22310
22358
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22311
22359
  * version skew: an older provider's payload simply omits it.
22312
22360
  */
22313
- imageContract: ImageContractSchema.optional()
22361
+ imageContract: ImageContractSchema.optional(),
22362
+ /**
22363
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22364
+ * for version skew: an older provider's payload simply omits it, and an
22365
+ * absent wrapper is unknown — never `native`.
22366
+ */
22367
+ wrapper: WrapperIdentitySchema.optional()
22314
22368
  });
22315
22369
  var ServerUpdateCheckResultSchema = object({
22316
22370
  packageName: string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.92",
3
+ "version": "0.2.93",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",