akpm-knowledge-base-chat 1.0.87 → 1.0.89
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/CDN/akb-chat.js +31 -9
- package/package.json +1 -1
package/CDN/akb-chat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Version: 1.0.
|
|
1
|
+
/* Version: 1.0.89 */
|
|
2
2
|
var ho = Object.defineProperty;
|
|
3
3
|
var Qs = (t) => {
|
|
4
4
|
throw TypeError(t);
|
|
@@ -2865,7 +2865,7 @@ class on {
|
|
|
2865
2865
|
}
|
|
2866
2866
|
static fromJson(e) {
|
|
2867
2867
|
var n;
|
|
2868
|
-
return new on(e._id, e.companyId, e.userId, e.title, e.state ?? [], ((n = e.messages) == null ? void 0 : n.map((r) => Vt.fromJson(r))) ?? [], e.lastUpdate ?? 0);
|
|
2868
|
+
return new on(e._id, e.companyId, e.userId, e.title, e.state ?? { lockedAgentId: null, pendingAction: null, info: [] }, ((n = e.messages) == null ? void 0 : n.map((r) => Vt.fromJson(r))) ?? [], e.lastUpdate ?? 0);
|
|
2869
2869
|
}
|
|
2870
2870
|
}
|
|
2871
2871
|
const tc = "it", nc = (
|
|
@@ -3149,7 +3149,7 @@ const sd = () => {
|
|
|
3149
3149
|
}, id = () => {
|
|
3150
3150
|
switch (G.getEnvironmentId()) {
|
|
3151
3151
|
case "aks_svi":
|
|
3152
|
-
return "
|
|
3152
|
+
return "https://gendoc-back.test.aksiliasuite.com";
|
|
3153
3153
|
case "aks_qua":
|
|
3154
3154
|
return "https://gen-doc-back-65440859697.europe-west1.run.app";
|
|
3155
3155
|
case "":
|
|
@@ -3160,7 +3160,7 @@ const sd = () => {
|
|
|
3160
3160
|
}, od = () => {
|
|
3161
3161
|
switch (G.getEnvironmentId()) {
|
|
3162
3162
|
case "aks_svi":
|
|
3163
|
-
return "
|
|
3163
|
+
return "https://aks-orchestrator-back.test.aksiliasuite.com";
|
|
3164
3164
|
case "aks_qua":
|
|
3165
3165
|
return "https://aks-orchestrator-back-65440859697.europe-west1.run.app";
|
|
3166
3166
|
case "":
|
|
@@ -3350,7 +3350,7 @@ const Fs = (t) => {
|
|
|
3350
3350
|
}, fd = (t) => {
|
|
3351
3351
|
switch (t) {
|
|
3352
3352
|
case "aks_svi":
|
|
3353
|
-
return "https://
|
|
3353
|
+
return "https://versioneditorfs.test.aksiliasuite.com";
|
|
3354
3354
|
case "aks_qua":
|
|
3355
3355
|
return "https://versioneditorfs-65440859697.europe-west1.run.app";
|
|
3356
3356
|
case "":
|
|
@@ -10442,9 +10442,20 @@ function co(t, e) {
|
|
|
10442
10442
|
450
|
|
10443
10443
|
)) : x(n, !1) : (x(n, !0), x(Pe, !0), await Ee(), x(Pe, !1));
|
|
10444
10444
|
}, ee = () => {
|
|
10445
|
-
x(o, E(new on(
|
|
10446
|
-
|
|
10447
|
-
|
|
10445
|
+
x(o, E(new on(
|
|
10446
|
+
"",
|
|
10447
|
+
"",
|
|
10448
|
+
"",
|
|
10449
|
+
/* @__PURE__ */ Li(),
|
|
10450
|
+
{
|
|
10451
|
+
lockedAgentId: null,
|
|
10452
|
+
pendingAction: null,
|
|
10453
|
+
info: []
|
|
10454
|
+
},
|
|
10455
|
+
[
|
|
10456
|
+
Vt.firstMessage(h(s), h(a), h(T))
|
|
10457
|
+
]
|
|
10458
|
+
))), x(m, ""), x(l, E(h(o).messages)), x(b, "");
|
|
10448
10459
|
}, He = (q) => {
|
|
10449
10460
|
h(T) !== q && (x(T, E(q)), ee()), W(), x(D, E({}));
|
|
10450
10461
|
};
|
|
@@ -10456,7 +10467,18 @@ function co(t, e) {
|
|
|
10456
10467
|
const H = await qt.getUserLevel();
|
|
10457
10468
|
x(i, E(H));
|
|
10458
10469
|
const le = Vt.firstMessage(h(s), h(a), h(T));
|
|
10459
|
-
x(l, E([le])), x(o, E(new on(
|
|
10470
|
+
x(l, E([le])), x(o, E(new on(
|
|
10471
|
+
"",
|
|
10472
|
+
"",
|
|
10473
|
+
"",
|
|
10474
|
+
"New Chat",
|
|
10475
|
+
{
|
|
10476
|
+
lockedAgentId: null,
|
|
10477
|
+
pendingAction: null,
|
|
10478
|
+
info: []
|
|
10479
|
+
},
|
|
10480
|
+
[le]
|
|
10481
|
+
))), x(I, E(G.getForgeButtonsPinned())), x(L, !0), x(d, !1);
|
|
10460
10482
|
} catch (q) {
|
|
10461
10483
|
console.error("Failed to load username", q), x(b, E(/* @__PURE__ */ Zu())), x(d, !1);
|
|
10462
10484
|
}
|