@frontera-sdk/chat-ui 1.52.47 → 1.53.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.
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { getToolMeta } from './chunk-4GXQI4E4.js';
2
+ import { getToolMeta } from './chunk-ITMOMVIV.js';
3
3
  import { Button } from './chunk-UWKO24VT.js';
4
4
  import { ChevronDownMediumIcon, CrossMediumIcon } from './chunk-TUDJ35AB.js';
5
5
  import { useChatClientOptional } from './chunk-6JLWE7M3.js';
@@ -1880,6 +1880,26 @@ var en_default = {
1880
1880
  "admin.voices.speedDefault": "Default",
1881
1881
  "admin.voices.speedOption": "{label} ({value}\xD7)",
1882
1882
  "admin.voices.speedValue": "{value}\xD7",
1883
+ "admin.documentReading.heading": "Document reading",
1884
+ "admin.documentReading.subtitle": "The model that reads scanned pages, pictures and charts in knowledge documents. Text pages, spreadsheets, Word and PowerPoint files are read without it.",
1885
+ "admin.documentReading.label": "Document reading model",
1886
+ "admin.documentReading.placeholder": "Choose a model",
1887
+ "admin.documentReading.notChosen": "Not chosen",
1888
+ "admin.documentReading.clear": "Don't read pictures",
1889
+ "admin.documentReading.notChosenNote": "Scanned pages, pictures and charts in your knowledge bases are not read until you choose a model.",
1890
+ "admin.documentReading.noModels": "None of your organization's AI models accept images. Add one that does in the model list above.",
1891
+ "admin.documentDetails.heading": "Document details",
1892
+ "admin.documentDetails.subtitle": "The model that writes what each knowledge document's Details show: its type, owner, number, version and dates, the fields of its type, and a summary of each table. It also notes the people and companies a document names, so Agents can look them up. It reads each document's text once, when it is added.",
1893
+ "admin.documentDetails.label": "Document details model",
1894
+ "admin.documentDetails.placeholder": "Choose a model",
1895
+ "admin.documentDetails.notChosen": "Not chosen",
1896
+ "admin.documentDetails.clear": "Don't write document details",
1897
+ "admin.documentDetails.notChosenNote": "Knowledge documents get no card, fields, people and companies or table summaries in their Details until you choose a model. Agents can still search and read them.",
1898
+ "admin.documentDetails.noModels": "Your organization has no AI models yet. Add one in the model list above.",
1899
+ "admin.documentReading.unavailableNote": "The chosen model is not among your organization's usable models: its provider is not set up, or it does not accept images. Scanned pages, pictures and charts are not read until you set up its provider or choose another model.",
1900
+ "admin.documentReading.loadFailed": "The document reading model could not be loaded. Reload the page to try again.",
1901
+ "admin.documentDetails.unavailableNote": "The chosen model is not among your organization's usable models, because its provider is not set up. Documents get no details until you set up its provider or choose another model.",
1902
+ "admin.documentDetails.loadFailed": "The document details model could not be loaded. Reload the page to try again.",
1883
1903
  "admin.speech.heading": "Speech",
1884
1904
  "admin.speech.subtitle": "How Agents listen and speak, in voice calls and when Chat reads replies aloud. Each Agent picks a transcription model and a voice on its Voice page.",
1885
1905
  "admin.speech.listening.heading": "Listening (speech to text)",
@@ -4474,8 +4494,15 @@ var en_default = {
4474
4494
  "omnichannel.reports.nobody": "Nobody yet",
4475
4495
  "omnichannel.reports.noChannel": "Removed channel",
4476
4496
  "omnichannel.reports.reasons.title": "Top handover reasons",
4477
- "omnichannel.reports.reasons.intro": "The reasons the Agent gave most often when it handed a chat to your team, as it wrote them.",
4497
+ "omnichannel.reports.reasons.intro": "Handovers by the reason they had: the one the Agent picked, a person changed, or Omnichannel set for its own handovers. Open a reason to read how the Agent described its chats.",
4478
4498
  "omnichannel.reports.reasons.empty": "The Agent handed no chats over in this period.",
4499
+ "omnichannel.handoverReason.label": "Reason",
4500
+ "omnichannel.handoverReason.none": "Not categorized",
4501
+ "omnichannel.handoverReason.system.no_agent": "No Agent on this channel",
4502
+ "omnichannel.handoverReason.system.complaint_topic": "Complaint topic",
4503
+ "omnichannel.handoverReason.system.unanswered": "The Agent couldn't answer",
4504
+ "omnichannel.handoverReason.changeFailed": "The reason was not changed",
4505
+ "omnichannel.reports.reasons.examples": "How the Agent described them",
4479
4506
  "omnichannel.reports.metric.csat_score": "CSAT",
4480
4507
  "omnichannel.reports.metric.sla_attainment": "SLA attainment",
4481
4508
  "omnichannel.reports.metric.first_reply_p50_minutes": "First reply wait",
@@ -4487,7 +4514,7 @@ var en_default = {
4487
4514
  "omnichannel.reports.metric.csat_average": "Average rating",
4488
4515
  "omnichannel.reports.metric.csat_responses": "Ratings",
4489
4516
  "omnichannel.reports.metric.repeat_contact_rate": "Repeat contact",
4490
- "omnichannel.reports.metric.back_to_agent_rate": "Back with the Agent",
4517
+ "omnichannel.reports.metric.resolve_rate": "Resolve rate",
4491
4518
  "omnichannel.reports.how.csat_score": "Ratings of 4 or 5 stars out of all ratings customers gave after a person resolved their chat.",
4492
4519
  "omnichannel.reports.how.sla_attainment": "Handovers whose first reply came by the channel's target, out of those met or missed. Chats closed before the target without a reply are not counted.",
4493
4520
  "omnichannel.reports.how.first_reply_p50_minutes": "Half of the handovers got a person's first reply within this time; the second line is the time 90% got one within.",
@@ -7835,6 +7862,26 @@ var id_default = {
7835
7862
  "admin.voices.speedDefault": "Bawaan",
7836
7863
  "admin.voices.speedOption": "{label} ({value}\xD7)",
7837
7864
  "admin.voices.speedValue": "{value}\xD7",
7865
+ "admin.documentReading.heading": "Pembacaan dokumen",
7866
+ "admin.documentReading.subtitle": "Model yang membaca halaman hasil pindai, gambar, dan grafik di dokumen pengetahuan. Halaman teks, spreadsheet, file Word dan PowerPoint dibaca tanpa model ini.",
7867
+ "admin.documentReading.label": "Model pembaca dokumen",
7868
+ "admin.documentReading.placeholder": "Pilih model",
7869
+ "admin.documentReading.notChosen": "Belum dipilih",
7870
+ "admin.documentReading.clear": "Jangan baca gambar",
7871
+ "admin.documentReading.notChosenNote": "Halaman hasil pindai, gambar, dan grafik di basis pengetahuan Anda tidak dibaca sampai Anda memilih model.",
7872
+ "admin.documentDetails.heading": "Detail dokumen",
7873
+ "admin.documentDetails.subtitle": "Model yang menulis isi Detail setiap dokumen pengetahuan: jenis, pemilik, nomor, versi dan tanggalnya, kolom sesuai jenisnya, serta ringkasan setiap tabel. Model ini juga mencatat orang dan perusahaan yang disebut dokumen, agar Agent bisa mencarinya. Teks setiap dokumen dibaca satu kali, saat ditambahkan.",
7874
+ "admin.documentDetails.label": "Model detail dokumen",
7875
+ "admin.documentDetails.placeholder": "Pilih model",
7876
+ "admin.documentDetails.notChosen": "Belum dipilih",
7877
+ "admin.documentDetails.clear": "Jangan tulis detail dokumen",
7878
+ "admin.documentDetails.notChosenNote": "Detail dokumen pengetahuan tidak berisi kartu, kolom, orang dan perusahaan, atau ringkasan tabel sampai Anda memilih model. Agent tetap bisa mencari dan membacanya.",
7879
+ "admin.documentDetails.noModels": "Organisasi Anda belum punya model AI. Tambahkan model di daftar model di atas.",
7880
+ "admin.documentReading.noModels": "Belum ada model AI organisasi Anda yang menerima gambar. Tambahkan model yang menerima gambar di daftar model di atas.",
7881
+ "admin.documentReading.unavailableNote": "Model yang dipilih tidak termasuk model organisasi Anda yang bisa dipakai: penyedianya belum diatur, atau model itu tidak menerima gambar. Halaman hasil pindai, gambar, dan grafik tidak dibaca sampai Anda mengatur penyedianya atau memilih model lain.",
7882
+ "admin.documentReading.loadFailed": "Model pembaca dokumen tidak dapat dimuat. Muat ulang halaman untuk mencoba lagi.",
7883
+ "admin.documentDetails.unavailableNote": "Model yang dipilih tidak termasuk model organisasi Anda yang bisa dipakai, karena penyedianya belum diatur. Dokumen tidak mendapat detail sampai Anda mengatur penyedianya atau memilih model lain.",
7884
+ "admin.documentDetails.loadFailed": "Model detail dokumen tidak dapat dimuat. Muat ulang halaman untuk mencoba lagi.",
7838
7885
  "admin.speech.heading": "Ucapan",
7839
7886
  "admin.speech.subtitle": "Cara Agen mendengar dan berbicara, dalam panggilan suara dan saat Chat membacakan balasan. Setiap Agen memilih satu model transkripsi dan satu suara di halaman Suara-nya.",
7840
7887
  "admin.speech.listening.heading": "Mendengar (ucapan ke teks)",
@@ -10410,8 +10457,15 @@ var id_default = {
10410
10457
  "omnichannel.reports.nobody": "Belum ada",
10411
10458
  "omnichannel.reports.noChannel": "Kanal yang dihapus",
10412
10459
  "omnichannel.reports.reasons.title": "Alasan penerusan teratas",
10413
- "omnichannel.reports.reasons.intro": "Alasan yang paling sering diberikan Agent saat meneruskan chat ke tim Anda, sesuai tulisannya.",
10460
+ "omnichannel.reports.reasons.intro": "Penerusan menurut alasannya: yang dipilih Agent, diubah seseorang, atau ditetapkan Omnichannel untuk penerusannya sendiri. Buka sebuah alasan untuk membaca cara Agent menjelaskan chatnya.",
10414
10461
  "omnichannel.reports.reasons.empty": "Agent tidak meneruskan chat dalam periode ini.",
10462
+ "omnichannel.handoverReason.label": "Alasan",
10463
+ "omnichannel.handoverReason.none": "Belum dikategorikan",
10464
+ "omnichannel.handoverReason.system.no_agent": "Tidak ada Agent di kanal ini",
10465
+ "omnichannel.handoverReason.system.complaint_topic": "Topik keluhan",
10466
+ "omnichannel.handoverReason.system.unanswered": "Agent tidak bisa menjawab",
10467
+ "omnichannel.handoverReason.changeFailed": "Alasan tidak diubah",
10468
+ "omnichannel.reports.reasons.examples": "Cara Agent menjelaskannya",
10415
10469
  "omnichannel.reports.metric.csat_score": "CSAT",
10416
10470
  "omnichannel.reports.metric.sla_attainment": "Pencapaian SLA",
10417
10471
  "omnichannel.reports.metric.first_reply_p50_minutes": "Waktu tunggu balasan pertama",
@@ -10423,7 +10477,7 @@ var id_default = {
10423
10477
  "omnichannel.reports.metric.csat_average": "Rata-rata nilai",
10424
10478
  "omnichannel.reports.metric.csat_responses": "Penilaian",
10425
10479
  "omnichannel.reports.metric.repeat_contact_rate": "Kontak berulang",
10426
- "omnichannel.reports.metric.back_to_agent_rate": "Kembali ke Agent",
10480
+ "omnichannel.reports.metric.resolve_rate": "Tingkat penyelesaian",
10427
10481
  "omnichannel.reports.how.csat_score": "Nilai 4 atau 5 bintang dari semua nilai yang diberikan pelanggan setelah chat diselesaikan oleh tim.",
10428
10482
  "omnichannel.reports.how.sla_attainment": "Penerusan yang balasan pertamanya tiba sebelum target kanal, dari yang tercapai atau terlewat. Chat yang ditutup sebelum target tanpa balasan tidak dihitung.",
10429
10483
  "omnichannel.reports.how.first_reply_p50_minutes": "Separuh penerusan mendapat balasan pertama dalam waktu ini; baris kedua adalah waktu 90% mendapatkannya.",
package/dist/header.js CHANGED
@@ -1,12 +1,11 @@
1
1
  'use client';
2
- export { ChatHeader, ChatHeaderActions } from './chunk-YZ6MZLEZ.js';
3
- import './chunk-X3QVICX7.js';
4
- import './chunk-6ROTTPLW.js';
2
+ export { ChatHeader, ChatHeaderActions } from './chunk-OHHRDREC.js';
3
+ import './chunk-TER2I37Y.js';
5
4
  import './chunk-CWAOLMFS.js';
6
- import './chunk-T5SANYSX.js';
7
- import './chunk-IY27XSPQ.js';
8
- import './chunk-LAELBWN2.js';
9
- import './chunk-4GXQI4E4.js';
5
+ import './chunk-FZ3VSITY.js';
6
+ import './chunk-ZKB77W6J.js';
7
+ import './chunk-M6GWBAO2.js';
8
+ import './chunk-ITMOMVIV.js';
10
9
  import './chunk-UWKO24VT.js';
11
10
  import './chunk-2P4IEVOQ.js';
12
11
  import './chunk-CDTES65T.js';
package/dist/message.js CHANGED
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- export { Message, Thinking } from './chunk-C5SCW5HO.js';
3
- import './chunk-6ROTTPLW.js';
2
+ export { Message, Thinking } from './chunk-3RO4V24O.js';
3
+ import './chunk-TER2I37Y.js';
4
4
  import './chunk-CWAOLMFS.js';
5
- import './chunk-T5SANYSX.js';
6
- import './chunk-IY27XSPQ.js';
7
- import './chunk-LAELBWN2.js';
8
- import './chunk-4GXQI4E4.js';
5
+ import './chunk-FZ3VSITY.js';
6
+ import './chunk-ZKB77W6J.js';
7
+ import './chunk-M6GWBAO2.js';
8
+ import './chunk-ITMOMVIV.js';
9
9
  import './chunk-UWKO24VT.js';
10
10
  import './chunk-2P4IEVOQ.js';
11
11
  import './chunk-CDTES65T.js';
@@ -1,8 +1,7 @@
1
1
  'use client';
2
- export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-42PKM4PU.js';
3
- import './chunk-X3QVICX7.js';
4
- import './chunk-T5SANYSX.js';
5
- import './chunk-IY27XSPQ.js';
2
+ export { DEFAULT_SHORTCUTS, NewSessionPrompt, buildDefaultShortcuts } from './chunk-GDJGXHPE.js';
3
+ import './chunk-FZ3VSITY.js';
4
+ import './chunk-ZKB77W6J.js';
6
5
  import './chunk-2P4IEVOQ.js';
7
6
  import './chunk-RVJEI4ZY.js';
8
7
  import './chunk-LGVMMBL3.js';
package/dist/parts.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { ToolCallItem } from './chunk-LAELBWN2.js';
3
- import './chunk-4GXQI4E4.js';
2
+ import { ToolCallItem } from './chunk-M6GWBAO2.js';
3
+ import './chunk-ITMOMVIV.js';
4
4
  import './chunk-UWKO24VT.js';
5
5
  import './chunk-2P4IEVOQ.js';
6
6
  import './chunk-TUDJ35AB.js';
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  import { DeckNotesCard, deckOwnsArrowKeys } from './chunk-4FRTPVJT.js';
3
- import { resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb, ArtifactSkeleton } from './chunk-M7JCQQ3Z.js';
3
+ import { resolveStageWidth, zoomPercent, DECK_ZOOM_LEVELS, LazyThumb, ArtifactSkeleton } from './chunk-DEHUNST4.js';
4
4
  import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
5
- import { useTranslation, useIsMobile } from './chunk-IY27XSPQ.js';
5
+ import { useTranslation, useIsMobile } from './chunk-ZKB77W6J.js';
6
6
  import { Button, ChevronDownMediumIcon, ScrollArea } from './chunk-UWKO24VT.js';
7
7
  import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, ChevronRightIcon } from './chunk-C3HW5S2Z.js';
8
8
  import { cn } from './chunk-LGVMMBL3.js';
@@ -1,7 +1,7 @@
1
1
  'use client';
2
- import { zoomPercent, DECK_ZOOM_LEVELS, ArtifactSkeleton, LazyThumb } from './chunk-M7JCQQ3Z.js';
2
+ import { zoomPercent, DECK_ZOOM_LEVELS, ArtifactSkeleton, LazyThumb } from './chunk-DEHUNST4.js';
3
3
  import { ChevronLeftIcon } from './chunk-CWAOLMFS.js';
4
- import { useTranslation, useIsMobile } from './chunk-IY27XSPQ.js';
4
+ import { useTranslation, useIsMobile } from './chunk-ZKB77W6J.js';
5
5
  import { Button, ChevronDownMediumIcon, ScrollArea } from './chunk-UWKO24VT.js';
6
6
  import { ChevronRightIcon, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuRadioGroup, DropdownMenuRadioItem } from './chunk-C3HW5S2Z.js';
7
7
  import { cn } from './chunk-LGVMMBL3.js';
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- export { PendingCards } from './chunk-KVJ4JRMC.js';
3
- import './chunk-4GXQI4E4.js';
2
+ export { PendingCards } from './chunk-YH7IIRDX.js';
3
+ import './chunk-ITMOMVIV.js';
4
4
  import './chunk-UWKO24VT.js';
5
5
  import './chunk-2P4IEVOQ.js';
6
6
  import './chunk-TUDJ35AB.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontera-sdk/chat-ui",
3
- "version": "1.52.47",
3
+ "version": "1.53.0",
4
4
  "description": "Ready-made React components for embedding a Frontera agent conversation — message rendering, tool calls, artifacts and composer.",
5
5
  "keywords": [
6
6
  "frontera",
@@ -89,8 +89,8 @@
89
89
  },
90
90
  "dependencies": {
91
91
  "@elysiajs/eden": "^1.4.9",
92
- "@frontera-sdk/chat": "1.52.47",
93
- "@frontera-sdk/core": "1.52.47",
92
+ "@frontera-sdk/chat": "1.53.0",
93
+ "@frontera-sdk/core": "1.53.0",
94
94
  "@radix-ui/react-alert-dialog": "^1.1.23",
95
95
  "@radix-ui/react-collapsible": "^1.1.12",
96
96
  "@radix-ui/react-compose-refs": "^1.1.5",
@@ -1,32 +0,0 @@
1
- 'use client';
2
- import { jsx } from 'react/jsx-runtime';
3
-
4
- // ../icons/src/react/magnifying-glass.tsx
5
- function MagnifyingGlassIcon(props) {
6
- return /* @__PURE__ */ jsx(
7
- "svg",
8
- {
9
- "aria-hidden": "true",
10
- role: "img",
11
- "aria-label": "magnifying-glass, search",
12
- width: "24px",
13
- height: "24px",
14
- viewBox: "0 0 24 24",
15
- fill: "none",
16
- xmlns: "http://www.w3.org/2000/svg",
17
- ...props,
18
- children: /* @__PURE__ */ jsx(
19
- "path",
20
- {
21
- d: "M20.25 20.25L16.1265 16.1265M16.1265 16.1265C17.4385 14.8145 18.25 13.002 18.25 11C18.25 6.99594 15.0041 3.75 11 3.75C6.99594 3.75 3.75 6.99594 3.75 11C3.75 15.0041 6.99594 18.25 11 18.25C13.002 18.25 14.8145 17.4385 16.1265 16.1265Z",
22
- stroke: "currentColor",
23
- strokeWidth: "1.5",
24
- strokeLinecap: "round",
25
- strokeLinejoin: "round"
26
- }
27
- )
28
- }
29
- );
30
- }
31
-
32
- export { MagnifyingGlassIcon };