@zixt/host 0.0.70 → 0.0.72
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 +29 -11
- 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.72",
|
|
35
35
|
type: "module",
|
|
36
36
|
exports: {
|
|
37
37
|
".": "./src/client.ts",
|
|
@@ -15537,7 +15537,9 @@ var HostTelemetry = external_exports.object({
|
|
|
15537
15537
|
/** Streams the bounded local Host terminal tail to Admin/Owner Machine diagnostics. */
|
|
15538
15538
|
hostConsole: external_exports.literal(true).optional(),
|
|
15539
15539
|
/** Accepts an authenticated, Admin/Owner-triggered immediate package refresh. */
|
|
15540
|
-
remoteUpdate: external_exports.literal(true).optional()
|
|
15540
|
+
remoteUpdate: external_exports.literal(true).optional(),
|
|
15541
|
+
/** How this installation receives Zixt Host code. */
|
|
15542
|
+
hostUpdateMode: external_exports.enum(["published", "source", "pinned"]).optional()
|
|
15541
15543
|
}).optional()
|
|
15542
15544
|
});
|
|
15543
15545
|
var HostConnectionIssue = external_exports.discriminatedUnion("code", [
|
|
@@ -18446,7 +18448,8 @@ var ManagerTaskRailWorkstream = external_exports.object({
|
|
|
18446
18448
|
workstreamId: external_exports.string().min(1).max(160),
|
|
18447
18449
|
/** The workstream's newest live Task title, already role-projected. */
|
|
18448
18450
|
title: external_exports.string().max(1e3),
|
|
18449
|
-
representative: ManagerTaskRailRepresentative
|
|
18451
|
+
representative: ManagerTaskRailRepresentative,
|
|
18452
|
+
browserAttention: external_exports.boolean().default(false)
|
|
18450
18453
|
}).strict();
|
|
18451
18454
|
var ManagerTaskRailSummary = external_exports.object({
|
|
18452
18455
|
conversationId: ConversationId,
|
|
@@ -18454,6 +18457,7 @@ var ManagerTaskRailSummary = external_exports.object({
|
|
|
18454
18457
|
hasAgentMatch: external_exports.boolean(),
|
|
18455
18458
|
hasStatusMatch: external_exports.boolean(),
|
|
18456
18459
|
representative: ManagerTaskRailRepresentative.nullable(),
|
|
18460
|
+
browserAttention: external_exports.boolean().default(false),
|
|
18457
18461
|
/**
|
|
18458
18462
|
* Live workstreams this thread carries besides the one its own row
|
|
18459
18463
|
* represents. Defaulted so a browser that outruns a deploy degrades to the
|
|
@@ -18724,6 +18728,11 @@ var RenameOrgRequest = external_exports.object({
|
|
|
18724
18728
|
// name and leave the organization blank everywhere its name is displayed.
|
|
18725
18729
|
name: external_exports.string().trim().pipe(Org.shape.name)
|
|
18726
18730
|
});
|
|
18731
|
+
var DeleteOrgRequest = external_exports.object({
|
|
18732
|
+
/** Exact current display name; this is the irreversible-action fence. */
|
|
18733
|
+
name: Org.shape.name
|
|
18734
|
+
}).strict();
|
|
18735
|
+
var DeleteOrgResponse = external_exports.object({ deleted: external_exports.literal(true) }).strict();
|
|
18727
18736
|
var DESKTOP_SIDEBAR_MIN_WIDTH_PX = 240;
|
|
18728
18737
|
var DESKTOP_SIDEBAR_MAX_WIDTH_PX = 420;
|
|
18729
18738
|
var TASK_SIDEBAR_MIN_WIDTH_PX = 240;
|
|
@@ -24548,6 +24557,9 @@ function versionsRoot() {
|
|
|
24548
24557
|
function npmCommand(platform = process.platform) {
|
|
24549
24558
|
return platform === "win32" ? "npm.cmd" : "npm";
|
|
24550
24559
|
}
|
|
24560
|
+
function windowsInstallerCommandLine(command, args) {
|
|
24561
|
+
return [command, ...args].map(quoteForCmd).join(" ");
|
|
24562
|
+
}
|
|
24551
24563
|
function installedReleaseEntry(version2, root = versionsRoot()) {
|
|
24552
24564
|
return join6(root, version2, "node_modules", PACKAGE_NAME, "dist", "index.js");
|
|
24553
24565
|
}
|
|
@@ -24811,14 +24823,18 @@ process.stdin.on('data', (chunk) => {
|
|
|
24811
24823
|
if (pending.length !== expectedBytes) return fail();
|
|
24812
24824
|
let config;
|
|
24813
24825
|
try { config = JSON.parse(pending.toString('utf8')); } catch { return fail(); }
|
|
24814
|
-
if (!config || typeof config.
|
|
24826
|
+
if (!config || typeof config.commandLine !== 'string' || !config.commandLine) return fail();
|
|
24815
24827
|
launched = true;
|
|
24816
|
-
const target = spawn(config.
|
|
24828
|
+
const target = spawn(config.commandLine, {
|
|
24817
24829
|
cwd: config.cwd,
|
|
24818
24830
|
env: process.env,
|
|
24819
24831
|
stdio: 'inherit',
|
|
24820
24832
|
windowsHide: true,
|
|
24821
|
-
|
|
24833
|
+
// cmd.exe has to resolve npm.cmd, so the shell stays - but the whole line
|
|
24834
|
+
// arrives pre-quoted as one string. Node's (command, args, shell) shape is
|
|
24835
|
+
// deprecated (DEP0190) because the shell concatenates args unescaped: it
|
|
24836
|
+
// printed a warning on every install and broke any prefix with a space.
|
|
24837
|
+
shell: true,
|
|
24822
24838
|
});
|
|
24823
24839
|
target.once('error', () => report(null, null));
|
|
24824
24840
|
target.once('exit', report);
|
|
@@ -24988,10 +25004,11 @@ async function installRelease(version2, options = {}) {
|
|
|
24988
25004
|
}
|
|
24989
25005
|
const release = Buffer.from(
|
|
24990
25006
|
JSON.stringify({
|
|
24991
|
-
|
|
24992
|
-
|
|
24993
|
-
|
|
24994
|
-
|
|
25007
|
+
commandLine: windowsInstallerCommandLine(
|
|
25008
|
+
installerCommand,
|
|
25009
|
+
installerArguments(staging, version2)
|
|
25010
|
+
),
|
|
25011
|
+
cwd: root
|
|
24995
25012
|
}),
|
|
24996
25013
|
"utf8"
|
|
24997
25014
|
);
|
|
@@ -40009,7 +40026,8 @@ async function telemetry() {
|
|
|
40009
40026
|
),
|
|
40010
40027
|
providerToolPacks,
|
|
40011
40028
|
browser: await currentBrowserCapability(),
|
|
40012
|
-
...packagedBuild && process.env.ZIXT_HOST_UPDATE !== "off" ? { remoteUpdate: true } : {}
|
|
40029
|
+
...packagedBuild && process.env.ZIXT_HOST_UPDATE !== "off" ? { remoteUpdate: true } : {},
|
|
40030
|
+
hostUpdateMode: packagedBuild ? process.env.ZIXT_HOST_UPDATE === "off" ? "pinned" : "published" : "source"
|
|
40013
40031
|
}
|
|
40014
40032
|
};
|
|
40015
40033
|
}
|