@burdenoff/fe-libs 2026.926.5 → 2026.927.2
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/conversation.d.ts +91 -3
- package/dist/shared/assistant/conversation.d.ts.map +1 -1
- package/dist/shared/assistant/gatewayClient.d.ts +15 -0
- package/dist/shared/assistant/gatewayClient.d.ts.map +1 -1
- package/dist/shared/assistant/gatewayClient.js +1 -1
- package/dist/shared/assistant/guardedStorage.d.ts +4 -2
- package/dist/shared/assistant/guardedStorage.d.ts.map +1 -1
- package/dist/shared/assistant/guardedStorage.js +1 -1
- package/dist/shared/assistant/history/historyApi.d.ts +38 -0
- package/dist/shared/assistant/history/historyApi.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyApi.js +153 -0
- package/dist/shared/assistant/history/historyEngine.d.ts +96 -0
- package/dist/shared/assistant/history/historyEngine.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyEngine.js +774 -0
- package/dist/shared/assistant/history/historyErrors.d.ts +72 -0
- package/dist/shared/assistant/history/historyErrors.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyErrors.js +74 -0
- package/dist/shared/assistant/history/historyList.d.ts +115 -0
- package/dist/shared/assistant/history/historyList.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyList.js +116 -0
- package/dist/shared/assistant/history/historyMapping.d.ts +65 -0
- package/dist/shared/assistant/history/historyMapping.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyMapping.js +383 -0
- package/dist/shared/assistant/history/historyMerge.d.ts +65 -0
- package/dist/shared/assistant/history/historyMerge.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyMerge.js +97 -0
- package/dist/shared/assistant/history/historyOperations.d.ts +24 -0
- package/dist/shared/assistant/history/historyOperations.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyOperations.js +125 -0
- package/dist/shared/assistant/history/historyResume.d.ts +56 -0
- package/dist/shared/assistant/history/historyResume.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyResume.js +55 -0
- package/dist/shared/assistant/history/historyStatus.d.ts +76 -0
- package/dist/shared/assistant/history/historyStatus.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyStatus.js +47 -0
- package/dist/shared/assistant/history/historyStore.d.ts +192 -0
- package/dist/shared/assistant/history/historyStore.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyStore.js +503 -0
- package/dist/shared/assistant/history/historyTimestamps.d.ts +11 -0
- package/dist/shared/assistant/history/historyTimestamps.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyTimestamps.js +9 -0
- package/dist/shared/assistant/history/historyTypes.d.ts +256 -0
- package/dist/shared/assistant/history/historyTypes.d.ts.map +1 -0
- package/dist/shared/assistant/history/historyTypes.js +20 -0
- package/dist/shared/assistant/history/profileBoundStorage.d.ts +36 -0
- package/dist/shared/assistant/history/profileBoundStorage.d.ts.map +1 -0
- package/dist/shared/assistant/history/profileBoundStorage.js +74 -0
- package/dist/shared/assistant/history/stampRegistry.d.ts +84 -0
- package/dist/shared/assistant/history/stampRegistry.d.ts.map +1 -0
- package/dist/shared/assistant/history/stampRegistry.js +58 -0
- package/dist/shared/assistant/history/useAssistantServerHistory.d.ts +18 -0
- package/dist/shared/assistant/history/useAssistantServerHistory.d.ts.map +1 -0
- package/dist/shared/assistant/history/useAssistantServerHistory.js +12 -0
- package/dist/shared/assistant/i18nManifest.d.ts +18 -0
- package/dist/shared/assistant/i18nManifest.d.ts.map +1 -1
- package/dist/shared/assistant/i18nManifest.js +18 -0
- package/dist/shared/assistant/index.d.ts +16 -0
- package/dist/shared/assistant/index.d.ts.map +1 -1
- package/dist/shared/assistant/liveTurns.d.ts +7 -0
- package/dist/shared/assistant/liveTurns.d.ts.map +1 -1
- package/dist/shared/assistant/liveTurns.js +35 -32
- package/dist/shared/assistant/spokenTurns.d.ts +20 -0
- package/dist/shared/assistant/spokenTurns.d.ts.map +1 -1
- package/dist/shared/assistant/spokenTurns.js +13 -8
- package/dist/shared/assistant/store.d.ts +35 -1
- package/dist/shared/assistant/store.d.ts.map +1 -1
- package/dist/shared/assistant/store.js +93 -24
- package/dist/shared/assistant/ui/AIAssistantPanel.d.ts +16 -0
- package/dist/shared/assistant/ui/AIAssistantPanel.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AIAssistantPanel.js +63 -60
- package/dist/shared/assistant/ui/AssistantChatArea.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantChatArea.js +730 -672
- package/dist/shared/assistant/ui/AssistantConversationList.d.ts +17 -0
- package/dist/shared/assistant/ui/AssistantConversationList.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantConversationList.js +324 -145
- package/dist/shared/assistant/ui/AssistantHistoryNotices.d.ts +36 -0
- package/dist/shared/assistant/ui/AssistantHistoryNotices.d.ts.map +1 -0
- package/dist/shared/assistant/ui/AssistantHistoryNotices.js +103 -0
- package/dist/shared/assistant/ui/AssistantOverlay.d.ts +4 -0
- package/dist/shared/assistant/ui/AssistantOverlay.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantOverlay.js +97 -94
- package/dist/shared/assistant/ui/AssistantSpokenTurnsNotice.d.ts +5 -3
- package/dist/shared/assistant/ui/AssistantSpokenTurnsNotice.d.ts.map +1 -1
- package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts +6 -0
- package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts.map +1 -1
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +54 -54
- package/dist/shared/assistant/ui/voice/VoiceTranscriptDrawer.d.ts +9 -0
- package/dist/shared/assistant/ui/voice/VoiceTranscriptDrawer.d.ts.map +1 -1
- package/dist/shared/assistant/ui/voice/VoiceTranscriptDrawer.js +37 -32
- package/dist/shared/assistant/voice/turnVisibility.d.ts +7 -5
- package/dist/shared/assistant/voice/turnVisibility.d.ts.map +1 -1
- package/dist/shared/assistant/voice/voiceTranscript.d.ts +3 -2
- package/dist/shared/assistant/voice/voiceTranscript.d.ts.map +1 -1
- package/dist/shared-assistant.js +153 -137
- package/package.json +1 -1
|
@@ -11,84 +11,87 @@ import { panelOwnedPreviewBridge as p, useHostedAssistantPreviewBridge as m } fr
|
|
|
11
11
|
import { AssistantPreviewOverlay as h } from "../preview/AssistantPreviewOverlay.js";
|
|
12
12
|
import { AssistantHeader as g } from "./AssistantHeader.js";
|
|
13
13
|
import { AssistantConversationList as _ } from "./AssistantConversationList.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
14
|
+
import { useAssistantServerHistory as v } from "../history/useAssistantServerHistory.js";
|
|
15
|
+
import { useFilesServiceWarmup as y } from "../../../storage/warmFilesService.js";
|
|
16
|
+
import { useAssistantHeartbeat as b } from "../useAssistantHeartbeat.js";
|
|
17
|
+
import { useAssistantKeyboardShortcuts as x } from "../useAssistantKeyboardShortcuts.js";
|
|
18
|
+
import { AssistantChatArea as S } from "./AssistantChatArea.js";
|
|
19
|
+
import { useRef as C, useState as w } from "react";
|
|
20
|
+
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
20
21
|
//#region src/shared/assistant/ui/AIAssistantPanel.tsx
|
|
21
|
-
var
|
|
22
|
-
let
|
|
23
|
-
I
|
|
24
|
-
let R =
|
|
25
|
-
|
|
26
|
-
let
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
var D = ({ onClose: D, visible: O, docked: k, onToggleDock: A, writeAccess: j, onNavigate: M, connectSourceHref: N, onConnectSource: P, preview: F, serverHistory: I = !1 }) => {
|
|
23
|
+
let L = t();
|
|
24
|
+
v(I);
|
|
25
|
+
let [R, z] = w(!1);
|
|
26
|
+
R && !F && z(!1);
|
|
27
|
+
let B = R && !!F;
|
|
28
|
+
f(p(F, m()));
|
|
29
|
+
let V = C(null), { conversations: H, activeConversationId: U, conversationListOpen: W, setConversationListOpen: G, createConversation: K } = r(), q = W || B, J = c({
|
|
30
|
+
historyOpen: W,
|
|
31
|
+
previewOpen: B
|
|
32
|
+
}), Y = (e) => {
|
|
30
33
|
let t = u({
|
|
31
|
-
historyOpen:
|
|
32
|
-
previewOpen:
|
|
34
|
+
historyOpen: W,
|
|
35
|
+
previewOpen: B
|
|
33
36
|
}, e);
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
let
|
|
38
|
-
return
|
|
39
|
-
panelRef:
|
|
37
|
+
G(t.historyOpen), z(t.previewOpen);
|
|
38
|
+
}, X = H.find((e) => e.id === U);
|
|
39
|
+
b(X?.backendSessionId ?? null, X?.mode ?? null, O ?? !0), y(O ?? !0);
|
|
40
|
+
let Z = e(O !== !1);
|
|
41
|
+
return x({
|
|
42
|
+
panelRef: V,
|
|
40
43
|
onClose: () => {
|
|
41
44
|
if (l({
|
|
42
|
-
historyOpen:
|
|
43
|
-
previewOpen:
|
|
45
|
+
historyOpen: W,
|
|
46
|
+
previewOpen: B
|
|
44
47
|
}) === "overlay") {
|
|
45
|
-
|
|
48
|
+
G(!1), z(!1);
|
|
46
49
|
return;
|
|
47
50
|
}
|
|
48
|
-
|
|
51
|
+
D();
|
|
49
52
|
}
|
|
50
|
-
}), /* @__PURE__ */
|
|
51
|
-
visible:
|
|
52
|
-
children: /* @__PURE__ */
|
|
53
|
-
value:
|
|
54
|
-
children: /* @__PURE__ */
|
|
55
|
-
value:
|
|
56
|
-
children: /* @__PURE__ */
|
|
57
|
-
value:
|
|
58
|
-
onOpen:
|
|
59
|
-
children: /* @__PURE__ */
|
|
60
|
-
ref:
|
|
53
|
+
}), /* @__PURE__ */ T(i, {
|
|
54
|
+
visible: O ?? !0,
|
|
55
|
+
children: /* @__PURE__ */ T(d, {
|
|
56
|
+
value: F,
|
|
57
|
+
children: /* @__PURE__ */ T(n, {
|
|
58
|
+
value: M,
|
|
59
|
+
children: /* @__PURE__ */ T(a, {
|
|
60
|
+
value: N,
|
|
61
|
+
onOpen: P,
|
|
62
|
+
children: /* @__PURE__ */ E("div", {
|
|
63
|
+
ref: V,
|
|
61
64
|
className: "relative flex h-full w-full flex-col bg-bg-surface",
|
|
62
65
|
role: "complementary",
|
|
63
|
-
"aria-label":
|
|
66
|
+
"aria-label": L("panel.ariaLabel", "AI Assistant"),
|
|
64
67
|
"data-testid": "ai-assistant-panel",
|
|
65
68
|
[s]: "",
|
|
66
|
-
...
|
|
69
|
+
...J ? { [o]: J } : {},
|
|
67
70
|
tabIndex: -1,
|
|
68
71
|
children: [
|
|
69
|
-
/* @__PURE__ */
|
|
72
|
+
/* @__PURE__ */ T("div", {
|
|
70
73
|
className: "contents",
|
|
71
|
-
inert:
|
|
72
|
-
children: /* @__PURE__ */
|
|
73
|
-
contextLabel:
|
|
74
|
-
onNewConversation: () =>
|
|
75
|
-
onOpenHistory: () =>
|
|
76
|
-
historyOpen:
|
|
77
|
-
onTogglePreview: () =>
|
|
78
|
-
previewOpen:
|
|
79
|
-
onClose:
|
|
80
|
-
docked:
|
|
81
|
-
onToggleDock:
|
|
74
|
+
inert: q || void 0,
|
|
75
|
+
children: /* @__PURE__ */ T(g, {
|
|
76
|
+
contextLabel: Z,
|
|
77
|
+
onNewConversation: () => K(),
|
|
78
|
+
onOpenHistory: () => Y("history"),
|
|
79
|
+
historyOpen: W,
|
|
80
|
+
onTogglePreview: () => Y("preview"),
|
|
81
|
+
previewOpen: B,
|
|
82
|
+
onClose: D,
|
|
83
|
+
docked: k,
|
|
84
|
+
onToggleDock: A
|
|
82
85
|
})
|
|
83
86
|
}),
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
/* @__PURE__ */
|
|
87
|
+
W && /* @__PURE__ */ T(_, {}),
|
|
88
|
+
B && /* @__PURE__ */ T(h, { onClose: () => z(!1) }),
|
|
89
|
+
/* @__PURE__ */ T("div", {
|
|
87
90
|
className: "contents",
|
|
88
|
-
inert:
|
|
89
|
-
children: /* @__PURE__ */
|
|
90
|
-
visible:
|
|
91
|
-
writeAccess:
|
|
91
|
+
inert: q || void 0,
|
|
92
|
+
children: /* @__PURE__ */ T(S, {
|
|
93
|
+
visible: O ?? !0,
|
|
94
|
+
writeAccess: j
|
|
92
95
|
})
|
|
93
96
|
})
|
|
94
97
|
]
|
|
@@ -99,4 +102,4 @@ var E = ({ onClose: E, visible: D, docked: O, onToggleDock: k, writeAccess: A, o
|
|
|
99
102
|
});
|
|
100
103
|
};
|
|
101
104
|
//#endregion
|
|
102
|
-
export {
|
|
105
|
+
export { D as AIAssistantPanel };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssistantChatArea.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/ui/AssistantChatArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AssistantChatArea.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/ui/AssistantChatArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AAkKf,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAmHvE;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;;;;;;;OAYG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC;CACpC;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAk3HxD,CAAC"}
|