@camstack/addon-provider-petkit 0.2.93 → 0.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/addon.js +55 -1
- package/dist/addon.mjs +55 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -17589,6 +17589,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
17589
17589
|
"addon-crash-loop",
|
|
17590
17590
|
"addon-update-available",
|
|
17591
17591
|
"server-update-available",
|
|
17592
|
+
"wrapper-update-available",
|
|
17592
17593
|
"alarm-triggered",
|
|
17593
17594
|
"alarm-armed",
|
|
17594
17595
|
"alarm-disarmed",
|
|
@@ -23145,6 +23146,53 @@ var ImageContractSchema = object({
|
|
|
23145
23146
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
23146
23147
|
message: string()
|
|
23147
23148
|
});
|
|
23149
|
+
/**
|
|
23150
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
23151
|
+
* produced it.
|
|
23152
|
+
*
|
|
23153
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
23154
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
23155
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
23156
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
23157
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
23158
|
+
*/
|
|
23159
|
+
var WrapperIdentitySchema = object({
|
|
23160
|
+
kind: _enum([
|
|
23161
|
+
"docker",
|
|
23162
|
+
"electron",
|
|
23163
|
+
"native",
|
|
23164
|
+
"contradictory",
|
|
23165
|
+
"unknown"
|
|
23166
|
+
]),
|
|
23167
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
23168
|
+
evidence: array(object({
|
|
23169
|
+
/** Which probe this row reports. */
|
|
23170
|
+
fact: _enum([
|
|
23171
|
+
"dockerenv-file",
|
|
23172
|
+
"proc-1-cgroup",
|
|
23173
|
+
"platform",
|
|
23174
|
+
"electron-app-version-env"
|
|
23175
|
+
]),
|
|
23176
|
+
/**
|
|
23177
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
23178
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
23179
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
23180
|
+
*/
|
|
23181
|
+
mode: _enum(["observed", "declared"]),
|
|
23182
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
23183
|
+
holds: boolean(),
|
|
23184
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
23185
|
+
detail: string()
|
|
23186
|
+
})),
|
|
23187
|
+
/**
|
|
23188
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
23189
|
+
* Electron app version it declared, or the baked seed closure that
|
|
23190
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
23191
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
23192
|
+
* known there.
|
|
23193
|
+
*/
|
|
23194
|
+
currentVersion: string().nullable()
|
|
23195
|
+
});
|
|
23148
23196
|
var ServerRollbackInfoSchema = object({
|
|
23149
23197
|
/** The version that failed (or was manually rolled back). */
|
|
23150
23198
|
fromVersion: string(),
|
|
@@ -23186,7 +23234,13 @@ var ServerPackageStatusSchema = object({
|
|
|
23186
23234
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
23187
23235
|
* version skew: an older provider's payload simply omits it.
|
|
23188
23236
|
*/
|
|
23189
|
-
imageContract: ImageContractSchema.optional()
|
|
23237
|
+
imageContract: ImageContractSchema.optional(),
|
|
23238
|
+
/**
|
|
23239
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
23240
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
23241
|
+
* absent wrapper is unknown — never `native`.
|
|
23242
|
+
*/
|
|
23243
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
23190
23244
|
});
|
|
23191
23245
|
var ServerUpdateCheckResultSchema = object({
|
|
23192
23246
|
packageName: string(),
|
package/dist/addon.mjs
CHANGED
|
@@ -17588,6 +17588,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
17588
17588
|
"addon-crash-loop",
|
|
17589
17589
|
"addon-update-available",
|
|
17590
17590
|
"server-update-available",
|
|
17591
|
+
"wrapper-update-available",
|
|
17591
17592
|
"alarm-triggered",
|
|
17592
17593
|
"alarm-armed",
|
|
17593
17594
|
"alarm-disarmed",
|
|
@@ -23144,6 +23145,53 @@ var ImageContractSchema = object({
|
|
|
23144
23145
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
23145
23146
|
message: string()
|
|
23146
23147
|
});
|
|
23148
|
+
/**
|
|
23149
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
23150
|
+
* produced it.
|
|
23151
|
+
*
|
|
23152
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
23153
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
23154
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
23155
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
23156
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
23157
|
+
*/
|
|
23158
|
+
var WrapperIdentitySchema = object({
|
|
23159
|
+
kind: _enum([
|
|
23160
|
+
"docker",
|
|
23161
|
+
"electron",
|
|
23162
|
+
"native",
|
|
23163
|
+
"contradictory",
|
|
23164
|
+
"unknown"
|
|
23165
|
+
]),
|
|
23166
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
23167
|
+
evidence: array(object({
|
|
23168
|
+
/** Which probe this row reports. */
|
|
23169
|
+
fact: _enum([
|
|
23170
|
+
"dockerenv-file",
|
|
23171
|
+
"proc-1-cgroup",
|
|
23172
|
+
"platform",
|
|
23173
|
+
"electron-app-version-env"
|
|
23174
|
+
]),
|
|
23175
|
+
/**
|
|
23176
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
23177
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
23178
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
23179
|
+
*/
|
|
23180
|
+
mode: _enum(["observed", "declared"]),
|
|
23181
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
23182
|
+
holds: boolean(),
|
|
23183
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
23184
|
+
detail: string()
|
|
23185
|
+
})),
|
|
23186
|
+
/**
|
|
23187
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
23188
|
+
* Electron app version it declared, or the baked seed closure that
|
|
23189
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
23190
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
23191
|
+
* known there.
|
|
23192
|
+
*/
|
|
23193
|
+
currentVersion: string().nullable()
|
|
23194
|
+
});
|
|
23147
23195
|
var ServerRollbackInfoSchema = object({
|
|
23148
23196
|
/** The version that failed (or was manually rolled back). */
|
|
23149
23197
|
fromVersion: string(),
|
|
@@ -23185,7 +23233,13 @@ var ServerPackageStatusSchema = object({
|
|
|
23185
23233
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
23186
23234
|
* version skew: an older provider's payload simply omits it.
|
|
23187
23235
|
*/
|
|
23188
|
-
imageContract: ImageContractSchema.optional()
|
|
23236
|
+
imageContract: ImageContractSchema.optional(),
|
|
23237
|
+
/**
|
|
23238
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
23239
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
23240
|
+
* absent wrapper is unknown — never `native`.
|
|
23241
|
+
*/
|
|
23242
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
23189
23243
|
});
|
|
23190
23244
|
var ServerUpdateCheckResultSchema = object({
|
|
23191
23245
|
packageName: string(),
|
package/package.json
CHANGED