@pluno/product-agent-web 0.1.69 → 0.1.71
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.d.ts
CHANGED
|
@@ -179,7 +179,7 @@ function ne() {
|
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
|
-
const Z = '.pluno-pa-widget-host[data-pluno-product-agent-ui="widget"]', re = '.pluno-pa-widget[data-pluno-product-agent-ui-root="widget"]', ie = ".pluno-pa-widget__panel", oe = ".pluno-pa-widget__timeline", lt = `${Z}[data-pluno-sdk-preview-channel]`, ae = "https://app.pluno.ai", ce = "gpt-5.
|
|
182
|
+
const Z = '.pluno-pa-widget-host[data-pluno-product-agent-ui="widget"]', re = '.pluno-pa-widget[data-pluno-product-agent-ui-root="widget"]', ie = ".pluno-pa-widget__panel", oe = ".pluno-pa-widget__timeline", lt = `${Z}[data-pluno-sdk-preview-channel]`, ae = "https://app.pluno.ai", ce = "gpt-5.6-terra", le = 2e4, ue = 1e4, de = 1e4, he = 1e4, pe = 1e4, ge = 1e3, ut = 3e4, dt = 0.2, U = 6e4, fe = 15e3, ht = 2, me = 15e3, ye = 5e3, we = 1e3, Te = 100, Ae = 8e3, Ie = 15e3, pt = 3, Se = [300, 1e3], rt = 64e3, G = 4e3, it = 30, ke = 2e3, Ee = 1e3, Re = 200 * 1024 * 1024, _e = "Image is too large for model vision input.", Ce = 100, Ct = "pluno.productAgent.state.", Q = "pluno.productAgent.pendingEvents.", F = "pluno.productAgent.activeToolCalls.", Pe = 100, v = /* @__PURE__ */ new Set();
|
|
183
183
|
let D = null;
|
|
184
184
|
function be(e, t = Math.random) {
|
|
185
185
|
const s = Math.min(ut, ge * 2 ** e), n = 1 - dt + t() * dt * 2;
|
|
@@ -910,8 +910,9 @@ async function ta(e = {}) {
|
|
|
910
910
|
});
|
|
911
911
|
}));
|
|
912
912
|
}), i.addEventListener("paste", (r) => {
|
|
913
|
+
r.stopPropagation();
|
|
913
914
|
const s = r.clipboardData, _ = Array.from(s?.files ?? []);
|
|
914
|
-
_.length === 0 || t.loginRequired || (r.preventDefault(),
|
|
915
|
+
_.length === 0 || t.loginRequired || (r.preventDefault(), Et(_).catch((L) => {
|
|
915
916
|
St(
|
|
916
917
|
L instanceof Error ? L.message : "Failed to attach file"
|
|
917
918
|
), J("web-sdk.widget", "Attachment failed", {
|
package/package.json
CHANGED