@camstack/addon-matter-broker 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 +55 -1
- package/dist/addon.mjs +55 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -16550,6 +16550,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16550
16550
|
"addon-crash-loop",
|
|
16551
16551
|
"addon-update-available",
|
|
16552
16552
|
"server-update-available",
|
|
16553
|
+
"wrapper-update-available",
|
|
16553
16554
|
"alarm-triggered",
|
|
16554
16555
|
"alarm-armed",
|
|
16555
16556
|
"alarm-disarmed",
|
|
@@ -22106,6 +22107,53 @@ var ImageContractSchema = object({
|
|
|
22106
22107
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22107
22108
|
message: string$2()
|
|
22108
22109
|
});
|
|
22110
|
+
/**
|
|
22111
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22112
|
+
* produced it.
|
|
22113
|
+
*
|
|
22114
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22115
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22116
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22117
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22118
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22119
|
+
*/
|
|
22120
|
+
var WrapperIdentitySchema = object({
|
|
22121
|
+
kind: _enum([
|
|
22122
|
+
"docker",
|
|
22123
|
+
"electron",
|
|
22124
|
+
"native",
|
|
22125
|
+
"contradictory",
|
|
22126
|
+
"unknown"
|
|
22127
|
+
]),
|
|
22128
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22129
|
+
evidence: array(object({
|
|
22130
|
+
/** Which probe this row reports. */
|
|
22131
|
+
fact: _enum([
|
|
22132
|
+
"dockerenv-file",
|
|
22133
|
+
"proc-1-cgroup",
|
|
22134
|
+
"platform",
|
|
22135
|
+
"electron-app-version-env"
|
|
22136
|
+
]),
|
|
22137
|
+
/**
|
|
22138
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22139
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22140
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22141
|
+
*/
|
|
22142
|
+
mode: _enum(["observed", "declared"]),
|
|
22143
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22144
|
+
holds: boolean(),
|
|
22145
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22146
|
+
detail: string$2()
|
|
22147
|
+
})),
|
|
22148
|
+
/**
|
|
22149
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22150
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22151
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22152
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22153
|
+
* known there.
|
|
22154
|
+
*/
|
|
22155
|
+
currentVersion: string$2().nullable()
|
|
22156
|
+
});
|
|
22109
22157
|
var ServerRollbackInfoSchema = object({
|
|
22110
22158
|
/** The version that failed (or was manually rolled back). */
|
|
22111
22159
|
fromVersion: string$2(),
|
|
@@ -22147,7 +22195,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22147
22195
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22148
22196
|
* version skew: an older provider's payload simply omits it.
|
|
22149
22197
|
*/
|
|
22150
|
-
imageContract: ImageContractSchema.optional()
|
|
22198
|
+
imageContract: ImageContractSchema.optional(),
|
|
22199
|
+
/**
|
|
22200
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22201
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22202
|
+
* absent wrapper is unknown — never `native`.
|
|
22203
|
+
*/
|
|
22204
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22151
22205
|
});
|
|
22152
22206
|
var ServerUpdateCheckResultSchema = object({
|
|
22153
22207
|
packageName: string$2(),
|
package/dist/addon.mjs
CHANGED
|
@@ -16548,6 +16548,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16548
16548
|
"addon-crash-loop",
|
|
16549
16549
|
"addon-update-available",
|
|
16550
16550
|
"server-update-available",
|
|
16551
|
+
"wrapper-update-available",
|
|
16551
16552
|
"alarm-triggered",
|
|
16552
16553
|
"alarm-armed",
|
|
16553
16554
|
"alarm-disarmed",
|
|
@@ -22104,6 +22105,53 @@ var ImageContractSchema = object({
|
|
|
22104
22105
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22105
22106
|
message: string$2()
|
|
22106
22107
|
});
|
|
22108
|
+
/**
|
|
22109
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22110
|
+
* produced it.
|
|
22111
|
+
*
|
|
22112
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22113
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22114
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22115
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22116
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22117
|
+
*/
|
|
22118
|
+
var WrapperIdentitySchema = object({
|
|
22119
|
+
kind: _enum([
|
|
22120
|
+
"docker",
|
|
22121
|
+
"electron",
|
|
22122
|
+
"native",
|
|
22123
|
+
"contradictory",
|
|
22124
|
+
"unknown"
|
|
22125
|
+
]),
|
|
22126
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22127
|
+
evidence: array(object({
|
|
22128
|
+
/** Which probe this row reports. */
|
|
22129
|
+
fact: _enum([
|
|
22130
|
+
"dockerenv-file",
|
|
22131
|
+
"proc-1-cgroup",
|
|
22132
|
+
"platform",
|
|
22133
|
+
"electron-app-version-env"
|
|
22134
|
+
]),
|
|
22135
|
+
/**
|
|
22136
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22137
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22138
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22139
|
+
*/
|
|
22140
|
+
mode: _enum(["observed", "declared"]),
|
|
22141
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22142
|
+
holds: boolean(),
|
|
22143
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22144
|
+
detail: string$2()
|
|
22145
|
+
})),
|
|
22146
|
+
/**
|
|
22147
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22148
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22149
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22150
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22151
|
+
* known there.
|
|
22152
|
+
*/
|
|
22153
|
+
currentVersion: string$2().nullable()
|
|
22154
|
+
});
|
|
22107
22155
|
var ServerRollbackInfoSchema = object({
|
|
22108
22156
|
/** The version that failed (or was manually rolled back). */
|
|
22109
22157
|
fromVersion: string$2(),
|
|
@@ -22145,7 +22193,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22145
22193
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22146
22194
|
* version skew: an older provider's payload simply omits it.
|
|
22147
22195
|
*/
|
|
22148
|
-
imageContract: ImageContractSchema.optional()
|
|
22196
|
+
imageContract: ImageContractSchema.optional(),
|
|
22197
|
+
/**
|
|
22198
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22199
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22200
|
+
* absent wrapper is unknown — never `native`.
|
|
22201
|
+
*/
|
|
22202
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22149
22203
|
});
|
|
22150
22204
|
var ServerUpdateCheckResultSchema = object({
|
|
22151
22205
|
packageName: string$2(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-matter-broker",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.93",
|
|
4
4
|
"description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|