@zixt/host 0.0.111 → 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 +8 -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.111",
31
+ version: "0.0.112",
32
32
  type: "module",
33
33
  exports: {
34
34
  ".": "./src/client.ts",
@@ -37109,7 +37109,7 @@ var CADENCE_PROPS = {
37109
37109
  var TOOLS = [
37110
37110
  {
37111
37111
  name: "ask_user",
37112
- 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.",
37113
37113
  inputSchema: {
37114
37114
  type: "object",
37115
37115
  properties: {
@@ -37122,7 +37122,7 @@ var TOOLS = [
37122
37122
  type: "array",
37123
37123
  minItems: 2,
37124
37124
  maxItems: 5,
37125
- 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.",
37126
37126
  items: {
37127
37127
  type: "object",
37128
37128
  properties: {
@@ -37177,6 +37177,7 @@ var TOOLS = [
37177
37177
  type: "array",
37178
37178
  minItems: 2,
37179
37179
  maxItems: 5,
37180
+ description: "Concrete answers only. Never add Other or tell the person to use Other; Zixt supplies free text.",
37180
37181
  items: {
37181
37182
  type: "object",
37182
37183
  properties: {
@@ -40178,6 +40179,10 @@ function workspaceSystemPrompt(existing, workspacePath, siblings, gitDetected =
40178
40179
  "",
40179
40180
  "Keep it tidy. When you finish with something you do not expect to need again, delete it. Nothing sweeps this directory for you.",
40180
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
+ "",
40181
40186
  "# How your session ends",
40182
40187
  "",
40183
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.111",
3
+ "version": "0.0.112",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/client.ts",