@8wave/ai-elements 0.121.0-beta.65 → 0.121.0-beta.67

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.
@@ -314,7 +314,8 @@ var e = {
314
314
  origin: "Origine",
315
315
  imageHosts: "Image hosts",
316
316
  imageHost: "Host",
317
- imageHostsHint: "Answers and cards load images by themselves only from these hosts and from the platform. An image from any other host shows its host and loads on a click, so an answer cannot send the conversation to a site through an image url.",
317
+ imageHostsHint: "Answers and cards load images by themselves only from these hosts and from the platform.",
318
+ imageHostsInfo: "An image from any other host shows its host and loads on a click, so an answer cannot send the conversation to a site through an image url.",
318
319
  conversations: "Conversations",
319
320
  newChat: "New chat",
320
321
  keyboardShortcuts: "Keyboard shortcuts",
@@ -429,10 +430,11 @@ var e = {
429
430
  hint: {
430
431
  hostToolNameInvalid: "Lowercase letters, digits and underscores, starting with a letter.",
431
432
  hostToolNameReserved: "Names starting with page_ or form_ are reserved for page tools.",
432
- hostTools: "The app that embeds the chat (the widget, or the /app page in an iframe) declares its tools and runs them itself. Only the names allowed here reach the model.",
433
+ hostTools: "The app that embeds the chat declares its tools and runs them itself.",
434
+ hostToolsInfo: "The app is the widget, or the /app page in an iframe. Only the tools allowed in this section reach the model.",
433
435
  hostToolsEnabled: "Off, the agent sees none of the app's tools, whatever it declares.",
434
436
  hostToolsNeedsOrigins: "The /app page in an iframe accepts as host only explicit trusted origins (in Security, without “*”). The widget does not need them.",
435
- hostToolsLabel: "Shown in the chat steps and in the prompt, for example “Eight Cell”.",
437
+ hostToolsLabel: "Shown in the chat steps and in the prompt, for example “Acme Sheets”.",
436
438
  hostToolsRequireConfirmation: "The user confirms before each call, whatever the app declares.",
437
439
  hostToolsConfirmDestructive: "Also ask before the tools the app declares as destructive.",
438
440
  hostToolsTimeout: "Past it, the call closes with no answer.",
@@ -441,8 +443,9 @@ var e = {
441
443
  pageAccessNeedsOrigins: "Without explicit trusted origins (in Security, without “*”) the agent stays at reading: it has to know which sites embed it.",
442
444
  pageAccessNotAccepted: "The risk of this level has not been accepted: until you accept it, the agent only reads the page.",
443
445
  pageAccessAccepted: "Risk accepted on {date}.",
444
- invalidCssSelector: "Invalid CSS selector",
445
- pageAccessExcludeSelectors: "The agent neither reads nor touches these elements and those with the data-agent-ignore attribute. Passwords, hidden fields and payment data are already excluded: other sensitive fields have to be marked by the site. An invalid selector turns page access off.",
446
+ invalidCssSelector: "Invalid CSS selector: while it stays, page access is off.",
447
+ pageAccessExcludeSelectors: "The agent neither reads nor touches these elements and those with the data-agent-ignore attribute.",
448
+ pageAccessExcludeSelectorsInfo: "Passwords, hidden fields and payment data are already excluded: other sensitive fields have to be marked by the site.",
446
449
  pageAccessConfirmEveryAction: "The user confirms every click and every write, not only submits and page changes.",
447
450
  pageAccessNotice: "Empty, the widget uses the level's own text.",
448
451
  modelRetired: "No longer available on the platform: move the agents using it to another model.",
@@ -504,11 +507,12 @@ var e = {
504
507
  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.",
505
508
  platformSupported: "Renders natively on WhatsApp and Teams",
506
509
  tool: {
507
- useAllUserKb: "Reads the memories the user shared with every agent of this organization, not just this one. Writing stays scoped to this agent.",
508
- useAllUserFiles: "Searches all the user's files, including those uploaded on other agents, not just this agent's.",
510
+ useAllUserKb: "Reads the memories the user shared with every agent of the organization.",
511
+ useAllUserFiles: "Searches all the user's files, including those uploaded on other agents.",
509
512
  createSpreadsheet: "When the user asks for it, the agent creates a new Excel file to download, and edits it in later requests. By turning this option on you accept that the agent puts in the file the data it reads in the conversation, in the knowledge base and from its tools. In the web chat and the widget for users with an account, and on Teams and WhatsApp.",
510
513
  createWordDocument: "When the user asks for it, the agent creates a new Word document to download, such as an offer, a letter or minutes, and edits it in later requests. By turning this option on you accept that the agent puts in the document the data it reads in the conversation, in the knowledge base and from its tools. In the web chat and the widget for users with an account, and on Teams and WhatsApp."
511
514
  },
515
+ toolInfo: { useAllUserKb: "Writing stays scoped to this agent." },
512
516
  toolRequiresApproval: "The agent waits for approval in the chat before running.",
513
517
  channelWidgetDisabled: "The Widget channel is disabled: the embed code and loader will not work.",
514
518
  channelAppDisabled: "The App channel is disabled: the direct link and iframe will not work.",
@@ -1127,7 +1131,8 @@ var e = {
1127
1131
  origin: "Origine",
1128
1132
  imageHosts: "Host delle immagini",
1129
1133
  imageHost: "Host",
1130
- imageHostsHint: "Risposte e card caricano da sole solo le immagini di questi host e della piattaforma. Un'immagine di un altro host mostra il suo host e si carica con un clic, così una risposta non può mandare la conversazione a un sito dentro l'url di un'immagine.",
1134
+ imageHostsHint: "Risposte e card caricano da sole solo le immagini di questi host e della piattaforma.",
1135
+ imageHostsInfo: "Un'immagine di un altro host mostra il suo host e si carica con un clic, così una risposta non può mandare la conversazione a un sito dentro l'url di un'immagine.",
1131
1136
  conversations: "Conversazioni",
1132
1137
  newChat: "Nuova chat",
1133
1138
  keyboardShortcuts: "Scorciatoie da tastiera",
@@ -1242,10 +1247,11 @@ var e = {
1242
1247
  hint: {
1243
1248
  hostToolNameInvalid: "Lettere minuscole, cifre e trattino basso, a partire da una lettera.",
1244
1249
  hostToolNameReserved: "I nomi che iniziano con page_ o form_ sono riservati ai tool di pagina.",
1245
- hostTools: "L'app che incorpora la chat (il widget, o la pagina /app in un iframe) dichiara i suoi tool e li esegue lei. Al modello arrivano solo i nomi ammessi qui.",
1250
+ hostTools: "L'app che incorpora la chat dichiara i suoi tool e li esegue lei.",
1251
+ hostToolsInfo: "L'app è il widget, o la pagina /app in un iframe. Al modello arrivano solo i tool ammessi in questa sezione.",
1246
1252
  hostToolsEnabled: "Spento, l'agente non vede nessun tool dell'app, qualunque cosa dichiari.",
1247
1253
  hostToolsNeedsOrigins: "La pagina /app in un iframe accetta come host solo le origini attendibili esplicite (in Sicurezza, senza «*»). Il widget non ne ha bisogno.",
1248
- hostToolsLabel: "Compare negli step della chat e nel prompt, per esempio «Eight Cell».",
1254
+ hostToolsLabel: "Compare negli step della chat e nel prompt, per esempio «Acme Sheets».",
1249
1255
  hostToolsRequireConfirmation: "L'utente conferma prima di ogni chiamata, qualunque cosa dichiari l'app.",
1250
1256
  hostToolsConfirmDestructive: "Chiedi conferma anche per i tool che l'app dichiara distruttivi.",
1251
1257
  hostToolsTimeout: "Oltre, la chiamata si chiude senza risposta.",
@@ -1254,8 +1260,9 @@ var e = {
1254
1260
  pageAccessNeedsOrigins: "Senza origini attendibili esplicite (in Sicurezza, senza «*») l'agente resta in lettura: deve sapere su quali siti è incorporato.",
1255
1261
  pageAccessNotAccepted: "Il rischio di questo livello non è stato accettato: finché non lo accetti, l'agente legge soltanto la pagina.",
1256
1262
  pageAccessAccepted: "Rischio accettato il {date}.",
1257
- invalidCssSelector: "Selettore CSS non valido",
1258
- pageAccessExcludeSelectors: "L'agente non legge né tocca questi elementi e quelli con l'attributo data-agent-ignore. Password, campi nascosti e dati di pagamento sono già esclusi: gli altri campi sensibili li deve marcare il sito. Un selettore non valido spegne l'accesso alla pagina.",
1263
+ invalidCssSelector: "Selettore CSS non valido: finché resta, l'accesso alla pagina è spento.",
1264
+ pageAccessExcludeSelectors: "L'agente non legge né tocca questi elementi e quelli con l'attributo data-agent-ignore.",
1265
+ pageAccessExcludeSelectorsInfo: "Password, campi nascosti e dati di pagamento sono già esclusi: gli altri campi sensibili li deve marcare il sito.",
1259
1266
  pageAccessConfirmEveryAction: "L'utente conferma ogni clic e ogni scrittura, non solo gli invii e i cambi di pagina.",
1260
1267
  pageAccessNotice: "Vuoto, il widget usa il testo del livello.",
1261
1268
  modelRetired: "Non più disponibile sulla piattaforma: sposta su un altro modello gli agenti che lo usano.",
@@ -1317,11 +1324,12 @@ var e = {
1317
1324
  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.",
1318
1325
  platformSupported: "Resa nativa su WhatsApp e Teams",
1319
1326
  tool: {
1320
- useAllUserKb: "Legge le memorie che l'utente ha condiviso con tutti gli agenti di questa organizzazione, non solo con questo. La scrittura resta legata a questo agente.",
1321
- useAllUserFiles: "Cerca in tutti i file dell'utente, anche quelli caricati su altri agenti, non solo in quelli di questo agente.",
1327
+ useAllUserKb: "Legge le memorie che l'utente ha condiviso con tutti gli agenti dell'organizzazione.",
1328
+ useAllUserFiles: "Cerca in tutti i file dell'utente, anche quelli caricati su altri agenti.",
1322
1329
  createSpreadsheet: "Quando l'utente lo chiede, l'agente crea un file Excel nuovo da scaricare, e lo modifica nelle richieste successive. Accendendo l'opzione accetti che l'agente metta nel file i dati che legge nella conversazione, nella knowledge base e dagli strumenti. Nella chat web e nel widget per gli utenti con un account, e su Teams e WhatsApp.",
1323
1330
  createWordDocument: "Quando l'utente lo chiede, l'agente crea un documento Word nuovo da scaricare, come un'offerta, una lettera o un verbale, e lo modifica nelle richieste successive. Accendendo l'opzione accetti che l'agente metta nel documento i dati che legge nella conversazione, nella knowledge base e dagli strumenti. Nella chat web e nel widget per gli utenti con un account, e su Teams e WhatsApp."
1324
1331
  },
1332
+ toolInfo: { useAllUserKb: "La scrittura resta legata a questo agente." },
1325
1333
  toolRequiresApproval: "Prima di eseguire, l'agente attende l'approvazione in chat.",
1326
1334
  channelWidgetDisabled: "Il canale Widget è disabilitato: il codice embed e il loader non funzioneranno.",
1327
1335
  channelAppDisabled: "Il canale App è disabilitato: il link diretto e l'iframe non funzioneranno.",
@@ -2,6 +2,8 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
2
2
  type __VLS_Props = {
3
3
  label: string;
4
4
  hintLabel?: string;
5
+ /** A caveat the hint has no room for, in an info popover by the label. */
6
+ infoLabel?: string;
5
7
  /** Field name, unique within the form. */
6
8
  name?: string;
7
9
  disabled?: boolean;
@@ -26,9 +28,9 @@ type __VLS_ModelProps = {
26
28
  modelValue?: boolean;
27
29
  };
28
30
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
29
- declare var __VLS_8: {};
31
+ declare var __VLS_13: {};
30
32
  type __VLS_Slots = {} & {
31
- default?: (props: typeof __VLS_8) => any;
33
+ default?: (props: typeof __VLS_13) => any;
32
34
  };
33
35
  declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
34
36
  "update:modelValue": (value: boolean) => any;
@@ -9,11 +9,24 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
9
9
  * The trigger is a focusable span, not a button: it can sit inside the
10
10
  * `<label>` of a switch, where a button is invalid HTML, and a click on it
11
11
  * does not toggle the switch.
12
+ *
13
+ * The default slot replaces the icon, for a badge that explains itself
14
+ * when pointed at: the badge's own text then names the trigger.
12
15
  */
13
16
  type __VLS_Props = {
14
17
  text: string;
15
18
  label?: string;
16
19
  };
17
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
20
+ declare var __VLS_1: {};
21
+ type __VLS_Slots = {} & {
22
+ default?: (props: typeof __VLS_1) => any;
23
+ };
24
+ declare const __VLS_base: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
25
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
26
  declare const _default: typeof __VLS_export;
19
27
  export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -151,9 +151,9 @@ type __VLS_ModelProps = {
151
151
  } | undefined;
152
152
  };
153
153
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
154
- declare var __VLS_878: {};
154
+ declare var __VLS_883: {};
155
155
  type __VLS_Slots = {} & {
156
- default?: (props: typeof __VLS_878) => any;
156
+ default?: (props: typeof __VLS_883) => any;
157
157
  };
158
158
  declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
159
159
  "update:reasoning": (value: {