@stigmer/server-slim 3.13.0
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/README.md +3 -0
- package/console/404.html +1 -0
- package/console/Icon-bw.svg +10 -0
- package/console/Icon-light.svg +10 -0
- package/console/__next.__PAGE__.txt +5 -0
- package/console/__next._full.txt +28 -0
- package/console/__next._head.txt +6 -0
- package/console/__next._index.txt +17 -0
- package/console/__next._tree.txt +5 -0
- package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_buildManifest.js +11 -0
- package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_clientMiddlewareManifest.js +1 -0
- package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_ssgManifest.js +1 -0
- package/console/_next/static/chunks/0-6znc4v4kg4~.js +1 -0
- package/console/_next/static/chunks/0-73gkqs33_.~.js +1 -0
- package/console/_next/static/chunks/0-l4jzu40dd8w.js +1 -0
- package/console/_next/static/chunks/0-z-fnjdx4ulh.js +1 -0
- package/console/_next/static/chunks/0-zcgxw8vt51~.js +1 -0
- package/console/_next/static/chunks/0.f-b71h~m9l_.js +1 -0
- package/console/_next/static/chunks/0.p57pbuzo8j7.js +90 -0
- package/console/_next/static/chunks/0.qu8zg6yocro.js +1 -0
- package/console/_next/static/chunks/00-fpv~l3r27l.js +1 -0
- package/console/_next/static/chunks/005ctashl3n1r.js +1 -0
- package/console/_next/static/chunks/0068d1zb538z~.js +1 -0
- package/console/_next/static/chunks/008b.zzs.t4bw.js +139 -0
- package/console/_next/static/chunks/00d~s.n2ue-_h.js +1 -0
- package/console/_next/static/chunks/00o8ud2dmna2j.js +1 -0
- package/console/_next/static/chunks/00r~itj4ekq5y.js +1 -0
- package/console/_next/static/chunks/01.9x7hzkgv7j.js +1 -0
- package/console/_next/static/chunks/016uwj-o-jqap.js +1 -0
- package/console/_next/static/chunks/01f1gh.2dzexy.js +1 -0
- package/console/_next/static/chunks/01ontipw7_pn-.js +1 -0
- package/console/_next/static/chunks/02fsq8lsaeu8j.js +1 -0
- package/console/_next/static/chunks/02qsbdquvk64o.js +1 -0
- package/console/_next/static/chunks/03.b9z-1o34dx.js +1 -0
- package/console/_next/static/chunks/038jxymv2x4u-.js +148 -0
- package/console/_next/static/chunks/03f2f6enzzhsy.js +1 -0
- package/console/_next/static/chunks/03l_lqxocp3uj.js +1 -0
- package/console/_next/static/chunks/03lth2le32c6r.js +201 -0
- package/console/_next/static/chunks/03v0v690_bw8u.js +62 -0
- package/console/_next/static/chunks/03yru4-m-450t.js +1 -0
- package/console/_next/static/chunks/03~yq9q893hmn.js +1 -0
- package/console/_next/static/chunks/04nu-nyhd8yfk.js +18 -0
- package/console/_next/static/chunks/04uzf6wcrofgt.js +1 -0
- package/console/_next/static/chunks/056bfxvkb8fd~.js +1 -0
- package/console/_next/static/chunks/06huuay3x3z07.js +1 -0
- package/console/_next/static/chunks/06o.rsm2b~dht.js +60 -0
- package/console/_next/static/chunks/07.l7154cu7z-.js +1 -0
- package/console/_next/static/chunks/07wnm1~gr1rx~.js +1 -0
- package/console/_next/static/chunks/08.rk-nar1l2t.js +25 -0
- package/console/_next/static/chunks/08iibm2~7e.mj.js +1 -0
- package/console/_next/static/chunks/08o5wsrurx9ux.js +5 -0
- package/console/_next/static/chunks/09~n7y-jkmjlj.js +152 -0
- package/console/_next/static/chunks/0_mhv9_2_g.-d.js +119 -0
- package/console/_next/static/chunks/0af53k.rxu1kn.js +1 -0
- package/console/_next/static/chunks/0amugang-25bm.js +1 -0
- package/console/_next/static/chunks/0awsj.h.eiuen.js +1 -0
- package/console/_next/static/chunks/0axtn1ln1j35_.js +79 -0
- package/console/_next/static/chunks/0c5xj4q0jmdu0.js +1 -0
- package/console/_next/static/chunks/0c7llz2igr3w7.js +1 -0
- package/console/_next/static/chunks/0cgp87bgoglgv.js +1 -0
- package/console/_next/static/chunks/0co3~00k0sae5.js +1 -0
- package/console/_next/static/chunks/0cq0zrqlu~xa7.js +1 -0
- package/console/_next/static/chunks/0cs_h74-ljzlt.js +77 -0
- package/console/_next/static/chunks/0cu8k_dz43e4y.js +1 -0
- package/console/_next/static/chunks/0d05q_m7mqj4o.js +1 -0
- package/console/_next/static/chunks/0dsde0n1co0l..js +1 -0
- package/console/_next/static/chunks/0e4xdug~7dxzk.js +1 -0
- package/console/_next/static/chunks/0e7hldxv930hc.js +12 -0
- package/console/_next/static/chunks/0ed3hfv95qark.js +10 -0
- package/console/_next/static/chunks/0f1nokqa6poai.js +1 -0
- package/console/_next/static/chunks/0f8bbcvfh6x_j.js +64 -0
- package/console/_next/static/chunks/0fy2-q-5a0j3r.js +1 -0
- package/console/_next/static/chunks/0g-98wql22rf4.css +1 -0
- package/console/_next/static/chunks/0g167wye7-x6z.js +1 -0
- package/console/_next/static/chunks/0g4_345f39a55.js +1 -0
- package/console/_next/static/chunks/0ge0mq0ea60lx.js +1 -0
- package/console/_next/static/chunks/0gepanyj709pr.js +1 -0
- package/console/_next/static/chunks/0glne1asott9e.js +2 -0
- package/console/_next/static/chunks/0hb.-vcj2w6kf.js +1 -0
- package/console/_next/static/chunks/0hdh_2akzrlxi.js +287 -0
- package/console/_next/static/chunks/0hhe78mplcj67.js +1 -0
- package/console/_next/static/chunks/0hori02zn~h3o.js +1 -0
- package/console/_next/static/chunks/0hq~c-~dp2g~1.js +1 -0
- package/console/_next/static/chunks/0i.l9589uvx0j.js +1 -0
- package/console/_next/static/chunks/0i8pgzf~hu-3m.js +24 -0
- package/console/_next/static/chunks/0icpvuwlmnlty.js +43 -0
- package/console/_next/static/chunks/0icsogze8wb_v.js +3 -0
- package/console/_next/static/chunks/0ij17mw0v0qd-.js +1 -0
- package/console/_next/static/chunks/0io-wgdji~5d0.js +1 -0
- package/console/_next/static/chunks/0ipk1er3w80bj.js +24 -0
- package/console/_next/static/chunks/0irq1yd9ix16u.js +1 -0
- package/console/_next/static/chunks/0iwpyv2wbln6f.js +1 -0
- package/console/_next/static/chunks/0ixo5_jc~m0~2.js +1 -0
- package/console/_next/static/chunks/0jxlubusvmdjm.js +1 -0
- package/console/_next/static/chunks/0j~3z.dgn_8ff.css +6 -0
- package/console/_next/static/chunks/0k9_1v72yx36d.js +226 -0
- package/console/_next/static/chunks/0ka-.7dww7nze.js +101 -0
- package/console/_next/static/chunks/0kt3942_0py-t.js +1 -0
- package/console/_next/static/chunks/0l3uvjh3oslhq.js +1 -0
- package/console/_next/static/chunks/0lp.du_t-~cqs.js +2 -0
- package/console/_next/static/chunks/0lq22-4n7_uyt.js +34 -0
- package/console/_next/static/chunks/0lypu-.xpph9..js +15 -0
- package/console/_next/static/chunks/0mb.pnhflhw95.js +1 -0
- package/console/_next/static/chunks/0mcz_room09fj.js +1 -0
- package/console/_next/static/chunks/0mo3-obfy2_6v.js +15 -0
- package/console/_next/static/chunks/0mtfbfe5xd3.6.js +1 -0
- package/console/_next/static/chunks/0mvcspqlkvjri.js +1 -0
- package/console/_next/static/chunks/0n2qydw3oc1oj.js +1 -0
- package/console/_next/static/chunks/0nnkdto25tilf.js +1 -0
- package/console/_next/static/chunks/0npm9l63~4j0v.js +1 -0
- package/console/_next/static/chunks/0nu6llqvg4741.js +1 -0
- package/console/_next/static/chunks/0n~glqz40m6gv.js +1 -0
- package/console/_next/static/chunks/0o-.19qua6web.js +5 -0
- package/console/_next/static/chunks/0omq5mq8dkd24.js +1 -0
- package/console/_next/static/chunks/0oprw5m.lmqln.js +1 -0
- package/console/_next/static/chunks/0ortphe030oky.js +1 -0
- package/console/_next/static/chunks/0oufb2b491l23.js +153 -0
- package/console/_next/static/chunks/0owq59irnycu5.js +1 -0
- package/console/_next/static/chunks/0ptwwlt0l20~o.js +1 -0
- package/console/_next/static/chunks/0q2tc-vqxe1_n.js +1 -0
- package/console/_next/static/chunks/0qfu4h5g.k-yt.js +1 -0
- package/console/_next/static/chunks/0qji_.pm~u8x3.js +1 -0
- package/console/_next/static/chunks/0qm2930z0c.8m.js +80 -0
- package/console/_next/static/chunks/0q~1rz_i~v0vs.js +1 -0
- package/console/_next/static/chunks/0r4lipg4xb6fx.js +1 -0
- package/console/_next/static/chunks/0rhvismtjivza.js +104 -0
- package/console/_next/static/chunks/0rmt10l3458p_.js +93 -0
- package/console/_next/static/chunks/0rob~86j~8vge.js +1 -0
- package/console/_next/static/chunks/0r~zu0c3j_b7p.js +1 -0
- package/console/_next/static/chunks/0s0v8xobo-2ok.js +34 -0
- package/console/_next/static/chunks/0s8nwq43gep9_.js +15 -0
- package/console/_next/static/chunks/0spswjguxbqfn.js +1 -0
- package/console/_next/static/chunks/0t6aq14rpn1.w.js +1 -0
- package/console/_next/static/chunks/0taiwi2j.k7mm.js +1 -0
- package/console/_next/static/chunks/0tj3k0t29gpn7.js +1 -0
- package/console/_next/static/chunks/0tq77.56bu2eu.js +1 -0
- package/console/_next/static/chunks/0ulcdeu8yx-cn.js +1 -0
- package/console/_next/static/chunks/0uvbqsa~x3_x6.js +1 -0
- package/console/_next/static/chunks/0uw8zy_zoej6s.js +1 -0
- package/console/_next/static/chunks/0uz5-~rqk9vr..js +1 -0
- package/console/_next/static/chunks/0w3ug0~zih~j2.js +1 -0
- package/console/_next/static/chunks/0wfrz3x.bxehc.js +1 -0
- package/console/_next/static/chunks/0wyb4nqlt6his.js +1 -0
- package/console/_next/static/chunks/0x.4919xjicc5.js +75 -0
- package/console/_next/static/chunks/0xr1dk~mec2dn.js +1 -0
- package/console/_next/static/chunks/0xxouzzjw_a6q.js +115 -0
- package/console/_next/static/chunks/0y0u4wm.3~_ac.js +1 -0
- package/console/_next/static/chunks/0y4vop46pw7ip.js +2 -0
- package/console/_next/static/chunks/0y5z3t-z1c8ks.js.map +5 -0
- package/console/_next/static/chunks/0y99xmlf_e2si.js +1 -0
- package/console/_next/static/chunks/0ydl92ezt_ppz.js +1 -0
- package/console/_next/static/chunks/0ywlzawl2ml3h.js +1 -0
- package/console/_next/static/chunks/0yysdfbgz-l8n.js +1 -0
- package/console/_next/static/chunks/0zjs5hlwbvch9.js +4 -0
- package/console/_next/static/chunks/0zsntdh42--v1.js +1 -0
- package/console/_next/static/chunks/104yvyc1ce3q5.js +1 -0
- package/console/_next/static/chunks/1051z1rwyse00.js +1 -0
- package/console/_next/static/chunks/10h6g4u9i~5h8.js +1 -0
- package/console/_next/static/chunks/10isn5~-bj4w5.js +4 -0
- package/console/_next/static/chunks/10ymqudg~95gr.js +1 -0
- package/console/_next/static/chunks/111eimn8nia.7.js +1 -0
- package/console/_next/static/chunks/1155_-gh-rcvi.js +1 -0
- package/console/_next/static/chunks/117cg_x8i7.ol.js +1 -0
- package/console/_next/static/chunks/11_7qxlc92f5s.js +1 -0
- package/console/_next/static/chunks/11h85j-8~tny3.js +36 -0
- package/console/_next/static/chunks/11t~35bechtea.js +1 -0
- package/console/_next/static/chunks/11uh-ttx4zin-.js +9 -0
- package/console/_next/static/chunks/11xfx57fbi3md.js +2 -0
- package/console/_next/static/chunks/12329wyw7127c.js +1 -0
- package/console/_next/static/chunks/123jshjvn0ocr.js +31 -0
- package/console/_next/static/chunks/128ahbvhdeeq-.js +1 -0
- package/console/_next/static/chunks/13hl4dngamd3l.js +127 -0
- package/console/_next/static/chunks/14.38bpm-d3-l.js +1 -0
- package/console/_next/static/chunks/14i46k409qlt0.js +1 -0
- package/console/_next/static/chunks/14j238ax8coge.js +29 -0
- package/console/_next/static/chunks/159151ghv9-cc.js +1 -0
- package/console/_next/static/chunks/15hlb71q~xfev.js +1 -0
- package/console/_next/static/chunks/15r_pfbdb2jhp.js +23 -0
- package/console/_next/static/chunks/15wc.2zpsy4wc.js +4 -0
- package/console/_next/static/chunks/16pzrphqjtyli.js +1 -0
- package/console/_next/static/chunks/16ukgtm3fhab~.js +1071 -0
- package/console/_next/static/chunks/170p3g7_6_620.js +2 -0
- package/console/_next/static/chunks/175hd_pl41_vh.js +15 -0
- package/console/_next/static/chunks/17glhyaxi4vs-.js +1 -0
- package/console/_next/static/chunks/17jhgtykn778_.js +1 -0
- package/console/_next/static/chunks/17v4twif7y~.b.js +1 -0
- package/console/_next/static/chunks/182b_f_n0-cdr.js +1 -0
- package/console/_next/static/chunks/187v8dzyf1l-f.js +80 -0
- package/console/_next/static/chunks/turbopack-0cvnq9zq1g68-.js +1 -0
- package/console/_next/static/chunks/turbopack-172c~.rma.yso.js +1 -0
- package/console/_next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +1 -0
- package/console/_next/static/media/02263ebadd758ea4-s.0qg7j5o.yrclm.woff2 +0 -0
- package/console/_next/static/media/03fc1b4a8d284b5e-s.09.f.n_ccld80.woff2 +0 -0
- package/console/_next/static/media/07454f8ad8aaac57-s.0tqkxa-w3pk~c.woff2 +0 -0
- package/console/_next/static/media/1bcd0e671759a44c-s.0vnh8.d8wxa2x.woff2 +0 -0
- package/console/_next/static/media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2 +0 -0
- package/console/_next/static/media/224e262ef877bfa4-s.0mo8vqgr8yagc.woff2 +0 -0
- package/console/_next/static/media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 +0 -0
- package/console/_next/static/media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 +0 -0
- package/console/_next/static/media/2fe89d53234c61d4-s.0k_.i63k_i_qa.woff2 +0 -0
- package/console/_next/static/media/4fa387ec64143e14-s.0wkzw~je483f-.woff2 +0 -0
- package/console/_next/static/media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2 +0 -0
- package/console/_next/static/media/5476f68d60460930-s.0wxq9webf.ew4.woff2 +0 -0
- package/console/_next/static/media/57215795b8570f5c-s.0vwgtotjdgnhr.woff2 +0 -0
- package/console/_next/static/media/59b15b4bcd7b1eb5-s.0x08jh8vondwt.woff2 +0 -0
- package/console/_next/static/media/5ce348bf30bf5439-s.0zgw-jeven.3w.woff2 +0 -0
- package/console/_next/static/media/5e05ae5b48faa55e-s.0m9hhkgdlzukj.woff2 +0 -0
- package/console/_next/static/media/6306c77e7c8268e4-s.0rhz0arwfsn~5.woff2 +0 -0
- package/console/_next/static/media/68757d6cddeff913-s.0hkrq11n-dhos.woff2 +0 -0
- package/console/_next/static/media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2 +0 -0
- package/console/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2 +0 -0
- package/console/_next/static/media/7d817b4c03b0c5f1-s.0l76wvqk9d84w.woff2 +0 -0
- package/console/_next/static/media/7f11d98043fdedc9-s.0r4w1y.tjq0ay.woff2 +0 -0
- package/console/_next/static/media/7fea77d1d19108bf-s.0xyeb7czu1stb.woff2 +0 -0
- package/console/_next/static/media/83afe278b6a6bb3c-s.0q-301v4kxxnr.woff2 +0 -0
- package/console/_next/static/media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2 +0 -0
- package/console/_next/static/media/90c51ce8fb754fe8-s.00z~hoalba5dm.woff2 +0 -0
- package/console/_next/static/media/99e609270109b47d-s.16-z~2sp29ex6.woff2 +0 -0
- package/console/_next/static/media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 +0 -0
- package/console/_next/static/media/a7afbb44bec2bb18-s.0juuwbcf7uz~t.woff2 +0 -0
- package/console/_next/static/media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2 +0 -0
- package/console/_next/static/media/bbc41e54d2fcbd21-s.0k4k9394f2q-k.woff2 +0 -0
- package/console/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2 +0 -0
- package/console/_next/static/media/d8cb5ab3660140cd-s.0ri_id_kcagyz.woff2 +0 -0
- package/console/_next/static/media/e15f58668ad64cb8-s.0~.8lt~vdqmc3.woff2 +0 -0
- package/console/_next/static/media/e390973e931a41c5-s.08hd0g.321csk.woff2 +0 -0
- package/console/_next/static/media/e532fa1b9921e1cd-s.0~wrfy7sm-h4g.woff2 +0 -0
- package/console/_next/static/media/e6d00ff86ef9e699-s.0lcb62h0-.jh3.woff2 +0 -0
- package/console/_next/static/media/effe91970fc4db64-s.07ig5l8azj~hy.woff2 +0 -0
- package/console/_next/static/media/elk-worker.min.13hrbirt7_.ef.js +6401 -0
- package/console/_next/static/media/favicon.0x3dzn~oxb6tn.ico +0 -0
- package/console/_next/static/media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2 +0 -0
- package/console/_not-found/__next._full.txt +29 -0
- package/console/_not-found/__next._head.txt +6 -0
- package/console/_not-found/__next._index.txt +17 -0
- package/console/_not-found/__next._not-found.__PAGE__.txt +6 -0
- package/console/_not-found/__next._not-found.txt +5 -0
- package/console/_not-found/__next._tree.txt +3 -0
- package/console/_not-found.html +1 -0
- package/console/_not-found.txt +29 -0
- package/console/apple-touch-icon-dark.png +0 -0
- package/console/apple-touch-icon-light.png +0 -0
- package/console/auth/callback/__next._full.txt +36 -0
- package/console/auth/callback/__next._head.txt +6 -0
- package/console/auth/callback/__next._index.txt +17 -0
- package/console/auth/callback/__next._tree.txt +5 -0
- package/console/auth/callback/__next.auth.callback.__PAGE__.txt +9 -0
- package/console/auth/callback/__next.auth.callback.txt +5 -0
- package/console/auth/callback/__next.auth.txt +5 -0
- package/console/auth/callback.html +1 -0
- package/console/auth/callback.txt +36 -0
- package/console/auth/github/callback/__next._full.txt +37 -0
- package/console/auth/github/callback/__next._head.txt +6 -0
- package/console/auth/github/callback/__next._index.txt +17 -0
- package/console/auth/github/callback/__next._tree.txt +5 -0
- package/console/auth/github/callback/__next.auth.github.callback.__PAGE__.txt +9 -0
- package/console/auth/github/callback/__next.auth.github.callback.txt +5 -0
- package/console/auth/github/callback/__next.auth.github.txt +5 -0
- package/console/auth/github/callback/__next.auth.txt +5 -0
- package/console/auth/github/callback.html +1 -0
- package/console/auth/github/callback.txt +37 -0
- package/console/auth/oauth/callback/__next._full.txt +37 -0
- package/console/auth/oauth/callback/__next._head.txt +6 -0
- package/console/auth/oauth/callback/__next._index.txt +17 -0
- package/console/auth/oauth/callback/__next._tree.txt +5 -0
- package/console/auth/oauth/callback/__next.auth.oauth.callback.__PAGE__.txt +9 -0
- package/console/auth/oauth/callback/__next.auth.oauth.callback.txt +5 -0
- package/console/auth/oauth/callback/__next.auth.oauth.txt +5 -0
- package/console/auth/oauth/callback/__next.auth.txt +5 -0
- package/console/auth/oauth/callback.html +1 -0
- package/console/auth/oauth/callback.txt +37 -0
- package/console/chat/__placeholder__/__placeholder__/__next._full.txt +35 -0
- package/console/chat/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/chat/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/chat/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__.html +1 -0
- package/console/chat/__placeholder__/__placeholder__.txt +35 -0
- package/console/conversations/__next._full.txt +32 -0
- package/console/conversations/__next._head.txt +6 -0
- package/console/conversations/__next._index.txt +17 -0
- package/console/conversations/__next._tree.txt +5 -0
- package/console/conversations/__next.conversations.__PAGE__.txt +6 -0
- package/console/conversations/__next.conversations.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._full.txt +35 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.__PAGE__.txt +6 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__.html +1 -0
- package/console/conversations/__placeholder__/__placeholder__.txt +35 -0
- package/console/conversations.html +1 -0
- package/console/conversations.txt +32 -0
- package/console/dashboard/__next._full.txt +32 -0
- package/console/dashboard/__next._head.txt +6 -0
- package/console/dashboard/__next._index.txt +17 -0
- package/console/dashboard/__next._tree.txt +5 -0
- package/console/dashboard/__next.dashboard.__PAGE__.txt +6 -0
- package/console/dashboard/__next.dashboard.txt +5 -0
- package/console/dashboard.html +1 -0
- package/console/dashboard.txt +32 -0
- package/console/embed.js +1 -0
- package/console/executions/__placeholder__/__next._full.txt +32 -0
- package/console/executions/__placeholder__/__next._head.txt +6 -0
- package/console/executions/__placeholder__/__next._index.txt +17 -0
- package/console/executions/__placeholder__/__next._tree.txt +5 -0
- package/console/executions/__placeholder__/__next.executions.$d$id.__PAGE__.txt +5 -0
- package/console/executions/__placeholder__/__next.executions.$d$id.txt +5 -0
- package/console/executions/__placeholder__/__next.executions.txt +5 -0
- package/console/executions/__placeholder__.html +1 -0
- package/console/executions/__placeholder__.txt +32 -0
- package/console/favicon-dark-16x16.png +0 -0
- package/console/favicon-dark-32x32.png +0 -0
- package/console/favicon-dark.ico +0 -0
- package/console/favicon-dark.svg +11 -0
- package/console/favicon-light-16x16.png +0 -0
- package/console/favicon-light-32x32.png +0 -0
- package/console/favicon-light.ico +0 -0
- package/console/favicon-light.svg +11 -0
- package/console/favicon.ico +0 -0
- package/console/index.html +1 -0
- package/console/index.txt +28 -0
- package/console/invite/__placeholder__/__next._full.txt +33 -0
- package/console/invite/__placeholder__/__next._head.txt +6 -0
- package/console/invite/__placeholder__/__next._index.txt +17 -0
- package/console/invite/__placeholder__/__next._tree.txt +5 -0
- package/console/invite/__placeholder__/__next.invite.$d$token.__PAGE__.txt +6 -0
- package/console/invite/__placeholder__/__next.invite.$d$token.txt +5 -0
- package/console/invite/__placeholder__/__next.invite.txt +5 -0
- package/console/invite/__placeholder__.html +1 -0
- package/console/invite/__placeholder__.txt +33 -0
- package/console/library/__next._full.txt +33 -0
- package/console/library/__next._head.txt +6 -0
- package/console/library/__next._index.txt +17 -0
- package/console/library/__next._tree.txt +5 -0
- package/console/library/__next.library.__PAGE__.txt +6 -0
- package/console/library/__next.library.txt +7 -0
- package/console/library/agents/__next._full.txt +36 -0
- package/console/library/agents/__next._head.txt +6 -0
- package/console/library/agents/__next._index.txt +17 -0
- package/console/library/agents/__next._tree.txt +5 -0
- package/console/library/agents/__next.library.agents.__PAGE__.txt +6 -0
- package/console/library/agents/__next.library.agents.txt +5 -0
- package/console/library/agents/__next.library.txt +7 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/agents/__placeholder__/__placeholder__.html +1 -0
- package/console/library/agents/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/agents/new/__next._full.txt +40 -0
- package/console/library/agents/new/__next._head.txt +6 -0
- package/console/library/agents/new/__next._index.txt +17 -0
- package/console/library/agents/new/__next._tree.txt +5 -0
- package/console/library/agents/new/__next.library.agents.new.__PAGE__.txt +9 -0
- package/console/library/agents/new/__next.library.agents.new.txt +5 -0
- package/console/library/agents/new/__next.library.agents.txt +5 -0
- package/console/library/agents/new/__next.library.txt +7 -0
- package/console/library/agents/new.html +1 -0
- package/console/library/agents/new.txt +40 -0
- package/console/library/agents.html +1 -0
- package/console/library/agents.txt +36 -0
- package/console/library/mcp-servers/__next._full.txt +36 -0
- package/console/library/mcp-servers/__next._head.txt +6 -0
- package/console/library/mcp-servers/__next._index.txt +17 -0
- package/console/library/mcp-servers/__next._tree.txt +5 -0
- package/console/library/mcp-servers/__next.library.mcp-servers.__PAGE__.txt +6 -0
- package/console/library/mcp-servers/__next.library.mcp-servers.txt +5 -0
- package/console/library/mcp-servers/__next.library.txt +7 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__.html +1 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/mcp-servers/new/__next._full.txt +40 -0
- package/console/library/mcp-servers/new/__next._head.txt +6 -0
- package/console/library/mcp-servers/new/__next._index.txt +17 -0
- package/console/library/mcp-servers/new/__next._tree.txt +5 -0
- package/console/library/mcp-servers/new/__next.library.mcp-servers.new.__PAGE__.txt +9 -0
- package/console/library/mcp-servers/new/__next.library.mcp-servers.new.txt +5 -0
- package/console/library/mcp-servers/new/__next.library.mcp-servers.txt +5 -0
- package/console/library/mcp-servers/new/__next.library.txt +7 -0
- package/console/library/mcp-servers/new.html +1 -0
- package/console/library/mcp-servers/new.txt +40 -0
- package/console/library/mcp-servers.html +1 -0
- package/console/library/mcp-servers.txt +36 -0
- package/console/library/schedules/__next._full.txt +36 -0
- package/console/library/schedules/__next._head.txt +6 -0
- package/console/library/schedules/__next._index.txt +17 -0
- package/console/library/schedules/__next._tree.txt +5 -0
- package/console/library/schedules/__next.library.schedules.__PAGE__.txt +6 -0
- package/console/library/schedules/__next.library.schedules.txt +5 -0
- package/console/library/schedules/__next.library.txt +7 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/schedules/__placeholder__/__placeholder__.html +1 -0
- package/console/library/schedules/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/schedules/new/__next._full.txt +40 -0
- package/console/library/schedules/new/__next._head.txt +6 -0
- package/console/library/schedules/new/__next._index.txt +17 -0
- package/console/library/schedules/new/__next._tree.txt +5 -0
- package/console/library/schedules/new/__next.library.schedules.new.__PAGE__.txt +9 -0
- package/console/library/schedules/new/__next.library.schedules.new.txt +5 -0
- package/console/library/schedules/new/__next.library.schedules.txt +5 -0
- package/console/library/schedules/new/__next.library.txt +7 -0
- package/console/library/schedules/new.html +1 -0
- package/console/library/schedules/new.txt +40 -0
- package/console/library/schedules.html +1 -0
- package/console/library/schedules.txt +36 -0
- package/console/library/skills/__next._full.txt +36 -0
- package/console/library/skills/__next._head.txt +6 -0
- package/console/library/skills/__next._index.txt +17 -0
- package/console/library/skills/__next._tree.txt +5 -0
- package/console/library/skills/__next.library.skills.__PAGE__.txt +6 -0
- package/console/library/skills/__next.library.skills.txt +5 -0
- package/console/library/skills/__next.library.txt +7 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/skills/__placeholder__/__placeholder__.html +1 -0
- package/console/library/skills/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/skills/new/__next._full.txt +40 -0
- package/console/library/skills/new/__next._head.txt +6 -0
- package/console/library/skills/new/__next._index.txt +17 -0
- package/console/library/skills/new/__next._tree.txt +5 -0
- package/console/library/skills/new/__next.library.skills.new.__PAGE__.txt +9 -0
- package/console/library/skills/new/__next.library.skills.new.txt +5 -0
- package/console/library/skills/new/__next.library.skills.txt +5 -0
- package/console/library/skills/new/__next.library.txt +7 -0
- package/console/library/skills/new.html +1 -0
- package/console/library/skills/new.txt +40 -0
- package/console/library/skills.html +1 -0
- package/console/library/skills.txt +36 -0
- package/console/library/workflows/__next._full.txt +36 -0
- package/console/library/workflows/__next._head.txt +6 -0
- package/console/library/workflows/__next._index.txt +17 -0
- package/console/library/workflows/__next._tree.txt +5 -0
- package/console/library/workflows/__next.library.txt +7 -0
- package/console/library/workflows/__next.library.workflows.__PAGE__.txt +6 -0
- package/console/library/workflows/__next.library.workflows.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__.html +1 -0
- package/console/library/workflows/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/workflows/executions/__next._full.txt +37 -0
- package/console/library/workflows/executions/__next._head.txt +6 -0
- package/console/library/workflows/executions/__next._index.txt +17 -0
- package/console/library/workflows/executions/__next._tree.txt +5 -0
- package/console/library/workflows/executions/__next.library.txt +7 -0
- package/console/library/workflows/executions/__next.library.workflows.executions.__PAGE__.txt +6 -0
- package/console/library/workflows/executions/__next.library.workflows.executions.txt +5 -0
- package/console/library/workflows/executions/__next.library.workflows.txt +5 -0
- package/console/library/workflows/executions.html +1 -0
- package/console/library/workflows/executions.txt +37 -0
- package/console/library/workflows/new/__next._full.txt +40 -0
- package/console/library/workflows/new/__next._head.txt +6 -0
- package/console/library/workflows/new/__next._index.txt +17 -0
- package/console/library/workflows/new/__next._tree.txt +5 -0
- package/console/library/workflows/new/__next.library.txt +7 -0
- package/console/library/workflows/new/__next.library.workflows.new.__PAGE__.txt +9 -0
- package/console/library/workflows/new/__next.library.workflows.new.txt +5 -0
- package/console/library/workflows/new/__next.library.workflows.txt +5 -0
- package/console/library/workflows/new.html +1 -0
- package/console/library/workflows/new.txt +40 -0
- package/console/library/workflows.html +1 -0
- package/console/library/workflows.txt +36 -0
- package/console/library.html +1 -0
- package/console/library.txt +33 -0
- package/console/login/__next._full.txt +35 -0
- package/console/login/__next._head.txt +6 -0
- package/console/login/__next._index.txt +17 -0
- package/console/login/__next._tree.txt +5 -0
- package/console/login/__next.login.__PAGE__.txt +9 -0
- package/console/login/__next.login.txt +5 -0
- package/console/login.html +1 -0
- package/console/login.txt +35 -0
- package/console/logo.svg +1 -0
- package/console/oauth/slack/callback/__next._full.txt +37 -0
- package/console/oauth/slack/callback/__next._head.txt +6 -0
- package/console/oauth/slack/callback/__next._index.txt +17 -0
- package/console/oauth/slack/callback/__next._tree.txt +5 -0
- package/console/oauth/slack/callback/__next.oauth.slack.callback.__PAGE__.txt +9 -0
- package/console/oauth/slack/callback/__next.oauth.slack.callback.txt +5 -0
- package/console/oauth/slack/callback/__next.oauth.slack.txt +5 -0
- package/console/oauth/slack/callback/__next.oauth.txt +5 -0
- package/console/oauth/slack/callback.html +1 -0
- package/console/oauth/slack/callback.txt +37 -0
- package/console/sessions/__placeholder__/__next._full.txt +32 -0
- package/console/sessions/__placeholder__/__next._head.txt +6 -0
- package/console/sessions/__placeholder__/__next._index.txt +17 -0
- package/console/sessions/__placeholder__/__next._tree.txt +5 -0
- package/console/sessions/__placeholder__/__next.sessions.$d$id.__PAGE__.txt +5 -0
- package/console/sessions/__placeholder__/__next.sessions.$d$id.txt +5 -0
- package/console/sessions/__placeholder__/__next.sessions.txt +5 -0
- package/console/sessions/__placeholder__.html +1 -0
- package/console/sessions/__placeholder__.txt +32 -0
- package/console/settings/__next._full.txt +35 -0
- package/console/settings/__next._head.txt +6 -0
- package/console/settings/__next._index.txt +17 -0
- package/console/settings/__next._tree.txt +5 -0
- package/console/settings/__next.settings.__PAGE__.txt +9 -0
- package/console/settings/__next.settings.txt +6 -0
- package/console/settings/account-preferences/__next._full.txt +35 -0
- package/console/settings/account-preferences/__next._head.txt +6 -0
- package/console/settings/account-preferences/__next._index.txt +17 -0
- package/console/settings/account-preferences/__next._tree.txt +5 -0
- package/console/settings/account-preferences/__next.settings.account-preferences.__PAGE__.txt +6 -0
- package/console/settings/account-preferences/__next.settings.account-preferences.txt +5 -0
- package/console/settings/account-preferences/__next.settings.txt +6 -0
- package/console/settings/account-preferences.html +1 -0
- package/console/settings/account-preferences.txt +35 -0
- package/console/settings/api-keys/__next._full.txt +35 -0
- package/console/settings/api-keys/__next._head.txt +6 -0
- package/console/settings/api-keys/__next._index.txt +17 -0
- package/console/settings/api-keys/__next._tree.txt +5 -0
- package/console/settings/api-keys/__next.settings.api-keys.__PAGE__.txt +6 -0
- package/console/settings/api-keys/__next.settings.api-keys.txt +5 -0
- package/console/settings/api-keys/__next.settings.txt +6 -0
- package/console/settings/api-keys.html +1 -0
- package/console/settings/api-keys.txt +35 -0
- package/console/settings/billing/__next._full.txt +38 -0
- package/console/settings/billing/__next._head.txt +6 -0
- package/console/settings/billing/__next._index.txt +17 -0
- package/console/settings/billing/__next._tree.txt +5 -0
- package/console/settings/billing/__next.settings.billing.__PAGE__.txt +9 -0
- package/console/settings/billing/__next.settings.billing.txt +5 -0
- package/console/settings/billing/__next.settings.txt +6 -0
- package/console/settings/billing.html +1 -0
- package/console/settings/billing.txt +38 -0
- package/console/settings/channel-apps/__next._full.txt +35 -0
- package/console/settings/channel-apps/__next._head.txt +6 -0
- package/console/settings/channel-apps/__next._index.txt +17 -0
- package/console/settings/channel-apps/__next._tree.txt +5 -0
- package/console/settings/channel-apps/__next.settings.channel-apps.__PAGE__.txt +6 -0
- package/console/settings/channel-apps/__next.settings.channel-apps.txt +5 -0
- package/console/settings/channel-apps/__next.settings.txt +6 -0
- package/console/settings/channel-apps.html +1 -0
- package/console/settings/channel-apps.txt +35 -0
- package/console/settings/cursor-accounts/__next._full.txt +38 -0
- package/console/settings/cursor-accounts/__next._head.txt +6 -0
- package/console/settings/cursor-accounts/__next._index.txt +17 -0
- package/console/settings/cursor-accounts/__next._tree.txt +5 -0
- package/console/settings/cursor-accounts/__next.settings.cursor-accounts.__PAGE__.txt +9 -0
- package/console/settings/cursor-accounts/__next.settings.cursor-accounts.txt +5 -0
- package/console/settings/cursor-accounts/__next.settings.txt +6 -0
- package/console/settings/cursor-accounts.html +1 -0
- package/console/settings/cursor-accounts.txt +38 -0
- package/console/settings/environments/__next._full.txt +35 -0
- package/console/settings/environments/__next._head.txt +6 -0
- package/console/settings/environments/__next._index.txt +17 -0
- package/console/settings/environments/__next._tree.txt +5 -0
- package/console/settings/environments/__next.settings.environments.__PAGE__.txt +6 -0
- package/console/settings/environments/__next.settings.environments.txt +5 -0
- package/console/settings/environments/__next.settings.txt +6 -0
- package/console/settings/environments.html +1 -0
- package/console/settings/environments.txt +35 -0
- package/console/settings/identity-providers/__next._full.txt +35 -0
- package/console/settings/identity-providers/__next._head.txt +6 -0
- package/console/settings/identity-providers/__next._index.txt +17 -0
- package/console/settings/identity-providers/__next._tree.txt +5 -0
- package/console/settings/identity-providers/__next.settings.identity-providers.__PAGE__.txt +6 -0
- package/console/settings/identity-providers/__next.settings.identity-providers.txt +5 -0
- package/console/settings/identity-providers/__next.settings.txt +6 -0
- package/console/settings/identity-providers.html +1 -0
- package/console/settings/identity-providers.txt +35 -0
- package/console/settings/invitations/__next._full.txt +35 -0
- package/console/settings/invitations/__next._head.txt +6 -0
- package/console/settings/invitations/__next._index.txt +17 -0
- package/console/settings/invitations/__next._tree.txt +5 -0
- package/console/settings/invitations/__next.settings.invitations.__PAGE__.txt +6 -0
- package/console/settings/invitations/__next.settings.invitations.txt +5 -0
- package/console/settings/invitations/__next.settings.txt +6 -0
- package/console/settings/invitations.html +1 -0
- package/console/settings/invitations.txt +35 -0
- package/console/settings/members/__next._full.txt +35 -0
- package/console/settings/members/__next._head.txt +6 -0
- package/console/settings/members/__next._index.txt +17 -0
- package/console/settings/members/__next._tree.txt +5 -0
- package/console/settings/members/__next.settings.members.__PAGE__.txt +6 -0
- package/console/settings/members/__next.settings.members.txt +5 -0
- package/console/settings/members/__next.settings.txt +6 -0
- package/console/settings/members.html +1 -0
- package/console/settings/members.txt +35 -0
- package/console/settings/memory/__next._full.txt +35 -0
- package/console/settings/memory/__next._head.txt +6 -0
- package/console/settings/memory/__next._index.txt +17 -0
- package/console/settings/memory/__next._tree.txt +5 -0
- package/console/settings/memory/__next.settings.memory.__PAGE__.txt +6 -0
- package/console/settings/memory/__next.settings.memory.txt +5 -0
- package/console/settings/memory/__next.settings.txt +6 -0
- package/console/settings/memory.html +1 -0
- package/console/settings/memory.txt +35 -0
- package/console/settings/oauth-apps/__next._full.txt +35 -0
- package/console/settings/oauth-apps/__next._head.txt +6 -0
- package/console/settings/oauth-apps/__next._index.txt +17 -0
- package/console/settings/oauth-apps/__next._tree.txt +5 -0
- package/console/settings/oauth-apps/__next.settings.oauth-apps.__PAGE__.txt +6 -0
- package/console/settings/oauth-apps/__next.settings.oauth-apps.txt +5 -0
- package/console/settings/oauth-apps/__next.settings.txt +6 -0
- package/console/settings/oauth-apps.html +1 -0
- package/console/settings/oauth-apps.txt +35 -0
- package/console/settings/org-preferences/__next._full.txt +35 -0
- package/console/settings/org-preferences/__next._head.txt +6 -0
- package/console/settings/org-preferences/__next._index.txt +17 -0
- package/console/settings/org-preferences/__next._tree.txt +5 -0
- package/console/settings/org-preferences/__next.settings.org-preferences.__PAGE__.txt +6 -0
- package/console/settings/org-preferences/__next.settings.org-preferences.txt +5 -0
- package/console/settings/org-preferences/__next.settings.txt +6 -0
- package/console/settings/org-preferences.html +1 -0
- package/console/settings/org-preferences.txt +35 -0
- package/console/settings/org-profile/__next._full.txt +35 -0
- package/console/settings/org-profile/__next._head.txt +6 -0
- package/console/settings/org-profile/__next._index.txt +17 -0
- package/console/settings/org-profile/__next._tree.txt +5 -0
- package/console/settings/org-profile/__next.settings.org-profile.__PAGE__.txt +6 -0
- package/console/settings/org-profile/__next.settings.org-profile.txt +5 -0
- package/console/settings/org-profile/__next.settings.txt +6 -0
- package/console/settings/org-profile.html +1 -0
- package/console/settings/org-profile.txt +35 -0
- package/console/settings/platform-clients/__next._full.txt +35 -0
- package/console/settings/platform-clients/__next._head.txt +6 -0
- package/console/settings/platform-clients/__next._index.txt +17 -0
- package/console/settings/platform-clients/__next._tree.txt +5 -0
- package/console/settings/platform-clients/__next.settings.platform-clients.__PAGE__.txt +6 -0
- package/console/settings/platform-clients/__next.settings.platform-clients.txt +5 -0
- package/console/settings/platform-clients/__next.settings.txt +6 -0
- package/console/settings/platform-clients.html +1 -0
- package/console/settings/platform-clients.txt +35 -0
- package/console/settings/pricing-governance/__next._full.txt +38 -0
- package/console/settings/pricing-governance/__next._head.txt +6 -0
- package/console/settings/pricing-governance/__next._index.txt +17 -0
- package/console/settings/pricing-governance/__next._tree.txt +5 -0
- package/console/settings/pricing-governance/__next.settings.pricing-governance.__PAGE__.txt +9 -0
- package/console/settings/pricing-governance/__next.settings.pricing-governance.txt +5 -0
- package/console/settings/pricing-governance/__next.settings.txt +6 -0
- package/console/settings/pricing-governance.html +1 -0
- package/console/settings/pricing-governance.txt +38 -0
- package/console/settings/provider-standing/__next._full.txt +38 -0
- package/console/settings/provider-standing/__next._head.txt +6 -0
- package/console/settings/provider-standing/__next._index.txt +17 -0
- package/console/settings/provider-standing/__next._tree.txt +5 -0
- package/console/settings/provider-standing/__next.settings.provider-standing.__PAGE__.txt +9 -0
- package/console/settings/provider-standing/__next.settings.provider-standing.txt +5 -0
- package/console/settings/provider-standing/__next.settings.txt +6 -0
- package/console/settings/provider-standing.html +1 -0
- package/console/settings/provider-standing.txt +38 -0
- package/console/settings/usage/__next._full.txt +35 -0
- package/console/settings/usage/__next._head.txt +6 -0
- package/console/settings/usage/__next._index.txt +17 -0
- package/console/settings/usage/__next._tree.txt +5 -0
- package/console/settings/usage/__next.settings.txt +6 -0
- package/console/settings/usage/__next.settings.usage.__PAGE__.txt +6 -0
- package/console/settings/usage/__next.settings.usage.txt +5 -0
- package/console/settings/usage.html +1 -0
- package/console/settings/usage.txt +35 -0
- package/console/settings.html +1 -0
- package/console/settings.txt +35 -0
- package/console/workflows/__next._full.txt +32 -0
- package/console/workflows/__next._head.txt +6 -0
- package/console/workflows/__next._index.txt +17 -0
- package/console/workflows/__next._tree.txt +5 -0
- package/console/workflows/__next.workflows.__PAGE__.txt +6 -0
- package/console/workflows/__next.workflows.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._full.txt +35 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__.html +1 -0
- package/console/workflows/__placeholder__/__placeholder__.txt +35 -0
- package/console/workflows/executions/__next._full.txt +33 -0
- package/console/workflows/executions/__next._head.txt +6 -0
- package/console/workflows/executions/__next._index.txt +17 -0
- package/console/workflows/executions/__next._tree.txt +5 -0
- package/console/workflows/executions/__next.workflows.executions.__PAGE__.txt +6 -0
- package/console/workflows/executions/__next.workflows.executions.txt +5 -0
- package/console/workflows/executions/__next.workflows.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next._full.txt +34 -0
- package/console/workflows/executions/__placeholder__/__next._head.txt +6 -0
- package/console/workflows/executions/__placeholder__/__next._index.txt +17 -0
- package/console/workflows/executions/__placeholder__/__next._tree.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.__PAGE__.txt +6 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.executions.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.txt +5 -0
- package/console/workflows/executions/__placeholder__.html +1 -0
- package/console/workflows/executions/__placeholder__.txt +34 -0
- package/console/workflows/executions.html +1 -0
- package/console/workflows/executions.txt +33 -0
- package/console/workflows.html +1 -0
- package/console/workflows.txt +32 -0
- package/main.js +1138 -0
- package/mappings.wasm +0 -0
- package/package.json +25 -0
- package/workflow-bundle-agent-execution.js +31729 -0
- package/workflow-bundle-schedule.js +11315 -0
- package/workflow-bundle-workflow-execution.js +29297 -0
- package/workflow-worker-thread.cjs +111 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,618566,(t,e,a)=>{e.exports=t.r(976562)},468806,t=>{"use strict";var e=t.i(843476),a=t.i(271645),o=t.i(893976);let r={sm:"stg:max-w-sm",md:"stg:max-w-md",lg:"stg:max-w-lg",xl:"stg:max-w-xl","2xl":"stg:max-w-2xl","3xl":"stg:max-w-3xl","4xl":"stg:max-w-4xl"};t.s(["DialogShell",0,function({open:t,onOpenChange:n,width:s="md",modal:i=!0,dismissOnBackdrop:l=!1,className:d,children:u,"aria-label":c,"aria-labelledby":f}){let m=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=m.current;e&&i&&(t&&!e.open?e.showModal():!t&&e.open&&e.close())},[t,i]);let p=(0,a.useCallback)(t=>{t.preventDefault(),n(!1)},[n]),g=(0,a.useCallback)(()=>{t&&n(!1)},[t,n]),h=(0,a.useCallback)(t=>{t.target===t.currentTarget&&n(!1)},[n]);return(0,e.jsx)("dialog",{ref:m,open:i?void 0:t||void 0,onCancel:i?p:void 0,onClose:i?g:void 0,onClick:i&&l?h:void 0,"aria-label":c,"aria-labelledby":f,className:(0,o.cn)("stg:w-full stg:rounded-xl stg:border stg:border-border stg:bg-popover stg:p-0 stg:text-popover-foreground stg:shadow-xl",i?(0,o.cn)("stg:fixed stg:inset-0 stg:z-50 stg:m-auto","stg:backdrop:bg-backdrop","stg:open:animate-in stg:open:fade-in-0 stg:open:zoom-in-95"):"stg:relative",r[s],d),children:u})}])},846696,t=>{"use strict";var e=t.i(271645),a=t.i(174080);let o=Array(12).fill(0),r=({visible:t,className:a})=>e.default.createElement("div",{className:["sonner-loading-wrapper",a].filter(Boolean).join(" "),"data-visible":t},e.default.createElement("div",{className:"sonner-spinner"},o.map((t,a)=>e.default.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${a}`})))),n=e.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},e.default.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),s=e.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},e.default.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),i=e.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},e.default.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),l=e.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},e.default.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),d=e.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},e.default.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),e.default.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),u=1,c=new class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let e=this.subscribers.indexOf(t);this.subscribers.splice(e,1)}),this.publish=t=>{this.subscribers.forEach(e=>e(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var e;let{message:a,...o}=t,r="number"==typeof(null==t?void 0:t.id)||(null==(e=t.id)?void 0:e.length)>0?t.id:u++,n=this.toasts.find(t=>t.id===r),s=void 0===t.dismissible||t.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),n?this.toasts=this.toasts.map(e=>e.id===r?(this.publish({...e,...t,id:r,title:a}),{...e,...t,id:r,dismissible:s,title:a}):e):this.addToast({title:a,...o,dismissible:s,id:r}),r},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(e=>e({id:t,dismiss:!0})))):this.toasts.forEach(t=>{this.subscribers.forEach(e=>e({id:t.id,dismiss:!0}))}),t),this.message=(t,e)=>this.create({...e,message:t}),this.error=(t,e)=>this.create({...e,message:t,type:"error"}),this.success=(t,e)=>this.create({...e,type:"success",message:t}),this.info=(t,e)=>this.create({...e,type:"info",message:t}),this.warning=(t,e)=>this.create({...e,type:"warning",message:t}),this.loading=(t,e)=>this.create({...e,type:"loading",message:t}),this.promise=(t,a)=>{let o,r;if(!a)return;void 0!==a.loading&&(r=this.create({...a,promise:t,type:"loading",message:a.loading,description:"function"!=typeof a.description?a.description:void 0}));let n=Promise.resolve(t instanceof Function?t():t),s=void 0!==r,i=n.then(async t=>{if(o=["resolve",t],e.default.isValidElement(t))s=!1,this.create({id:r,type:"default",message:t});else if(f(t)&&!t.ok){s=!1;let o="function"==typeof a.error?await a.error(`HTTP error! status: ${t.status}`):a.error,n="function"==typeof a.description?await a.description(`HTTP error! status: ${t.status}`):a.description,i="object"!=typeof o||e.default.isValidElement(o)?{message:o}:o;this.create({id:r,type:"error",description:n,...i})}else if(t instanceof Error){s=!1;let o="function"==typeof a.error?await a.error(t):a.error,n="function"==typeof a.description?await a.description(t):a.description,i="object"!=typeof o||e.default.isValidElement(o)?{message:o}:o;this.create({id:r,type:"error",description:n,...i})}else if(void 0!==a.success){s=!1;let o="function"==typeof a.success?await a.success(t):a.success,n="function"==typeof a.description?await a.description(t):a.description,i="object"!=typeof o||e.default.isValidElement(o)?{message:o}:o;this.create({id:r,type:"success",description:n,...i})}}).catch(async t=>{if(o=["reject",t],void 0!==a.error){s=!1;let o="function"==typeof a.error?await a.error(t):a.error,n="function"==typeof a.description?await a.description(t):a.description,i="object"!=typeof o||e.default.isValidElement(o)?{message:o}:o;this.create({id:r,type:"error",description:n,...i})}}).finally(()=>{s&&(this.dismiss(r),r=void 0),null==a.finally||a.finally.call(a)}),l=()=>new Promise((t,e)=>i.then(()=>"reject"===o[0]?e(o[1]):t(o[1])).catch(e));return"string"!=typeof r&&"number"!=typeof r?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(t,e)=>{let a=(null==e?void 0:e.id)||u++;return this.create({jsx:t(a),id:a,...e}),a},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},f=t=>t&&"object"==typeof t&&"ok"in t&&"boolean"==typeof t.ok&&"status"in t&&"number"==typeof t.status,m=Object.assign((t,e)=>{let a=(null==e?void 0:e.id)||u++;return c.addToast({title:t,...e,id:a}),a},{success:c.success,info:c.info,warning:c.warning,error:c.error,custom:c.custom,message:c.message,promise:c.promise,dismiss:c.dismiss,loading:c.loading},{getHistory:()=>c.toasts,getToasts:()=>c.getActiveToasts()});function p(t){return void 0!==t.label}function g(...t){return t.filter(Boolean).join(" ")}!function(t){if(!t||"u"<typeof document)return;let e=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",e.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let h=t=>{var a,o,u,c,f,m,h,b,v,y,x,w,E;let{invert:k,toast:N,unstyled:T,interacting:M,setHeights:S,visibleToasts:C,heights:B,index:z,toasts:j,expanded:R,removeToast:D,defaultRichColors:Y,closeButton:I,style:P,cancelButtonStyle:$,actionButtonStyle:A,className:L="",descriptionClassName:H="",duration:V,position:U,gap:X,expandByDefault:O,classNames:F,icons:K,closeButtonAriaLabel:q="Close toast"}=t,[W,G]=e.default.useState(null),[J,Q]=e.default.useState(null),[Z,_]=e.default.useState(!1),[tt,te]=e.default.useState(!1),[ta,to]=e.default.useState(!1),[tr,tn]=e.default.useState(!1),[ts,ti]=e.default.useState(!1),[tl,td]=e.default.useState(0),[tu,tc]=e.default.useState(0),tf=e.default.useRef(N.duration||V||4e3),tm=e.default.useRef(null),tp=e.default.useRef(null),tg=0===z,th=z+1<=C,tb=N.type,tv=!1!==N.dismissible,ty=N.className||"",tx=N.descriptionClassName||"",tw=e.default.useMemo(()=>B.findIndex(t=>t.toastId===N.id)||0,[B,N.id]),tE=e.default.useMemo(()=>{var t;return null!=(t=N.closeButton)?t:I},[N.closeButton,I]),tk=e.default.useMemo(()=>N.duration||V||4e3,[N.duration,V]),tN=e.default.useRef(0),tT=e.default.useRef(0),tM=e.default.useRef(0),tS=e.default.useRef(null),[tC,tB]=U.split("-"),tz=e.default.useMemo(()=>B.reduce((t,e,a)=>a>=tw?t:t+e.height,0),[B,tw]),tj=(()=>{let[t,a]=e.default.useState(document.hidden);return e.default.useEffect(()=>{let t=()=>{a(document.hidden)};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)},[]),t})(),tR=N.invert||k,tD="loading"===tb;tT.current=e.default.useMemo(()=>tw*X+tz,[tw,tz]),e.default.useEffect(()=>{tf.current=tk},[tk]),e.default.useEffect(()=>{_(!0)},[]),e.default.useEffect(()=>{let t=tp.current;if(t){let e=t.getBoundingClientRect().height;return tc(e),S(t=>[{toastId:N.id,height:e,position:N.position},...t]),()=>S(t=>t.filter(t=>t.toastId!==N.id))}},[S,N.id]),e.default.useLayoutEffect(()=>{if(!Z)return;let t=tp.current,e=t.style.height;t.style.height="auto";let a=t.getBoundingClientRect().height;t.style.height=e,tc(a),S(t=>t.find(t=>t.toastId===N.id)?t.map(t=>t.toastId===N.id?{...t,height:a}:t):[{toastId:N.id,height:a,position:N.position},...t])},[Z,N.title,N.description,S,N.id,N.jsx,N.action,N.cancel]);let tY=e.default.useCallback(()=>{te(!0),td(tT.current),S(t=>t.filter(t=>t.toastId!==N.id)),setTimeout(()=>{D(N)},200)},[N,D,S,tT]);e.default.useEffect(()=>{let t;if((!N.promise||"loading"!==tb)&&N.duration!==1/0&&"loading"!==N.type){if(R||M||tj){if(tM.current<tN.current){let t=new Date().getTime()-tN.current;tf.current=tf.current-t}tM.current=new Date().getTime()}else tf.current!==1/0&&(tN.current=new Date().getTime(),t=setTimeout(()=>{null==N.onAutoClose||N.onAutoClose.call(N,N),tY()},tf.current));return()=>clearTimeout(t)}},[R,M,N,tb,tj,tY]),e.default.useEffect(()=>{N.delete&&(tY(),null==N.onDismiss||N.onDismiss.call(N,N))},[tY,N.delete]);let tI=N.icon||(null==K?void 0:K[tb])||(t=>{switch(t){case"success":return n;case"info":return i;case"warning":return s;case"error":return l;default:return null}})(tb);return e.default.createElement("li",{tabIndex:0,ref:tp,className:g(L,ty,null==F?void 0:F.toast,null==N||null==(a=N.classNames)?void 0:a.toast,null==F?void 0:F.default,null==F?void 0:F[tb],null==N||null==(o=N.classNames)?void 0:o[tb]),"data-sonner-toast":"","data-rich-colors":null!=(y=N.richColors)?y:Y,"data-styled":!(N.jsx||N.unstyled||T),"data-mounted":Z,"data-promise":!!N.promise,"data-swiped":ts,"data-removed":tt,"data-visible":th,"data-y-position":tC,"data-x-position":tB,"data-index":z,"data-front":tg,"data-swiping":ta,"data-dismissible":tv,"data-type":tb,"data-invert":tR,"data-swipe-out":tr,"data-swipe-direction":J,"data-expanded":!!(R||O&&Z),"data-testid":N.testId,style:{"--index":z,"--toasts-before":z,"--z-index":j.length-z,"--offset":`${tt?tl:tT.current}px`,"--initial-height":O?"auto":`${tu}px`,...P,...N.style},onDragEnd:()=>{to(!1),G(null),tS.current=null},onPointerDown:t=>{2===t.button||tD||!tv||(tm.current=new Date,td(tT.current),t.target.setPointerCapture(t.pointerId),"BUTTON"!==t.target.tagName&&(to(!0),tS.current={x:t.clientX,y:t.clientY}))},onPointerUp:()=>{var t,e,a,o,r;if(tr||!tv)return;tS.current=null;let n=Number((null==(t=tp.current)?void 0:t.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),s=Number((null==(e=tp.current)?void 0:e.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),i=new Date().getTime()-(null==(a=tm.current)?void 0:a.getTime()),l="x"===W?n:s,d=Math.abs(l)/i;if(Math.abs(l)>=45||d>.11){td(tT.current),null==N.onDismiss||N.onDismiss.call(N,N),"x"===W?Q(n>0?"right":"left"):Q(s>0?"down":"up"),tY(),tn(!0);return}null==(o=tp.current)||o.style.setProperty("--swipe-amount-x","0px"),null==(r=tp.current)||r.style.setProperty("--swipe-amount-y","0px"),ti(!1),to(!1),G(null)},onPointerMove:e=>{var a,o,r,n;if(!tS.current||!tv||(null==(a=window.getSelection())?void 0:a.toString().length)>0)return;let s=e.clientY-tS.current.y,i=e.clientX-tS.current.x,l=null!=(n=t.swipeDirections)?n:function(t){let[e,a]=t.split("-"),o=[];return e&&o.push(e),a&&o.push(a),o}(U);!W&&(Math.abs(i)>1||Math.abs(s)>1)&&G(Math.abs(i)>Math.abs(s)?"x":"y");let d={x:0,y:0},u=t=>1/(1.5+Math.abs(t)/20);if("y"===W){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&s<0||l.includes("bottom")&&s>0)d.y=s;else{let t=s*u(s);d.y=Math.abs(t)<Math.abs(s)?t:s}}else if("x"===W&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&i<0||l.includes("right")&&i>0)d.x=i;else{let t=i*u(i);d.x=Math.abs(t)<Math.abs(i)?t:i}(Math.abs(d.x)>0||Math.abs(d.y)>0)&&ti(!0),null==(o=tp.current)||o.style.setProperty("--swipe-amount-x",`${d.x}px`),null==(r=tp.current)||r.style.setProperty("--swipe-amount-y",`${d.y}px`)}},tE&&!N.jsx&&"loading"!==tb?e.default.createElement("button",{"aria-label":q,"data-disabled":tD,"data-close-button":!0,onClick:tD||!tv?()=>{}:()=>{tY(),null==N.onDismiss||N.onDismiss.call(N,N)},className:g(null==F?void 0:F.closeButton,null==N||null==(u=N.classNames)?void 0:u.closeButton)},null!=(x=null==K?void 0:K.close)?x:d):null,(tb||N.icon||N.promise)&&null!==N.icon&&((null==K?void 0:K[tb])!==null||N.icon)?e.default.createElement("div",{"data-icon":"",className:g(null==F?void 0:F.icon,null==N||null==(c=N.classNames)?void 0:c.icon)},N.promise||"loading"===N.type&&!N.icon?N.icon||((null==K?void 0:K.loading)?e.default.createElement("div",{className:g(null==F?void 0:F.loader,null==N||null==(E=N.classNames)?void 0:E.loader,"sonner-loader"),"data-visible":"loading"===tb},K.loading):e.default.createElement(r,{className:g(null==F?void 0:F.loader,null==N||null==(w=N.classNames)?void 0:w.loader),visible:"loading"===tb})):null,"loading"!==N.type?tI:null):null,e.default.createElement("div",{"data-content":"",className:g(null==F?void 0:F.content,null==N||null==(f=N.classNames)?void 0:f.content)},e.default.createElement("div",{"data-title":"",className:g(null==F?void 0:F.title,null==N||null==(m=N.classNames)?void 0:m.title)},N.jsx?N.jsx:"function"==typeof N.title?N.title():N.title),N.description?e.default.createElement("div",{"data-description":"",className:g(H,tx,null==F?void 0:F.description,null==N||null==(h=N.classNames)?void 0:h.description)},"function"==typeof N.description?N.description():N.description):null),e.default.isValidElement(N.cancel)?N.cancel:N.cancel&&p(N.cancel)?e.default.createElement("button",{"data-button":!0,"data-cancel":!0,style:N.cancelButtonStyle||$,onClick:t=>{!p(N.cancel)||tv&&(null==N.cancel.onClick||N.cancel.onClick.call(N.cancel,t),tY())},className:g(null==F?void 0:F.cancelButton,null==N||null==(b=N.classNames)?void 0:b.cancelButton)},N.cancel.label):null,e.default.isValidElement(N.action)?N.action:N.action&&p(N.action)?e.default.createElement("button",{"data-button":!0,"data-action":!0,style:N.actionButtonStyle||A,onClick:t=>{!p(N.action)||(null==N.action.onClick||N.action.onClick.call(N.action,t),t.defaultPrevented||tY())},className:g(null==F?void 0:F.actionButton,null==N||null==(v=N.classNames)?void 0:v.actionButton)},N.action.label):null)};function b(){if("u"<typeof window||"u"<typeof document)return"ltr";let t=document.documentElement.getAttribute("dir");return"auto"!==t&&t?t:window.getComputedStyle(document.documentElement).direction}let v=e.default.forwardRef(function(t,o){let{id:r,invert:n,position:s="bottom-right",hotkey:i=["altKey","KeyT"],expand:l,closeButton:d,className:u,offset:f,mobileOffset:m,theme:p="light",richColors:g,duration:v,style:y,visibleToasts:x=3,toastOptions:w,dir:E=b(),gap:k=14,icons:N,containerAriaLabel:T="Notifications"}=t,[M,S]=e.default.useState([]),C=e.default.useMemo(()=>r?M.filter(t=>t.toasterId===r):M.filter(t=>!t.toasterId),[M,r]),B=e.default.useMemo(()=>Array.from(new Set([s].concat(C.filter(t=>t.position).map(t=>t.position)))),[C,s]),[z,j]=e.default.useState([]),[R,D]=e.default.useState(!1),[Y,I]=e.default.useState(!1),[P,$]=e.default.useState("system"!==p?p:"u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),A=e.default.useRef(null),L=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),H=e.default.useRef(null),V=e.default.useRef(!1),U=e.default.useCallback(t=>{S(e=>{var a;return(null==(a=e.find(e=>e.id===t.id))?void 0:a.delete)||c.dismiss(t.id),e.filter(({id:e})=>e!==t.id)})},[]);return e.default.useEffect(()=>c.subscribe(t=>{t.dismiss?requestAnimationFrame(()=>{S(e=>e.map(e=>e.id===t.id?{...e,delete:!0}:e))}):setTimeout(()=>{a.default.flushSync(()=>{S(e=>{let a=e.findIndex(e=>e.id===t.id);return -1!==a?[...e.slice(0,a),{...e[a],...t},...e.slice(a+1)]:[t,...e]})})})}),[M]),e.default.useEffect(()=>{if("system"!==p)return void $(p);if("system"===p&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),"u"<typeof window)return;let t=window.matchMedia("(prefers-color-scheme: dark)");try{t.addEventListener("change",({matches:t})=>{t?$("dark"):$("light")})}catch(e){t.addListener(({matches:t})=>{try{t?$("dark"):$("light")}catch(t){console.error(t)}})}},[p]),e.default.useEffect(()=>{M.length<=1&&D(!1)},[M]),e.default.useEffect(()=>{let t=t=>{var e,a;i.every(e=>t[e]||t.code===e)&&(D(!0),null==(a=A.current)||a.focus()),"Escape"===t.code&&(document.activeElement===A.current||(null==(e=A.current)?void 0:e.contains(document.activeElement)))&&D(!1)};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[i]),e.default.useEffect(()=>{if(A.current)return()=>{H.current&&(H.current.focus({preventScroll:!0}),H.current=null,V.current=!1)}},[A.current]),e.default.createElement("section",{ref:o,"aria-label":`${T} ${L}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},B.map((a,o)=>{var r;let s,[i,c]=a.split("-");return C.length?e.default.createElement("ol",{key:a,dir:"auto"===E?b():E,tabIndex:-1,ref:A,className:u,"data-sonner-toaster":!0,"data-sonner-theme":P,"data-y-position":i,"data-x-position":c,style:{"--front-toast-height":`${(null==(r=z[0])?void 0:r.height)||0}px`,"--width":"356px","--gap":`${k}px`,...y,...(s={},[f,m].forEach((t,e)=>{let a=1===e,o=a?"--mobile-offset":"--offset",r=a?"16px":"24px";function n(t){["top","right","bottom","left"].forEach(e=>{s[`${o}-${e}`]="number"==typeof t?`${t}px`:t})}"number"==typeof t||"string"==typeof t?n(t):"object"==typeof t?["top","right","bottom","left"].forEach(e=>{void 0===t[e]?s[`${o}-${e}`]=r:s[`${o}-${e}`]="number"==typeof t[e]?`${t[e]}px`:t[e]}):n(r)}),s)},onBlur:t=>{V.current&&!t.currentTarget.contains(t.relatedTarget)&&(V.current=!1,H.current&&(H.current.focus({preventScroll:!0}),H.current=null))},onFocus:t=>{!(t.target instanceof HTMLElement&&"false"===t.target.dataset.dismissible)&&(V.current||(V.current=!0,H.current=t.relatedTarget))},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{Y||D(!1)},onDragEnd:()=>D(!1),onPointerDown:t=>{t.target instanceof HTMLElement&&"false"===t.target.dataset.dismissible||I(!0)},onPointerUp:()=>I(!1)},C.filter(t=>!t.position&&0===o||t.position===a).map((o,r)=>{var s,i;return e.default.createElement(h,{key:o.id,icons:N,index:r,toast:o,defaultRichColors:g,duration:null!=(s=null==w?void 0:w.duration)?s:v,className:null==w?void 0:w.className,descriptionClassName:null==w?void 0:w.descriptionClassName,invert:n,visibleToasts:x,closeButton:null!=(i=null==w?void 0:w.closeButton)?i:d,interacting:Y,position:a,style:null==w?void 0:w.style,unstyled:null==w?void 0:w.unstyled,classNames:null==w?void 0:w.classNames,cancelButtonStyle:null==w?void 0:w.cancelButtonStyle,actionButtonStyle:null==w?void 0:w.actionButtonStyle,closeButtonAriaLabel:null==w?void 0:w.closeButtonAriaLabel,removeToast:U,toasts:C.filter(t=>t.position==o.position),heights:z.filter(t=>t.position==o.position),setHeights:j,expandByDefault:l,gap:k,expanded:R,swipeDirections:t.swipeDirections})})):null}))});t.s(["Toaster",0,v,"toast",0,m])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24207,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(893976),n=e.i(610595),i=e.i(17616),o=e.i(564138),a=e.i(361353),l=e.i(379410),d=e.i(832981),g=e.i(689960),c=e.i(586108),m=e.i(326283),u=e.i(891287),x=e.i(730578),h=e.i(583093),p=e.i(631829),y=e.i(456644);function b({org:e,className:i,now:o}){let{memories:a,isLoading:l,error:g,refetch:m}=function(e){let t=(0,c.useStigmer)(),{data:s,isLoading:r,isRefetching:n,error:i,refetch:o}=(0,h.useFetch)(e?()=>t.memory.list((0,u.create)(x.ListMemoriesRequestSchema,{org:e,pageInfo:{num:1,size:100}})).then(e=>[...e.items]):null,[t,e],[]);return{memories:s,isLoading:r,isRefetching:n,error:i,refetch:o}}(e),[p,y]=(0,s.useState)({mode:"idle"}),v=(0,s.useCallback)(()=>y({mode:"idle"}),[]),j=(0,s.useCallback)(()=>{y({mode:"idle"}),m()},[m]);if(l)return(0,t.jsx)("div",{className:(0,r.cn)("stg:space-y-2",i),"aria-busy":"true","aria-label":"Loading memories",children:Array.from({length:2},(e,s)=>(0,t.jsx)("div",{className:"stg:bg-muted-subtle stg:h-14 stg:animate-pulse stg:rounded-lg"},s))});if(g)return(0,t.jsx)("p",{className:(0,r.cn)("stg:text-destructive stg:text-xs",i),role:"alert",children:(0,n.getUserMessage)(g)});if(0===a.length)return(0,t.jsx)("p",{className:(0,r.cn)("stg:text-muted-foreground stg:py-4 stg:text-center stg:text-xs",i),children:"Nothing remembered yet. When an agent proposes a fact worth keeping, it appears here for your decision."});let C=(0,d.groupMemoriesByLifecycle)(a);return(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-6",i),children:[C.proposed.length>0&&(0,t.jsx)(f,{heading:"Pending proposals",description:"Facts agents proposed to remember. Nothing is stored in your sessions until you confirm it.",memories:C.proposed,rowState:p,setRowState:y,onChanged:j,onCancel:v,now:o}),C.confirmed.length>0&&(0,t.jsx)(f,{heading:"Remembered",description:"Confirmed facts, shared with agents in your future sessions.",memories:C.confirmed,rowState:p,setRowState:y,onChanged:j,onCancel:v,now:o}),C.rejected.length>0&&(0,t.jsx)(f,{heading:"Rejected",description:"Proposals you declined, kept for reference. Delete them to clear the record.",memories:C.rejected,rowState:p,setRowState:y,onChanged:j,onCancel:v,now:o})]})}function f({heading:e,description:s,memories:r,rowState:n,setRowState:i,onChanged:o,onCancel:a,now:l}){return(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"stg:text-foreground stg:text-xs stg:font-semibold",children:e}),(0,t.jsx)("p",{className:"stg:text-muted-foreground stg:mb-2 stg:text-xs",children:s}),(0,t.jsx)("div",{className:"stg:space-y-2",role:"list","aria-label":e,children:r.map(e=>{let s=e.metadata?.id??"";return(0,t.jsx)(v,{memory:e,now:l,mode:"idle"!==n.mode&&n.id===s?n.mode:"idle",onStartDelete:()=>i({mode:"confirming-delete",id:s}),onStartEdit:()=>i({mode:"editing",id:s}),onCancel:a,onChanged:o},s)})})]})}function v({memory:e,now:u,mode:x,onStartDelete:h,onStartEdit:y,onCancel:b,onChanged:f}){var S,w,k,M;let R,L=e.metadata?.id??"",_=e.spec?.content??"",z=e.status?.lifecycleState,I=(0,d.formatMemoryProvenance)(e),U=e.status?.stateChangedAt,{confirmMemory:$,isConfirming:E,error:P}=(0,g.useConfirmMemory)(),{rejectMemory:A,isRejecting:D,error:F}=(0,p.useRejectMemory)(),{deleteMemory:T,isDeleting:B,error:O}=function(){let e=(0,c.useStigmer)(),[t,r]=(0,s.useState)(!1),[n,i]=(0,s.useState)(null),o=(0,s.useCallback)(()=>i(null),[]);return{deleteMemory:(0,s.useCallback)(async t=>{r(!0),i(null);try{return await e.memory.delete(t)}catch(e){throw i((0,m.toError)(e)),e}finally{r(!1)}},[e]),isDeleting:t,error:n,clearError:o}}(),V=P??F??O,q=E||D||B,K=(0,s.useCallback)(async e=>{try{await e(L),f()}catch{}},[L,f]);return"editing"===x?(0,t.jsx)(j,{memory:e,onCancel:b,onSaved:f}):"confirming-delete"===x?(0,t.jsxs)("div",{role:"listitem",className:"stg:flex stg:items-center stg:justify-between stg:gap-3 stg:rounded-lg stg:border stg:border-destructive/30 stg:bg-destructive-subtle stg:px-3 stg:py-2.5",children:[(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsxs)("p",{className:"stg:text-xs stg:text-foreground",children:["Forget this permanently? ",(0,t.jsx)("q",{className:"stg:italic",children:_})]}),O&&(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-[0.65rem] stg:text-destructive",children:(0,n.getUserMessage)(O)})]}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1.5",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>void K(T),disabled:B,className:(0,r.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs stg:font-medium","stg:bg-destructive stg:text-destructive-foreground stg:hover:bg-destructive-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:[B&&(0,t.jsx)(l.SpinnerIcon,{size:12}),"Delete"]}),(0,t.jsx)("button",{type:"button",onClick:b,disabled:B,className:(0,r.cn)("stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"})]})]}):(0,t.jsx)("div",{role:"listitem",className:"stg:rounded-lg stg:border stg:border-border-muted stg:px-3 stg:py-2.5 stg:hover:border-border stg:transition-colors",children:(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:justify-between stg:gap-3",children:[(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsx)("p",{className:"stg:text-sm stg:text-foreground stg:whitespace-pre-wrap",children:_}),(0,t.jsxs)("p",{className:"stg:mt-1 stg:text-xs stg:text-muted-foreground",children:[I?`${I} \xb7 `:"",(S=z,w=U?(0,i.timestampDate)(U):void 0,k=u,R=S===o.MemoryLifecycleState.lifecycle_state_confirmed?"Confirmed":S===o.MemoryLifecycleState.lifecycle_state_rejected?"Rejected":"Proposed",w?`${R} ${(0,a.formatRelativeTime)(w,k)}`:R)]}),V&&(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-[0.65rem] stg:text-destructive",role:"alert",children:(0,n.getUserMessage)(V)})]}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1.5",children:[z===o.MemoryLifecycleState.lifecycle_state_confirmed&&(0,t.jsx)(C,{label:`Edit memory: ${_}`,onClick:y,disabled:q,children:"Edit"}),(void 0===(M=z)||M===o.MemoryLifecycleState.lifecycle_state_unspecified||M===o.MemoryLifecycleState.lifecycle_state_proposed)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(C,{label:`Confirm memory: ${_}`,onClick:()=>void K($),disabled:q,emphasis:"primary",children:[E&&(0,t.jsx)(l.SpinnerIcon,{size:12}),"Confirm"]}),(0,t.jsxs)(C,{label:`Reject memory: ${_}`,onClick:()=>void K(A),disabled:q,children:[D&&(0,t.jsx)(l.SpinnerIcon,{size:12}),"Reject"]})]}),(0,t.jsx)("button",{type:"button",onClick:h,disabled:q,"aria-label":`Delete memory: ${_}`,className:(0,r.cn)("stg:shrink-0 stg:rounded stg:p-1","stg:text-muted-foreground stg:hover:text-destructive stg:hover:bg-destructive-subtle","stg:transition-colors stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:(0,t.jsx)(N,{})})]})]})})}function j({memory:e,onCancel:i,onSaved:o}){let[a,d]=(0,s.useState)(e.spec?.content??""),{updateContent:g,isUpdating:u,error:x}=function(){let e=(0,c.useStigmer)(),[t,r]=(0,s.useState)(!1),[n,i]=(0,s.useState)(null),o=(0,s.useCallback)(()=>i(null),[]);return{updateContent:(0,s.useCallback)(async(t,s)=>{r(!0),i(null);try{return await e.memory.update({...(0,y.toMemoryUpdateInput)(t),content:s})}catch(e){throw i((0,m.toError)(e)),e}finally{r(!1)}},[e]),isUpdating:t,error:n,clearError:o}}(),h=a.trim(),p=h.length>0&&h.length<=500&&!u,b=async()=>{try{await g(e,h),o()}catch{}};return(0,t.jsxs)("div",{role:"listitem",className:"stg:rounded-lg stg:border stg:border-border stg:px-3 stg:py-2.5",children:[(0,t.jsx)("textarea",{value:a,onChange:e=>d(e.target.value),rows:2,maxLength:500,"aria-label":"Edit memory text",className:(0,r.cn)("stg:w-full stg:resize-y stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2 stg:py-1.5 stg:text-sm stg:text-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring")}),(0,t.jsxs)("div",{className:"stg:mt-1.5 stg:flex stg:items-center stg:justify-between",children:[(0,t.jsxs)("span",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:[h.length,"/500"]}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-1.5",children:[(0,t.jsxs)(C,{label:"Save memory text",onClick:()=>void b(),disabled:!p,emphasis:"primary",children:[u&&(0,t.jsx)(l.SpinnerIcon,{size:12}),"Save"]}),(0,t.jsx)(C,{label:"Cancel editing",onClick:i,disabled:u,children:"Cancel"})]})]}),x&&(0,t.jsx)("p",{className:"stg:mt-1 stg:text-[0.65rem] stg:text-destructive",role:"alert",children:(0,n.getUserMessage)(x)})]})}function C({label:e,onClick:s,disabled:n,emphasis:i,children:o}){return(0,t.jsx)("button",{type:"button","aria-label":e,onClick:s,disabled:n,className:(0,r.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded-md stg:px-2 stg:py-1 stg:text-xs stg:font-medium","primary"===i?"stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover":"stg:border stg:border-input stg:bg-background stg:text-foreground stg:hover:bg-accent stg:hover:text-accent-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:o})}function N(){return(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M2.5 4h11M5.5 4V2.5a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1V4"}),(0,t.jsx)("path",{d:"M12.5 4v9a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V4"}),(0,t.jsx)("line",{x1:"6.5",y1:"7",x2:"6.5",y2:"11"}),(0,t.jsx)("line",{x1:"9.5",y1:"7",x2:"9.5",y2:"11"})]})}var S=e.i(297629);e.s(["MemorySection",0,function(){let e=(0,s.useId)(),r=(0,S.useActiveOrgSlug)();return(0,t.jsxs)("section",{"aria-labelledby":e,children:[(0,t.jsx)("h2",{id:e,className:"stg:text-foreground stg:mb-1 stg:text-sm stg:font-semibold",children:"Memory"}),(0,t.jsx)("p",{className:"stg:text-muted-foreground stg:mb-6 stg:text-xs",children:"Facts agents proposed to remember about you in this organization. Confirmed memories are shared with agents in your future sessions and appear in those executions' records; once you have many, each conversation recalls the most relevant ones, shown on the execution. Only you can see them here, and you can edit or delete any of them at any time."}),r?(0,t.jsx)(b,{org:r}):(0,t.jsx)("p",{className:"stg:text-muted-foreground stg:py-4 stg:text-center stg:text-xs",children:"Select an organization to view its memories."})]})}],24207)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,443578,t=>{"use strict";var e=t.i(908381),i=t.i(171206),a=(0,i.__name)((t,a,r,d)=>{t.attr("class",r);let{width:o,height:s,x:l,y:f}=n(t,a);(0,e.configureSvgSize)(t,s,o,d);let h=g(l,f,o,s,a);t.attr("viewBox",h),i.log.debug(`viewBox configured: ${h} with padding: ${a}`)},"setupViewPortForSVG"),n=(0,i.__name)((t,e)=>{let i=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+2*e,height:i.height+2*e,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),g=(0,i.__name)((t,e,i,a,n)=>`${t-n} ${e-n} ${i} ${a}`,"createViewBox");t.s(["setupViewPortForSVG",0,a])},707510,t=>{"use strict";var e=t.i(171206);t.i(947716);var i=t.i(723685),a=(0,e.__name)((t,e)=>{let a;return"sandbox"===e&&(a=(0,i.select)("#i"+t)),("sandbox"===e?(0,i.select)(a.nodes()[0].contentDocument.body):(0,i.select)("body")).select(`[id="${t}"]`)},"getDiagramElement");t.s(["getDiagramElement",0,a])},785272,t=>{"use strict";var e,i=t.i(547902);t.i(707510),t.i(443578),t.i(233755),t.i(95547),t.i(609003),t.i(347578),t.i(136013),t.i(620144),t.i(864421);var a=t.i(669587),n=t.i(908381),g=t.i(171206);t.i(947716);var r=t.i(723685);t.i(461696);var d=t.i(915888);t.i(566661);var o=t.i(704642),s=t.i(785833),l=t.i(600104),f=(0,g.__name)(t=>t.append("circle").attr("class","start-state").attr("r",(0,n.getConfig2)().state.sizeUnit).attr("cx",(0,n.getConfig2)().state.padding+(0,n.getConfig2)().state.sizeUnit).attr("cy",(0,n.getConfig2)().state.padding+(0,n.getConfig2)().state.sizeUnit),"drawStartState"),h=(0,g.__name)(t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,n.getConfig2)().state.textHeight).attr("class","divider").attr("x2",2*(0,n.getConfig2)().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),p=(0,g.__name)((t,e)=>{let i=t.append("text").attr("x",2*(0,n.getConfig2)().state.padding).attr("y",(0,n.getConfig2)().state.textHeight+2*(0,n.getConfig2)().state.padding).attr("font-size",(0,n.getConfig2)().state.fontSize).attr("class","state-title").text(e.id),a=i.node().getBBox();return t.insert("rect",":first-child").attr("x",(0,n.getConfig2)().state.padding).attr("y",(0,n.getConfig2)().state.padding).attr("width",a.width+2*(0,n.getConfig2)().state.padding).attr("height",a.height+2*(0,n.getConfig2)().state.padding).attr("rx",(0,n.getConfig2)().state.radius),i},"drawSimpleState"),c=(0,g.__name)((t,e)=>{let i=(0,g.__name)(function(t,e,i){let a=t.append("tspan").attr("x",2*(0,n.getConfig2)().state.padding).text(e);i||a.attr("dy",(0,n.getConfig2)().state.textHeight)},"addTspan"),a=t.append("text").attr("x",2*(0,n.getConfig2)().state.padding).attr("y",(0,n.getConfig2)().state.textHeight+1.3*(0,n.getConfig2)().state.padding).attr("font-size",(0,n.getConfig2)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),r=a.height,d=t.append("text").attr("x",(0,n.getConfig2)().state.padding).attr("y",r+.4*(0,n.getConfig2)().state.padding+(0,n.getConfig2)().state.dividerMargin+(0,n.getConfig2)().state.textHeight).attr("class","state-description"),o=!0,s=!0;e.descriptions.forEach(function(t){o||(i(d,t,s),s=!1),o=!1});let l=t.append("line").attr("x1",(0,n.getConfig2)().state.padding).attr("y1",(0,n.getConfig2)().state.padding+r+(0,n.getConfig2)().state.dividerMargin/2).attr("y2",(0,n.getConfig2)().state.padding+r+(0,n.getConfig2)().state.dividerMargin/2).attr("class","descr-divider"),f=d.node().getBBox(),h=Math.max(f.width,a.width);return l.attr("x2",h+3*(0,n.getConfig2)().state.padding),t.insert("rect",":first-child").attr("x",(0,n.getConfig2)().state.padding).attr("y",(0,n.getConfig2)().state.padding).attr("width",h+2*(0,n.getConfig2)().state.padding).attr("height",f.height+r+2*(0,n.getConfig2)().state.padding).attr("rx",(0,n.getConfig2)().state.radius),t},"drawDescrState"),x=(0,g.__name)((t,e,i)=>{let a,g=(0,n.getConfig2)().state.padding,r=2*(0,n.getConfig2)().state.padding,d=t.node().getBBox(),o=d.width,s=d.x,l=t.append("text").attr("x",0).attr("y",(0,n.getConfig2)().state.titleShift).attr("font-size",(0,n.getConfig2)().state.fontSize).attr("class","state-title").text(e.id),f=l.node().getBBox().width+r,h=Math.max(f,o);h===o&&(h+=r);let p=t.node().getBBox();e.doc,a=s-g,f>o&&(a=(o-h)/2+g),Math.abs(s-p.x)<g&&f>o&&(a=s-(f-o)/2);let c=1-(0,n.getConfig2)().state.textHeight;return t.insert("rect",":first-child").attr("x",a).attr("y",c).attr("class",i?"alt-composit":"composit").attr("width",h).attr("height",p.height+(0,n.getConfig2)().state.textHeight+(0,n.getConfig2)().state.titleShift+1).attr("rx","0"),l.attr("x",a+g),f<=o&&l.attr("x",s+(h-r)/2-f/2+g),t.insert("rect",":first-child").attr("x",a).attr("y",(0,n.getConfig2)().state.titleShift-(0,n.getConfig2)().state.textHeight-(0,n.getConfig2)().state.padding).attr("width",h).attr("height",3*(0,n.getConfig2)().state.textHeight).attr("rx",(0,n.getConfig2)().state.radius),t.insert("rect",":first-child").attr("x",a).attr("y",(0,n.getConfig2)().state.titleShift-(0,n.getConfig2)().state.textHeight-(0,n.getConfig2)().state.padding).attr("width",h).attr("height",p.height+3+2*(0,n.getConfig2)().state.textHeight).attr("rx",(0,n.getConfig2)().state.radius),t},"addTitleAndBox"),u=(0,g.__name)(t=>(t.append("circle").attr("class","end-state-outer").attr("r",(0,n.getConfig2)().state.sizeUnit+(0,n.getConfig2)().state.miniPadding).attr("cx",(0,n.getConfig2)().state.padding+(0,n.getConfig2)().state.sizeUnit+(0,n.getConfig2)().state.miniPadding).attr("cy",(0,n.getConfig2)().state.padding+(0,n.getConfig2)().state.sizeUnit+(0,n.getConfig2)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,n.getConfig2)().state.sizeUnit).attr("cx",(0,n.getConfig2)().state.padding+(0,n.getConfig2)().state.sizeUnit+2).attr("cy",(0,n.getConfig2)().state.padding+(0,n.getConfig2)().state.sizeUnit+2)),"drawEndState"),C=(0,g.__name)((t,e)=>{let i=(0,n.getConfig2)().state.forkWidth,a=(0,n.getConfig2)().state.forkHeight;if(e.parentId){let t=i;i=a,a=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",i).attr("height",a).attr("x",(0,n.getConfig2)().state.padding).attr("y",(0,n.getConfig2)().state.padding)},"drawForkJoinState"),m=(0,g.__name)((t,e,i,a)=>{let g=0,r=a.append("text");r.style("text-anchor","start"),r.attr("class","noteText");let d=t.replace(/\r\n/g,"<br/>"),o=(d=d.replace(/\n/g,"<br/>")).split(n.common_default.lineBreakRegex),s=1.25*(0,n.getConfig2)().state.noteMargin;for(let t of o){let a=t.trim();if(a.length>0){let t=r.append("tspan");t.text(a),0===s&&(s+=t.node().getBBox().height),g+=s,t.attr("x",e+(0,n.getConfig2)().state.noteMargin),t.attr("y",i+g+1.25*(0,n.getConfig2)().state.noteMargin)}}return{textWidth:r.node().getBBox().width,textHeight:g}},"_drawLongText"),y=(0,g.__name)((t,e)=>{e.attr("class","state-note");let i=e.append("rect").attr("x",0).attr("y",(0,n.getConfig2)().state.padding),{textWidth:a,textHeight:g}=m(t,0,0,e.append("g"));return i.attr("height",g+2*(0,n.getConfig2)().state.noteMargin),i.attr("width",a+2*(0,n.getConfig2)().state.noteMargin),i},"drawNote"),w=(0,g.__name)(function(t,e){let i=e.id,a={id:i,label:e.id,width:0,height:0},g=t.append("g").attr("id",i).attr("class","stateGroup");"start"===e.type&&f(g),"end"===e.type&&u(g),("fork"===e.type||"join"===e.type)&&C(g,e),"note"===e.type&&y(e.note.text,g),"divider"===e.type&&h(g),"default"===e.type&&0===e.descriptions.length&&p(g,e),"default"===e.type&&e.descriptions.length>0&&c(g,e);let r=g.node().getBBox();return a.width=r.width+2*(0,n.getConfig2)().state.padding,a.height=r.height+2*(0,n.getConfig2)().state.padding,a},"drawState"),_=0,B=(0,g.__name)(function(t,e,r){let d=(0,g.__name)(function(t){switch(t){case i.StateDB.relationType.AGGREGATION:return"aggregation";case i.StateDB.relationType.EXTENSION:return"extension";case i.StateDB.relationType.COMPOSITION:return"composition";case i.StateDB.relationType.DEPENDENCY:return"dependency"}},"getRelationType");e.points=e.points.filter(t=>!Number.isNaN(t.y));let o=e.points,f=(0,s.line)().x(function(t){return t.x}).y(function(t){return t.y}).curve(l.curveBasis),h=t.append("path").attr("d",f(o)).attr("id","edge"+_).attr("class","transition"),p="";if((0,n.getConfig2)().state.arrowMarkerAbsolute&&(p=(0,n.getUrl)(!0)),h.attr("marker-end","url("+p+"#"+d(i.StateDB.relationType.DEPENDENCY)+"End)"),void 0!==r.title){let i=t.append("g").attr("class","stateLabel"),{x:d,y:o}=a.utils_default.calcLabelPosition(e.points),s=n.common_default.getRows(r.title),l=0,f=[],h=0,p=0;for(let t=0;t<=s.length;t++){let e=i.append("text").attr("text-anchor","middle").text(s[t]).attr("x",d).attr("y",o+l),a=e.node().getBBox();h=Math.max(h,a.width),p=Math.min(p,a.x),g.log.info(a.x,d,o+l),0===l&&(l=e.node().getBBox().height,g.log.info("Title height",l,o)),f.push(e)}let c=l*s.length;if(s.length>1){let t=(s.length-1)*l*.5;f.forEach((e,i)=>e.attr("y",o+i*l-t)),c=l*s.length}let x=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",d-h/2-(0,n.getConfig2)().state.padding/2).attr("y",o-c/2-(0,n.getConfig2)().state.padding/2-3.5).attr("width",h+(0,n.getConfig2)().state.padding).attr("height",c+(0,n.getConfig2)().state.padding),g.log.info(x)}_++},"drawEdge"),b={},S=(0,g.__name)(function(){},"setConf"),v=(0,g.__name)(function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),E=(0,g.__name)(function(t,i,a,d){let o;e=(0,n.getConfig2)().state;let s=(0,n.getConfig2)().securityLevel;"sandbox"===s&&(o=(0,r.select)("#i"+i));let l="sandbox"===s?(0,r.select)(o.nodes()[0].contentDocument.body):(0,r.select)("body"),f="sandbox"===s?o.nodes()[0].contentDocument:document;g.log.debug("Rendering diagram "+t);let h=l.select(`[id='${i}']`);v(h),N(d.db.getRootDoc(),h.append("g").attr("id",i+"-root"),void 0,!1,l,f,d);let p=e.padding,c=h.node().getBBox(),x=c.width+2*p,u=c.height+2*p;(0,n.configureSvgSize)(h,u,1.75*x,e.useMaxWidth),h.attr("viewBox",`${c.x-e.padding} ${c.y-e.padding} `+x+" "+u)},"draw"),k=(0,g.__name)(t=>t?t.length*e.fontSizeFactor:1,"getLabelWidth"),N=(0,g.__name)((t,i,a,r,s,l,f)=>{let h,p=new o.Graph({compound:!0,multigraph:!0}),c=!0;for(h=0;h<t.length;h++)if("relation"===t[h].stmt){c=!1;break}a?p.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:c?1:e.edgeLengthFactor,nodeSep:c?1:50,isMultiGraph:!0}):p.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:c?1:e.edgeLengthFactor,nodeSep:c?1:50,ranker:"tight-tree",isMultiGraph:!0}),p.setDefaultEdgeLabel(function(){return{}});let u=f.db.getStates(),C=f.db.getRelations();for(let t of Object.keys(u)){let n,g=u[t];if(a&&(g.parentId=a),g.doc){let t=i.append("g").attr("id",g.id).attr("class","stateGroup");n=N(g.doc,t,g.id,!r,s,l,f);{let i=(t=x(t,g,r)).node().getBBox();n.width=i.width,n.height=i.height+e.padding/2,b[g.id]={y:e.compositTitleSize}}}else n=w(i,g,p);if(g.note){let t=w(i,{descriptions:[],id:g.id+"-note",note:g.note,type:"note"},p);"left of"===g.note.position?(p.setNode(n.id+"-note",t),p.setNode(n.id,n)):(p.setNode(n.id,n),p.setNode(n.id+"-note",t)),p.setParent(n.id,n.id+"-group"),p.setParent(n.id+"-note",n.id+"-group")}else p.setNode(n.id,n)}g.log.debug("Count=",p.nodeCount(),p);let m=0;C.forEach(function(t){m++,g.log.debug("Setting edge",t),p.setEdge(t.id1,t.id2,{relation:t,width:k(t.title),height:e.labelHeight*n.common_default.getRows(t.title).length,labelpos:"c"},"id"+m)}),(0,d.layout)(p),g.log.debug("Graph after layout",p.nodes());let y=i.node();p.nodes().forEach(function(t){void 0!==t&&void 0!==p.node(t)?(g.log.warn("Node "+t+": "+JSON.stringify(p.node(t))),s.select("#"+y.id+" #"+t).attr("transform","translate("+(p.node(t).x-p.node(t).width/2)+","+(p.node(t).y+(b[t]?b[t].y:0)-p.node(t).height/2)+" )"),s.select("#"+y.id+" #"+t).attr("data-x-shift",p.node(t).x-p.node(t).width/2),l.querySelectorAll("#"+y.id+" #"+t+" .divider").forEach(t=>{let e=t.parentElement,i=0,a=0;e&&(e.parentElement&&(i=e.parentElement.getBBox().width),Number.isNaN(a=parseInt(e.getAttribute("data-x-shift"),10))&&(a=0)),t.setAttribute("x1",0-a+8),t.setAttribute("x2",i-a-8)})):g.log.debug("No Node "+t+": "+JSON.stringify(p.node(t)))});let _=y.getBBox();p.edges().forEach(function(t){void 0!==t&&void 0!==p.edge(t)&&(g.log.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(p.edge(t))),B(i,p.edge(t),p.edge(t).relation))});let S={id:a||"root",label:a||"root",width:0,height:0};return S.width=(_=y.getBBox()).width+2*e.padding,S.height=_.height+2*e.padding,g.log.debug("Doc rendered",S,p),S},"renderDoc"),D={parser:i.stateDiagram_default,get db(){return new i.StateDB(1)},renderer:{setConf:S,draw:E},styles:i.styles_default,init:(0,g.__name)(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};t.s(["diagram",0,D])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,348728,841358,e=>{"use strict";var t=e.i(843476),s=e.i(271645),n=e.i(893976),r=e.i(170255),o=e.i(336973),i=e.i(437241),l=e.i(586108),a=e.i(289677),g=e.i(230849),d=e.i(4144),c=e.i(610595),u=e.i(351240),m=e.i(188482);function x({tools:e,toolApprovals:r,enabledTools:o,onChange:i,disabled:l,className:a}){let c=(0,s.useId)(),u=(0,g.useScrollShadows)(),m=(0,s.useMemo)(()=>new Map(r.map(e=>[e.toolName,e.message])),[r]),h=(0,s.useMemo)(()=>new Set(o),[o]),v=(0,s.useCallback)(e=>{i(h.has(e)?o.filter(t=>t!==e):[...o,e])},[h,o,i]),f=(0,s.useCallback)(()=>{i(e.map(e=>e.name))},[e,i]),b=(0,s.useCallback)(()=>{i([])},[i]);return 0===e.length?(0,t.jsxs)("div",{className:(0,n.cn)("stg:space-y-1",a),children:[(0,t.jsx)("div",{className:"stg:text-[0.65rem] stg:font-medium stg:text-muted-foreground",children:"Tools"}),(0,t.jsxs)("div",{className:"stg:rounded-md stg:border stg:border-border stg:px-3 stg:py-4 stg:text-center",children:[(0,t.jsx)("p",{className:"stg:text-xs stg:text-muted-foreground",children:"Tools have not been discovered yet."}),(0,t.jsx)("p",{className:"stg:mt-1 stg:text-[0.65rem] stg:text-muted-foreground-subtle",children:"All tools will be enabled by default."})]})]}):(0,t.jsxs)("div",{className:(0,n.cn)("stg:space-y-1.5",a),children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:justify-between",children:[(0,t.jsxs)("span",{className:"stg:text-[0.65rem] stg:font-medium stg:text-muted-foreground",children:["Tools (",e.length,")"]}),(0,t.jsxs)("span",{className:"stg:flex stg:items-center stg:gap-1",children:[(0,t.jsx)("button",{type:"button",onClick:f,disabled:l,className:(0,n.cn)("stg:rounded stg:px-1.5 stg:py-0.5 stg:text-[0.6rem] stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"All"}),(0,t.jsx)("button",{type:"button",onClick:b,disabled:l,className:(0,n.cn)("stg:rounded stg:px-1.5 stg:py-0.5 stg:text-[0.6rem] stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"None"})]})]}),(0,t.jsxs)("div",{className:"stg:relative",children:[u.canScrollUp&&(0,t.jsx)(d.ScrollFade,{position:"top"}),(0,t.jsx)("div",{ref:u.scrollRef,role:"group","aria-label":"MCP server tools",className:"stg:max-h-52 stg:space-y-0.5 stg:overflow-y-auto",children:e.map(e=>{let s=`${c}-tool-${e.name}`,r=e.description?`${s}-desc`:void 0,o=m.get(e.name),i=h.has(e.name);return(0,t.jsx)("div",{className:(0,n.cn)("stg:group stg:rounded-md stg:px-2 stg:py-1.5 stg:transition-colors",i?"stg:bg-accent-hover":"stg:hover:bg-accent-hover"),children:(0,t.jsxs)("label",{htmlFor:s,className:"stg:flex stg:cursor-pointer stg:items-start stg:gap-2",children:[(0,t.jsx)("input",{id:s,type:"checkbox",checked:i,onChange:()=>v(e.name),disabled:l,"aria-describedby":r,className:"stg:mt-0.5 stg:size-3 stg:shrink-0 stg:accent-primary stg:disabled:pointer-events-none stg:disabled:opacity-50"}),(0,t.jsxs)("span",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsxs)("span",{className:"stg:flex stg:items-center stg:gap-1.5",children:[(0,t.jsx)("span",{className:"stg:truncate stg:font-mono stg:text-xs stg:text-foreground",children:e.name}),void 0!==o&&(0,t.jsx)(p,{message:o})]}),e.description&&(0,t.jsx)("span",{id:r,className:"stg:line-clamp-2 stg:group-hover:line-clamp-none stg:group-focus-within:line-clamp-none stg:text-[0.65rem] stg:leading-relaxed stg:text-muted-foreground",children:e.description})]})]})},e.name)})}),u.canScrollDown&&(0,t.jsx)(d.ScrollFade,{position:"bottom"})]})]})}function p({message:e}){return(0,t.jsxs)(m.Tooltip,{children:[(0,t.jsxs)(m.TooltipTrigger,{render:(0,t.jsx)("span",{className:"stg:inline-flex stg:shrink-0 stg:items-center stg:gap-0.5 stg:rounded stg:px-1 stg:py-0.5 stg:text-[0.6rem] stg:font-medium stg:leading-none stg:bg-warning/15 stg:text-warning"}),children:[(0,t.jsx)(h,{}),"Approval"]}),(0,t.jsx)(m.TooltipContent,{side:"top",children:e||"This tool requires approval before execution"})]})}function h(){return(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8 1.5L2.5 4v4c0 3.5 2.5 5.5 5.5 7 3-1.5 5.5-3.5 5.5-7V4L8 1.5z"})})}var v=e.i(793907),f=e.i(168197);function b({mcpServer:e,credentials:r,oauthSignIn:o,discoveredTools:i,toolApprovals:l,enabledTools:a,onEnabledToolsChange:g,onBack:d,onSwitchToManual:m,onSwitchToOAuth:p,error:h,disabled:v,className:f}){let y=e.metadata?.name??e.metadata?.slug??"MCP Server",k=e.spec?.iconUrl,S=e.spec?.description,C=v||r?.isSubmitting,w=!!o&&("initiating"===o.phase||"awaiting-callback"===o.phase||"completing"===o.phase||"connecting"===o.phase),A=(0,s.useCallback)((e,t)=>{r?.onSubmit(e,t)},[r]);return(0,t.jsxs)("div",{className:(0,n.cn)("stg:space-y-3",f),role:"region","aria-label":`Configure ${y}`,children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:gap-2",children:[(0,t.jsx)("button",{type:"button",onClick:d,disabled:r?.isSubmitting||w,className:(0,n.cn)("stg:mt-0.5 stg:shrink-0 stg:rounded stg:p-0.5","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50"),"aria-label":"Back to MCP server list",children:(0,t.jsx)(N,{})}),(0,t.jsxs)("div",{className:"stg:flex stg:min-w-0 stg:flex-1 stg:items-start stg:gap-2",children:[k&&(0,t.jsx)("img",{src:k,alt:"",width:16,height:16,className:"stg:mt-0.5 stg:size-4 stg:shrink-0 stg:rounded-sm stg:object-contain"}),(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsx)("h3",{className:"stg:truncate stg:text-xs stg:font-medium stg:text-foreground",children:y}),S&&(0,t.jsx)("p",{className:"stg:line-clamp-2 stg:text-[0.65rem] stg:leading-relaxed stg:text-muted-foreground",children:S})]})]})]}),o&&(0,t.jsx)(j,{serverName:y,isConnected:o.isConnected,connectionHealth:o.connectionHealth,phase:o.phase,onSignIn:o.onSignIn,onDisconnect:o.onDisconnect,isDisconnecting:o.isDisconnecting,disconnectError:o.disconnectError,onClearDisconnectError:o.onClearDisconnectError,error:o.error,failedPhase:o.failedPhase,isOAuthStranded:o.isOAuthStranded,onClearError:o.onClearError,isVendorApprovalPending:o.isVendorApprovalPending,isVendorApprovalBlocked:o.isVendorApprovalBlocked,vendorApprovalDocsUrl:o.vendorApprovalDocsUrl,canBringOwnApp:o.canBringOwnApp,isOrgOAuthApp:o.isOrgOAuthApp,onBringOwnApp:o.onBringOwnApp,onRemoveOrgApp:o.onRemoveOrgApp,isRemovingOrgApp:o.isRemovingOrgApp,manualEntrySupported:o.manualEntrySupported,onSwitchToManual:m}),!o&&p&&(0,t.jsx)("button",{type:"button",onClick:p,className:"stg:text-[0.65rem] stg:text-muted-foreground stg:underline stg:decoration-muted-foreground/40 stg:underline-offset-2 stg:hover:text-foreground stg:hover:decoration-foreground",children:"Sign in with OAuth instead"}),r&&(0,t.jsx)(u.EnvVarForm,{variables:r.variables,onSubmit:A,isSubmitting:r.isSubmitting,disabled:v||w,title:"Credentials required",defaultSaveForFuture:r.defaultSaveForFuture,hideSaveToggle:r.hideSaveToggle,poolValues:r.poolValues,className:"stg:w-full"}),h&&(0,t.jsx)("div",{role:"alert",className:"stg:rounded-md stg:border stg:border-destructive/30 stg:bg-destructive-subtle stg:px-2.5 stg:py-2 stg:text-xs stg:text-destructive",children:(0,c.getUserMessage)(h)}),(0,t.jsx)(x,{tools:i,toolApprovals:l,enabledTools:a,onChange:g,disabled:!!C||!!r||w})]})}function j({serverName:e,isConnected:r,connectionHealth:i,phase:l,onSignIn:a,onDisconnect:g,isDisconnecting:d,disconnectError:u,onClearDisconnectError:m,error:x,failedPhase:p,isOAuthStranded:h,onClearError:b,isVendorApprovalPending:N,isVendorApprovalBlocked:k,vendorApprovalDocsUrl:S,canBringOwnApp:C,isOrgOAuthApp:w,onBringOwnApp:A,onRemoveOrgApp:E,isRemovingOrgApp:O,manualEntrySupported:T,onSwitchToManual:R}){let[D,L]=(0,s.useState)("idle"),[M,H]=(0,s.useState)("idle"),$=k??N,F="initiating"===l||"awaiting-callback"===l||"completing"===l||"connecting"===l,_=!!h,B=F||!!$&&!w&&!_,U=F||!!d||!!O,P=i===o.OAuthConnectionHealth.OAUTH_CONNECTION_HEALTH_TOKEN_EXPIRED,K=_?{textClass:"stg:text-amber-600 stg:dark:text-amber-400",dotClass:"stg:bg-amber-500",label:"Signed in — tools not discovered yet"}:function(e,t,s){if(s&&!t)return{textClass:"stg:text-amber-600 stg:dark:text-amber-400",dotClass:"stg:bg-amber-500",label:"Pending approval"};switch(e){case o.OAuthConnectionHealth.OAUTH_CONNECTION_HEALTH_HEALTHY:return{textClass:"stg:text-success",dotClass:"stg:bg-success",label:"Signed in"};case o.OAuthConnectionHealth.OAUTH_CONNECTION_HEALTH_TOKEN_EXPIRED_REFRESHABLE:return{textClass:"stg:text-amber-600 stg:dark:text-amber-400",dotClass:"stg:bg-amber-500",label:"Token expired"};case o.OAuthConnectionHealth.OAUTH_CONNECTION_HEALTH_TOKEN_EXPIRED:return{textClass:"stg:text-destructive",dotClass:"stg:bg-destructive",label:"Re-auth needed"};default:return{textClass:"stg:text-muted-foreground",dotClass:"stg:bg-muted-foreground",label:"Sign-in required"}}}(i,r,!!N&&!w),I=r&&g&&!U&&"idle"===D,V=w&&E&&!U&&"idle"===M;return"confirming"===D||"disconnecting"===D?(0,t.jsxs)("div",{className:"stg:space-y-1.5",children:[(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-foreground",children:"Remove credentials? You can reconnect at any time."}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-1.5",children:[(0,t.jsxs)("button",{type:"button",disabled:!!d,onClick:async()=>{if(g){L("disconnecting");try{await g(),L("idle")}catch{L("confirming")}}},className:(0,n.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium","stg:bg-destructive stg:text-destructive-foreground stg:hover:bg-destructive-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:[d&&(0,t.jsx)(y,{}),"Disconnect"]}),(0,t.jsx)("button",{type:"button",disabled:!!d,onClick:()=>{L("idle"),m?.()},className:(0,n.cn)("stg:inline-flex stg:items-center stg:rounded stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"})]}),u&&(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:gap-1.5 stg:text-[0.65rem] stg:text-destructive",role:"alert",children:[(0,t.jsx)("span",{className:"stg:flex-1",children:(0,c.getUserMessage)(u)}),(0,t.jsx)("button",{type:"button",onClick:()=>m?.(),className:"stg:shrink-0 stg:underline stg:underline-offset-2 stg:hover:no-underline",children:"Dismiss"})]})]}):"confirming"===M||"removing"===M?(0,t.jsxs)("div",{className:"stg:space-y-1.5",children:[(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-foreground",children:"Remove your custom OAuth app? The server will revert to the platform's app."}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-1.5",children:[(0,t.jsxs)("button",{type:"button",disabled:!!O,onClick:async()=>{if(E){H("removing");try{await E(),H("idle")}catch{H("confirming")}}},className:(0,n.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium","stg:bg-destructive stg:text-destructive-foreground stg:hover:bg-destructive-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:[O&&(0,t.jsx)(y,{}),"Remove"]}),(0,t.jsx)("button",{type:"button",disabled:!!O,onClick:()=>H("idle"),className:(0,n.cn)("stg:inline-flex stg:items-center stg:rounded stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"})]})]}):(0,t.jsxs)("div",{className:"stg:space-y-1.5",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:justify-between",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-1.5",children:[(0,t.jsxs)("span",{className:(0,n.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:text-[0.65rem] stg:font-medium",K.textClass),children:[(0,t.jsx)("span",{className:(0,n.cn)("stg:size-1.5 stg:rounded-full",K.dotClass),"aria-hidden":"true"}),K.label]}),w&&r&&(0,t.jsx)("span",{className:"stg:text-[0.6rem] stg:text-muted-foreground",children:"Your app"}),I&&(0,t.jsx)("button",{type:"button",onClick:()=>L("confirming"),className:"stg:text-[0.65rem] stg:text-muted-foreground stg:underline stg:decoration-muted-foreground/40 stg:underline-offset-2 stg:hover:text-foreground stg:hover:decoration-foreground",children:"Disconnect"}),V&&(0,t.jsx)("button",{type:"button",onClick:()=>H("confirming"),className:"stg:text-[0.65rem] stg:text-muted-foreground stg:underline stg:decoration-muted-foreground/40 stg:underline-offset-2 stg:hover:text-foreground stg:hover:decoration-foreground",children:"Remove custom app"})]}),(0,t.jsx)("button",{type:"button",onClick:a,disabled:B,className:(0,n.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium",!r||P||_?"stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover":"stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:F?(0,t.jsx)(y,{}):_?"Discover tools":w&&!r?"Sign in with your app":r&&!P?"Re-authenticate":P?"Sign in to reconnect":`Sign in with ${e}`})]}),!r&&!w&&(0,t.jsx)(v.VendorApprovalBlockedNotice,{blocked:!!$,pending:!!N,manualEntrySupported:T??!!R,canBringOwnApp:!!(C&&A),docsUrl:S??null,onBringOwnApp:A,compact:!0}),w&&!r&&(0,t.jsx)("span",{className:"stg:text-[0.6rem] stg:text-muted-foreground",children:"Using your OAuth app"}),x&&(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:gap-1.5 stg:text-[0.65rem] stg:text-destructive",role:"alert",children:[(0,t.jsx)("span",{className:"stg:flex-1",children:(0,f.getOAuthConnectErrorMessage)(x,p??null)}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1.5",children:[(0,c.isRetryableError)(x)&&(0,t.jsx)("button",{type:"button",onClick:()=>{b(),a()},className:"stg:font-medium stg:underline stg:underline-offset-2 stg:hover:no-underline",children:"Try again"}),(0,t.jsx)("button",{type:"button",onClick:b,className:"stg:underline stg:underline-offset-2 stg:hover:no-underline",children:"Dismiss"})]})]}),!r&&!F&&(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[R&&(0,t.jsx)("button",{type:"button",onClick:R,className:"stg:text-[0.65rem] stg:text-muted-foreground stg:underline stg:decoration-muted-foreground/40 stg:underline-offset-2 stg:hover:text-foreground stg:hover:decoration-foreground",children:"Enter token manually"}),C&&A&&!$&&(0,t.jsx)("button",{type:"button",onClick:A,className:"stg:text-[0.65rem] stg:text-muted-foreground stg:underline stg:decoration-muted-foreground/40 stg:underline-offset-2 stg:hover:text-foreground stg:hover:decoration-foreground",children:"Use your own OAuth app"})]})]})}function y(){return(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",className:"stg:animate-spin","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8 2a6 6 0 1 0 6 6"})})}function N(){return(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M10 3L5 8l5 5"})})}var k=e.i(862645),S=e.i(254450);function C(e){var t;return t=e.mcpServerRef,`${t.org}/${t.slug}`}function w(e){let t=e.indexOf("/");return{org:e.slice(0,t),slug:e.slice(t+1),kind:r.ApiResourceKind.mcp_server}}function A({slug:e,onRemove:s,disabled:n}){return(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2 stg:rounded-md stg:bg-muted-faint stg:px-2 stg:py-1 stg:text-xs",children:[(0,t.jsx)(D,{}),(0,t.jsx)("span",{className:"stg:min-w-0 stg:flex-1 stg:truncate stg:text-foreground",children:e}),(0,t.jsx)("button",{type:"button",onClick:s,disabled:n,className:"stg:shrink-0 stg:text-muted-foreground stg:hover:text-destructive stg:disabled:pointer-events-none","aria-label":`Remove ${e}`,children:(0,t.jsx)(L,{})})]})}function E({serverKey:e,entry:s,onConfigure:r,onRetry:o,onRemove:i,disabled:l}){let a,g=(a=e.indexOf("/"),e.slice(a+1)),d="submitting"===s.status,c=null!=s.error;return(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsxs)("div",{className:(0,n.cn)("stg:flex stg:items-center stg:gap-2 stg:rounded-md stg:px-2 stg:py-1 stg:text-xs",c?"stg:bg-destructive-subtle":"stg:bg-muted-faint"),children:[(0,t.jsx)(O,{status:s.status,hasError:c}),(0,t.jsx)("span",{className:"stg:min-w-0 stg:flex-1 stg:truncate stg:text-foreground",children:g}),"loading"===s.status&&!c&&(0,t.jsx)("span",{className:"stg:shrink-0 stg:text-[0.6rem] stg:text-muted-foreground",children:"Loading…"}),"loading"===s.status&&c&&(0,t.jsx)("button",{type:"button",onClick:o,disabled:l,className:(0,n.cn)("stg:shrink-0 stg:rounded stg:px-1.5 stg:py-0.5 stg:text-[0.6rem] stg:font-medium","stg:text-destructive stg:hover:bg-destructive-subtle","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Retry"}),"needsSetup"===s.status&&(0,t.jsx)("button",{type:"button",onClick:r,disabled:l,className:(0,n.cn)("stg:shrink-0 stg:rounded stg:px-1.5 stg:py-0.5 stg:text-[0.6rem] stg:font-medium","stg:text-warning stg:hover:bg-warning/10","stg:disabled:pointer-events-none stg:disabled:opacity-50"),"aria-label":`Configure ${g}`,children:"Configure"}),d&&(0,t.jsx)("span",{className:"stg:shrink-0 stg:text-[0.6rem] stg:text-muted-foreground",children:"Saving…"}),"ready"===s.status&&(0,t.jsxs)("button",{type:"button",onClick:r,disabled:l,className:(0,n.cn)("stg:shrink-0 stg:flex stg:items-center stg:gap-0.5 stg:rounded stg:px-1.5 stg:py-0.5 stg:text-[0.6rem] stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),"aria-label":`Configure ${g}`,children:[s.discoveredTools.length>0&&(0,t.jsxs)("span",{children:[s.enabledTools.length,"/",s.discoveredTools.length," tools"]}),(0,t.jsx)(M,{})]}),(0,t.jsx)("button",{type:"button",onClick:i,disabled:l||d,className:"stg:shrink-0 stg:text-muted-foreground stg:hover:text-destructive stg:disabled:pointer-events-none stg:disabled:opacity-50","aria-label":`Remove ${g}`,children:(0,t.jsx)(L,{})})]}),c&&"loading"===s.status&&(0,t.jsx)("p",{className:"stg:px-2 stg:text-[0.6rem] stg:leading-relaxed stg:text-destructive stg:line-clamp-2",children:s.error.message})]})}function O({status:e,hasError:s}){if(s)return(0,t.jsx)("span",{className:"stg:inline-block stg:size-2 stg:shrink-0 stg:rounded-full stg:bg-destructive","aria-label":"Error"});switch(e){case"loading":case"submitting":return(0,t.jsx)(H,{});case"needsSetup":return(0,t.jsx)("span",{className:"stg:inline-block stg:size-2 stg:shrink-0 stg:rounded-full stg:bg-warning","aria-label":"Needs setup"});case"ready":return(0,t.jsx)("span",{className:"stg:inline-block stg:size-2 stg:shrink-0 stg:rounded-full stg:bg-emerald-500","aria-label":"Ready"})}}function T({text:e,query:s}){if(!s)return(0,t.jsx)(t.Fragment,{children:e});let n=e.toLowerCase().indexOf(s.toLowerCase());return -1===n?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsxs)(t.Fragment,{children:[e.slice(0,n),(0,t.jsx)("span",{className:"stg:font-semibold",children:e.slice(n,n+s.length)}),e.slice(n+s.length)]})}function R(){return(0,t.jsx)("div",{className:"stg:space-y-1 stg:py-1",children:[60,75,50,68].map((e,s)=>(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-1 stg:px-2 stg:py-1.5",children:[(0,t.jsx)("div",{className:"stg:h-3 stg:rounded stg:bg-muted stg:animate-pulse",style:{width:`${e}%`}}),(0,t.jsx)("div",{className:"stg:h-2 stg:rounded stg:bg-muted-subtle stg:animate-pulse",style:{width:`${Math.min(e+15,90)}%`}})]},s))})}function D(){return(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"stg:shrink-0 stg:text-muted-foreground","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"2",y:"2",width:"12",height:"4",rx:"1"}),(0,t.jsx)("rect",{x:"2",y:"10",width:"12",height:"4",rx:"1"}),(0,t.jsx)("circle",{cx:"5",cy:"4",r:"0.75",fill:"currentColor",stroke:"none"}),(0,t.jsx)("circle",{cx:"5",cy:"12",r:"0.75",fill:"currentColor",stroke:"none"})]})}function L(){return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 4L10 10M10 4L4 10"})})}function M(){return(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 4l4 4-4 4"})})}function H(){return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",className:"stg:shrink-0 stg:animate-spin stg:text-muted-foreground","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8 2a6 6 0 1 0 6 6"})})}function $(e){return`${e.org}/${e.slug}`}e.s(["McpServerPicker",0,function({org:e,scope:c,value:u,onChange:m,onDisplayNameResolved:x,disabled:p,className:h,setup:v,initialServerKey:j,poolValues:y,activeOrg:N}){var O;let L,M,H=(0,s.useId)(),$=`${H}-list`,[F,_]=(0,s.useState)(c??"org"),{results:B,isLoading:U,error:P,query:K,setQuery:I}=(O={scope:F},L=(0,l.useStigmer)(),M=(0,s.useCallback)(e=>L.mcpServer.list(e),[L]),(0,a.useResourceSearch)(M,e,O)),V=(0,f.useMcpServerOAuthConnect)(),W=(0,k.useMcpServerConnect)(),[z,q]=(0,s.useState)(null),[X,Y]=(0,s.useState)(-1),[G,J]=(0,s.useState)(()=>j?{type:"configure",serverKey:j}:{type:"list"}),[Q,Z]=(0,s.useState)(()=>new Set),ee=(0,s.useRef)(null),et=(0,g.useScrollShadows)(),es=(0,g.useScrollShadows)(),en=(0,s.useMemo)(()=>new Set(v?Object.keys(v.entries):(u??[]).map(C)),[v,u]),er=en.size,eo=(0,s.useMemo)(()=>B.filter(e=>!en.has(`${e.org}/${e.slug}`)),[B,en]);(0,s.useEffect)(()=>{"configure"!==G.type||v&&G.serverKey in v.entries||J({type:"list"})},[G,v]),(0,s.useEffect)(()=>{Y(-1)},[K]),(0,s.useEffect)(()=>{X>=0&&et.scrollRef.current?.querySelector(`[data-idx="${X}"]`)?.scrollIntoView({block:"nearest"})},[X,et.scrollRef]);let ei=(0,s.useCallback)(e=>{let t={org:e.org,slug:e.slug,kind:r.ApiResourceKind.mcp_server};v?v.onServerAdded(t):m?.([...u??[],{mcpServerRef:t}]),x?.(`${e.org}/${e.slug}`,e.name)},[v,u,m,x]),el=(0,s.useCallback)(e=>{"configure"===G.type&&G.serverKey===e&&J({type:"list"}),v?v.onServerRemoved(w(e)):m?.((u??[]).filter(t=>C(t)!==e))},[v,u,m,G]),ea=(0,s.useCallback)(e=>{"ArrowDown"===e.key?(e.preventDefault(),Y(e=>e<eo.length-1?e+1:e)):"ArrowUp"===e.key?(e.preventDefault(),Y(e=>e>0?e-1:-1)):"Enter"===e.key&&X>=0&&X<eo.length?(e.preventDefault(),ei(eo[X])):"Enter"===e.key&&e.preventDefault()},[eo,X,ei]);if("configure"===G.type&&v){let s=v.entries[G.serverKey];if(!s||"loading"===s.status)return J({type:"list"}),null;let r=w(G.serverKey),l="needsSetup"===s.status||"submitting"===s.status,a=s.mcpServer.spec?.auth,g=a?.targetEnvVar||null,d=!!a,c=!a?.oauthOnly,u=Q.has(G.serverKey),m="needsSetup"===s.status?s.missingVariables:[],x=g&&!u?m.filter(e=>e.key!==g):m,f=x.length>0,j=!!g&&m.some(e=>e.key===g),k=s.mcpServer.status?.oauthStatus,S=d&&k?.vendorApprovalStatus===i.VendorApprovalStatus.PENDING,C=d&&(k?.vendorApprovalStatus===i.VendorApprovalStatus.PENDING||k?.vendorApprovalStatus===i.VendorApprovalStatus.REJECTED),A=Object.keys(s.mcpServer.spec?.env??{}),E=z===G.serverKey,O=E?V.error:null,T=E?V.failedPhase:null,R=E?W.error:null,D="connecting"===T,L=s.oauthConnectionHealth===o.OAuthConnectionHealth.OAUTH_CONNECTION_HEALTH_HEALTHY||s.oauthConnectionHealth===o.OAuthConnectionHealth.OAUTH_CONNECTION_HEALTH_TOKEN_EXPIRED_REFRESHABLE,M=D||d&&"ready"===s.status&&L&&0===s.discoveredTools.length,H=d&&!u?{onSignIn:async()=>{if(!s.mcpServer.metadata?.id)return;let t=s.mcpServer.metadata.id,n=N??e;if(q(G.serverKey),M){try{await W.connect(t,n,void 0,A),V.clearError(),v.onServerAdded(r)}catch{}return}try{await V.startOAuth(t,n,A),v.onServerAdded(r)}catch{}},phase:W.isConnecting&&E?"connecting":V.phase,isConnected:!j,connectionHealth:s.oauthConnectionHealth,error:O??R,failedPhase:O?T:R?"connecting":null,isOAuthStranded:M,onClearError:()=>{V.clearError(),W.clearError()},isVendorApprovalPending:S,isVendorApprovalBlocked:C,vendorApprovalDocsUrl:k?.vendorApprovalDocsUrl||null,manualEntrySupported:c}:void 0,$=d&&c?()=>{Z(e=>{let t=new Set(e);return t.add(G.serverKey),t})}:void 0,F=d&&u?()=>{Z(e=>{let t=new Set(e);return t.delete(G.serverKey),t})}:void 0;return(0,t.jsx)("div",{className:(0,n.cn)("stg:w-72",h),children:(0,t.jsx)(b,{mcpServer:s.mcpServer,oauthSignIn:H,credentials:l&&f?{variables:x,onSubmit:(e,t)=>v.onSubmitEnvVars(r,e,t),isSubmitting:"submitting"===s.status,poolValues:y}:void 0,onSwitchToManual:$,onSwitchToOAuth:F,discoveredTools:s.discoveredTools,toolApprovals:s.toolApprovals,enabledTools:"ready"===s.status?s.enabledTools:s.discoveredTools.map(e=>e.name),onEnabledToolsChange:e=>v.onEnabledToolsChange(r,e),onBack:()=>J({type:"list"}),error:s.error,disabled:p})})}return(0,t.jsxs)("div",{className:(0,n.cn)("stg:space-y-2 stg:w-72",h),children:[er>0&&(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("div",{className:"stg:text-[0.65rem] stg:font-medium stg:text-muted-foreground",children:"Selected"}),(0,t.jsxs)("div",{className:"stg:relative",children:[es.canScrollUp&&(0,t.jsx)(d.ScrollFade,{position:"top"}),(0,t.jsx)("div",{ref:es.scrollRef,className:"stg:max-h-28 stg:space-y-1 stg:overflow-y-auto",children:v?Object.entries(v.entries).map(([e,s])=>(0,t.jsx)(E,{serverKey:e,entry:s,onConfigure:()=>J({type:"configure",serverKey:e}),onRetry:()=>v.onServerAdded(w(e)),onRemove:()=>el(e),disabled:p},e)):(u??[]).map(e=>{let s=C(e);return(0,t.jsx)(A,{slug:e.mcpServerRef.slug,onRemove:()=>el(s),disabled:p},s)})}),es.canScrollDown&&(0,t.jsx)(d.ScrollFade,{position:"bottom"})]})]}),(0,t.jsx)("input",{ref:ee,type:"text",role:"combobox","aria-expanded":!0,"aria-controls":$,"aria-activedescendant":X>=0?`${H}-opt-${X}`:void 0,placeholder:"Search MCP servers...",value:K,onChange:e=>I(e.target.value),onKeyDown:ea,disabled:p,className:"stg:w-full stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5 stg:text-xs stg:text-foreground stg:placeholder:text-muted-foreground stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring stg:disabled:pointer-events-none stg:disabled:opacity-50",autoFocus:!0}),(0,t.jsx)(S.ScopeToggle,{value:F,onChange:_,disabled:p}),P&&(0,t.jsx)("p",{className:"stg:text-xs stg:text-destructive",children:P.message}),(0,t.jsxs)("div",{className:"stg:relative",children:[et.canScrollUp&&(0,t.jsx)(d.ScrollFade,{position:"top"}),(0,t.jsx)("div",{ref:et.scrollRef,id:$,role:"listbox","aria-label":"MCP Servers",className:"stg:max-h-52 stg:overflow-y-auto",children:U?(0,t.jsx)(R,{}):0===eo.length?(0,t.jsx)("div",{className:"stg:py-4 stg:text-center stg:text-xs stg:text-muted-foreground",children:K?"No MCP servers match your search":er>0?"All available servers selected":"No MCP servers found"}):eo.map((e,s)=>(0,t.jsxs)("button",{id:`${H}-opt-${s}`,type:"button","data-idx":s,onClick:()=>ei(e),disabled:p,className:(0,n.cn)("stg:group stg:flex stg:w-full stg:flex-col stg:gap-0.5 stg:rounded-md stg:px-2 stg:py-1.5 stg:text-left stg:text-xs stg:transition-colors","stg:disabled:pointer-events-none stg:disabled:opacity-50",s===X?"stg:bg-accent stg:text-foreground":"stg:text-foreground stg:hover:bg-accent-hover"),role:"option","aria-selected":s===X,children:[(0,t.jsxs)("span",{className:"stg:flex stg:items-center stg:gap-1.5",children:[(0,t.jsx)(D,{}),(0,t.jsx)("span",{className:"stg:truncate stg:font-medium",children:(0,t.jsx)(T,{text:e.name,query:K})}),(0,t.jsx)("span",{className:"stg:ml-auto stg:shrink-0 stg:text-[0.6rem] stg:text-muted-foreground",children:e.org})]}),e.description&&(0,t.jsx)("span",{className:(0,n.cn)("stg:pl-5 stg:text-[0.65rem] stg:text-muted-foreground",s!==X&&"stg:line-clamp-2 stg:group-hover:line-clamp-none"),children:e.description})]},e.id))}),et.canScrollDown&&(0,t.jsx)(d.ScrollFade,{position:"bottom"})]})]})}],348728);let F="stgm-skill-list";function _({text:e,query:s}){if(!s)return(0,t.jsx)(t.Fragment,{children:e});let n=e.toLowerCase().indexOf(s.toLowerCase());return -1===n?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsxs)(t.Fragment,{children:[e.slice(0,n),(0,t.jsx)("span",{className:"stg:font-semibold",children:e.slice(n,n+s.length)}),e.slice(n+s.length)]})}function B(){return(0,t.jsx)("div",{className:"stg:space-y-1 stg:py-1",children:[55,70,45,62].map((e,s)=>(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-1 stg:px-2 stg:py-1.5",children:[(0,t.jsx)("div",{className:"stg:h-3 stg:rounded stg:bg-muted stg:animate-pulse",style:{width:`${e}%`}}),(0,t.jsx)("div",{className:"stg:h-2 stg:rounded stg:bg-muted-subtle stg:animate-pulse",style:{width:`${Math.min(e+15,90)}%`}})]},s))})}function U(){return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"stg:shrink-0 stg:text-muted-foreground","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M2 3h12M2 7h8M2 11h10M2 15h6"})})}function P(){return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 4L10 10M10 4L4 10"})})}e.s(["SkillPicker",0,function({org:e,scope:o,value:i,onChange:c,onDisplayNameResolved:u,disabled:m,className:x}){var p;let h,v,[f,b]=(0,s.useState)(o??"org"),{results:j,isLoading:y,error:N,query:k,setQuery:C}=(p={scope:f},h=(0,l.useStigmer)(),v=(0,s.useCallback)(e=>h.skill.list(e),[h]),(0,a.useResourceSearch)(v,e,p)),[w,A]=(0,s.useState)(-1),E=(0,s.useRef)(null),O=(0,g.useScrollShadows)(),T=(0,g.useScrollShadows)(),R=(0,s.useMemo)(()=>new Set(i.map($)),[i]),D=(0,s.useMemo)(()=>j.filter(e=>!R.has(`${e.org}/${e.slug}`)),[j,R]);(0,s.useEffect)(()=>{A(-1)},[k]),(0,s.useEffect)(()=>{w>=0&&O.scrollRef.current?.querySelector(`[data-idx="${w}"]`)?.scrollIntoView({block:"nearest"})},[w,O.scrollRef]);let L=(0,s.useCallback)(e=>{c([...i,{org:e.org,slug:e.slug,kind:r.ApiResourceKind.skill}]),u?.(`${e.org}/${e.slug}`,e.name)},[i,c,u]),M=(0,s.useCallback)(e=>{c(i.filter(t=>$(t)!==e))},[i,c]),H=(0,s.useCallback)(e=>{"ArrowDown"===e.key?(e.preventDefault(),A(e=>e<D.length-1?e+1:e)):"ArrowUp"===e.key?(e.preventDefault(),A(e=>e>0?e-1:-1)):"Enter"===e.key&&w>=0&&w<D.length?(e.preventDefault(),L(D[w])):"Enter"===e.key&&e.preventDefault()},[D,w,L]);return(0,t.jsxs)("div",{className:["stg:space-y-2 stg:w-72",x].filter(Boolean).join(" "),children:[i.length>0&&(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("div",{className:"stg:text-[0.65rem] stg:font-medium stg:text-muted-foreground",children:"Selected"}),(0,t.jsxs)("div",{className:"stg:relative",children:[T.canScrollUp&&(0,t.jsx)(d.ScrollFade,{position:"top"}),(0,t.jsx)("div",{ref:T.scrollRef,className:"stg:max-h-28 stg:space-y-1 stg:overflow-y-auto",children:i.map(e=>{let s=$(e);return(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2 stg:rounded-md stg:bg-muted-faint stg:px-2 stg:py-1 stg:text-xs",children:[(0,t.jsx)(U,{}),(0,t.jsx)("span",{className:"stg:min-w-0 stg:flex-1 stg:truncate stg:text-foreground",children:e.slug}),(0,t.jsx)("button",{type:"button",onClick:()=>M(s),disabled:m,className:"stg:shrink-0 stg:text-muted-foreground stg:hover:text-destructive stg:disabled:pointer-events-none","aria-label":`Remove ${e.slug}`,children:(0,t.jsx)(P,{})})]},s)})}),T.canScrollDown&&(0,t.jsx)(d.ScrollFade,{position:"bottom"})]})]}),(0,t.jsx)("input",{ref:E,type:"text",role:"combobox","aria-expanded":!0,"aria-controls":F,"aria-activedescendant":w>=0?`stgm-skill-${w}`:void 0,placeholder:"Search skills...",value:k,onChange:e=>C(e.target.value),onKeyDown:H,disabled:m,className:"stg:w-full stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5 stg:text-xs stg:text-foreground stg:placeholder:text-muted-foreground stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring stg:disabled:pointer-events-none stg:disabled:opacity-50",autoFocus:!0}),(0,t.jsx)(S.ScopeToggle,{value:f,onChange:b,disabled:m}),N&&(0,t.jsx)("p",{className:"stg:text-xs stg:text-destructive",children:N.message}),(0,t.jsxs)("div",{className:"stg:relative",children:[O.canScrollUp&&(0,t.jsx)(d.ScrollFade,{position:"top"}),(0,t.jsx)("div",{ref:O.scrollRef,id:F,role:"listbox","aria-label":"Skills",className:"stg:max-h-52 stg:overflow-y-auto",children:y?(0,t.jsx)(B,{}):0===D.length?(0,t.jsx)("div",{className:"stg:py-4 stg:text-center stg:text-xs stg:text-muted-foreground",children:k?"No skills match your search":i.length>0?"All available skills selected":"No skills found"}):D.map((e,s)=>(0,t.jsxs)("button",{id:`stgm-skill-${s}`,type:"button","data-idx":s,onClick:()=>L(e),disabled:m,className:(0,n.cn)("stg:group stg:flex stg:w-full stg:flex-col stg:gap-0.5 stg:rounded-md stg:px-2 stg:py-1.5 stg:text-left stg:text-xs stg:transition-colors","stg:disabled:pointer-events-none stg:disabled:opacity-50",s===w?"stg:bg-accent stg:text-foreground":"stg:text-foreground stg:hover:bg-accent-hover"),role:"option","aria-selected":s===w,children:[(0,t.jsxs)("span",{className:"stg:flex stg:items-center stg:gap-1.5",children:[(0,t.jsx)(U,{}),(0,t.jsx)("span",{className:"stg:truncate stg:font-medium",children:(0,t.jsx)(_,{text:e.name,query:k})}),(0,t.jsx)("span",{className:"stg:ml-auto stg:shrink-0 stg:text-[0.6rem] stg:text-muted-foreground",children:e.org})]}),e.description&&(0,t.jsx)("span",{className:(0,n.cn)("stg:pl-5 stg:text-[0.65rem] stg:text-muted-foreground",s!==w&&"stg:line-clamp-2 stg:group-hover:line-clamp-none"),children:e.description})]},e.id))}),O.canScrollDown&&(0,t.jsx)(d.ScrollFade,{position:"bottom"})]})]})}],841358)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,879205,t=>{"use strict";var e=t.i(843476),s=t.i(271645),r=t.i(893976),n=t.i(903198);function o(){return(0,e.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",className:"stg:mx-auto stg:animate-spin stg:text-muted-foreground","aria-hidden":"true",children:(0,e.jsx)("path",{d:"M8 2a6 6 0 1 0 6 6"})})}function i(){return(0,e.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"stg:mx-auto stg:text-success","aria-hidden":"true",children:(0,e.jsx)("path",{d:"m3 8.5 3.5 3.5 6.5-8"})})}function a(){return(0,e.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"stg:mx-auto stg:text-destructive","aria-hidden":"true",children:[(0,e.jsx)("path",{d:"M8 1.5 1 14h14L8 1.5Z"}),(0,e.jsx)("path",{d:"M8 6v3.5"}),(0,e.jsx)("circle",{cx:"8",cy:"11.5",r:"0.5",fill:"currentColor",stroke:"none"})]})}t.s(["OAuthCallbackHandler",0,function({onFallback:t,className:c}){let[d,l]=(0,s.useState)("processing"),[u,g]=(0,s.useState)(null),h=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{if(h.current)return;h.current=!0;let e=new URLSearchParams(window.location.search),s=e.get("code"),r=e.get("state"),o=e.get("error");if(o){let t=e.get("error_description")||o;g(`Authentication failed: ${t}`),l("error");return}if(!s||!r){g("Missing authorization code or state parameter. This page should only be reached via an OAuth redirect."),l("error");return}let i={type:n.OAUTH_CALLBACK_MESSAGE_TYPE,code:s,state:r},a=!1;try{let t=new BroadcastChannel(n.OAUTH_BROADCAST_CHANNEL);t.postMessage(i),t.close(),a=!0}catch{}let c=window.opener;if(c&&!c.closed){try{c.postMessage(i,window.location.origin),l("done"),window.close()}catch{a?(l("done"),window.close()):(g("Could not communicate with the parent window. Please close this tab and try again."),l("error"))}return}if(a){l("done"),window.close();return}if(t){t({code:s,state:r}),l("done");return}l("no-opener")},[t]),(0,e.jsx)("div",{className:(0,r.cn)("stg:flex stg:min-h-[200px] stg:items-center stg:justify-center stg:p-8",c),children:(0,e.jsxs)("div",{className:"stg:max-w-sm stg:text-center",children:["processing"===d&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o,{}),(0,e.jsx)("p",{className:"stg:mt-3 stg:text-sm stg:text-muted-foreground",children:"Completing authentication..."})]}),"done"===d&&(0,e.jsx)("p",{className:"stg:text-sm stg:text-muted-foreground",children:"Authentication complete. You can close this window."}),"no-opener"===d&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(i,{}),(0,e.jsx)("p",{className:"stg:mt-3 stg:text-sm stg:font-medium stg:text-foreground",children:"Authentication successful"}),(0,e.jsx)("p",{className:"stg:mt-1 stg:text-xs stg:text-muted-foreground",children:"Please close this tab and return to the application to continue."})]}),"error"===d&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(a,{}),(0,e.jsx)("p",{className:"stg:mt-3 stg:text-sm stg:font-medium stg:text-destructive",children:"Authentication failed"}),u&&(0,e.jsx)("p",{className:"stg:mt-1 stg:text-xs stg:text-muted-foreground",children:u})]})]})})}])},777797,t=>{"use strict";var e=t.i(843476),s=t.i(879205);t.s(["default",0,function(){return(0,e.jsx)(s.OAuthCallbackHandler,{className:"min-h-screen"})}])}]);
|