@aintela/chat 0.4.30 → 0.4.31

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/hooks.js CHANGED
@@ -1,9 +1,10 @@
1
- import { u as a, a as t, b as o } from "./useContainerWidth-pE_-xmTN.js";
2
- import { u } from "./useChatSessions-BzgPYfyj.js";
1
+ import { s as a, u as t, a as o, b as r } from "./useContainerWidth-C33sJaCi.js";
2
+ import { u as n } from "./useChatSessions-BzgPYfyj.js";
3
3
  export {
4
- u as useChatSessions,
5
- a as useContainerRectangle,
6
- t as useInterval,
7
- o as usePromptAssist
4
+ a as slotDatesFor,
5
+ n as useChatSessions,
6
+ t as useContainerRectangle,
7
+ o as useInterval,
8
+ r as usePromptAssist
8
9
  };
9
10
  //# sourceMappingURL=hooks.js.map
package/dist/index.js CHANGED
@@ -1,26 +1,26 @@
1
1
  import "reflect-metadata";
2
- import { A as s, a as n, b as o, c as r, d as i, C as c, e as l, f as A, E as p, g, F as S, h as C, G as I, I as h, L as d, M as P, i as E, R as u, j as v, S as T, k as m, l as L, m as R, n as x, o as M, T as y, p as f, q as D, r as U, s as _, t as k, u as B, v as V, w as b } from "./serializer-BB8Cz7YD.js";
2
+ import { A as s, a as o, b as n, c as r, d as i, C as c, e as l, f as A, E as p, g, F as S, h as C, G as I, I as h, L as d, M as P, i as E, R as u, j as v, S as T, k as m, l as L, m as R, n as x, o as M, T as y, p as D, q as f, r as U, s as _, t as k, u as B, v as V, w as F } from "./serializer-BB8Cz7YD.js";
3
3
  import { C as H, C as N } from "./ClientMessage-DUby3KyC.js";
4
4
  import { A as G, a as O, M as W, b as z, S as J, i as K } from "./Memory-CjrYSkzB.js";
5
5
  import { C as q, P as X } from "./Prompt-DZb7OaPp.js";
6
6
  import { A as Y, a as Q, E as $, H as ee, I as ae, L as te, W as se } from "./httpArtifactService-_66bhjGo.js";
7
- import { A as oe } from "./artifactHtmlHandler-CMQJf1cX.js";
7
+ import { A as ne } from "./artifactHtmlHandler-CMQJf1cX.js";
8
8
  import { H as ie, d as ce, r as le } from "./httpSessionService-B3CxFtl1.js";
9
- import { APPBAR_HEIGHT as pe, APPBAR_HEIGHT as ge, ASK_USER_CANCELLED as Se, AgentActivity as Ce, AgentActivity as Ie, AiChat as he, AiChatDrawer as de, AiChatFloating as Pe, AiChatFloating as Ee, AiChatPane as ue, AiChatProvider as ve, AiChatServiceContext as Te, AiChatPane as me, AppBar as Le, AppBar as Re, AppRail as xe, AppRail as Me, AppShell as ye, AppShell as fe, ArtifactRender as De, AskUserDialog as Ue, AskUserSheet as _e, AttachmentPreviewModal as ke, BoxedPart as Be, BrainIcon as Ve, ChartIcon as be, ChatIcon as Fe, ChatPane as He, ChatsHistory as Ne, ChatsHistory as we, CheckIcon as Ge, ChevronIcon as Oe, ChevronRightIcon as We, CloseIcon as ze, CodeIcon as Je, ComposerIcon as Ke, CurrentMessage as je, DEFAULT_PART_RENDERERS as qe, DashboardIcon as Xe, DataExplorerIcon as Ze, DelayTextComponent as Ye, EnvironmentProvider as Qe, FileIcon as $e, FunctionPart as ea, GlobeIcon as aa, HistoryIcon as ta, IDLE_TIMEOUT as sa, InertEnvironmentProvider as na, JsxErrorBoundary as oa, LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL as ra, LastPrompts as ia, LastPrompts as ca, LinearBackgroundProgress as la, LinearProgressBarWithMarkers as Aa, ListCheckIcon as pa, LiveJsxBlock as ga, LiveTsxConfigProvider as Sa, LlmResponseRender as Ca, LoadingDots as Ia, LockClosedIcon as ha, LockOpenIcon as da, MOBILE_NAV_DEFAULT as Pa, MarkdownExtended as Ea, MentionPickerPanel as ua, MenuIcon as va, Message as Ta, MobileDrawer as ma, MobileDrawer as La, PanelIcon as Ra, PaperclipIcon as xa, PauseIcon as Ma, PenIcon as ya, PinIcon as fa, PlusIcon as Da, Prompt as Ua, PromptDateMarkers as _a, PromptGhostHint as ka, Prompt as Ba, RotateIcon as Va, RunProgressPanel as ba, RunProgressPanel as Fa, RunProgressStrip as Ha, RunProgressStrip as Na, SearchIcon as wa, SendIcon as Ga, SessionStateManagerService as Oa, SessionUsage as Wa, SessionUsage as za, SparkleIcon as Ja, Sparkline as Ka, StopIcon as ja, Stopwatch as qa, SubAgentBox as Xa, SubAgentBox as Za, SuspendedPart as Ya, TableIcon as Qa, TaskList as $a, TaskList as et, TerminalIcon as at, TextPart as tt, ThoughtPart as st, ToolIcon as nt, TrashIcon as ot, TriggerDropdown as rt, TurnAwareButton as it, UiToolDispatcher as ct, UndoIcon as lt, UsersIcon as At, V2_CHART_PALETTE as pt, WARNING_THRESHOLD as gt, WaitingPart as St, ZoomInIcon as Ct, ZoomOutIcon as It, classifyPart as ht, configureFriendlyMapping as dt, createAiChatEngine as Pt, createAiChatSessionStore as Et, createAiChatSessionStore as ut, createUiToolRegistry as vt, disposeSharedAiChatEngine as Tt, engineKeyFor as mt, extendDefaultScope as Lt, extendModuleRegistry as Rt, getDefaultJsxScope as xt, getFriendlyLabel as Mt, getSharedAiChatEngine as yt, parseClientOutput as ft, parseContentBlocks as Dt, parseUiArgs as Ut, slotEnterSx as _t, useAgentEngine as kt, useAiChatServices as Bt, useAiChatSessionStore as Vt, useCoarsePointer as bt, useEnvironment as Ft, useEnvironmentOptional as Ht, useLiveTsxMaxCharsForFull as Nt, useParkedAskUser as wt, useResponsiveLayout as Gt, useTurnOpen as Ot, useVisualViewport as Wt, v2Card as zt, v2Chip as Jt, v2IconBtn as Kt, v2MonoMeta as jt, v2SectionLabel as qt, v2Theme as Xt } from "./components.js";
10
- import { u as Yt, a as Qt, b as $t } from "./useContainerWidth-pE_-xmTN.js";
11
- import { A as as, D as ts, g as ss, b as ns, c as os, d as rs, e as is, f as cs, i as ls, r as As } from "./environmentUtils-VZNTCzEE.js";
12
- import { ALLOWED_DOMAINS as gs, ALLOWED_EMAILS as Ss, AUTH_CONFIG as Cs, GOOGLE_CLIENT_ID as Is, getAgentBaseUrl as hs, getArtifactsBaseUrl as ds, getDotNetBaseUrl as Ps, getIconByName as Es, iconCategories as us, materialIcons as vs, searchIcons as Ts, setEbiContextData as ms, setEbiContextSessionId as Ls } from "./utils.js";
13
- import { S as xs, a as Ms, b as ys, c as fs, d as Ds, e as Us, f as _s, g as ks, h as Bs, i as Vs, j as bs, k as Fs, l as Hs, p as Ns, m as ws, s as Gs, o as Os, q as Ws, t as zs, r as Js } from "./predictionRows-Cn0gzEx3.js";
14
- import { u as js } from "./useChatSessions-BzgPYfyj.js";
15
- import { Score as Xs } from "./interfaces.js";
9
+ import { APPBAR_HEIGHT as pe, APPBAR_HEIGHT as ge, ASK_USER_CANCELLED as Se, AgentActivity as Ce, AgentActivity as Ie, AiChat as he, AiChatDrawer as de, AiChatFloating as Pe, AiChatFloating as Ee, AiChatPane as ue, AiChatProvider as ve, AiChatServiceContext as Te, AiChatPane as me, AppBar as Le, AppBar as Re, AppRail as xe, AppRail as Me, AppShell as ye, AppShell as De, ArtifactRender as fe, AskUserDialog as Ue, AskUserSheet as _e, AttachmentPreviewModal as ke, BoxedPart as Be, BrainIcon as Ve, ChartIcon as Fe, ChatIcon as be, ChatPane as He, ChatsHistory as Ne, ChatsHistory as we, CheckIcon as Ge, ChevronIcon as Oe, ChevronRightIcon as We, CloseIcon as ze, CodeIcon as Je, ComposerIcon as Ke, CurrentMessage as je, DEFAULT_PART_RENDERERS as qe, DashboardIcon as Xe, DataExplorerIcon as Ze, DelayTextComponent as Ye, EnvironmentProvider as Qe, FileIcon as $e, FunctionPart as ea, GlobeIcon as aa, HistoryIcon as ta, IDLE_TIMEOUT as sa, InertEnvironmentProvider as oa, JsxErrorBoundary as na, LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL as ra, LastPrompts as ia, LastPrompts as ca, LinearBackgroundProgress as la, LinearProgressBarWithMarkers as Aa, ListCheckIcon as pa, LiveJsxBlock as ga, LiveTsxConfigProvider as Sa, LlmResponseRender as Ca, LoadingDots as Ia, LockClosedIcon as ha, LockOpenIcon as da, MOBILE_NAV_DEFAULT as Pa, MarkdownExtended as Ea, MentionPickerPanel as ua, MenuIcon as va, Message as Ta, MobileDrawer as ma, MobileDrawer as La, PanelIcon as Ra, PaperclipIcon as xa, PauseIcon as Ma, PenIcon as ya, PinIcon as Da, PlusIcon as fa, Prompt as Ua, PromptDateMarkers as _a, PromptGhostHint as ka, Prompt as Ba, RotateIcon as Va, RunProgressPanel as Fa, RunProgressPanel as ba, RunProgressStrip as Ha, RunProgressStrip as Na, SearchIcon as wa, SendIcon as Ga, SessionStateManagerService as Oa, SessionUsage as Wa, SessionUsage as za, SparkleIcon as Ja, Sparkline as Ka, StopIcon as ja, Stopwatch as qa, SubAgentBox as Xa, SubAgentBox as Za, SuspendedPart as Ya, TableIcon as Qa, TaskList as $a, TaskList as et, TerminalIcon as at, TextPart as tt, ThoughtPart as st, ToolIcon as ot, TrashIcon as nt, TriggerDropdown as rt, TurnAwareButton as it, UiToolDispatcher as ct, UndoIcon as lt, UsersIcon as At, V2_CHART_PALETTE as pt, WARNING_THRESHOLD as gt, WaitingPart as St, ZoomInIcon as Ct, ZoomOutIcon as It, classifyPart as ht, configureFriendlyMapping as dt, createAiChatEngine as Pt, createAiChatSessionStore as Et, createAiChatSessionStore as ut, createUiToolRegistry as vt, disposeSharedAiChatEngine as Tt, engineKeyFor as mt, extendDefaultScope as Lt, extendModuleRegistry as Rt, getDefaultJsxScope as xt, getFriendlyLabel as Mt, getSharedAiChatEngine as yt, parseClientOutput as Dt, parseContentBlocks as ft, parseUiArgs as Ut, slotEnterSx as _t, useAgentEngine as kt, useAiChatServices as Bt, useAiChatSessionStore as Vt, useCoarsePointer as Ft, useEnvironment as bt, useEnvironmentOptional as Ht, useLiveTsxMaxCharsForFull as Nt, useParkedAskUser as wt, useResponsiveLayout as Gt, useTurnOpen as Ot, useVisualViewport as Wt, v2Card as zt, v2Chip as Jt, v2IconBtn as Kt, v2MonoMeta as jt, v2SectionLabel as qt, v2Theme as Xt } from "./components.js";
10
+ import { s as Yt, u as Qt, a as $t, b as es } from "./useContainerWidth-C33sJaCi.js";
11
+ import { A as ts, D as ss, g as os, b as ns, c as rs, d as is, e as cs, f as ls, i as As, r as ps } from "./environmentUtils-VZNTCzEE.js";
12
+ import { ALLOWED_DOMAINS as Ss, ALLOWED_EMAILS as Cs, AUTH_CONFIG as Is, GOOGLE_CLIENT_ID as hs, getAgentBaseUrl as ds, getArtifactsBaseUrl as Ps, getDotNetBaseUrl as Es, getIconByName as us, iconCategories as vs, materialIcons as Ts, searchIcons as ms, setEbiContextData as Ls, setEbiContextSessionId as Rs } from "./utils.js";
13
+ import { S as Ms, a as ys, b as Ds, c as fs, d as Us, e as _s, f as ks, g as Bs, h as Vs, i as Fs, j as bs, k as Hs, l as Ns, p as ws, m as Gs, s as Os, o as Ws, q as zs, t as Js, r as Ks } from "./predictionRows-Cn0gzEx3.js";
14
+ import { u as qs } from "./useChatSessions-BzgPYfyj.js";
15
+ import { Score as Zs } from "./interfaces.js";
16
16
  export {
17
- gs as ALLOWED_DOMAINS,
18
- Ss as ALLOWED_EMAILS,
19
- as as ANALYTICS_AGENT_NAME,
17
+ Ss as ALLOWED_DOMAINS,
18
+ Cs as ALLOWED_EMAILS,
19
+ ts as ANALYTICS_AGENT_NAME,
20
20
  pe as APPBAR_HEIGHT,
21
21
  ge as APPBAR_V2_HEIGHT,
22
22
  Se as ASK_USER_CANCELLED,
23
- Cs as AUTH_CONFIG,
23
+ Is as AUTH_CONFIG,
24
24
  G as Account,
25
25
  Ce as AgentActivity,
26
26
  Ie as AgentActivityV2,
@@ -28,8 +28,8 @@ export {
28
28
  Y as AgentGatewayService,
29
29
  Q as AgentGatewayWSAsync,
30
30
  O as AgentKind,
31
- n as AgentMode,
32
- o as AgentType,
31
+ o as AgentMode,
32
+ n as AgentType,
33
33
  he as AiChat,
34
34
  de as AiChatDrawer,
35
35
  Pe as AiChatFloating,
@@ -43,9 +43,9 @@ export {
43
43
  xe as AppRail,
44
44
  Me as AppRailV2,
45
45
  ye as AppShell,
46
- fe as AppShellV2,
47
- oe as ArtifactHtmlHandler,
48
- De as ArtifactRender,
46
+ De as AppShellV2,
47
+ ne as ArtifactHtmlHandler,
48
+ fe as ArtifactRender,
49
49
  r as ArtifactType,
50
50
  Ue as AskUserDialog,
51
51
  _e as AskUserSheet,
@@ -53,10 +53,10 @@ export {
53
53
  i as AuthorType,
54
54
  Be as BoxedPart,
55
55
  Ve as BrainIcon,
56
- be as ChartIcon,
56
+ Fe as ChartIcon,
57
57
  c as ChatAction,
58
58
  l as ChatEventType,
59
- Fe as ChatIcon,
59
+ be as ChatIcon,
60
60
  A as ChatMessageContent,
61
61
  He as ChatPane,
62
62
  Ne as ChatsHistory,
@@ -72,7 +72,7 @@ export {
72
72
  q as ConnectionState,
73
73
  je as CurrentMessage,
74
74
  qe as DEFAULT_PART_RENDERERS,
75
- ts as DEV_SERVER_CONFIG,
75
+ ss as DEV_SERVER_CONFIG,
76
76
  Xe as DashboardIcon,
77
77
  Ze as DataExplorerIcon,
78
78
  Ye as DelayTextComponent,
@@ -84,17 +84,17 @@ export {
84
84
  S as FunctionCallContent,
85
85
  ea as FunctionPart,
86
86
  C as FunctionResultContent,
87
- Is as GOOGLE_CLIENT_ID,
87
+ hs as GOOGLE_CLIENT_ID,
88
88
  I as GetEventTypeFromDotNetName,
89
89
  aa as GlobeIcon,
90
90
  ta as HistoryIcon,
91
91
  ee as HttpArtifactService,
92
92
  ie as HttpSessionService,
93
93
  sa as IDLE_TIMEOUT,
94
- na as InertEnvironmentProvider,
94
+ oa as InertEnvironmentProvider,
95
95
  h as InteractionPartUtils,
96
96
  ae as InteractionService,
97
- oa as JsxErrorBoundary,
97
+ na as JsxErrorBoundary,
98
98
  ra as LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL,
99
99
  ia as LastPrompts,
100
100
  ca as LastPromptsV2,
@@ -124,8 +124,8 @@ export {
124
124
  xa as PaperclipIcon,
125
125
  Ma as PauseIcon,
126
126
  ya as PenIcon,
127
- fa as PinIcon,
128
- Da as PlusIcon,
127
+ Da as PinIcon,
128
+ fa as PlusIcon,
129
129
  Ua as Prompt,
130
130
  _a as PromptDateMarkers,
131
131
  ka as PromptGhostHint,
@@ -134,12 +134,12 @@ export {
134
134
  u as ResponseType,
135
135
  Va as RotateIcon,
136
136
  v as RunMode,
137
- ba as RunProgressPanel,
138
- Fa as RunProgressPanelV2,
137
+ Fa as RunProgressPanel,
138
+ ba as RunProgressPanelV2,
139
139
  Ha as RunProgressStrip,
140
140
  Na as RunProgressStripV2,
141
141
  J as SUB_AGENT_TERMINAL_STATUSES,
142
- Xs as Score,
142
+ Zs as Score,
143
143
  wa as SearchIcon,
144
144
  Ga as SendIcon,
145
145
  T as ServerEvent,
@@ -147,7 +147,7 @@ export {
147
147
  Wa as SessionUsage,
148
148
  za as SessionUsagePanel,
149
149
  m as SkillLevel,
150
- xs as SortableTable,
150
+ Ms as SortableTable,
151
151
  Ja as SparkleIcon,
152
152
  Ka as Sparkline,
153
153
  ja as StopIcon,
@@ -166,8 +166,8 @@ export {
166
166
  y as TextContent,
167
167
  tt as TextPart,
168
168
  st as ThoughtPart,
169
- nt as ToolIcon,
170
- ot as TrashIcon,
169
+ ot as ToolIcon,
170
+ nt as TrashIcon,
171
171
  rt as TriggerDropdown,
172
172
  it as TurnAwareButton,
173
173
  ct as UiToolDispatcher,
@@ -179,82 +179,83 @@ export {
179
179
  se as WebSocketConnecionV2,
180
180
  Ct as ZoomInIcon,
181
181
  It as ZoomOutIcon,
182
- Ms as activatePlaceholder,
183
- ys as advanceToPlaceholder,
182
+ ys as activatePlaceholder,
183
+ Ds as advanceToPlaceholder,
184
184
  fs as applyTriggerInsertion,
185
- Ds as chipLocations,
186
- Us as chunkArray,
185
+ Us as chipLocations,
186
+ _s as chunkArray,
187
187
  ht as classifyPart,
188
188
  dt as configureFriendlyMapping,
189
189
  Pt as createAiChatEngine,
190
190
  Et as createAiChatSessionStore,
191
191
  ut as createAiChatStore,
192
- f as createEventSerializer,
193
- D as createStreamingResponseSerializer,
192
+ D as createEventSerializer,
193
+ f as createStreamingResponseSerializer,
194
194
  vt as createUiToolRegistry,
195
195
  ce as decodeSessionEvents,
196
196
  U as deserializeEvent,
197
197
  _ as deserializePayload,
198
- _s as detectTrigger,
198
+ ks as detectTrigger,
199
199
  Tt as disposeSharedAiChatEngine,
200
200
  mt as engineKeyFor,
201
201
  Lt as extendDefaultScope,
202
202
  Rt as extendModuleRegistry,
203
- ks as extractInteractionId,
204
- Bs as extractLinkAction,
205
- Vs as fetchAtMentions,
203
+ Bs as extractInteractionId,
204
+ Vs as extractLinkAction,
205
+ Fs as fetchAtMentions,
206
206
  bs as findPlaceholder,
207
- hs as getAgentBaseUrl,
208
- ss as getAgentServerBaseUrl,
209
- ds as getArtifactsBaseUrl,
207
+ ds as getAgentBaseUrl,
208
+ os as getAgentServerBaseUrl,
209
+ Ps as getArtifactsBaseUrl,
210
210
  k as getConnectionStateColor,
211
211
  xt as getDefaultJsxScope,
212
- Ps as getDotNetBaseUrl,
212
+ Es as getDotNetBaseUrl,
213
213
  ns as getEnvVar,
214
- os as getEnvironmentInfo,
214
+ rs as getEnvironmentInfo,
215
215
  Mt as getFriendlyLabel,
216
- Es as getIconByName,
216
+ us as getIconByName,
217
217
  B as getModelVendor,
218
- rs as getRandomUUID,
219
- is as getServerBaseUrl,
220
- cs as getServerClientBaseUrl,
218
+ is as getRandomUUID,
219
+ cs as getServerBaseUrl,
220
+ ls as getServerClientBaseUrl,
221
221
  yt as getSharedAiChatEngine,
222
- us as iconCategories,
223
- Fs as isSectionStart,
224
- ls as isServer,
222
+ vs as iconCategories,
223
+ Hs as isSectionStart,
224
+ As as isServer,
225
225
  K as isSubAgentTerminalStatus,
226
- Hs as isValidInteractionId,
227
- vs as materialIcons,
228
- ft as parseClientOutput,
229
- Dt as parseContentBlocks,
226
+ Ns as isValidInteractionId,
227
+ Ts as materialIcons,
228
+ Dt as parseClientOutput,
229
+ ft as parseContentBlocks,
230
230
  Ut as parseUiArgs,
231
- Ns as placeCaret,
232
- ws as placeholderAt,
231
+ ws as placeCaret,
232
+ Gs as placeholderAt,
233
233
  le as resolveAccessToken,
234
- As as resolveApiUrl,
234
+ ps as resolveApiUrl,
235
235
  V as sanitizeJsonString,
236
- Ts as searchIcons,
237
- b as serializeEvent,
238
- ms as setEbiContextData,
239
- Ls as setEbiContextSessionId,
236
+ ms as searchIcons,
237
+ F as serializeEvent,
238
+ Ls as setEbiContextData,
239
+ Rs as setEbiContextSessionId,
240
+ Yt as slotDatesFor,
240
241
  _t as slotEnterSx,
241
- Gs as splitBigLinesWithSpaces,
242
- Os as startsWithInteractionId,
243
- Ws as swallowNextClick,
244
- zs as toPredictionRows,
245
- Js as tokenizeForHighlight,
242
+ Os as splitBigLinesWithSpaces,
243
+ Ws as startsWithInteractionId,
244
+ zs as swallowNextClick,
245
+ Js as toPredictionRows,
246
+ Ks as tokenizeForHighlight,
246
247
  kt as useAgentEngine,
247
248
  Bt as useAiChatServices,
248
249
  Vt as useAiChatSessionStore,
249
- js as useChatSessions,
250
- bt as useCoarsePointer,
251
- Yt as useContainerRectangle,
252
- Ft as useEnvironment,
250
+ qs as useChatSessions,
251
+ Ft as useCoarsePointer,
252
+ Qt as useContainerRectangle,
253
+ bt as useEnvironment,
253
254
  Ht as useEnvironmentOptional,
254
- Qt as useInterval,
255
+ $t as useInterval,
255
256
  Nt as useLiveTsxMaxCharsForFull,
256
257
  wt as useParkedAskUser,
257
- $t as usePromptAssist,
258
+ es as usePromptAssist,
258
259
  Gt as useResponsiveLayout,
259
260
  Ot as useTurnOpen,
260
261
  Wt as useVisualViewport,
@@ -2,5 +2,5 @@ export { default as useInterval } from './useIntervalHook';
2
2
  export { useContainerRectangle } from './useContainerWidth';
3
3
  export { useChatSessions } from './useChatSessions';
4
4
  export type { UseChatSessionsOptions, UseChatSessionsResult, ChatSessionListItem, ChatSessionGroup, } from './useChatSessions';
5
- export { usePromptAssist } from './usePromptAssist';
5
+ export { slotDatesFor, usePromptAssist } from './usePromptAssist';
6
6
  export type { PredictionItem, ResolvedDateItem, PromptAssistAdapter, PromptAssistFetchers, PromptAssistOptions, AssistOutcome, SearchVertical, } from './usePromptAssist';
@@ -43,6 +43,14 @@ export type ResolvedDateItem = {
43
43
  text: string;
44
44
  display: string;
45
45
  };
46
+ /**
47
+ * The Data rows an `@` picker should still carry once the user has typed `query` after the `@` (Issue 1362).
48
+ * `slotDateOptions` is computed when the picker opens and never looks at the query, so at a mixed caret typing
49
+ * "flori" kept every date on top and pushed the matching places under them. A quick date stays while the query is a
50
+ * word-prefix of its label; the calendar row stays while the query is empty, starts with a digit, or is the start of
51
+ * a date word. Nothing left ⇒ `[]`, and the places lead. Hosts splice the result above their `@` rows.
52
+ */
53
+ export declare function slotDatesFor(options: SlotDateOption[], query: string): SlotDateOption[];
46
54
  /**
47
55
  * Send-time summary of what the assist UI did during ONE composition (issue #159 Phase 1) — attached to the
48
56
  * commit so the server can store {prompt, outcome} as a behavioral label and emit gate-precision metrics: