@burdenoff/fe-libs 2026.1117.2 → 2026.1117.4

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.
Files changed (55) hide show
  1. package/dist/shared/assistant/history/historyControls.d.ts +5 -0
  2. package/dist/shared/assistant/history/historyControls.js +9 -5
  3. package/dist/shared/assistant/home/AssistantHomeActions.d.ts +37 -0
  4. package/dist/shared/assistant/home/AssistantHomeActions.js +68 -0
  5. package/dist/shared/assistant/home/AssistantHomeComposer.d.ts +36 -0
  6. package/dist/shared/assistant/home/AssistantHomeComposer.js +85 -0
  7. package/dist/shared/assistant/home/AssistantHomeHistory.d.ts +106 -0
  8. package/dist/shared/assistant/home/AssistantHomeHistory.js +499 -0
  9. package/dist/shared/assistant/home/AssistantHomePage.d.ts +67 -0
  10. package/dist/shared/assistant/home/AssistantHomePage.js +78 -0
  11. package/dist/shared/assistant/home/AssistantHomeStart.d.ts +171 -0
  12. package/dist/shared/assistant/home/AssistantHomeStart.js +224 -0
  13. package/dist/shared/assistant/home/assistantHomeChat.d.ts +47 -0
  14. package/dist/shared/assistant/home/assistantHomeChat.js +49 -0
  15. package/dist/shared/assistant/home/assistantHomeHistoryRows.d.ts +93 -0
  16. package/dist/shared/assistant/home/assistantHomeHistoryRows.js +113 -0
  17. package/dist/shared/assistant/home/assistantHomeRoutes.d.ts +49 -0
  18. package/dist/shared/assistant/home/assistantHomeRoutes.js +48 -0
  19. package/dist/shared/assistant/home/assistantHomeTopBar.d.ts +4 -0
  20. package/dist/shared/assistant/home/assistantHomeTopBar.js +10 -0
  21. package/dist/shared/assistant/home/useAssistantHomeHistoryRows.d.ts +46 -0
  22. package/dist/shared/assistant/home/useAssistantHomeHistoryRows.js +120 -0
  23. package/dist/shared/assistant/home.d.ts +19 -0
  24. package/dist/shared/assistant/home.js +11 -0
  25. package/dist/shared/assistant/i18nManifest.d.ts +21 -1
  26. package/dist/shared/assistant/i18nManifest.js +22 -2
  27. package/dist/shared/assistant/index.d.ts +18 -0
  28. package/dist/shared/assistant/ui/AIAssistantPanel.js +195 -194
  29. package/dist/shared/assistant/ui/AssistantChatArea.js +1339 -1332
  30. package/dist/shared/assistant/ui/AssistantConversationList.js +44 -48
  31. package/dist/shared/assistant/ui/compact/AssistantLanguagePill.d.ts +12 -0
  32. package/dist/shared/assistant/ui/compact/AssistantLanguagePill.js +13 -14
  33. package/dist/shared/assistant/ui/compact/AssistantWindowHeader.d.ts +8 -2
  34. package/dist/shared/assistant/ui/compact/AssistantWindowHeader.js +45 -39
  35. package/dist/shared/assistant/ui/compact/AssistantWindowWelcome.d.ts +44 -0
  36. package/dist/shared/assistant/ui/compact/AssistantWindowWelcome.js +110 -0
  37. package/dist/shared/assistant/ui/compact/AssistantWindowWelcomeCard.d.ts +29 -0
  38. package/dist/shared/assistant/ui/compact/AssistantWindowWelcomeCard.js +84 -0
  39. package/dist/shared/assistant/ui/compact/AssistantWindowWelcomeHero.d.ts +15 -0
  40. package/dist/shared/assistant/ui/compact/AssistantWindowWelcomeHero.js +64 -0
  41. package/dist/shared/assistant/ui/compact/AssistantWindowWelcomeSuggestions.d.ts +12 -0
  42. package/dist/shared/assistant/ui/compact/AssistantWindowWelcomeSuggestions.js +31 -0
  43. package/dist/shared/assistant/ui/compact/AssistantWindowWelcomeTips.d.ts +9 -0
  44. package/dist/shared/assistant/ui/compact/AssistantWindowWelcomeTips.js +37 -0
  45. package/dist/shared/assistant/ui/compact/windowTitle.d.ts +15 -0
  46. package/dist/shared/assistant/ui/compact/windowTitle.js +13 -0
  47. package/dist/shared/assistant/ui/compact/windowWelcome.d.ts +136 -0
  48. package/dist/shared/assistant/ui/compact/windowWelcome.js +119 -0
  49. package/dist/shared/assistant/ui/compact/windowWelcomeHooks.d.ts +49 -0
  50. package/dist/shared/assistant/ui/compact/windowWelcomeHooks.js +70 -0
  51. package/dist/shared/assistant/ui/composer/AssistantConnectSourceItem.d.ts +3 -1
  52. package/dist/shared/assistant/ui/composer/AssistantConnectSourceItem.js +27 -26
  53. package/dist/shared-assistant.js +230 -212
  54. package/package.json +2 -1
  55. package/src/shared/tokens/tokens.css +523 -0
@@ -0,0 +1,113 @@
1
+ import { DEFAULT_HISTORY_LIST_FILTER as e } from "../history/historyControls.js";
2
+ import { chatTurns as t, voiceTurnsOnly as n } from "../voice/turnVisibility.js";
3
+ // src/shared/assistant/home/assistantHomeHistoryRows.ts
4
+ var r = [
5
+ "pinned",
6
+ "voice",
7
+ "typed",
8
+ "archived"
9
+ ], i = {
10
+ pinned: {
11
+ ...e,
12
+ pinned: !0
13
+ },
14
+ voice: {
15
+ ...e,
16
+ channel: "VOICE"
17
+ },
18
+ typed: {
19
+ ...e,
20
+ channel: "CHAT"
21
+ },
22
+ archived: {
23
+ ...e,
24
+ archived: "ONLY"
25
+ }
26
+ };
27
+ function a(e) {
28
+ return r.some((t) => t === e);
29
+ }
30
+ function o(t) {
31
+ return a(t) ? i[t] : e;
32
+ }
33
+ var s = [
34
+ "today",
35
+ "yesterday",
36
+ "week",
37
+ "older"
38
+ ];
39
+ function c(e, t) {
40
+ return e === null || t === null ? null : e > 0 && t > 0 ? "MIXED" : t > 0 ? "VOICE" : e > 0 ? "CHAT" : null;
41
+ }
42
+ function l(e, r) {
43
+ let i = e.conversation?.messages, a = i ? t(i).length : null, o = i ? n(i).length : null, s = (e.archivedAt ?? null) !== null;
44
+ return {
45
+ key: e.key,
46
+ title: e.title,
47
+ updatedAt: e.updatedAt,
48
+ kind: r(e.conversation?.mode),
49
+ pinned: e.pinnedAt !== null,
50
+ canPin: e.canPin && !s,
51
+ archived: s,
52
+ canArchive: e.canPin,
53
+ channel: e.channel ?? c(a, o),
54
+ typedCount: a,
55
+ spokenCount: o,
56
+ ...e.conversation === null && !e.canPin ? { canRename: !1 } : {}
57
+ };
58
+ }
59
+ function u(e, t) {
60
+ if (!e) return null;
61
+ let n = t.global ? t : new RegExp(t.source, `${t.flags}g`);
62
+ for (let t = e.length - 1; t >= 0; --t) {
63
+ let r = e[t];
64
+ if (!r || r.role !== "assistant") continue;
65
+ let i = r.content.match(n), a = i?.[i.length - 1];
66
+ if (a) return a;
67
+ }
68
+ return null;
69
+ }
70
+ function d(e) {
71
+ return new Date(e.getFullYear(), e.getMonth(), e.getDate()).getTime();
72
+ }
73
+ var f = 864e5;
74
+ function p(e, t) {
75
+ let n = Date.parse(e);
76
+ if (Number.isNaN(n)) return "older";
77
+ let r = d(t), i = Math.round((r - d(new Date(n))) / f);
78
+ return i <= 0 ? "today" : i === 1 ? "yesterday" : i < 7 ? "week" : "older";
79
+ }
80
+ function m(e, t, n) {
81
+ let r = t.trim().toLocaleLowerCase();
82
+ return !r || (e.title || n).toLocaleLowerCase().includes(r);
83
+ }
84
+ function h(e, t) {
85
+ return t === "all" || a(t) ? !0 : e.kind === t;
86
+ }
87
+ function g(e, t) {
88
+ let n = /* @__PURE__ */ new Map();
89
+ for (let r of e) {
90
+ let e = p(r.updatedAt, t), i = n.get(e) ?? [];
91
+ i.push(r), n.set(e, i);
92
+ }
93
+ return s.flatMap((e) => {
94
+ let t = n.get(e);
95
+ return t ? (t.sort((e, t) => t.updatedAt.localeCompare(e.updatedAt)), [{
96
+ group: e,
97
+ rows: t
98
+ }]) : [];
99
+ });
100
+ }
101
+ function _(e, t, n) {
102
+ let r = Date.parse(e);
103
+ if (Number.isNaN(r)) return "";
104
+ let i = new Date(r);
105
+ return t === "today" ? i.toLocaleTimeString(n, {
106
+ hour: "2-digit",
107
+ minute: "2-digit"
108
+ }) : t === "yesterday" || t === "week" ? i.toLocaleDateString(n, { weekday: "short" }) : i.toLocaleDateString(n, {
109
+ day: "numeric",
110
+ month: "short"
111
+ });
112
+ }
113
+ export { r as ASSISTANT_HOME_HISTORY_ENGINE_FILTERS, s as ASSISTANT_HOME_HISTORY_GROUPS, o as assistantHomeHistoryEngineFilterOf, p as assistantHomeHistoryGroupOf, l as assistantHomeHistoryRowOf, _ as assistantHomeHistoryTimeLabel, u as assistantHomeLastReplyLink, g as groupAssistantHomeHistoryRows, a as isAssistantHomeHistoryEngineFilter, h as matchesAssistantHomeHistoryKind, m as matchesAssistantHomeHistoryQuery };
@@ -0,0 +1,49 @@
1
+ /** The page's address. A product can land signed-in visitors here. */
2
+ export declare const ASSISTANT_HOME_PATH = "/assistant";
3
+ /** The assistant's own page (its start, History and chat), where the page IS the assistant. */
4
+ export declare function isAssistantHomePath(pathname: string): boolean;
5
+ /** The query parameter that holds the tab. */
6
+ export declare const ASSISTANT_HOME_TAB_PARAM = "tab";
7
+ export type AssistantHomeTab = 'chat' | 'history';
8
+ export declare const ASSISTANT_HOME_TABS: readonly AssistantHomeTab[];
9
+ /** The tab a `?tab=` value names; anything unknown (or absent) is Chat. */
10
+ export declare function parseAssistantHomeTab(value: string | null | undefined): AssistantHomeTab;
11
+ /** The address of a tab: `/assistant` or `/assistant?tab=history`. */
12
+ export declare function assistantHomeHref(tab?: AssistantHomeTab): string;
13
+ export interface AssistantHomeTabState {
14
+ tab: AssistantHomeTab;
15
+ /**
16
+ * Switch tabs. Other query parameters are kept, but for `?prompt=` with `dropPrompt` (a new chat
17
+ * starts empty, not from the words an old address brought). A real history entry is pushed, so
18
+ * Back returns to the previous tab.
19
+ */
20
+ setTab: (tab: AssistantHomeTab, options?: {
21
+ dropPrompt?: boolean;
22
+ }) => void;
23
+ }
24
+ export declare function useAssistantHomeTab(): AssistantHomeTabState;
25
+ /**
26
+ * The query parameter that says the Chat tab shows the chat IN the page (the one assistant, hosted:
27
+ * `AssistantHomeInPageChat`) instead of the start page. A product's hand-off sets it when a chat
28
+ * starts or opens on the page; the page's own address (`/assistant`) goes back to the start. Kept by
29
+ * the tab switch, so History → Chat returns to the chat.
30
+ */
31
+ export declare const ASSISTANT_HOME_CHAT_PARAM = "chat";
32
+ /** The address of the in-page chat: `/assistant?chat=1`. */
33
+ export declare function assistantHomeChatHref(): string;
34
+ /** Does the address ask for the in-page chat (`?chat=1`)? */
35
+ export declare function useAssistantHomeChatShown(): boolean;
36
+ /**
37
+ * The query parameter that pre-fills the start page's message box (`/assistant?prompt=…`), so an
38
+ * old address that carried a prompt still starts with the person's words in the box. Nothing is
39
+ * sent until they press Send.
40
+ */
41
+ export declare const ASSISTANT_HOME_PROMPT_PARAM = "prompt";
42
+ /** Longest prompt a link may pre-fill; the rest of a longer one is dropped. */
43
+ export declare const ASSISTANT_HOME_PROMPT_MAX = 4000;
44
+ /** The prompt a `?prompt=` value gives (trimmed, at most the maximum), or null. */
45
+ export declare function parseAssistantHomePrompt(value: string | null | undefined): string | null;
46
+ /** The start page with its message box pre-filled: `/assistant?prompt=…`. */
47
+ export declare function assistantHomePromptHref(prompt: string): string;
48
+ /** The prompt the address pre-fills the message box with, or null. */
49
+ export declare function useAssistantHomePrompt(): string | null;
@@ -0,0 +1,48 @@
1
+ import { useCallback as e } from "react";
2
+ import { useSearchParams as t } from "react-router";
3
+ // src/shared/assistant/home/assistantHomeRoutes.ts
4
+ var n = "/assistant";
5
+ function r(e) {
6
+ return e.replace(/\/+$/, "") === n;
7
+ }
8
+ var i = "tab", a = ["chat", "history"];
9
+ function o(e) {
10
+ return e === "history" ? "history" : "chat";
11
+ }
12
+ function s(e = "chat") {
13
+ return e === "chat" ? n : `${n}?tab=${e}`;
14
+ }
15
+ function c() {
16
+ let [n, r] = t();
17
+ return {
18
+ tab: o(n.get("tab")),
19
+ setTab: e((e, t) => {
20
+ r((n) => {
21
+ let r = new URLSearchParams(n);
22
+ return e === "chat" ? r.delete("tab") : r.set("tab", e), t?.dropPrompt && r.delete(f), r;
23
+ });
24
+ }, [r])
25
+ };
26
+ }
27
+ var l = "chat";
28
+ function u() {
29
+ return `${n}?${l}=1`;
30
+ }
31
+ function d() {
32
+ let [e] = t();
33
+ return e.get(l) === "1";
34
+ }
35
+ var f = "prompt", p = 4e3;
36
+ function m(e) {
37
+ let t = e?.trim() ?? "";
38
+ return t ? t.slice(0, p) : null;
39
+ }
40
+ function h(e) {
41
+ let t = new URLSearchParams();
42
+ return t.set(f, e), `${n}?${t.toString()}`;
43
+ }
44
+ function g() {
45
+ let [e] = t();
46
+ return m(e.get(f));
47
+ }
48
+ export { l as ASSISTANT_HOME_CHAT_PARAM, n as ASSISTANT_HOME_PATH, p as ASSISTANT_HOME_PROMPT_MAX, f as ASSISTANT_HOME_PROMPT_PARAM, a as ASSISTANT_HOME_TABS, i as ASSISTANT_HOME_TAB_PARAM, u as assistantHomeChatHref, s as assistantHomeHref, h as assistantHomePromptHref, r as isAssistantHomePath, m as parseAssistantHomePrompt, o as parseAssistantHomeTab, d as useAssistantHomeChatShown, g as useAssistantHomePrompt, c as useAssistantHomeTab };
@@ -0,0 +1,4 @@
1
+ /** Does the page at `pathname` draw its own top-right actions in place of the desktop top bar? */
2
+ export declare function assistantHomeHidesDesktopTopBar(pathname: string): boolean;
3
+ /** `assistantHomeHidesDesktopTopBar` for the router's current location. */
4
+ export declare function useAssistantHomeHidesDesktopTopBar(): boolean;
@@ -0,0 +1,10 @@
1
+ import { isAssistantHomePath as e } from "./assistantHomeRoutes.js";
2
+ import { useLocation as t } from "react-router";
3
+ // src/shared/assistant/home/assistantHomeTopBar.ts
4
+ function n(t) {
5
+ return e(t);
6
+ }
7
+ function r() {
8
+ return n(t().pathname);
9
+ }
10
+ export { n as assistantHomeHidesDesktopTopBar, r as useAssistantHomeHidesDesktopTopBar };
@@ -0,0 +1,46 @@
1
+ import { AssistantHomeHistoryRow, AssistantHomeHistoryRowInput } from './assistantHomeHistoryRows';
2
+ /** What the History view says about a search. */
3
+ export interface AssistantHomeHistorySearchState {
4
+ /** A search is in force: the rows are its matches. */
5
+ active: boolean;
6
+ /** Under 2 characters: matched on this device only, never sent. */
7
+ tooShort: boolean;
8
+ /** The server's first page is on its way. */
9
+ searching: boolean;
10
+ /** The server could not answer: this device's matches, and why. */
11
+ fallback: 'busy' | 'failed' | null;
12
+ /** "Show more results" is offered, or its page is on its way. */
13
+ more: boolean;
14
+ loadingMore: boolean;
15
+ loadMore: () => void;
16
+ /** Enter: search now. */
17
+ flush: () => void;
18
+ }
19
+ export interface AssistantHomeHistoryRowsState<R extends AssistantHomeHistoryRow = AssistantHomeHistoryRow> {
20
+ /** Server history is on (otherwise the rows are this device's). */
21
+ historyOn: boolean;
22
+ /** The server's controls are on: the engine's filters, Pin, Archive and server search. */
23
+ controlsOn: boolean;
24
+ rows: R[];
25
+ /** A pin the server refused because the cap was reached, or null. */
26
+ pinLimit: number | null;
27
+ rename: (key: string, title: string) => void;
28
+ setPinned: (key: string, pinned: boolean) => void;
29
+ setArchived: (key: string, archived: boolean) => void;
30
+ remove: (key: string) => void;
31
+ search: AssistantHomeHistorySearchState;
32
+ /** "Show older chats": the server has more for the filter shown. */
33
+ older: {
34
+ available: boolean;
35
+ load: () => void;
36
+ };
37
+ }
38
+ export interface AssistantHomeHistoryRowsOptions<R extends AssistantHomeHistoryRow> {
39
+ /** The pill shown: All, a kind, or one of the engine's filters (default All). */
40
+ filter?: string;
41
+ /** The search box's words (default none). */
42
+ searchText?: string;
43
+ /** Builds a row from what the list resolved (a stable function). */
44
+ rowOf: (input: AssistantHomeHistoryRowInput) => R;
45
+ }
46
+ export declare function useAssistantHomeHistoryRows<R extends AssistantHomeHistoryRow>(options: AssistantHomeHistoryRowsOptions<R>): AssistantHomeHistoryRowsState<R>;
@@ -0,0 +1,120 @@
1
+ import { ALL_HISTORY_LIST_FILTER as e, historyFilterKey as t } from "../history/historyControls.js";
2
+ import { assistantHistory as n } from "../history/historyEngine.js";
3
+ import { historyRowAcceptsControls as r, selectAssistantHistoryList as i } from "../history/historyList.js";
4
+ import { selectHistorySearchList as a } from "../history/historySearch.js";
5
+ import { useAssistantHistoryStatus as o } from "../history/historyStatus.js";
6
+ import { useAssistantHistoryStore as s } from "../history/historyStore.js";
7
+ import { useAssistantHistorySearch as c } from "../history/useAssistantHistorySearch.js";
8
+ import { useAssistantStore as l } from "../store.js";
9
+ import { assistantHomeHistoryEngineFilterOf as u } from "./assistantHomeHistoryRows.js";
10
+ import { useCallback as d, useEffect as f, useMemo as p } from "react";
11
+ // src/shared/assistant/home/useAssistantHomeHistoryRows.ts
12
+ function m(e) {
13
+ return e.messages.length === 0;
14
+ }
15
+ function h(h) {
16
+ let { filter: g = "all", searchText: _ = "", rowOf: v } = h, y = l((e) => e.conversations), b = o((e) => e.product !== null), x = o((e) => e.scopeKey), S = o((e) => e.loadingIds), C = o((e) => e.olderHeaders), w = o((e) => e.epoch), T = o((e) => e.controlsAvailable), E = o((e) => e.pinLimit?.limit ?? null), D = s((e) => x === null ? void 0 : e.scopes[x]), O = s((e) => e.tombstones), k = s((e) => e.outbox), A = b && T, j = A ? u(g) : e;
17
+ f(() => {
18
+ b && n.notePanelOpened();
19
+ }, [b]);
20
+ let M = c({
21
+ text: _,
22
+ filter: j,
23
+ enabled: A,
24
+ scopeKey: x,
25
+ epoch: w
26
+ }), N = A && M.query !== "", P = M.server, F = p(() => ({
27
+ conversations: y,
28
+ scopeKey: x,
29
+ headers: D?.headers ?? {},
30
+ olderHeaders: C && C.scopeKey === x ? C.headers : void 0,
31
+ tombstones: O,
32
+ loadingIds: S,
33
+ outbox: k
34
+ }), [
35
+ y,
36
+ x,
37
+ D,
38
+ C,
39
+ O,
40
+ S,
41
+ k
42
+ ]), I = p(() => {
43
+ let e = (e) => v({
44
+ key: e.id,
45
+ title: e.title,
46
+ updatedAt: e.updatedAt,
47
+ conversation: e,
48
+ pinnedAt: null,
49
+ canPin: !1
50
+ });
51
+ if (!b) return y.filter((e) => !m(e)).map(e);
52
+ let t = (e) => v({
53
+ key: e.key,
54
+ title: e.title,
55
+ updatedAt: e.updatedAt,
56
+ conversation: e.conversation,
57
+ pinnedAt: e.pinnedAt,
58
+ archivedAt: e.archivedAt,
59
+ channel: e.channel,
60
+ canPin: A && r(e, k, x)
61
+ }), n = (e) => e.header !== null || e.conversation !== null && !m(e.conversation);
62
+ if (N) {
63
+ let r = a(F, j, M.query, P.status === "results" ? P.hits : null);
64
+ return [
65
+ ...r.server.filter(n).map(t),
66
+ ...r.local.filter(n).map(t),
67
+ ...r.device.filter((e) => !m(e)).map(e)
68
+ ];
69
+ }
70
+ let o = i(F, j);
71
+ return [...o.workspace.filter(n).map(t), ...o.device.filter((e) => !m(e)).map(e)];
72
+ }, [
73
+ b,
74
+ y,
75
+ A,
76
+ F,
77
+ j,
78
+ N,
79
+ M.query,
80
+ P,
81
+ k,
82
+ x,
83
+ v
84
+ ]), L = A ? j : void 0, R = t(L), z = C && C.scopeKey === x ? C : void 0, B = b && !N && (z ? z.filterKey !== R || z.hasMore : D?.hasOlderHeaders === !0), V = d(() => {
85
+ n.loadOlderHeaders(L);
86
+ }, [L]);
87
+ return {
88
+ historyOn: b,
89
+ controlsOn: A,
90
+ rows: I,
91
+ pinLimit: E,
92
+ rename: d((e, t) => {
93
+ l.getState().renameConversation(e, t);
94
+ }, []),
95
+ setPinned: d((e, t) => {
96
+ n.updateConversation(e, { pinned: t });
97
+ }, []),
98
+ setArchived: d((e, t) => {
99
+ n.updateConversation(e, { archived: t });
100
+ }, []),
101
+ remove: d((e) => {
102
+ b ? n.deleteConversation(e) : l.getState().deleteConversation(e);
103
+ }, [b]),
104
+ search: {
105
+ active: N,
106
+ tooShort: M.tooShort,
107
+ searching: P.status === "searching",
108
+ fallback: P.status === "fallback" ? P.reason : null,
109
+ more: P.status === "results" && P.hasMore,
110
+ loadingMore: P.status === "results" && P.loadingMore,
111
+ loadMore: M.loadMore,
112
+ flush: M.flush
113
+ },
114
+ older: {
115
+ available: B,
116
+ load: V
117
+ }
118
+ };
119
+ }
120
+ export { h as useAssistantHomeHistoryRows };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * BOFF-15069: the assistant home page, one entry: `@burdenoff/fe-libs/shared/assistant/home`.
3
+ *
4
+ * Opt-in: a product mounts `AssistantHomePage` at `ASSISTANT_HOME_PATH` and passes its own content
5
+ * (words, items, sections, its data), and leaves its desktop top bar out there
6
+ * (`assistantHomeHidesDesktopTopBar`). Each module is also reachable on its own path
7
+ * (`@burdenoff/fe-libs/shared/assistant/home/AssistantHomePage`, …) and through the assistant
8
+ * barrel.
9
+ */
10
+ export * from './home/assistantHomeRoutes';
11
+ export * from './home/assistantHomeTopBar';
12
+ export * from './home/assistantHomeChat';
13
+ export * from './home/assistantHomeHistoryRows';
14
+ export * from './home/useAssistantHomeHistoryRows';
15
+ export * from './home/AssistantHomeActions';
16
+ export * from './home/AssistantHomeStart';
17
+ export * from './home/AssistantHomeComposer';
18
+ export * from './home/AssistantHomeHistory';
19
+ export * from './home/AssistantHomePage';
@@ -0,0 +1,11 @@
1
+ import { ASSISTANT_HOME_CHAT_PARAM as e, ASSISTANT_HOME_PATH as t, ASSISTANT_HOME_PROMPT_MAX as n, ASSISTANT_HOME_PROMPT_PARAM as r, ASSISTANT_HOME_TABS as i, ASSISTANT_HOME_TAB_PARAM as a, assistantHomeChatHref as o, assistantHomeHref as s, assistantHomePromptHref as c, isAssistantHomePath as l, parseAssistantHomePrompt as u, parseAssistantHomeTab as d, useAssistantHomeChatShown as f, useAssistantHomePrompt as p, useAssistantHomeTab as m } from "./home/assistantHomeRoutes.js";
2
+ import { assistantHomeHidesDesktopTopBar as h, useAssistantHomeHidesDesktopTopBar as g } from "./home/assistantHomeTopBar.js";
3
+ import { AssistantHomeNewChatContext as _, assistantHomeNewChat as v, assistantHomeOpenChatIsNew as y, assistantHomeReusableOpenChat as b, useAssistantHomeNewChat as x, useAssistantHomeStartChat as S } from "./home/assistantHomeChat.js";
4
+ import { ASSISTANT_HOME_HISTORY_ENGINE_FILTERS as C, ASSISTANT_HOME_HISTORY_GROUPS as w, assistantHomeHistoryEngineFilterOf as T, assistantHomeHistoryGroupOf as E, assistantHomeHistoryRowOf as D, assistantHomeHistoryTimeLabel as O, assistantHomeLastReplyLink as k, groupAssistantHomeHistoryRows as A, isAssistantHomeHistoryEngineFilter as j, matchesAssistantHomeHistoryKind as M, matchesAssistantHomeHistoryQuery as N } from "./home/assistantHomeHistoryRows.js";
5
+ import { useAssistantHomeHistoryRows as P } from "./home/useAssistantHomeHistoryRows.js";
6
+ import { AssistantHomeActions as F, AssistantHomeActionsBar as I } from "./home/AssistantHomeActions.js";
7
+ import { AssistantHomeAttentionCard as L, AssistantHomeContinueCard as R, AssistantHomeGlow as z, AssistantHomeHero as B, AssistantHomeRecentChats as V, AssistantHomeSection as H, AssistantHomeSections as U, AssistantHomeStartCardButton as W, AssistantHomeSuggestions as G } from "./home/AssistantHomeStart.js";
8
+ import { AssistantHomeComposer as K } from "./home/AssistantHomeComposer.js";
9
+ import { AssistantHomeHistory as q } from "./home/AssistantHomeHistory.js";
10
+ import { ASSISTANT_HOME_CHAT_FRAME as J, ASSISTANT_HOME_PAGE_FRAME as Y, AssistantHomeHeroChat as X, AssistantHomeInPageChat as Z, AssistantHomePage as Q } from "./home/AssistantHomePage.js";
11
+ export { J as ASSISTANT_HOME_CHAT_FRAME, e as ASSISTANT_HOME_CHAT_PARAM, C as ASSISTANT_HOME_HISTORY_ENGINE_FILTERS, w as ASSISTANT_HOME_HISTORY_GROUPS, Y as ASSISTANT_HOME_PAGE_FRAME, t as ASSISTANT_HOME_PATH, n as ASSISTANT_HOME_PROMPT_MAX, r as ASSISTANT_HOME_PROMPT_PARAM, i as ASSISTANT_HOME_TABS, a as ASSISTANT_HOME_TAB_PARAM, F as AssistantHomeActions, I as AssistantHomeActionsBar, L as AssistantHomeAttentionCard, K as AssistantHomeComposer, R as AssistantHomeContinueCard, z as AssistantHomeGlow, B as AssistantHomeHero, X as AssistantHomeHeroChat, q as AssistantHomeHistory, Z as AssistantHomeInPageChat, _ as AssistantHomeNewChatContext, Q as AssistantHomePage, V as AssistantHomeRecentChats, H as AssistantHomeSection, U as AssistantHomeSections, W as AssistantHomeStartCardButton, G as AssistantHomeSuggestions, o as assistantHomeChatHref, h as assistantHomeHidesDesktopTopBar, T as assistantHomeHistoryEngineFilterOf, E as assistantHomeHistoryGroupOf, D as assistantHomeHistoryRowOf, O as assistantHomeHistoryTimeLabel, s as assistantHomeHref, k as assistantHomeLastReplyLink, v as assistantHomeNewChat, y as assistantHomeOpenChatIsNew, c as assistantHomePromptHref, b as assistantHomeReusableOpenChat, A as groupAssistantHomeHistoryRows, j as isAssistantHomeHistoryEngineFilter, l as isAssistantHomePath, M as matchesAssistantHomeHistoryKind, N as matchesAssistantHomeHistoryQuery, u as parseAssistantHomePrompt, d as parseAssistantHomeTab, f as useAssistantHomeChatShown, g as useAssistantHomeHidesDesktopTopBar, P as useAssistantHomeHistoryRows, x as useAssistantHomeNewChat, p as useAssistantHomePrompt, S as useAssistantHomeStartChat, m as useAssistantHomeTab };
@@ -787,6 +787,25 @@ export declare const ASSISTANT_I18N_LITERAL_COPY: {
787
787
  readonly 'waitingChange.reviewInFull': "Review in full assistant";
788
788
  readonly 'waitingChange.reviewLabel': "Review the change waiting for your approval";
789
789
  readonly 'waitingChange.status': "{{count}} change(s) waiting for your approval";
790
+ readonly 'welcome.afternoon': "Good afternoon";
791
+ readonly 'welcome.afternoonName': "Good afternoon, {{name}}";
792
+ readonly 'welcome.approval': "Each change waits for your approval.";
793
+ readonly 'welcome.ask': "Ask a question";
794
+ readonly 'welcome.askAbout': "Ask about “{{page}}”";
795
+ readonly 'welcome.change': "Make a change";
796
+ readonly 'welcome.evening': "Good evening";
797
+ readonly 'welcome.eveningName': "Good evening, {{name}}";
798
+ readonly 'welcome.morning': "Good morning";
799
+ readonly 'welcome.morningName': "Good morning, {{name}}";
800
+ readonly 'welcome.sub': "Ask me anything.";
801
+ readonly 'welcome.subChange': "Ask a question, or let me change something.";
802
+ readonly 'welcome.subPage': "Ask me about “{{page}}”.";
803
+ readonly 'welcome.subPageChange': "Ask about “{{page}}”, or let me change something.";
804
+ readonly 'welcome.tipAsk': "Ask about anything on this page.";
805
+ readonly 'welcome.tipAvatar': "Switch to Avatar to talk with a video avatar.";
806
+ readonly 'welcome.tipChange': "Ask for a change. It waits for your approval.";
807
+ readonly 'welcome.tipVoice': "Press the voice button to talk.";
808
+ readonly 'welcome.tips': "Tips";
790
809
  readonly 'window.endVoice': "End voice";
791
810
  readonly 'window.hideTranscript': "Hide transcript";
792
811
  readonly 'window.language': "Language";
@@ -801,8 +820,8 @@ export declare const ASSISTANT_I18N_LITERAL_COPY: {
801
820
  readonly 'window.openFullAvatarStays': "Open full assistant (the avatar stays on)";
802
821
  readonly 'window.showTranscript': "Show transcript";
803
822
  readonly 'window.stopSpeaking': "Stop speaking";
823
+ readonly 'window.productTitle': "{{product}} Assistant";
804
824
  readonly 'window.title': "Quick assistant";
805
- readonly 'window.titleShort': "Quick";
806
825
  readonly 'window.unmute': "Unmute";
807
826
  readonly 'window.voiceStartedCue': "Started a voice conversation. Your chat is in History.";
808
827
  readonly 'writeConsent.body': "In {{mode}} mode the assistant can read AND change your data — creating records, logging activity, updating details, and more, on your behalf.";
@@ -883,6 +902,7 @@ export declare const ASSISTANT_I18N_SEED_COMPAT_COPY: Readonly<{
883
902
  readonly 'attachments.retrying': "Retrying {{attempt}} of {{max}}";
884
903
  readonly 'attachments.waking': "File service is starting up — retry {{attempt}} of {{max}}";
885
904
  readonly 'outcome.usageDailyLimitReachedNoTime': "You've reached today's AI assistant limit. Try again tomorrow.";
905
+ readonly 'window.titleShort': "Quick";
886
906
  }>;
887
907
  /**
888
908
  * The manifest: every relative key whose English fe-libs owns, literal and
@@ -680,6 +680,25 @@ var g = {
680
680
  "waitingChange.reviewInFull": "Review in full assistant",
681
681
  "waitingChange.reviewLabel": "Review the change waiting for your approval",
682
682
  "waitingChange.status": "{{count}} change(s) waiting for your approval",
683
+ "welcome.afternoon": "Good afternoon",
684
+ "welcome.afternoonName": "Good afternoon, {{name}}",
685
+ "welcome.approval": "Each change waits for your approval.",
686
+ "welcome.ask": "Ask a question",
687
+ "welcome.askAbout": "Ask about “{{page}}”",
688
+ "welcome.change": "Make a change",
689
+ "welcome.evening": "Good evening",
690
+ "welcome.eveningName": "Good evening, {{name}}",
691
+ "welcome.morning": "Good morning",
692
+ "welcome.morningName": "Good morning, {{name}}",
693
+ "welcome.sub": "Ask me anything.",
694
+ "welcome.subChange": "Ask a question, or let me change something.",
695
+ "welcome.subPage": "Ask me about “{{page}}”.",
696
+ "welcome.subPageChange": "Ask about “{{page}}”, or let me change something.",
697
+ "welcome.tipAsk": "Ask about anything on this page.",
698
+ "welcome.tipAvatar": "Switch to Avatar to talk with a video avatar.",
699
+ "welcome.tipChange": "Ask for a change. It waits for your approval.",
700
+ "welcome.tipVoice": "Press the voice button to talk.",
701
+ "welcome.tips": "Tips",
683
702
  "window.endVoice": "End voice",
684
703
  "window.hideTranscript": "Hide transcript",
685
704
  "window.language": "Language",
@@ -694,8 +713,8 @@ var g = {
694
713
  "window.openFullAvatarStays": "Open full assistant (the avatar stays on)",
695
714
  "window.showTranscript": "Show transcript",
696
715
  "window.stopSpeaking": "Stop speaking",
716
+ "window.productTitle": "{{product}} Assistant",
697
717
  "window.title": "Quick assistant",
698
- "window.titleShort": "Quick",
699
718
  "window.unmute": "Unmute",
700
719
  "window.voiceStartedCue": "Started a voice conversation. Your chat is in History.",
701
720
  "writeConsent.body": "In {{mode}} mode the assistant can read AND change your data — creating records, logging activity, updating details, and more, on your behalf.",
@@ -774,7 +793,8 @@ var g = {
774
793
  }), y = Object.freeze({
775
794
  "attachments.retrying": "Retrying {{attempt}} of {{max}}",
776
795
  "attachments.waking": "File service is starting up — retry {{attempt}} of {{max}}",
777
- "outcome.usageDailyLimitReachedNoTime": "You've reached today's AI assistant limit. Try again tomorrow."
796
+ "outcome.usageDailyLimitReachedNoTime": "You've reached today's AI assistant limit. Try again tomorrow.",
797
+ "window.titleShort": "Quick"
778
798
  }), b = Object.freeze({
779
799
  ...g,
780
800
  ...v,
@@ -376,6 +376,16 @@ export * from './ui/assistantPageLayout';
376
376
  export * from './ui/assistantPageStart';
377
377
  export * from './ui/assistantPageSettings';
378
378
  export * from './ui/assistantPageBar';
379
+ export * from './home/assistantHomeRoutes';
380
+ export * from './home/assistantHomeTopBar';
381
+ export * from './home/assistantHomeChat';
382
+ export * from './home/assistantHomeHistoryRows';
383
+ export * from './home/useAssistantHomeHistoryRows';
384
+ export * from './home/AssistantHomeActions';
385
+ export * from './home/AssistantHomeStart';
386
+ export * from './home/AssistantHomeComposer';
387
+ export * from './home/AssistantHomeHistory';
388
+ export * from './home/AssistantHomePage';
379
389
  export * from './ui/assistantPanelLoader';
380
390
  export * from './ui/AssistantPanelPlaceholder';
381
391
  export * from './openui/generativeUi';
@@ -429,6 +439,14 @@ export * from './ui/compact/AssistantMenuView';
429
439
  export * from './ui/compact/AssistantVoiceLanguageSettings';
430
440
  export * from './ui/compact/AssistantWaitingChangeRow';
431
441
  export * from './ui/compact/AssistantWindowHeader';
442
+ export * from './ui/compact/windowTitle';
443
+ export * from './ui/compact/AssistantWindowWelcome';
444
+ export * from './ui/compact/AssistantWindowWelcomeCard';
445
+ export * from './ui/compact/AssistantWindowWelcomeHero';
446
+ export * from './ui/compact/AssistantWindowWelcomeSuggestions';
447
+ export * from './ui/compact/AssistantWindowWelcomeTips';
448
+ export * from './ui/compact/windowWelcome';
449
+ export * from './ui/compact/windowWelcomeHooks';
432
450
  export * from './ui/compact/AssistantLanguagePill';
433
451
  export * from './ui/compact/AssistantViewSwitch';
434
452
  export * from './ui/compact/AssistantViewSwitchRow';