@camstack/addon-terminal 0.1.98 → 0.1.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.
- package/dist/addon.js +57 -3
- package/dist/addon.mjs +57 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -16488,6 +16488,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16488
16488
|
"addon-crash-loop",
|
|
16489
16489
|
"addon-update-available",
|
|
16490
16490
|
"server-update-available",
|
|
16491
|
+
"wrapper-update-available",
|
|
16491
16492
|
"alarm-triggered",
|
|
16492
16493
|
"alarm-armed",
|
|
16493
16494
|
"alarm-disarmed",
|
|
@@ -22044,6 +22045,53 @@ var ImageContractSchema = object({
|
|
|
22044
22045
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22045
22046
|
message: string()
|
|
22046
22047
|
});
|
|
22048
|
+
/**
|
|
22049
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22050
|
+
* produced it.
|
|
22051
|
+
*
|
|
22052
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22053
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22054
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22055
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22056
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22057
|
+
*/
|
|
22058
|
+
var WrapperIdentitySchema = object({
|
|
22059
|
+
kind: _enum([
|
|
22060
|
+
"docker",
|
|
22061
|
+
"electron",
|
|
22062
|
+
"native",
|
|
22063
|
+
"contradictory",
|
|
22064
|
+
"unknown"
|
|
22065
|
+
]),
|
|
22066
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22067
|
+
evidence: array(object({
|
|
22068
|
+
/** Which probe this row reports. */
|
|
22069
|
+
fact: _enum([
|
|
22070
|
+
"dockerenv-file",
|
|
22071
|
+
"proc-1-cgroup",
|
|
22072
|
+
"platform",
|
|
22073
|
+
"electron-app-version-env"
|
|
22074
|
+
]),
|
|
22075
|
+
/**
|
|
22076
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22077
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22078
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22079
|
+
*/
|
|
22080
|
+
mode: _enum(["observed", "declared"]),
|
|
22081
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22082
|
+
holds: boolean(),
|
|
22083
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22084
|
+
detail: string()
|
|
22085
|
+
})),
|
|
22086
|
+
/**
|
|
22087
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22088
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22089
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22090
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22091
|
+
* known there.
|
|
22092
|
+
*/
|
|
22093
|
+
currentVersion: string().nullable()
|
|
22094
|
+
});
|
|
22047
22095
|
var ServerRollbackInfoSchema = object({
|
|
22048
22096
|
/** The version that failed (or was manually rolled back). */
|
|
22049
22097
|
fromVersion: string(),
|
|
@@ -22085,7 +22133,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22085
22133
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22086
22134
|
* version skew: an older provider's payload simply omits it.
|
|
22087
22135
|
*/
|
|
22088
|
-
imageContract: ImageContractSchema.optional()
|
|
22136
|
+
imageContract: ImageContractSchema.optional(),
|
|
22137
|
+
/**
|
|
22138
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22139
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22140
|
+
* absent wrapper is unknown — never `native`.
|
|
22141
|
+
*/
|
|
22142
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22089
22143
|
});
|
|
22090
22144
|
var ServerUpdateCheckResultSchema = object({
|
|
22091
22145
|
packageName: string(),
|
|
@@ -25985,8 +26039,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25985
26039
|
*
|
|
25986
26040
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
25987
26041
|
* "every camera". A request for no devices is a request, not an
|
|
25988
|
-
* omission; same contract as `deviceManager.
|
|
25989
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
26042
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
26043
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
25990
26044
|
*
|
|
25991
26045
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
25992
26046
|
*/
|
package/dist/addon.mjs
CHANGED
|
@@ -16465,6 +16465,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
16465
16465
|
"addon-crash-loop",
|
|
16466
16466
|
"addon-update-available",
|
|
16467
16467
|
"server-update-available",
|
|
16468
|
+
"wrapper-update-available",
|
|
16468
16469
|
"alarm-triggered",
|
|
16469
16470
|
"alarm-armed",
|
|
16470
16471
|
"alarm-disarmed",
|
|
@@ -22021,6 +22022,53 @@ var ImageContractSchema = object({
|
|
|
22021
22022
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
22022
22023
|
message: string()
|
|
22023
22024
|
});
|
|
22025
|
+
/**
|
|
22026
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
22027
|
+
* produced it.
|
|
22028
|
+
*
|
|
22029
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
22030
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
22031
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
22032
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
22033
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
22034
|
+
*/
|
|
22035
|
+
var WrapperIdentitySchema = object({
|
|
22036
|
+
kind: _enum([
|
|
22037
|
+
"docker",
|
|
22038
|
+
"electron",
|
|
22039
|
+
"native",
|
|
22040
|
+
"contradictory",
|
|
22041
|
+
"unknown"
|
|
22042
|
+
]),
|
|
22043
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
22044
|
+
evidence: array(object({
|
|
22045
|
+
/** Which probe this row reports. */
|
|
22046
|
+
fact: _enum([
|
|
22047
|
+
"dockerenv-file",
|
|
22048
|
+
"proc-1-cgroup",
|
|
22049
|
+
"platform",
|
|
22050
|
+
"electron-app-version-env"
|
|
22051
|
+
]),
|
|
22052
|
+
/**
|
|
22053
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
22054
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
22055
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
22056
|
+
*/
|
|
22057
|
+
mode: _enum(["observed", "declared"]),
|
|
22058
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
22059
|
+
holds: boolean(),
|
|
22060
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
22061
|
+
detail: string()
|
|
22062
|
+
})),
|
|
22063
|
+
/**
|
|
22064
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
22065
|
+
* Electron app version it declared, or the baked seed closure that
|
|
22066
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
22067
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
22068
|
+
* known there.
|
|
22069
|
+
*/
|
|
22070
|
+
currentVersion: string().nullable()
|
|
22071
|
+
});
|
|
22024
22072
|
var ServerRollbackInfoSchema = object({
|
|
22025
22073
|
/** The version that failed (or was manually rolled back). */
|
|
22026
22074
|
fromVersion: string(),
|
|
@@ -22062,7 +22110,13 @@ var ServerPackageStatusSchema = object({
|
|
|
22062
22110
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
22063
22111
|
* version skew: an older provider's payload simply omits it.
|
|
22064
22112
|
*/
|
|
22065
|
-
imageContract: ImageContractSchema.optional()
|
|
22113
|
+
imageContract: ImageContractSchema.optional(),
|
|
22114
|
+
/**
|
|
22115
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
22116
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
22117
|
+
* absent wrapper is unknown — never `native`.
|
|
22118
|
+
*/
|
|
22119
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
22066
22120
|
});
|
|
22067
22121
|
var ServerUpdateCheckResultSchema = object({
|
|
22068
22122
|
packageName: string(),
|
|
@@ -25962,8 +26016,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
|
|
|
25962
26016
|
*
|
|
25963
26017
|
* An **empty array reads NOTHING** — `[]` is an empty page, never
|
|
25964
26018
|
* "every camera". A request for no devices is a request, not an
|
|
25965
|
-
* omission; same contract as `deviceManager.
|
|
25966
|
-
* `pipelineAnalytics.listRecentTracks`.
|
|
26019
|
+
* omission; same contract as `deviceManager.listAll`'s `deviceIds`
|
|
26020
|
+
* and `pipelineAnalytics.listRecentTracks`.
|
|
25967
26021
|
*
|
|
25968
26022
|
* Absent (`undefined`) is the omission, and keeps the cluster-wide view.
|
|
25969
26023
|
*/
|