@streamoid/agent 0.10.13 → 0.10.14
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/index.js +4 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -76040,15 +76040,12 @@ function sourceIsConnected(e, t) {
|
|
|
76040
76040
|
const n = e.dataTasks, s = Array.isArray(n) ? n.flatMap((c) => Array.isArray(c?.requirements) ? c.requirements : []).filter((c) => c?.key === t && ["missing", "connected"].includes(c.state)) : [];
|
|
76041
76041
|
if (s.length) return s.every((c) => c.state === "connected");
|
|
76042
76042
|
const o = e.dataReadiness;
|
|
76043
|
-
if (o
|
|
76044
|
-
|
|
76045
|
-
|
|
76046
|
-
}
|
|
76047
|
-
const l = { sales: "Sales", product_master: "Product master", stock: "Stock", costs: "Costs" }[t];
|
|
76048
|
-
return typeof o == "string" && !!l && new RegExp(`(?:\\(|, |; also )${l} (?:in(?: but out of date)?|partly in)(?=[,).;]|$)`, "i").test(o);
|
|
76043
|
+
if (!o || typeof o != "object") return !1;
|
|
76044
|
+
const l = o.sources;
|
|
76045
|
+
return Array.isArray(l) && l.some((c) => c && c.key === t && ["loaded", "partial", "old"].includes(c.status));
|
|
76049
76046
|
}
|
|
76050
76047
|
function isTactixSample(e) {
|
|
76051
|
-
return e?.app === "tactix" &&
|
|
76048
|
+
return e?.app === "tactix" && e.is_demo_workspace === !0;
|
|
76052
76049
|
}
|
|
76053
76050
|
const inflight = /* @__PURE__ */ new Set(), results = /* @__PURE__ */ new Map();
|
|
76054
76051
|
function HostRequest({ id: e, name: t, params: n, workspaceId: s, actions: o, active: l, submitted: c, submit: d, question: h, nextStep: g, uploadContext: v, guidance: C, card: N, standalone: T, blockedSources: R }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamoid/agent",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.14",
|
|
4
4
|
"description": "Native (no-iframe) embeddable Streamoid agent chat panel. Host renders <AgentPanel adapters={\u2026}/>. Prebuilt bundle \u2014 source + build live in the stream-agent repo.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|