@helpai/elements 0.72.0 → 0.73.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.72.0"
83
+ "version": "0.73.0"
84
84
  }
package/schema.d.ts CHANGED
@@ -268,10 +268,6 @@ declare const voiceModeSchema: z.ZodEnum<{
268
268
  disabled: "disabled";
269
269
  }>;
270
270
  type VoiceMode = z.infer<typeof voiceModeSchema>;
271
- declare const toolRefSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
272
- code: z.ZodString;
273
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
274
- }, z.core.$loose>]>;
275
271
  declare const featureFlagsSchema: z.ZodObject<{
276
272
  disableFileUpload: z.ZodDefault<z.ZodBoolean>;
277
273
  voice: z.ZodDefault<z.ZodEnum<{
@@ -279,10 +275,6 @@ declare const featureFlagsSchema: z.ZodObject<{
279
275
  server: "server";
280
276
  disabled: "disabled";
281
277
  }>>;
282
- tools: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
283
- code: z.ZodString;
284
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
285
- }, z.core.$loose>]>>>;
286
278
  disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
287
279
  enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
288
280
  }, z.core.$loose>;
@@ -475,10 +467,10 @@ type FooterOptions = z.infer<typeof footerSchema>;
475
467
  //#region src/schema/widget/forms.d.ts
476
468
  declare const fieldTypeSchema: z.ZodEnum<{
477
469
  number: "number";
470
+ email: "email";
478
471
  date: "date";
479
- text: "text";
480
472
  url: "url";
481
- email: "email";
473
+ text: "text";
482
474
  tel: "tel";
483
475
  time: "time";
484
476
  textarea: "textarea";
@@ -509,10 +501,10 @@ declare const formFieldSchema: z.ZodObject<{
509
501
  label: z.ZodString;
510
502
  type: z.ZodEnum<{
511
503
  number: "number";
504
+ email: "email";
512
505
  date: "date";
513
- text: "text";
514
506
  url: "url";
515
- email: "email";
507
+ text: "text";
516
508
  tel: "tel";
517
509
  time: "time";
518
510
  textarea: "textarea";
@@ -611,10 +603,10 @@ declare const formDefSchema: z.ZodObject<{
611
603
  label: z.ZodString;
612
604
  type: z.ZodEnum<{
613
605
  number: "number";
606
+ email: "email";
614
607
  date: "date";
615
- text: "text";
616
608
  url: "url";
617
- email: "email";
609
+ text: "text";
618
610
  tel: "tel";
619
611
  time: "time";
620
612
  textarea: "textarea";
@@ -689,10 +681,10 @@ declare const formsSchema: z.ZodArray<z.ZodObject<{
689
681
  label: z.ZodString;
690
682
  type: z.ZodEnum<{
691
683
  number: "number";
684
+ email: "email";
692
685
  date: "date";
693
- text: "text";
694
686
  url: "url";
695
- email: "email";
687
+ text: "text";
696
688
  tel: "tel";
697
689
  time: "time";
698
690
  textarea: "textarea";
@@ -767,8 +759,8 @@ type I18nOptions = z.infer<typeof i18nSchema>;
767
759
  //#endregion
768
760
  //#region src/schema/widget/modules.d.ts
769
761
  declare const moduleLayoutSchema: z.ZodEnum<{
770
- chat: "chat";
771
762
  home: "home";
763
+ chat: "chat";
772
764
  help: "help";
773
765
  news: "news";
774
766
  }>;
@@ -776,8 +768,8 @@ type ModuleLayout = z.infer<typeof moduleLayoutSchema>;
776
768
  declare const moduleSchema: z.ZodObject<{
777
769
  label: z.ZodString;
778
770
  layout: z.ZodEnum<{
779
- chat: "chat";
780
771
  home: "home";
772
+ chat: "chat";
781
773
  help: "help";
782
774
  news: "news";
783
775
  }>;
@@ -804,8 +796,8 @@ type ModuleOptions = z.infer<typeof moduleSchema>;
804
796
  declare const modulesSchema: z.ZodArray<z.ZodObject<{
805
797
  label: z.ZodString;
806
798
  layout: z.ZodEnum<{
807
- chat: "chat";
808
799
  home: "home";
800
+ chat: "chat";
809
801
  help: "help";
810
802
  news: "news";
811
803
  }>;
@@ -1110,10 +1102,6 @@ declare const widgetSettingsSchema: z.ZodObject<{
1110
1102
  server: "server";
1111
1103
  disabled: "disabled";
1112
1104
  }>>;
1113
- tools: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1114
- code: z.ZodString;
1115
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1116
- }, z.core.$loose>]>>>;
1117
1105
  disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
1118
1106
  enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
1119
1107
  }, z.core.$loose>>;
@@ -1131,10 +1119,10 @@ declare const widgetSettingsSchema: z.ZodObject<{
1131
1119
  label: z.ZodString;
1132
1120
  type: z.ZodEnum<{
1133
1121
  number: "number";
1122
+ email: "email";
1134
1123
  date: "date";
1135
- text: "text";
1136
1124
  url: "url";
1137
- email: "email";
1125
+ text: "text";
1138
1126
  tel: "tel";
1139
1127
  time: "time";
1140
1128
  textarea: "textarea";
@@ -1197,8 +1185,8 @@ declare const widgetSettingsSchema: z.ZodObject<{
1197
1185
  modules: z.ZodOptional<z.ZodArray<z.ZodObject<{
1198
1186
  label: z.ZodString;
1199
1187
  layout: z.ZodEnum<{
1200
- chat: "chat";
1201
1188
  home: "home";
1189
+ chat: "chat";
1202
1190
  help: "help";
1203
1191
  news: "news";
1204
1192
  }>;
@@ -1230,10 +1218,10 @@ declare const widgetSettingsSchema: z.ZodObject<{
1230
1218
  }, z.core.$loose>;
1231
1219
  type WidgetSettings = z.infer<typeof widgetSettingsSchema>;
1232
1220
  /**
1233
- * Full client widget config — connection + widget settings + page-mode
1234
- * extras. The dashboard / dev configurator typically only edits one
1235
- * of the two halves at a time (`widgetSettingsSchema` for the dashboard
1236
- * surface, `connectionConfigSchema` for the developer-facing fields).
1221
+ * Full tooling schema — connection + widget settings + page-mode
1222
+ * handshake extras. The dashboard / dev configurator typically only
1223
+ * edits one part at a time (`widgetSettingsSchema` for the dashboard
1224
+ * surface, `connectionConfigSchema` for developer-facing fields).
1237
1225
  */
1238
1226
  declare const widgetConfigSchema: z.ZodObject<{
1239
1227
  widgetId: z.ZodDefault<z.ZodString>;
@@ -1449,10 +1437,6 @@ declare const widgetConfigSchema: z.ZodObject<{
1449
1437
  server: "server";
1450
1438
  disabled: "disabled";
1451
1439
  }>>;
1452
- tools: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1453
- code: z.ZodString;
1454
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1455
- }, z.core.$loose>]>>>;
1456
1440
  disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
1457
1441
  enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
1458
1442
  }, z.core.$loose>>;
@@ -1470,10 +1454,10 @@ declare const widgetConfigSchema: z.ZodObject<{
1470
1454
  label: z.ZodString;
1471
1455
  type: z.ZodEnum<{
1472
1456
  number: "number";
1457
+ email: "email";
1473
1458
  date: "date";
1474
- text: "text";
1475
1459
  url: "url";
1476
- email: "email";
1460
+ text: "text";
1477
1461
  tel: "tel";
1478
1462
  time: "time";
1479
1463
  textarea: "textarea";
@@ -1536,8 +1520,8 @@ declare const widgetConfigSchema: z.ZodObject<{
1536
1520
  modules: z.ZodOptional<z.ZodArray<z.ZodObject<{
1537
1521
  label: z.ZodString;
1538
1522
  layout: z.ZodEnum<{
1539
- chat: "chat";
1540
1523
  home: "home";
1524
+ chat: "chat";
1541
1525
  help: "help";
1542
1526
  news: "news";
1543
1527
  }>;
@@ -1787,10 +1771,6 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
1787
1771
  server: "server";
1788
1772
  disabled: "disabled";
1789
1773
  }>>;
1790
- tools: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1791
- code: z.ZodString;
1792
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1793
- }, z.core.$loose>]>>>;
1794
1774
  disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
1795
1775
  enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
1796
1776
  }, z.core.$loose>>>;
@@ -1808,10 +1788,10 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
1808
1788
  label: z.ZodString;
1809
1789
  type: z.ZodEnum<{
1810
1790
  number: "number";
1791
+ email: "email";
1811
1792
  date: "date";
1812
- text: "text";
1813
1793
  url: "url";
1814
- email: "email";
1794
+ text: "text";
1815
1795
  tel: "tel";
1816
1796
  time: "time";
1817
1797
  textarea: "textarea";
@@ -1874,8 +1854,8 @@ declare const widgetConfigPartialSchema: z.ZodObject<{
1874
1854
  modules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1875
1855
  label: z.ZodString;
1876
1856
  layout: z.ZodEnum<{
1877
- chat: "chat";
1878
1857
  home: "home";
1858
+ chat: "chat";
1879
1859
  help: "help";
1880
1860
  news: "news";
1881
1861
  }>;
@@ -2085,10 +2065,6 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
2085
2065
  server: "server";
2086
2066
  disabled: "disabled";
2087
2067
  }>>;
2088
- tools: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2089
- code: z.ZodString;
2090
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2091
- }, z.core.$loose>]>>>;
2092
2068
  disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
2093
2069
  enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
2094
2070
  }, z.core.$loose>>>;
@@ -2106,10 +2082,10 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
2106
2082
  label: z.ZodString;
2107
2083
  type: z.ZodEnum<{
2108
2084
  number: "number";
2085
+ email: "email";
2109
2086
  date: "date";
2110
- text: "text";
2111
2087
  url: "url";
2112
- email: "email";
2088
+ text: "text";
2113
2089
  tel: "tel";
2114
2090
  time: "time";
2115
2091
  textarea: "textarea";
@@ -2172,8 +2148,8 @@ declare const widgetSettingsPartialSchema: z.ZodObject<{
2172
2148
  modules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2173
2149
  label: z.ZodString;
2174
2150
  layout: z.ZodEnum<{
2175
- chat: "chat";
2176
2151
  home: "home";
2152
+ chat: "chat";
2177
2153
  help: "help";
2178
2154
  news: "news";
2179
2155
  }>;
@@ -2245,9 +2221,10 @@ type ConnectionConfigPartial = z.infer<typeof connectionConfigPartialSchema>;
2245
2221
  /**
2246
2222
  * Server-pushable widget settings. Same surface as the editable
2247
2223
  * {@link widgetSettingsSchema} but every field is optional (the server
2248
- * pushes patches, not full configs). Connection fields (publicKey,
2249
- * aiAgentDeploymentId, baseUrl, user, iframe) are deliberately
2250
- * excluded — those are client concerns.
2224
+ * pushes patches, not full configs). Embed identity, host context,
2225
+ * the agent endpoint, storage, and callbacks are deliberately excluded
2226
+ * because they are client concerns. `presentation.iframe` remains a
2227
+ * server-pushable widget setting.
2251
2228
  *
2252
2229
  * Two deltas vs the editable surface:
2253
2230
  * - `forms` is omitted — resolved form definitions are served by the
@@ -2440,18 +2417,14 @@ declare const serverConfigSchema: z.ZodObject<{
2440
2417
  server: "server";
2441
2418
  disabled: "disabled";
2442
2419
  }>>;
2443
- tools: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2444
- code: z.ZodString;
2445
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2446
- }, z.core.$loose>]>>>;
2447
2420
  disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
2448
2421
  enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
2449
2422
  }, z.core.$loose>>>;
2450
2423
  modules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2451
2424
  label: z.ZodString;
2452
2425
  layout: z.ZodEnum<{
2453
- chat: "chat";
2454
2426
  home: "home";
2427
+ chat: "chat";
2455
2428
  help: "help";
2456
2429
  news: "news";
2457
2430
  }>;
@@ -2730,18 +2703,14 @@ declare const handshakeResponseSchema: z.ZodObject<{
2730
2703
  server: "server";
2731
2704
  disabled: "disabled";
2732
2705
  }>>;
2733
- tools: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2734
- code: z.ZodString;
2735
- config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2736
- }, z.core.$loose>]>>>;
2737
2706
  disableHumanInLoop: z.ZodDefault<z.ZodBoolean>;
2738
2707
  enableOperatorRequest: z.ZodDefault<z.ZodBoolean>;
2739
2708
  }, z.core.$loose>>>;
2740
2709
  modules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2741
2710
  label: z.ZodString;
2742
2711
  layout: z.ZodEnum<{
2743
- chat: "chat";
2744
2712
  home: "home";
2713
+ chat: "chat";
2745
2714
  help: "help";
2746
2715
  news: "news";
2747
2716
  }>;
@@ -2861,5 +2830,5 @@ declare const ALL_MODES: readonly Mode[];
2861
2830
  */
2862
2831
  declare function emitJsonSchema(): unknown;
2863
2832
  //#endregion
2864
- export { ALL_MODES, ActionName, Asset, AttachmentLimits, Behavior, BlocksConfig, CalloutPosition, CalloutShape, ComposerOptions, ConnectionConfig, ConnectionConfigPartial, Endpoints, FeatureFlags, FeedbackEvent, FeedbackOptions, FieldOption, FieldType, FieldValidation, FooterOptions, FormCondition, FormDef, FormField, FormTranslation, Forms, HandshakeResponse, HapticsOptions, HeaderActions, HeaderOptions, I18nOptions, LauncherCallout, LauncherOptions, LauncherSize, LauncherVariant, Link, Mode, ModuleLayout, ModuleOptions, ModulesOptions, PAGE_AREA_SUGGESTIONS, PageContext, Position, PoweredBy, Presentation, ResizeOptions, ResponseMode, SendButtonOptions, ServerConfig, SiteConfig, SizeOptions, SoundOptions, StringsOverride, ThemeOverrides, ThemePreference, TrackingSettings, UserContext, VoiceMode, WidgetConfig, WidgetConfigPartial, WidgetSettings, WidgetSettingsPartial, actionNameSchema, assetSchema, attachmentLimitsSchema, behaviorSchema, blocksConfigSchema, calloutPositionSchema, calloutShapeSchema, composerOptionsSchema, connectionConfigPartialSchema, connectionConfigSchema, cssColorSchema, cssLengthSchema, emitJsonSchema, endpointsSchema, featureFlagsSchema, feedbackEventSchema, feedbackSchema, fieldOptionSchema, fieldOptionTranslationSchema, fieldTypeSchema, fieldValidationSchema, footerSchema, formConditionSchema, formDefSchema, formFieldSchema, formFieldTranslationSchema, formTranslationSchema, formTriggerSchema, formsSchema, handshakeResponseSchema, hapticsOptionsSchema, headerActionsSchema, headerSchema, i18nSchema, initialSizeSchema, launcherCalloutSchema, launcherOptionsSchema, launcherSizeSchema, launcherVariantSchema, linkSchema, localeSchema, modeSchema, moduleLayoutSchema, moduleSchema, modulesSchema, pageContextSchema, positionSchema, poweredBySchema, presentationSchema, resizeOptionsSchema, responseModeSchema, sendButtonIconSchema, sendButtonOptionsSchema, sendButtonShapeSchema, sendButtonVariantSchema, serverConfigSchema, siteConfigSchema, sizeOptionsSchema, soundOptionsSchema, stringsOverrideSchema, themeFieldSchema, themeOverridesSchema, themePreferenceSchema, toolRefSchema, trackingSchema, userContextSchema, uuid7Schema, voiceModeSchema, widgetConfigPartialSchema, widgetConfigSchema, widgetSettingsPartialSchema, widgetSettingsSchema, widgetSettingsSchemaForMode };
2833
+ export { ALL_MODES, ActionName, Asset, AttachmentLimits, Behavior, BlocksConfig, CalloutPosition, CalloutShape, ComposerOptions, ConnectionConfig, ConnectionConfigPartial, Endpoints, FeatureFlags, FeedbackEvent, FeedbackOptions, FieldOption, FieldType, FieldValidation, FooterOptions, FormCondition, FormDef, FormField, FormTranslation, Forms, HandshakeResponse, HapticsOptions, HeaderActions, HeaderOptions, I18nOptions, LauncherCallout, LauncherOptions, LauncherSize, LauncherVariant, Link, Mode, ModuleLayout, ModuleOptions, ModulesOptions, PAGE_AREA_SUGGESTIONS, PageContext, Position, PoweredBy, Presentation, ResizeOptions, ResponseMode, SendButtonOptions, ServerConfig, SiteConfig, SizeOptions, SoundOptions, StringsOverride, ThemeOverrides, ThemePreference, TrackingSettings, UserContext, VoiceMode, WidgetConfig, WidgetConfigPartial, WidgetSettings, WidgetSettingsPartial, actionNameSchema, assetSchema, attachmentLimitsSchema, behaviorSchema, blocksConfigSchema, calloutPositionSchema, calloutShapeSchema, composerOptionsSchema, connectionConfigPartialSchema, connectionConfigSchema, cssColorSchema, cssLengthSchema, emitJsonSchema, endpointsSchema, featureFlagsSchema, feedbackEventSchema, feedbackSchema, fieldOptionSchema, fieldOptionTranslationSchema, fieldTypeSchema, fieldValidationSchema, footerSchema, formConditionSchema, formDefSchema, formFieldSchema, formFieldTranslationSchema, formTranslationSchema, formTriggerSchema, formsSchema, handshakeResponseSchema, hapticsOptionsSchema, headerActionsSchema, headerSchema, i18nSchema, initialSizeSchema, launcherCalloutSchema, launcherOptionsSchema, launcherSizeSchema, launcherVariantSchema, linkSchema, localeSchema, modeSchema, moduleLayoutSchema, moduleSchema, modulesSchema, pageContextSchema, positionSchema, poweredBySchema, presentationSchema, resizeOptionsSchema, responseModeSchema, sendButtonIconSchema, sendButtonOptionsSchema, sendButtonShapeSchema, sendButtonVariantSchema, serverConfigSchema, siteConfigSchema, sizeOptionsSchema, soundOptionsSchema, stringsOverrideSchema, themeFieldSchema, themeOverridesSchema, themePreferenceSchema, trackingSchema, userContextSchema, uuid7Schema, voiceModeSchema, widgetConfigPartialSchema, widgetConfigSchema, widgetSettingsPartialSchema, widgetSettingsSchema, widgetSettingsSchemaForMode };
2865
2834
  //# sourceMappingURL=schema.d.ts.map
package/schema.json CHANGED
@@ -472,7 +472,7 @@
472
472
  },
473
473
  "showReasoning": {
474
474
  "default": false,
475
- "description": "Show the model's reasoning (\"thoughts\") as a collapsible block above each answer. `false` (default) hides it — a loading indicator still shows while the model works. Reasoning is never persisted; it only appears live.",
475
+ "description": "Show the model's reasoning (\"thoughts\") as a collapsible block above each answer. `false` (default) hides it — a loading indicator still shows while the model works. Reasoning is absent from durable history, but the current turn's short-lived resume backlog may replay it after an immediate reconnect or reload.",
476
476
  "type": "boolean"
477
477
  },
478
478
  "showToolCalls": {
@@ -1283,41 +1283,6 @@
1283
1283
  "disabled"
1284
1284
  ]
1285
1285
  },
1286
- "tools": {
1287
- "description": "Backend tools the assistant may invoke. Bare codes (`'tool:send-money'`) or rich refs (`{ code, config }`).",
1288
- "maxItems": 200,
1289
- "type": "array",
1290
- "items": {
1291
- "anyOf": [
1292
- {
1293
- "type": "string",
1294
- "minLength": 1,
1295
- "maxLength": 200
1296
- },
1297
- {
1298
- "type": "object",
1299
- "properties": {
1300
- "code": {
1301
- "type": "string",
1302
- "minLength": 1,
1303
- "maxLength": 200
1304
- },
1305
- "config": {
1306
- "type": "object",
1307
- "propertyNames": {
1308
- "type": "string"
1309
- },
1310
- "additionalProperties": {}
1311
- }
1312
- },
1313
- "required": [
1314
- "code"
1315
- ],
1316
- "additionalProperties": {}
1317
- }
1318
- ]
1319
- }
1320
- },
1321
1286
  "disableHumanInLoop": {
1322
1287
  "default": false,
1323
1288
  "description": "Turn OFF the human-in-the-loop tool UI — the inline ask-questions form + approve/reject controls for gated tools. Unset/`false` = shown (default), `true` = suppressed (the wire still carries the signals).",
@@ -1336,7 +1301,7 @@
1336
1301
  "enableOperatorRequest"
1337
1302
  ],
1338
1303
  "additionalProperties": {},
1339
- "description": "Capability flags — file upload, voice mode, and the tools the assistant may invoke.",
1304
+ "description": "Capability flags — file upload, voice mode, HITL, and operator requests.",
1340
1305
  "examples": [
1341
1306
  {
1342
1307
  "voice": "local"
@@ -1347,9 +1312,7 @@
1347
1312
  },
1348
1313
  {
1349
1314
  "voice": "server",
1350
- "tools": [
1351
- "tool:send-money"
1352
- ]
1315
+ "enableOperatorRequest": true
1353
1316
  }
1354
1317
  ]
1355
1318
  },
@@ -2028,7 +1991,7 @@
2028
1991
  "theme"
2029
1992
  ],
2030
1993
  "additionalProperties": {},
2031
- "description": "Full client widget config — connection (where + auth) + widget settings (look + behaviour) + page-mode extras. This is what the runtime parses on `mount()` / `init()`. Mode-specific constraints (e.g. `position` only meaningful in `floating`) are NOT enforced here — the runtime silently ignores irrelevant fields rather than rejecting them so the same object can flow across mode changes.",
1994
+ "description": "Full tooling config — connection (where + auth) + widget settings (look + behaviour) + page-mode handshake extras. The production widget does not import this Zod schema. Mode-specific constraints (e.g. `position` only meaningful in `floating`) are NOT enforced here so the same object can flow across mode changes.",
2032
1995
  "examples": [
2033
1996
  {
2034
1997
  "publicKey": "agent_pk_demo",
@@ -2355,7 +2318,7 @@
2355
2318
  },
2356
2319
  "showReasoning": {
2357
2320
  "default": false,
2358
- "description": "Show the model's reasoning (\"thoughts\") as a collapsible block above each answer. `false` (default) hides it — a loading indicator still shows while the model works. Reasoning is never persisted; it only appears live.",
2321
+ "description": "Show the model's reasoning (\"thoughts\") as a collapsible block above each answer. `false` (default) hides it — a loading indicator still shows while the model works. Reasoning is absent from durable history, but the current turn's short-lived resume backlog may replay it after an immediate reconnect or reload.",
2359
2322
  "type": "boolean"
2360
2323
  },
2361
2324
  "showToolCalls": {
@@ -3166,41 +3129,6 @@
3166
3129
  "disabled"
3167
3130
  ]
3168
3131
  },
3169
- "tools": {
3170
- "description": "Backend tools the assistant may invoke. Bare codes (`'tool:send-money'`) or rich refs (`{ code, config }`).",
3171
- "maxItems": 200,
3172
- "type": "array",
3173
- "items": {
3174
- "anyOf": [
3175
- {
3176
- "type": "string",
3177
- "minLength": 1,
3178
- "maxLength": 200
3179
- },
3180
- {
3181
- "type": "object",
3182
- "properties": {
3183
- "code": {
3184
- "type": "string",
3185
- "minLength": 1,
3186
- "maxLength": 200
3187
- },
3188
- "config": {
3189
- "type": "object",
3190
- "propertyNames": {
3191
- "type": "string"
3192
- },
3193
- "additionalProperties": {}
3194
- }
3195
- },
3196
- "required": [
3197
- "code"
3198
- ],
3199
- "additionalProperties": {}
3200
- }
3201
- ]
3202
- }
3203
- },
3204
3132
  "disableHumanInLoop": {
3205
3133
  "default": false,
3206
3134
  "description": "Turn OFF the human-in-the-loop tool UI — the inline ask-questions form + approve/reject controls for gated tools. Unset/`false` = shown (default), `true` = suppressed (the wire still carries the signals).",
@@ -3219,7 +3147,7 @@
3219
3147
  "enableOperatorRequest"
3220
3148
  ],
3221
3149
  "additionalProperties": {},
3222
- "description": "Capability flags — file upload, voice mode, and the tools the assistant may invoke.",
3150
+ "description": "Capability flags — file upload, voice mode, HITL, and operator requests.",
3223
3151
  "examples": [
3224
3152
  {
3225
3153
  "voice": "local"
@@ -3230,9 +3158,7 @@
3230
3158
  },
3231
3159
  {
3232
3160
  "voice": "server",
3233
- "tools": [
3234
- "tool:send-money"
3235
- ]
3161
+ "enableOperatorRequest": true
3236
3162
  }
3237
3163
  ]
3238
3164
  },