@aintela/chat 0.4.37 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/components.js +7213 -6950
  2. package/dist/components.js.map +1 -1
  3. package/dist/hooks.js +1 -1
  4. package/dist/httpArtifactService-EEhF_mp9.js +1744 -0
  5. package/dist/httpArtifactService-EEhF_mp9.js.map +1 -0
  6. package/dist/{httpSessionService-CUujaUo6.js → httpSessionService-wBby4ggl.js} +51 -53
  7. package/dist/httpSessionService-wBby4ggl.js.map +1 -0
  8. package/dist/index.js +248 -240
  9. package/dist/models.js +1 -1
  10. package/dist/{serializer-DX-yGa_k.js → serializer-CC-nM3ig.js} +497 -498
  11. package/dist/serializer-CC-nM3ig.js.map +1 -0
  12. package/dist/services.js +12 -10
  13. package/dist/src/components/AiChat/AiChatContext.d.ts +4 -0
  14. package/dist/src/components/AiChat/AiChatTypes.d.ts +8 -0
  15. package/dist/src/components/AiChat/ChatPane/CrossfadeSlot.d.ts +24 -0
  16. package/dist/src/components/AiChat/ChatPane/CurrentMessage.d.ts +9 -9
  17. package/dist/src/components/AiChat/ChatPane/Message.d.ts +1 -3
  18. package/dist/src/components/AiChat/ChatPane/MessageAgent.d.ts +9 -8
  19. package/dist/src/components/AiChat/ChatPane/MessageScope.d.ts +32 -0
  20. package/dist/src/components/AiChat/ChatPane/MessageUser.d.ts +0 -1
  21. package/dist/src/components/AiChat/ChatPane/StickyQuestionHeader.d.ts +0 -1
  22. package/dist/src/components/AiChat/ChatPane/groupParts.d.ts +34 -0
  23. package/dist/src/components/AiChat/ChatPane/messageAgentVerbosity.test.d.ts +1 -0
  24. package/dist/src/components/AiChat/ChatPane/parts/ActivityLine.d.ts +9 -0
  25. package/dist/src/components/AiChat/ChatPane/parts/ConnectionOutagePart.d.ts +9 -0
  26. package/dist/src/components/AiChat/ChatPane/parts/connectionOutagePart.test.d.ts +1 -0
  27. package/dist/src/components/AiChat/ChatPane/parts/index.d.ts +4 -1
  28. package/dist/src/components/AiChat/ChatPane/parts/types.d.ts +25 -5
  29. package/dist/src/components/AiChat/ChatPane/reasoningHeadlines.d.ts +4 -9
  30. package/dist/src/components/AiChat/ChatPane/verbosity.d.ts +57 -0
  31. package/dist/src/components/AiChat/sessionStateManagerService.d.ts +36 -35
  32. package/dist/src/components/AiChat/stateConfiguration.d.ts +18 -0
  33. package/dist/src/components/index.d.ts +10 -4
  34. package/dist/src/components/v2/VerbositySlider.d.ts +12 -0
  35. package/dist/src/interfaces/index.d.ts +0 -1
  36. package/dist/src/models/Interaction.d.ts +0 -9
  37. package/dist/src/models/InteractionPart.d.ts +4 -3
  38. package/dist/src/models/Notification.d.ts +7 -1
  39. package/dist/src/models/ServerEvent.d.ts +4 -0
  40. package/dist/src/models/index.d.ts +1 -1
  41. package/dist/src/services/WebSocketConnection/WebSocketConnectionV2.d.ts +28 -108
  42. package/dist/src/services/WebSocketConnection/closeCodes.d.ts +24 -0
  43. package/dist/src/services/WebSocketConnection/streamStats.d.ts +41 -0
  44. package/dist/src/services/WebSocketConnection/streamStats.test.d.ts +1 -0
  45. package/dist/src/services/WebSocketConnection/webSocketConnection.d.ts +15 -12
  46. package/dist/src/services/eventBusService.d.ts +28 -67
  47. package/dist/src/services/index.d.ts +2 -1
  48. package/dist/src/services/interaction/reduceInteraction.d.ts +28 -0
  49. package/dist/src/services/interactionService.d.ts +15 -32
  50. package/dist/src/services/interactionService.invariants.test.d.ts +1 -0
  51. package/dist/src/services/servers/AgentGatewayService.d.ts +3 -182
  52. package/dist/src/services/servers/AgentGatewayWSAsync.d.ts +145 -46
  53. package/dist/src/services/servers/connectionSupervisor.d.ts +173 -0
  54. package/dist/src/services/servers/connectionSupervisor.test.d.ts +1 -0
  55. package/dist/src/services/servers/connectionSupervisor.wire.test.d.ts +0 -0
  56. package/dist/src/services/servers/gatewayErrorClosesTurn.test.d.ts +1 -0
  57. package/dist/src/services/servers/gatewayFixes.test.d.ts +1 -0
  58. package/dist/src/services/servers/throttledEmit.test.d.ts +1 -0
  59. package/dist/src/services/servers/throttledEmitter.d.ts +38 -0
  60. package/dist/src/services/streamPipeline.characterization.test.d.ts +1 -0
  61. package/dist/src/services/wire/decodeFrame.d.ts +21 -0
  62. package/dist/src/services/wire/decodeFrame.test.d.ts +1 -0
  63. package/dist/tests/bench/streamPipeline.bench.d.ts +1 -0
  64. package/dist/tests/fakes/fakeRawWebSocket.d.ts +2 -0
  65. package/dist/tests/fakes/fakeWebSocket.d.ts +4 -3
  66. package/dist/tests/fakes/makeGateway.d.ts +7 -0
  67. package/dist/tests/wire/journey.d.ts +47 -0
  68. package/dist/{useChatSessions-BXYvvd4S.js → useChatSessions-C6sYF4U6.js} +2 -2
  69. package/dist/{useChatSessions-BXYvvd4S.js.map → useChatSessions-C6sYF4U6.js.map} +1 -1
  70. package/package.json +2 -1
  71. package/dist/httpArtifactService-GdGsaFKS.js +0 -1979
  72. package/dist/httpArtifactService-GdGsaFKS.js.map +0 -1
  73. package/dist/httpSessionService-CUujaUo6.js.map +0 -1
  74. package/dist/serializer-DX-yGa_k.js.map +0 -1
  75. package/dist/src/interfaces/IHeartbeatPort.d.ts +0 -4
  76. /package/dist/src/components/AiChat/{sessionStateManagerService.idle.test.d.ts → ChatPane/crossfadeSlot.test.d.ts} +0 -0
  77. /package/dist/src/{services/interactionServiceGrouping.test.d.ts → components/AiChat/ChatPane/groupParts.test.d.ts} +0 -0
package/dist/index.js CHANGED
@@ -1,272 +1,280 @@
1
1
  import "reflect-metadata";
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 as S, F as g, h as C, G as I, I as h, L as P, M as d, 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 _, p as y, q as f, r as D, s as U, t as k, u as B, v as V, w as b } from "./serializer-DX-yGa_k.js";
3
- import { C as H, C as N } from "./ClientMessage-DUby3KyC.js";
4
- import { A as w, a as G, M as W, b as z, S as J, i as K } from "./Memory-CjrYSkzB.js";
5
- import { C as X, P as Z } from "./Prompt-DZb7OaPp.js";
6
- import { A as Y, a as Q, E as $, H as ee, I as ae, L as te, W as se } from "./httpArtifactService-GdGsaFKS.js";
7
- import { A as ne } from "./artifactHtmlHandler-CMQJf1cX.js";
8
- import { H as ie, d as ce, r as le } from "./httpSessionService-CUujaUo6.js";
9
- import { APPBAR_HEIGHT as pe, APPBAR_HEIGHT as Se, ASK_USER_CANCELLED as ge, AgentActivity as Ce, AgentActivity as Ie, AiChat as he, AiChatDrawer as Pe, AiChatFloating as de, 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 _e, AppShell as ye, ArtifactRender as fe, AskUserDialog as De, AskUserSheet as Ue, AttachmentPreviewModal as ke, BoxedPart as Be, BrainIcon as Ve, ChartIcon as be, ChatIcon as Fe, ChatPane as He, ChatsHistory as Ne, ChatsHistory as Oe, CheckIcon as we, ChevronIcon as Ge, ChevronRightIcon as We, CloseIcon as ze, CodeIcon as Je, ComposerIcon as Ke, CurrentMessage as je, DEFAULT_PART_RENDERERS as Xe, DashboardIcon as Ze, DataExplorerIcon as qe, 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 Sa, LiveTsxConfigProvider as ga, LlmResponseRender as Ca, LoadingDots as Ia, LockClosedIcon as ha, LockOpenIcon as Pa, MOBILE_NAV_DEFAULT as da, 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 _a, PinIcon as ya, PlusIcon as fa, Prompt as Da, PromptDateMarkers as Ua, PromptGhostHint as ka, Prompt as Ba, RotateIcon as Va, RunProgressPanel as ba, RunProgressPanel as Fa, RunProgressStrip as Ha, RunProgressStrip as Na, SearchIcon as Oa, SendIcon as wa, SessionStateManagerService as Ga, SessionUsage as Wa, SessionUsage as za, SparkleIcon as Ja, Sparkline as Ka, StopIcon as ja, Stopwatch as Xa, SubAgentBox as Za, SubAgentBox as qa, 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 St, WaitingPart as gt, ZoomInIcon as Ct, ZoomOutIcon as It, classifyPart as ht, configureFriendlyMapping as Pt, createAiChatEngine as dt, 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 _t, parseClientOutput as yt, parseContentBlocks as ft, parseUiArgs as Dt, slotEnterSx as Ut, useAgentEngine as kt, useAiChatServices as Bt, useAiChatSessionStore as Vt, useCoarsePointer as bt, useEnvironment as Ft, useEnvironmentOptional as Ht, useLiveTsxMaxCharsForFull as Nt, useParkedAskUser as Ot, useResponsiveLayout as wt, useTurnOpen as Gt, useVisualViewport as Wt, v2Card as zt, v2Chip as Jt, v2IconBtn as Kt, v2MonoMeta as jt, v2SectionLabel as Xt, v2Theme as Zt } from "./components.js";
10
- import { s as Yt, u as Qt, a as $t, b as es, c as as } from "./useContainerWidth-C7u70yDY.js";
11
- import { A as ss, D as os, g as ns, b as rs, c as is, d as cs, e as ls, f as As, i as ps, r as Ss } from "./environmentUtils-VZNTCzEE.js";
12
- import { ALLOWED_DOMAINS as Cs, ALLOWED_EMAILS as Is, AUTH_CONFIG as hs, GOOGLE_CLIENT_ID as Ps, getAgentBaseUrl as ds, getArtifactsBaseUrl as Es, getDotNetBaseUrl as us, getIconByName as vs, iconCategories as Ts, materialIcons as ms, searchIcons as Ls, setEbiContextData as Rs, setEbiContextSessionId as xs } from "./utils.js";
13
- import { P as _s, S as ys, c as fs, a as Ds, e as Us, b as ks, f as Bs, i as Vs, d as bs, p as Fs, s as Hs, h as Ns, j as Os, t as ws, k as Gs } from "./predictionRows-Damfwthh.js";
14
- import { a as zs, b as Js, c as Ks, d as js, f as Xs, p as Zs } from "./promptTriggers-xwMJ5gRj.js";
15
- import { u as Ys } from "./useChatSessions-BXYvvd4S.js";
16
- import { Score as $s } from "./interfaces.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 as S, F as g, h as C, G as I, I as E, L as h, M as P, i as d, R as T, j as u, S as v, k as m, l as L, m as R, n as _, o as x, T as M, p as y, q as D, r as f, s as U, t as k, u as B, v as V, w as H } from "./serializer-CC-nM3ig.js";
3
+ import { C as F, C as N } from "./ClientMessage-DUby3KyC.js";
4
+ import { A as w, a as G, M as W, b as z, S as J, i as X } from "./Memory-CjrYSkzB.js";
5
+ import { C as Y, P as j } from "./Prompt-DZb7OaPp.js";
6
+ import { A as q, A as Q, C as $, E as ee, H as ae, I as te, a as se, L as oe, M as ne, W as re, b as ie, r as ce } from "./httpArtifactService-EEhF_mp9.js";
7
+ import { A as Ae } from "./artifactHtmlHandler-CMQJf1cX.js";
8
+ import { H as Se, d as ge, r as Ce } from "./httpSessionService-wBby4ggl.js";
9
+ import { APPBAR_HEIGHT as Ee, APPBAR_HEIGHT as he, ASK_USER_CANCELLED as Pe, ActivityLine as de, AgentActivity as Te, AgentActivity as ue, AiChat as ve, AiChatDrawer as me, AiChatFloating as Le, AiChatFloating as Re, AiChatPane as _e, AiChatProvider as xe, AiChatServiceContext as Me, AiChatPane as ye, AppBar as De, AppBar as fe, AppRail as Ue, AppRail as ke, AppShell as Be, AppShell as Ve, ArtifactRender as He, AskUserDialog as be, AskUserSheet as Fe, AttachmentPreviewModal as Ne, BoxedPart as Oe, BrainIcon as we, CHAT_VERBOSITY_LEVELS as Ge, ChartIcon as We, ChatIcon as ze, ChatPane as Je, ChatsHistory as Xe, ChatsHistory as Ke, CheckIcon as Ye, ChevronIcon as je, ChevronRightIcon as Ze, CloseIcon as qe, CodeIcon as Qe, ComposerIcon as $e, CurrentMessage as ea, DEFAULT_ACTIVITY_RENDERER as aa, DEFAULT_PART_RENDERERS as ta, DashboardIcon as sa, DataExplorerIcon as oa, DelayTextComponent as na, EnvironmentProvider as ra, FileIcon as ia, FunctionPart as ca, GlobeIcon as la, HistoryIcon as Aa, InertEnvironmentProvider as pa, JsxErrorBoundary as Sa, LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL as ga, LastPrompts as Ca, LastPrompts as Ia, LinearBackgroundProgress as Ea, LinearProgressBarWithMarkers as ha, ListCheckIcon as Pa, LiveJsxBlock as da, LiveTsxConfigProvider as Ta, LlmResponseRender as ua, LoadingDots as va, LockClosedIcon as ma, LockOpenIcon as La, MOBILE_NAV_DEFAULT as Ra, MarkdownExtended as _a, MentionPickerPanel as xa, MenuIcon as Ma, Message as ya, MessageScopeProvider as Da, MobileDrawer as fa, MobileDrawer as Ua, PanelIcon as ka, PaperclipIcon as Ba, PauseIcon as Va, PenIcon as Ha, PinIcon as ba, PlusIcon as Fa, Prompt as Na, PromptDateMarkers as Oa, PromptGhostHint as wa, Prompt as Ga, RotateIcon as Wa, RunProgressPanel as za, RunProgressPanel as Ja, RunProgressStrip as Xa, RunProgressStrip as Ka, SearchIcon as Ya, SendIcon as ja, SessionStateManagerService as Za, SessionUsage as qa, SessionUsage as Qa, SparkleIcon as $a, Sparkline as et, StopIcon as at, Stopwatch as tt, SubAgentBox as st, SubAgentBox as ot, SuspendedPart as nt, TableIcon as rt, TaskList as it, TaskList as ct, TerminalIcon as lt, TextPart as At, ThoughtPart as pt, ToolIcon as St, TrashIcon as gt, TriggerDropdown as Ct, TurnAwareButton as It, UiToolDispatcher as Et, UndoIcon as ht, UsersIcon as Pt, V2_CHART_PALETTE as dt, WaitingPart as Tt, ZoomInIcon as ut, ZoomOutIcon as vt, classifyPart as mt, configureFriendlyMapping as Lt, createAiChatEngine as Rt, createAiChatSessionStore as _t, createAiChatSessionStore as xt, createUiToolRegistry as Mt, disposeSharedAiChatEngine as yt, engineKeyFor as Dt, extendDefaultScope as ft, extendModuleRegistry as Ut, getDefaultJsxScope as kt, getFriendlyLabel as Bt, getSharedAiChatEngine as Vt, parseClientOutput as Ht, parseContentBlocks as bt, parseUiArgs as Ft, slotEnterSx as Nt, useAgentEngine as Ot, useAiChatServices as wt, useAiChatSessionStore as Gt, useCoarsePointer as Wt, useEnvironment as zt, useEnvironmentOptional as Jt, useLiveTsxMaxCharsForFull as Xt, useMessageScope as Kt, useParkedAskUser as Yt, useResponsiveLayout as jt, useTurnOpen as Zt, useVisualViewport as qt, v2Card as Qt, v2Chip as $t, v2IconBtn as es, v2MonoMeta as as, v2SectionLabel as ts, v2Theme as ss } from "./components.js";
10
+ import { s as ns, u as rs, a as is, b as cs, c as ls } from "./useContainerWidth-C7u70yDY.js";
11
+ import { A as ps, D as Ss, g as gs, b as Cs, c as Is, d as Es, e as hs, f as Ps, i as ds, r as Ts } from "./environmentUtils-VZNTCzEE.js";
12
+ import { ALLOWED_DOMAINS as vs, ALLOWED_EMAILS as ms, AUTH_CONFIG as Ls, GOOGLE_CLIENT_ID as Rs, getAgentBaseUrl as _s, getArtifactsBaseUrl as xs, getDotNetBaseUrl as Ms, getIconByName as ys, iconCategories as Ds, materialIcons as fs, searchIcons as Us, setEbiContextData as ks, setEbiContextSessionId as Bs } from "./utils.js";
13
+ import { P as Hs, S as bs, c as Fs, a as Ns, e as Os, b as ws, f as Gs, i as Ws, d as zs, p as Js, s as Xs, h as Ks, j as Ys, t as js, k as Zs } from "./predictionRows-Damfwthh.js";
14
+ import { a as Qs, b as $s, c as eo, d as ao, f as to, p as so } from "./promptTriggers-xwMJ5gRj.js";
15
+ import { u as no } from "./useChatSessions-C6sYF4U6.js";
16
+ import { Score as io } from "./interfaces.js";
17
17
  export {
18
- Cs as ALLOWED_DOMAINS,
19
- Is as ALLOWED_EMAILS,
20
- ss as ANALYTICS_AGENT_NAME,
21
- pe as APPBAR_HEIGHT,
22
- Se as APPBAR_V2_HEIGHT,
23
- ge as ASK_USER_CANCELLED,
24
- hs as AUTH_CONFIG,
18
+ vs as ALLOWED_DOMAINS,
19
+ ms as ALLOWED_EMAILS,
20
+ ps as ANALYTICS_AGENT_NAME,
21
+ Ee as APPBAR_HEIGHT,
22
+ he as APPBAR_V2_HEIGHT,
23
+ Pe as ASK_USER_CANCELLED,
24
+ Ls as AUTH_CONFIG,
25
25
  w as Account,
26
- Ce as AgentActivity,
27
- Ie as AgentActivityV2,
26
+ de as ActivityLine,
27
+ Te as AgentActivity,
28
+ ue as AgentActivityV2,
28
29
  s as AgentConfig,
29
- Y as AgentGatewayService,
30
+ q as AgentGatewayService,
30
31
  Q as AgentGatewayWSAsync,
31
32
  G as AgentKind,
32
33
  o as AgentMode,
33
34
  n as AgentType,
34
- he as AiChat,
35
- Pe as AiChatDrawer,
36
- de as AiChatFloating,
37
- Ee as AiChatFloatingV2,
38
- ue as AiChatPane,
39
- ve as AiChatProvider,
40
- Te as AiChatServiceContext,
41
- me as AiChatV2Pane,
42
- Le as AppBar,
43
- Re as AppBarV2,
44
- xe as AppRail,
45
- Me as AppRailV2,
46
- _e as AppShell,
47
- ye as AppShellV2,
48
- ne as ArtifactHtmlHandler,
49
- fe as ArtifactRender,
35
+ ve as AiChat,
36
+ me as AiChatDrawer,
37
+ Le as AiChatFloating,
38
+ Re as AiChatFloatingV2,
39
+ _e as AiChatPane,
40
+ xe as AiChatProvider,
41
+ Me as AiChatServiceContext,
42
+ ye as AiChatV2Pane,
43
+ De as AppBar,
44
+ fe as AppBarV2,
45
+ Ue as AppRail,
46
+ ke as AppRailV2,
47
+ Be as AppShell,
48
+ Ve as AppShellV2,
49
+ Ae as ArtifactHtmlHandler,
50
+ He as ArtifactRender,
50
51
  r as ArtifactType,
51
- De as AskUserDialog,
52
- Ue as AskUserSheet,
53
- ke as AttachmentPreviewModal,
52
+ be as AskUserDialog,
53
+ Fe as AskUserSheet,
54
+ Ne as AttachmentPreviewModal,
54
55
  i as AuthorType,
55
- Be as BoxedPart,
56
- Ve as BrainIcon,
57
- be as ChartIcon,
56
+ Oe as BoxedPart,
57
+ we as BrainIcon,
58
+ Ge as CHAT_VERBOSITY_LEVELS,
59
+ We as ChartIcon,
58
60
  c as ChatAction,
59
61
  l as ChatEventType,
60
- Fe as ChatIcon,
62
+ ze as ChatIcon,
61
63
  A as ChatMessageContent,
62
- He as ChatPane,
63
- Ne as ChatsHistory,
64
- Oe as ChatsHistoryV2,
65
- we as CheckIcon,
66
- Ge as ChevronIcon,
67
- We as ChevronRightIcon,
68
- H as ClientMessage,
64
+ Je as ChatPane,
65
+ Xe as ChatsHistory,
66
+ Ke as ChatsHistoryV2,
67
+ Ye as CheckIcon,
68
+ je as ChevronIcon,
69
+ Ze as ChevronRightIcon,
70
+ F as ClientMessage,
69
71
  N as ClientMessageClass,
70
- ze as CloseIcon,
71
- Je as CodeIcon,
72
- Ke as ComposerIcon,
73
- X as ConnectionState,
74
- je as CurrentMessage,
75
- Xe as DEFAULT_PART_RENDERERS,
76
- os as DEV_SERVER_CONFIG,
77
- Ze as DashboardIcon,
78
- qe as DataExplorerIcon,
79
- Ye as DelayTextComponent,
80
- Qe as EnvironmentProvider,
81
- $ as EventBusService,
72
+ qe as CloseIcon,
73
+ Qe as CodeIcon,
74
+ $e as ComposerIcon,
75
+ Y as ConnectionState,
76
+ $ as ConnectionSupervisor,
77
+ ea as CurrentMessage,
78
+ aa as DEFAULT_ACTIVITY_RENDERER,
79
+ ta as DEFAULT_PART_RENDERERS,
80
+ Ss as DEV_SERVER_CONFIG,
81
+ sa as DashboardIcon,
82
+ oa as DataExplorerIcon,
83
+ na as DelayTextComponent,
84
+ ra as EnvironmentProvider,
85
+ ee as EventBusService,
82
86
  p as EventType,
83
87
  S as EventTypeDescriptions,
84
- $e as FileIcon,
88
+ ia as FileIcon,
85
89
  g as FunctionCallContent,
86
- ea as FunctionPart,
90
+ ca as FunctionPart,
87
91
  C as FunctionResultContent,
88
- Ps as GOOGLE_CLIENT_ID,
92
+ Rs as GOOGLE_CLIENT_ID,
89
93
  I as GetEventTypeFromDotNetName,
90
- aa as GlobeIcon,
91
- ta as HistoryIcon,
92
- ee as HttpArtifactService,
93
- ie as HttpSessionService,
94
- sa as IDLE_TIMEOUT,
95
- oa as InertEnvironmentProvider,
96
- h as InteractionPartUtils,
97
- ae as InteractionService,
98
- na as JsxErrorBoundary,
99
- ra as LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL,
100
- ia as LastPrompts,
101
- ca as LastPromptsV2,
102
- la as LinearBackgroundProgress,
103
- Aa as LinearProgressBarWithMarkers,
104
- pa as ListCheckIcon,
105
- Sa as LiveJsxBlock,
106
- ga as LiveTsxConfigProvider,
107
- P as LlmEvent,
108
- Ca as LlmResponseRender,
109
- Ia as LoadingDots,
110
- te as LocalStorageService,
111
- ha as LockClosedIcon,
112
- Pa as LockOpenIcon,
113
- da as MOBILE_NAV_DEFAULT,
114
- Ea as MarkdownExtended,
94
+ la as GlobeIcon,
95
+ Aa as HistoryIcon,
96
+ ae as HttpArtifactService,
97
+ Se as HttpSessionService,
98
+ te as IDLE_TIMEOUT,
99
+ pa as InertEnvironmentProvider,
100
+ E as InteractionPartUtils,
101
+ se as InteractionService,
102
+ Sa as JsxErrorBoundary,
103
+ ga as LIVE_TSX_DEFAULT_MAX_CHARS_FOR_FULL,
104
+ Ca as LastPrompts,
105
+ Ia as LastPromptsV2,
106
+ Ea as LinearBackgroundProgress,
107
+ ha as LinearProgressBarWithMarkers,
108
+ Pa as ListCheckIcon,
109
+ da as LiveJsxBlock,
110
+ Ta as LiveTsxConfigProvider,
111
+ h as LlmEvent,
112
+ ua as LlmResponseRender,
113
+ va as LoadingDots,
114
+ oe as LocalStorageService,
115
+ ma as LockClosedIcon,
116
+ La as LockOpenIcon,
117
+ ne as MAX_CHAR_PER_TEXT_PART,
118
+ Ra as MOBILE_NAV_DEFAULT,
119
+ _a as MarkdownExtended,
115
120
  W as MemoryContextLabels,
116
121
  z as MemoryContexts,
117
- ua as MentionPickerPanel,
118
- va as MenuIcon,
119
- Ta as Message,
120
- ma as MobileDrawer,
121
- La as MobileDrawerV2,
122
- d as ModelConfig,
123
- E as ModelType,
124
- _s as PERSON_OR_PLACE_LEAD_ROWS,
125
- Ra as PanelIcon,
126
- xa as PaperclipIcon,
127
- Ma as PauseIcon,
128
- _a as PenIcon,
129
- ya as PinIcon,
130
- fa as PlusIcon,
131
- Da as Prompt,
132
- Ua as PromptDateMarkers,
133
- ka as PromptGhostHint,
134
- Z as PromptUtils,
135
- Ba as PromptV2,
136
- u as ResponseType,
137
- Va as RotateIcon,
138
- v as RunMode,
139
- ba as RunProgressPanel,
140
- Fa as RunProgressPanelV2,
141
- Ha as RunProgressStrip,
142
- Na as RunProgressStripV2,
122
+ xa as MentionPickerPanel,
123
+ Ma as MenuIcon,
124
+ ya as Message,
125
+ Da as MessageScopeProvider,
126
+ fa as MobileDrawer,
127
+ Ua as MobileDrawerV2,
128
+ P as ModelConfig,
129
+ d as ModelType,
130
+ Hs as PERSON_OR_PLACE_LEAD_ROWS,
131
+ ka as PanelIcon,
132
+ Ba as PaperclipIcon,
133
+ Va as PauseIcon,
134
+ Ha as PenIcon,
135
+ ba as PinIcon,
136
+ Fa as PlusIcon,
137
+ Na as Prompt,
138
+ Oa as PromptDateMarkers,
139
+ wa as PromptGhostHint,
140
+ j as PromptUtils,
141
+ Ga as PromptV2,
142
+ T as ResponseType,
143
+ Wa as RotateIcon,
144
+ u as RunMode,
145
+ za as RunProgressPanel,
146
+ Ja as RunProgressPanelV2,
147
+ Xa as RunProgressStrip,
148
+ Ka as RunProgressStripV2,
143
149
  J as SUB_AGENT_TERMINAL_STATUSES,
144
- $s as Score,
145
- Oa as SearchIcon,
146
- wa as SendIcon,
147
- T as ServerEvent,
148
- Ga as SessionStateManagerService,
149
- Wa as SessionUsage,
150
- za as SessionUsagePanel,
150
+ io as Score,
151
+ Ya as SearchIcon,
152
+ ja as SendIcon,
153
+ v as ServerEvent,
154
+ Za as SessionStateManagerService,
155
+ qa as SessionUsage,
156
+ Qa as SessionUsagePanel,
151
157
  m as SkillLevel,
152
- ys as SortableTable,
153
- Ja as SparkleIcon,
154
- Ka as Sparkline,
155
- ja as StopIcon,
156
- Xa as Stopwatch,
158
+ bs as SortableTable,
159
+ $a as SparkleIcon,
160
+ et as Sparkline,
161
+ at as StopIcon,
162
+ tt as Stopwatch,
157
163
  L as StreamingFunctionCallUpdateContent,
158
164
  R as StreamingReasoningContent,
159
- x as StreamingResponse,
160
- M as StreamingTextContent,
161
- Za as SubAgentBox,
162
- qa as SubAgentBoxV2,
163
- Ya as SuspendedPart,
164
- Qa as TableIcon,
165
- $a as TaskList,
166
- et as TaskListV2,
167
- at as TerminalIcon,
168
- _ as TextContent,
169
- tt as TextPart,
170
- st as ThoughtPart,
171
- ot as ToolIcon,
172
- nt as TrashIcon,
173
- rt as TriggerDropdown,
174
- it as TurnAwareButton,
175
- ct as UiToolDispatcher,
176
- lt as UndoIcon,
177
- At as UsersIcon,
178
- pt as V2_CHART_PALETTE,
179
- St as WARNING_THRESHOLD,
180
- gt as WaitingPart,
181
- se as WebSocketConnecionV2,
182
- Ct as ZoomInIcon,
183
- It as ZoomOutIcon,
184
- zs as activatePlaceholder,
185
- Js as advanceToPlaceholder,
186
- Ks as applyTriggerInsertion,
187
- fs as chipLocations,
188
- Ds as chunkArray,
189
- ht as classifyPart,
190
- Pt as configureFriendlyMapping,
191
- dt as createAiChatEngine,
192
- Et as createAiChatSessionStore,
193
- ut as createAiChatStore,
165
+ _ as StreamingResponse,
166
+ x as StreamingTextContent,
167
+ st as SubAgentBox,
168
+ ot as SubAgentBoxV2,
169
+ nt as SuspendedPart,
170
+ rt as TableIcon,
171
+ it as TaskList,
172
+ ct as TaskListV2,
173
+ lt as TerminalIcon,
174
+ M as TextContent,
175
+ At as TextPart,
176
+ pt as ThoughtPart,
177
+ St as ToolIcon,
178
+ gt as TrashIcon,
179
+ Ct as TriggerDropdown,
180
+ It as TurnAwareButton,
181
+ Et as UiToolDispatcher,
182
+ ht as UndoIcon,
183
+ Pt as UsersIcon,
184
+ dt as V2_CHART_PALETTE,
185
+ re as WARNING_THRESHOLD,
186
+ Tt as WaitingPart,
187
+ ie as WebSocketConnecionV2,
188
+ ut as ZoomInIcon,
189
+ vt as ZoomOutIcon,
190
+ Qs as activatePlaceholder,
191
+ $s as advanceToPlaceholder,
192
+ eo as applyTriggerInsertion,
193
+ Fs as chipLocations,
194
+ Ns as chunkArray,
195
+ mt as classifyPart,
196
+ Lt as configureFriendlyMapping,
197
+ Rt as createAiChatEngine,
198
+ _t as createAiChatSessionStore,
199
+ xt as createAiChatStore,
194
200
  y as createEventSerializer,
195
- f as createStreamingResponseSerializer,
196
- vt as createUiToolRegistry,
197
- ce as decodeSessionEvents,
198
- D as deserializeEvent,
201
+ D as createStreamingResponseSerializer,
202
+ Mt as createUiToolRegistry,
203
+ ge as decodeSessionEvents,
204
+ f as deserializeEvent,
199
205
  U as deserializePayload,
200
- js as detectTrigger,
201
- Tt as disposeSharedAiChatEngine,
202
- mt as engineKeyFor,
203
- Lt as extendDefaultScope,
204
- Rt as extendModuleRegistry,
205
- Us as extractInteractionId,
206
- ks as extractLinkAction,
207
- Bs as fetchAtMentions,
208
- Xs as findPlaceholder,
209
- ds as getAgentBaseUrl,
210
- ns as getAgentServerBaseUrl,
211
- Es as getArtifactsBaseUrl,
206
+ ao as detectTrigger,
207
+ yt as disposeSharedAiChatEngine,
208
+ Dt as engineKeyFor,
209
+ ft as extendDefaultScope,
210
+ Ut as extendModuleRegistry,
211
+ Os as extractInteractionId,
212
+ ws as extractLinkAction,
213
+ Gs as fetchAtMentions,
214
+ to as findPlaceholder,
215
+ _s as getAgentBaseUrl,
216
+ gs as getAgentServerBaseUrl,
217
+ xs as getArtifactsBaseUrl,
212
218
  k as getConnectionStateColor,
213
- xt as getDefaultJsxScope,
214
- us as getDotNetBaseUrl,
215
- rs as getEnvVar,
216
- is as getEnvironmentInfo,
217
- Mt as getFriendlyLabel,
218
- vs as getIconByName,
219
+ kt as getDefaultJsxScope,
220
+ Ms as getDotNetBaseUrl,
221
+ Cs as getEnvVar,
222
+ Is as getEnvironmentInfo,
223
+ Bt as getFriendlyLabel,
224
+ ys as getIconByName,
219
225
  B as getModelVendor,
220
- cs as getRandomUUID,
221
- ls as getServerBaseUrl,
222
- As as getServerClientBaseUrl,
223
- _t as getSharedAiChatEngine,
224
- Ts as iconCategories,
225
- Vs as isSectionStart,
226
- ps as isServer,
227
- K as isSubAgentTerminalStatus,
228
- bs as isValidInteractionId,
229
- ms as materialIcons,
230
- yt as parseClientOutput,
231
- ft as parseContentBlocks,
232
- Dt as parseUiArgs,
233
- Fs as placeCaret,
234
- Zs as placeholderAt,
235
- le as resolveAccessToken,
236
- Ss as resolveApiUrl,
226
+ Es as getRandomUUID,
227
+ hs as getServerBaseUrl,
228
+ Ps as getServerClientBaseUrl,
229
+ Vt as getSharedAiChatEngine,
230
+ Ds as iconCategories,
231
+ Ws as isSectionStart,
232
+ ds as isServer,
233
+ X as isSubAgentTerminalStatus,
234
+ zs as isValidInteractionId,
235
+ fs as materialIcons,
236
+ Ht as parseClientOutput,
237
+ bt as parseContentBlocks,
238
+ Ft as parseUiArgs,
239
+ Js as placeCaret,
240
+ so as placeholderAt,
241
+ ce as reduceInteraction,
242
+ Ce as resolveAccessToken,
243
+ Ts as resolveApiUrl,
237
244
  V as sanitizeJsonString,
238
- Ls as searchIcons,
239
- b as serializeEvent,
240
- Rs as setEbiContextData,
241
- xs as setEbiContextSessionId,
242
- Yt as slotDatesFor,
243
- Ut as slotEnterSx,
244
- Hs as splitBigLinesWithSpaces,
245
- Ns as startsWithInteractionId,
246
- Os as swallowNextClick,
247
- ws as toPredictionRows,
248
- Gs as tokenizeForHighlight,
249
- kt as useAgentEngine,
250
- Bt as useAiChatServices,
251
- Vt as useAiChatSessionStore,
252
- Ys as useChatSessions,
253
- bt as useCoarsePointer,
254
- Qt as useContainerRectangle,
255
- Ft as useEnvironment,
256
- Ht as useEnvironmentOptional,
257
- $t as useInterval,
258
- Nt as useLiveTsxMaxCharsForFull,
259
- Ot as useParkedAskUser,
260
- es as usePromptAssist,
261
- wt as useResponsiveLayout,
262
- as as useStickyHighlight,
263
- Gt as useTurnOpen,
264
- Wt as useVisualViewport,
265
- zt as v2Card,
266
- Jt as v2Chip,
267
- Kt as v2IconBtn,
268
- jt as v2MonoMeta,
269
- Xt as v2SectionLabel,
270
- Zt as v2Theme
245
+ Us as searchIcons,
246
+ H as serializeEvent,
247
+ ks as setEbiContextData,
248
+ Bs as setEbiContextSessionId,
249
+ ns as slotDatesFor,
250
+ Nt as slotEnterSx,
251
+ Xs as splitBigLinesWithSpaces,
252
+ Ks as startsWithInteractionId,
253
+ Ys as swallowNextClick,
254
+ js as toPredictionRows,
255
+ Zs as tokenizeForHighlight,
256
+ Ot as useAgentEngine,
257
+ wt as useAiChatServices,
258
+ Gt as useAiChatSessionStore,
259
+ no as useChatSessions,
260
+ Wt as useCoarsePointer,
261
+ rs as useContainerRectangle,
262
+ zt as useEnvironment,
263
+ Jt as useEnvironmentOptional,
264
+ is as useInterval,
265
+ Xt as useLiveTsxMaxCharsForFull,
266
+ Kt as useMessageScope,
267
+ Yt as useParkedAskUser,
268
+ cs as usePromptAssist,
269
+ jt as useResponsiveLayout,
270
+ ls as useStickyHighlight,
271
+ Zt as useTurnOpen,
272
+ qt as useVisualViewport,
273
+ Qt as v2Card,
274
+ $t as v2Chip,
275
+ es as v2IconBtn,
276
+ as as v2MonoMeta,
277
+ ts as v2SectionLabel,
278
+ ss as v2Theme
271
279
  };
272
280
  //# sourceMappingURL=index.js.map
package/dist/models.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as a, a as s, b as n, c as o, d as i, C as r, e as l, f as C, E as g, g as p, F as S, h as m, G as T, I as c, L as A, M as E, i as M, R as d, j as v, S as y, k as u, l as f, m as x, n as R, o as z, T as h, p as F, q as L, r as U, s as b, t as N, u as P, v as G, w as I } from "./serializer-DX-yGa_k.js";
1
+ import { A as a, a as s, b as n, c as o, d as i, C as r, e as l, f as C, E as g, g as p, F as S, h as m, G as T, I as c, L as A, M as E, i as M, R as d, j as v, S as y, k as u, l as f, m as x, n as R, o as z, T as h, p as F, q as L, r as U, s as b, t as N, u as P, v as G, w as I } from "./serializer-CC-nM3ig.js";
2
2
  import { C as k, C as D } from "./ClientMessage-DUby3KyC.js";
3
3
  import { A as q, a as w, M as B, b as J, S as K, i as V } from "./Memory-CjrYSkzB.js";
4
4
  import { C as O, P as Q } from "./Prompt-DZb7OaPp.js";