@burdenoff/fe-libs 2026.1007.6 → 2026.1008.1
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/dist/shared/assistant/attachmentCommit.d.ts +175 -0
- package/dist/shared/assistant/attachmentCommit.d.ts.map +1 -0
- package/dist/shared/assistant/attachmentCommit.js +638 -0
- package/dist/shared/assistant/attachments.d.ts +39 -19
- package/dist/shared/assistant/attachments.d.ts.map +1 -1
- package/dist/shared/assistant/history/historyEngine.js +280 -280
- package/dist/shared/assistant/i18nManifest.d.ts +14 -2
- package/dist/shared/assistant/i18nManifest.d.ts.map +1 -1
- package/dist/shared/assistant/i18nManifest.js +17 -3
- package/dist/shared/assistant/index.d.ts +3 -0
- package/dist/shared/assistant/index.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantChatArea.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantChatArea.js +1390 -1371
- package/dist/shared/assistant/ui/composer/AssistantAttachmentChips.d.ts +8 -5
- package/dist/shared/assistant/ui/composer/AssistantAttachmentChips.d.ts.map +1 -1
- package/dist/shared/assistant/ui/composer/AssistantAttachmentChips.js +26 -9
- package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts +3 -2
- package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts.map +1 -1
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +214 -125
- package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts +10 -0
- package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts.map +1 -1
- package/dist/shared/assistant/ui/voice/AssistantVoiceSession.js +124 -116
- package/dist/shared/assistant/useAssistantAttachments.d.ts +20 -2
- package/dist/shared/assistant/useAssistantAttachments.d.ts.map +1 -1
- package/dist/shared/assistant/useAssistantAttachments.js +146 -202
- package/dist/shared/assistant/useAttachmentCommitter.d.ts +17 -0
- package/dist/shared/assistant/useAttachmentCommitter.d.ts.map +1 -0
- package/dist/shared/assistant/useAttachmentCommitter.js +41 -0
- package/dist/shared/assistant/voiceCommit.d.ts +36 -0
- package/dist/shared/assistant/voiceCommit.d.ts.map +1 -0
- package/dist/shared/assistant/voiceCommit.js +24 -0
- package/dist/shared-assistant.js +161 -158
- package/dist/storage/filesPort.d.ts +111 -0
- package/dist/storage/filesPort.d.ts.map +1 -0
- package/dist/storage/filesPort.js +262 -0
- package/dist/storage/index.d.ts +2 -0
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/storage/index.js +9 -8
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { AssistantAttachment } from '../../attachments';
|
|
|
3
3
|
interface Props {
|
|
4
4
|
attachments: AssistantAttachment[];
|
|
5
5
|
onRemove: (id: string) => void;
|
|
6
|
-
/**
|
|
6
|
+
/** Clear a failed attachment's error so the next Send saves it again from the bytes already held. */
|
|
7
7
|
onRetry: (id: string) => void;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
/**
|
|
@@ -19,10 +19,13 @@ interface Props {
|
|
|
19
19
|
/**
|
|
20
20
|
* Pending-attachment strip above the composer input (Workstream 3).
|
|
21
21
|
*
|
|
22
|
-
* Images get a thumbnail, everything else a typed icon chip.
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
22
|
+
* Images get a thumbnail, everything else a typed icon chip. Nothing is saved to
|
|
23
|
+
* Files until Send, so a chip is just "ready" until then. While Send saves it the
|
|
24
|
+
* chip shows a progress bar and a percentage (and cannot be removed — the save is
|
|
25
|
+
* using it); when a Send could not save it, a red outline plus the reason
|
|
26
|
+
* (`saveError`), and the person can press Send again or remove it. A file that is
|
|
27
|
+
* deliberately not saved (over the 5 MB direct-upload limit, text still sent) says
|
|
28
|
+
* so on its chip.
|
|
26
29
|
*/
|
|
27
30
|
export declare const AssistantAttachmentChips: FC<Props>;
|
|
28
31
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantAttachmentChips.d.ts","sourceRoot":"","sources":["../../../../../src/shared/assistant/ui/composer/AssistantAttachmentChips.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAUhC,OAAO,EAAe,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE1E,UAAU,KAAK;IACb,WAAW,EAAE,mBAAmB,EAAE,CAAC;IACnC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,
|
|
1
|
+
{"version":3,"file":"AssistantAttachmentChips.d.ts","sourceRoot":"","sources":["../../../../../src/shared/assistant/ui/composer/AssistantAttachmentChips.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAUhC,OAAO,EAAe,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE1E,UAAU,KAAK;IACb,WAAW,EAAE,mBAAmB,EAAE,CAAC;IACnC,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,qGAAqG;IACrG,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,KAAK,CA+J9C,CAAC"}
|
|
@@ -10,7 +10,7 @@ var u = ({ attachments: u, onRemove: d, onRetry: f, preparingCount: p = 0, disab
|
|
|
10
10
|
"aria-label": h("attachments.listLabel", "Attached files"),
|
|
11
11
|
"data-testid": "assistant-attachment-chips",
|
|
12
12
|
children: [u.map((e) => {
|
|
13
|
-
let u = e.status === "pending" || e.status === "uploading", p = e.status === "error";
|
|
13
|
+
let u = e.status === "pending" || e.status === "uploading", p = e.status === "error" || !!e.saveError, g = e.status === "uploading", _ = Math.max(0, Math.min(100, Math.round(e.progress ?? 0))), v = p ? e.saveError ?? e.error ?? h("attachments.failed", "Upload failed") : g ? e.progressNote ?? h("attachments.savingProgress", "Saving {{percent}}%", { percent: _ }) : u ? h("attachments.uploading", "Uploading…") : e.inlineOnly ? h("attachments.inlineOnly", "Not saved to Files (over 5 MB). Its text is still included.") : t(e.size);
|
|
14
14
|
return /* @__PURE__ */ l("li", {
|
|
15
15
|
className: `flex max-w-[220px] items-center gap-1.5 rounded-lg border py-1 pl-1 pr-1.5 ${p ? "border-status-error-text/40 bg-status-error-bg/10" : "border-border-subtle bg-bg-surface"}`,
|
|
16
16
|
"data-testid": "assistant-attachment-chip",
|
|
@@ -25,15 +25,32 @@ var u = ({ attachments: u, onRemove: d, onRetry: f, preparingCount: p = 0, disab
|
|
|
25
25
|
}),
|
|
26
26
|
/* @__PURE__ */ l("span", {
|
|
27
27
|
className: "min-w-0 flex-1",
|
|
28
|
-
children: [
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
children: [
|
|
29
|
+
/* @__PURE__ */ c("span", {
|
|
30
|
+
className: "block truncate text-[11px] font-medium leading-tight text-text-primary",
|
|
31
|
+
children: e.filename
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ c("span", {
|
|
34
|
+
className: `block truncate text-[10px] leading-tight ${p ? "text-status-error-text" : "text-text-muted"}`,
|
|
35
|
+
title: v,
|
|
36
|
+
children: v
|
|
37
|
+
}),
|
|
38
|
+
g ? /* @__PURE__ */ c("span", {
|
|
39
|
+
role: "progressbar",
|
|
40
|
+
"aria-label": h("attachments.saving", "Saving your attachments…"),
|
|
41
|
+
"aria-valuemin": 0,
|
|
42
|
+
"aria-valuemax": 100,
|
|
43
|
+
"aria-valuenow": _,
|
|
44
|
+
className: "mt-0.5 block h-1 overflow-hidden rounded-full bg-bg-sunken",
|
|
45
|
+
"data-testid": "assistant-attachment-progress",
|
|
46
|
+
children: /* @__PURE__ */ c("span", {
|
|
47
|
+
className: "block h-full rounded-full bg-action-primary-bg transition-[width]",
|
|
48
|
+
style: { width: `${_}%` }
|
|
49
|
+
})
|
|
50
|
+
}) : null
|
|
51
|
+
]
|
|
35
52
|
}),
|
|
36
|
-
|
|
53
|
+
e.status === "error" && /* @__PURE__ */ c("button", {
|
|
37
54
|
type: "button",
|
|
38
55
|
onClick: () => f(e.id),
|
|
39
56
|
disabled: m,
|
|
@@ -11,8 +11,9 @@ interface Props {
|
|
|
11
11
|
*/
|
|
12
12
|
writeAccessDenied?: boolean;
|
|
13
13
|
/**
|
|
14
|
-
* Send the message. `attachments` are already
|
|
15
|
-
*
|
|
14
|
+
* Send the message. `attachments` are already SAVED to Files and ready (the
|
|
15
|
+
* composer saves them first, at Send, and sends nothing if that fails); the
|
|
16
|
+
* chat area folds them into the prompt and onto the user bubble.
|
|
16
17
|
*/
|
|
17
18
|
onSend: (message: string, attachments: AssistantAttachment[]) => void;
|
|
18
19
|
/** True while a turn is in-flight (assistant busy) — disables send + shows the spinner. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantComposer.d.ts","sourceRoot":"","sources":["../../../../../src/shared/assistant/ui/composer/AssistantComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AssistantComposer.d.ts","sourceRoot":"","sources":["../../../../../src/shared/assistant/ui/composer/AssistantComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAG9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAQjD,OAAO,EAGL,KAAK,mBAAmB,EAEzB,MAAM,mBAAmB,CAAC;AAS3B,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,yBAAyB,CAAC;AAEjC,UAAU,KAAK;IACb;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,KAAK,IAAI,CAAC;IACtE,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,qDAAqD;IACrD,cAAc,EAAE,mBAAmB,EAAE,CAAC;IACtC;;;;;;;;;;OAUG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,YAAY,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,qFAAqF;IACrF,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAYD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,KAAK,CA6mBvC,CAAC"}
|
|
@@ -1,184 +1,273 @@
|
|
|
1
1
|
import { useI18n as e } from "../../../providers/shell/I18nProvider.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
2
|
+
import { EscapeLayer as t } from "../../../components/EscapeLayer.js";
|
|
3
|
+
import { useVoiceInput as n } from "../../voice/useVoiceInput.js";
|
|
4
|
+
import { useAssistantTr as r } from "../../i18n.js";
|
|
5
|
+
import { useAssistantStore as i } from "../../store.js";
|
|
6
|
+
import { languageDisplayName as ee } from "../../voice/speechVoices.js";
|
|
7
|
+
import { resolveAssistantLanguage as te } from "../../voice/languages.js";
|
|
8
|
+
import { getSendableAttachments as a } from "../../attachments.js";
|
|
9
|
+
import { ATTACHMENT_COMMIT_CODES as o } from "../../attachmentCommit.js";
|
|
10
|
+
import { AssistantAttachmentButton as ne } from "./AssistantAttachmentButton.js";
|
|
11
|
+
import { AssistantAttachmentChips as re } from "./AssistantAttachmentChips.js";
|
|
12
|
+
import { AssistantModeSelector as ie } from "./AssistantModeSelector.js";
|
|
13
|
+
import { AssistantVoiceButton as ae, ListeningDot as oe } from "./AssistantVoiceButton.js";
|
|
14
|
+
import { AssistantVoiceSessionButton as se } from "../voice/AssistantVoiceSessionButton.js";
|
|
15
|
+
import { useAssistantAttachments as ce } from "../../useAssistantAttachments.js";
|
|
16
|
+
import { useCallback as s, useEffect as c, useLayoutEffect as le, useMemo as ue, useRef as l, useState as u } from "react";
|
|
17
|
+
import { ArrowUp as de, Loader2 as d } from "lucide-react";
|
|
18
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
17
19
|
//#region src/shared/assistant/ui/composer/AssistantComposer.tsx
|
|
18
|
-
var
|
|
19
|
-
let
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}, [
|
|
23
|
-
let
|
|
24
|
-
|
|
25
|
-
}, []),
|
|
26
|
-
onFinalize:
|
|
27
|
-
language:
|
|
28
|
-
}),
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
20
|
+
var fe = 200, m = ({ writeAccessDenied: m = !1, onSend: h, disabled: g = !1, readOnly: pe = !1, placeholder: me, mode: he, availableModes: _, attachmentCharsPerFile: ge, onModeChange: _e, auto: ve, onStartVoiceSession: v, onDraftStart: y }) => {
|
|
21
|
+
let b = r(), { locale: x } = e(), S = g || pe, C = l(null), [w, T] = u(""), [E, D] = u(!1), [O, k] = u(!1), A = l(!1), [j, M] = u(null), N = l(0), { attachments: P, isBusy: ye, preparingCount: be, sendBlocker: F, rejection: I, addFiles: L, remove: xe, retry: Se, clear: R, clearRejection: Ce, canAddMore: we, commit: z, cancelCommit: B } = ce({ perFileChars: ge }), V = w.trim() !== "" || P.length > 0, H = l(!1);
|
|
22
|
+
c(() => {
|
|
23
|
+
V && !H.current ? (H.current = !0, y?.()) : V || (H.current = !1);
|
|
24
|
+
}, [V, y]);
|
|
25
|
+
let Te = s((e) => {
|
|
26
|
+
T((t) => t ? `${t.replace(/\s+$/, "")} ${e}` : e);
|
|
27
|
+
}, []), U = i((e) => e.assistantLanguage), W = n({
|
|
28
|
+
onFinalize: Te,
|
|
29
|
+
language: ue(() => te(U, x), [U, x]).tag
|
|
30
|
+
}), Ee = me ?? b("composer.placeholder", "Ask me anything…"), G = w.trim(), K = a(P), q = P.filter((e) => e.status === "error"), J = (G.length > 0 || K.length > 0) && !S && !O && F === null, Y = K.some((e) => !e.fileId && !e.inlineOnly), X = l(S);
|
|
31
|
+
X.current = S;
|
|
32
|
+
let Z = l(!0);
|
|
33
|
+
c(() => (Z.current = !0, () => {
|
|
34
|
+
Z.current = !1;
|
|
35
|
+
}), []), le(() => {
|
|
36
|
+
let e = C.current;
|
|
37
|
+
e && (e.style.height = "auto", e.style.height = `${Math.min(e.scrollHeight, fe)}px`);
|
|
38
|
+
}, [w]);
|
|
39
|
+
let Q = s(async () => {
|
|
40
|
+
if (!J || A.current) return;
|
|
41
|
+
W.isActive && W.stop();
|
|
42
|
+
let e = w.trim();
|
|
43
|
+
if (M(null), !Y) {
|
|
44
|
+
h(e, K), T(""), R();
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
let t = i.getState().activeConversationId;
|
|
48
|
+
A.current = !0, k(!0);
|
|
49
|
+
try {
|
|
50
|
+
let n = await z();
|
|
51
|
+
if (!Z.current) {
|
|
52
|
+
n.ok && await n.rollback();
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if (!n.ok) {
|
|
56
|
+
n.cancelled || M({
|
|
57
|
+
kind: "failed",
|
|
58
|
+
failures: n.failures
|
|
59
|
+
});
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
if (X.current) {
|
|
63
|
+
await n.rollback(), Z.current && M({
|
|
64
|
+
kind: "busy",
|
|
65
|
+
failures: []
|
|
66
|
+
});
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
let r = i.getState();
|
|
70
|
+
if (!(r.activeConversationId === t && (t === null || r.conversations.some((e) => e.id === t)))) {
|
|
71
|
+
await n.rollback(), Z.current && M({
|
|
72
|
+
kind: "moved",
|
|
73
|
+
failures: []
|
|
74
|
+
});
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
h(e, a(n.attachments)), n.handedOver(), T(""), R();
|
|
78
|
+
} finally {
|
|
79
|
+
A.current = !1, Z.current && k(!1);
|
|
80
|
+
}
|
|
35
81
|
}, [
|
|
36
|
-
|
|
37
|
-
v,
|
|
38
|
-
A,
|
|
82
|
+
J,
|
|
39
83
|
Y,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
84
|
+
z,
|
|
85
|
+
h,
|
|
86
|
+
w,
|
|
87
|
+
K,
|
|
88
|
+
R,
|
|
89
|
+
W
|
|
90
|
+
]), $ = s(() => {
|
|
91
|
+
B(), C.current?.focus();
|
|
92
|
+
}, [B]);
|
|
93
|
+
c(() => {
|
|
94
|
+
M(null);
|
|
95
|
+
}, [P.length]);
|
|
96
|
+
let De = (e) => {
|
|
97
|
+
if (e.kind === "busy") return b("attachments.saveBusy", "The assistant started another reply, so nothing was sent. Your message and files are still here.");
|
|
98
|
+
if (e.kind === "moved") return b("attachments.saveMoved", "You switched conversations while the files were being saved, so nothing was sent. Your message and files are still here.");
|
|
99
|
+
let { failures: t } = e;
|
|
100
|
+
if (t.some((e) => e.code === o.quotaExceeded || e.code === o.quotaNotProvisioned)) return `${b("attachments.quotaFull", "File storage is full or not set up for this workspace, so the attachments couldn't be saved. Nothing was sent.")} ${b("attachments.retrySend", "Press Send to try again, or remove the file.")}`;
|
|
101
|
+
let n = t[0], r = P.find((e) => e.id === n?.id)?.filename ?? "";
|
|
102
|
+
return `${t.length <= 1 ? b("attachments.saveFailedOne", "{{name}} couldn't be saved, so nothing was sent.", { name: r }) : b("attachments.saveFailedMany", "{{count}} attachments couldn't be saved, so nothing was sent.", { count: t.length })} ${b("attachments.retrySend", "Press Send to try again, or remove the file.")}`;
|
|
103
|
+
}, Oe = s((e) => {
|
|
43
104
|
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), Q());
|
|
44
|
-
}, [Q]),
|
|
105
|
+
}, [Q]), ke = s((e) => {
|
|
45
106
|
let t = Array.from(e.clipboardData?.files ?? []);
|
|
46
|
-
t.length !== 0 && (e.preventDefault(),
|
|
47
|
-
}, [
|
|
48
|
-
Array.from(e.dataTransfer?.types ?? []).includes("Files") && (
|
|
49
|
-
}, []),
|
|
50
|
-
|
|
51
|
-
}, []),
|
|
107
|
+
t.length !== 0 && (e.preventDefault(), L(t));
|
|
108
|
+
}, [L]), Ae = s((e) => {
|
|
109
|
+
Array.from(e.dataTransfer?.types ?? []).includes("Files") && (N.current += 1, D(!0));
|
|
110
|
+
}, []), je = s(() => {
|
|
111
|
+
N.current = Math.max(0, N.current - 1), N.current === 0 && D(!1);
|
|
112
|
+
}, []), Me = s((e) => {
|
|
52
113
|
Array.from(e.dataTransfer?.types ?? []).includes("Files") && e.preventDefault();
|
|
53
|
-
}, []),
|
|
54
|
-
e.preventDefault(),
|
|
55
|
-
}, [
|
|
114
|
+
}, []), Ne = s((e) => {
|
|
115
|
+
e.preventDefault(), N.current = 0, D(!1), L(e.dataTransfer?.files ?? null);
|
|
116
|
+
}, [L]), Pe = (e) => {
|
|
56
117
|
switch (e) {
|
|
57
|
-
case "too-many": return
|
|
58
|
-
case "too-large": return
|
|
59
|
-
case "empty": return
|
|
60
|
-
case "unreadable": return
|
|
61
|
-
case "unsupported-image": return
|
|
118
|
+
case "too-many": return b("attachments.tooMany", "You can attach up to {{max}} files per message.", { max: 5 });
|
|
119
|
+
case "too-large": return b("attachments.tooLarge", "That file is larger than 10 MB.");
|
|
120
|
+
case "empty": return b("attachments.empty", "That file is empty.");
|
|
121
|
+
case "unreadable": return b("attachments.unreadable", "That file could not be read.");
|
|
122
|
+
case "unsupported-image": return b("attachments.unsupportedImage", "This device can't read that image format, so it can't be resized to send. Save it as JPEG and try again.");
|
|
123
|
+
case "too-large-to-save": return b("attachments.tooLargeToSave", "That file is over 5 MB, so it can't be saved to Files, and no text could be read from it.");
|
|
62
124
|
}
|
|
63
|
-
},
|
|
64
|
-
switch (
|
|
65
|
-
case "not-allowed": return
|
|
66
|
-
case "audio-capture": return
|
|
67
|
-
case "network": return
|
|
68
|
-
case "language-not-supported": return
|
|
69
|
-
case "unknown": return
|
|
125
|
+
}, Fe = (() => {
|
|
126
|
+
switch (W.error) {
|
|
127
|
+
case "not-allowed": return b("voice.denied", "Microphone access is blocked. Allow it in your browser settings to dictate.");
|
|
128
|
+
case "audio-capture": return b("voice.noMic", "No microphone was found.");
|
|
129
|
+
case "network": return b("voice.network", "Speech recognition is offline right now.");
|
|
130
|
+
case "language-not-supported": return b("voice.languageNotSupported", "This browser cannot recognise spoken {{language}}. Try a different browser, or type instead.", { language: ee(W.language, x) });
|
|
131
|
+
case "unknown": return b("voice.failed", "Dictation stopped unexpectedly.");
|
|
70
132
|
default: return null;
|
|
71
133
|
}
|
|
72
134
|
})();
|
|
73
|
-
return /* @__PURE__ */
|
|
135
|
+
return /* @__PURE__ */ p("div", {
|
|
74
136
|
className: "flex-shrink-0 px-3 pb-3 pt-1.5",
|
|
75
137
|
children: [
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
onDragEnter:
|
|
78
|
-
onDragLeave:
|
|
79
|
-
onDragOver:
|
|
80
|
-
onDrop:
|
|
81
|
-
className: `rounded-2xl border p-2 shadow-sm transition-colors focus-within:border-action-primary-bg focus-within:ring-2 focus-within:ring-action-primary-bg/15 ${
|
|
138
|
+
/* @__PURE__ */ p("div", {
|
|
139
|
+
onDragEnter: Ae,
|
|
140
|
+
onDragLeave: je,
|
|
141
|
+
onDragOver: Me,
|
|
142
|
+
onDrop: Ne,
|
|
143
|
+
className: `rounded-2xl border p-2 shadow-sm transition-colors focus-within:border-action-primary-bg focus-within:ring-2 focus-within:ring-action-primary-bg/15 ${E ? "border-action-primary-bg border-dashed bg-action-primary-bg/5" : "border-border-default bg-bg-sunken"}`,
|
|
82
144
|
"data-testid": "assistant-composer",
|
|
83
145
|
children: [
|
|
84
|
-
/* @__PURE__ */
|
|
85
|
-
attachments:
|
|
86
|
-
onRemove:
|
|
87
|
-
onRetry:
|
|
88
|
-
disabled: O,
|
|
89
|
-
preparingCount:
|
|
146
|
+
/* @__PURE__ */ f(re, {
|
|
147
|
+
attachments: P,
|
|
148
|
+
onRemove: xe,
|
|
149
|
+
onRetry: Se,
|
|
150
|
+
disabled: S || O,
|
|
151
|
+
preparingCount: be
|
|
90
152
|
}),
|
|
91
|
-
/* @__PURE__ */
|
|
153
|
+
/* @__PURE__ */ p("div", {
|
|
92
154
|
className: "flex items-end gap-2",
|
|
93
155
|
children: [
|
|
94
|
-
/* @__PURE__ */
|
|
95
|
-
onFiles:
|
|
96
|
-
canAddMore:
|
|
97
|
-
disabled: O,
|
|
156
|
+
/* @__PURE__ */ f(ne, {
|
|
157
|
+
onFiles: L,
|
|
158
|
+
canAddMore: we,
|
|
159
|
+
disabled: S || O,
|
|
98
160
|
showLabel: !0
|
|
99
161
|
}),
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
ref:
|
|
102
|
-
value:
|
|
103
|
-
onChange: (e) =>
|
|
104
|
-
onKeyDown:
|
|
105
|
-
onPaste:
|
|
106
|
-
disabled:
|
|
107
|
-
|
|
162
|
+
/* @__PURE__ */ f("textarea", {
|
|
163
|
+
ref: C,
|
|
164
|
+
value: w,
|
|
165
|
+
onChange: (e) => T(e.target.value),
|
|
166
|
+
onKeyDown: Oe,
|
|
167
|
+
onPaste: ke,
|
|
168
|
+
disabled: S,
|
|
169
|
+
readOnly: O,
|
|
170
|
+
"aria-busy": O || void 0,
|
|
171
|
+
placeholder: E ? b("composer.dropHere", "Drop files to attach") : Ee,
|
|
108
172
|
rows: 1,
|
|
109
173
|
className: "min-h-[36px] flex-1 resize-none self-center bg-transparent px-1 py-2 text-[15px] leading-relaxed text-text-primary placeholder:text-text-muted focus:outline-none disabled:opacity-50",
|
|
110
|
-
"aria-label":
|
|
174
|
+
"aria-label": b("chatInput.ariaLabel", "Message input"),
|
|
111
175
|
"data-testid": "assistant-input"
|
|
112
176
|
}),
|
|
113
|
-
|
|
114
|
-
isListening:
|
|
115
|
-
isStarting:
|
|
116
|
-
onToggle:
|
|
117
|
-
disabled: O
|
|
177
|
+
W.isSupported && /* @__PURE__ */ f(ae, {
|
|
178
|
+
isListening: W.isListening,
|
|
179
|
+
isStarting: W.isStarting,
|
|
180
|
+
onToggle: W.toggle,
|
|
181
|
+
disabled: S || O
|
|
118
182
|
}),
|
|
119
|
-
|
|
120
|
-
onStart:
|
|
121
|
-
disabled: O
|
|
122
|
-
}) : /* @__PURE__ */
|
|
183
|
+
v && G.length === 0 && P.length === 0 && !W.isActive ? /* @__PURE__ */ f(se, {
|
|
184
|
+
onStart: v,
|
|
185
|
+
disabled: S || O
|
|
186
|
+
}) : /* @__PURE__ */ f("button", {
|
|
123
187
|
type: "button",
|
|
124
|
-
onClick: Q,
|
|
125
|
-
disabled: !
|
|
126
|
-
className: `flex size-9 flex-shrink-0 items-center justify-center rounded-full shadow-sm transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-border-strong ${
|
|
127
|
-
"aria-label":
|
|
188
|
+
onClick: () => void Q(),
|
|
189
|
+
disabled: !J,
|
|
190
|
+
className: `flex size-9 flex-shrink-0 items-center justify-center rounded-full shadow-sm transition-all focus:outline-none focus-visible:ring-2 focus-visible:ring-border-strong ${J ? "bg-action-primary-bg text-action-primary-text hover:scale-105 hover:bg-action-primary-bg-hover" : "bg-bg-elevated text-text-muted"}`,
|
|
191
|
+
"aria-label": b("chatInput.send", "Send message"),
|
|
128
192
|
"data-testid": "assistant-send",
|
|
129
|
-
children:
|
|
193
|
+
children: g || ye || O ? /* @__PURE__ */ f(d, { className: "size-4 motion-safe:animate-spin" }) : /* @__PURE__ */ f(de, { className: "size-4" })
|
|
130
194
|
})
|
|
131
195
|
]
|
|
132
196
|
}),
|
|
133
|
-
|
|
197
|
+
_.length > 1 && /* @__PURE__ */ f("div", {
|
|
134
198
|
className: "mt-2 px-0.5",
|
|
135
|
-
children: /* @__PURE__ */
|
|
136
|
-
mode:
|
|
137
|
-
availableModes:
|
|
138
|
-
onModeChange:
|
|
139
|
-
disabled: O,
|
|
140
|
-
auto:
|
|
199
|
+
children: /* @__PURE__ */ f(ie, {
|
|
200
|
+
mode: he,
|
|
201
|
+
availableModes: _,
|
|
202
|
+
onModeChange: _e,
|
|
203
|
+
disabled: S || O,
|
|
204
|
+
auto: ve
|
|
141
205
|
})
|
|
142
206
|
})
|
|
143
207
|
]
|
|
144
208
|
}),
|
|
145
|
-
|
|
209
|
+
m ? /* @__PURE__ */ f("p", {
|
|
146
210
|
className: "mt-1.5 px-1 text-center text-[11px] text-status-warning",
|
|
147
211
|
"data-testid": "assistant-write-access-warning",
|
|
148
|
-
children:
|
|
212
|
+
children: b("composer.writeAccessDenied", "Changes may not save — your role in this workspace does not currently allow edits. You can still plan and review an action.")
|
|
149
213
|
}) : null,
|
|
150
|
-
/* @__PURE__ */
|
|
214
|
+
/* @__PURE__ */ f("div", {
|
|
151
215
|
className: "mt-1.5 px-1 text-center text-[11px]",
|
|
152
216
|
"aria-live": "polite",
|
|
153
|
-
children:
|
|
217
|
+
children: O ? /* @__PURE__ */ f(t, {
|
|
218
|
+
onDismiss: $,
|
|
219
|
+
children: /* @__PURE__ */ p("p", {
|
|
220
|
+
className: "flex items-center justify-center gap-2 text-text-muted",
|
|
221
|
+
"data-testid": "assistant-commit-status",
|
|
222
|
+
children: [
|
|
223
|
+
/* @__PURE__ */ f(d, {
|
|
224
|
+
className: "size-3 motion-safe:animate-spin",
|
|
225
|
+
"aria-hidden": "true"
|
|
226
|
+
}),
|
|
227
|
+
/* @__PURE__ */ f("span", { children: b("attachments.saving", "Saving your attachments…") }),
|
|
228
|
+
/* @__PURE__ */ f("button", {
|
|
229
|
+
type: "button",
|
|
230
|
+
onClick: $,
|
|
231
|
+
className: "rounded text-text-primary underline underline-offset-2 hover:text-action-primary-bg focus:outline-none focus-visible:ring-2 focus-visible:ring-border-strong",
|
|
232
|
+
"data-testid": "assistant-commit-cancel",
|
|
233
|
+
children: b("attachments.cancelSaving", "Cancel")
|
|
234
|
+
})
|
|
235
|
+
]
|
|
236
|
+
})
|
|
237
|
+
}) : j ? /* @__PURE__ */ f("p", {
|
|
238
|
+
className: "text-status-error-text",
|
|
239
|
+
role: "alert",
|
|
240
|
+
"data-testid": "assistant-commit-failed",
|
|
241
|
+
children: De(j)
|
|
242
|
+
}) : W.isStarting && !W.isListening ? /* @__PURE__ */ f("p", {
|
|
154
243
|
className: "text-text-muted",
|
|
155
244
|
"data-testid": "assistant-voice-starting",
|
|
156
|
-
children:
|
|
157
|
-
}) :
|
|
245
|
+
children: b("voice.starting", "Starting the microphone…")
|
|
246
|
+
}) : W.isListening ? /* @__PURE__ */ p("p", {
|
|
158
247
|
className: "text-status-error-text",
|
|
159
248
|
"data-testid": "assistant-voice-status",
|
|
160
|
-
children: [/* @__PURE__ */
|
|
161
|
-
}) :
|
|
249
|
+
children: [/* @__PURE__ */ f(oe, {}), W.interim || b("voice.listening", "Listening… speak now, tap the square to stop")]
|
|
250
|
+
}) : Fe ? /* @__PURE__ */ f("p", {
|
|
162
251
|
className: "text-status-error-text",
|
|
163
252
|
"data-testid": "assistant-voice-error",
|
|
164
|
-
children:
|
|
165
|
-
}) :
|
|
253
|
+
children: Fe
|
|
254
|
+
}) : I ? /* @__PURE__ */ f("button", {
|
|
166
255
|
type: "button",
|
|
167
|
-
onClick:
|
|
256
|
+
onClick: Ce,
|
|
168
257
|
className: "text-status-error-text underline-offset-2 hover:underline",
|
|
169
258
|
"data-testid": "assistant-attachment-rejection",
|
|
170
|
-
children:
|
|
171
|
-
}) :
|
|
259
|
+
children: Pe(I)
|
|
260
|
+
}) : F === "failed" ? /* @__PURE__ */ f("p", {
|
|
172
261
|
className: "text-status-error-text",
|
|
173
262
|
"data-testid": "assistant-attachment-blocked",
|
|
174
|
-
children:
|
|
175
|
-
}) : /* @__PURE__ */
|
|
263
|
+
children: q.length === 1 ? b("attachments.blockedOne", "{{name}} didn't upload. Retry or remove it before sending.", { name: q[0].filename }) : b("attachments.blockedMany", "{{count}} attachments didn't upload. Retry or remove them before sending.", { count: q.length })
|
|
264
|
+
}) : /* @__PURE__ */ f("p", {
|
|
176
265
|
className: "text-text-muted",
|
|
177
|
-
children:
|
|
266
|
+
children: b("composer.hint", "Enter to send · Shift+Enter for newline · drag or paste files to attach")
|
|
178
267
|
})
|
|
179
268
|
})
|
|
180
269
|
]
|
|
181
270
|
});
|
|
182
271
|
};
|
|
183
272
|
//#endregion
|
|
184
|
-
export {
|
|
273
|
+
export { m as AssistantComposer };
|
|
@@ -41,6 +41,16 @@ interface Props {
|
|
|
41
41
|
canAttachMore?: boolean;
|
|
42
42
|
/** Files being read — placeholder chips, see AssistantAttachmentChips. */
|
|
43
43
|
preparingAttachments?: number;
|
|
44
|
+
/**
|
|
45
|
+
* The spoken turn's files are being SAVED (BOFF-8677). Attaching and the chips' actions are
|
|
46
|
+
* disabled meanwhile, so the draft cannot change under the save.
|
|
47
|
+
*/
|
|
48
|
+
attachmentsLocked?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Some files could not be saved and were not sent with the question that was still asked
|
|
51
|
+
* ("2 attachments couldn't be saved and weren't sent."). Announced politely; clears itself.
|
|
52
|
+
*/
|
|
53
|
+
attachmentNotice?: string | null;
|
|
44
54
|
/** Reveals the assistant caption in step with the audio. */
|
|
45
55
|
spokenChunks?: {
|
|
46
56
|
chunks: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantVoiceSession.d.ts","sourceRoot":"","sources":["../../../../../src/shared/assistant/ui/voice/AssistantVoiceSession.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAAE,EACP,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAS7D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAqBjG,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,gFAAgF;AAChF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAElD,UAAU,KAAK;IACb,OAAO,EAAE,oBAAoB,CAAC;IAC9B,iEAAiE;IACjE,KAAK,CAAC,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC3C,wCAAwC;IACxC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,6EAA6E;IAC7E,MAAM,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,aAAa,CAAC,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACrD,gEAAgE;IAChE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE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,CAAC;CACjD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"AssistantVoiceSession.d.ts","sourceRoot":"","sources":["../../../../../src/shared/assistant/ui/voice/AssistantVoiceSession.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,EAAE,EACP,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAMf,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAS7D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAqBjG,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,gFAAgF;AAChF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;AAElD,UAAU,KAAK;IACb,OAAO,EAAE,oBAAoB,CAAC;IAC9B,iEAAiE;IACjE,KAAK,CAAC,EAAE,aAAa,CAAC,mBAAmB,CAAC,CAAC;IAC3C,wCAAwC;IACxC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,6EAA6E;IAC7E,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,6EAA6E;IAC7E,MAAM,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,aAAa,CAAC,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACrD,gEAAgE;IAChE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,mBA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