@factorialco/f0-react 1.347.0 → 1.348.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.
- package/dist/{DataCollectionStorageProvider-CamUWgw8.js → DataCollectionStorageProvider-q0CnHjJs.js} +1 -1
- package/dist/{F0AiChat-Bdcyd2yl.js → F0AiChat-CA1GA0lK.js} +16751 -16687
- package/dist/F0HILActionConfirmation-CdDVUmST.js +1205 -0
- package/dist/ai.d.ts +31 -0
- package/dist/ai.js +7 -6
- package/dist/experimental.js +3563 -3571
- package/dist/f0.d.ts +28 -0
- package/dist/f0.js +218 -217
- package/dist/styles.css +1 -1
- package/package.json +5 -1
- package/dist/F0HILActionConfirmation-VQ_C8zDh.js +0 -80
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorialco/f0-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.348.1",
|
|
4
4
|
"main": "dist/f0.js",
|
|
5
5
|
"typings": "dist/f0.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
"@chromatic-com/storybook": "^5.0.0",
|
|
107
107
|
"@commitlint/cli": "^19.7.1",
|
|
108
108
|
"@commitlint/config-conventional": "^19.7.1",
|
|
109
|
+
"@livekit/components-react": "^2.9.19",
|
|
109
110
|
"@emoji-mart/data": "^1.2.1",
|
|
110
111
|
"@emoji-mart/react": "^1.1.1",
|
|
111
112
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
@@ -152,6 +153,7 @@
|
|
|
152
153
|
"http-server": "^14.1.1",
|
|
153
154
|
"jsdom": "^26.0.0",
|
|
154
155
|
"lefthook": "^1.11.3",
|
|
156
|
+
"livekit-client": "^2.17.0",
|
|
155
157
|
"lodash": "^4.17.21",
|
|
156
158
|
"markdown-to-jsx": "^9.3.3",
|
|
157
159
|
"mockdate": "^3.0.5",
|
|
@@ -180,6 +182,7 @@
|
|
|
180
182
|
"@copilotkit/runtime": "^1.10.6",
|
|
181
183
|
"@copilotkit/shared": "^1.10.6",
|
|
182
184
|
"@hookform/resolvers": "^3.9.0",
|
|
185
|
+
"@livekit/components-react": "^2.9.19",
|
|
183
186
|
"@number-flow/react": "^0.5.10",
|
|
184
187
|
"@radix-ui/react-accordion": "^1.1.2",
|
|
185
188
|
"@radix-ui/react-avatar": "^1.0.4",
|
|
@@ -202,6 +205,7 @@
|
|
|
202
205
|
"canvas-confetti": "^1.9.3",
|
|
203
206
|
"clsx": "^2.1.1",
|
|
204
207
|
"date-fns": "^3.6.0",
|
|
208
|
+
"livekit-client": "^2.17.0",
|
|
205
209
|
"lucide-react": "^0.383.0",
|
|
206
210
|
"motion": "^12",
|
|
207
211
|
"nanoid": "^5.0.7",
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import { createContext as c, useContext as h } from "react";
|
|
3
|
-
import { y as n, z as u } from "./F0AiChat-Bdcyd2yl.js";
|
|
4
|
-
const b = ["xs", "sm", "md", "lg"], f = [
|
|
5
|
-
"inProgress",
|
|
6
|
-
"executing",
|
|
7
|
-
"completed"
|
|
8
|
-
], w = {
|
|
9
|
-
ai: {
|
|
10
|
-
openChat: "Open Chat with One AI",
|
|
11
|
-
closeChat: "Close Chat with One AI",
|
|
12
|
-
startNewChat: "Start new chat",
|
|
13
|
-
scrollToBottom: "Scroll to bottom",
|
|
14
|
-
welcome: "Ask or create with One",
|
|
15
|
-
defaultInitialMessage: "How can I help you today?",
|
|
16
|
-
inputPlaceholder: "Ask about time, people, or company info and a lot of other things...",
|
|
17
|
-
stopAnswerGeneration: "Stop generating",
|
|
18
|
-
sendMessage: "Send message",
|
|
19
|
-
thoughtsGroupTitle: "Reflection",
|
|
20
|
-
resourcesGroupTitle: "Resources",
|
|
21
|
-
thinking: "Thinking...",
|
|
22
|
-
exportTable: "Download table",
|
|
23
|
-
generatedTableFilename: "OneGeneratedTable",
|
|
24
|
-
feedbackModal: {
|
|
25
|
-
positive: {
|
|
26
|
-
title: "What did you like about this response?",
|
|
27
|
-
label: "Your feedback helps us make Factorial AI better",
|
|
28
|
-
placeholder: "Share what worked well"
|
|
29
|
-
},
|
|
30
|
-
negative: {
|
|
31
|
-
title: "What could have been better?",
|
|
32
|
-
label: "Your feedback helps us improve future answers",
|
|
33
|
-
placeholder: "Share what didn't work"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
ask: "Ask One"
|
|
37
|
-
}
|
|
38
|
-
}, s = c(null);
|
|
39
|
-
function g({ children: e, translations: a }) {
|
|
40
|
-
return t(s.Provider, {
|
|
41
|
-
value: a,
|
|
42
|
-
children: e
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function C() {
|
|
46
|
-
const e = h(s);
|
|
47
|
-
if (e === null)
|
|
48
|
-
throw new Error("useAiChatTranslations must be used within an AiChatTranslationsProvider");
|
|
49
|
-
return e;
|
|
50
|
-
}
|
|
51
|
-
const k = ({ text: e, confirmationText: a, onConfirm: r, cancelText: i, onCancel: l }) => o("div", {
|
|
52
|
-
className: "flex flex-col gap-2",
|
|
53
|
-
children: [e && t("p", {
|
|
54
|
-
children: e
|
|
55
|
-
}), o("div", {
|
|
56
|
-
className: "flex gap-2",
|
|
57
|
-
children: [t(n, {
|
|
58
|
-
type: "button",
|
|
59
|
-
variant: "outline",
|
|
60
|
-
size: "sm",
|
|
61
|
-
icon: u,
|
|
62
|
-
onClick: r,
|
|
63
|
-
label: a
|
|
64
|
-
}), t(n, {
|
|
65
|
-
type: "button",
|
|
66
|
-
variant: "ghost",
|
|
67
|
-
size: "sm",
|
|
68
|
-
onClick: l,
|
|
69
|
-
label: i
|
|
70
|
-
})]
|
|
71
|
-
})]
|
|
72
|
-
});
|
|
73
|
-
export {
|
|
74
|
-
g as A,
|
|
75
|
-
k as F,
|
|
76
|
-
w as a,
|
|
77
|
-
f as b,
|
|
78
|
-
b as o,
|
|
79
|
-
C as u
|
|
80
|
-
};
|