@zixt/host 0.0.40 → 0.0.42
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 +77 -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.42",
|
|
35
35
|
type: "module",
|
|
36
36
|
exports: {
|
|
37
37
|
".": "./src/client.ts",
|
|
@@ -15017,6 +15017,64 @@ var LinearProviderTaskOrigin = external_exports.object({
|
|
|
15017
15017
|
bindingRevision: external_exports.number().int().min(1)
|
|
15018
15018
|
}).strict();
|
|
15019
15019
|
|
|
15020
|
+
// ../../packages/contracts/src/skills.ts
|
|
15021
|
+
var TeammateRoleTemplate = external_exports.enum([
|
|
15022
|
+
"developer",
|
|
15023
|
+
"marketing",
|
|
15024
|
+
"product",
|
|
15025
|
+
"sales",
|
|
15026
|
+
"custom"
|
|
15027
|
+
]);
|
|
15028
|
+
var SkillId = external_exports.enum([
|
|
15029
|
+
"implement-code",
|
|
15030
|
+
"review-code",
|
|
15031
|
+
"review-architecture",
|
|
15032
|
+
"review-security",
|
|
15033
|
+
"diagnose-root-cause",
|
|
15034
|
+
"design-tests",
|
|
15035
|
+
"review-ui-ux",
|
|
15036
|
+
"maintain-technical-docs",
|
|
15037
|
+
"assess-dependencies",
|
|
15038
|
+
"review-release-readiness",
|
|
15039
|
+
"plan-campaigns",
|
|
15040
|
+
"create-content",
|
|
15041
|
+
"protect-brand-voice",
|
|
15042
|
+
"analyze-campaign-performance",
|
|
15043
|
+
"review-seo",
|
|
15044
|
+
"synthesize-market-signals",
|
|
15045
|
+
"maintain-editorial-plan",
|
|
15046
|
+
"triage-product-issues",
|
|
15047
|
+
"synthesize-user-feedback",
|
|
15048
|
+
"write-requirements",
|
|
15049
|
+
"prioritize-opportunities",
|
|
15050
|
+
"clarify-product-decisions",
|
|
15051
|
+
"review-product-quality",
|
|
15052
|
+
"analyze-product-metrics",
|
|
15053
|
+
"maintain-roadmap-context",
|
|
15054
|
+
"research-accounts",
|
|
15055
|
+
"prepare-meetings",
|
|
15056
|
+
"draft-sales-follow-ups",
|
|
15057
|
+
"maintain-crm-hygiene",
|
|
15058
|
+
"review-pipeline-risk",
|
|
15059
|
+
"identify-expansion-opportunities",
|
|
15060
|
+
"synthesize-customer-objections",
|
|
15061
|
+
"prepare-proposals"
|
|
15062
|
+
]);
|
|
15063
|
+
var EnabledSkillIds = external_exports.array(SkillId).max(SkillId.options.length).refine((items) => new Set(items).size === items.length, "duplicate skill").default([]);
|
|
15064
|
+
var RoutinePresetId = external_exports.enum([
|
|
15065
|
+
"developer-weekly-architecture-review",
|
|
15066
|
+
"developer-weekly-dependency-review",
|
|
15067
|
+
"developer-weekly-release-review",
|
|
15068
|
+
"product-daily-triage",
|
|
15069
|
+
"product-weekly-feedback-review",
|
|
15070
|
+
"product-weekly-roadmap-review",
|
|
15071
|
+
"marketing-weekly-campaign-review",
|
|
15072
|
+
"marketing-weekly-editorial-review",
|
|
15073
|
+
"sales-daily-follow-up-review",
|
|
15074
|
+
"sales-weekly-pipeline-review",
|
|
15075
|
+
"sales-weekly-objection-review"
|
|
15076
|
+
]);
|
|
15077
|
+
|
|
15020
15078
|
// ../../packages/contracts/src/domain.ts
|
|
15021
15079
|
var IsoDate2 = external_exports.iso.datetime();
|
|
15022
15080
|
function isUnsafeDisplayCharacter(character) {
|
|
@@ -15183,6 +15241,10 @@ var Agent = external_exports.object({
|
|
|
15183
15241
|
instructions: external_exports.string().max(5e4).default(""),
|
|
15184
15242
|
/** Natural-language escalation behavior (AG-3). */
|
|
15185
15243
|
escalationInstructions: external_exports.string().max(1e4).default(""),
|
|
15244
|
+
/** Starter role used for recommended skills and Automations. */
|
|
15245
|
+
roleTemplate: TeammateRoleTemplate.default("custom"),
|
|
15246
|
+
/** Product-owned, runner-neutral skill modules included in every run. */
|
|
15247
|
+
enabledSkillIds: EnabledSkillIds,
|
|
15186
15248
|
/** Ordered working folders; first entry is the default (AG-1). */
|
|
15187
15249
|
workspaces: external_exports.array(AgentWorkspace).max(50).refine(
|
|
15188
15250
|
(items) => new Set(items.map((item) => item.path)).size === items.length,
|
|
@@ -15215,6 +15277,7 @@ var Agent = external_exports.object({
|
|
|
15215
15277
|
updatedAt: IsoDate2
|
|
15216
15278
|
});
|
|
15217
15279
|
var HostStatus = external_exports.enum(["online", "offline", "revoked"]);
|
|
15280
|
+
var HostOperatingSystem = external_exports.enum(["linux", "macos", "windows"]);
|
|
15218
15281
|
var RunnerTelemetry = external_exports.object({
|
|
15219
15282
|
type: RunnerType,
|
|
15220
15283
|
installed: external_exports.boolean(),
|
|
@@ -15343,6 +15406,8 @@ var Host = external_exports.object({
|
|
|
15343
15406
|
id: HostId,
|
|
15344
15407
|
orgId: OrgId,
|
|
15345
15408
|
name: external_exports.string().min(1).max(120),
|
|
15409
|
+
/** Durable setup choice; null only for Machines created before it was collected. */
|
|
15410
|
+
operatingSystem: HostOperatingSystem.nullable().default(null),
|
|
15346
15411
|
status: HostStatus,
|
|
15347
15412
|
/** Persistent assignment admission; pausing never changes socket presence or live work. */
|
|
15348
15413
|
acceptingNewWork: external_exports.boolean().default(true),
|
|
@@ -15494,6 +15559,8 @@ var Schedule = external_exports.object({
|
|
|
15494
15559
|
agentId: AgentId,
|
|
15495
15560
|
name: external_exports.string().min(1).max(120),
|
|
15496
15561
|
instructions: external_exports.string().min(1).max(1e5),
|
|
15562
|
+
/** Product-owned recommendation that created this row; null for custom work. */
|
|
15563
|
+
presetId: RoutinePresetId.nullable().default(null),
|
|
15497
15564
|
cadence: ScheduleCadence,
|
|
15498
15565
|
/** Exclusive occurrence cutoff. Null means the Automation never expires. */
|
|
15499
15566
|
endsAt: IsoDate.nullable().default(null),
|
|
@@ -15515,6 +15582,7 @@ var CreateScheduleRequest = external_exports.object({
|
|
|
15515
15582
|
agentId: AgentId,
|
|
15516
15583
|
name: Schedule.shape.name,
|
|
15517
15584
|
instructions: Schedule.shape.instructions,
|
|
15585
|
+
presetId: Schedule.shape.presetId.removeDefault().optional(),
|
|
15518
15586
|
cadence: ScheduleCadence,
|
|
15519
15587
|
endsAt: IsoDate.nullable().optional(),
|
|
15520
15588
|
requestedHostId: HostId.nullable().optional()
|
|
@@ -17688,6 +17756,8 @@ var CreateAgentRequest = external_exports.object({
|
|
|
17688
17756
|
roleDescription: external_exports.string().max(2e3).optional(),
|
|
17689
17757
|
instructions: external_exports.string().max(5e4).optional(),
|
|
17690
17758
|
escalationInstructions: external_exports.string().max(1e4).optional(),
|
|
17759
|
+
roleTemplate: Agent.shape.roleTemplate.removeDefault().optional(),
|
|
17760
|
+
enabledSkillIds: Agent.shape.enabledSkillIds.removeDefault().optional(),
|
|
17691
17761
|
/** Selected only from fresh usable Host workspace telemetry; [] is explicit no-repo/skip. */
|
|
17692
17762
|
workspaces: Agent.shape.workspaces.removeDefault().optional(),
|
|
17693
17763
|
requiredConnectionIds: Agent.shape.requiredConnectionIds.removeDefault().optional()
|
|
@@ -17697,6 +17767,8 @@ var UpdateAgentRequest = external_exports.object({
|
|
|
17697
17767
|
roleDescription: external_exports.string().max(2e3),
|
|
17698
17768
|
instructions: external_exports.string().max(5e4),
|
|
17699
17769
|
escalationInstructions: external_exports.string().max(1e4),
|
|
17770
|
+
roleTemplate: Agent.shape.roleTemplate.removeDefault(),
|
|
17771
|
+
enabledSkillIds: Agent.shape.enabledSkillIds.removeDefault(),
|
|
17700
17772
|
// Request fields must not inherit the domain projection defaults. A
|
|
17701
17773
|
// PATCH that omits either field means "leave unchanged", not "clear it".
|
|
17702
17774
|
workspaces: Agent.shape.workspaces.removeDefault(),
|
|
@@ -17726,7 +17798,9 @@ var ListAgentsResponse = external_exports.object({
|
|
|
17726
17798
|
agents: external_exports.array(Agent)
|
|
17727
17799
|
});
|
|
17728
17800
|
var CreateHostRequest = external_exports.object({
|
|
17729
|
-
name: Host.shape.name
|
|
17801
|
+
name: Host.shape.name,
|
|
17802
|
+
/** Optional only for rolling compatibility; the current UI always asks. */
|
|
17803
|
+
operatingSystem: HostOperatingSystem.optional()
|
|
17730
17804
|
});
|
|
17731
17805
|
var RenameHostRequest = external_exports.object({
|
|
17732
17806
|
name: Host.shape.name
|
|
@@ -17878,6 +17952,7 @@ var MemberHostProjection = Host.pick({
|
|
|
17878
17952
|
id: true,
|
|
17879
17953
|
orgId: true,
|
|
17880
17954
|
name: true,
|
|
17955
|
+
operatingSystem: true,
|
|
17881
17956
|
status: true,
|
|
17882
17957
|
acceptingNewWork: true,
|
|
17883
17958
|
kind: true,
|