@helpai/elements 0.52.6 → 0.54.0

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/package.json CHANGED
@@ -80,5 +80,5 @@
80
80
  ],
81
81
  "type": "module",
82
82
  "types": "./index.d.ts",
83
- "version": "0.52.6"
83
+ "version": "0.54.0"
84
84
  }
package/schema.d.ts CHANGED
@@ -535,7 +535,7 @@ type FooterOptions = z.infer<typeof footerSchema>;
535
535
  * Generic across verticals (healthcare, insurance, dealerships, clinics) — the
536
536
  * widget has NO industry logic; a clinic triage intake, an insurance claim form,
537
537
  * a CSAT survey, and a sales lead capture are all just different `forms` config.
538
- * The same field shape powers the AI ask-input tool. See
538
+ * The same field shape powers the AI ask-questions tool. See
539
539
  * `docs/api/hitl-and-forms.md` + `docs/features/forms-and-hitl.md`.
540
540
  */
541
541
 
package/schema.json CHANGED
@@ -477,7 +477,7 @@
477
477
  },
478
478
  "showToolCalls": {
479
479
  "default": false,
480
- "description": "Show automatic tool/function calls the model makes (e.g. search) as collapsible detail+result cards in the transcript. `false` (default) hides them. Interactive tools (ask-input / approval) always show.",
480
+ "description": "Show automatic tool/function calls the model makes (e.g. search) as collapsible detail+result cards in the transcript. `false` (default) hides them. Interactive tools (ask-questions / approval) always show.",
481
481
  "type": "boolean"
482
482
  },
483
483
  "showSources": {
@@ -1297,7 +1297,7 @@
1297
1297
  },
1298
1298
  "humanInLoop": {
1299
1299
  "default": true,
1300
- "description": "Render human-in-the-loop tool UI — the inline ask-input form + approve/reject controls for gated tools. `true` (default) shows them; `false` suppresses the UI (the wire still carries the signals).",
1300
+ "description": "Render human-in-the-loop tool UI — the inline ask-questions form + approve/reject controls for gated tools. `true` (default) shows them; `false` suppresses the UI (the wire still carries the signals).",
1301
1301
  "type": "boolean"
1302
1302
  }
1303
1303
  },
@@ -2335,7 +2335,7 @@
2335
2335
  },
2336
2336
  "showToolCalls": {
2337
2337
  "default": false,
2338
- "description": "Show automatic tool/function calls the model makes (e.g. search) as collapsible detail+result cards in the transcript. `false` (default) hides them. Interactive tools (ask-input / approval) always show.",
2338
+ "description": "Show automatic tool/function calls the model makes (e.g. search) as collapsible detail+result cards in the transcript. `false` (default) hides them. Interactive tools (ask-questions / approval) always show.",
2339
2339
  "type": "boolean"
2340
2340
  },
2341
2341
  "showSources": {
@@ -3155,7 +3155,7 @@
3155
3155
  },
3156
3156
  "humanInLoop": {
3157
3157
  "default": true,
3158
- "description": "Render human-in-the-loop tool UI — the inline ask-input form + approve/reject controls for gated tools. `true` (default) shows them; `false` suppresses the UI (the wire still carries the signals).",
3158
+ "description": "Render human-in-the-loop tool UI — the inline ask-questions form + approve/reject controls for gated tools. `true` (default) shows them; `false` suppresses the UI (the wire still carries the signals).",
3159
3159
  "type": "boolean"
3160
3160
  }
3161
3161
  },
package/schema.mjs CHANGED
@@ -126,7 +126,7 @@ var behaviorSchema = z4.object({
126
126
  'Show the model\'s reasoning ("thoughts") as a collapsible block above each answer. `false` (default) hides it \u2014 a loading indicator still shows while the model works. Reasoning is never persisted; it only appears live.'
127
127
  ),
128
128
  showToolCalls: z4.boolean().default(false).describe(
129
- "Show automatic tool/function calls the model makes (e.g. search) as collapsible detail+result cards in the transcript. `false` (default) hides them. Interactive tools (ask-input / approval) always show."
129
+ "Show automatic tool/function calls the model makes (e.g. search) as collapsible detail+result cards in the transcript. `false` (default) hides them. Interactive tools (ask-questions / approval) always show."
130
130
  ),
131
131
  showSources: z4.boolean().default(false).describe(
132
132
  "Show the citation sources behind an answer (web links + document/file references) in the transcript. `false` (default) hides them."
@@ -226,7 +226,7 @@ var featureFlagsSchema = z7.object({
226
226
  "Backend tools the assistant may invoke. Bare codes (`'tool:send-money'`) or rich refs (`{ code, config }`)."
227
227
  ),
228
228
  humanInLoop: z7.boolean().default(true).describe(
229
- "Render human-in-the-loop tool UI \u2014 the inline ask-input form + approve/reject controls for gated tools. `true` (default) shows them; `false` suppresses the UI (the wire still carries the signals)."
229
+ "Render human-in-the-loop tool UI \u2014 the inline ask-questions form + approve/reject controls for gated tools. `true` (default) shows them; `false` suppresses the UI (the wire still carries the signals)."
230
230
  )
231
231
  }).loose().describe("Capability flags \u2014 file upload, voice mode, and the tools the assistant may invoke.").meta({
232
232
  examples: [