aov-agent 1.0.14 → 1.0.18
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.
|
@@ -106,11 +106,13 @@ export var ContactSupportCard = function ContactSupportCard(_ref5) {
|
|
|
106
106
|
window.$crisp.push(["do", "message:send", ["text", message]]);
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
|
-
return /*#__PURE__*/React.createElement(
|
|
109
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
110
|
+
paddingBlockStart: "150"
|
|
111
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
110
112
|
onClick: handleContactSupport,
|
|
111
113
|
variant: "secondary",
|
|
112
114
|
size: "slim",
|
|
113
115
|
fullWidth: true,
|
|
114
116
|
icon: ChatIcon
|
|
115
|
-
}, "Contact Human Support");
|
|
117
|
+
}, "Contact Human Support"));
|
|
116
118
|
};
|
|
@@ -2,16 +2,16 @@ import { AOV_APPS } from "./appName";
|
|
|
2
2
|
export var welcomeSuggestions = function welcomeSuggestions(appName) {
|
|
3
3
|
switch (appName) {
|
|
4
4
|
case AOV_APPS.FG:
|
|
5
|
-
return ["
|
|
5
|
+
return ["Which campaign fits my store best?", "What’s the recommended spending threshold based on customer behavior?", "Which products are good options for free gifts?", "How is my campaign performing?"];
|
|
6
6
|
default:
|
|
7
|
-
return ["
|
|
7
|
+
return ["Which campaign fits my store best?", "What’s the recommended spending threshold based on customer behavior?", "Which products are good options for free gifts?", "How is my campaign performing?"];
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
10
|
export var welComeMessage = function welComeMessage(appName) {
|
|
11
11
|
switch (appName) {
|
|
12
12
|
case AOV_APPS.FG:
|
|
13
|
-
return "
|
|
13
|
+
return "Your assistant to help you set up campaigns more effectively";
|
|
14
14
|
default:
|
|
15
|
-
return "
|
|
15
|
+
return "Your assistant to help you set up campaigns more effectively";
|
|
16
16
|
}
|
|
17
17
|
};
|
|
@@ -62,7 +62,7 @@ export var streamApi = /*#__PURE__*/function () {
|
|
|
62
62
|
return window.shopify.idToken();
|
|
63
63
|
case 1:
|
|
64
64
|
idToken = _context2.v;
|
|
65
|
-
fullUrl = apiUrl ? "".concat(apiUrl, "/api
|
|
65
|
+
fullUrl = apiUrl ? "".concat(apiUrl, "/public-api/v1/chat/message") : "/public-api/v1/chat/message";
|
|
66
66
|
_context2.n = 2;
|
|
67
67
|
return fetch(fullUrl, {
|
|
68
68
|
method: method,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aov-agent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "AOV AI Agent - Monorepo for AI Assistant Components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"dev": "concurrently -n functions,assets -c blue,green \"npm run dev:functions\" \"npm run dev:assets:wait\"",
|
|
15
15
|
"dev:assets:wait": "wait-on tcp:8080 && npm run dev:assets",
|
|
16
|
-
"dev:functions": "npm run build --workspace=@aov/functions && firebase emulators:start",
|
|
16
|
+
"dev:functions": "npm run build --workspace=@aov/functions && concurrently -n build,emulator -c yellow,blue \"npm run build:watch --workspace=@aov/functions\" \"firebase emulators:start\"",
|
|
17
17
|
"dev:assets": "npm run dev --workspace=@aov/assets",
|
|
18
18
|
"build:ui": "npm run build --workspace=@aov/agent-ui",
|
|
19
19
|
"build:watch": "npm run build:watch --workspace=@aov/agent-ui",
|