@helpai/elements 6.7.0 โ 6.9.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/configurator.mjs +1 -1
- package/docs/page-tools.md +1 -1
- package/elements-web-component.esm.js +33 -33
- package/elements-web-component.esm.js.map +3 -3
- package/elements.cjs.js +32 -32
- package/elements.cjs.js.map +3 -3
- package/elements.esm.js +32 -32
- package/elements.esm.js.map +3 -3
- package/elements.js +30 -30
- package/elements.js.map +3 -3
- package/index.d.ts +53 -17
- package/index.mjs +19 -19
- package/llms-full.txt +141 -141
- package/llms.txt +19 -19
- package/package.json +1 -1
- package/react.d.ts +53 -17
- package/react.mjs +36 -36
- package/schema.d.ts +49 -14
- package/schema.json +22 -16
- package/schema.mjs +1 -1
- package/step-display.d.ts +25 -14
- package/step-display.mjs +2 -2
- package/web-component.d.ts +19 -8
- package/web-component.mjs +19 -19
package/index.d.ts
CHANGED
|
@@ -520,14 +520,20 @@ interface PresentationOptions {
|
|
|
520
520
|
type PageToolCallStatus = 'completed' | 'failed' | 'interrupted';
|
|
521
521
|
/** A ๐/๐ reaction on a rateable (assistant/operator) message; `null` clears a prior choice. */
|
|
522
522
|
type FeedbackValue = 'up' | 'down' | null;
|
|
523
|
-
/**
|
|
523
|
+
/**
|
|
524
|
+
* What an opened step shows: `none`, nothing (the step line alone, for a business that never shows a visitor's data
|
|
525
|
+
* back); `values`, its values as quiet label and value lines without ids; `table`, tables of what it ran on (ids
|
|
526
|
+
* included) and what came back; `json`, its raw input and result; `table-and-json`, the tables with the JSON folded
|
|
527
|
+
* under Raw data. A step waiting on a decision shows its values whatever this says.
|
|
528
|
+
*/
|
|
529
|
+
declare const STEP_DETAILS: readonly ['none', 'values', 'table', 'json', 'table-and-json'];
|
|
530
|
+
type StepDetails = (typeof STEP_DETAILS)[number];
|
|
531
|
+
/** The settings, the same keys on a Deployment (`config.behavior.stepDisplay`) and in a member's Preferences. */
|
|
524
532
|
interface StepDisplay {
|
|
525
533
|
/** Every step appears as one folded line under the reply; off, only the steps that involve the reader do. */
|
|
526
534
|
showSteps: boolean;
|
|
527
|
-
/**
|
|
528
|
-
|
|
529
|
-
/** Each step also opens to its raw input and result as JSON, under Raw data. */
|
|
530
|
-
showRawData: boolean;
|
|
535
|
+
/** What an opened step shows (`STEP_DETAILS`). */
|
|
536
|
+
stepDetails: StepDetails;
|
|
531
537
|
/** The system that ran a step follows its name: "Ship an order ยท BC Co. back office". */
|
|
532
538
|
showStepSystem: boolean;
|
|
533
539
|
/** Each approval says who decided it, and steps the rules decided show as steps. */
|
|
@@ -1154,8 +1160,13 @@ declare const widgetSettingsSchema: z.ZodObject<{
|
|
|
1154
1160
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
1155
1161
|
stepDisplay: z.ZodOptional<z.ZodObject<{
|
|
1156
1162
|
showSteps: z.ZodOptional<z.ZodBoolean>;
|
|
1157
|
-
|
|
1158
|
-
|
|
1163
|
+
stepDetails: z.ZodOptional<z.ZodEnum<{
|
|
1164
|
+
json: "json";
|
|
1165
|
+
none: "none";
|
|
1166
|
+
table: "table";
|
|
1167
|
+
"table-and-json": "table-and-json";
|
|
1168
|
+
values: "values";
|
|
1169
|
+
}>>;
|
|
1159
1170
|
showStepSystem: z.ZodOptional<z.ZodBoolean>;
|
|
1160
1171
|
showDecidedBy: z.ZodOptional<z.ZodBoolean>;
|
|
1161
1172
|
foldApprovals: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1440,8 +1451,13 @@ declare const widgetConfigSchema: z.ZodObject<{
|
|
|
1440
1451
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
1441
1452
|
stepDisplay: z.ZodOptional<z.ZodObject<{
|
|
1442
1453
|
showSteps: z.ZodOptional<z.ZodBoolean>;
|
|
1443
|
-
|
|
1444
|
-
|
|
1454
|
+
stepDetails: z.ZodOptional<z.ZodEnum<{
|
|
1455
|
+
json: "json";
|
|
1456
|
+
none: "none";
|
|
1457
|
+
table: "table";
|
|
1458
|
+
"table-and-json": "table-and-json";
|
|
1459
|
+
values: "values";
|
|
1460
|
+
}>>;
|
|
1445
1461
|
showStepSystem: z.ZodOptional<z.ZodBoolean>;
|
|
1446
1462
|
showDecidedBy: z.ZodOptional<z.ZodBoolean>;
|
|
1447
1463
|
foldApprovals: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1727,8 +1743,13 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
|
|
|
1727
1743
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
1728
1744
|
stepDisplay: z.ZodOptional<z.ZodObject<{
|
|
1729
1745
|
showSteps: z.ZodOptional<z.ZodBoolean>;
|
|
1730
|
-
|
|
1731
|
-
|
|
1746
|
+
stepDetails: z.ZodOptional<z.ZodEnum<{
|
|
1747
|
+
json: "json";
|
|
1748
|
+
none: "none";
|
|
1749
|
+
table: "table";
|
|
1750
|
+
"table-and-json": "table-and-json";
|
|
1751
|
+
values: "values";
|
|
1752
|
+
}>>;
|
|
1732
1753
|
showStepSystem: z.ZodOptional<z.ZodBoolean>;
|
|
1733
1754
|
showDecidedBy: z.ZodOptional<z.ZodBoolean>;
|
|
1734
1755
|
foldApprovals: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1976,8 +1997,13 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
|
|
|
1976
1997
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
1977
1998
|
stepDisplay: z.ZodOptional<z.ZodObject<{
|
|
1978
1999
|
showSteps: z.ZodOptional<z.ZodBoolean>;
|
|
1979
|
-
|
|
1980
|
-
|
|
2000
|
+
stepDetails: z.ZodOptional<z.ZodEnum<{
|
|
2001
|
+
json: "json";
|
|
2002
|
+
none: "none";
|
|
2003
|
+
table: "table";
|
|
2004
|
+
"table-and-json": "table-and-json";
|
|
2005
|
+
values: "values";
|
|
2006
|
+
}>>;
|
|
1981
2007
|
showStepSystem: z.ZodOptional<z.ZodBoolean>;
|
|
1982
2008
|
showDecidedBy: z.ZodOptional<z.ZodBoolean>;
|
|
1983
2009
|
foldApprovals: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2280,8 +2306,13 @@ declare const serverConfigSchema: z.ZodObject<{
|
|
|
2280
2306
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
2281
2307
|
stepDisplay: z.ZodOptional<z.ZodObject<{
|
|
2282
2308
|
showSteps: z.ZodOptional<z.ZodBoolean>;
|
|
2283
|
-
|
|
2284
|
-
|
|
2309
|
+
stepDetails: z.ZodOptional<z.ZodEnum<{
|
|
2310
|
+
json: "json";
|
|
2311
|
+
none: "none";
|
|
2312
|
+
table: "table";
|
|
2313
|
+
"table-and-json": "table-and-json";
|
|
2314
|
+
values: "values";
|
|
2315
|
+
}>>;
|
|
2285
2316
|
showStepSystem: z.ZodOptional<z.ZodBoolean>;
|
|
2286
2317
|
showDecidedBy: z.ZodOptional<z.ZodBoolean>;
|
|
2287
2318
|
foldApprovals: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2606,8 +2637,13 @@ declare const handshakeResponseSchema: z.ZodObject<{
|
|
|
2606
2637
|
showReasoning: z.ZodDefault<z.ZodBoolean>;
|
|
2607
2638
|
stepDisplay: z.ZodOptional<z.ZodObject<{
|
|
2608
2639
|
showSteps: z.ZodOptional<z.ZodBoolean>;
|
|
2609
|
-
|
|
2610
|
-
|
|
2640
|
+
stepDetails: z.ZodOptional<z.ZodEnum<{
|
|
2641
|
+
json: "json";
|
|
2642
|
+
none: "none";
|
|
2643
|
+
table: "table";
|
|
2644
|
+
"table-and-json": "table-and-json";
|
|
2645
|
+
values: "values";
|
|
2646
|
+
}>>;
|
|
2611
2647
|
showStepSystem: z.ZodOptional<z.ZodBoolean>;
|
|
2612
2648
|
showDecidedBy: z.ZodOptional<z.ZodBoolean>;
|
|
2613
2649
|
foldApprovals: z.ZodOptional<z.ZodBoolean>;
|