@zixt/host 0.0.40 → 0.0.41
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 +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import { homedir } from "node:os";
|
|
|
31
31
|
// package.json
|
|
32
32
|
var package_default = {
|
|
33
33
|
name: "@zixt/host",
|
|
34
|
-
version: "0.0.
|
|
34
|
+
version: "0.0.41",
|
|
35
35
|
type: "module",
|
|
36
36
|
exports: {
|
|
37
37
|
".": "./src/client.ts",
|
|
@@ -15215,6 +15215,7 @@ var Agent = external_exports.object({
|
|
|
15215
15215
|
updatedAt: IsoDate2
|
|
15216
15216
|
});
|
|
15217
15217
|
var HostStatus = external_exports.enum(["online", "offline", "revoked"]);
|
|
15218
|
+
var HostOperatingSystem = external_exports.enum(["linux", "macos", "windows"]);
|
|
15218
15219
|
var RunnerTelemetry = external_exports.object({
|
|
15219
15220
|
type: RunnerType,
|
|
15220
15221
|
installed: external_exports.boolean(),
|
|
@@ -15343,6 +15344,8 @@ var Host = external_exports.object({
|
|
|
15343
15344
|
id: HostId,
|
|
15344
15345
|
orgId: OrgId,
|
|
15345
15346
|
name: external_exports.string().min(1).max(120),
|
|
15347
|
+
/** Durable setup choice; null only for Machines created before it was collected. */
|
|
15348
|
+
operatingSystem: HostOperatingSystem.nullable().default(null),
|
|
15346
15349
|
status: HostStatus,
|
|
15347
15350
|
/** Persistent assignment admission; pausing never changes socket presence or live work. */
|
|
15348
15351
|
acceptingNewWork: external_exports.boolean().default(true),
|
|
@@ -17726,7 +17729,9 @@ var ListAgentsResponse = external_exports.object({
|
|
|
17726
17729
|
agents: external_exports.array(Agent)
|
|
17727
17730
|
});
|
|
17728
17731
|
var CreateHostRequest = external_exports.object({
|
|
17729
|
-
name: Host.shape.name
|
|
17732
|
+
name: Host.shape.name,
|
|
17733
|
+
/** Optional only for rolling compatibility; the current UI always asks. */
|
|
17734
|
+
operatingSystem: HostOperatingSystem.optional()
|
|
17730
17735
|
});
|
|
17731
17736
|
var RenameHostRequest = external_exports.object({
|
|
17732
17737
|
name: Host.shape.name
|
|
@@ -17878,6 +17883,7 @@ var MemberHostProjection = Host.pick({
|
|
|
17878
17883
|
id: true,
|
|
17879
17884
|
orgId: true,
|
|
17880
17885
|
name: true,
|
|
17886
|
+
operatingSystem: true,
|
|
17881
17887
|
status: true,
|
|
17882
17888
|
acceptingNewWork: true,
|
|
17883
17889
|
kind: true,
|