@zixt/host 0.0.58 → 0.0.59
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 +27 -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.59",
|
|
35
35
|
type: "module",
|
|
36
36
|
exports: {
|
|
37
37
|
".": "./src/client.ts",
|
|
@@ -16087,6 +16087,16 @@ var Task = external_exports.object({
|
|
|
16087
16087
|
* thread-backed work from standalone rows without a second lookup.
|
|
16088
16088
|
*/
|
|
16089
16089
|
conversationId: ConversationId.nullable().default(null),
|
|
16090
|
+
/**
|
|
16091
|
+
* UI-8c: which coordinated workstream this Task belongs to. Zixt records one
|
|
16092
|
+
* workstream per Manager delegation turn, so Tasks the Manager split out of
|
|
16093
|
+
* a single request are grouped as parallel work and independent requests in
|
|
16094
|
+
* the same thread are not. Null means this Task is its own workstream: that
|
|
16095
|
+
* is the deliberate fallback for engine-born work and for rows written
|
|
16096
|
+
* before the field existed, because inventing a shared group is worse than
|
|
16097
|
+
* showing one more row.
|
|
16098
|
+
*/
|
|
16099
|
+
workstreamId: external_exports.string().min(1).max(120).nullable().default(null),
|
|
16090
16100
|
/** Formal human review is opt-in per Task; ordinary Chat defaults to none. */
|
|
16091
16101
|
reviewMode: TaskReviewMode.default("none"),
|
|
16092
16102
|
/** Assignment epoch — bumped every time the task is (re)assigned (PRD §7.4). */
|
|
@@ -18288,12 +18298,27 @@ var ManagerTaskRailRepresentative = external_exports.object({
|
|
|
18288
18298
|
createdAt: external_exports.string(),
|
|
18289
18299
|
updatedAt: external_exports.string()
|
|
18290
18300
|
}).strict();
|
|
18301
|
+
var MANAGER_RAIL_WORKSTREAM_LIMIT = 10;
|
|
18302
|
+
var ManagerTaskRailWorkstream = external_exports.object({
|
|
18303
|
+
workstreamId: external_exports.string().min(1).max(160),
|
|
18304
|
+
/** The workstream's newest live Task title, already role-projected. */
|
|
18305
|
+
title: external_exports.string().max(1e3),
|
|
18306
|
+
representative: ManagerTaskRailRepresentative
|
|
18307
|
+
}).strict();
|
|
18291
18308
|
var ManagerTaskRailSummary = external_exports.object({
|
|
18292
18309
|
conversationId: ConversationId,
|
|
18293
18310
|
hasChildren: external_exports.boolean(),
|
|
18294
18311
|
hasAgentMatch: external_exports.boolean(),
|
|
18295
18312
|
hasStatusMatch: external_exports.boolean(),
|
|
18296
|
-
representative: ManagerTaskRailRepresentative.nullable()
|
|
18313
|
+
representative: ManagerTaskRailRepresentative.nullable(),
|
|
18314
|
+
/**
|
|
18315
|
+
* Live workstreams this thread carries besides the one its own row
|
|
18316
|
+
* represents. Defaulted so a browser that outruns a deploy degrades to the
|
|
18317
|
+
* previous single-row behavior instead of failing the whole rail read.
|
|
18318
|
+
*/
|
|
18319
|
+
workstreams: external_exports.array(ManagerTaskRailWorkstream).max(MANAGER_RAIL_WORKSTREAM_LIMIT).default([]),
|
|
18320
|
+
/** True when more live workstreams exist than the rail will spin out. */
|
|
18321
|
+
workstreamsTruncated: external_exports.boolean().default(false)
|
|
18297
18322
|
}).strict();
|
|
18298
18323
|
var ManagerTaskRailSummariesResponse = external_exports.object({ summaries: external_exports.array(ManagerTaskRailSummary).max(CONVERSATION_LIST_LIMIT) }).strict();
|
|
18299
18324
|
var ConversationDetailResponse = external_exports.object({
|