@zixt/host 0.0.59 → 0.0.61
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 +82 -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.61",
|
|
35
35
|
type: "module",
|
|
36
36
|
exports: {
|
|
37
37
|
".": "./src/client.ts",
|
|
@@ -16304,6 +16304,84 @@ 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
|
+
/**
|
|
16323
|
+
* What comparable finished Tasks spent here, from their recorded shares
|
|
16324
|
+
* rather than an even split across steps. 0 when no cohort supports one.
|
|
16325
|
+
*/
|
|
16326
|
+
expectedMs: external_exports.number().int().min(0)
|
|
16327
|
+
}).strict();
|
|
16328
|
+
var TaskProgressBasis = external_exports.enum(["none", "steps", "history", "phase_history"]);
|
|
16329
|
+
var TaskProgressConfidence = external_exports.enum(["none", "low", "medium"]);
|
|
16330
|
+
var TaskProgressCaveat = external_exports.enum([
|
|
16331
|
+
/** A person owes an answer or a decision; nothing is running. */
|
|
16332
|
+
"waiting_on_person",
|
|
16333
|
+
/** Something outside the Task has to change before it can continue. */
|
|
16334
|
+
"blocked",
|
|
16335
|
+
/** No Machine has picked the Task up yet, so no work time has accrued. */
|
|
16336
|
+
"not_started",
|
|
16337
|
+
/** Already past what comparable Tasks needed; the range is a tail guess. */
|
|
16338
|
+
"over_typical",
|
|
16339
|
+
/** Comparable Tasks disagree wildly, so the range is wide on purpose. */
|
|
16340
|
+
"wide_spread",
|
|
16341
|
+
/** Fewer comparable Tasks than the estimate would like. */
|
|
16342
|
+
"thin_history",
|
|
16343
|
+
/** No comparable finished Task exists, so no time can be predicted at all. */
|
|
16344
|
+
"no_history"
|
|
16345
|
+
]);
|
|
16346
|
+
var TaskProgressSampleScope = external_exports.enum([
|
|
16347
|
+
/** Same teammate, same repository, similar size of request. */
|
|
16348
|
+
"agent_repository_size",
|
|
16349
|
+
/** Same teammate, same repository. */
|
|
16350
|
+
"agent_repository",
|
|
16351
|
+
/** Same teammate, any work. */
|
|
16352
|
+
"agent",
|
|
16353
|
+
/** Anyone in the organization. */
|
|
16354
|
+
"organization"
|
|
16355
|
+
]);
|
|
16356
|
+
var TaskProgressSample = external_exports.object({
|
|
16357
|
+
size: external_exports.number().int().min(1),
|
|
16358
|
+
scope: TaskProgressSampleScope,
|
|
16359
|
+
/** One in five comparable Tasks finished their work within this. */
|
|
16360
|
+
p20Ms: external_exports.number().int().min(0).default(0),
|
|
16361
|
+
/** Middle working time of the sample. */
|
|
16362
|
+
medianMs: external_exports.number().int().min(0),
|
|
16363
|
+
/** Four in five comparable Tasks finished their work within this. */
|
|
16364
|
+
p80Ms: external_exports.number().int().min(0),
|
|
16365
|
+
/** Newest observation in the cohort; the estimate ages with its evidence. */
|
|
16366
|
+
newestAt: IsoDate.nullable().default(null)
|
|
16367
|
+
}).strict();
|
|
16368
|
+
var TaskProgressEstimate = external_exports.object({
|
|
16369
|
+
schemaVersion: external_exports.literal(1),
|
|
16370
|
+
/** Whole percent, or null when nothing supports a number. */
|
|
16371
|
+
percent: external_exports.number().int().min(0).max(100).nullable(),
|
|
16372
|
+
basis: TaskProgressBasis,
|
|
16373
|
+
confidence: TaskProgressConfidence,
|
|
16374
|
+
/** Wall-clock since the Task was asked for. */
|
|
16375
|
+
elapsedMs: external_exports.number().int().min(0),
|
|
16376
|
+
/** Of that, time a Machine was actually working. */
|
|
16377
|
+
activeMs: external_exports.number().int().min(0),
|
|
16378
|
+
/** Working time still expected, as a range; null when unknowable. */
|
|
16379
|
+
remaining: external_exports.object({ lowMs: external_exports.number().int().min(0), highMs: external_exports.number().int().min(0) }).strict().nullable(),
|
|
16380
|
+
sample: TaskProgressSample.nullable(),
|
|
16381
|
+
/** Every TS-20 step, in lifecycle order. */
|
|
16382
|
+
steps: external_exports.array(TaskProgressStep),
|
|
16383
|
+
caveat: TaskProgressCaveat.nullable()
|
|
16384
|
+
}).strict();
|
|
16307
16385
|
var CreateTaskInput = external_exports.object({
|
|
16308
16386
|
/** Stable client-generated key: retrying the same submission returns one Task. */
|
|
16309
16387
|
requestId: external_exports.uuid().optional(),
|
|
@@ -16565,7 +16643,9 @@ var TaskDetailResponse = external_exports.object({
|
|
|
16565
16643
|
/** Newest host-observed folder/Git state; null until a current Host reports it. */
|
|
16566
16644
|
workingContext: TaskWorkingContext.nullable().default(null),
|
|
16567
16645
|
/** TS-19 timing breakdown; null when the Task has no usable timing evidence. */
|
|
16568
|
-
timing: TaskTimingBreakdown.nullable().default(null)
|
|
16646
|
+
timing: TaskTimingBreakdown.nullable().default(null),
|
|
16647
|
+
/** TS-20 progress estimate; null when the Task has no usable timing evidence. */
|
|
16648
|
+
progress: TaskProgressEstimate.nullable().default(null)
|
|
16569
16649
|
});
|
|
16570
16650
|
var TaskSupportBundle = external_exports.object({
|
|
16571
16651
|
schemaVersion: external_exports.literal(1),
|