@8wave/ai-elements 0.119.0-beta.22 → 0.119.0-beta.26

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.
@@ -227,7 +227,7 @@ var e = {
227
227
  messagePlaceholder: "Placeholder",
228
228
  dismissableNotice: "Notice",
229
229
  footer: "Footer",
230
- privacyPolicyNotice: "Visible in the contact form.",
230
+ privacyPolicyNotice: "Privacy notice",
231
231
  fileUpload: "File upload",
232
232
  fileUploadEnabled: "Enable file upload",
233
233
  fileUploadMaxFileSize: "Max file size (MB)",
@@ -460,8 +460,8 @@ var e = {
460
460
  },
461
461
  visibility: {
462
462
  public: "Public",
463
- private: "Private",
464
- organization: "Organization"
463
+ private: "Signed-in users",
464
+ organization: "Organization only"
465
465
  },
466
466
  searchMode: {
467
467
  balanced: "Balanced (vector + keywords)",
@@ -1043,7 +1043,7 @@ var e = {
1043
1043
  interactiveLogin: "Permette agli utenti anonimi di accedere dalla chat. L'external token resta sempre attivo.",
1044
1044
  customCss: "CSS iniettato nello shadow DOM del widget. Permette di personalizzare l'interfaccia della chat dall'esterno.",
1045
1045
  dismissableNotice: "Verrà nascosto dopo il primo messaggio.",
1046
- privacyPolicyNotice: "Visibile del modulo di contatto.",
1046
+ privacyPolicyNotice: "Compare in fondo al modulo di contatto. Supporta il Markdown.",
1047
1047
  fileUploadEnabled: "Permetti agli utenti di allegare file ai messaggi.",
1048
1048
  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.",
1049
1049
  platformSupported: "Resa nativa su WhatsApp e Teams",
@@ -1086,8 +1086,8 @@ var e = {
1086
1086
  },
1087
1087
  visibility: {
1088
1088
  public: "Pubblico",
1089
- private: "Privato",
1090
- organization: "Organizzazione"
1089
+ private: "Utenti registrati",
1090
+ organization: "Solo organizzazione"
1091
1091
  },
1092
1092
  searchMode: {
1093
1093
  balanced: "Bilanciato (vettoriale + parole chiave)",
@@ -31,6 +31,10 @@ export type PermissionMap = Partial<Record<Action, Subject>>;
31
31
  * Evaluates a route-style permission map ({ action: Subject }) against an
32
32
  * ability instance. When `payload` is provided it is bound as subject
33
33
  * conditions, same as the HTTP route preHandler does with `request.body`.
34
+ * An empty object is checked like a missing payload: it says nothing about
35
+ * the resource, and as a subject it has no field for a rule's conditions to
36
+ * match, so a client that sent `{}` to a route taking no body (activate,
37
+ * deactivate) was refused what the same request without a body got.
34
38
  * Returns the first denied pair, or null when every check passes.
35
39
  * Single source of truth for both the HTTP preHandler and the Platform MCP
36
40
  * tool handlers.
@@ -16,9 +16,11 @@
16
16
  *
17
17
  * Visibility used to be a padlock for all three values, and the open one sat
18
18
  * on "public": that reads as "unprotected", which is both alarming and untrue.
19
- * The closed padlock on "private" stays, because it is the convention every
20
- * file service has taught, and the other two say who can see the agent: the
21
- * globe for anyone, the building for the organization.
19
+ * Each glyph now says who can use the agent: the globe for anyone, the
20
+ * shielded user for anyone signed in, the building for the organization.
21
+ * "private" kept a closed padlock for a while, but it is the wider of the two
22
+ * restricted values (any signed-in account, of any organization), and the
23
+ * padlock made it read as the narrowest.
22
24
  */
23
25
  export declare const AGENT_STATUS_GLYPHS: Record<string, string>;
24
26
  export declare const AGENT_VISIBILITY_GLYPHS: Record<string, string>;
@@ -27,4 +27,4 @@ export declare const InvitationsQuerystringSchema: z.ZodObject<{
27
27
  'page[size]': z.ZodDefault<z.ZodPipe<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
28
28
  }, z.core.$strip>;
29
29
  export type InvitationsQuerystring = z.infer<typeof InvitationsQuerystringSchema>;
30
- export declare const getColorByInvitationStatus: (status: Invitation["status"]) => "success" | "danger" | "warning" | "info" | undefined;
30
+ export declare const getColorByInvitationStatus: (status: Invitation["status"]) => "success" | "danger" | "warning" | "info" | "gray" | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.119.0-beta.22",
4
+ "version": "0.119.0-beta.26",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",