@zixt/host 0.0.110 → 0.0.112

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.
Files changed (2) hide show
  1. package/dist/index.js +28 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ import { homedir as homedir3 } from "node:os";
28
28
  // package.json
29
29
  var package_default = {
30
30
  name: "@zixt/host",
31
- version: "0.0.110",
31
+ version: "0.0.112",
32
32
  type: "module",
33
33
  exports: {
34
34
  ".": "./src/client.ts",
@@ -14602,6 +14602,8 @@ var ID_PREFIXES = {
14602
14602
  org: "org",
14603
14603
  member: "mem",
14604
14604
  agent: "agt",
14605
+ /** One bounded image owned by an AI teammate profile. */
14606
+ agentAvatar: "aav",
14605
14607
  host: "hst",
14606
14608
  task: "tsk",
14607
14609
  attempt: "att",
@@ -14705,6 +14707,7 @@ var idSchema = (prefix, name) => external_exports.string().regex(idPattern(prefi
14705
14707
  var OrgId = idSchema(ID_PREFIXES.org, "org id");
14706
14708
  var MemberId = idSchema(ID_PREFIXES.member, "member id");
14707
14709
  var AgentId = idSchema(ID_PREFIXES.agent, "agent id");
14710
+ var AgentAvatarId = idSchema(ID_PREFIXES.agentAvatar, "agent avatar id");
14708
14711
  var HostId = idSchema(ID_PREFIXES.host, "host id");
14709
14712
  var TaskId = idSchema(ID_PREFIXES.task, "task id");
14710
14713
  var TaskAttemptId = idSchema(ID_PREFIXES.attempt, "task attempt id");
@@ -15480,6 +15483,8 @@ var Agent = external_exports.object({
15480
15483
  id: AgentId,
15481
15484
  orgId: OrgId,
15482
15485
  name: external_exports.string().min(1).max(120),
15486
+ /** Authenticated profile artwork. Null keeps the deterministic initials fallback. */
15487
+ avatarAssetId: AgentAvatarId.nullable().default(null),
15483
15488
  status: AgentStatus,
15484
15489
  /**
15485
15490
  * Archive has fenced new work but is still waiting for one or more exact
@@ -20411,6 +20416,21 @@ var GenerateAgentInstructionDraftResponse = external_exports.object({
20411
20416
  /** Evidence of the fixed product route; ordinary UI copy does not expose it. */
20412
20417
  model: external_exports.literal(MANAGER_DEFAULT_MODEL)
20413
20418
  }).strict();
20419
+ var GenerateManagerInstructionDraftRequest = external_exports.object({
20420
+ existingText: external_exports.string().max(5e4),
20421
+ organizationContext: external_exports.string().max(4e3)
20422
+ }).strict();
20423
+ var GenerateManagerInstructionDraftResponse = external_exports.object({
20424
+ text: external_exports.string().min(1).max(5e4),
20425
+ model: external_exports.literal(MANAGER_DEFAULT_MODEL)
20426
+ }).strict();
20427
+ var AGENT_AVATAR_MAX_BYTES = 1024 * 1024;
20428
+ var AgentAvatarMediaType = external_exports.enum(["image/png", "image/jpeg", "image/webp"]);
20429
+ var UploadAgentAvatarRequest = external_exports.object({
20430
+ mediaType: AgentAvatarMediaType,
20431
+ data: external_exports.string().min(4).max(Math.ceil(AGENT_AVATAR_MAX_BYTES * 4 / 3) + 4)
20432
+ }).strict();
20433
+ var UploadAgentAvatarResponse = external_exports.object({ agent: Agent, avatarAssetId: AgentAvatarId }).strict();
20414
20434
  var UpdateAgentRequest = external_exports.object({
20415
20435
  name: Agent.shape.name,
20416
20436
  roleDescription: external_exports.string().max(2e3),
@@ -37089,7 +37109,7 @@ var CADENCE_PROPS = {
37089
37109
  var TOOLS = [
37090
37110
  {
37091
37111
  name: "ask_user",
37092
- description: "Ask the human supervising this task a question and wait for their answer. Use it whenever you need a decision, missing context, or plan approval before proceeding. Use questions whenever there are concrete alternatives, including when there is only one decision: each question needs 2-5 choices, may permit multiple selections, and may mark one choice recommended. Do not ask the questions one at a time. The person can always enter another answer, and all submitted answers arrive together as text. Use question without choices only for a genuinely free-text answer. For a credential, ask for the capability rather than the value: a Credential added under Resources reaches your next run as an environment variable and is scrubbed from everything you write, and a website sign-in belongs at the Browser panel. If the person chooses to send you a value here anyway, use it for this task and store it with set_secret if it should persist, but never print it, write it into a file you commit, or repeat it in your report.",
37112
+ description: "Ask the human supervising this task a question and wait for their answer. Use it only when a decision or missing context genuinely blocks useful work; do not request plan approval for reversible work that the person can review. Use questions whenever there are concrete blocking alternatives, including when there is only one decision: each question needs 2-5 choices, may permit multiple selections, and may mark one choice recommended. Do not ask the questions one at a time. Zixt always supplies a free-text Something else answer, so never create an Other choice or an option that tells the person to use Other. All submitted answers arrive together as text. Use question without choices only for a genuinely free-text answer. For a credential, ask for the capability rather than the value: a Credential added under Resources reaches your next run as an environment variable and is scrubbed from everything you write, and a website sign-in belongs at the Browser panel. If the person chooses to send you a value here anyway, use it for this task and store it with set_secret if it should persist, but never print it, write it into a file you commit, or repeat it in your report.",
37093
37113
  inputSchema: {
37094
37114
  type: "object",
37095
37115
  properties: {
@@ -37102,7 +37122,7 @@ var TOOLS = [
37102
37122
  type: "array",
37103
37123
  minItems: 2,
37104
37124
  maxItems: 5,
37105
- description: "Optional concrete answers. Omit when the person should type freely.",
37125
+ description: "Optional concrete answers. Omit when the person should type freely. Never add Other; Zixt supplies a free-text answer.",
37106
37126
  items: {
37107
37127
  type: "object",
37108
37128
  properties: {
@@ -37157,6 +37177,7 @@ var TOOLS = [
37157
37177
  type: "array",
37158
37178
  minItems: 2,
37159
37179
  maxItems: 5,
37180
+ description: "Concrete answers only. Never add Other or tell the person to use Other; Zixt supplies free text.",
37160
37181
  items: {
37161
37182
  type: "object",
37162
37183
  properties: {
@@ -40158,6 +40179,10 @@ function workspaceSystemPrompt(existing, workspacePath, siblings, gitDetected =
40158
40179
  "",
40159
40180
  "Keep it tidy. When you finish with something you do not expect to need again, delete it. Nothing sweeps this directory for you.",
40160
40181
  "",
40182
+ "# Ask only when the answer blocks useful work",
40183
+ "",
40184
+ "Use reasonable assumptions for reversible details and ordinary professional judgment. Do not turn a request into an intake interview: for drafts, research, analysis, or other work that can be reviewed, make the smallest sensible assumptions, do the work, and state those assumptions in the result. Ask the person only when different credible answers would materially change the outcome, authorization, destination, cost, or an irreversible action. Group every currently blocking choice into one questionnaire instead of asking one question at a time. Zixt adds a free-text \u201CSomething else\u201D answer automatically, so never create an Other choice or an option that tells the person to use Other.",
40185
+ "",
40161
40186
  "# How your session ends",
40162
40187
  "",
40163
40188
  "Your session ends the moment you finish a reply, and nothing wakes it: no background notification, watcher, or timer will ever re-invoke you. Run long commands (test gates, builds) synchronously and wait for their result inside the tool call. Never end a reply with work still in flight or a promise to report later: whatever you were waiting for dies with the turn. Your final reply is the report of record, written only when the work is actually complete."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zixt/host",
3
- "version": "0.0.110",
3
+ "version": "0.0.112",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/client.ts",