@vinaverse/react-native 0.1.0-alpha.5 → 0.1.0-alpha.7

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 (44) hide show
  1. package/README.md +76 -12
  2. package/dist/ask.cjs +62 -0
  3. package/dist/ask.cjs.map +1 -0
  4. package/dist/ask.d.cts +36 -0
  5. package/dist/ask.d.ts +36 -0
  6. package/dist/ask.js +5 -0
  7. package/dist/ask.js.map +1 -0
  8. package/dist/chat.cjs +269 -0
  9. package/dist/chat.cjs.map +1 -0
  10. package/dist/chat.d.cts +461 -0
  11. package/dist/chat.d.ts +461 -0
  12. package/dist/chat.js +4 -0
  13. package/dist/chat.js.map +1 -0
  14. package/dist/chunk-6QYDPGRS.cjs +97 -0
  15. package/dist/chunk-6QYDPGRS.cjs.map +1 -0
  16. package/dist/chunk-AGZ7IH7E.cjs +2650 -0
  17. package/dist/chunk-AGZ7IH7E.cjs.map +1 -0
  18. package/dist/chunk-EFEXTVIT.js +88 -0
  19. package/dist/chunk-EFEXTVIT.js.map +1 -0
  20. package/dist/chunk-HTUXHZ7X.js +2562 -0
  21. package/dist/chunk-HTUXHZ7X.js.map +1 -0
  22. package/dist/chunk-MG32E4JI.cjs +268 -0
  23. package/dist/chunk-MG32E4JI.cjs.map +1 -0
  24. package/dist/chunk-NJ6ARGZS.js +74 -0
  25. package/dist/chunk-NJ6ARGZS.js.map +1 -0
  26. package/dist/chunk-POJP52GE.js +261 -0
  27. package/dist/chunk-POJP52GE.js.map +1 -0
  28. package/dist/chunk-V6HHPE5K.cjs +76 -0
  29. package/dist/chunk-V6HHPE5K.cjs.map +1 -0
  30. package/dist/index.cjs +267 -2998
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.d.cts +11 -607
  33. package/dist/index.d.ts +11 -607
  34. package/dist/index.js +4 -2930
  35. package/dist/index.js.map +1 -1
  36. package/dist/launcher.cjs +82 -0
  37. package/dist/launcher.cjs.map +1 -0
  38. package/dist/launcher.d.cts +122 -0
  39. package/dist/launcher.d.ts +122 -0
  40. package/dist/launcher.js +5 -0
  41. package/dist/launcher.js.map +1 -0
  42. package/dist/theme-BhiEGv64.d.cts +35 -0
  43. package/dist/theme-BhiEGv64.d.ts +35 -0
  44. package/package.json +54 -9
package/README.md CHANGED
@@ -41,7 +41,9 @@ out of reach, status, name, ratings and sign-out are the runtime's.
41
41
 
42
42
  ```tsx
43
43
  import { createAgentRuntime } from '@vinaverse/client/agent';
44
- import { AgentChat, AgentLauncher, AgentRuntimeProvider, AskAboutRow, CardCarousel } from '@vinaverse/react-native';
44
+ import { AgentChat, CardCarousel } from '@vinaverse/react-native/chat';
45
+ import { AgentLauncher, AgentRuntimeProvider } from '@vinaverse/react-native/launcher';
46
+ import { AskAboutRow } from '@vinaverse/react-native/ask';
45
47
 
46
48
  const agent = createAgentRuntime({ backend: { openSession, refreshSecret, status }, conversation: { locale } });
47
49
  const components = { CardGroup: CardCarousel, Image: ExpoImage }; // module level: stable
@@ -51,7 +53,7 @@ const imagePolicy = { hosts: ['images.example.com'], aspectRatio: 1.6, Placehold
51
53
  <Tabs />
52
54
  <AgentLauncher subject={user?.id ?? null} mode={side} Mark={YourMark}
53
55
  route={currentTab} routes={['home', 'explore']} hidden={sheetOpen} // never with the keyboard up
54
- storage={preferences} onOpen={({ route, mode }) => openChat(route, mode)}
56
+ storage={preferences} onOpen={({ route, mode, entryPoint }) => openChat(route, mode, entryPoint)}
55
57
  style={{ position: 'absolute', right: 16, bottom: tabBarHeight + 16 }} />
56
58
  </AgentRuntimeProvider>
57
59
 
@@ -59,6 +61,7 @@ const imagePolicy = { hosts: ['images.example.com'], aspectRatio: 1.6, Placehold
59
61
  <AgentChat
60
62
  agentKey={{ subject: user?.id ?? null, mode: side, scope: businessId }}
61
63
  place={{ screen: 'professional', entity: { type: 'professional', id } }}
64
+ entryPoint={entryPoint} // 'launcher', 'ask', 'deep_link': session_opened says it
62
65
  askAbout={`Tell me about ${name}`} // offered when the session was told another place
63
66
  starters={startersFor(screen)} // when the session brings no welcome
64
67
  components={components}
@@ -71,23 +74,30 @@ const imagePolicy = { hosts: ['images.example.com'], aspectRatio: 1.6, Placehold
71
74
  />
72
75
 
73
76
  // On the app's own page about a professional
74
- <AskAboutRow title={`Ask ${agentName} about ${name}`} onPress={() => openChat('professional', side)} />
77
+ <AskAboutRow title={`Ask ${agentName} about ${name}`} onPress={({ entryPoint }) => openChat('professional', side, entryPoint)} />
75
78
  ```
76
79
 
77
- - **Parts:** `AgentChat` draws the conversation, a conversation that ended (`components.Ended`, start over), the backend
78
- out of reach (`components.Unreachable`, try again), no agent at all (`components.UnavailableScreen`, the whole
79
- screen: off, or the session refused, with a person through `onContact`), and under the composer thumbs on the newest
80
- whole reply and the privacy link (`components.Footer`, `null` to hide); each slot gets the kit's part as `Default`,
81
- to wrap it. `opener` is a first question as a chip the person taps (a flow that asks for itself), until they say
82
- anything; nothing is ever sent in their name. `AgentLauncher` is a round button with
80
+ - **Parts:** `AgentChat` draws the conversation, a conversation that ended (`components.Ended`: `onStartNew`,
81
+ `reason`, `code`, `onContact`), the backend out of reach (`components.Unreachable`: `onRetry`, `reason`,
82
+ `onContact`), no agent at all (`components.UnavailableScreen`, the whole screen: off, or the session refused;
83
+ `reason`, `code`, `onRetry`, `onContact`), and under the composer thumbs on the newest whole reply seen live and the
84
+ privacy link (`components.Footer`, `null` to hide). Each slot replaces its screen entirely, layout and words, and gets
85
+ the kit's part as `Default` to wrap instead; to change only the words, pass `copy`. A person to contact
86
+ (`onContact`) reaches every full-screen slot. `opener` is a first question as a chip the person taps (a flow that asks for itself), until they say
87
+ anything; nothing is ever sent in their name. So a setup flow starts when the person taps it, never on its own:
88
+ starting it automatically would put words in their mouth, which the kit declines by design. `AgentLauncher` is a round button with
83
89
  a greeting bubble once per person and mode (`storage`: your preferences store; `greeting`: words or words by mode,
84
90
  read through `announce`; `storageKey` maps the record to one your app already keeps, so nobody is greeted twice),
85
91
  your `Mark` inside, floating where `placement` says (`edge`, `bottom` above your tab bar, `inset`; `style` after it),
86
92
  with `appearance` (a `ring`, the `shadow`, the bubble's `tail`), shown on your `routes` only, never with the keyboard
87
- up (`hideWithKeyboard`), stepping aside when you say (`hidden`), and only when the status offers it; its button,
93
+ up (`hideWithKeyboard`; on iOS it goes as the keyboard starts to rise, on Android once it is up), stepping aside when you say (`hidden`), and only when the status offers it; its button,
88
94
  bubble and entrance are slots (`LauncherButton`, `LauncherGreeting`, `LauncherEntrance`: a short fade and scale,
89
- none with reduced motion). `AskAboutRow` is "ask the agent about this" on
90
- your own pages, shown when the agent is available, decided once per visit.
95
+ none with reduced motion). Its `onOpen` and the ask row's `onPress` give `entryPoint` (`launcher`, `ask`): pass it to
96
+ `AgentChat`'s `entryPoint` (or `deep_link`, or your own words) and `session_opened` says where the chat was opened
97
+ from. Every agent part asks the runtime to `sweep()` when the app comes back to the foreground. `AskAboutRow` is "ask the agent about this" on
98
+ your own pages, decided once as the page draws, from the status already read: it is never added under a drawn page
99
+ (an agent whose status arrives later shows from the next visit), and `appearance` gives it a tint (`background`) and the
100
+ `chevron` or none.
91
101
  - **Policies and adapters:** `imagePolicy` (photo hosts, frame, the stand-in for a missing photo) applies to every card
92
102
  and every fetch ahead; `announce` reads finished replies and the greeting your way; `onChip` hears a tapped chip.
93
103
  Card renderers get the card read once (`read`).
@@ -108,6 +118,60 @@ npm install @vinaverse/react-native@alpha @vinaverse/client@alpha @shopify/flash
108
118
  Alphas are published under the `alpha` tag. Keep every `@vinaverse/*` package on the same version, so your app and the
109
119
  kit share one copy of `@vinaverse/client`.
110
120
 
121
+ **Import by part.** The package has an entry per part: `@vinaverse/react-native/chat` (the conversation, `AgentChat`,
122
+ `VinaverseChat`, cards, theme), `/launcher` (`AgentLauncher` and its parts) and `/ask` (`AskAboutRow`). The launcher and
123
+ the ask row each re-export the runtime bindings (`AgentRuntimeProvider`, the hooks) and the theme. The entries share
124
+ their modules, so two of them still mean one theme and one chat context. `@vinaverse/react-native` itself still exports
125
+ everything.
126
+
127
+ What it buys, honestly. Metro without tree shaking (its default) puts every module an app imports statically, anywhere,
128
+ into the one bundle it writes for iOS or Android. Measured on the kit alone (minified, brotli, peers excluded):
129
+
130
+ | The app imports | Ships |
131
+ |---|---|
132
+ | `@vinaverse/react-native` | 14.9 kB |
133
+ | `/launcher` and `/ask`, no chat screen | 2.9 kB |
134
+ | `/launcher`, `/ask` and `/chat` (a chat screen anywhere) | 15.1 kB |
135
+
136
+ - **The bundle** shrinks only for an app that never imports `/chat`. An app with a chat screen ships the whole kit
137
+ whichever way it imports it; the separate entries add about 0.1 kB.
138
+ - **Start-up** is where an app with a chat screen gains: a screen that imports only `/launcher` runs the kit's 2.5 kB
139
+ of launcher code when it loads, not all 15 kB (with `@vinaverse/react-native`, using the launcher loads every part).
140
+ Inline requires (`inlineRequires`) defer a module until its first use, but they do not split the kit's own entry:
141
+ only the per-part imports do.
142
+ - **Both** need the chat screen loaded lazily (`React.lazy`, or Expo Router's async routes). On iOS and Android a
143
+ production Metro bundle is still one file, so lazy loading defers when the chat's code runs, never whether it ships;
144
+ on the web, async routes put it in a bundle of its own.
145
+
146
+ Loading the chat screen lazily. On the web, Expo Router's async routes (`"asyncRoutes"` in the `expo-router` plugin's
147
+ options in `app.json`, e.g. `{ "web": true, "default": "development" }`) put each route's code in a bundle of its own,
148
+ loaded the first time it is visited. That setting makes routes async on iOS and Android in development only, so a
149
+ production iOS or Android build gets no deferral from it: there, `React.lazy` is what defers the chat:
150
+
151
+ ```tsx
152
+ import { lazy, Suspense } from 'react';
153
+ import { AgentLauncher, AgentRuntimeProvider } from '@vinaverse/react-native/launcher'; // the tabs: 2.5 kB of the kit
154
+
155
+ // Only this file imports /chat, and only when the screen is first drawn.
156
+ const ChatScreen = lazy(() => import('./ChatScreen')); // ChatScreen.tsx: import { AgentChat } from '@vinaverse/react-native/chat'
157
+
158
+ export function Chat() {
159
+ return (
160
+ <Suspense fallback={null}>
161
+ <ChatScreen />
162
+ </Suspense>
163
+ );
164
+ }
165
+ ```
166
+
167
+ What is lost without it: a screen that imports `/chat` statically, or anything that does, loads and runs the whole chat
168
+ (about 13 kB of the kit, its cards and list) when that screen's module first runs; with inline requires, when it is
169
+ first used. Nothing breaks either way, and the bundle is the same on iOS and Android.
170
+
171
+ Metro resolves an ES `import` to the package's ES module build and a `require` to its CommonJS build: import the kit
172
+ with `import` statements throughout (never a `require` beside them), so every part comes from one build. With tree
173
+ shaking (Expo's production tree shaking, webpack, Rollup, esbuild) either way of importing costs the same.
174
+
111
175
  ## Peer dependencies
112
176
 
113
177
  | Package | Range | Why |
package/dist/ask.cjs ADDED
@@ -0,0 +1,62 @@
1
+ 'use strict';
2
+
3
+ var chunkV6HHPE5K_cjs = require('./chunk-V6HHPE5K.cjs');
4
+ var chunk6QYDPGRS_cjs = require('./chunk-6QYDPGRS.cjs');
5
+ var agent = require('@vinaverse/react/agent');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "AskAboutRow", {
10
+ enumerable: true,
11
+ get: function () { return chunkV6HHPE5K_cjs.AskAboutRow; }
12
+ });
13
+ Object.defineProperty(exports, "ThemeProvider", {
14
+ enumerable: true,
15
+ get: function () { return chunk6QYDPGRS_cjs.ThemeProvider; }
16
+ });
17
+ Object.defineProperty(exports, "useTheme", {
18
+ enumerable: true,
19
+ get: function () { return chunk6QYDPGRS_cjs.useTheme; }
20
+ });
21
+ Object.defineProperty(exports, "AgentRuntimeProvider", {
22
+ enumerable: true,
23
+ get: function () { return agent.AgentRuntimeProvider; }
24
+ });
25
+ Object.defineProperty(exports, "forgetGreeting", {
26
+ enumerable: true,
27
+ get: function () { return agent.forgetGreeting; }
28
+ });
29
+ Object.defineProperty(exports, "greetedKey", {
30
+ enumerable: true,
31
+ get: function () { return agent.greetedKey; }
32
+ });
33
+ Object.defineProperty(exports, "useAgentConversation", {
34
+ enumerable: true,
35
+ get: function () { return agent.useAgentConversation; }
36
+ });
37
+ Object.defineProperty(exports, "useAgentFeatures", {
38
+ enumerable: true,
39
+ get: function () { return agent.useAgentFeatures; }
40
+ });
41
+ Object.defineProperty(exports, "useAgentLauncher", {
42
+ enumerable: true,
43
+ get: function () { return agent.useAgentLauncher; }
44
+ });
45
+ Object.defineProperty(exports, "useAgentName", {
46
+ enumerable: true,
47
+ get: function () { return agent.useAgentName; }
48
+ });
49
+ Object.defineProperty(exports, "useAgentProfile", {
50
+ enumerable: true,
51
+ get: function () { return agent.useAgentProfile; }
52
+ });
53
+ Object.defineProperty(exports, "useAgentRuntime", {
54
+ enumerable: true,
55
+ get: function () { return agent.useAgentRuntime; }
56
+ });
57
+ Object.defineProperty(exports, "useAgentStatus", {
58
+ enumerable: true,
59
+ get: function () { return agent.useAgentStatus; }
60
+ });
61
+ //# sourceMappingURL=ask.cjs.map
62
+ //# sourceMappingURL=ask.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ask.cjs","sourcesContent":[]}
package/dist/ask.d.cts ADDED
@@ -0,0 +1,36 @@
1
+ export { AgentRuntimeProvider, GreetingStorage, UseAgentConversation, UseAgentLauncher, forgetGreeting, greetedKey, useAgentConversation, useAgentFeatures, useAgentLauncher, useAgentName, useAgentProfile, useAgentRuntime, useAgentStatus } from '@vinaverse/react/agent';
2
+ import { CopyOverrides } from '@vinaverse/react';
3
+ import { ComponentType, ReactNode } from 'react';
4
+ import { a as ThemeOverrides, C as ColorSchemeSetting } from './theme-BhiEGv64.cjs';
5
+ export { T as Theme, b as ThemeProvider, u as useTheme } from './theme-BhiEGv64.cjs';
6
+ import '@vinaverse/tokens';
7
+
8
+ /** The row's look beyond the theme. */
9
+ interface AskAboutRowAppearance {
10
+ /** A tint behind the row; default the theme's `surface`. */
11
+ readonly background?: string;
12
+ /** The chevron at the row's end. Default true. */
13
+ readonly chevron?: boolean;
14
+ }
15
+ interface AskAboutRowProps {
16
+ /** "Ask Example Agent about Riley Sample". */
17
+ readonly title: string;
18
+ readonly body?: string;
19
+ /** The person asks: open the chat with `entryPoint` (`ask`), so the session says where it was opened from. */
20
+ readonly onPress: (from: {
21
+ readonly entryPoint: 'ask';
22
+ }) => void;
23
+ /** The app's brand mark at the row's start; default the agent name's first letter. */
24
+ readonly Mark?: ComponentType<{
25
+ readonly size: number;
26
+ readonly color: string;
27
+ }>;
28
+ readonly appearance?: AskAboutRowAppearance;
29
+ readonly locale?: string;
30
+ readonly copy?: CopyOverrides;
31
+ readonly theme?: ThemeOverrides;
32
+ readonly colorScheme?: ColorSchemeSetting;
33
+ }
34
+ declare function AskAboutRow(props: AskAboutRowProps): ReactNode;
35
+
36
+ export { AskAboutRow, type AskAboutRowAppearance, type AskAboutRowProps, ColorSchemeSetting, ThemeOverrides };
package/dist/ask.d.ts ADDED
@@ -0,0 +1,36 @@
1
+ export { AgentRuntimeProvider, GreetingStorage, UseAgentConversation, UseAgentLauncher, forgetGreeting, greetedKey, useAgentConversation, useAgentFeatures, useAgentLauncher, useAgentName, useAgentProfile, useAgentRuntime, useAgentStatus } from '@vinaverse/react/agent';
2
+ import { CopyOverrides } from '@vinaverse/react';
3
+ import { ComponentType, ReactNode } from 'react';
4
+ import { a as ThemeOverrides, C as ColorSchemeSetting } from './theme-BhiEGv64.js';
5
+ export { T as Theme, b as ThemeProvider, u as useTheme } from './theme-BhiEGv64.js';
6
+ import '@vinaverse/tokens';
7
+
8
+ /** The row's look beyond the theme. */
9
+ interface AskAboutRowAppearance {
10
+ /** A tint behind the row; default the theme's `surface`. */
11
+ readonly background?: string;
12
+ /** The chevron at the row's end. Default true. */
13
+ readonly chevron?: boolean;
14
+ }
15
+ interface AskAboutRowProps {
16
+ /** "Ask Example Agent about Riley Sample". */
17
+ readonly title: string;
18
+ readonly body?: string;
19
+ /** The person asks: open the chat with `entryPoint` (`ask`), so the session says where it was opened from. */
20
+ readonly onPress: (from: {
21
+ readonly entryPoint: 'ask';
22
+ }) => void;
23
+ /** The app's brand mark at the row's start; default the agent name's first letter. */
24
+ readonly Mark?: ComponentType<{
25
+ readonly size: number;
26
+ readonly color: string;
27
+ }>;
28
+ readonly appearance?: AskAboutRowAppearance;
29
+ readonly locale?: string;
30
+ readonly copy?: CopyOverrides;
31
+ readonly theme?: ThemeOverrides;
32
+ readonly colorScheme?: ColorSchemeSetting;
33
+ }
34
+ declare function AskAboutRow(props: AskAboutRowProps): ReactNode;
35
+
36
+ export { AskAboutRow, type AskAboutRowAppearance, type AskAboutRowProps, ColorSchemeSetting, ThemeOverrides };
package/dist/ask.js ADDED
@@ -0,0 +1,5 @@
1
+ export { AskAboutRow } from './chunk-NJ6ARGZS.js';
2
+ export { ThemeProvider, useTheme } from './chunk-EFEXTVIT.js';
3
+ export { AgentRuntimeProvider, forgetGreeting, greetedKey, useAgentConversation, useAgentFeatures, useAgentLauncher, useAgentName, useAgentProfile, useAgentRuntime, useAgentStatus } from '@vinaverse/react/agent';
4
+ //# sourceMappingURL=ask.js.map
5
+ //# sourceMappingURL=ask.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"ask.js","sourcesContent":[]}
package/dist/chat.cjs ADDED
@@ -0,0 +1,269 @@
1
+ 'use strict';
2
+
3
+ var chunkAGZ7IH7E_cjs = require('./chunk-AGZ7IH7E.cjs');
4
+ var chunk6QYDPGRS_cjs = require('./chunk-6QYDPGRS.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ActivityLine", {
9
+ enumerable: true,
10
+ get: function () { return chunkAGZ7IH7E_cjs.ActivityLine; }
11
+ });
12
+ Object.defineProperty(exports, "AgentChat", {
13
+ enumerable: true,
14
+ get: function () { return chunkAGZ7IH7E_cjs.AgentChat; }
15
+ });
16
+ Object.defineProperty(exports, "AgentFooter", {
17
+ enumerable: true,
18
+ get: function () { return chunkAGZ7IH7E_cjs.AgentFooter; }
19
+ });
20
+ Object.defineProperty(exports, "AgentRuntimeProvider", {
21
+ enumerable: true,
22
+ get: function () { return chunkAGZ7IH7E_cjs.AgentRuntimeProvider; }
23
+ });
24
+ Object.defineProperty(exports, "Avatar", {
25
+ enumerable: true,
26
+ get: function () { return chunkAGZ7IH7E_cjs.Avatar; }
27
+ });
28
+ Object.defineProperty(exports, "Button", {
29
+ enumerable: true,
30
+ get: function () { return chunkAGZ7IH7E_cjs.Button; }
31
+ });
32
+ Object.defineProperty(exports, "CardActions", {
33
+ enumerable: true,
34
+ get: function () { return chunkAGZ7IH7E_cjs.CardActions; }
35
+ });
36
+ Object.defineProperty(exports, "CardCarousel", {
37
+ enumerable: true,
38
+ get: function () { return chunkAGZ7IH7E_cjs.CardCarousel; }
39
+ });
40
+ Object.defineProperty(exports, "CardFrame", {
41
+ enumerable: true,
42
+ get: function () { return chunkAGZ7IH7E_cjs.CardFrame; }
43
+ });
44
+ Object.defineProperty(exports, "CardView", {
45
+ enumerable: true,
46
+ get: function () { return chunkAGZ7IH7E_cjs.CardView; }
47
+ });
48
+ Object.defineProperty(exports, "ChatHeader", {
49
+ enumerable: true,
50
+ get: function () { return chunkAGZ7IH7E_cjs.ChatHeader; }
51
+ });
52
+ Object.defineProperty(exports, "ChatSkeleton", {
53
+ enumerable: true,
54
+ get: function () { return chunkAGZ7IH7E_cjs.ChatSkeleton; }
55
+ });
56
+ Object.defineProperty(exports, "Composer", {
57
+ enumerable: true,
58
+ get: function () { return chunkAGZ7IH7E_cjs.Composer; }
59
+ });
60
+ Object.defineProperty(exports, "DefaultBubble", {
61
+ enumerable: true,
62
+ get: function () { return chunkAGZ7IH7E_cjs.DefaultBubble; }
63
+ });
64
+ Object.defineProperty(exports, "DefaultComposer", {
65
+ enumerable: true,
66
+ get: function () { return chunkAGZ7IH7E_cjs.DefaultComposer; }
67
+ });
68
+ Object.defineProperty(exports, "DefaultEnded", {
69
+ enumerable: true,
70
+ get: function () { return chunkAGZ7IH7E_cjs.DefaultEnded; }
71
+ });
72
+ Object.defineProperty(exports, "DefaultHeader", {
73
+ enumerable: true,
74
+ get: function () { return chunkAGZ7IH7E_cjs.DefaultHeader; }
75
+ });
76
+ Object.defineProperty(exports, "DefaultTurnFailed", {
77
+ enumerable: true,
78
+ get: function () { return chunkAGZ7IH7E_cjs.DefaultTurnFailed; }
79
+ });
80
+ Object.defineProperty(exports, "DefaultUnavailable", {
81
+ enumerable: true,
82
+ get: function () { return chunkAGZ7IH7E_cjs.DefaultUnavailable; }
83
+ });
84
+ Object.defineProperty(exports, "DefaultUnavailableScreen", {
85
+ enumerable: true,
86
+ get: function () { return chunkAGZ7IH7E_cjs.DefaultUnavailableScreen; }
87
+ });
88
+ Object.defineProperty(exports, "DefaultUnreachable", {
89
+ enumerable: true,
90
+ get: function () { return chunkAGZ7IH7E_cjs.DefaultUnreachable; }
91
+ });
92
+ Object.defineProperty(exports, "DisclosureBar", {
93
+ enumerable: true,
94
+ get: function () { return chunkAGZ7IH7E_cjs.DisclosureBar; }
95
+ });
96
+ Object.defineProperty(exports, "FailureActionButton", {
97
+ enumerable: true,
98
+ get: function () { return chunkAGZ7IH7E_cjs.FailureActionButton; }
99
+ });
100
+ Object.defineProperty(exports, "InfoCard", {
101
+ enumerable: true,
102
+ get: function () { return chunkAGZ7IH7E_cjs.InfoCard; }
103
+ });
104
+ Object.defineProperty(exports, "LinksCard", {
105
+ enumerable: true,
106
+ get: function () { return chunkAGZ7IH7E_cjs.LinksCard; }
107
+ });
108
+ Object.defineProperty(exports, "ListingCard", {
109
+ enumerable: true,
110
+ get: function () { return chunkAGZ7IH7E_cjs.ListingCard; }
111
+ });
112
+ Object.defineProperty(exports, "MessageBubble", {
113
+ enumerable: true,
114
+ get: function () { return chunkAGZ7IH7E_cjs.MessageBubble; }
115
+ });
116
+ Object.defineProperty(exports, "MessageList", {
117
+ enumerable: true,
118
+ get: function () { return chunkAGZ7IH7E_cjs.MessageList; }
119
+ });
120
+ Object.defineProperty(exports, "NextStepCard", {
121
+ enumerable: true,
122
+ get: function () { return chunkAGZ7IH7E_cjs.NextStepCard; }
123
+ });
124
+ Object.defineProperty(exports, "ProposalCard", {
125
+ enumerable: true,
126
+ get: function () { return chunkAGZ7IH7E_cjs.ProposalCard; }
127
+ });
128
+ Object.defineProperty(exports, "QuestionCard", {
129
+ enumerable: true,
130
+ get: function () { return chunkAGZ7IH7E_cjs.QuestionCard; }
131
+ });
132
+ Object.defineProperty(exports, "Row", {
133
+ enumerable: true,
134
+ get: function () { return chunkAGZ7IH7E_cjs.Row; }
135
+ });
136
+ Object.defineProperty(exports, "StatusBanner", {
137
+ enumerable: true,
138
+ get: function () { return chunkAGZ7IH7E_cjs.StatusBanner; }
139
+ });
140
+ Object.defineProperty(exports, "StreamingBubble", {
141
+ enumerable: true,
142
+ get: function () { return chunkAGZ7IH7E_cjs.StreamingBubble; }
143
+ });
144
+ Object.defineProperty(exports, "SystemRow", {
145
+ enumerable: true,
146
+ get: function () { return chunkAGZ7IH7E_cjs.SystemRow; }
147
+ });
148
+ Object.defineProperty(exports, "TimeSlotsCard", {
149
+ enumerable: true,
150
+ get: function () { return chunkAGZ7IH7E_cjs.TimeSlotsCard; }
151
+ });
152
+ Object.defineProperty(exports, "VinaverseChat", {
153
+ enumerable: true,
154
+ get: function () { return chunkAGZ7IH7E_cjs.VinaverseChat; }
155
+ });
156
+ Object.defineProperty(exports, "VinaverseChatProvider", {
157
+ enumerable: true,
158
+ get: function () { return chunkAGZ7IH7E_cjs.VinaverseChatProvider; }
159
+ });
160
+ Object.defineProperty(exports, "Welcome", {
161
+ enumerable: true,
162
+ get: function () { return chunkAGZ7IH7E_cjs.Welcome; }
163
+ });
164
+ Object.defineProperty(exports, "allowedImage", {
165
+ enumerable: true,
166
+ get: function () { return chunkAGZ7IH7E_cjs.allowedImage; }
167
+ });
168
+ Object.defineProperty(exports, "answerText", {
169
+ enumerable: true,
170
+ get: function () { return chunkAGZ7IH7E_cjs.answerText; }
171
+ });
172
+ Object.defineProperty(exports, "carousels", {
173
+ enumerable: true,
174
+ get: function () { return chunkAGZ7IH7E_cjs.carousels; }
175
+ });
176
+ Object.defineProperty(exports, "defaultCard", {
177
+ enumerable: true,
178
+ get: function () { return chunkAGZ7IH7E_cjs.defaultCard; }
179
+ });
180
+ Object.defineProperty(exports, "fieldText", {
181
+ enumerable: true,
182
+ get: function () { return chunkAGZ7IH7E_cjs.fieldText; }
183
+ });
184
+ Object.defineProperty(exports, "forgetGreeting", {
185
+ enumerable: true,
186
+ get: function () { return chunkAGZ7IH7E_cjs.forgetGreeting; }
187
+ });
188
+ Object.defineProperty(exports, "greetedKey", {
189
+ enumerable: true,
190
+ get: function () { return chunkAGZ7IH7E_cjs.greetedKey; }
191
+ });
192
+ Object.defineProperty(exports, "itemType", {
193
+ enumerable: true,
194
+ get: function () { return chunkAGZ7IH7E_cjs.itemType; }
195
+ });
196
+ Object.defineProperty(exports, "monogram", {
197
+ enumerable: true,
198
+ get: function () { return chunkAGZ7IH7E_cjs.monogram; }
199
+ });
200
+ Object.defineProperty(exports, "newestWholeReply", {
201
+ enumerable: true,
202
+ get: function () { return chunkAGZ7IH7E_cjs.newestWholeReply; }
203
+ });
204
+ Object.defineProperty(exports, "ratingText", {
205
+ enumerable: true,
206
+ get: function () { return chunkAGZ7IH7E_cjs.ratingText; }
207
+ });
208
+ Object.defineProperty(exports, "useAgentConversation", {
209
+ enumerable: true,
210
+ get: function () { return chunkAGZ7IH7E_cjs.useAgentConversation; }
211
+ });
212
+ Object.defineProperty(exports, "useAgentFeatures", {
213
+ enumerable: true,
214
+ get: function () { return chunkAGZ7IH7E_cjs.useAgentFeatures; }
215
+ });
216
+ Object.defineProperty(exports, "useAgentLauncher", {
217
+ enumerable: true,
218
+ get: function () { return chunkAGZ7IH7E_cjs.useAgentLauncher; }
219
+ });
220
+ Object.defineProperty(exports, "useAgentName", {
221
+ enumerable: true,
222
+ get: function () { return chunkAGZ7IH7E_cjs.useAgentName; }
223
+ });
224
+ Object.defineProperty(exports, "useAgentProfile", {
225
+ enumerable: true,
226
+ get: function () { return chunkAGZ7IH7E_cjs.useAgentProfile; }
227
+ });
228
+ Object.defineProperty(exports, "useAgentRuntime", {
229
+ enumerable: true,
230
+ get: function () { return chunkAGZ7IH7E_cjs.useAgentRuntime; }
231
+ });
232
+ Object.defineProperty(exports, "useAgentStatus", {
233
+ enumerable: true,
234
+ get: function () { return chunkAGZ7IH7E_cjs.useAgentStatus; }
235
+ });
236
+ Object.defineProperty(exports, "useChat", {
237
+ enumerable: true,
238
+ get: function () { return chunkAGZ7IH7E_cjs.useChat; }
239
+ });
240
+ Object.defineProperty(exports, "ThemeProvider", {
241
+ enumerable: true,
242
+ get: function () { return chunk6QYDPGRS_cjs.ThemeProvider; }
243
+ });
244
+ Object.defineProperty(exports, "announce", {
245
+ enumerable: true,
246
+ get: function () { return chunk6QYDPGRS_cjs.announce; }
247
+ });
248
+ Object.defineProperty(exports, "createTheme", {
249
+ enumerable: true,
250
+ get: function () { return chunk6QYDPGRS_cjs.createTheme; }
251
+ });
252
+ Object.defineProperty(exports, "themeProblems", {
253
+ enumerable: true,
254
+ get: function () { return chunk6QYDPGRS_cjs.themeProblems; }
255
+ });
256
+ Object.defineProperty(exports, "useNativeLifecycle", {
257
+ enumerable: true,
258
+ get: function () { return chunk6QYDPGRS_cjs.useNativeLifecycle; }
259
+ });
260
+ Object.defineProperty(exports, "useReducedMotion", {
261
+ enumerable: true,
262
+ get: function () { return chunk6QYDPGRS_cjs.useReducedMotion; }
263
+ });
264
+ Object.defineProperty(exports, "useTheme", {
265
+ enumerable: true,
266
+ get: function () { return chunk6QYDPGRS_cjs.useTheme; }
267
+ });
268
+ //# sourceMappingURL=chat.cjs.map
269
+ //# sourceMappingURL=chat.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"chat.cjs"}