@8wave/ai-elements 0.119.0-beta.63 → 0.119.0-beta.65

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.
@@ -217,7 +217,7 @@ var e = {
217
217
  mmrCandidatesLimit: "Candidates limit",
218
218
  privacy: "Privacy",
219
219
  zeroDataRetention: "Zero data retention (ZDR)",
220
- disallowPromptTraining: "Prompt Training disallowed",
220
+ disallowPromptTraining: "Prompt training disallowed",
221
221
  voice: "Voice",
222
222
  voiceEnabled: "Voice conversation",
223
223
  voiceId: "Voice",
@@ -269,7 +269,7 @@ var e = {
269
269
  toolRequiresApproval: "Ask the user to confirm",
270
270
  chatWidget: "Chat widget",
271
271
  widgetUrl: "Widget URL",
272
- loadDelay: "Load Delay (ms)",
272
+ loadDelay: "Load delay (ms)",
273
273
  loaderStrategy: "Loader strategy",
274
274
  loaderStrategyInlineModule: "Inline module",
275
275
  loaderStrategyScriptSrc: "Script src",
@@ -409,12 +409,12 @@ var e = {
409
409
  modelNotCompatible: "Not compatible with the privacy flags of this agent.",
410
410
  modelGuaranteedOnSome: "The guarantees you switched on hold only on some providers of this model: the gateway routes accordingly.",
411
411
  modelContextWindow: "Context window: {count}k tokens.",
412
- voiceId: "Cloned voices are not listed: the provider forbids them here.",
412
+ voiceId: "Cloned voices are not allowed here.",
413
413
  freshnessScaleExplanationMonths: "A document updated today gets a +{weight} bonus. This bonus halves to +{halfWeight} after {half} days and practically drops to zero (+{zeroWeight}) after {zero} days (approx. {months} months).",
414
414
  freshnessScaleExplanationDays: "A document updated today gets a +{weight} bonus. This bonus halves to +{halfWeight} after {half} days and practically drops to zero (+{zeroWeight}) after {zero} days.",
415
415
  reasoningVisibility: "A reasoning agent is visible to its organization only.",
416
416
  agentOnOwnEndpoint: "This agent runs on your organization's endpoint.",
417
- providerTimeoutMs: "Before the next provider: 1000 to 789000, BYOK only.",
417
+ providerTimeoutMs: "1000-789000, then the next one. BYOK only.",
418
418
  showExtendedSteps: "Shows reasoning and tool calls as an expandable timeline in the chat.",
419
419
  freshnessBoost: "Applies a boost based on how recently the document was updated.",
420
420
  freshnessScale: "Freshness scale (days)",
@@ -428,21 +428,21 @@ var e = {
428
428
  voiceEnabled: "Let people talk to this agent. The answer is still this agent, with its knowledge and tools.",
429
429
  voiceApprovalRefused: "During a call these actions do not run: approval is given on screen and on the phone there is nobody to ask, so the agent refuses them and says so. Affected: {tools}.",
430
430
  voiceLanguage: "Used to recognise speech and to speak.",
431
- voiceFirstMessage: "Said as soon as the call opens. It also covers the slower first turn.",
431
+ voiceFirstMessage: "Said on pickup, covers the first turn.",
432
432
  voiceIgnoreBackgroundVoices: "Listen only to who is talking. Leave on where the microphone hears a room.",
433
- voiceTurnEagerness: "Eager answers sooner, patient waits for you.",
433
+ voiceTurnEagerness: "Eager answers sooner, patient waits.",
434
434
  voiceTurnTimeoutSeconds: "How long the agent lets the caller stay silent before speaking again. Nothing to do with how fast it answers.",
435
- voiceMaxSessionSeconds: "A call is billed by the minute and stops on its own at this limit.",
435
+ voiceMaxSessionSeconds: "Billed by the minute, ends at this limit.",
436
436
  voiceSlowAgentOnCall: "A large knowledge base or connected MCP servers can take an agent several seconds to answer, and on a call those seconds are silence: the two settings below are what keeps the caller company while it works. If your calls feel slow, the answer itself gets shorter with fewer steps, a smaller retrieval limit or a faster model.",
437
- voiceFillerAfterSeconds: "Says it is working when the answer is late. Empty: four seconds.",
438
- voiceFillerMessage: "Empty: a default sentence in the voice language.",
437
+ voiceFillerAfterSeconds: "Says it is working. Empty: 4 seconds.",
438
+ voiceFillerMessage: "Empty: a line in the voice language.",
439
439
  useColorsForAgentHeader: "Color the agent header based on the main color.",
440
440
  smoothStream: "Smooths text streaming creating a more natural reading experience.",
441
441
  welcomePopup: "Show a welcome popup with the initial message before the chat is opened.",
442
442
  interactiveLogin: "Lets anonymous users sign in from the chat. The external token stays active.",
443
443
  customCss: "CSS injected into the widget shadow DOM. Allows styling the chat interface from the outside.",
444
444
  dismissableNotice: "It will be hidden after the first message.",
445
- privacyPolicyNotice: "Displayed at the bottom of the contact form. Supports Markdown.",
445
+ privacyPolicyNotice: "At the foot of the contact form, in Markdown.",
446
446
  fileUploadEnabled: "Allow users to attach files to their messages.",
447
447
  approvalChannels: "A tool can ask the user to confirm before it runs: expand a tool to turn it on. On API endpoints and scheduled runs the call is refused.",
448
448
  platformSupported: "Renders natively on WhatsApp and Teams",
@@ -455,7 +455,7 @@ var e = {
455
455
  channelAppDisabled: "The App channel is disabled: the direct link and iframe will not work.",
456
456
  embedCode: "Copy and paste this code to embed the agent in your website.",
457
457
  widgetUrl: "Keep the default address to load this installation's widget.",
458
- loadDelay: "Wait before loading the widget, for slow AMD loaders.",
458
+ loadDelay: "Wait before loading, for slow AMD loaders.",
459
459
  embedIframe: "Embed the chat interface directly using an iframe. ",
460
460
  embedPreview: "The agent will be accessible at the following URL.",
461
461
  externalContextSchema: "Define which contextual data the hosting site can send to the agent.",
@@ -470,7 +470,7 @@ var e = {
470
470
  },
471
471
  modelSourceEndpoint: "Runs on {name}, your organization's own endpoint: your provider bills it, and the costs shown here are estimated from the price list.",
472
472
  modelSourcePlatform: "Runs on the platform AI gateway and is paid with your organization's credit.",
473
- reasoningDefault: "Platform default, applied until you choose a different value.",
473
+ reasoningDefault: "The platform's default value.",
474
474
  includeThoughts: "Streams the model's thoughts to the client along with the response.",
475
475
  reasoningNotSupported: "Reasoning is not supported for the selected provider.",
476
476
  voiceRemaining: "Time left in this call",
@@ -925,7 +925,7 @@ var e = {
925
925
  mmrCandidatesLimit: "Limite candidati MMR",
926
926
  privacy: "Privacy",
927
927
  zeroDataRetention: "Zero data retention (ZDR)",
928
- disallowPromptTraining: "Prompt Training disabilitato",
928
+ disallowPromptTraining: "Prompt training disabilitato",
929
929
  voice: "Voce",
930
930
  voiceEnabled: "Conversazione vocale",
931
931
  voiceId: "Voce",
@@ -1117,12 +1117,12 @@ var e = {
1117
1117
  modelNotCompatible: "Non compatibile con i flag di riservatezza di questo agente.",
1118
1118
  modelGuaranteedOnSome: "Le garanzie che hai acceso valgono solo su alcuni provider di questo modello: il gateway instrada di conseguenza.",
1119
1119
  modelContextWindow: "Finestra di contesto: {count}k token.",
1120
- voiceId: "Le voci clonate non sono in elenco: il fornitore non le ammette qui.",
1120
+ voiceId: "Le voci clonate qui non sono ammesse.",
1121
1121
  freshnessScaleExplanationMonths: "Un documento modificato oggi ottiene un bonus di +{weight}. Il bonus si dimezza a +{halfWeight} dopo {half} giorni e si azzera praticamente (+{zeroWeight}) dopo {zero} giorni (circa {months} mesi).",
1122
1122
  freshnessScaleExplanationDays: "Un documento modificato oggi ottiene un bonus di +{weight}. Il bonus si dimezza a +{halfWeight} dopo {half} giorni e si azzera praticamente (+{zeroWeight}) dopo {zero} giorni.",
1123
1123
  reasoningVisibility: "Un agente reasoning è visibile solo all'organizzazione.",
1124
1124
  agentOnOwnEndpoint: "Questo agente gira sull’endpoint della tua organizzazione.",
1125
- providerTimeoutMs: "Prima del provider successivo: da 1000 a 789000, solo BYOK.",
1125
+ providerTimeoutMs: "1000-789000, poi il successivo. Solo BYOK.",
1126
1126
  showExtendedSteps: "Visualizza la timeline con il ragionamento e gli strumenti nella chat.",
1127
1127
  freshnessBoost: "Applica un boost basandosi su quanto recentemente il documento è stato aggiornato.",
1128
1128
  freshnessScale: "Scala temporale spinta (Giorni)",
@@ -1136,21 +1136,21 @@ var e = {
1136
1136
  voiceEnabled: "Permette di parlare con questo agente. La risposta resta sua, con la sua knowledge base e i suoi strumenti.",
1137
1137
  voiceApprovalRefused: "Durante una chiamata queste azioni non partono: l'approvazione si dà a schermo e al telefono non c'è nessuno a cui chiederla, quindi l'agente le rifiuta e lo dice. Riguarda: {tools}.",
1138
1138
  voiceLanguage: "Usata per riconoscere il parlato e per parlare.",
1139
- voiceFirstMessage: "Detta appena si apre la chiamata. Copre anche il primo turno, il più lento.",
1139
+ voiceFirstMessage: "Detta all'apertura, copre il primo turno.",
1140
1140
  voiceIgnoreBackgroundVoices: "Ascolta solo chi parla. Da tenere attivo dove il microfono sente la stanza.",
1141
- voiceTurnEagerness: "Pronto risponde prima, paziente ti aspetta.",
1141
+ voiceTurnEagerness: "Pronto risponde prima, paziente aspetta.",
1142
1142
  voiceTurnTimeoutSeconds: "Quanto l’agente aspetta il chiamante zitto prima di riprendere la parola. Niente a che vedere con la sua velocità di risposta.",
1143
- voiceMaxSessionSeconds: "Una chiamata si paga a minuto e si chiude da sola a questo limite.",
1143
+ voiceMaxSessionSeconds: "Si paga a minuto; oltre, si chiude.",
1144
1144
  voiceSlowAgentOnCall: "Una knowledge base grande o server MCP collegati possono far metterci diversi secondi all'agente, e in chiamata quei secondi sono silenzio: le due impostazioni qui sotto sono ciò che tiene compagnia a chi chiama mentre lavora. Se le chiamate sembrano lente, la risposta si accorcia anche con meno passi, un limite di retrieval più basso o un modello più rapido.",
1145
- voiceFillerAfterSeconds: "Dice che sta lavorando quando la risposta tarda. Vuoto: quattro secondi.",
1146
- voiceFillerMessage: "Vuoto: una frase predefinita nella lingua della voce.",
1145
+ voiceFillerAfterSeconds: "Dice che ci lavora. Vuoto: 4 secondi.",
1146
+ voiceFillerMessage: "Vuoto: frase nella lingua della voce.",
1147
1147
  useColorsForAgentHeader: "Colora l'intestazione dell'agente in base al colore principale.",
1148
1148
  smoothStream: "Uniforma lo streaming del testo creando un'esperienza di lettura più naturale.",
1149
1149
  welcomePopup: "Mostra un popup di benvenuto con il messaggio iniziale prima che la chat venga aperta.",
1150
1150
  interactiveLogin: "Permette agli utenti anonimi di accedere dalla chat. L'external token resta sempre attivo.",
1151
1151
  customCss: "CSS iniettato nello shadow DOM del widget. Permette di personalizzare l'interfaccia della chat dall'esterno.",
1152
1152
  dismissableNotice: "Verrà nascosto dopo il primo messaggio.",
1153
- privacyPolicyNotice: "Compare in fondo al modulo di contatto. Supporta il Markdown.",
1153
+ privacyPolicyNotice: "In fondo al modulo di contatto, in Markdown.",
1154
1154
  fileUploadEnabled: "Permetti agli utenti di allegare file ai messaggi.",
1155
1155
  approvalChannels: "Un tool può chiedere conferma all'utente prima di eseguire: espandi il tool per attivarla. Via API o in esecuzioni schedulate la chiamata viene rifiutata.",
1156
1156
  platformSupported: "Resa nativa su WhatsApp e Teams",
@@ -1163,7 +1163,7 @@ var e = {
1163
1163
  channelAppDisabled: "Il canale App è disabilitato: il link diretto e l'iframe non funzioneranno.",
1164
1164
  embedCode: "Copia e incolla questo codice per incorporare l'agente nel tuo sito web.",
1165
1165
  widgetUrl: "Lascia l'indirizzo predefinito per caricare il widget di questa installazione.",
1166
- loadDelay: "Attesa prima di caricare il widget, per loader AMD lenti.",
1166
+ loadDelay: "Attesa prima del widget, per loader AMD lenti.",
1167
1167
  embedIframe: "Incorpora l'interfaccia della chat direttamente con un iframe.",
1168
1168
  embedPreview: "L'agente sarà accessibile al seguente URL.",
1169
1169
  externalContextSchema: "Definisci quali dati contestuali il sito ospitante può inviare all'agente.",
@@ -1178,7 +1178,7 @@ var e = {
1178
1178
  },
1179
1179
  modelSourceEndpoint: "Gira su {name}, l’endpoint della tua organizzazione: lo fattura il tuo fornitore, e i costi che vedi qui sono stimati dal listino.",
1180
1180
  modelSourcePlatform: "Gira sul gateway AI della piattaforma e si paga con il credito della tua organizzazione.",
1181
- reasoningDefault: "Valore predefinito della piattaforma, si applica finché non scegli un valore diverso.",
1181
+ reasoningDefault: "Il valore predefinito della piattaforma.",
1182
1182
  includeThoughts: "Invia i pensieri del modello al client insieme alla risposta.",
1183
1183
  reasoningNotSupported: "Il reasoning non è supportato per il provider selezionato.",
1184
1184
  voiceRemaining: "Tempo che resta in questa chiamata",
@@ -5,6 +5,13 @@ type __VLS_Props = {
5
5
  label?: string;
6
6
  placeholder?: string;
7
7
  readonly?: boolean;
8
+ /**
9
+ * Set by `VvFormField` with `invalidLabel` when the field fails
10
+ * its schema: the editor used to take neither, so a save refused
11
+ * for an empty answer said nothing.
12
+ */
13
+ invalid?: boolean;
14
+ invalidLabel?: string | string[];
8
15
  /** An md-editor-v3 language; the app's own locale by default. */
9
16
  language?: string;
10
17
  height?: string;
@@ -24,6 +31,8 @@ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, Compone
24
31
  }>, {
25
32
  label: string;
26
33
  readonly: boolean;
34
+ invalid: boolean;
35
+ invalidLabel: string | string[];
27
36
  modelValue: string;
28
37
  height: string;
29
38
  language: string;
@@ -26,6 +26,12 @@ type __VLS_Props = {
26
26
  * an endpoint model says where it runs.
27
27
  */
28
28
  showSource?: boolean;
29
+ /**
30
+ * Drawn as an option of a list: the icon at the size and distance of
31
+ * every other option with an icon (PkIconOption, DESIGN.md), instead
32
+ * of the size of the text around a chip.
33
+ */
34
+ asOption?: boolean;
29
35
  };
30
36
  declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
31
37
  declare const _default: typeof __VLS_export;
@@ -4,15 +4,6 @@ type __VLS_Props = {
4
4
  entry?: ModelCatalogEntry;
5
5
  /** Fallback for a model the catalog does not describe (an old id). */
6
6
  modelName?: string;
7
- /** Drawn only in the dropdown: the closed field has no room. */
8
- detailed?: boolean;
9
- /**
10
- * The name on its own line and the details under it. A dropdown is as
11
- * wide as the field that opens it, and on one line the details, which
12
- * cannot shrink, squeezed the name to nothing: the one thing you pick
13
- * by was the only thing that gave way.
14
- */
15
- stacked?: boolean;
16
7
  };
17
8
  declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
18
9
  declare const _default: typeof __VLS_export;
@@ -87,10 +87,9 @@ export declare const AgentApiToolSchema: z.ZodObject<{
87
87
  }, z.core.$strip>;
88
88
  /**
89
89
  * Turns what is typed in the name field into the characters an API tool name
90
- * allows: accents dropped, camelCase split with a hyphen, lowercase, every run
91
- * of other characters a hyphen. Underscores and hyphens are kept, so a valid
92
- * name comes back unchanged: the field applies this on every update, including
93
- * the one the input emits when the dialog loads a stored tool.
90
+ * allows ({@link toIdentifierInput}). Underscores and hyphens are kept, so a
91
+ * valid name comes back unchanged: the field applies this on every update,
92
+ * including the one the input emits when the dialog loads a stored tool.
94
93
  */
95
94
  export declare function toApiToolName(value?: string): string;
96
95
  export declare const AgentApiToolCreateSchema: z.ZodObject<{
@@ -1,5 +1,13 @@
1
1
  import { HttpMethod } from './HttpMethod';
2
2
  import * as z from 'zod';
3
+ /**
4
+ * Turns what is typed in the slug field into the characters a slug allows
5
+ * ({@link toIdentifierInput}). Hyphens are kept as typed, so a valid slug
6
+ * comes back unchanged: the field applies this on every update, including the
7
+ * one the input emits when the page loads a stored endpoint, and `a--b` used
8
+ * to become `a-b` there.
9
+ */
10
+ export declare function toEndpointSlug(value?: string): string;
3
11
  /**
4
12
  * The badge modifier for an HTTP verb, which is always the neutral one.
5
13
  *
@@ -52,6 +52,15 @@ export declare const zodQs: {
52
52
  sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{ [k_1 in S | `-${S}`]: k_1; } extends infer T ? { [k in keyof T]: T[k]; } : never>>>;
53
53
  };
54
54
  };
55
+ /**
56
+ * What is typed in an identifier field, in the characters the identifier
57
+ * allows: accents dropped, camelCase split with a hyphen, lowercase, every run
58
+ * of other characters a hyphen. Hyphens, and underscores when
59
+ * `keepUnderscores` is set, stay as typed, so a valid identifier comes back
60
+ * unchanged: the fields apply this on every update, including the one the
61
+ * input emits when it loads a stored value.
62
+ */
63
+ export declare function toIdentifierInput(value: string | undefined, keepUnderscores: boolean): string;
55
64
  /**
56
65
  * A tool name without the namespace a model invented for it (Gemini's
57
66
  * `default_api:toolName`). One definition, because several readers must