@camstack/addon-export-alexa 1.2.99 → 1.2.100

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.
@@ -16437,6 +16437,7 @@ var NcSystemEventKindSchema = _enum([
16437
16437
  "addon-crash-loop",
16438
16438
  "addon-update-available",
16439
16439
  "server-update-available",
16440
+ "wrapper-update-available",
16440
16441
  "alarm-triggered",
16441
16442
  "alarm-armed",
16442
16443
  "alarm-disarmed",
@@ -21969,6 +21970,53 @@ var ImageContractSchema = object({
21969
21970
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
21970
21971
  message: string()
21971
21972
  });
21973
+ /**
21974
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
21975
+ * produced it.
21976
+ *
21977
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
21978
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
21979
+ * for a `docker` shell and says the app restarts into the new build for
21980
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
21981
+ * nothing reads is the defect this repo keeps paying for.
21982
+ */
21983
+ var WrapperIdentitySchema = object({
21984
+ kind: _enum([
21985
+ "docker",
21986
+ "electron",
21987
+ "native",
21988
+ "contradictory",
21989
+ "unknown"
21990
+ ]),
21991
+ /** Every probe that ran, in a stable order. Never empty. */
21992
+ evidence: array(object({
21993
+ /** Which probe this row reports. */
21994
+ fact: _enum([
21995
+ "dockerenv-file",
21996
+ "proc-1-cgroup",
21997
+ "platform",
21998
+ "electron-app-version-env"
21999
+ ]),
22000
+ /**
22001
+ * `observed` — this process read it itself. `declared` — the shell told the
22002
+ * process and nothing here can check it. Only the Electron app version is
22003
+ * ever `declared`, and only because a child cannot see its parent.
22004
+ */
22005
+ mode: _enum(["observed", "declared"]),
22006
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
22007
+ holds: boolean(),
22008
+ /** What was actually read, verbatim enough for an operator to argue with. */
22009
+ detail: string()
22010
+ })),
22011
+ /**
22012
+ * The version of the SHELL, when the shell has one it can state: the
22013
+ * Electron app version it declared, or the baked seed closure that
22014
+ * fingerprints a container / app bundle. `null` for `contradictory` and
22015
+ * `unknown` — which version belongs to the shell is precisely what is not
22016
+ * known there.
22017
+ */
22018
+ currentVersion: string().nullable()
22019
+ });
21972
22020
  var ServerRollbackInfoSchema = object({
21973
22021
  /** The version that failed (or was manually rolled back). */
21974
22022
  fromVersion: string(),
@@ -22010,7 +22058,13 @@ var ServerPackageStatusSchema = object({
22010
22058
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
22011
22059
  * version skew: an older provider's payload simply omits it.
22012
22060
  */
22013
- imageContract: ImageContractSchema.optional()
22061
+ imageContract: ImageContractSchema.optional(),
22062
+ /**
22063
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22064
+ * for version skew: an older provider's payload simply omits it, and an
22065
+ * absent wrapper is unknown — never `native`.
22066
+ */
22067
+ wrapper: WrapperIdentitySchema.optional()
22014
22068
  });
22015
22069
  var ServerUpdateCheckResultSchema = object({
22016
22070
  packageName: string(),
@@ -16410,6 +16410,7 @@ var NcSystemEventKindSchema = _enum([
16410
16410
  "addon-crash-loop",
16411
16411
  "addon-update-available",
16412
16412
  "server-update-available",
16413
+ "wrapper-update-available",
16413
16414
  "alarm-triggered",
16414
16415
  "alarm-armed",
16415
16416
  "alarm-disarmed",
@@ -21942,6 +21943,53 @@ var ImageContractSchema = object({
21942
21943
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
21943
21944
  message: string()
21944
21945
  });
21946
+ /**
21947
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
21948
+ * produced it.
21949
+ *
21950
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
21951
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
21952
+ * for a `docker` shell and says the app restarts into the new build for
21953
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
21954
+ * nothing reads is the defect this repo keeps paying for.
21955
+ */
21956
+ var WrapperIdentitySchema = object({
21957
+ kind: _enum([
21958
+ "docker",
21959
+ "electron",
21960
+ "native",
21961
+ "contradictory",
21962
+ "unknown"
21963
+ ]),
21964
+ /** Every probe that ran, in a stable order. Never empty. */
21965
+ evidence: array(object({
21966
+ /** Which probe this row reports. */
21967
+ fact: _enum([
21968
+ "dockerenv-file",
21969
+ "proc-1-cgroup",
21970
+ "platform",
21971
+ "electron-app-version-env"
21972
+ ]),
21973
+ /**
21974
+ * `observed` — this process read it itself. `declared` — the shell told the
21975
+ * process and nothing here can check it. Only the Electron app version is
21976
+ * ever `declared`, and only because a child cannot see its parent.
21977
+ */
21978
+ mode: _enum(["observed", "declared"]),
21979
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
21980
+ holds: boolean(),
21981
+ /** What was actually read, verbatim enough for an operator to argue with. */
21982
+ detail: string()
21983
+ })),
21984
+ /**
21985
+ * The version of the SHELL, when the shell has one it can state: the
21986
+ * Electron app version it declared, or the baked seed closure that
21987
+ * fingerprints a container / app bundle. `null` for `contradictory` and
21988
+ * `unknown` — which version belongs to the shell is precisely what is not
21989
+ * known there.
21990
+ */
21991
+ currentVersion: string().nullable()
21992
+ });
21945
21993
  var ServerRollbackInfoSchema = object({
21946
21994
  /** The version that failed (or was manually rolled back). */
21947
21995
  fromVersion: string(),
@@ -21983,7 +22031,13 @@ var ServerPackageStatusSchema = object({
21983
22031
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
21984
22032
  * version skew: an older provider's payload simply omits it.
21985
22033
  */
21986
- imageContract: ImageContractSchema.optional()
22034
+ imageContract: ImageContractSchema.optional(),
22035
+ /**
22036
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
22037
+ * for version skew: an older provider's payload simply omits it, and an
22038
+ * absent wrapper is unknown — never `native`.
22039
+ */
22040
+ wrapper: WrapperIdentitySchema.optional()
21987
22041
  });
21988
22042
  var ServerUpdateCheckResultSchema = object({
21989
22043
  packageName: string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.99",
3
+ "version": "1.2.100",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",