@zixt/host 0.0.30 → 0.0.32
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 +20 -5
- 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.32",
|
|
35
35
|
type: "module",
|
|
36
36
|
exports: {
|
|
37
37
|
".": "./src/client.ts",
|
|
@@ -17774,7 +17774,7 @@ var HostRemovalImpact = external_exports.object({
|
|
|
17774
17774
|
runningTasks: ImpactedTasks,
|
|
17775
17775
|
/** Queued Tasks pinned to it. These move to automatic placement. */
|
|
17776
17776
|
queuedPinnedTasks: ImpactedTasks,
|
|
17777
|
-
/** Automations pinned to it. These
|
|
17777
|
+
/** Automations pinned to it. These move to automatic placement. */
|
|
17778
17778
|
pinnedAutomations: external_exports.object({
|
|
17779
17779
|
count: external_exports.number().int().min(0),
|
|
17780
17780
|
samples: external_exports.array(
|
|
@@ -17798,13 +17798,13 @@ var HostRemovalImpact = external_exports.object({
|
|
|
17798
17798
|
* its website sessions, and any local work never pushed anywhere.
|
|
17799
17799
|
*/
|
|
17800
17800
|
unrecoverableLosses: external_exports.array(external_exports.string().min(1).max(500)),
|
|
17801
|
-
/**
|
|
17801
|
+
/** Deprecated compatibility field; always false because Auto is the default. */
|
|
17802
17802
|
requiresAutomationDecision: external_exports.boolean(),
|
|
17803
17803
|
evaluatedAt: IsoDate2
|
|
17804
17804
|
});
|
|
17805
17805
|
var PinnedAutomationResolution = external_exports.enum(["move_to_auto", "pause"]);
|
|
17806
17806
|
var RevokeHostRequest = external_exports.object({
|
|
17807
|
-
/**
|
|
17807
|
+
/** Optional compatibility override; omission moves them to Auto. */
|
|
17808
17808
|
pinnedAutomations: PinnedAutomationResolution.optional(),
|
|
17809
17809
|
/**
|
|
17810
17810
|
* Idempotency key for the whole resolution. A retried removal after a lost
|
|
@@ -18102,16 +18102,31 @@ var AttentionItemType = external_exports.enum([
|
|
|
18102
18102
|
"task_failure",
|
|
18103
18103
|
"dependency",
|
|
18104
18104
|
/** An Automation paused itself and cannot resume without a person's decision. */
|
|
18105
|
-
"automation_paused"
|
|
18105
|
+
"automation_paused",
|
|
18106
|
+
/** An Automation was kept running but its Machine preference changed. */
|
|
18107
|
+
"automation_moved"
|
|
18108
|
+
]);
|
|
18109
|
+
var AttentionCategory = external_exports.enum([
|
|
18110
|
+
"answer_question",
|
|
18111
|
+
"approve_action",
|
|
18112
|
+
"review_result",
|
|
18113
|
+
"repair_access",
|
|
18114
|
+
"restore_execution",
|
|
18115
|
+
"resolve_ambiguous_effect"
|
|
18106
18116
|
]);
|
|
18107
18117
|
var AttentionItem = external_exports.object({
|
|
18108
18118
|
id: external_exports.string().min(1),
|
|
18109
18119
|
type: AttentionItemType,
|
|
18120
|
+
category: AttentionCategory,
|
|
18110
18121
|
severity: external_exports.enum(["info", "warning", "critical"]),
|
|
18111
18122
|
agentId: AgentId.nullable(),
|
|
18112
18123
|
taskId: TaskId.nullable(),
|
|
18113
18124
|
title: external_exports.string().min(1).max(500),
|
|
18114
18125
|
reason: external_exports.string().min(1).max(2e3),
|
|
18126
|
+
whatStopped: external_exports.string().min(1).max(500),
|
|
18127
|
+
whyNeeded: external_exports.string().min(1).max(2e3),
|
|
18128
|
+
afterAction: external_exports.string().min(1).max(1e3),
|
|
18129
|
+
eligibleActor: external_exports.string().min(1).max(500),
|
|
18115
18130
|
originTrust: external_exports.enum(["internal", "external"]).nullable(),
|
|
18116
18131
|
createdAt: IsoDate,
|
|
18117
18132
|
source: external_exports.object({
|