react-semaphor 0.0.582 → 0.0.583
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/chunks/{dashboard-plus-COsYOlTa.js → dashboard-plus-CErQcn5Q.js} +1 -1
- package/dist/chunks/{dashboard-plus-C7uUftoD.js → dashboard-plus-U-YfcpG9.js} +1 -1
- package/dist/chunks/{index-CJMhour3.js → index-B8poIODO.js} +5 -5
- package/dist/chunks/{index-HA1yx8Py.js → index-D4jVjiHu.js} +55 -55
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var vt=t=>{throw TypeError(t)};var ws=(t,n,a)=>n.has(t)||vt("Cannot "+a);var re=(t,n,a)=>(ws(t,n,"read from private field"),a?a.call(t):n.get(t)),Ue=(t,n,a)=>n.has(t)?vt("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,a),$e=(t,n,a,r)=>(ws(t,n,"write to private field"),r?r.call(t,a):n.set(t,a),a),qe=(t,n,a)=>(ws(t,n,"access private method"),a);const e=require("react/jsx-runtime"),s=require("./index-
|
|
1
|
+
"use strict";var vt=t=>{throw TypeError(t)};var ws=(t,n,a)=>n.has(t)||vt("Cannot "+a);var re=(t,n,a)=>(ws(t,n,"read from private field"),a?a.call(t):n.get(t)),Ue=(t,n,a)=>n.has(t)?vt("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,a),$e=(t,n,a,r)=>(ws(t,n,"write to private field"),r?r.call(t,a):n.set(t,a),a),qe=(t,n,a)=>(ws(t,n,"access private method"),a);const e=require("react/jsx-runtime"),s=require("./index-D4jVjiHu.js"),A=require("react");require("react-dom");function Zn(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const r=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(n,a,r.get?r:{enumerable:!0,get:()=>t[a]})}}return n.default=t,Object.freeze(n)}const xe=Zn(A);var De,Te,me,ve,Ne,us,Os,zt,ea=(zt=class extends s.Subscribable{constructor(n,a){super();Ue(this,Ne);Ue(this,De);Ue(this,Te);Ue(this,me);Ue(this,ve);$e(this,De,n),this.setOptions(a),this.bindMethods(),qe(this,Ne,us).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var r;const a=this.options;this.options=re(this,De).defaultMutationOptions(n),s.shallowEqualObjects(this.options,a)||re(this,De).getMutationCache().notify({type:"observerOptionsUpdated",mutation:re(this,me),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&s.hashKey(a.mutationKey)!==s.hashKey(this.options.mutationKey)?this.reset():((r=re(this,me))==null?void 0:r.state.status)==="pending"&&re(this,me).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=re(this,me))==null||n.removeObserver(this)}onMutationUpdate(n){qe(this,Ne,us).call(this),qe(this,Ne,Os).call(this,n)}getCurrentResult(){return re(this,Te)}reset(){var n;(n=re(this,me))==null||n.removeObserver(this),$e(this,me,void 0),qe(this,Ne,us).call(this),qe(this,Ne,Os).call(this)}mutate(n,a){var r;return $e(this,ve,a),(r=re(this,me))==null||r.removeObserver(this),$e(this,me,re(this,De).getMutationCache().build(re(this,De),this.options)),re(this,me).addObserver(this),re(this,me).execute(n)}},De=new WeakMap,Te=new WeakMap,me=new WeakMap,ve=new WeakMap,Ne=new WeakSet,us=function(){var a;const n=((a=re(this,me))==null?void 0:a.state)??s.getDefaultState();$e(this,Te,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Os=function(n){s.notifyManager.batch(()=>{var a,r,l,o,c,i,d,u;if(re(this,ve)&&this.hasListeners()){const m=re(this,Te).variables,h=re(this,Te).context;(n==null?void 0:n.type)==="success"?((r=(a=re(this,ve)).onSuccess)==null||r.call(a,n.data,m,h),(o=(l=re(this,ve)).onSettled)==null||o.call(l,n.data,null,m,h)):(n==null?void 0:n.type)==="error"&&((i=(c=re(this,ve)).onError)==null||i.call(c,n.error,m,h),(u=(d=re(this,ve)).onSettled)==null||u.call(d,void 0,n.error,m,h))}this.listeners.forEach(m=>{m(re(this,Te))})})},zt);function ze(t,n){const a=s.useQueryClient(),[r]=xe.useState(()=>new ea(a,t));xe.useEffect(()=>{r.setOptions(t)},[r,t]);const l=xe.useSyncExternalStore(xe.useCallback(c=>r.subscribe(s.notifyManager.batchCalls(c)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),o=xe.useCallback((c,i)=>{r.mutate(c,i).catch(s.noop)},[r]);if(l.error&&s.shouldThrowError(r.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:o,mutateAsync:l.mutate}}/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -4,7 +4,7 @@ var kr = (t) => {
|
|
|
4
4
|
var Gn = (t, a, n) => a.has(t) || kr("Cannot " + n);
|
|
5
5
|
var De = (t, a, n) => (Gn(t, a, "read from private field"), n ? n.call(t) : a.get(t)), ya = (t, a, n) => a.has(t) ? kr("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(t) : a.set(t, n), va = (t, a, n, r) => (Gn(t, a, "write to private field"), r ? r.call(t, n) : a.set(t, n), n), ba = (t, a, n) => (Gn(t, a, "access private method"), n);
|
|
6
6
|
import { jsxs as s, jsx as e, Fragment as ne } from "react/jsx-runtime";
|
|
7
|
-
import { E as Wi, F as Qi, G as Dr, H as Zi, I as sl, J as et, K as Xi, L as eo, M as X, N as ws, w as ee, A as At, O as Te, P as $t, Q as rl, R as j, T as Ve, U as qt, V as Yt, W as Gt, X as ia, Y as _, Z as Ae, _ as wa, $ as Ea, a0 as Ia, a1 as ge, a2 as Oa, a3 as ll, a4 as Sa, a5 as to, a6 as Mr, a7 as il, a8 as J, a9 as Ss, aa as Re, ab as ao, ac as ce, ad as de, ae as ue, af as me, ag as ka, ah as Da, ai as Z, aj as ol, ak as ft, al as gt, am as no, an as Et, ao as Lt, ap as Qt, aq as _e, ar as Ue, as as $e, at as We, au as ks, av as Je, aw as tn, ax as so, ay as xt, az as oa, aA as Ra, aB as st, aC as Me, aD as it, aE as Ds, aF as ro, aG as Tn, aH as cl, aI as dt, aJ as dl, aK as ca, aL as Ln, aM as an, aN as Ee, aO as ie, aP as we, aQ as Fa, aR as yt, aS as za, aT as lo, aU as Zt, aV as nt, aW as nn, aX as at, aY as Ya, aZ as ul, a_ as ss, a$ as vt, b0 as ha, b1 as sn, b2 as rn, b3 as ml, b4 as pa, b5 as Ms, b6 as Ts, b7 as As, b8 as Es, b9 as La, ba as ln, bb as hl, bc as Is, bd as Pn, be as Os, bf as io, bg as Rs, bh as oo, bi as co, bj as Xt, bk as ea, bl as Oe, bm as Bt, bn as pl, C as se, bo as mt, B as D, bp as fl, bq as gl, br as xl, bs as yl, bt as vl, bu as bl, bv as Nl, bw as Cl, bx as uo, by as mo, bz as Na, bA as Fs, bB as ho, bC as po, bD as fo, bE as wl, bF as Ga, bG as Pa, bH as on, bI as cn, bJ as dn, bK as un, bL as aa, bM as Va, bN as ht, v as bt, bO as zs, m as Sl, l as kl, f as ut, bP as go, g as wt, bQ as xo, h as da, j as St, k as yo, bR as vo, bS as bo, bT as Kt, bU as Ut, bV as Dl, bW as No, e as Ml, bX as Ka, bY as Pt, bZ as Co, b_ as rs, b$ as Ls, c0 as mn, c1 as Mt, c2 as Tl, r as An, q as Tr, c3 as Le, c4 as Sn, c5 as Al, c6 as wo, c7 as So, c8 as ko, c9 as El, ca as Do, cb as Vn, cc as Mo, cd as Ma, ce as To, cf as ls, cg as Vt, ch as Be, ci as _t, cj as Ao, ck as Eo, cl as Io, cm as Oo, cn as Ro, co as Kn, cp as Fo, cq as Ar, cr as zo, cs as Er, ct as Lo, cu as Po, cv as Vo, cw as _o, cx as Ps, cy as jo, cz as Vs, cA as _s, cB as Bo, cC as Il, cD as kn, cE as Ol, cF as Uo, cG as $o, cH as Ha, cI as qo, cJ as Rl, cK as Yo, cL as Go, cM as Ir, cN as Ko, cO as hn, cP as js, cQ as Bs, cR as Ho, cS as Jo, cT as Wo, cU as Qo, cV as Zo, cW as Xo, cX as ec, cY as tc, cZ as ac, c_ as nc, c$ as Qe, d0 as Xe, d1 as ye, d2 as ve, d3 as be, d4 as sc, d5 as rc, d6 as lc, d7 as ic, s as oc, d8 as Or, d9 as Fl, da as cc, db as dc, dc as Rr, dd as uc, de as zl, df as mc, dg as Fr, dh as zr, di as hc, dj as pc, dk as fc, dl as gc, dm as Us, dn as $s, dp as qs, dq as _a, dr as Ys, ds as Ht, dt as xc, du as _n, dv as Ll, dw as yc, dx as vc, dy as Lr, dz as bc, dA as Nc, dB as Cc, dC as wc, dD as Pr, dE as Sc, dF as kc, dG as Dc, dH as Mc, dI as Tc, dJ as Ac, dK as Ec, dL as Pl, dM as Ic, dN as Oc, dO as Rc, dP as Fc, dQ as zc, dR as Gs, dS as Hn, dT as Lc, dU as Pc, dV as is, dW as Vc, dX as os, dY as cs, dZ as Ze, d_ as ja, d$ as _c, e0 as Vl, e1 as Vr, e2 as jc, e3 as ds, e4 as _l, e5 as Ks, e6 as Bc, e7 as Uc, e8 as $c, e9 as qc, ea as Ja, eb as Yc, ec as us, ed as Gc, ee as Kc, ef as ms, eg as hs, eh as En, ei as Ta, ej as Wa, ek as Hc, el as Jc, em as Wc, en as Qc, eo as jl, x as Zc, ep as Xc, eq as ed, S as td, er as ad, es as nd, et as sd } from "./index-
|
|
7
|
+
import { E as Wi, F as Qi, G as Dr, H as Zi, I as sl, J as et, K as Xi, L as eo, M as X, N as ws, w as ee, A as At, O as Te, P as $t, Q as rl, R as j, T as Ve, U as qt, V as Yt, W as Gt, X as ia, Y as _, Z as Ae, _ as wa, $ as Ea, a0 as Ia, a1 as ge, a2 as Oa, a3 as ll, a4 as Sa, a5 as to, a6 as Mr, a7 as il, a8 as J, a9 as Ss, aa as Re, ab as ao, ac as ce, ad as de, ae as ue, af as me, ag as ka, ah as Da, ai as Z, aj as ol, ak as ft, al as gt, am as no, an as Et, ao as Lt, ap as Qt, aq as _e, ar as Ue, as as $e, at as We, au as ks, av as Je, aw as tn, ax as so, ay as xt, az as oa, aA as Ra, aB as st, aC as Me, aD as it, aE as Ds, aF as ro, aG as Tn, aH as cl, aI as dt, aJ as dl, aK as ca, aL as Ln, aM as an, aN as Ee, aO as ie, aP as we, aQ as Fa, aR as yt, aS as za, aT as lo, aU as Zt, aV as nt, aW as nn, aX as at, aY as Ya, aZ as ul, a_ as ss, a$ as vt, b0 as ha, b1 as sn, b2 as rn, b3 as ml, b4 as pa, b5 as Ms, b6 as Ts, b7 as As, b8 as Es, b9 as La, ba as ln, bb as hl, bc as Is, bd as Pn, be as Os, bf as io, bg as Rs, bh as oo, bi as co, bj as Xt, bk as ea, bl as Oe, bm as Bt, bn as pl, C as se, bo as mt, B as D, bp as fl, bq as gl, br as xl, bs as yl, bt as vl, bu as bl, bv as Nl, bw as Cl, bx as uo, by as mo, bz as Na, bA as Fs, bB as ho, bC as po, bD as fo, bE as wl, bF as Ga, bG as Pa, bH as on, bI as cn, bJ as dn, bK as un, bL as aa, bM as Va, bN as ht, v as bt, bO as zs, m as Sl, l as kl, f as ut, bP as go, g as wt, bQ as xo, h as da, j as St, k as yo, bR as vo, bS as bo, bT as Kt, bU as Ut, bV as Dl, bW as No, e as Ml, bX as Ka, bY as Pt, bZ as Co, b_ as rs, b$ as Ls, c0 as mn, c1 as Mt, c2 as Tl, r as An, q as Tr, c3 as Le, c4 as Sn, c5 as Al, c6 as wo, c7 as So, c8 as ko, c9 as El, ca as Do, cb as Vn, cc as Mo, cd as Ma, ce as To, cf as ls, cg as Vt, ch as Be, ci as _t, cj as Ao, ck as Eo, cl as Io, cm as Oo, cn as Ro, co as Kn, cp as Fo, cq as Ar, cr as zo, cs as Er, ct as Lo, cu as Po, cv as Vo, cw as _o, cx as Ps, cy as jo, cz as Vs, cA as _s, cB as Bo, cC as Il, cD as kn, cE as Ol, cF as Uo, cG as $o, cH as Ha, cI as qo, cJ as Rl, cK as Yo, cL as Go, cM as Ir, cN as Ko, cO as hn, cP as js, cQ as Bs, cR as Ho, cS as Jo, cT as Wo, cU as Qo, cV as Zo, cW as Xo, cX as ec, cY as tc, cZ as ac, c_ as nc, c$ as Qe, d0 as Xe, d1 as ye, d2 as ve, d3 as be, d4 as sc, d5 as rc, d6 as lc, d7 as ic, s as oc, d8 as Or, d9 as Fl, da as cc, db as dc, dc as Rr, dd as uc, de as zl, df as mc, dg as Fr, dh as zr, di as hc, dj as pc, dk as fc, dl as gc, dm as Us, dn as $s, dp as qs, dq as _a, dr as Ys, ds as Ht, dt as xc, du as _n, dv as Ll, dw as yc, dx as vc, dy as Lr, dz as bc, dA as Nc, dB as Cc, dC as wc, dD as Pr, dE as Sc, dF as kc, dG as Dc, dH as Mc, dI as Tc, dJ as Ac, dK as Ec, dL as Pl, dM as Ic, dN as Oc, dO as Rc, dP as Fc, dQ as zc, dR as Gs, dS as Hn, dT as Lc, dU as Pc, dV as is, dW as Vc, dX as os, dY as cs, dZ as Ze, d_ as ja, d$ as _c, e0 as Vl, e1 as Vr, e2 as jc, e3 as ds, e4 as _l, e5 as Ks, e6 as Bc, e7 as Uc, e8 as $c, e9 as qc, ea as Ja, eb as Yc, ec as us, ed as Gc, ee as Kc, ef as ms, eg as hs, eh as En, ei as Ta, ej as Wa, ek as Hc, el as Jc, em as Wc, en as Qc, eo as jl, x as Zc, ep as Xc, eq as ed, S as td, er as ad, es as nd, et as sd } from "./index-B8poIODO.js";
|
|
8
8
|
import * as tt from "react";
|
|
9
9
|
import Ie, { useState as B, useCallback as xe, useEffect as ke, useRef as pt, useMemo as Ye, Suspense as Bl, useContext as rd } from "react";
|
|
10
10
|
import "react-dom";
|
|
@@ -78427,11 +78427,11 @@ function cFe({
|
|
|
78427
78427
|
l
|
|
78428
78428
|
) }) : i.role === "system" && r ? /* @__PURE__ */ p(sFe, { text: s.text }, l) : null;
|
|
78429
78429
|
case "reasoning":
|
|
78430
|
-
return s.state === "streaming" ? /* @__PURE__ */ p("div", { className: "animate-pulse", children: s.text ? /* @__PURE__ */ p(
|
|
78430
|
+
return s.state === "streaming" ? /* @__PURE__ */ p("div", { className: "mt-2 animate-pulse", children: s.text ? /* @__PURE__ */ p(
|
|
78431
78431
|
x5,
|
|
78432
78432
|
{
|
|
78433
78433
|
className: "text-xs text-muted-foreground",
|
|
78434
|
-
text: s.text
|
|
78434
|
+
text: s.text
|
|
78435
78435
|
}
|
|
78436
78436
|
) : /* @__PURE__ */ p(PE, { text: "Reasoning..." }) }, l) : null;
|
|
78437
78437
|
case "tool-getTableColumns":
|
|
@@ -78441,7 +78441,7 @@ function cFe({
|
|
|
78441
78441
|
idx: l,
|
|
78442
78442
|
toolStatusText: {
|
|
78443
78443
|
"input-streaming": "Fetching table columns...",
|
|
78444
|
-
"input-available": "
|
|
78444
|
+
"input-available": "Reading column definitions..."
|
|
78445
78445
|
}
|
|
78446
78446
|
});
|
|
78447
78447
|
case "tool-getChartDataFromSqlAndPython":
|
|
@@ -78453,7 +78453,7 @@ function cFe({
|
|
|
78453
78453
|
idx: l,
|
|
78454
78454
|
toolStatusText: {
|
|
78455
78455
|
"input-streaming": "Fetching data...",
|
|
78456
|
-
"input-available": "
|
|
78456
|
+
"input-available": "Sythesizing response..."
|
|
78457
78457
|
},
|
|
78458
78458
|
onAddToDashboard: n,
|
|
78459
78459
|
Component: dDe
|
|
@@ -78505,7 +78505,7 @@ function cFe({
|
|
|
78505
78505
|
idx: l,
|
|
78506
78506
|
toolStatusText: {
|
|
78507
78507
|
"input-streaming": "Inspecting table data...",
|
|
78508
|
-
"input-available": "
|
|
78508
|
+
"input-available": "Analyzing data..."
|
|
78509
78509
|
}
|
|
78510
78510
|
});
|
|
78511
78511
|
default:
|