@zixt/host 0.0.59 → 0.0.60
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 +64 -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.60",
|
|
35
35
|
type: "module",
|
|
36
36
|
exports: {
|
|
37
37
|
".": "./src/client.ts",
|
|
@@ -16304,6 +16304,66 @@ var TaskTimingBreakdown = external_exports.object({
|
|
|
16304
16304
|
phases: external_exports.array(TaskTimingPhase),
|
|
16305
16305
|
runs: external_exports.array(TaskTimingRun).max(TASK_TIMING_MAX_RUNS)
|
|
16306
16306
|
}).strict();
|
|
16307
|
+
var TaskProgressStepState = external_exports.enum([
|
|
16308
|
+
/** Reached, and the Task has since moved past it. */
|
|
16309
|
+
"done",
|
|
16310
|
+
/** The furthest step the Task has reached. */
|
|
16311
|
+
"active",
|
|
16312
|
+
/** Not reached yet. */
|
|
16313
|
+
"pending",
|
|
16314
|
+
/** The Task moved past this step without spending measurable time in it. */
|
|
16315
|
+
"skipped"
|
|
16316
|
+
]);
|
|
16317
|
+
var TaskProgressStep = external_exports.object({
|
|
16318
|
+
kind: TaskTimingPhaseKind,
|
|
16319
|
+
state: TaskProgressStepState,
|
|
16320
|
+
/** Time spent in this step so far; 0 for pending and skipped steps. */
|
|
16321
|
+
durationMs: external_exports.number().int().min(0)
|
|
16322
|
+
}).strict();
|
|
16323
|
+
var TaskProgressBasis = external_exports.enum(["none", "steps", "history"]);
|
|
16324
|
+
var TaskProgressConfidence = external_exports.enum(["none", "low", "medium"]);
|
|
16325
|
+
var TaskProgressCaveat = external_exports.enum([
|
|
16326
|
+
/** A person owes an answer or a decision; nothing is running. */
|
|
16327
|
+
"waiting_on_person",
|
|
16328
|
+
/** Something outside the Task has to change before it can continue. */
|
|
16329
|
+
"blocked",
|
|
16330
|
+
/** No Machine has picked the Task up yet, so no work time has accrued. */
|
|
16331
|
+
"not_started",
|
|
16332
|
+
/** Already past what comparable Tasks needed; the range is a tail guess. */
|
|
16333
|
+
"over_typical",
|
|
16334
|
+
/** Comparable Tasks disagree wildly, so the range is wide on purpose. */
|
|
16335
|
+
"wide_spread",
|
|
16336
|
+
/** Fewer comparable Tasks than the estimate would like. */
|
|
16337
|
+
"thin_history",
|
|
16338
|
+
/** No comparable finished Task exists, so no time can be predicted at all. */
|
|
16339
|
+
"no_history"
|
|
16340
|
+
]);
|
|
16341
|
+
var TaskProgressSample = external_exports.object({
|
|
16342
|
+
size: external_exports.number().int().min(1),
|
|
16343
|
+
/** `agent` compares the same teammate; `organization` widens when it must. */
|
|
16344
|
+
scope: external_exports.enum(["agent", "organization"]),
|
|
16345
|
+
/** Middle working time of the sample. */
|
|
16346
|
+
medianMs: external_exports.number().int().min(0),
|
|
16347
|
+
/** Four in five comparable Tasks finished their work within this. */
|
|
16348
|
+
p80Ms: external_exports.number().int().min(0)
|
|
16349
|
+
}).strict();
|
|
16350
|
+
var TaskProgressEstimate = external_exports.object({
|
|
16351
|
+
schemaVersion: external_exports.literal(1),
|
|
16352
|
+
/** Whole percent, or null when nothing supports a number. */
|
|
16353
|
+
percent: external_exports.number().int().min(0).max(100).nullable(),
|
|
16354
|
+
basis: TaskProgressBasis,
|
|
16355
|
+
confidence: TaskProgressConfidence,
|
|
16356
|
+
/** Wall-clock since the Task was asked for. */
|
|
16357
|
+
elapsedMs: external_exports.number().int().min(0),
|
|
16358
|
+
/** Of that, time a Machine was actually working. */
|
|
16359
|
+
activeMs: external_exports.number().int().min(0),
|
|
16360
|
+
/** Working time still expected, as a range; null when unknowable. */
|
|
16361
|
+
remaining: external_exports.object({ lowMs: external_exports.number().int().min(0), highMs: external_exports.number().int().min(0) }).strict().nullable(),
|
|
16362
|
+
sample: TaskProgressSample.nullable(),
|
|
16363
|
+
/** Every TS-20 step, in lifecycle order. */
|
|
16364
|
+
steps: external_exports.array(TaskProgressStep),
|
|
16365
|
+
caveat: TaskProgressCaveat.nullable()
|
|
16366
|
+
}).strict();
|
|
16307
16367
|
var CreateTaskInput = external_exports.object({
|
|
16308
16368
|
/** Stable client-generated key: retrying the same submission returns one Task. */
|
|
16309
16369
|
requestId: external_exports.uuid().optional(),
|
|
@@ -16565,7 +16625,9 @@ var TaskDetailResponse = external_exports.object({
|
|
|
16565
16625
|
/** Newest host-observed folder/Git state; null until a current Host reports it. */
|
|
16566
16626
|
workingContext: TaskWorkingContext.nullable().default(null),
|
|
16567
16627
|
/** TS-19 timing breakdown; null when the Task has no usable timing evidence. */
|
|
16568
|
-
timing: TaskTimingBreakdown.nullable().default(null)
|
|
16628
|
+
timing: TaskTimingBreakdown.nullable().default(null),
|
|
16629
|
+
/** TS-20 progress estimate; null when the Task has no usable timing evidence. */
|
|
16630
|
+
progress: TaskProgressEstimate.nullable().default(null)
|
|
16569
16631
|
});
|
|
16570
16632
|
var TaskSupportBundle = external_exports.object({
|
|
16571
16633
|
schemaVersion: external_exports.literal(1),
|