@camstack/addon-decoder-nodeav 1.2.93 → 1.2.94
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/index.js +55 -1
- package/dist/index.mjs +55 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16272,6 +16272,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16272
16272
|
"addon-crash-loop",
|
|
16273
16273
|
"addon-update-available",
|
|
16274
16274
|
"server-update-available",
|
|
16275
|
+
"wrapper-update-available",
|
|
16275
16276
|
"alarm-triggered",
|
|
16276
16277
|
"alarm-armed",
|
|
16277
16278
|
"alarm-disarmed",
|
|
@@ -21788,6 +21789,53 @@ var ImageContractSchema = object({
|
|
|
21788
21789
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
21789
21790
|
message: string()
|
|
21790
21791
|
});
|
|
21792
|
+
/**
|
|
21793
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
21794
|
+
* produced it.
|
|
21795
|
+
*
|
|
21796
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
21797
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
21798
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
21799
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
21800
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
21801
|
+
*/
|
|
21802
|
+
var WrapperIdentitySchema = object({
|
|
21803
|
+
kind: _enum([
|
|
21804
|
+
"docker",
|
|
21805
|
+
"electron",
|
|
21806
|
+
"native",
|
|
21807
|
+
"contradictory",
|
|
21808
|
+
"unknown"
|
|
21809
|
+
]),
|
|
21810
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
21811
|
+
evidence: array(object({
|
|
21812
|
+
/** Which probe this row reports. */
|
|
21813
|
+
fact: _enum([
|
|
21814
|
+
"dockerenv-file",
|
|
21815
|
+
"proc-1-cgroup",
|
|
21816
|
+
"platform",
|
|
21817
|
+
"electron-app-version-env"
|
|
21818
|
+
]),
|
|
21819
|
+
/**
|
|
21820
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
21821
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
21822
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
21823
|
+
*/
|
|
21824
|
+
mode: _enum(["observed", "declared"]),
|
|
21825
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
21826
|
+
holds: boolean(),
|
|
21827
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
21828
|
+
detail: string()
|
|
21829
|
+
})),
|
|
21830
|
+
/**
|
|
21831
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
21832
|
+
* Electron app version it declared, or the baked seed closure that
|
|
21833
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
21834
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
21835
|
+
* known there.
|
|
21836
|
+
*/
|
|
21837
|
+
currentVersion: string().nullable()
|
|
21838
|
+
});
|
|
21791
21839
|
var ServerRollbackInfoSchema = object({
|
|
21792
21840
|
/** The version that failed (or was manually rolled back). */
|
|
21793
21841
|
fromVersion: string(),
|
|
@@ -21829,7 +21877,13 @@ var ServerPackageStatusSchema = object({
|
|
|
21829
21877
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
21830
21878
|
* version skew: an older provider's payload simply omits it.
|
|
21831
21879
|
*/
|
|
21832
|
-
imageContract: ImageContractSchema.optional()
|
|
21880
|
+
imageContract: ImageContractSchema.optional(),
|
|
21881
|
+
/**
|
|
21882
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
21883
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
21884
|
+
* absent wrapper is unknown — never `native`.
|
|
21885
|
+
*/
|
|
21886
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
21833
21887
|
});
|
|
21834
21888
|
var ServerUpdateCheckResultSchema = object({
|
|
21835
21889
|
packageName: string(),
|
package/dist/index.mjs
CHANGED
|
@@ -16268,6 +16268,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16268
16268
|
"addon-crash-loop",
|
|
16269
16269
|
"addon-update-available",
|
|
16270
16270
|
"server-update-available",
|
|
16271
|
+
"wrapper-update-available",
|
|
16271
16272
|
"alarm-triggered",
|
|
16272
16273
|
"alarm-armed",
|
|
16273
16274
|
"alarm-disarmed",
|
|
@@ -21784,6 +21785,53 @@ var ImageContractSchema = object({
|
|
|
21784
21785
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
21785
21786
|
message: string()
|
|
21786
21787
|
});
|
|
21788
|
+
/**
|
|
21789
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
21790
|
+
* produced it.
|
|
21791
|
+
*
|
|
21792
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
21793
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
21794
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
21795
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
21796
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
21797
|
+
*/
|
|
21798
|
+
var WrapperIdentitySchema = object({
|
|
21799
|
+
kind: _enum([
|
|
21800
|
+
"docker",
|
|
21801
|
+
"electron",
|
|
21802
|
+
"native",
|
|
21803
|
+
"contradictory",
|
|
21804
|
+
"unknown"
|
|
21805
|
+
]),
|
|
21806
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
21807
|
+
evidence: array(object({
|
|
21808
|
+
/** Which probe this row reports. */
|
|
21809
|
+
fact: _enum([
|
|
21810
|
+
"dockerenv-file",
|
|
21811
|
+
"proc-1-cgroup",
|
|
21812
|
+
"platform",
|
|
21813
|
+
"electron-app-version-env"
|
|
21814
|
+
]),
|
|
21815
|
+
/**
|
|
21816
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
21817
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
21818
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
21819
|
+
*/
|
|
21820
|
+
mode: _enum(["observed", "declared"]),
|
|
21821
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
21822
|
+
holds: boolean(),
|
|
21823
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
21824
|
+
detail: string()
|
|
21825
|
+
})),
|
|
21826
|
+
/**
|
|
21827
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
21828
|
+
* Electron app version it declared, or the baked seed closure that
|
|
21829
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
21830
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
21831
|
+
* known there.
|
|
21832
|
+
*/
|
|
21833
|
+
currentVersion: string().nullable()
|
|
21834
|
+
});
|
|
21787
21835
|
var ServerRollbackInfoSchema = object({
|
|
21788
21836
|
/** The version that failed (or was manually rolled back). */
|
|
21789
21837
|
fromVersion: string(),
|
|
@@ -21825,7 +21873,13 @@ var ServerPackageStatusSchema = object({
|
|
|
21825
21873
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
21826
21874
|
* version skew: an older provider's payload simply omits it.
|
|
21827
21875
|
*/
|
|
21828
|
-
imageContract: ImageContractSchema.optional()
|
|
21876
|
+
imageContract: ImageContractSchema.optional(),
|
|
21877
|
+
/**
|
|
21878
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
21879
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
21880
|
+
* absent wrapper is unknown — never `native`.
|
|
21881
|
+
*/
|
|
21882
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
21829
21883
|
});
|
|
21830
21884
|
var ServerUpdateCheckResultSchema = object({
|
|
21831
21885
|
packageName: string(),
|