@glodon-aiot/agent-cli-ui 3.2.10-beta.3 → 3.2.10-beta.4

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.
@@ -43,6 +43,9 @@ const s = {
43
43
  referenceFirst: !1,
44
44
  isExpand: !1
45
45
  },
46
+ searchReference: {
47
+ openTarget: "_blank"
48
+ },
46
49
  promptVariables: !0
47
50
  },
48
51
  features: {
@@ -64,6 +67,9 @@ const s = {
64
67
  file: !0,
65
68
  itemExpanded: !1
66
69
  },
70
+ searchReference: {
71
+ openTarget: "_blank"
72
+ },
67
73
  relatedQuesions: !0,
68
74
  // dialog only
69
75
  footer: {
@@ -86,9 +92,9 @@ const s = {
86
92
  defaultInput: {
87
93
  text: ""
88
94
  }
89
- }, i = "https://copilot.glodon.com/api/cvforcepd", n = "https://copilot.glodon.com/portal/_/aecpilot/fe/", a = 1024, p = 1024 * 1024, u = 1024 * 1024 * 1024;
95
+ }, i = "https://copilot.glodon.com/api/cvforcepd", n = "https://copilot.glodon.com/portal/_/aecpilot/fe/", a = 1024, p = 1024 * 1024, l = 1024 * 1024 * 1024;
90
96
  export {
91
- u as GB,
97
+ l as GB,
92
98
  a as KB,
93
99
  p as MB,
94
100
  t as brand,
package/dist/es/index.mjs CHANGED
@@ -1,28 +1,28 @@
1
- var J = Object.defineProperty, Q = Object.defineProperties;
2
- var G = Object.getOwnPropertyDescriptors;
1
+ var Q = Object.defineProperty, G = Object.defineProperties;
2
+ var K = Object.getOwnPropertyDescriptors;
3
3
  var $ = Object.getOwnPropertySymbols;
4
- var K = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
5
- var w = (l, i, s) => i in l ? J(l, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : l[i] = s, o = (l, i) => {
4
+ var X = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
5
+ var w = (l, i, s) => i in l ? Q(l, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : l[i] = s, o = (l, i) => {
6
6
  for (var s in i || (i = {}))
7
- K.call(i, s) && w(l, s, i[s]);
7
+ X.call(i, s) && w(l, s, i[s]);
8
8
  if ($)
9
9
  for (var s of $(i))
10
- X.call(i, s) && w(l, s, i[s]);
10
+ Y.call(i, s) && w(l, s, i[s]);
11
11
  return l;
12
- }, C = (l, i) => Q(l, G(i));
12
+ }, C = (l, i) => G(l, K(i));
13
13
  var h = (l, i, s) => (w(l, typeof i != "symbol" ? i + "" : i, s), s);
14
- import { jsx as O, Fragment as Y } from "react/jsx-runtime";
14
+ import { jsx as O, Fragment as Z } from "react/jsx-runtime";
15
15
  import g from "lodash/merge";
16
16
  import P from "react-dom";
17
- import Z from "./AgentClientUI.mjs";
18
- import { notification as R } from "antd";
19
- import q from "axios";
20
- import { defaultUIConfig as ee, defaultApiUrl as ie, defaultDovViewerUrl as te } from "./constant.mjs";
21
- import { ApiUrl as oe } from "./types.mjs";
22
- /* empty css */import { AgentClientUIApi as se } from "@glodon-aiot/apis";
23
- import { JWT as re, isExpired as ne } from "./utils/index.mjs";
17
+ import q from "./AgentClientUI.mjs";
18
+ import { notification as J } from "antd";
19
+ import ee from "axios";
20
+ import { defaultUIConfig as ie, defaultApiUrl as te, defaultDovViewerUrl as oe } from "./constant.mjs";
21
+ import { ApiUrl as se } from "./types.mjs";
22
+ /* empty css */import { AgentClientUIApi as re } from "@glodon-aiot/apis";
23
+ import { JWT as ne, isExpired as ae } from "./utils/index.mjs";
24
24
  const b = {};
25
- class be {
25
+ class we {
26
26
  constructor(i) {
27
27
  h(this, "_token");
28
28
  h(this, "_activeSession", null);
@@ -36,14 +36,14 @@ class be {
36
36
  h(this, "service");
37
37
  h(this, "rId", 0);
38
38
  h(this, "_mode", "float");
39
- h(this, "uiConfig", ee);
39
+ h(this, "uiConfig", ie);
40
40
  h(this, "errorHandlers", {});
41
41
  h(this, "wrapper", document.createElement("div"));
42
- var _, y, U, x, S, B, H, z, A, L, V, M, N, E, F, D, T, j, W;
42
+ var _, y, U, x, S, B, H, z, A, L, M, V, N, E, F, D, T, j, R, W;
43
43
  const {
44
44
  env: s,
45
45
  token: d,
46
- mode: f = "float",
46
+ mode: c = "float",
47
47
  triggerButton: m,
48
48
  size: a,
49
49
  apiUrl: r,
@@ -54,10 +54,10 @@ class be {
54
54
  } = i;
55
55
  this._token = d, this.rId = 0, this._defatulSessionId = p, this.errorHandlers = o(o({}, this.errorHandlers), n);
56
56
  const k = {
57
- sessionOpen: f === "float",
58
- sessionList: f === "float"
59
- }, I = (U = (y = (_ = e == null ? void 0 : e.botMessageBox) == null ? void 0 : _.footer) == null ? void 0 : y.items) == null ? void 0 : U.find((c) => c.componentName === "AnswerAgain");
60
- (B = (S = (x = e == null ? void 0 : e.botMessageBox) == null ? void 0 : x.footer) == null ? void 0 : S.items) == null || B.find((c) => c.componentName === "Copy");
57
+ sessionOpen: c === "float",
58
+ sessionList: c === "float"
59
+ }, I = (U = (y = (_ = e == null ? void 0 : e.botMessageBox) == null ? void 0 : _.footer) == null ? void 0 : y.items) == null ? void 0 : U.find((f) => f.componentName === "AnswerAgain");
60
+ (B = (S = (x = e == null ? void 0 : e.botMessageBox) == null ? void 0 : x.footer) == null ? void 0 : S.items) == null || B.find((f) => f.componentName === "Copy");
61
61
  const u = {
62
62
  sessionList: e == null ? void 0 : e.sessionList,
63
63
  sessionOpen: e == null ? void 0 : e.newSession,
@@ -69,24 +69,25 @@ class be {
69
69
  relate: (A = e == null ? void 0 : e.botMessageBox) == null ? void 0 : A.relatedQuesions,
70
70
  again: !(I && I.visible === !1),
71
71
  reference: {
72
- iconVisible: (V = (L = e == null ? void 0 : e.botMessageBox) == null ? void 0 : L.reference) == null ? void 0 : V.file,
73
- referenceFirst: (M = e == null ? void 0 : e.botMessageBox) == null ? void 0 : M.referenceFirst,
72
+ iconVisible: (M = (L = e == null ? void 0 : e.botMessageBox) == null ? void 0 : L.reference) == null ? void 0 : M.file,
73
+ referenceFirst: (V = e == null ? void 0 : e.botMessageBox) == null ? void 0 : V.referenceFirst,
74
74
  isExpand: (E = (N = e == null ? void 0 : e.botMessageBox) == null ? void 0 : N.reference) == null ? void 0 : E.itemExpanded
75
75
  },
76
+ searchReference: (F = e == null ? void 0 : e.botMessageBox) == null ? void 0 : F.searchReference,
76
77
  knowledges: !!(e != null && e.knowledges),
77
78
  metadata: e == null ? void 0 : e.metadata,
78
79
  greet: e == null ? void 0 : e.greeting,
79
80
  imageUpload: e == null ? void 0 : e.imageUpload,
80
81
  // connectNetwork: features?.connectNetwork ? true : false,
81
- promptVariables: (e == null ? void 0 : e.promptVariables) === void 0 ? (F = this.uiConfig.transform) == null ? void 0 : F.promptVariables : (e == null ? void 0 : e.promptVariables) === !0 || typeof (e == null ? void 0 : e.promptVariables) == "object" && ((D = e == null ? void 0 : e.promptVariables) == null ? void 0 : D.visible) !== !1 ? (T = this.uiConfig.transform) == null ? void 0 : T.promptVariables : !1,
82
- connectNetwork: (e == null ? void 0 : e.connectNetwork) === void 0 ? (j = this.uiConfig.transform) == null ? void 0 : j.connectNetwork : (e == null ? void 0 : e.connectNetwork) === !0 || (typeof (e == null ? void 0 : e.connectNetwork) == "object" && typeof (e == null ? void 0 : e.connectNetwork.visible) == "boolean" ? e == null ? void 0 : e.connectNetwork.visible : (W = this.uiConfig.transform) == null ? void 0 : W.connectNetwork)
82
+ promptVariables: (e == null ? void 0 : e.promptVariables) === void 0 ? (D = this.uiConfig.transform) == null ? void 0 : D.promptVariables : (e == null ? void 0 : e.promptVariables) === !0 || typeof (e == null ? void 0 : e.promptVariables) == "object" && ((T = e == null ? void 0 : e.promptVariables) == null ? void 0 : T.visible) !== !1 ? (j = this.uiConfig.transform) == null ? void 0 : j.promptVariables : !1,
83
+ connectNetwork: (e == null ? void 0 : e.connectNetwork) === void 0 ? (R = this.uiConfig.transform) == null ? void 0 : R.connectNetwork : (e == null ? void 0 : e.connectNetwork) === !0 || (typeof (e == null ? void 0 : e.connectNetwork) == "object" && typeof (e == null ? void 0 : e.connectNetwork.visible) == "boolean" ? e == null ? void 0 : e.connectNetwork.visible : (W = this.uiConfig.transform) == null ? void 0 : W.connectNetwork)
83
84
  }, v = {
84
- sider: f === "inlay"
85
+ sider: c === "inlay"
85
86
  };
86
- if (i.header !== void 0 && (v.showHeader = !!i.header), i.sider !== void 0 && (v.sider = !!i.sider), Object.keys(u).forEach((c) => {
87
- u[c] === void 0 && delete u[c];
88
- }), f === "inlay") {
89
- const c = {
87
+ if (i.header !== void 0 && (v.showHeader = !!i.header), i.sider !== void 0 && (v.sider = !!i.sider), Object.keys(u).forEach((f) => {
88
+ u[f] === void 0 && delete u[f];
89
+ }), c === "inlay") {
90
+ const f = {
90
91
  triggerButton: g({
91
92
  visible: !1
92
93
  }, m),
@@ -102,20 +103,20 @@ class be {
102
103
  theme: g(this.uiConfig.theme, b),
103
104
  history: !0
104
105
  };
105
- this.uiConfig = C(o(o(o(o({}, this.uiConfig), i), c), v), {
106
+ this.uiConfig = C(o(o(o(o({}, this.uiConfig), i), f), v), {
106
107
  transform: o(o(o(o({}, this.uiConfig.transform), k), i.transform), u)
107
108
  }), this.wrapper = this.uiConfig.getContainer();
108
109
  } else {
109
- const c = {
110
+ const f = {
110
111
  triggerButton: g(this.uiConfig.triggerButton, m),
111
112
  size: g(this.uiConfig.size, o({}, a)),
112
113
  theme: g(this.uiConfig.theme, b)
113
114
  };
114
- this.uiConfig = C(o(o(o(o(o({}, this.uiConfig), i), c), v), u), {
115
+ this.uiConfig = C(o(o(o(o(o({}, this.uiConfig), i), f), v), u), {
115
116
  transform: o(o(o(o({}, this.uiConfig.transform), k), i.transform), u)
116
117
  }), this.uiConfig.getContainer().append(this.wrapper);
117
118
  }
118
- this._mode = f, this.env = s || "prod", this._applicationId = re(d).rid, this.apiUrl = r || oe[this.env] || ie, this.docViewerUrl = t || te, this.service = this.setService(), this.render();
119
+ this._mode = c, this.env = s || "prod", this._applicationId = ne(d).rid, this.apiUrl = r || se[this.env] || te, this.docViewerUrl = t || oe, this.service = this.setService(), this.render();
119
120
  }
120
121
  get token() {
121
122
  return this._token;
@@ -167,7 +168,7 @@ class be {
167
168
  const n = this.token;
168
169
  if (!n)
169
170
  return t;
170
- if (ne(n)) {
171
+ if (ae(n)) {
171
172
  const p = "token is timeout";
172
173
  this.errorHandlers.token ? typeof this.errorHandlers.token == "function" ? this.errorHandlers.token(
173
174
  // @ts-ignore
@@ -184,12 +185,12 @@ class be {
184
185
  }), t;
185
186
  };
186
187
  function d(t, n = !0) {
187
- const e = `${i}${t}`, p = q.create({
188
+ const e = `${i}${t}`, p = ee.create({
188
189
  baseURL: e
189
190
  });
190
191
  return n && p.interceptors.request.use(s), p;
191
192
  }
192
- const f = (t, n) => {
193
+ const c = (t, n) => {
193
194
  if (t === 401) {
194
195
  const e = "token is invalid";
195
196
  this.errorHandlers.token ? typeof this.errorHandlers.token == "function" ? this.errorHandlers.token(
@@ -203,14 +204,14 @@ class be {
203
204
  ) : console.error("errorHandlers.token is not a function") : console.error(e);
204
205
  }
205
206
  }, m = (t, n, e) => {
206
- t !== 10001 && t !== 10215 && (e || (R.config({
207
+ t !== 10001 && t !== 10215 && (e || (J.config({
207
208
  getContainer: this.uiConfig.getContainer
208
- }), R.error({
209
+ }), J.error({
209
210
  message: n
210
211
  })));
211
212
  }, a = d("");
212
- return new se(a, () => this.token, {
213
- onHttpStatusError: f,
213
+ return new re(a, () => this.token, {
214
+ onHttpStatusError: c,
214
215
  onAppStatusError: m
215
216
  });
216
217
  }
@@ -234,9 +235,9 @@ class be {
234
235
  this._inputDisabled = !1, this.render();
235
236
  }
236
237
  render() {
237
- var s, d, f, m;
238
+ var s, d, c, m;
238
239
  let i = this.wrapper.getBoundingClientRect().height;
239
- this.wrapper.style.height = `${i}px`, P.render(/* @__PURE__ */ O(Z, {
240
+ this.wrapper.style.height = `${i}px`, P.render(/* @__PURE__ */ O(q, {
240
241
  rId: this.rId,
241
242
  sessionId: this._defatulSessionId,
242
243
  showHeader: this.uiConfig.showHeader,
@@ -260,7 +261,7 @@ class be {
260
261
  docViewerUrl: this.docViewerUrl,
261
262
  plugins: this.uiConfig.plugins,
262
263
  transform: C(o({}, this.uiConfig.transform), {
263
- knowledges: ((s = this.uiConfig.features) == null ? void 0 : s.knowledges) === !0 || typeof ((d = this.uiConfig.features) == null ? void 0 : d.knowledges) == "object" && ((m = (f = this.uiConfig.features) == null ? void 0 : f.knowledges) == null ? void 0 : m.visible) !== !1
264
+ knowledges: ((s = this.uiConfig.features) == null ? void 0 : s.knowledges) === !0 || typeof ((d = this.uiConfig.features) == null ? void 0 : d.knowledges) == "object" && ((m = (c = this.uiConfig.features) == null ? void 0 : c.knowledges) == null ? void 0 : m.visible) !== !1
264
265
  // promptVariables:
265
266
  // this.uiConfig.features?.promptVariables === true ||
266
267
  // (typeof this.uiConfig.features?.promptVariables === 'object' &&
@@ -337,9 +338,9 @@ class be {
337
338
  }), this.wrapper), this._defaultInputText = "";
338
339
  }
339
340
  destroy(i) {
340
- P.render(/* @__PURE__ */ O(Y, {}), this.wrapper, i);
341
+ P.render(/* @__PURE__ */ O(Z, {}), this.wrapper, i);
341
342
  }
342
343
  }
343
344
  export {
344
- be as default
345
+ we as default
345
346
  };
@@ -1 +1 @@
1
- .prompt-setting-panel{display:flex;align-items:center;justify-content:center}.agent-prompt{margin:12px 12px 0;padding:12px;border-radius:4px;border:1px solid #e8e9eb;background:#fff;flex:1;max-width:824px}.agent-prompt .prompt-header{font-size:16px;line-height:24px;font-weight:600;color:#84868c}.agent-prompt .prompt-header .prompt-btn{color:#84868c}.agent-prompt .prompt-header .prompt-title{color:#5c5f66;font-style:normal;line-height:150%}.agent-prompt .prompt-form{max-height:160px;overflow-y:auto;margin-top:12px}.agent-prompt .prompt-form .ant-form-item{margin-left:15px}.agent-prompt .icon-prompt-question{cursor:pointer}
1
+ .history-item{margin-bottom:16px}.history-item .history-item-user{width:100%}.history-item .history-item-user .item-user-panel{display:flex;justify-content:flex-end}.history-item .history-item-user .item-user-panel .item-user-content{background:#f9f2ff;padding:12px;border-radius:12px 2px 12px 12px;border:1px solid #9c24f2;display:inline-block;width:auto;max-width:100%;color:#070c14;white-space:pre-wrap}.history-item .history-item-user .item-user-file{display:flex-end;margin-top:10px}.history-item .history-item-user ::selection{background-color:#b1d7ffb3;color:#fff}.history-item .history-item-bot{width:100%;border-radius:2px 12px 12px;background:white;padding:0 12px}.history-item .history-item-bot .item-bot-plugin{padding-top:12px}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-success{display:inline-block;width:14px;height:14px;color:#fff;background:#47d1cb;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-error{display:inline-block;width:14px;height:14px;color:#fff;background:#f95b81;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-loading{display:inline-block;width:14px;height:14px;color:#477bff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.history-item .history-item-bot .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.history-item .history-item-bot .item-bot-plugin .ant-collapse-header{padding:0;height:38px;display:flex;align-items:center}.history-item .history-item-bot .item-bot-plugin .ant-collapse-content-box{padding:0}.history-item .history-item-bot .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.history-item .history-item-bot .item-bot-plugin .bot-plugin-json{background:white}.history-item .history-item-bot .item-bot-net{padding-top:12px}.history-item .history-item-bot .item-bot-content{width:100%;border-radius:2px 12px 12px;background:white;padding:12px 0;word-wrap:break-word}.history-item .history-item-bot .item-bot-content .content-think{margin-bottom:12px}.history-item .history-item-bot .item-bot-content .content-think .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.history-item .history-item-bot .item-bot-content .content-think .think-top img{width:24px;margin-right:4px}.history-item .history-item-bot .item-bot-content .content-think .think-top .think-action{margin-left:8px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom{font-size:14px;line-height:150%;color:#999;position:relative}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left{background:#d9d9d9;width:1px;position:absolute;left:10px;top:4px;bottom:4px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left .thinking{position:absolute;left:-5px;top:0;width:12px;height:12px;background:#b752ea;border-radius:50%}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left .thinked{position:absolute;z-index:100;left:-5px;top:0;width:12px;height:12px;background:#04d68d;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-right{padding-left:22px}.history-item .ant-collapse-item{border-radius:4px;background-color:#f5f5f5;margin-bottom:8px;padding:0 0 0 8px}.history-item .ant-collapse-item .ant-collapse-content{padding-bottom:8px}.history-item .ant-collapse-item:last-child{margin-bottom:0}.history-item .ant-collapse-header-text{width:100%}.inlay .history-item__user{display:flex;justify-content:flex-end}.inlay .history-item-user,.inlay .history-item-bot{max-width:calc(100% - 64px)}.session-item-overlay-popover .ant-popover-inner-content{padding:6px}.session-item-overlay-popover .ant-popover-arrow{display:none}
@@ -1 +1 @@
1
- .history-item{margin-bottom:16px}.history-item .history-item-user{width:100%}.history-item .history-item-user .item-user-panel{display:flex;justify-content:flex-end}.history-item .history-item-user .item-user-panel .item-user-content{background:#f9f2ff;padding:12px;border-radius:12px 2px 12px 12px;border:1px solid #9c24f2;display:inline-block;width:auto;max-width:100%;color:#070c14;white-space:pre-wrap}.history-item .history-item-user .item-user-file{display:flex-end;margin-top:10px}.history-item .history-item-user ::selection{background-color:#b1d7ffb3;color:#fff}.history-item .history-item-bot{width:100%;border-radius:2px 12px 12px;background:white;padding:0 12px}.history-item .history-item-bot .item-bot-plugin{padding-top:12px}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-success{display:inline-block;width:14px;height:14px;color:#fff;background:#47d1cb;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-error{display:inline-block;width:14px;height:14px;color:#fff;background:#f95b81;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-status .plugin-status-loading{display:inline-block;width:14px;height:14px;color:#477bff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.history-item .history-item-bot .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.history-item .history-item-bot .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.history-item .history-item-bot .item-bot-plugin .ant-collapse-header{padding:0;height:38px;display:flex;align-items:center}.history-item .history-item-bot .item-bot-plugin .ant-collapse-content-box{padding:0}.history-item .history-item-bot .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.history-item .history-item-bot .item-bot-plugin .bot-plugin-json{background:white}.history-item .history-item-bot .item-bot-net{padding-top:12px}.history-item .history-item-bot .item-bot-content{width:100%;border-radius:2px 12px 12px;background:white;padding:12px 0;word-wrap:break-word}.history-item .history-item-bot .item-bot-content .content-think{margin-bottom:12px}.history-item .history-item-bot .item-bot-content .content-think .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.history-item .history-item-bot .item-bot-content .content-think .think-top img{width:24px;margin-right:4px}.history-item .history-item-bot .item-bot-content .content-think .think-top .think-action{margin-left:8px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom{font-size:14px;line-height:150%;color:#999;position:relative}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left{background:#d9d9d9;width:1px;position:absolute;left:10px;top:4px;bottom:4px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left .thinking{position:absolute;left:-5px;top:0;width:12px;height:12px;background:#b752ea;border-radius:50%}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-left .thinked{position:absolute;z-index:100;left:-5px;top:0;width:12px;height:12px;background:#04d68d;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px}.history-item .history-item-bot .item-bot-content .content-think .think-bottom .bottom-right{padding-left:22px}.history-item .ant-collapse-item{border-radius:4px;background-color:#f5f5f5;margin-bottom:8px;padding:0 0 0 8px}.history-item .ant-collapse-item .ant-collapse-content{padding-bottom:8px}.history-item .ant-collapse-item:last-child{margin-bottom:0}.history-item .ant-collapse-header-text{width:100%}.inlay .history-item__user{display:flex;justify-content:flex-end}.inlay .history-item-user,.inlay .history-item-bot{max-width:calc(100% - 64px)}.session-item-overlay-popover .ant-popover-inner-content{padding:6px}.session-item-overlay-popover .ant-popover-arrow{display:none}
1
+ .prompt-btn:hover,.prompt-btn:active,.prompt-btn.active{color:#9c24f2}.propmt-manage-popover .ant-popover-title{display:flex;align-items:center;font-size:16px;border:none}.propmt-manage-popover .ant-popover-title .prompt-popover-title{width:100%;display:flex;justify-content:space-between}.propmt-manage-popover .ant-popover-inner-content{padding:0;width:100%}.propmt-manage-popover .ant-popover-arrow{display:none}.propmt-manage-popover .ant-tabs-nav:before{border:0}
@@ -1 +1 @@
1
- .quill-editor{position:relative}.quill-editor .ql-container{border-radius:4px}.quill-editor .ql-container:hover{border:1px solid none;outline:0}.quill-editor .quill-editor-send{position:absolute;left:8px;right:8px;bottom:34px;height:0;display:flex;justify-content:space-between}.quill-editor .ql-editor:before{font-style:normal;font-weight:400}.quill-editor .shortcut-direct{width:15px;height:15px;display:flex;align-items:center;justify-content:center}.quill-editor .shortcut-direct .ant-popover-inner-content{padding:0}.quill-editor .shortcut-direct .shortcut-direct-pannel{width:180px;padding:4px 0}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;cursor:pointer}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item .title{color:#393939}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item .text{color:#84868c}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item:hover{background:#f9f2ff}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;cursor:not-allowed}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled .title,.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled .text{color:#b8babf}.quill-editor__active .ql-container{transition:all .3s,height 0;border:1px solid #b452ff;outline:0;box-shadow:none}.inlay .quill-editor .quill-editor-wrapper{max-height:344px;position:relative}.inlay .quill-editor .quill-editor-wrapper .ql-editor{min-height:134px;padding-bottom:32px}.inlay .quill-editor .quill-editor-wrapper__scroll{overflow-y:auto;scrollbar-width:none}.float .quill-editor .quill-editor-wrapper{max-height:200px;position:relative}.float .quill-editor .quill-editor-wrapper .ql-editor{min-height:134px;padding-bottom:24px}.float .quill-editor .quill-editor-wrapper__scroll{overflow-y:auto;scrollbar-width:none}
1
+ .session-list-component{position:relative;z-index:1}.session-list-component .session-list-overlay .ant-popover-inner-content{padding:8px 10px}.session-list-component .list-overlay-action:hover{color:#9c24f2}
@@ -1 +1 @@
1
- .home-footer{background:#f5f5f5;width:100%;max-width:824px;margin:0 auto}.home-footer .footer-textarea{position:relative;background:white}.home-footer .footer-textarea .input-textview{min-height:134px;max-height:344px;resize:none;font-size:14px;border:1px solid transparent}.home-footer .footer-textarea .input-textview:focus,.home-footer .footer-textarea .input-textview:active,.home-footer .footer-textarea .input-textview.ant-input-focused{border:1px solid #b452ff;outline:0;box-shadow:none}.home-footer .footer-textarea .input-textview:hover{border:1px solid #b452ff;outline:0;box-shadow:0 0 0 2px #9c24f233}.home-footer .footer-textarea .footer-send{position:absolute;right:0;bottom:0;width:40px;height:130px}.home-footer .footer-textarea .footer-send .send-wrapper{height:16px;width:16px;font-size:16px;border-radius:6px;display:flex;justify-content:center;align-items:center;position:absolute;bottom:8px;right:12px;cursor:pointer;color:#b452ff}.home-footer .footer-textarea .footer-send .send-wrapper__disabled{height:16px;width:16px;font-size:16px;color:#b8babf;background:transparent}.home-footer .footer-warning{display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:400;line-height:18px;text-align:left;color:#999}.inlay .home-footer .footer-textarea .input-textview{min-height:134px;max-height:344px}.float .home-footer .footer-textarea .input-textview{min-height:134px;max-height:200px}
1
+ .prompt-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.prompt-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
@@ -1 +1 @@
1
- .prompt-modal .title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:500;text-align:left;color:#161616}.prompt-modal .content{font-size:14px;font-weight:400;line-height:22px;text-align:justified;color:#393939}
1
+ .home-footer{background:#f5f5f5;width:100%;max-width:824px;margin:0 auto}.home-footer .footer-textarea{position:relative;background:white}.home-footer .footer-textarea .input-textview{min-height:134px;max-height:344px;resize:none;font-size:14px;border:1px solid transparent}.home-footer .footer-textarea .input-textview:focus,.home-footer .footer-textarea .input-textview:active,.home-footer .footer-textarea .input-textview.ant-input-focused{border:1px solid #b452ff;outline:0;box-shadow:none}.home-footer .footer-textarea .input-textview:hover{border:1px solid #b452ff;outline:0;box-shadow:0 0 0 2px #9c24f233}.home-footer .footer-textarea .footer-send{position:absolute;right:0;bottom:0;width:40px;height:130px}.home-footer .footer-textarea .footer-send .send-wrapper{height:16px;width:16px;font-size:16px;border-radius:6px;display:flex;justify-content:center;align-items:center;position:absolute;bottom:8px;right:12px;cursor:pointer;color:#b452ff}.home-footer .footer-textarea .footer-send .send-wrapper__disabled{height:16px;width:16px;font-size:16px;color:#b8babf;background:transparent}.home-footer .footer-warning{display:flex;justify-content:center;align-items:center;font-size:12px;font-weight:400;line-height:18px;text-align:left;color:#999}.inlay .home-footer .footer-textarea .input-textview{min-height:134px;max-height:344px}.float .home-footer .footer-textarea .input-textview{min-height:134px;max-height:200px}
@@ -1 +1 @@
1
- .session-list-component{position:relative;z-index:1}.session-list-component .session-list-overlay .ant-popover-inner-content{padding:8px 10px}.session-list-component .list-overlay-action:hover{color:#9c24f2}
1
+ .footer-upload{display:flex;justify-content:center;align-items:center}.footer-upload .upload-enter{padding:0;height:24px;width:24px;display:flex;justify-content:center;align-items:center;cursor:pointer}.footer-upload .upload-enter.disabled{color:#b8babf;cursor:not-allowed}.footer-upload .upload-enter:hover{background:#ebebeb;border-radius:4px}.file-upload{width:100%;display:flex;flex-direction:column}.file-upload .ant-upload-drag{background-color:#fff;border:unset}.file-upload .ant-upload-drag .ant-upload-btn{padding:0}.file-upload .file-upload-icon{font-size:35px;color:#d3d3d3}.file-upload .file-upload-action{display:flex;justify-content:center;align-items:center;margin-bottom:12px}.file-upload .file-upload-desc{text-align:left;display:flex;flex-direction:column;font-weight:400;font-size:12px;margin:0 auto;color:#84868c;width:232px;line-height:18px;padding-left:20px}.file-upload .file-upload-desc .item-upload-desc{line-height:150%}.file-upload .file-upload-desc .item-upload-desc__1{display:flex;align-items:center}.file-upload .upload-wrapper{height:300px;overflow-y:auto;overflow-x:hidden}.file-upload .upload-wrapper .upload-main{flex:1;width:100%;overflow-y:auto;margin-bottom:16px}.file-upload .upload-wrapper .upload-main .upload-pannel{width:100%}.file-upload .upload-wrapper .upload-main .upload-empty{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.file-upload .upload-wrapper .upload-main .upload-item{cursor:pointer}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-file-icon{display:inline-block;width:10px}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-name{margin-left:10px;display:inline-block;max-width:230px;word-break:break-all}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-upload-delete{display:inline-block;width:10px;color:#9c24f2;display:none}.file-upload .upload-wrapper .upload-main .upload-item:hover{background:rgba(0,0,0,.04)}.file-upload .upload-wrapper .upload-main .upload-item:hover .upload-item-upload-delete{display:inline-block}.card-title{display:flex;justify-content:space-between;align-items:center;color:#393939;font-size:14px}.card-title .name{font-weight:500}.card-title .actions{font-weight:400;display:flex;gap:12px}.card-title .actions .action{padding:4px 2px;cursor:pointer}.card-title .actions .action .detail{display:flex;gap:6px;align-items:center}.split-line{width:100%;height:1px;border:.5px solid #e8e9eb}.upload-popover{z-index:1}
@@ -1 +1 @@
1
- .footer-upload{display:flex;justify-content:center;align-items:center}.footer-upload .upload-enter{padding:0;height:24px;width:24px;display:flex;justify-content:center;align-items:center;cursor:pointer}.footer-upload .upload-enter.disabled{color:#b8babf;cursor:not-allowed}.footer-upload .upload-enter:hover{background:#ebebeb;border-radius:4px}.file-upload{width:100%;display:flex;flex-direction:column}.file-upload .ant-upload-drag{background-color:#fff;border:unset}.file-upload .ant-upload-drag .ant-upload-btn{padding:0}.file-upload .file-upload-icon{font-size:35px;color:#d3d3d3}.file-upload .file-upload-action{display:flex;justify-content:center;align-items:center;margin-bottom:12px}.file-upload .file-upload-desc{text-align:left;display:flex;flex-direction:column;font-weight:400;font-size:12px;margin:0 auto;color:#84868c;width:232px;line-height:18px;padding-left:20px}.file-upload .file-upload-desc .item-upload-desc{line-height:150%}.file-upload .file-upload-desc .item-upload-desc__1{display:flex;align-items:center}.file-upload .upload-wrapper{height:300px;overflow-y:auto;overflow-x:hidden}.file-upload .upload-wrapper .upload-main{flex:1;width:100%;overflow-y:auto;margin-bottom:16px}.file-upload .upload-wrapper .upload-main .upload-pannel{width:100%}.file-upload .upload-wrapper .upload-main .upload-empty{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.file-upload .upload-wrapper .upload-main .upload-item{cursor:pointer}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-file-icon{display:inline-block;width:10px}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-name{margin-left:10px;display:inline-block;max-width:230px;word-break:break-all}.file-upload .upload-wrapper .upload-main .upload-item .upload-item-upload-delete{display:inline-block;width:10px;color:#9c24f2;display:none}.file-upload .upload-wrapper .upload-main .upload-item:hover{background:rgba(0,0,0,.04)}.file-upload .upload-wrapper .upload-main .upload-item:hover .upload-item-upload-delete{display:inline-block}.card-title{display:flex;justify-content:space-between;align-items:center;color:#393939;font-size:14px}.card-title .name{font-weight:500}.card-title .actions{font-weight:400;display:flex;gap:12px}.card-title .actions .action{padding:4px 2px;cursor:pointer}.card-title .actions .action .detail{display:flex;gap:6px;align-items:center}.split-line{width:100%;height:1px;border:.5px solid #e8e9eb}.upload-popover{z-index:1}
1
+ .prompt-setting-panel{display:flex;align-items:center;justify-content:center}.agent-prompt{margin:12px 12px 0;padding:12px;border-radius:4px;border:1px solid #e8e9eb;background:#fff;flex:1;max-width:824px}.agent-prompt .prompt-header{font-size:16px;line-height:24px;font-weight:600;color:#84868c}.agent-prompt .prompt-header .prompt-btn{color:#84868c}.agent-prompt .prompt-header .prompt-title{color:#5c5f66;font-style:normal;line-height:150%}.agent-prompt .prompt-form{max-height:160px;overflow-y:auto;margin-top:12px}.agent-prompt .prompt-form .ant-form-item{margin-left:15px}.agent-prompt .icon-prompt-question{cursor:pointer}
@@ -1 +1 @@
1
- .prompt-list-wrap{width:100%;height:250px}.prompt-list-wrap .prompt-list{height:204px;overflow:auto;width:100%}.prompt-list-wrap .prompt-list-footer{height:46px;display:flex;align-items:center;border-top:1px solid #f0f0f0;padding:0 16px;margin:0 -16px}.prompt-list-wrap .prompt-list-item{height:51px;padding:4px;display:flex;justify-content:space-between;overflow:hidden}.prompt-list-wrap .prompt-list-item-body{flex-grow:1;overflow:hidden}.prompt-list-wrap .prompt-list-item-title{font-size:14px}.prompt-list-wrap .prompt-list-item-title .hightlight{color:#9c24f2}.prompt-list-wrap .prompt-list-item-context{line-height:21px;font-size:12px;width:100%}.prompt-list-wrap .prompt-list-item-actions{display:none;align-items:center}.prompt-list-wrap .prompt-list-item-actions .ant-btn{color:#9c24f2}.prompt-list-wrap .prompt-list-item:hover{background-color:#f9f2ff;cursor:pointer}.prompt-list-wrap .prompt-list-item:hover .prompt-list-item-actions{display:flex}.prompt-list-wrap .prompt-list-empty{max-width:500px;margin:0 auto;overflow:hidden}.prompt-list-wrap .prompt-list-empty-tips{height:124px;overflow:hidden;width:100%;display:flex;flex-direction:row;justify-content:space-around;align-items:flex-end}.prompt-list-wrap .prompt-list-empty-tips-item{width:200px;font-size:12px;display:flex;flex-direction:column}.prompt-list-wrap .prompt-list-empty-tips-item img{max-width:100%;margin-bottom:16px}.prompt-list-wrap .add-prompt-btn{padding-left:0}
1
+ .connect{position:relative}.connect .net-tip{position:absolute;top:-45px;left:50%;transform:translate(-88%);white-space:nowrap;background:#ffffff;padding:8px;border-radius:4px;box-shadow:0 2px 8px #00000026;z-index:10}
@@ -1 +1 @@
1
- .connect{position:relative}.connect .net-tip{position:absolute;top:-45px;left:50%;transform:translate(-88%);white-space:nowrap;background:#ffffff;padding:8px;border-radius:4px;box-shadow:0 2px 8px #00000026;z-index:10}
1
+ .input-progress{display:flex}.input-progress .progress-point{display:flex;align-items:center;margin-right:8px}.input-progress .progress-point .point{width:6px;height:6px;border-radius:50%}.input-progress .progress-point .point1{background:#9c24f2;animation:animation1 1s ease-in infinite}.input-progress .progress-point .point2{background:#c47dff;margin:0 3px;animation:animation2 1s ease-in infinite}.input-progress .progress-point .point3{background:#ead4ff;animation:animation3 1s ease-in infinite}.input-progress .progress-waiting{color:#9c24f2}@keyframes animation1{0%{opacity:0}33%{opacity:1}to{opacity:1}}@keyframes animation2{0%,33%{opacity:0}67%{opacity:1}to{opacity:1}}@keyframes animation3{0%,67%{opacity:0}to{opacity:1}}
@@ -1 +1 @@
1
- .input-progress{display:flex}.input-progress .progress-point{display:flex;align-items:center;margin-right:8px}.input-progress .progress-point .point{width:6px;height:6px;border-radius:50%}.input-progress .progress-point .point1{background:#9c24f2;animation:animation1 1s ease-in infinite}.input-progress .progress-point .point2{background:#c47dff;margin:0 3px;animation:animation2 1s ease-in infinite}.input-progress .progress-point .point3{background:#ead4ff;animation:animation3 1s ease-in infinite}.input-progress .progress-waiting{color:#9c24f2}@keyframes animation1{0%{opacity:0}33%{opacity:1}to{opacity:1}}@keyframes animation2{0%,33%{opacity:0}67%{opacity:1}to{opacity:1}}@keyframes animation3{0%,67%{opacity:0}to{opacity:1}}
1
+ .file-item{height:64px;border-radius:6px;overflow:hidden;padding:12px;display:flex;background:white;cursor:pointer}.file-item .item-left{flex:0 0 40px;margin-right:8px}.file-item .item-left .file-icon{width:100%}.file-item .item-main{flex:1;overflow:hidden}.file-item .item-main .file-name{width:100%;font-size:14px;color:#070c14;font-weight:700;line-height:18px;margin-bottom:4px}.file-item .item-main .file-desc{font-size:12px;height:15px;color:#84868c}
@@ -1 +1 @@
1
- .file-item{height:64px;border-radius:6px;overflow:hidden;padding:12px;display:flex;background:white;cursor:pointer}.file-item .item-left{flex:0 0 40px;margin-right:8px}.file-item .item-left .file-icon{width:100%}.file-item .item-main{flex:1;overflow:hidden}.file-item .item-main .file-name{width:100%;font-size:14px;color:#070c14;font-weight:700;line-height:18px;margin-bottom:4px}.file-item .item-main .file-desc{font-size:12px;height:15px;color:#84868c}
1
+ .json-display{margin:0;padding:4px}
@@ -1 +0,0 @@
1
- .markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}
@@ -1 +1 @@
1
- .search-reference .bot-net-panel{user-select:none;margin-bottom:10px;width:180px;height:32px;background:white;line-height:32px;display:flex;justify-content:space-between;padding:0 12px;cursor:pointer}.search-reference .bot-net-main{background:white;padding:12px;line-height:22px}.search-reference .bot-net-main .text .link{cursor:pointer;color:#0f64ff}.search-reference .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.search-reference .think-top img{width:24px;margin-right:4px}.search-reference .think-top .think-action{margin-left:8px}.search-reference .thinking{width:12px;height:12px;background:#b752ea;border-radius:50%;margin:6px}.search-reference .thinked{width:12px;height:12px;background:#04d68d;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px;margin:6px}.search-reference .thinked.error{background:#f33e3e}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-success{display:inline-block;width:14px;height:14px;color:#fff;background:#47d1cb;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-error{display:inline-block;width:14px;height:14px;color:#fff;background:#f95b81;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-loading{display:inline-block;width:14px;height:14px;color:#477bff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.search-reference .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.search-reference .item-bot-plugin .ant-collapse-header{padding:0;height:38px;display:flex;align-items:center}.search-reference .item-bot-plugin .ant-collapse-content-box{padding:0}.search-reference .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.search-reference .item-bot-plugin .bot-plugin-json{background:white}.search-reference .ant-collapse-item{padding:0 8px}
1
+ .search-reference .bot-net-panel{user-select:none;margin-bottom:10px;width:180px;height:32px;background:white;line-height:32px;display:flex;justify-content:space-between;padding:0 12px;cursor:pointer}.search-reference .bot-net-main{background:white;padding:12px;line-height:22px}.search-reference .bot-net-main .text .link{cursor:pointer;color:#0f64ff}.search-reference .think-top{font-size:14px;line-height:24px;color:#070c14;display:flex;align-items:center;margin-bottom:12px;cursor:pointer}.search-reference .think-top img{width:24px;margin-right:4px}.search-reference .think-top .think-action{margin-left:8px}.search-reference .thinking{width:12px;height:12px;background:#b752ea;border-radius:50%;margin:6px}.search-reference .thinked{width:12px;height:12px;background:#04d68d;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:8px;margin:6px}.search-reference .thinked.error{background:#f33e3e}.search-reference .item-bot-plugin{line-height:24px}.search-reference .item-bot-plugin .bot-plugin-status .icon-search{font-size:24px}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-success{display:inline-block;width:14px;height:14px;color:#fff;background:#47d1cb;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-error{display:inline-block;width:14px;height:14px;color:#fff;background:#f95b81;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-status .plugin-status-loading{display:inline-block;width:14px;height:14px;color:#477bff;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.search-reference .item-bot-plugin .bot-plugin-title{font-weight:700;color:#000000a6}.search-reference .item-bot-plugin .bot-plugin-action{border:1px solid #00000026;border-radius:4px;color:#000000e0;padding:1px 8px}.search-reference .item-bot-plugin .ant-collapse-header{padding:0;height:38px;display:flex;align-items:center}.search-reference .item-bot-plugin .ant-collapse-content-box{padding:0}.search-reference .item-bot-plugin .bot-plugin-content{height:32px;line-height:32px;font-weight:700}.search-reference .item-bot-plugin .bot-plugin-json{background:white}.search-reference .ant-collapse-item{padding:0 8px}.search-reference-list{margin-right:8px;border-radius:6px}.search-reference-list-item{display:flex;flex-direction:column;padding:12px 8px 8px;gap:0px 10px;flex-wrap:wrap;align-content:flex-start;border-radius:6px;background:#FFFFFF;box-sizing:border-box;border:1px solid #E5E7EB;margin-bottom:8px}.search-reference-list-item :last-child{margin-bottom:0}.search-reference-list-item :hover{cursor:pointer}.search-reference-list-item-footer{display:flex;justify-content:space-between;padding:0;row-gap:0px;flex-wrap:wrap;align-content:flex-start;z-index:0;line-height:24px;align-items:center}.search-reference-list-item-footer .logo{width:24px;height:24px}.search-reference-list-item-footer .name{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563}.search-reference-list-item-footer .time{font-family:Roboto;font-size:12x;font-weight:400;line-height:24px;letter-spacing:normal;color:#9ca3af}.search-reference-list-item-title{font-family:Roboto;font-size:16px;font-weight:600;line-height:28px;letter-spacing:normal;color:#000}.search-reference-list-item-title .number{margin-right:4px}.search-reference-list-item-content{font-family:Roboto;font-size:14px;font-weight:400;line-height:24px;letter-spacing:normal;color:#4b5563;padding:0 8px;display:inline-block}
@@ -1 +1 @@
1
- .session-refer{padding:12px 0;border-top:1px solid #e8e9eb}.session-refer .session-refer-header{color:#070c14;margin-bottom:12px;height:18px;display:flex;align-items:center}.session-refer .session-refer-header .refer-header-title{font-style:normal;font-weight:400;line-height:150%}.session-refer .session-refer-content .refer-markdown p{color:#84868c;line-height:150%}.session-refer .ant-collapse-header{padding:4px 0!important}.session-refer .ant-collapse-content-box{padding:4px 10px 4px 24px!important}
1
+ .markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}
@@ -1 +1 @@
1
- .session-action{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e8e9eb;color:#84868c}.session-action .session-action-again{cursor:pointer;user-select:none}.session-action .session-action-again:hover{color:#b452ff}.session-action .session-action-comment{border-radius:4px;padding:4px}.session-action .session-action-comment .action-comment-feedback{font-size:16px}.session-action .session-action-comment .action-comment-feedback .comment-feedback-item{display:inline-block;width:100%;height:100%;cursor:pointer}.session-action .session-action-comment .action-comment-feedback .comment-feedback-item:hover{color:#b452ff}.session-action .session-action-comment .action-comment-feedback .comment-feedback-item__active{color:#9c24f2}.cai-pannel{width:260px;overflow:hidden}.cai-pannel .cai-error{color:#f33e3e;margin-bottom:12px}.cai-pannel .cai-title{margin-bottom:12px}.cai-pannel .cai-title .cai-require{color:#f33e3e}.cai-pannel .cai-title .cai-question{color:#070c14;text-align:center;font-size:14px}.cai-pannel .cai-list{display:flex;flex-wrap:wrap}.cai-pannel .cai-list .cai-item{padding:6px 8px;border-radius:4px;border:1px solid #e8e9eb;margin-bottom:12px;margin-right:12px;cursor:pointer}.cai-pannel .cai-list .cai-item:hover{color:#b452ff;border:1px solid #b452ff}.cai-pannel .cai-list .cai-item__active{color:#8614cc;border:1px solid #8614cc}.chat-item:last-child{margin-bottom:0}
1
+ .session-refer{padding:12px 0;border-top:1px solid #e8e9eb}.session-refer .session-refer-header{color:#070c14;margin-bottom:12px;height:18px;display:flex;align-items:center}.session-refer .session-refer-header .refer-header-title{font-style:normal;font-weight:400;line-height:150%}.session-refer .session-refer-content .refer-markdown p{color:#84868c;line-height:150%}.session-refer .ant-collapse-header{padding:4px 0!important}.session-refer .ant-collapse-content-box{padding:4px 10px 4px 24px!important}
@@ -1 +1 @@
1
- .json-display{margin:0;padding:4px}
1
+ .session-action{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e8e9eb;color:#84868c}.session-action .session-action-again{cursor:pointer;user-select:none}.session-action .session-action-again:hover{color:#b452ff}.session-action .session-action-comment{border-radius:4px;padding:4px}.session-action .session-action-comment .action-comment-feedback{font-size:16px}.session-action .session-action-comment .action-comment-feedback .comment-feedback-item{display:inline-block;width:100%;height:100%;cursor:pointer}.session-action .session-action-comment .action-comment-feedback .comment-feedback-item:hover{color:#b452ff}.session-action .session-action-comment .action-comment-feedback .comment-feedback-item__active{color:#9c24f2}.cai-pannel{width:260px;overflow:hidden}.cai-pannel .cai-error{color:#f33e3e;margin-bottom:12px}.cai-pannel .cai-title{margin-bottom:12px}.cai-pannel .cai-title .cai-require{color:#f33e3e}.cai-pannel .cai-title .cai-question{color:#070c14;text-align:center;font-size:14px}.cai-pannel .cai-list{display:flex;flex-wrap:wrap}.cai-pannel .cai-list .cai-item{padding:6px 8px;border-radius:4px;border:1px solid #e8e9eb;margin-bottom:12px;margin-right:12px;cursor:pointer}.cai-pannel .cai-list .cai-item:hover{color:#b452ff;border:1px solid #b452ff}.cai-pannel .cai-list .cai-item__active{color:#8614cc;border:1px solid #8614cc}.chat-item:last-child{margin-bottom:0}
@@ -0,0 +1 @@
1
+ .refer-collapse{margin-top:16px;border-top:1px solid #e8e9eb;padding:8px 0}.refer-collapse .refer-title{margin-bottom:4px;color:#5c5f66}.refer-collapse .refer-title .refer-title-name{color:#070c14;font-size:12px;font-style:normal;font-weight:400;line-height:150%}.refer-collapse .refer-content,.refer-collapse .refer-content .refer-content-item{color:#84868c}.refer-collapse .ant-collapse-header{padding:4px 0!important}.refer-collapse .ant-collapse-content-box{padding:4px 10px 4px 24px!important}
@@ -1 +1 @@
1
- .refer-collapse{margin-top:16px;border-top:1px solid #e8e9eb;padding:8px 0}.refer-collapse .refer-title{margin-bottom:4px;color:#5c5f66}.refer-collapse .refer-title .refer-title-name{color:#070c14;font-size:12px;font-style:normal;font-weight:400;line-height:150%}.refer-collapse .refer-content,.refer-collapse .refer-content .refer-content-item{color:#84868c}.refer-collapse .ant-collapse-header{padding:4px 0!important}.refer-collapse .ant-collapse-content-box{padding:4px 10px 4px 24px!important}
1
+ .prompt-list-wrap{width:100%;height:250px}.prompt-list-wrap .prompt-list{height:204px;overflow:auto;width:100%}.prompt-list-wrap .prompt-list-footer{height:46px;display:flex;align-items:center;border-top:1px solid #f0f0f0;padding:0 16px;margin:0 -16px}.prompt-list-wrap .prompt-list-item{height:51px;padding:4px;display:flex;justify-content:space-between;overflow:hidden}.prompt-list-wrap .prompt-list-item-body{flex-grow:1;overflow:hidden}.prompt-list-wrap .prompt-list-item-title{font-size:14px}.prompt-list-wrap .prompt-list-item-title .hightlight{color:#9c24f2}.prompt-list-wrap .prompt-list-item-context{line-height:21px;font-size:12px;width:100%}.prompt-list-wrap .prompt-list-item-actions{display:none;align-items:center}.prompt-list-wrap .prompt-list-item-actions .ant-btn{color:#9c24f2}.prompt-list-wrap .prompt-list-item:hover{background-color:#f9f2ff;cursor:pointer}.prompt-list-wrap .prompt-list-item:hover .prompt-list-item-actions{display:flex}.prompt-list-wrap .prompt-list-empty{max-width:500px;margin:0 auto;overflow:hidden}.prompt-list-wrap .prompt-list-empty-tips{height:124px;overflow:hidden;width:100%;display:flex;flex-direction:row;justify-content:space-around;align-items:flex-end}.prompt-list-wrap .prompt-list-empty-tips-item{width:200px;font-size:12px;display:flex;flex-direction:column}.prompt-list-wrap .prompt-list-empty-tips-item img{max-width:100%;margin-bottom:16px}.prompt-list-wrap .add-prompt-btn{padding-left:0}
@@ -1 +1 @@
1
- .inlay .questions,.float .questions{width:100%}.questions .question-tip{display:flex;align-items:center;margin-bottom:10px;height:24px;color:#84868c}.questions .question-tip img{width:24px;height:24px}.questions .question-row{max-height:260px;overflow-y:auto}.questions .question-pannel{background:white;padding:12px;border-radius:8px;width:100%;cursor:pointer;border:1px solid transparent}.questions .question-pannel .question-top{font-size:16px;height:32px;color:#070c14;font-weight:700;display:flex;width:100%}.questions .question-pannel .question-top .question-top-tip{flex:0 0 24px;margin-right:8px}.questions .question-pannel .question-top .question-top-title{flex:0 0 1;overflow:hidden;display:flex;align-items:center}.questions .question-pannel .question-top .question-top-type{margin-left:8px;flex:0 0 24px}.questions .question-pannel .question-top .question-only-plus-file{margin-left:0}.questions .question-pannel .question-top img{width:24px}.questions .question-pannel .not-have-top{display:none}.questions .question-pannel .question-bottom{font-size:14px;color:#070c14;line-height:21px}.questions .question-pannel .multiline-question{height:56px;margin-top:-7px}.questions .question-pannel__active{border:1px solid #b452ff;transition:all .25s}.questions .multiline-question-pannel{padding:16px 12px}.recommend-tooltip-overlay .ant-tooltip-inner{max-width:400px;max-height:300px;overflow-y:auto}
1
+ .quill-editor{position:relative}.quill-editor .ql-container{border-radius:4px}.quill-editor .ql-container:hover{border:1px solid none;outline:0}.quill-editor .quill-editor-send{position:absolute;left:8px;right:8px;bottom:34px;height:0;display:flex;justify-content:space-between}.quill-editor .ql-editor:before{font-style:normal;font-weight:400}.quill-editor .shortcut-direct{width:15px;height:15px;display:flex;align-items:center;justify-content:center}.quill-editor .shortcut-direct .ant-popover-inner-content{padding:0}.quill-editor .shortcut-direct .shortcut-direct-pannel{width:180px;padding:4px 0}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;cursor:pointer}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item .title{color:#393939}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item .text{color:#84868c}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item:hover{background:#f9f2ff}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled{display:flex;align-items:center;justify-content:space-between;padding:4px 12px;cursor:not-allowed}.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled .title,.quill-editor .shortcut-direct .shortcut-direct-pannel .shortcut-direct-item__disabled .text{color:#b8babf}.quill-editor__active .ql-container{transition:all .3s,height 0;border:1px solid #b452ff;outline:0;box-shadow:none}.inlay .quill-editor .quill-editor-wrapper{max-height:344px;position:relative}.inlay .quill-editor .quill-editor-wrapper .ql-editor{min-height:134px;padding-bottom:32px}.inlay .quill-editor .quill-editor-wrapper__scroll{overflow-y:auto;scrollbar-width:none}.float .quill-editor .quill-editor-wrapper{max-height:200px;position:relative}.float .quill-editor .quill-editor-wrapper .ql-editor{min-height:134px;padding-bottom:24px}.float .quill-editor .quill-editor-wrapper__scroll{overflow-y:auto;scrollbar-width:none}
@@ -1 +1 @@
1
- .prompt-btn:hover,.prompt-btn:active,.prompt-btn.active{color:#9c24f2}.propmt-manage-popover .ant-popover-title{display:flex;align-items:center;font-size:16px;border:none}.propmt-manage-popover .ant-popover-title .prompt-popover-title{width:100%;display:flex;justify-content:space-between}.propmt-manage-popover .ant-popover-inner-content{padding:0;width:100%}.propmt-manage-popover .ant-popover-arrow{display:none}.propmt-manage-popover .ant-tabs-nav:before{border:0}
1
+ .inlay .questions,.float .questions{width:100%}.questions .question-tip{display:flex;align-items:center;margin-bottom:10px;height:24px;color:#84868c}.questions .question-tip img{width:24px;height:24px}.questions .question-row{max-height:260px;overflow-y:auto}.questions .question-pannel{background:white;padding:12px;border-radius:8px;width:100%;cursor:pointer;border:1px solid transparent}.questions .question-pannel .question-top{font-size:16px;height:32px;color:#070c14;font-weight:700;display:flex;width:100%}.questions .question-pannel .question-top .question-top-tip{flex:0 0 24px;margin-right:8px}.questions .question-pannel .question-top .question-top-title{flex:0 0 1;overflow:hidden;display:flex;align-items:center}.questions .question-pannel .question-top .question-top-type{margin-left:8px;flex:0 0 24px}.questions .question-pannel .question-top .question-only-plus-file{margin-left:0}.questions .question-pannel .question-top img{width:24px}.questions .question-pannel .not-have-top{display:none}.questions .question-pannel .question-bottom{font-size:14px;color:#070c14;line-height:21px}.questions .question-pannel .multiline-question{height:56px;margin-top:-7px}.questions .question-pannel__active{border:1px solid #b452ff;transition:all .25s}.questions .multiline-question-pannel{padding:16px 12px}.recommend-tooltip-overlay .ant-tooltip-inner{max-width:400px;max-height:300px;overflow-y:auto}