@burdenoff/fe-libs 2026.1001.2 → 2026.1001.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.
- package/dist/shared/assistant/conversationDeleteCommand.d.ts +31 -0
- package/dist/shared/assistant/conversationDeleteCommand.d.ts.map +1 -0
- package/dist/shared/assistant/conversationDeleteCommand.js +14 -0
- package/dist/shared/assistant/history/historyControls.d.ts +9 -0
- package/dist/shared/assistant/history/historyControls.d.ts.map +1 -1
- package/dist/shared/assistant/history/historyControls.js +7 -1
- package/dist/shared/assistant/history/historyList.d.ts +10 -0
- package/dist/shared/assistant/history/historyList.d.ts.map +1 -1
- package/dist/shared/assistant/history/historyList.js +33 -28
- package/dist/shared/assistant/history/useHistoryRowControls.d.ts +13 -0
- package/dist/shared/assistant/history/useHistoryRowControls.d.ts.map +1 -0
- package/dist/shared/assistant/history/useHistoryRowControls.js +24 -0
- package/dist/shared/assistant/i18nManifest.d.ts +36 -0
- package/dist/shared/assistant/i18nManifest.d.ts.map +1 -1
- package/dist/shared/assistant/i18nManifest.js +36 -0
- package/dist/shared/assistant/index.d.ts +6 -0
- package/dist/shared/assistant/index.d.ts.map +1 -1
- package/dist/shared/assistant/localUiCommands.d.ts +8 -0
- package/dist/shared/assistant/localUiCommands.d.ts.map +1 -1
- package/dist/shared/assistant/localUiCommands.js +20 -19
- package/dist/shared/assistant/ui/AIAssistantPanel.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AIAssistantPanel.js +67 -66
- package/dist/shared/assistant/ui/AssistantChatArea.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantChatArea.js +978 -891
- package/dist/shared/assistant/ui/AssistantConversationFilters.d.ts +12 -0
- package/dist/shared/assistant/ui/AssistantConversationFilters.d.ts.map +1 -0
- package/dist/shared/assistant/ui/AssistantConversationFilters.js +92 -0
- package/dist/shared/assistant/ui/AssistantConversationList.d.ts +9 -0
- package/dist/shared/assistant/ui/AssistantConversationList.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantConversationList.js +314 -214
- package/dist/shared/assistant/ui/AssistantDeleteConversationDialog.d.ts +59 -0
- package/dist/shared/assistant/ui/AssistantDeleteConversationDialog.d.ts.map +1 -0
- package/dist/shared/assistant/ui/AssistantDeleteConversationDialog.js +84 -0
- package/dist/shared/assistant/ui/AssistantHistoryNotices.d.ts +18 -0
- package/dist/shared/assistant/ui/AssistantHistoryNotices.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantHistoryNotices.js +76 -29
- package/dist/shared/assistant/ui/conversationDelete.d.ts +18 -0
- package/dist/shared/assistant/ui/conversationDelete.d.ts.map +1 -0
- package/dist/shared/assistant/ui/conversationDelete.js +16 -0
- package/dist/shared/assistant/ui/conversationDeleteDialog.d.ts +32 -0
- package/dist/shared/assistant/ui/conversationDeleteDialog.d.ts.map +1 -0
- package/dist/shared/assistant/ui/conversationDeleteDialog.js +54 -0
- package/dist/shared/assistant/ui/useVoiceSession.d.ts +5 -0
- package/dist/shared/assistant/ui/useVoiceSession.d.ts.map +1 -1
- package/dist/shared/assistant/ui/useVoiceSession.js +129 -121
- package/dist/shared/assistant/voice/turnVisibility.d.ts +9 -0
- package/dist/shared/assistant/voice/turnVisibility.d.ts.map +1 -1
- package/dist/shared/assistant/voice/voiceReopen.d.ts +134 -11
- package/dist/shared/assistant/voice/voiceReopen.d.ts.map +1 -1
- package/dist/shared/assistant/voice/voiceReopen.js +83 -25
- package/dist/shared/assistant/voice/voiceSession.d.ts +10 -0
- package/dist/shared/assistant/voice/voiceSession.d.ts.map +1 -1
- package/dist/shared/assistant/voice/voiceSession.js +6 -0
- package/dist/shared-assistant.js +170 -164
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Conversation } from './conversation';
|
|
2
|
+
import { VoiceSessionBinding } from './voice/voiceReopen';
|
|
3
|
+
/** What the Delete confirmation is opened for. */
|
|
4
|
+
export interface ConversationDeleteTarget {
|
|
5
|
+
conversationId: string;
|
|
6
|
+
/** Its title as held here; empty when it has none (the dialog names it). */
|
|
7
|
+
title: string;
|
|
8
|
+
/**
|
|
9
|
+
* Kept in server history: deleted on every device now, erased after 30
|
|
10
|
+
* days. False: this device's alone (history off, or never stamped).
|
|
11
|
+
*/
|
|
12
|
+
synced: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The conversation the command names, or null when there is none to delete:
|
|
16
|
+
*
|
|
17
|
+
* - typed: the open conversation;
|
|
18
|
+
* - spoken: the live session's conversation (its binding), or — before the
|
|
19
|
+
* session has spoken into one — the conversation on screen;
|
|
20
|
+
* - an empty draft is not a conversation to delete: nothing in it, nothing
|
|
21
|
+
* saved, and deleting it would only leave a tombstone behind.
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveConversationDeleteTarget(input: {
|
|
24
|
+
spoken: boolean;
|
|
25
|
+
bound: VoiceSessionBinding;
|
|
26
|
+
activeConversationId: string | null;
|
|
27
|
+
conversations: readonly Conversation[];
|
|
28
|
+
/** Server history is on for this panel. */
|
|
29
|
+
historyOn: boolean;
|
|
30
|
+
}): ConversationDeleteTarget | null;
|
|
31
|
+
//# sourceMappingURL=conversationDeleteCommand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversationDeleteCommand.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/conversationDeleteCommand.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,kDAAkD;AAClD,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE;IACrD,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,mBAAmB,CAAC;IAC3B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,aAAa,EAAE,SAAS,YAAY,EAAE,CAAC;IACvC,2CAA2C;IAC3C,SAAS,EAAE,OAAO,CAAC;CACpB,GAAG,wBAAwB,GAAG,IAAI,CAalC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { conversationHasHistory as e } from "./history/historyList.js";
|
|
2
|
+
//#region src/shared/assistant/conversationDeleteCommand.ts
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = t.spoken && typeof t.bound == "string" ? t.bound : t.activeConversationId;
|
|
5
|
+
if (n === null) return null;
|
|
6
|
+
let r = t.conversations.find((e) => e.id === n);
|
|
7
|
+
return !r || !e(r) ? null : {
|
|
8
|
+
conversationId: r.id,
|
|
9
|
+
title: r.title,
|
|
10
|
+
synced: t.historyOn && r.sync !== void 0
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { t as resolveConversationDeleteTarget };
|
|
@@ -83,4 +83,13 @@ export declare function matchesHistoryFilter(row: Pick<AssistantHistoryRowContro
|
|
|
83
83
|
* paged per filter, and its `hasMore` answers for one key only.
|
|
84
84
|
*/
|
|
85
85
|
export declare function historyFilterKey(filter: Readonly<AssistantHistoryConversationFilter> | undefined): string;
|
|
86
|
+
/** The list's filter is the default one: every conversation that is not archived. */
|
|
87
|
+
export declare function isDefaultHistoryFilter(filter: Readonly<AssistantHistoryConversationFilter>): boolean;
|
|
88
|
+
/**
|
|
89
|
+
* What an empty list says under a filter (BOFF-8159): the most specific of
|
|
90
|
+
* them — Archived, then Pinned, then the channel. Null for the default
|
|
91
|
+
* filter, whose empty list is "No conversations yet".
|
|
92
|
+
*/
|
|
93
|
+
export type HistoryFilterEmptyKind = "archived" | "pinned" | "voice" | "chat";
|
|
94
|
+
export declare function historyFilterEmptyKind(filter: Readonly<AssistantHistoryConversationFilter>): HistoryFilterEmptyKind | null;
|
|
86
95
|
//# sourceMappingURL=historyControls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"historyControls.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/history/historyControls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACvB,kCAAkC,EAClC,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,gBAAgB,CAAC;AAExB;;;;;GAKG;AACH,eAAO,MAAM,UAAU,KAAK,CAAC;AAE7B,yEAAyE;AACzE,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAOhD,kFAAkF;AAClF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAGnE;AAED,yCAAyC;AACzC,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAO1D;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,2BAA2B,EAClC,KAAK,EAAE,2BAA2B,GACjC,2BAA2B,CAK7B;AAED,0FAA0F;AAC1F,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAQ9E;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,GAAG,uBAAuB,GAAG,IAAI,CAa3G;AASD,oDAAoD;AACpD,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,2BAA2B,CAAC;IACnC,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,+EAA+E;AAC/E,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,SAAS,0BAA0B,EAAE,EAC7C,QAAQ,EAAE,wBAAwB,GAAG,IAAI,GACxC,MAAM,CAAC,uBAAuB,EAAE,6BAA6B,EAAE,CAAC,CAQlE;AAED,2CAA2C;AAC3C,MAAM,WAAW,2BAA2B;IAC1C,iFAAiF;IACjF,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,uBAAuB,GAAG,IAAI,CAAC;IACxC,iGAAiG;IACjG,KAAK,EAAE,OAAO,CAAC;IACf,uDAAuD;IACvD,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAChC,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,UAAU,CAAC,GAAG,IAAI,EACnD,MAAM,EAAE,sBAAsB,GAAG,IAAI,EACrC,OAAO,GAAE,SAAS,6BAA6B,EAAO,GACrD,2BAA2B,CAkC7B;AAED,mEAAmE;AACnE,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,kCAAkC,CAIpF,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,IAAI,CAAC,2BAA2B,EAAE,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC,EAC7E,MAAM,GAAE,QAAQ,CAAC,kCAAkC,CAA+B,GACjF,OAAO,CAWT;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,QAAQ,CAAC,kCAAkC,CAAC,GAAG,SAAS,GAAG,MAAM,CAIzG"}
|
|
1
|
+
{"version":3,"file":"historyControls.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/history/historyControls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAA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pinned" : e.pinned === !1 ? "unpinned" : "any";
|
|
77
77
|
return `${e.channel ?? "ANY"}|${t}|${e.archived ?? "EXCLUDE"}`;
|
|
78
78
|
}
|
|
79
|
+
function _(e) {
|
|
80
|
+
return (e.channel ?? "ANY") === "ANY" && (e.pinned ?? null) === null && (e.archived ?? "EXCLUDE") === "EXCLUDE";
|
|
81
|
+
}
|
|
82
|
+
function v(e) {
|
|
83
|
+
return e.archived === "ONLY" ? "archived" : e.pinned === !0 ? "pinned" : e.channel === "VOICE" ? "voice" : e.channel === "CHAT" ? "chat" : null;
|
|
84
|
+
}
|
|
79
85
|
//#endregion
|
|
80
|
-
export { m as DEFAULT_HISTORY_LIST_FILTER, t as HISTORY_TITLE_MAX_CODE_POINTS, e as MAX_PINNED, a as clampToCodePoints, c as coalesceUpdatePatch, o as codePointLength, g as historyFilterKey, l as isValidUpdatePatch, u as localChannelOf, h as matchesHistoryFilter, s as normaliseHistoryTitle, f as pendingUpdatesByConversation, p as resolveRowControls };
|
|
86
|
+
export { m as DEFAULT_HISTORY_LIST_FILTER, t as HISTORY_TITLE_MAX_CODE_POINTS, e as MAX_PINNED, a as clampToCodePoints, c as coalesceUpdatePatch, o as codePointLength, v as historyFilterEmptyKind, g as historyFilterKey, _ as isDefaultHistoryFilter, l as isValidUpdatePatch, u as localChannelOf, h as matchesHistoryFilter, s as normaliseHistoryTitle, f as pendingUpdatesByConversation, p as resolveRowControls };
|
|
@@ -114,6 +114,16 @@ export interface AssistantHistoryList {
|
|
|
114
114
|
* only Rename and Delete), and the filter's channel reads its own messages.
|
|
115
115
|
*/
|
|
116
116
|
export declare function selectAssistantHistoryList(input: AssistantHistoryListInput, filter?: Readonly<AssistantHistoryConversationFilter>): AssistantHistoryList;
|
|
117
|
+
/**
|
|
118
|
+
* May the list offer Pin, Archive and a synced Rename on this row of "This
|
|
119
|
+
* workspace" (BOFF-8159)? Only where the server can address it — the rule
|
|
120
|
+
* the engine's `updateConversation` applies, so an offered control never
|
|
121
|
+
* does nothing: a pre-v2 row by its server id; any other once the server has
|
|
122
|
+
* it (a header, a server id) or a save of it is queued. A conversation made
|
|
123
|
+
* here with nothing saved or queued to save (an empty draft) keeps only
|
|
124
|
+
* Rename (this device's) and Delete.
|
|
125
|
+
*/
|
|
126
|
+
export declare function historyRowAcceptsControls(row: Pick<AssistantHistoryListRow, "key" | "legacy" | "header" | "conversation">, outbox: readonly AssistantHistoryOutboxItem[], scopeKey: AssistantHistoryScopeKey | null): boolean;
|
|
117
127
|
/** Server-backed conversations kept on this device at most (the least recently opened go first). */
|
|
118
128
|
export declare const ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS = 25;
|
|
119
129
|
export interface HistoryEvictionInput {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"historyList.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/history/historyList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAIH,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EAEZ,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAQ9C,OAAO,
|
|
1
|
+
{"version":3,"file":"historyList.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/history/historyList.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAIH,OAAO,KAAK,EACV,mBAAmB,EACnB,YAAY,EAEZ,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAQ9C,OAAO,EAIL,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,kCAAkC,EACvC,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,kCAAkC,EACvC,KAAK,yBAAyB,EAC/B,MAAM,gBA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D;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,uBAAuB,EAAE,CAAC;IACrC,MAAM,EAAE,YAAY,EAAE,CAAC;CACxB;AAMD;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,yBAAyB,EAChC,MAAM,GAAE,QAAQ,CAAC,kCAAkC,CAA+B,GACjF,oBAAoB,CA+DtB;AAED;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CACvC,GAAG,EAAE,IAAI,CAAC,uBAAuB,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,cAAc,CAAC,EAChF,MAAM,EAAE,SAAS,0BAA0B,EAAE,EAC7C,QAAQ,EAAE,wBAAwB,GAAG,IAAI,GACxC,OAAO,CAQT;AAcD,oGAAoG;AACpG,eAAO,MAAM,0CAA0C,KAAK,CAAC;AAE7D,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,SAAS,YAAY,EAAE,CAAC;IACvC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,0DAA0D;IAC1D,GAAG,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,WAAW,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAC;CACtD;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,oBAAoB,GAAG,MAAM,EAAE,CAkB5E"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "../autoRouting.js";
|
|
2
2
|
import { DEFAULT_HISTORY_LIST_FILTER as e, matchesHistoryFilter as t, pendingUpdatesByConversation as n, resolveRowControls as r } from "./historyControls.js";
|
|
3
3
|
import { modeRequiresConfirmWrites as i } from "../api.js";
|
|
4
|
-
import { assistantHistoryScopeKey as a,
|
|
4
|
+
import { assistantHistoryScopeKey as a, isLegacyHistoryConvKey as o, legacyHistoryConvKey as s } from "./historyTypes.js";
|
|
5
5
|
//#region src/shared/assistant/history/historyList.ts
|
|
6
|
-
function
|
|
6
|
+
function c(e) {
|
|
7
7
|
return a({
|
|
8
8
|
actorId: e.actorId,
|
|
9
9
|
workspaceId: e.workspaceId,
|
|
10
10
|
product: e.product
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
function c(e) {
|
|
14
|
-
return e.clientConversationId ?? o(e.id);
|
|
15
|
-
}
|
|
16
13
|
function l(e) {
|
|
14
|
+
return e.clientConversationId ?? s(e.id);
|
|
15
|
+
}
|
|
16
|
+
function u(e) {
|
|
17
17
|
return {
|
|
18
18
|
serverId: e.id,
|
|
19
19
|
clientConversationId: e.clientConversationId,
|
|
@@ -28,26 +28,26 @@ function l(e) {
|
|
|
28
28
|
...e.channel === void 0 ? {} : { channel: e.channel }
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function d(e) {
|
|
32
32
|
return e.messages.length > 0 || !!e.backendSessionId || !!e.sync?.serverId || e.sync?.origin === "remote" || e.sync?.origin === "legacy";
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function f(e) {
|
|
35
35
|
return e?.sync?.origin === "legacy";
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function p(e, t) {
|
|
38
38
|
let n = e?.sync;
|
|
39
39
|
return !n || !t ? !1 : n.product !== t.product || n.workspaceId !== t.workspaceId || n.actorId !== t.actorId;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
if (
|
|
41
|
+
function m(e, t) {
|
|
42
|
+
if (d(e)) return !1;
|
|
43
43
|
let n = e.sync;
|
|
44
44
|
return !t || !n ? !t && !n : n.product === t.product && n.workspaceId === t.workspaceId && n.actorId === t.actorId;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function h(e) {
|
|
47
47
|
return e.find((e) => e.id === "assistant" || !e.writeCapable && !e.requiresAdmin && !i(e.id))?.id ?? "assistant";
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
let i =
|
|
49
|
+
function g(e, t, n, r) {
|
|
50
|
+
let i = h(r.modes), a = i === "assistant" && r.autoRouting ? "auto" : void 0;
|
|
51
51
|
return {
|
|
52
52
|
id: e,
|
|
53
53
|
title: t.title ?? "",
|
|
@@ -70,21 +70,21 @@ function h(e, t, n, r) {
|
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
|
-
var
|
|
74
|
-
function
|
|
75
|
-
let o = [],
|
|
73
|
+
var _ = (e, t) => e > t ? e : t, v = [];
|
|
74
|
+
function y(i, a = e) {
|
|
75
|
+
let o = [], s = /* @__PURE__ */ new Map(), l = i.loadingIds ?? {}, u = n(i.outbox ?? [], i.scopeKey);
|
|
76
76
|
for (let e of i.conversations) {
|
|
77
77
|
let n = e.sync;
|
|
78
78
|
if (!n) {
|
|
79
79
|
t(r(e, null), a) && o.push(e);
|
|
80
80
|
continue;
|
|
81
81
|
}
|
|
82
|
-
if (i.scopeKey === null ||
|
|
83
|
-
let d = i.headers[e.id] ?? i.olderHeaders?.[e.id] ?? null, f = r(e, d, u[e.id] ??
|
|
84
|
-
|
|
82
|
+
if (i.scopeKey === null || c(n) !== i.scopeKey || e.id in i.tombstones) continue;
|
|
83
|
+
let d = i.headers[e.id] ?? i.olderHeaders?.[e.id] ?? null, f = r(e, d, u[e.id] ?? v);
|
|
84
|
+
s.set(e.id, {
|
|
85
85
|
key: e.id,
|
|
86
86
|
title: f.pendingTitle ?? e.title,
|
|
87
|
-
updatedAt: d ?
|
|
87
|
+
updatedAt: d ? _(e.updatedAt, d.updatedAt) : e.updatedAt,
|
|
88
88
|
conversation: e,
|
|
89
89
|
header: d,
|
|
90
90
|
legacy: n.origin === "legacy",
|
|
@@ -100,9 +100,9 @@ function v(i, a = e) {
|
|
|
100
100
|
if (i.scopeKey !== null) {
|
|
101
101
|
let e = [i.headers, i.olderHeaders ?? {}];
|
|
102
102
|
for (let t of e) for (let [e, n] of Object.entries(t)) {
|
|
103
|
-
if (
|
|
104
|
-
let t = r(null, n, u[e] ??
|
|
105
|
-
|
|
103
|
+
if (s.has(e) || n.gone || e in i.tombstones) continue;
|
|
104
|
+
let t = r(null, n, u[e] ?? v);
|
|
105
|
+
s.set(e, {
|
|
106
106
|
key: e,
|
|
107
107
|
title: t.pendingTitle ?? n.title ?? "",
|
|
108
108
|
updatedAt: n.updatedAt,
|
|
@@ -119,19 +119,24 @@ function v(i, a = e) {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
return {
|
|
122
|
-
workspace: [...
|
|
122
|
+
workspace: [...s.values()].filter((e) => t(e, a)).sort(x),
|
|
123
123
|
device: o
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function b(e, t, n) {
|
|
127
|
+
if (n === null) return !1;
|
|
128
|
+
let r = e.conversation?.sync?.serverId ?? e.header?.serverId;
|
|
129
|
+
return e.legacy ? !!r || o(e.key) : r || e.header !== null ? !0 : t.some((t) => t.type === "save" && t.convKey === e.key && t.scopeKey === n);
|
|
130
|
+
}
|
|
131
|
+
function x(e, t) {
|
|
127
132
|
return e.pinnedAt === null == (t.pinnedAt === null) ? e.pinnedAt !== null && t.pinnedAt !== null && e.pinnedAt !== t.pinnedAt ? e.pinnedAt < t.pinnedAt ? 1 : -1 : e.updatedAt === t.updatedAt ? e.key < t.key ? -1 : Number(e.key > t.key) : e.updatedAt < t.updatedAt ? 1 : -1 : e.pinnedAt === null ? 1 : -1;
|
|
128
133
|
}
|
|
129
|
-
var
|
|
130
|
-
function
|
|
134
|
+
var S = 25;
|
|
135
|
+
function C(e) {
|
|
131
136
|
let t = e.conversations.filter((e) => !!e.sync?.serverId), n = t.length - e.max;
|
|
132
137
|
if (n <= 0) return [];
|
|
133
138
|
let r = (e) => e.sync?.openedAt ?? e.updatedAt;
|
|
134
139
|
return t.filter((t) => t.id !== e.activeConversationId && !t.sync?.titleLocked && !t.sync?.blocked && !e.isProtected(t)).sort((e, t) => r(e) === r(t) ? e.id < t.id ? -1 : 1 : r(e) < r(t) ? -1 : 1).slice(0, n).map((e) => e.id);
|
|
135
140
|
}
|
|
136
141
|
//#endregion
|
|
137
|
-
export {
|
|
142
|
+
export { S as ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS, d as conversationHasHistory, l as historyConvKeyOf, u as historyHeaderOf, b as historyRowAcceptsControls, c as historyScopeKeyOfStamp, p as isOtherScopeHistoryConversation, f as isReadOnlyHistoryConversation, m as isReusableHistoryDraft, g as materializeHistoryHeader, h as resolveHistoryReopenMode, y as selectAssistantHistoryList, C as selectHistoryEvictions };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Conversation } from '../conversation';
|
|
2
|
+
import { AssistantHistoryRowControls } from './historyControls';
|
|
3
|
+
/**
|
|
4
|
+
* One held conversation's history controls (BOFF-8159) — its pin, archive and
|
|
5
|
+
* channel exactly as the list resolves them (`resolveRowControls`: the queued
|
|
6
|
+
* changes first, then the server's header, then this device), for the chat
|
|
7
|
+
* area's "Archived" notice.
|
|
8
|
+
*
|
|
9
|
+
* Null whenever the controls do not apply: history off, the server without
|
|
10
|
+
* them, a device-only conversation, or one stamped for another scope.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useHistoryRowControlsFor(conversation: Conversation | undefined): AssistantHistoryRowControls | null;
|
|
13
|
+
//# sourceMappingURL=useHistoryRowControls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useHistoryRowControls.d.ts","sourceRoot":"","sources":["../../../../src/shared/assistant/history/useHistoryRowControls.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAGL,KAAK,2BAA2B,EACjC,MAAM,mBAAmB,CAAC;AAK3B;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,YAAY,EAAE,YAAY,GAAG,SAAS,GACrC,2BAA2B,GAAG,IAAI,CAsBpC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { pendingUpdatesByConversation as e, resolveRowControls as t } from "./historyControls.js";
|
|
2
|
+
import { historyScopeKeyOfStamp as n } from "./historyList.js";
|
|
3
|
+
import { useAssistantHistoryStatus as r } from "./historyStatus.js";
|
|
4
|
+
import { useAssistantHistoryStore as i } from "./historyStore.js";
|
|
5
|
+
import { useMemo as a } from "react";
|
|
6
|
+
//#region src/shared/assistant/history/useHistoryRowControls.ts
|
|
7
|
+
function o(o) {
|
|
8
|
+
let s = r((e) => e.product !== null && e.controlsAvailable), c = r((e) => e.scopeKey), l = r((e) => e.olderHeaders), u = o?.id, d = i((e) => c === null || u === void 0 ? void 0 : e.scopes[c]?.headers[u]), f = i((e) => e.outbox);
|
|
9
|
+
return a(() => {
|
|
10
|
+
let r = o?.sync;
|
|
11
|
+
if (!s || !o || !r || c === null || n(r) !== c) return null;
|
|
12
|
+
let i = l && l.scopeKey === c ? l.headers[o.id] : void 0, a = e(f, c)[o.id] ?? [];
|
|
13
|
+
return t(o, d ?? i ?? null, a);
|
|
14
|
+
}, [
|
|
15
|
+
s,
|
|
16
|
+
o,
|
|
17
|
+
c,
|
|
18
|
+
l,
|
|
19
|
+
d,
|
|
20
|
+
f
|
|
21
|
+
]);
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { o as useHistoryRowControlsFor };
|
|
@@ -151,17 +151,50 @@ export declare const ASSISTANT_I18N_LITERAL_COPY: {
|
|
|
151
151
|
readonly "composer.voiceStarting": "Starting the microphone — tap to cancel";
|
|
152
152
|
readonly "composer.voiceStop": "Stop dictation";
|
|
153
153
|
readonly "composer.writeAccessDenied": "Changes may not save — your role in this workspace does not currently allow edits. You can still plan and review an action.";
|
|
154
|
+
readonly "conversationFilters.all": "All";
|
|
155
|
+
readonly "conversationFilters.archived": "Archived";
|
|
156
|
+
readonly "conversationFilters.chat": "Chat";
|
|
157
|
+
readonly "conversationFilters.count": "{{count}} conversations";
|
|
158
|
+
readonly "conversationFilters.countOne": "1 conversation";
|
|
159
|
+
readonly "conversationFilters.legend": "Show";
|
|
160
|
+
readonly "conversationFilters.none": "No conversations match";
|
|
161
|
+
readonly "conversationFilters.pinned": "Pinned";
|
|
162
|
+
readonly "conversationFilters.voice": "Voice";
|
|
163
|
+
readonly "conversationList.badgeArchived": "Archived";
|
|
164
|
+
readonly "conversationList.badgeMixed": "Chat + voice";
|
|
165
|
+
readonly "conversationList.badgePinned": "Pinned";
|
|
166
|
+
readonly "conversationList.badgeVoice": "Voice";
|
|
167
|
+
readonly "conversationList.emptyArchived": "No archived conversations";
|
|
168
|
+
readonly "conversationList.emptyChat": "No chat conversations";
|
|
169
|
+
readonly "conversationList.emptyPinned": "No pinned conversations";
|
|
170
|
+
readonly "conversationList.emptyVoice": "No voice conversations";
|
|
171
|
+
readonly "conversationList.messageCount": "{{count}} messages";
|
|
172
|
+
readonly "conversationList.messageCountOne": "1 message";
|
|
173
|
+
readonly "conversationList.spokenCount": "{{count}} spoken";
|
|
174
|
+
readonly "conversationList.spokenCountOne": "1 spoken";
|
|
154
175
|
readonly "conversationList.voiceOnly": "Spoken conversation";
|
|
176
|
+
readonly "conversations.archive": "Archive conversation";
|
|
155
177
|
readonly "conversations.collapse": "Collapse history";
|
|
156
178
|
readonly "conversations.collapseLabel": "Collapse";
|
|
157
179
|
readonly "conversations.delete": "Delete conversation";
|
|
158
180
|
readonly "conversations.empty": "No conversations yet";
|
|
159
181
|
readonly "conversations.new": "New conversation";
|
|
182
|
+
readonly "conversations.pin": "Pin conversation";
|
|
160
183
|
readonly "conversations.rename": "Rename conversation";
|
|
161
184
|
readonly "conversations.renameLabel": "Conversation title";
|
|
162
185
|
readonly "conversations.saveTitle": "Save title";
|
|
163
186
|
readonly "conversations.startNew": "Start a new conversation";
|
|
164
187
|
readonly "conversations.title": "History";
|
|
188
|
+
readonly "conversations.titleLimit": "Titles are up to {{limit}} characters";
|
|
189
|
+
readonly "conversations.unarchive": "Unarchive conversation";
|
|
190
|
+
readonly "conversations.unpin": "Unpin conversation";
|
|
191
|
+
readonly "deleteConversation.body": "“{{title}}” is removed from all your devices now and permanently erased after 30 days. To hide it without deleting, archive it instead.";
|
|
192
|
+
readonly "deleteConversation.bodyDevice": "“{{title}}” is deleted from this device. This can't be undone.";
|
|
193
|
+
readonly "deleteConversation.cancel": "Cancel";
|
|
194
|
+
readonly "deleteConversation.confirm": "Delete";
|
|
195
|
+
readonly "deleteConversation.nothing": "There is no conversation to delete.";
|
|
196
|
+
readonly "deleteConversation.opened": "Opened the delete confirmation. Choose Delete or Cancel on screen.";
|
|
197
|
+
readonly "deleteConversation.title": "Delete this conversation?";
|
|
165
198
|
readonly "empty.subtitle": "You're viewing {{page}}. Ask about it, or pick a suggestion below.";
|
|
166
199
|
readonly "empty.subtitleNoPage": "Ask me anything, or pick a suggestion below.";
|
|
167
200
|
readonly "empty.title": "How can I help?";
|
|
@@ -180,6 +213,7 @@ export declare const ASSISTANT_I18N_LITERAL_COPY: {
|
|
|
180
213
|
readonly "header.preview": "Preview";
|
|
181
214
|
readonly "header.ready": "Ready";
|
|
182
215
|
readonly "header.title": "AI Assistant";
|
|
216
|
+
readonly "history.archivedNotice": "Archived. It stays out of your list until you unarchive it.";
|
|
183
217
|
readonly "history.badgeLoading": "Loading…";
|
|
184
218
|
readonly "history.badgeNotSaved": "Not saved";
|
|
185
219
|
readonly "history.badgeReadOnly": "Read-only";
|
|
@@ -194,9 +228,11 @@ export declare const ASSISTANT_I18N_LITERAL_COPY: {
|
|
|
194
228
|
readonly "history.notSavedInvalid": "Part of this conversation couldn't be saved. It stays on this device.";
|
|
195
229
|
readonly "history.notSavedQuota": "Not saved yet: this workspace has reached its conversation limit. It will be saved when there is room.";
|
|
196
230
|
readonly "history.notSavedScope": "Some turns were sent from another workspace. They stay on this device.";
|
|
231
|
+
readonly "history.pinLimit": "You can pin up to {{limit}} conversations. Unpin one first.";
|
|
197
232
|
readonly "history.showEarlier": "Show earlier messages";
|
|
198
233
|
readonly "history.showOlder": "Show older conversations";
|
|
199
234
|
readonly "history.tryAgain": "Try again";
|
|
235
|
+
readonly "history.unarchive": "Unarchive";
|
|
200
236
|
readonly "history.untitled": "Untitled conversation";
|
|
201
237
|
readonly "language.inputLabel": "Language";
|
|
202
238
|
readonly "language.replyLabel": "Assistant replies in";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18nManifest.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/i18nManifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAa1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B
|
|
1
|
+
{"version":3,"file":"i18nManifest.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/i18nManifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAa1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0GG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4WG,CAAC;AAE5C,mDAAmD;AACnD,MAAM,MAAM,uBAAuB,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAW/E;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAgCtE,CAAC;AAEL;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAIjE,CAAC;AAEL,kEAAkE;AAClE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,mBAAmB,EACnB,IAAI,GAAG,OAAO,GAAG,mBAAmB,CACrC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,SAAS,uBAAuB,EAAE,GACxC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAexB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,uBAAuB,EAAE,CAAC;IAC1C,SAAS,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAC9C,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAiCzB"}
|
|
@@ -49,17 +49,50 @@ var p = {
|
|
|
49
49
|
"composer.voiceStarting": "Starting the microphone — tap to cancel",
|
|
50
50
|
"composer.voiceStop": "Stop dictation",
|
|
51
51
|
"composer.writeAccessDenied": "Changes may not save — your role in this workspace does not currently allow edits. You can still plan and review an action.",
|
|
52
|
+
"conversationFilters.all": "All",
|
|
53
|
+
"conversationFilters.archived": "Archived",
|
|
54
|
+
"conversationFilters.chat": "Chat",
|
|
55
|
+
"conversationFilters.count": "{{count}} conversations",
|
|
56
|
+
"conversationFilters.countOne": "1 conversation",
|
|
57
|
+
"conversationFilters.legend": "Show",
|
|
58
|
+
"conversationFilters.none": "No conversations match",
|
|
59
|
+
"conversationFilters.pinned": "Pinned",
|
|
60
|
+
"conversationFilters.voice": "Voice",
|
|
61
|
+
"conversationList.badgeArchived": "Archived",
|
|
62
|
+
"conversationList.badgeMixed": "Chat + voice",
|
|
63
|
+
"conversationList.badgePinned": "Pinned",
|
|
64
|
+
"conversationList.badgeVoice": "Voice",
|
|
65
|
+
"conversationList.emptyArchived": "No archived conversations",
|
|
66
|
+
"conversationList.emptyChat": "No chat conversations",
|
|
67
|
+
"conversationList.emptyPinned": "No pinned conversations",
|
|
68
|
+
"conversationList.emptyVoice": "No voice conversations",
|
|
69
|
+
"conversationList.messageCount": "{{count}} messages",
|
|
70
|
+
"conversationList.messageCountOne": "1 message",
|
|
71
|
+
"conversationList.spokenCount": "{{count}} spoken",
|
|
72
|
+
"conversationList.spokenCountOne": "1 spoken",
|
|
52
73
|
"conversationList.voiceOnly": "Spoken conversation",
|
|
74
|
+
"conversations.archive": "Archive conversation",
|
|
53
75
|
"conversations.collapse": "Collapse history",
|
|
54
76
|
"conversations.collapseLabel": "Collapse",
|
|
55
77
|
"conversations.delete": "Delete conversation",
|
|
56
78
|
"conversations.empty": "No conversations yet",
|
|
57
79
|
"conversations.new": "New conversation",
|
|
80
|
+
"conversations.pin": "Pin conversation",
|
|
58
81
|
"conversations.rename": "Rename conversation",
|
|
59
82
|
"conversations.renameLabel": "Conversation title",
|
|
60
83
|
"conversations.saveTitle": "Save title",
|
|
61
84
|
"conversations.startNew": "Start a new conversation",
|
|
62
85
|
"conversations.title": "History",
|
|
86
|
+
"conversations.titleLimit": "Titles are up to {{limit}} characters",
|
|
87
|
+
"conversations.unarchive": "Unarchive conversation",
|
|
88
|
+
"conversations.unpin": "Unpin conversation",
|
|
89
|
+
"deleteConversation.body": "“{{title}}” is removed from all your devices now and permanently erased after 30 days. To hide it without deleting, archive it instead.",
|
|
90
|
+
"deleteConversation.bodyDevice": "“{{title}}” is deleted from this device. This can't be undone.",
|
|
91
|
+
"deleteConversation.cancel": "Cancel",
|
|
92
|
+
"deleteConversation.confirm": "Delete",
|
|
93
|
+
"deleteConversation.nothing": "There is no conversation to delete.",
|
|
94
|
+
"deleteConversation.opened": "Opened the delete confirmation. Choose Delete or Cancel on screen.",
|
|
95
|
+
"deleteConversation.title": "Delete this conversation?",
|
|
63
96
|
"empty.subtitle": "You're viewing {{page}}. Ask about it, or pick a suggestion below.",
|
|
64
97
|
"empty.subtitleNoPage": "Ask me anything, or pick a suggestion below.",
|
|
65
98
|
"empty.title": "How can I help?",
|
|
@@ -78,6 +111,7 @@ var p = {
|
|
|
78
111
|
"header.preview": "Preview",
|
|
79
112
|
"header.ready": "Ready",
|
|
80
113
|
"header.title": "AI Assistant",
|
|
114
|
+
"history.archivedNotice": "Archived. It stays out of your list until you unarchive it.",
|
|
81
115
|
"history.badgeLoading": "Loading…",
|
|
82
116
|
"history.badgeNotSaved": "Not saved",
|
|
83
117
|
"history.badgeReadOnly": "Read-only",
|
|
@@ -92,9 +126,11 @@ var p = {
|
|
|
92
126
|
"history.notSavedInvalid": "Part of this conversation couldn't be saved. It stays on this device.",
|
|
93
127
|
"history.notSavedQuota": "Not saved yet: this workspace has reached its conversation limit. It will be saved when there is room.",
|
|
94
128
|
"history.notSavedScope": "Some turns were sent from another workspace. They stay on this device.",
|
|
129
|
+
"history.pinLimit": "You can pin up to {{limit}} conversations. Unpin one first.",
|
|
95
130
|
"history.showEarlier": "Show earlier messages",
|
|
96
131
|
"history.showOlder": "Show older conversations",
|
|
97
132
|
"history.tryAgain": "Try again",
|
|
133
|
+
"history.unarchive": "Unarchive",
|
|
98
134
|
"history.untitled": "Untitled conversation",
|
|
99
135
|
"language.inputLabel": "Language",
|
|
100
136
|
"language.replyLabel": "Assistant replies in",
|
|
@@ -153,6 +153,11 @@ export * from './ui/AssistantHeader';
|
|
|
153
153
|
export * from './ui/AssistantConversationList';
|
|
154
154
|
export * from './ui/AssistantEmptyState';
|
|
155
155
|
export * from './ui/AssistantHistoryNotices';
|
|
156
|
+
export * from './ui/AssistantConversationFilters';
|
|
157
|
+
export * from './ui/AssistantDeleteConversationDialog';
|
|
158
|
+
export * from './ui/conversationDeleteDialog';
|
|
159
|
+
export * from './ui/conversationDelete';
|
|
160
|
+
export * from './conversationDeleteCommand';
|
|
156
161
|
export * from './exportConversation';
|
|
157
162
|
export * from './history/historyTypes';
|
|
158
163
|
export * from './history/historyTimestamps';
|
|
@@ -171,6 +176,7 @@ export * from './history/historyList';
|
|
|
171
176
|
export * from './history/historyEngine';
|
|
172
177
|
export * from './history/historyResume';
|
|
173
178
|
export * from './history/useAssistantServerHistory';
|
|
179
|
+
export * from './history/useHistoryRowControls';
|
|
174
180
|
export * from './ui/AssistantMessageItem';
|
|
175
181
|
export * from './ui/AssistantMessageList';
|
|
176
182
|
export * from './ui/AssistantTurnActivity';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAGH,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AAGxB,cAAc,wBAAwB,CAAC;AAKvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAG9C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,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AAGjC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAE1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAE1C,cAAc,iCAAiC,CAAC;AAGhD,cAAc,OAAO,CAAC;AACtB,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC"}
|
|
@@ -53,6 +53,14 @@ export type LocalUiCommand = {
|
|
|
53
53
|
kind: "choose-destination";
|
|
54
54
|
query: string;
|
|
55
55
|
candidates: LocalDestination[];
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* ★★ BOFF-8159 (R5a): "delete this conversation". It only OPENS the Delete
|
|
59
|
+
* confirmation; a trusted click on its Delete button is the one thing that
|
|
60
|
+
* deletes. Typed and spoken alike, it records nothing.
|
|
61
|
+
*/
|
|
62
|
+
| {
|
|
63
|
+
kind: "conversation-delete";
|
|
56
64
|
};
|
|
57
65
|
/**
|
|
58
66
|
* `canonical`, with courtesy words at either end removed, so "Could you switch
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localUiCommands.d.ts","sourceRoot":"","sources":["../../../src/shared/assistant/localUiCommands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3C,6EAA6E;AAC7E,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,eAAe,GAAG,QAAQ,CAAC;AAEpF,MAA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