@glodon-aiot/agent-cli-ui 3.3.5-alpha.25 → 3.3.5-alpha.27
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/es/AgentClientUI.mjs +14 -14
- package/dist/es/Dialog/AgentChat/index.mjs +1 -1
- package/dist/es/Dialog/index.mjs +1 -1
- package/dist/es/index.mjs +267 -263
- package/dist/es/packages/agent-cli-ui/package.json.mjs +27 -26
- package/dist/es/packages/react-components/dist/es/index.mjs +1 -1
- package/dist/es/src/style11.css +1 -1
- package/dist/es/src/style12.css +1 -1
- package/dist/es/src/style13.css +1 -1
- package/dist/es/src/style14.css +1 -1
- package/dist/es/src/style15.css +1 -1
- package/dist/es/src/style16.css +1 -1
- package/dist/es/src/style17.css +1 -1
- package/dist/es/src/style18.css +1 -1
- package/dist/es/src/style24.css +1 -1
- package/dist/es/src/style25.css +1 -1
- package/dist/es/src/style28.css +1 -1
- package/dist/es/src/style29.css +1 -1
- package/dist/es/src/style3.css +1 -1
- package/dist/es/src/style30.css +1 -1
- package/dist/es/src/style4.css +1 -1
- package/dist/es/src/style6.css +1 -1
- package/dist/es/src/style8.css +1 -1
- package/dist/es/src/style9.css +1 -1
- package/dist/lib/index.js +52 -52
- package/dist/src/AgentClientUI.d.ts +1 -1
- package/dist/src/Dialog/index.d.ts +1 -1
- package/dist/src/Footer/index.d.ts +2 -1
- package/dist/src/components/Greeting/index.d.ts +2 -1
- package/dist/src/components/Header/index.d.ts +2 -1
- package/dist/src/index.d.ts +3 -1
- package/dist/src/types.d.ts +2 -2
- package/package.json +11 -10
|
@@ -22,18 +22,18 @@ const Ne = _((o, t) => {
|
|
|
22
22
|
className: e,
|
|
23
23
|
triggerButton: l,
|
|
24
24
|
size: n,
|
|
25
|
-
theme:
|
|
25
|
+
theme: S,
|
|
26
26
|
icon: p,
|
|
27
|
-
docViewerUrl:
|
|
27
|
+
docViewerUrl: $,
|
|
28
28
|
token: ie,
|
|
29
29
|
debug: se,
|
|
30
30
|
env: le,
|
|
31
31
|
plugins: ae,
|
|
32
32
|
mcp: de,
|
|
33
|
-
footer:
|
|
34
|
-
defaultInput:
|
|
35
|
-
onComment:
|
|
36
|
-
onSessionLoad:
|
|
33
|
+
footer: H,
|
|
34
|
+
defaultInput: j,
|
|
35
|
+
onComment: M,
|
|
36
|
+
onSessionLoad: P,
|
|
37
37
|
onSessionUnload: W,
|
|
38
38
|
onMessage: D,
|
|
39
39
|
beforeMessageSend: E,
|
|
@@ -50,7 +50,7 @@ const Ne = _((o, t) => {
|
|
|
50
50
|
k(() => {
|
|
51
51
|
d && (console.log("[AgentClientUI] token", m, d), J(d.id));
|
|
52
52
|
}, [d]), A.config({
|
|
53
|
-
theme:
|
|
53
|
+
theme: S
|
|
54
54
|
}), k(() => {
|
|
55
55
|
n && v(n);
|
|
56
56
|
}, [n]);
|
|
@@ -64,9 +64,9 @@ const Ne = _((o, t) => {
|
|
|
64
64
|
});
|
|
65
65
|
};
|
|
66
66
|
return B(t, () => ({
|
|
67
|
-
|
|
67
|
+
createSession: (a) => {
|
|
68
68
|
var h;
|
|
69
|
-
return (h = c.current) == null ? void 0 : h.
|
|
69
|
+
return (h = c.current) == null ? void 0 : h.createSession(a);
|
|
70
70
|
},
|
|
71
71
|
getSessionList: () => {
|
|
72
72
|
var a;
|
|
@@ -78,10 +78,10 @@ const Ne = _((o, t) => {
|
|
|
78
78
|
value: g(f({}, o), {
|
|
79
79
|
popupContainer: b,
|
|
80
80
|
agentClient: m,
|
|
81
|
-
footer:
|
|
82
|
-
defaultInput:
|
|
83
|
-
onComment:
|
|
84
|
-
onSessionLoad:
|
|
81
|
+
footer: H,
|
|
82
|
+
defaultInput: j,
|
|
83
|
+
onComment: M,
|
|
84
|
+
onSessionLoad: P,
|
|
85
85
|
onSessionUnload: W,
|
|
86
86
|
onMessage: D,
|
|
87
87
|
beforeMessageSend: E,
|
|
@@ -115,7 +115,7 @@ const Ne = _((o, t) => {
|
|
|
115
115
|
}) : C && m ? /* @__PURE__ */ s(te, {
|
|
116
116
|
ref: c,
|
|
117
117
|
appId: C,
|
|
118
|
-
docViewerUrl:
|
|
118
|
+
docViewerUrl: $,
|
|
119
119
|
bodyStyle: u,
|
|
120
120
|
sessionId: O
|
|
121
121
|
}) : null, (l == null ? void 0 : l.visible) && /* @__PURE__ */ s(L, {
|
|
@@ -100,7 +100,7 @@ const lt = 10, ei = (L) => {
|
|
|
100
100
|
features: l,
|
|
101
101
|
popupContainer: f,
|
|
102
102
|
icon: yt
|
|
103
|
-
} = Jt(sn), [Pe, ye] = m(!1), y = B(h), Te = B(), [pt, vt] = m(0), [X, q] = m(), [Y, ne] = m(""), [Fe, pe] = m(!1), ve = B(null), [Ee, bt] = m([]), [Re, K] = m(!1), [De, kt] = m(!1), [wt, xt] = m(""), [It, W] = m(), [ie, oe] = m({}), se = B(null), He = B(null), be = B(null), [Me, Lt] = m(!1), [Ct, Nt] = m([]), [Pt, re] = m(!0), [Tt, Ft] = m(!0), [Oe, O] = m(!1), [ke, V] = m(!1), [Ue, Et] = m(!1), [E, ae] = m(typeof (l == null ? void 0 : l.promptVariables) == "object" ? l.promptVariables.default || [] : []), [Rt, Dt] = m(typeof (l == null ? void 0 : l.knowledges) == "object" && l.knowledges.default || void 0), [ze, U] = m(!1), [je, Z] = m(!1), [Ht, Q] = m(typeof (l == null ? void 0 : l.connectNetwork) == "object" && typeof (l == null ? void 0 : l.connectNetwork.default) == "boolean" ? l.connectNetwork.default : !1), [Ve, le] = m(!1);
|
|
103
|
+
} = Jt(sn), [Pe, ye] = m(!1), y = B(h), Te = B(void 0), [pt, vt] = m(0), [X, q] = m(), [Y, ne] = m(""), [Fe, pe] = m(!1), ve = B(null), [Ee, bt] = m([]), [Re, K] = m(!1), [De, kt] = m(!1), [wt, xt] = m(""), [It, W] = m(), [ie, oe] = m({}), se = B(null), He = B(null), be = B(null), [Me, Lt] = m(!1), [Ct, Nt] = m([]), [Pt, re] = m(!0), [Tt, Ft] = m(!0), [Oe, O] = m(!1), [ke, V] = m(!1), [Ue, Et] = m(!1), [E, ae] = m(typeof (l == null ? void 0 : l.promptVariables) == "object" ? l.promptVariables.default || [] : []), [Rt, Dt] = m(typeof (l == null ? void 0 : l.knowledges) == "object" && l.knowledges.default || void 0), [ze, U] = m(!1), [je, Z] = m(!1), [Ht, Q] = m(typeof (l == null ? void 0 : l.connectNetwork) == "object" && typeof (l == null ? void 0 : l.connectNetwork.default) == "boolean" ? l.connectNetwork.default : !1), [Ve, le] = m(!1);
|
|
104
104
|
F(() => {
|
|
105
105
|
var r, i;
|
|
106
106
|
e && (y.current = []), C([]);
|
package/dist/es/Dialog/index.mjs
CHANGED