camstack 1.2.136 → 1.2.137
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.
|
@@ -24249,6 +24249,7 @@ var NcSystemEventKindSchema = external_exports.enum([
|
|
|
24249
24249
|
"addon-crash-loop",
|
|
24250
24250
|
"addon-update-available",
|
|
24251
24251
|
"server-update-available",
|
|
24252
|
+
"wrapper-update-available",
|
|
24252
24253
|
"alarm-triggered",
|
|
24253
24254
|
"alarm-armed",
|
|
24254
24255
|
"alarm-disarmed",
|
|
@@ -30099,6 +30100,45 @@ var ImageContractSchema = external_exports.object({
|
|
|
30099
30100
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
30100
30101
|
message: external_exports.string()
|
|
30101
30102
|
});
|
|
30103
|
+
var WrapperKindSchema = external_exports.enum([
|
|
30104
|
+
"docker",
|
|
30105
|
+
"electron",
|
|
30106
|
+
"native",
|
|
30107
|
+
"contradictory",
|
|
30108
|
+
"unknown"
|
|
30109
|
+
]);
|
|
30110
|
+
var WrapperEvidenceSchema = external_exports.object({
|
|
30111
|
+
/** Which probe this row reports. */
|
|
30112
|
+
fact: external_exports.enum([
|
|
30113
|
+
"dockerenv-file",
|
|
30114
|
+
"proc-1-cgroup",
|
|
30115
|
+
"platform",
|
|
30116
|
+
"electron-app-version-env"
|
|
30117
|
+
]),
|
|
30118
|
+
/**
|
|
30119
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
30120
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
30121
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
30122
|
+
*/
|
|
30123
|
+
mode: external_exports.enum(["observed", "declared"]),
|
|
30124
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
30125
|
+
holds: external_exports.boolean(),
|
|
30126
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
30127
|
+
detail: external_exports.string()
|
|
30128
|
+
});
|
|
30129
|
+
var WrapperIdentitySchema = external_exports.object({
|
|
30130
|
+
kind: WrapperKindSchema,
|
|
30131
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
30132
|
+
evidence: external_exports.array(WrapperEvidenceSchema),
|
|
30133
|
+
/**
|
|
30134
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
30135
|
+
* Electron app version it declared, or the baked seed closure that
|
|
30136
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
30137
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
30138
|
+
* known there.
|
|
30139
|
+
*/
|
|
30140
|
+
currentVersion: external_exports.string().nullable()
|
|
30141
|
+
});
|
|
30102
30142
|
var ServerRollbackInfoSchema = external_exports.object({
|
|
30103
30143
|
/** The version that failed (or was manually rolled back). */
|
|
30104
30144
|
fromVersion: external_exports.string(),
|
|
@@ -30140,7 +30180,13 @@ var ServerPackageStatusSchema = external_exports.object({
|
|
|
30140
30180
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
30141
30181
|
* version skew: an older provider's payload simply omits it.
|
|
30142
30182
|
*/
|
|
30143
|
-
imageContract: ImageContractSchema.optional()
|
|
30183
|
+
imageContract: ImageContractSchema.optional(),
|
|
30184
|
+
/**
|
|
30185
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
30186
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
30187
|
+
* absent wrapper is unknown — never `native`.
|
|
30188
|
+
*/
|
|
30189
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
30144
30190
|
});
|
|
30145
30191
|
var ServerUpdateCheckResultSchema = external_exports.object({
|
|
30146
30192
|
packageName: external_exports.string(),
|
package/dist/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runDiscover
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EYL3W5FY.js";
|
|
5
5
|
import "./chunk-LMMQX4CK.js";
|
|
6
6
|
|
|
7
7
|
// src/cli.ts
|
|
@@ -38,7 +38,7 @@ async function runServe(args) {
|
|
|
38
38
|
...typeof values.data === "string" ? { data: values.data } : {}
|
|
39
39
|
};
|
|
40
40
|
Object.assign(process.env, buildServeEnv(opts));
|
|
41
|
-
await import("./launcher-
|
|
41
|
+
await import("./launcher-U2UTNMNT.js");
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// src/commands/agent.ts
|
|
@@ -83,7 +83,7 @@ async function runAgent(args) {
|
|
|
83
83
|
...typeof values.port === "string" ? { port: values.port } : {}
|
|
84
84
|
};
|
|
85
85
|
Object.assign(process.env, buildAgentEnv(opts));
|
|
86
|
-
await import("./launcher-
|
|
86
|
+
await import("./launcher-U2UTNMNT.js");
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
// src/commands/setup.ts
|
|
@@ -1130,7 +1130,7 @@ function isUnknown(_value) {
|
|
|
1130
1130
|
return true;
|
|
1131
1131
|
}
|
|
1132
1132
|
async function resolveServerInteractive(presetNamespace) {
|
|
1133
|
-
const { discoverNodes, resolveHubFromDiscovered, filterHubNodes, DEFAULT_HUB_HTTPS_PORT } = await import("./discover-
|
|
1133
|
+
const { discoverNodes, resolveHubFromDiscovered, filterHubNodes, DEFAULT_HUB_HTTPS_PORT } = await import("./discover-VOPNVH7F.js");
|
|
1134
1134
|
if (presetNamespace) {
|
|
1135
1135
|
const spinner4 = clack.spinner();
|
|
1136
1136
|
spinner4.start(`Discovering hub on LAN (namespace "${presetNamespace}")`);
|