@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,90 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,443578,e=>{"use strict";var t=e.i(908381),n=e.i(171206),i=(0,n.__name)((e,i,r,a)=>{e.attr("class",r);let{width:l,height:c,x:h,y:d}=o(e,i);(0,t.configureSvgSize)(e,c,l,a);let g=s(h,d,l,c,i);e.attr("viewBox",g),n.log.debug(`viewBox configured: ${g} with padding: ${i}`)},"setupViewPortForSVG"),o=(0,n.__name)((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+2*t,height:n.height+2*t,x:n.x,y:n.y}},"calculateDimensionsWithPadding"),s=(0,n.__name)((e,t,n,i,o)=>`${e-o} ${t-o} ${n} ${i}`,"createViewBox");e.s(["setupViewPortForSVG",0,i])},707510,e=>{"use strict";var t=e.i(171206);e.i(947716);var n=e.i(723685),i=(0,t.__name)((e,t)=>{let i;return"sandbox"===t&&(i=(0,n.select)("#i"+e)),("sandbox"===t?(0,n.select)(i.nodes()[0].contentDocument.body):(0,n.select)("body")).select(`[id="${e}"]`)},"getDiagramElement");e.s(["getDiagramElement",0,i])},145966,e=>{"use strict";let t;var n=e.i(707510),i=e.i(443578),o=e.i(233755);e.i(95547),e.i(609003),e.i(347578),e.i(136013),e.i(620144),e.i(864421),e.i(669587);var s=e.i(908381),r=e.i(171206);let a="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),l=new Uint8Array(16),c=[];for(let e=0;e<256;++e)c.push((e+256).toString(16).slice(1));let h=function(e,n,i){if(a&&!n&&!e)return a();let o=(e=e||{}).random??e.rng?.()??function(){if(!t){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");t=crypto.getRandomValues.bind(crypto)}return t(l)}();if(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,n){if((i=i||0)<0||i+16>n.length)throw RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`);for(let e=0;e<16;++e)n[i+e]=o[e];return n}return function(e,t=0){return(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase()}(o)};var d=e.i(536413),g=e.i(512690),u=e.i(709240),p=function(){var e=(0,r.__name)(function(e,t,n,i){for(n=n||{},i=e.length;i--;n[e[i]]=t);return n},"o"),t=[1,4],n=[1,13],i=[1,12],o=[1,15],s=[1,16],a=[1,20],l=[1,19],c=[6,7,8],h=[1,26],d=[1,24],g=[1,25],u=[6,7,11],p=[1,6,13,15,16,19,22],y=[1,33],m=[1,34],f=[1,6,7,11,13,15,16,19,22],_={trace:(0,r.__name)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:(0,r.__name)(function(e,t,n,i,o,s,r){var a=s.length-1;switch(o){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",s[a].id),i.addNode(s[a-1].length,s[a].id,s[a].descr,s[a].type);break;case 16:i.getLogger().trace("Icon: ",s[a]),i.decorateNode({icon:s[a]});break;case 17:case 21:i.decorateNode({class:s[a]});break;case 18:i.getLogger().trace("SPACELIST");break;case 19:i.getLogger().trace("Node: ",s[a].id),i.addNode(0,s[a].id,s[a].descr,s[a].type);break;case 20:i.decorateNode({icon:s[a]});break;case 25:i.getLogger().trace("node found ..",s[a-2]),this.$={id:s[a-1],descr:s[a-1],type:i.getType(s[a-2],s[a])};break;case 26:this.$={id:s[a],descr:s[a],type:i.nodeType.DEFAULT};break;case 27:i.getLogger().trace("node found ..",s[a-3]),this.$={id:s[a-3],descr:s[a-1],type:i.getType(s[a-2],s[a])}}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:t},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:t},{6:n,7:[1,10],9:9,12:11,13:i,14:14,15:o,16:s,17:17,18:18,19:a,22:l},e(c,[2,3]),{1:[2,2]},e(c,[2,4]),e(c,[2,5]),{1:[2,6],6:n,12:21,13:i,14:14,15:o,16:s,17:17,18:18,19:a,22:l},{6:n,9:22,12:11,13:i,14:14,15:o,16:s,17:17,18:18,19:a,22:l},{6:h,7:d,10:23,11:g},e(u,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:a,22:l}),e(u,[2,18]),e(u,[2,19]),e(u,[2,20]),e(u,[2,21]),e(u,[2,23]),e(u,[2,24]),e(u,[2,26],{19:[1,30]}),{20:[1,31]},{6:h,7:d,10:32,11:g},{1:[2,7],6:n,12:21,13:i,14:14,15:o,16:s,17:17,18:18,19:a,22:l},e(p,[2,14],{7:y,11:m}),e(f,[2,8]),e(f,[2,9]),e(f,[2,10]),e(u,[2,15]),e(u,[2,16]),e(u,[2,17]),{20:[1,35]},{21:[1,36]},e(p,[2,13],{7:y,11:m}),e(f,[2,11]),e(f,[2,12]),{21:[1,37]},e(u,[2,25]),e(u,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:(0,r.__name)(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},"parseError"),parse:(0,r.__name)(function(e){var t=this,n=[0],i=[],o=[null],s=[],a=this.table,l="",c=0,h=0,d=0,g=s.slice.call(arguments,1),u=Object.create(this.lexer),p={};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p[y]=this.yy[y]);u.setInput(e,p),p.lexer=u,p.parser=this,void 0===u.yylloc&&(u.yylloc={});var m=u.yylloc;s.push(m);var f=u.options&&u.options.ranges;function _(){var e;return"number"!=typeof(e=i.pop()||u.lex()||1)&&(e instanceof Array&&(e=(i=e).pop()),e=t.symbols_[e]||e),e}"function"==typeof p.parseError?this.parseError=p.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,r.__name)(function(e){n.length=n.length-2*e,o.length=o.length-e,s.length=s.length-e},"popStack"),(0,r.__name)(_,"lex");for(var b,E,k,S,x,N,L,D,T,$={};;){if(k=n[n.length-1],this.defaultActions[k]?S=this.defaultActions[k]:(null==b&&(b=_()),S=a[k]&&a[k][b]),void 0===S||!S.length||!S[0]){var C="";for(N in T=[],a[k])this.terminals_[N]&&N>2&&T.push("'"+this.terminals_[N]+"'");C=u.showPosition?"Parse error on line "+(c+1)+":\n"+u.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(C,{text:u.match,token:this.terminals_[b]||b,line:u.yylineno,loc:m,expected:T})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+b);switch(S[0]){case 1:n.push(b),o.push(u.yytext),s.push(u.yylloc),n.push(S[1]),b=null,E?(b=E,E=null):(h=u.yyleng,l=u.yytext,c=u.yylineno,m=u.yylloc,d>0&&d--);break;case 2:if(L=this.productions_[S[1]][1],$.$=o[o.length-L],$._$={first_line:s[s.length-(L||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(L||1)].first_column,last_column:s[s.length-1].last_column},f&&($._$.range=[s[s.length-(L||1)].range[0],s[s.length-1].range[1]]),void 0!==(x=this.performAction.apply($,[l,h,c,p,S[1],o,s].concat(g))))return x;L&&(n=n.slice(0,-1*L*2),o=o.slice(0,-1*L),s=s.slice(0,-1*L)),n.push(this.productions_[S[1]][0]),o.push($.$),s.push($._$),D=a[n[n.length-2]][n[n.length-1]],n.push(D);break;case 3:return!0}}return!0},"parse")};function b(){this.yy={}}return _.lexer={EOF:1,parseError:(0,r.__name)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,r.__name)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.__name)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,r.__name)(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.__name)(function(){return this._more=!0,this},"more"),reject:(0,r.__name)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,r.__name)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,r.__name)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.__name)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.__name)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,r.__name)(function(e,t){var n,i,o;if(this.options.backtrack_lexer&&(o={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(o.yylloc.range=this.yylloc.range.slice(0))),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var s in o)this[s]=o[s];return!1},"test_match"),next:(0,r.__name)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,n,i,o=this._currentRules(),s=0;s<o.length;s++)if((n=this._input.match(this.rules[o[s]]))&&(!t||n[0].length>t[0].length)){if(t=n,i=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,o[s])))return e;if(!this._backtrack)return!1;t=!1;continue}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,o[i]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.__name)(function(){var e=this.next();return e||this.lex()},"lex"),begin:(0,r.__name)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,r.__name)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.__name)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.__name)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,r.__name)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,r.__name)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,r.__name)(function(e,t,n,i){switch(n){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},(0,r.__name)(b,"Parser"),b.prototype=_,_.Parser=b,new b}();p.parser=p;var y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},m=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=y,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{(0,r.__name)(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(e){for(let t=this.nodes.length-1;t>=0;t--)if(this.nodes[t].level<e)return this.nodes[t];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(e,t,n,i){r.log.info("addNode",e,t,n,i);let o=!1;0===this.nodes.length?(this.baseLevel=e,e=0,o=!0):void 0!==this.baseLevel&&(e-=this.baseLevel,o=!1);let a=(0,s.getConfig2)(),l=a.mindmap?.padding??s.defaultConfig_default.mindmap.padding;switch(i){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:l*=2}let c={id:this.count++,nodeId:(0,s.sanitizeText)(t,a),level:e,descr:(0,s.sanitizeText)(n,a),type:i,children:[],width:a.mindmap?.maxNodeWidth??s.defaultConfig_default.mindmap.maxNodeWidth,padding:l,isRoot:o},h=this.getParent(e);if(h)h.children.push(c),this.nodes.push(c);else if(o)this.nodes.push(c);else throw Error(`There can be only one root. No parent could be found for ("${c.descr}")`)}getType(e,t){switch(r.log.debug("In get type",e,t),e){case"[":return this.nodeType.RECT;case"(":return")"===t?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(e,t){this.elements[e]=t}getElementById(e){return this.elements[e]}decorateNode(e){if(!e)return;let t=(0,s.getConfig2)(),n=this.nodes[this.nodes.length-1];e.icon&&(n.icon=(0,s.sanitizeText)(e.icon,t)),e.class&&(n.class=(0,s.sanitizeText)(e.class,t))}type2Str(e){switch(e){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(e,t){if(0===e.level?e.section=void 0:e.section=t,e.children)for(let[n,i]of e.children.entries()){let o=0===e.level?n%11:t;this.assignSections(i,o)}}flattenNodes(e,t){let n=(0,s.getConfig2)(),i=["mindmap-node"];!0===e.isRoot?i.push("section-root","section--1"):void 0!==e.section&&i.push(`section-${e.section}`),e.class&&i.push(e.class);let o=i.join(" "),a=(0,r.__name)(e=>{let t=(n.theme?.toLowerCase()??"").includes("redux");switch(e){case y.CIRCLE:return"mindmapCircle";case y.RECT:return"rect";case y.ROUNDED_RECT:return"rounded";case y.CLOUD:return"cloud";case y.BANG:return"bang";case y.HEXAGON:return"hexagon";case y.DEFAULT:return t?"rounded":"defaultMindmapNode";case y.NO_BORDER:default:return"rect"}},"getShapeFromType"),l={id:e.id.toString(),domId:"node_"+e.id.toString(),label:e.descr,labelType:"markdown",isGroup:!1,shape:a(e.type),width:e.width,height:e.height??0,padding:e.padding,cssClasses:o,cssStyles:[],look:n.look,icon:e.icon,x:e.x,y:e.y,level:e.level,nodeId:e.nodeId,type:e.type,section:e.section};if(t.push(l),e.children)for(let n of e.children)this.flattenNodes(n,t)}generateEdges(e,t){if(!e.children)return;let n=(0,s.getConfig2)();for(let i of e.children){let o="edge";void 0!==i.section&&(o+=` section-edge-${i.section}`);let s=e.level+1;o+=` edge-depth-${s}`;let r={id:`edge_${e.id}_${i.id}`,start:e.id.toString(),end:i.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:n.look,classes:o,depth:e.level,section:i.section};t.push(r),this.generateEdges(i,t)}}getData(){let e=this.getMindmap(),t=(0,s.getConfig2)();if(void 0!==(0,s.getUserDefinedConfig)().layout||(t.layout="cose-bilkent"),!e)return{nodes:[],edges:[],config:t};r.log.debug("getData: mindmapRoot",e,t),this.assignSections(e);let n=[],i=[];this.flattenNodes(e,n),this.generateEdges(e,i),r.log.debug(`getData: processed ${n.length} nodes and ${i.length} edges`);let o=new Map;for(let e of n)o.set(e.id,{shape:e.shape,width:e.width,height:e.height,padding:e.padding});return{nodes:n,edges:i,config:t,rootNode:e,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(o),type:"mindmap",diagramId:"mindmap-"+h()}}getLogger(){return r.log}},f=(0,r.__name)(async(e,t,a,l)=>{r.log.debug("Rendering mindmap diagram\n"+e);let c=l.db,h=c.getData(),d=(0,n.getDiagramElement)(t,h.config.securityLevel);if(h.type=l.type,h.layoutAlgorithm=(0,o.getRegisteredLayoutAlgorithm)(h.config.layout,{fallback:"cose-bilkent"}),h.diagramId=t,!c.getMindmap())return;h.nodes.forEach(e=>{"rounded"===e.shape?(e.radius=15,e.taper=15,e.stroke="none",e.width=0,e.padding=15):"circle"===e.shape?e.padding=10:"rect"===e.shape?(e.width=0,e.padding=10):"hexagon"===e.shape&&(e.width=0,e.height=0)}),await (0,o.render)(h,d);let{themeVariables:g}=(0,s.getConfig)(),{useGradient:u,gradientStart:p,gradientStop:y}=g;if(u&&p&&y){let e=d.attr("id"),t=d.append("defs").append("linearGradient").attr("id",`${e}-gradient`).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");t.append("stop").attr("offset","0%").attr("stop-color",p).attr("stop-opacity",1),t.append("stop").attr("offset","100%").attr("stop-color",y).attr("stop-opacity",1)}(0,i.setupViewPortForSVG)(d,h.config.mindmap?.padding??s.defaultConfig_default.mindmap.padding,"mindmapDiagram",h.config.mindmap?.useMaxWidth??s.defaultConfig_default.mindmap.useMaxWidth)},"draw"),_=(0,r.__name)(e=>{let{theme:t,look:n}=e,i="";for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e["lineColor"+t]=e["lineColor"+t]||e["cScaleInv"+t],(0,u.isDark)(e["lineColor"+t])?e["lineColor"+t]=(0,g.lighten)(e["lineColor"+t],20):e["lineColor"+t]=(0,d.darken)(e["lineColor"+t],20);for(let o=0;o<e.THEME_COLOR_LIMIT;o++){let s=""+("neo"===n?Math.max(10-(o-1)*2,2):17-3*o);i+=`
|
|
2
|
+
.section-${o-1} rect, .section-${o-1} path, .section-${o-1} circle, .section-${o-1} polygon, .section-${o-1} path {
|
|
3
|
+
fill: ${e["cScale"+o]};
|
|
4
|
+
}
|
|
5
|
+
.section-${o-1} text {
|
|
6
|
+
fill: ${e["cScaleLabel"+o]};
|
|
7
|
+
}
|
|
8
|
+
.section-${o-1} span {
|
|
9
|
+
color: ${e["cScaleLabel"+o]};
|
|
10
|
+
}
|
|
11
|
+
.node-icon-${o-1} {
|
|
12
|
+
font-size: 40px;
|
|
13
|
+
color: ${e["cScaleLabel"+o]};
|
|
14
|
+
}
|
|
15
|
+
.section-edge-${o-1}{
|
|
16
|
+
stroke: ${e["cScale"+o]};
|
|
17
|
+
}
|
|
18
|
+
.edge-depth-${o-1}{
|
|
19
|
+
stroke-width: ${s};
|
|
20
|
+
}
|
|
21
|
+
.section-${o-1} line {
|
|
22
|
+
stroke: ${e["cScaleInv"+o]} ;
|
|
23
|
+
stroke-width: 3;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.disabled, .disabled circle, .disabled text {
|
|
27
|
+
fill: lightgray;
|
|
28
|
+
}
|
|
29
|
+
.disabled text {
|
|
30
|
+
fill: #efefef;
|
|
31
|
+
}
|
|
32
|
+
[data-look="neo"].mindmap-node.section-${o-1} rect, [data-look="neo"].mindmap-node.section-${o-1} path, [data-look="neo"].mindmap-node.section-${o-1} circle, [data-look="neo"].mindmap-node.section-${o-1} polygon {
|
|
33
|
+
fill: ${"redux"===t||"redux-dark"===t||"neutral"===t?e.mainBkg:e["cScale"+o]};
|
|
34
|
+
stroke: ${"redux"===t||"redux-dark"===t?e.nodeBorder:e["cScale"+o]};
|
|
35
|
+
stroke-width: ${e.strokeWidth??2}px;
|
|
36
|
+
}
|
|
37
|
+
[data-look="neo"].section-edge-${o-1}{
|
|
38
|
+
stroke: ${t?.includes("redux")||"neo-dark"===t?e.nodeBorder:e["cScale"+o]};
|
|
39
|
+
}
|
|
40
|
+
[data-look="neo"].mindmap-node.section-${o-1} text {
|
|
41
|
+
fill: ${"redux"===t||"redux-dark"===t?e.nodeBorder:e["cScaleLabel"+("neutral"===t?1:o)]};
|
|
42
|
+
}
|
|
43
|
+
`}return i},"genSections"),b=(0,r.__name)((e,t,n)=>{let i="";for(let o=0;o<e;o++)i+=`
|
|
44
|
+
[data-look="neo"].mindmap-node.section-${o-1} rect, [data-look="neo"].mindmap-node.section-${o-1} path, [data-look="neo"].mindmap-node.section-${o-1} circle, [data-look="neo"].mindmap-node.section-${o-1} polygon {
|
|
45
|
+
stroke: url(${t}-gradient);
|
|
46
|
+
fill: ${n};
|
|
47
|
+
}
|
|
48
|
+
.section-${o-1} line {
|
|
49
|
+
stroke-width: 0;
|
|
50
|
+
}`;return i},"genGradient"),E=(0,r.__name)(e=>{let{theme:t}=e,n=e.svgId,i=e.dropShadow?e.dropShadow.replace("url(#drop-shadow)",`url(${n}-drop-shadow)`):"none";return`
|
|
51
|
+
.edge {
|
|
52
|
+
stroke-width: 3;
|
|
53
|
+
}
|
|
54
|
+
${_(e)}
|
|
55
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
56
|
+
fill: ${e.git0};
|
|
57
|
+
}
|
|
58
|
+
.section-root text {
|
|
59
|
+
fill: ${e.gitBranchLabel0};
|
|
60
|
+
}
|
|
61
|
+
.section-root span {
|
|
62
|
+
color: ${t?.includes("redux")?e.nodeBorder:e.gitBranchLabel0};
|
|
63
|
+
}
|
|
64
|
+
.icon-container {
|
|
65
|
+
height:100%;
|
|
66
|
+
display: flex;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
align-items: center;
|
|
69
|
+
}
|
|
70
|
+
.edge {
|
|
71
|
+
fill: none;
|
|
72
|
+
}
|
|
73
|
+
.mindmap-node-label {
|
|
74
|
+
dy: 1em;
|
|
75
|
+
alignment-baseline: middle;
|
|
76
|
+
text-anchor: middle;
|
|
77
|
+
dominant-baseline: middle;
|
|
78
|
+
text-align: center;
|
|
79
|
+
}
|
|
80
|
+
[data-look="neo"].mindmap-node {
|
|
81
|
+
filter: ${i};
|
|
82
|
+
}
|
|
83
|
+
[data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
|
|
84
|
+
fill: ${t?.includes("redux")?e.mainBkg:e.git0};
|
|
85
|
+
}
|
|
86
|
+
[data-look="neo"].mindmap-node.section-root .text-inner-tspan {
|
|
87
|
+
fill: ${t?.includes("redux")?e.nodeBorder:e["cScaleLabel"+ +("neutral"===t)]};
|
|
88
|
+
}
|
|
89
|
+
${e.useGradient&&n&&e.mainBkg?b(e.THEME_COLOR_LIMIT,n,e.mainBkg):""}
|
|
90
|
+
`},"getStyles");e.s(["diagram",0,{get db(){return new m},renderer:{draw:f},parser:p,styles:E}],145966)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,630983,e=>{"use strict";var t=e.i(843476),s=e.i(893976);function n({className:e}){return(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:e,"aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"8",cy:"8",r:"6.25"}),(0,t.jsx)("path",{d:"M8 7v4"}),(0,t.jsx)("circle",{cx:"8",cy:"5",r:"0.5",fill:"currentColor",stroke:"none"})]})}e.s(["CloudFeatureNotice",0,function({children:e,className:r}){return(0,t.jsxs)("div",{role:"status",className:(0,s.cn)("stg:bg-muted-subtle stg:text-muted-foreground stg:flex stg:items-start stg:gap-2.5 stg:rounded-lg stg:border stg:border-transparent stg:px-4 stg:py-3",r),children:[(0,t.jsx)(n,{className:"stg:mt-0.5 stg:size-4 stg:shrink-0"}),(0,t.jsx)("p",{className:"stg:text-xs stg:leading-relaxed",children:e})]})}])},162697,e=>{"use strict";e.s(["selectElementText",0,function(e){let t=window.getSelection();if(!t)return;let s=document.createRange();s.selectNodeContents(e),t.removeAllRanges(),t.addRange(s)}])},786079,e=>{"use strict";var t=e.i(843476),s=e.i(271645),n=e.i(893976),r=e.i(869803),i=e.i(610595),a=e.i(691444),o=e.i(430182),l=e.i(170255),g=e.i(369072),d=e.i(17616),c=e.i(891287),u=e.i(767828),x=e.i(586108),m=e.i(583093),p=e.i(326283),h=e.i(162697),b=e.i(193799);function v({inviteUrl:e,label:r,onDismiss:i,className:a}){let{copy:o,copied:l}=(0,b.useCopyFeedback)(),g=(0,s.useRef)(null),d=(0,s.useCallback)(async()=>{!await o(e)&&g.current&&(0,h.selectElementText)(g.current)},[o,e]);return(0,t.jsxs)("div",{role:"alert",className:(0,n.cn)("stg:rounded-lg stg:border stg:border-primary/30 stg:bg-primary-subtle stg:p-4",a),children:[(0,t.jsxs)("div",{className:"stg:mb-2 stg:flex stg:items-start stg:justify-between stg:gap-3",children:[(0,t.jsxs)("div",{className:"stg:min-w-0",children:[(0,t.jsxs)("p",{className:"stg:text-sm stg:font-medium stg:text-foreground",children:["Invite link created: ",r]}),(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-xs stg:text-muted-foreground",children:"Share this link to invite people to your organization."})]}),(0,t.jsx)("button",{type:"button",onClick:i,"aria-label":"Dismiss",className:(0,n.cn)("stg:shrink-0 stg:rounded stg:p-1","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:transition-colors"),children:(0,t.jsx)(y,{})})]}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("code",{ref:g,className:(0,n.cn)("stg:min-w-0 stg:flex-1 stg:select-all stg:truncate stg:rounded-md","stg:border stg:border-input stg:bg-background stg:px-2.5 stg:py-1.5","stg:font-mono stg:text-xs stg:text-foreground"),children:e}),(0,t.jsxs)("button",{type:"button",onClick:d,className:(0,n.cn)("stg:inline-flex stg:shrink-0 stg:items-center stg:gap-1.5 stg:rounded-md stg:px-3 stg:py-1.5 stg:text-xs stg:font-medium","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:transition-colors"),children:[l?(0,t.jsx)(j,{}):(0,t.jsx)(f,{}),l?"Copied":"Copy"]})]})]})}function f(){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","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"5",y:"5",width:"9",height:"9",rx:"1.5"}),(0,t.jsx)("path",{d:"M5 11H3.5A1.5 1.5 0 0 1 2 9.5V3.5A1.5 1.5 0 0 1 3.5 2h6A1.5 1.5 0 0 1 11 3.5V5"})]})}function j(){return(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3 8.5l3.5 3.5L13 5"})})}function y(){return(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 4l8 8M12 4l-8 8"})})}var k=e.i(188482),N=e.i(146312),C=e.i(379410);function w(e){return`${window.location.origin}/invite/${e}`}function S({org:e,buildInviteUrl:r=w,className:a}){let{invitations:o,isLoading:l,error:d,refetch:p}=function(e){let t=(0,x.useStigmer)(),{data:s,isLoading:n,isRefetching:r,error:i,refetch:a}=(0,m.useFetch)(e?()=>t.invitation.listByOrg((0,c.create)(u.ListInvitationsByOrgInputSchema,{org:e})).then(e=>[...e.entries]):null,[e,t],[]);return{invitations:s,isLoading:n,isRefetching:r,error:i,refetch:a}}(e),[h,b]=(0,s.useState)({phase:"idle"}),[f,j]=(0,s.useState)(null),y=o.filter(e=>e.status?.state===g.InvitationState.active).length,k=(0,s.useCallback)(e=>{let t=e.status?.token??"",s=e.spec?.label||e.metadata?.name||"Invite link";b({phase:"created",inviteUrl:r(t),label:s}),p()},[r,p]),N=(0,s.useCallback)(()=>{j(null),p()},[p]);return l?(0,t.jsx)("div",{className:(0,n.cn)("stg:space-y-2",a),"aria-busy":"true","aria-label":"Loading invitations",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))}):d?(0,t.jsx)("p",{className:(0,n.cn)("stg:text-destructive stg:text-xs",a),role:"alert",children:(0,i.getUserMessage)(d)}):(0,t.jsxs)("div",{className:(0,n.cn)("stg:space-y-3",a),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-2",children:[(0,t.jsx)("span",{className:"stg:text-sm stg:font-semibold stg:text-foreground",children:"Invite Links"}),y>0&&(0,t.jsxs)("span",{className:"stg:inline-flex stg:items-center stg:rounded-full stg:bg-muted stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium stg:text-muted-foreground",children:[y," active"]})]}),"idle"===h.phase&&(0,t.jsx)("button",{type:"button",onClick:()=>b({phase:"creating"}),className:"stg:text-primary stg:hover:text-foreground stg:text-xs stg:font-medium stg:transition-colors",children:"+ Create invite link"})]}),"created"===h.phase&&(0,t.jsx)(v,{inviteUrl:h.inviteUrl,label:h.label,onDismiss:()=>b({phase:"idle"})}),"creating"===h.phase&&(0,t.jsx)("div",{className:"stg:border-border stg:bg-card stg:rounded-lg stg:border stg:p-4",children:(0,t.jsx)(L,{org:e,onCreated:k,onCancel:()=>b({phase:"idle"})})}),0===o.length?(0,t.jsx)("p",{className:"stg:text-muted-foreground stg:py-4 stg:text-center stg:text-xs",children:"No invite links yet. Create one to start inviting people."}):(0,t.jsx)("div",{role:"list","aria-label":"Invitation links",className:"stg:space-y-2",children:o.map(e=>{let s=e.metadata?.id??"";return(0,t.jsx)(R,{invitation:e,buildInviteUrl:r,isRevoking:f===s,onStartRevoke:()=>j(s),onCancelRevoke:()=>j(null),onRevoked:N},s)})})]})}let I=[{value:"7",label:"7 days"},{value:"14",label:"14 days"},{value:"30",label:"30 days"}];function L({org:e,onCreated:a,onCancel:g}){let{create:d,isCreating:c,error:u,clearError:m}=function(){let e=(0,x.useStigmer)(),[t,n]=(0,s.useState)(!1),[r,i]=(0,s.useState)(null),a=(0,s.useCallback)(()=>i(null),[]);return{create:(0,s.useCallback)(async t=>{n(!0),i(null);try{return await e.invitation.create(t)}catch(e){throw i((0,p.toError)(e)),e}finally{n(!1)}},[e]),isCreating:t,error:r,clearError:a}}(),h=(0,s.useId)(),[b,v]=(0,s.useState)(""),[f,j]=(0,s.useState)(o.IamRole.viewer),[y,k]=(0,s.useState)("30"),[w,S]=(0,s.useState)("unlimited"),R=!c,A=(0,s.useCallback)(async t=>{if(t.preventDefault(),R){m();try{var s;let t,n=await d({name:b.trim()||`invite-${Date.now()}`,org:e,role:f,expiresAt:(s=Number(y),(t=new Date).setDate(t.getDate()+s),t),maxRedemptions:+("single"===w),label:b.trim()||void 0});a(n)}catch{}}},[R,b,e,f,y,w,d,m,a]);return(0,t.jsxs)("form",{onSubmit:A,className:"stg:space-y-3",children:[(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsxs)("label",{htmlFor:`${h}-label`,className:"stg:text-xs stg:font-medium stg:text-foreground",children:["Label"," ",(0,t.jsx)("span",{className:"stg:font-normal stg:text-muted-foreground",children:"(optional)"})]}),(0,t.jsx)("input",{id:`${h}-label`,type:"text",value:b,onChange:e=>v(e.target.value),placeholder:"e.g. Engineering team link",disabled:c,autoFocus:!0,maxLength:200,className:(0,n.cn)("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-1 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50")})]}),(0,t.jsx)(N.RoleSelector,{kind:l.ApiResourceKind.organization,selected:f,onSelect:e=>j(e),disabled:c}),(0,t.jsxs)("fieldset",{className:(0,n.cn)(r.UNSTYLED_FIELDSET,"stg:space-y-1.5"),children:[(0,t.jsx)("legend",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Expires in"}),(0,t.jsx)("div",{className:"stg:flex stg:flex-wrap stg:gap-2",children:I.map(({value:e,label:s})=>(0,t.jsx)(T,{name:`${h}-expiry`,value:e,label:s,checked:y===e,disabled:c,onChange:k},e))})]}),(0,t.jsxs)("fieldset",{className:(0,n.cn)(r.UNSTYLED_FIELDSET,"stg:space-y-1.5"),children:[(0,t.jsx)("legend",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Usage limit"}),(0,t.jsxs)("div",{className:"stg:flex stg:flex-wrap stg:gap-2",children:[(0,t.jsx)(U,{name:`${h}-redemption`,value:"unlimited",label:"Unlimited",description:"Anyone with the link can join",checked:"unlimited"===w,disabled:c,onChange:S}),(0,t.jsx)(U,{name:`${h}-redemption`,value:"single",label:"Single use",description:"One person only",checked:"single"===w,disabled:c,onChange:S})]})]}),u&&(0,t.jsx)("p",{className:"stg:text-destructive stg:text-[0.65rem]",role:"alert",children:(0,i.getUserMessage)(u)}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsxs)("button",{type:"submit",disabled:!R,className:(0,n.cn)("stg:inline-flex stg:items-center stg:gap-1.5 stg:rounded-md stg:px-3 stg:py-1.5 stg:text-xs stg:font-medium","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:disabled:pointer-events-none stg:disabled:opacity-40"),children:[c&&(0,t.jsx)(C.SpinnerIcon,{size:12}),"Create invite link"]}),(0,t.jsx)("button",{type:"button",onClick:g,disabled:c,className:(0,n.cn)("stg:rounded-md stg:px-3 stg:py-1.5 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"})]})]})}function R({invitation:e,buildInviteUrl:r,isRevoking:i,onStartRevoke:l,onCancelRevoke:c,onRevoked:u}){var x,m;let{copy:p,copied:h}=(0,b.useCopyFeedback)(),v=e.metadata?.id??"",f=e.spec?.label||e.metadata?.name||"Unnamed invite",j=e.spec?.role??o.IamRole.iam_role_unspecified,y=e.status?.state??g.InvitationState.invitation_state_unspecified,N=e.status?.token??"",C=e.status?.redemptionCount??0,w=e.spec?.maxRedemptions??0,S=e.spec?.expiresAt,I=y===g.InvitationState.active,L=(0,s.useCallback)(()=>{p(r(N))},[p,N,r]);return i?(0,t.jsx)(A,{invitationId:v,label:f,onRevoked:u,onCancel:c}):(0,t.jsxs)("div",{role:"listitem",className:"stg:flex stg:items-center stg:gap-3 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.jsx)(M,{active:I}),(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsx)("span",{className:(0,n.cn)("stg:block stg:truncate stg:text-sm stg:font-medium",I?"stg:text-foreground":"stg:text-muted-foreground"),children:f}),(0,t.jsx)("span",{className:"stg:block stg:text-xs stg:text-muted-foreground",children:(x=C,0===(m=w)?0===x?"No redemptions yet":`${x} redeemed`:`${x} / ${m} redeemed`)})]}),(0,t.jsxs)("div",{className:"stg:hidden stg:sm:flex stg:shrink-0 stg:items-center stg:gap-3",children:[(0,t.jsx)("span",{className:"stg:inline-flex stg:items-center stg:rounded-md stg:border stg:border-border stg:bg-muted stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium stg:text-foreground",children:(0,a.iamRoleDisplayName)(j)}),(0,t.jsx)(D,{state:y}),S&&(0,t.jsxs)(k.Tooltip,{children:[(0,t.jsx)(k.TooltipTrigger,{render:(0,t.jsx)("time",{dateTime:(0,d.timestampDate)(S).toISOString(),className:"stg:text-xs stg:text-muted-foreground"}),children:I?function(e){let t=Date.now(),s=e.getTime()-t;if(s<=0)return"Expired";let n=Math.ceil(s/864e5);return 1===n?"Expires tomorrow":n<=30?`Expires in ${n} days`:`Expires ${$(e)}`}((0,d.timestampDate)(S)):$((0,d.timestampDate)(S))}),(0,t.jsx)(k.TooltipContent,{side:"top",children:(0,d.timestampDate)(S).toISOString()})]})]}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1",children:[I&&(0,t.jsx)("button",{type:"button",onClick:L,"aria-label":h?"Link copied":`Copy invite link for ${f}`,className:(0,n.cn)("stg:shrink-0 stg:rounded stg:p-1 stg:transition-colors",h?"stg:text-primary":"stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover"),children:h?(0,t.jsx)(_,{}):(0,t.jsx)(B,{})}),I&&(0,t.jsx)("button",{type:"button",onClick:l,"aria-label":`Revoke ${f}`,className:"stg:shrink-0 stg:rounded stg:p-1 stg:text-muted-foreground stg:hover:text-destructive stg:hover:bg-destructive-subtle stg:transition-colors",children:(0,t.jsx)(F,{})})]})]})}function A({invitationId:e,label:r,onRevoked:a,onCancel:o}){let{revoke:l,isRevoking:g,error:d}=function(){let e=(0,x.useStigmer)(),[t,n]=(0,s.useState)(!1),[r,i]=(0,s.useState)(null),a=(0,s.useCallback)(()=>i(null),[]);return{revoke:(0,s.useCallback)(async t=>{n(!0),i(null);try{return await e.invitation.revoke(t)}catch(e){throw i((0,p.toError)(e)),e}finally{n(!1)}},[e]),isRevoking:t,error:r,clearError:a}}(),c=(0,s.useCallback)(async()=>{try{await l(e),a()}catch{}},[e,l,a]);return(0,t.jsxs)("div",{role:"listitem",className:"stg:flex stg:items-center stg:justify-between 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:["Revoke ",(0,t.jsx)("span",{className:"stg:font-medium",children:r}),"? The link will stop working immediately."]}),d&&(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-[0.65rem] stg:text-destructive",children:(0,i.getUserMessage)(d)})]}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1.5 stg:ml-3",children:[(0,t.jsxs)("button",{type:"button",onClick:c,disabled:g,className:(0,n.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:[g&&(0,t.jsx)(C.SpinnerIcon,{size:12}),"Revoke"]}),(0,t.jsx)("button",{type:"button",onClick:o,disabled:g,className:(0,n.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"})]})]})}function D({state:e}){let s=E[e]??E[g.InvitationState.invitation_state_unspecified];return(0,t.jsx)("span",{className:(0,n.cn)("stg:inline-flex stg:items-center stg:rounded-full stg:px-2 stg:py-0.5 stg:text-[0.6rem] stg:font-medium",s.className),children:s.label})}let E={[g.InvitationState.invitation_state_unspecified]:{label:"Unknown",className:"stg:bg-muted stg:text-muted-foreground"},[g.InvitationState.active]:{label:"Active",className:"stg:bg-primary-subtle stg:text-primary"},[g.InvitationState.expired]:{label:"Expired",className:"stg:bg-muted stg:text-muted-foreground"},[g.InvitationState.revoked]:{label:"Revoked",className:"stg:bg-muted stg:text-muted-foreground"},[g.InvitationState.fully_redeemed]:{label:"Fully redeemed",className:"stg:bg-muted stg:text-muted-foreground"}};function T({name:e,value:s,label:r,checked:i,disabled:a,onChange:o}){return(0,t.jsxs)("label",{className:(0,n.cn)("stg:inline-flex stg:cursor-pointer stg:items-center stg:rounded-md stg:border stg:px-2.5 stg:py-1 stg:text-xs stg:transition-colors",i?"stg:border-primary stg:bg-primary-subtle stg:text-primary stg:font-medium":"stg:border-input stg:bg-background stg:text-muted-foreground stg:hover:border-border stg:hover:text-foreground",a&&"stg:pointer-events-none stg:opacity-50"),children:[(0,t.jsx)("input",{type:"radio",name:e,value:s,checked:i,disabled:a,onChange:()=>o(s),className:"stg:sr-only"}),r]})}function U({name:e,value:s,label:r,description:i,checked:a,disabled:o,onChange:l}){return(0,t.jsxs)("label",{className:(0,n.cn)("stg:inline-flex stg:cursor-pointer stg:flex-col stg:rounded-md stg:border stg:px-3 stg:py-1.5 stg:text-xs stg:transition-colors",a?"stg:border-primary stg:bg-primary-subtle stg:text-primary stg:font-medium":"stg:border-input stg:bg-background stg:text-muted-foreground stg:hover:border-border stg:hover:text-foreground",o&&"stg:pointer-events-none stg:opacity-50"),children:[(0,t.jsx)("input",{type:"radio",name:e,value:s,checked:a,disabled:o,onChange:()=>l(s),className:"stg:sr-only"}),(0,t.jsx)("span",{children:r}),(0,t.jsx)("span",{className:"stg:text-[0.625rem] stg:text-muted-foreground stg:font-normal stg:mt-0.5",children:i})]})}function $(e){return e.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}function M({active:e}){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",className:(0,n.cn)("stg:shrink-0",e?"stg:text-primary":"stg:text-muted-foreground"),children:[(0,t.jsx)("path",{d:"M6.5 9.5a3.5 3.5 0 0 0 5 0l2-2a3.5 3.5 0 0 0-5-5l-1 1"}),(0,t.jsx)("path",{d:"M9.5 6.5a3.5 3.5 0 0 0-5 0l-2 2a3.5 3.5 0 0 0 5 5l1-1"})]})}function B(){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)("rect",{x:"5",y:"5",width:"9",height:"9",rx:"1.5"}),(0,t.jsx)("path",{d:"M5 11H3.5A1.5 1.5 0 0 1 2 9.5V3.5A1.5 1.5 0 0 1 3.5 2h6A1.5 1.5 0 0 1 11 3.5V5"})]})}function _(){return(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3 8.5l3.5 3.5L13 5"})})}function F(){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)("circle",{cx:"8",cy:"8",r:"6"}),(0,t.jsx)("path",{d:"M4.5 11.5l7-7"})]})}var O=e.i(597744),W=e.i(630983),z=e.i(297629);e.s(["InvitationsSection",0,function(){let e=(0,s.useId)(),n=(0,z.useActiveOrgSlug)(),r=(0,O.useResourceAvailable)(l.ApiResourceKind.invitation);return(0,t.jsxs)("section",{"aria-labelledby":e,children:[(0,t.jsx)("div",{className:"stg:mb-3",children:(0,t.jsx)("h2",{id:e,className:"stg:text-foreground stg:text-sm stg:font-semibold",children:"Invitations"})}),(0,t.jsx)("p",{className:"stg:text-muted-foreground stg:mb-4 stg:text-xs",children:"Shareable invite links that grant organization membership with a configurable role. Create single-use links for specific people or multi-use links for public sharing."}),r?n?(0,t.jsx)(S,{org:n}):(0,t.jsx)("p",{className:"stg:text-muted-foreground stg:py-4 stg:text-center stg:text-xs",children:"Select an organization to manage invitations."}):(0,t.jsx)(W.CloudFeatureNotice,{children:"Invitations are not available in local mode."})]})}],786079)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,531466,t=>{"use strict";var e=t.i(843476);t.s(["StigmerLogo",0,function(){return(0,e.jsx)("div",{className:"mx-auto flex size-14 items-center justify-center rounded-xl bg-primary",children:(0,e.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 34 34",fill:"currentColor",className:"text-primary-foreground","aria-hidden":"true",children:[(0,e.jsx)("path",{d:"M7.22379 10.1458C9.05407 9.86272 10.2601 10.7932 10.1332 12.7168C10.0607 13.816 9.37085 13.9538 8.991 14.6751C8.15807 16.257 8.23651 19.0558 9.83964 20.1704C11.0252 20.9947 12.3089 20.9226 13.6764 20.8136C15.351 20.6822 15.7312 18.9283 17.4949 19.1781C18.5045 19.3212 19.3539 19.986 19.5308 21.0368C19.8731 23.115 17.5328 24.6973 15.796 23.4003C15.4981 23.1941 15.2124 22.7836 14.9017 22.6188C13.8888 22.0813 12.4364 22.1988 11.3325 22.2567C10.3331 22.2995 9.9481 22.827 9.24872 23.3777C7.78404 24.5308 5.5977 23.5036 5.5362 21.6393C5.49261 20.3166 5.97204 20.2337 6.65004 19.3786C7.14854 18.7498 7.22436 17.5822 7.1666 16.8242C7.15174 16.5125 7.16799 16.2157 7.1345 15.8989C6.95287 14.18 5.54082 14.0969 5.53861 12.3885C5.54697 12.0035 5.56265 11.8801 5.64874 11.5096C5.77807 11.1548 5.9613 10.9652 6.1995 10.6742C6.55201 10.3742 6.78576 10.2673 7.22379 10.1458Z"}),(0,e.jsx)("path",{d:"M15.9375 5.05709C16.4863 4.88101 17.0211 4.86877 17.5308 5.14264C17.9448 5.36503 18.4229 5.80132 18.5317 6.24791C18.8693 7.63344 18.0298 8.97957 16.4783 8.77693C16.0886 8.726 15.378 8.51377 15.0055 8.66575C14.8321 8.79577 14.5069 9.39896 14.3364 9.61119C14.003 10.0262 13.6777 10.3331 13.4151 10.7953C12.911 11.7801 12.9882 13.5299 13.2403 14.5874C13.5117 15.7261 14.8648 16.067 14.7677 17.4599C14.753 18.4001 14.0312 19.4698 13.1005 19.7406C11.8014 20.1187 10.437 19.382 10.0585 18.0656C9.74119 16.962 10.2395 16.3481 10.9358 15.6014C11.6326 14.8542 11.6829 13.8901 11.625 12.9246C11.6019 12.4623 11.6428 11.698 11.527 11.2677C11.1984 10.0464 9.8135 9.61166 9.96919 8.10529C10.1705 6.92461 11.0909 5.99196 12.3211 5.99226C12.4559 5.9923 12.5904 5.99301 12.7253 5.99481C13.4296 6.07526 13.5342 6.37133 14.0066 6.55894C14.231 6.41566 14.313 6.54908 14.3628 6.51437C14.5546 6.38061 14.5933 6.22329 14.8535 6.15937C15.0853 5.76885 15.2225 5.6133 15.5494 5.29676L15.9375 5.05709Z"}),(0,e.jsx)("path",{d:"M26.0385 10.077C27.2284 10.0687 28.2828 10.7748 28.4955 12.0193C28.7075 13.2596 28.0148 13.7278 27.3582 14.5966C26.6054 15.5925 26.6842 17.9707 27.197 19.0797C27.5852 19.846 28.3581 20.3182 28.4914 21.2145C28.6816 22.4934 27.7395 23.7173 26.4719 23.9195C25.1999 24.1224 24.0097 23.1019 23.8163 21.8685C23.6467 20.7868 24.2415 20.2214 24.8926 19.481C25.6418 18.5769 25.5329 16.5867 25.3735 15.4935C25.1206 14.5153 24.2806 13.5335 23.2874 13.2836C22.3671 13.0521 20.1592 12.9783 19.2892 13.4472C18.5563 13.8421 17.9765 14.7779 16.9495 14.8475C16.4639 14.9012 15.748 14.583 15.3706 14.2874C14.9233 13.9438 14.6306 13.4366 14.5568 12.8773C14.4823 12.2675 14.5398 11.5165 14.9442 11.0497C16.1084 9.70584 17.5753 9.90845 18.7589 11.0712C19.7302 12.0255 22.5325 12.0177 23.6494 11.4266C24.6503 10.8969 24.5342 10.2494 26.0385 10.077Z"}),(0,e.jsx)("path",{d:"M21.4613 14.1264C21.7085 14.1091 22.1094 14.2505 22.3436 14.3287C23.3527 14.6651 23.9782 15.4779 23.9631 16.5522C23.9447 17.8506 22.83 18.2703 22.4409 19.388C22.1931 20.0995 22.2474 20.7953 22.2654 21.5345C22.2815 22.2131 22.3898 22.9193 22.7868 23.4961C23.0911 23.9404 23.5497 24.2076 23.7702 24.7176C24.6099 26.658 22.6283 28.7293 20.6657 27.781C20.4308 27.6674 19.6747 27.2047 19.5265 27.3624C18.9443 27.982 18.9227 28.5279 18.0373 28.9311C17.5994 29.1049 17.1136 29.116 16.6682 28.9623C16.1287 28.7737 15.7497 28.3615 15.513 27.8535C15.3039 27.4051 15.2846 26.8912 15.4594 26.4284C15.642 25.9407 16.0436 25.5058 16.5179 25.2929C17.2492 24.9648 17.9962 25.2105 18.6926 25.4769C19.2726 25.1432 19.3258 24.7958 19.6894 24.2827C19.9037 23.9801 20.3712 23.6667 20.5162 23.3254C21.1284 21.884 21.1859 20.1407 20.4614 18.729C20.1032 18.2156 19.5862 17.8974 19.411 17.2616C19.2477 16.669 19.2064 16.0187 19.515 15.4598C19.9589 14.6558 20.6234 14.3736 21.4613 14.1264Z"}),(0,e.jsx)("path",{d:"M21.3264 7.13262C22.3915 6.99169 23.3682 7.74343 23.5045 8.80913C23.6409 9.87482 22.885 10.8483 21.8187 10.9801C20.7588 11.1111 19.7926 10.3607 19.657 9.30148C19.5215 8.24225 20.2677 7.27274 21.3264 7.13262Z"}),(0,e.jsx)("path",{d:"M12.1482 22.9577C13.2006 22.807 14.1781 23.5319 14.3396 24.5828C14.501 25.6336 13.7861 26.6184 12.737 26.7905C12.0487 26.9035 11.3528 26.6381 10.9146 26.0955C10.4764 25.5529 10.3633 24.8168 10.6185 24.1677C10.8737 23.5186 11.4578 23.0565 12.1482 22.9577Z"}),(0,e.jsx)("path",{d:"M4.88784 15.6498C5.61993 15.5335 6.3073 16.0339 6.42154 16.7663C6.53575 17.4987 6.0334 18.1847 5.30067 18.2968C4.65759 18.3952 4.03672 18.0173 3.82881 17.4008C3.7368 17.1281 3.7351 16.8329 3.82401 16.5591C3.97953 16.0801 4.39049 15.7288 4.88784 15.6498Z"}),(0,e.jsx)("path",{d:"M28.6677 15.6546C29.3955 15.5226 30.0918 16.0073 30.2208 16.7356C30.3498 17.4639 29.8622 18.1582 29.1334 18.2842C28.4088 18.4095 27.7193 17.9253 27.5911 17.2013C27.4629 16.4772 27.9442 15.7858 28.6677 15.6546Z"})]})})}])},583678,t=>{"use strict";var e=t.i(843476),s=t.i(271645),r=t.i(618566),i=t.i(363178),n=t.i(272012),a=t.i(163308),g=t.i(893976),o=t.i(610595),l=t.i(691444),d=t.i(17616),c=t.i(891287),u=t.i(767828),m=t.i(586108),x=t.i(583093),h=t.i(326283),C=t.i(379410);function p({token:t,isAuthenticated:r=!0,autoAccept:i=!1,onAccepted:n,onAuthRequired:a,className:N}){let{preview:w,isLoading:k,error:S,refetch:A}=function(t){let e=(0,m.useStigmer)(),{data:s,isLoading:r,isRefetching:i,error:n,refetch:a}=(0,x.useFetch)(t?()=>e.invitation.getByToken((0,c.create)(u.InvitationTokenInputSchema,{token:t})):null,[t,e],null);return{preview:s,isLoading:r,isRefetching:i,error:n,refetch:a}}(t),{redeem:M,isRedeeming:T,error:L,clearError:I}=function(){let t=(0,m.useStigmer)(),[e,r]=(0,s.useState)(!1),[i,n]=(0,s.useState)(null),a=(0,s.useCallback)(()=>n(null),[]);return{redeem:(0,s.useCallback)(async e=>{r(!0),n(null);try{return await t.invitation.redeem((0,c.create)(u.RedeemInvitationInputSchema,{token:e}))}catch(t){throw n((0,h.toError)(t)),t}finally{r(!1)}},[t]),isRedeeming:e,error:i,clearError:a}}(),[R,U]=(0,s.useState)(null),z=(0,s.useRef)(!1),B=(0,s.useCallback)(async()=>{I();try{let e=await M(t);U(e),n?.(e)}catch{}},[t,M,I,n]);if((0,s.useEffect)(()=>{i&&r&&w?.isValid&&!R&&!T&&!z.current&&(z.current=!0,B())},[i,r,w,R,T,B]),k)return(0,e.jsx)("div",{className:(0,g.cn)("stg:mx-auto stg:max-w-sm",N),"aria-busy":"true","aria-label":"Loading invitation",children:(0,e.jsx)(b,{})});if(S)return(0,e.jsx)("div",{className:(0,g.cn)("stg:mx-auto stg:max-w-sm",N),children:(0,e.jsx)(j,{message:(0,o.getUserMessage)(S),onRetry:A})});if(!w)return(0,e.jsx)("div",{className:(0,g.cn)("stg:mx-auto stg:max-w-sm",N),children:(0,e.jsx)(j,{message:"This invitation could not be found."})});if(R){let t=w.organizationName||"the organization",s=(0,l.iamRoleDisplayName)(w.role);return(0,e.jsx)("div",{className:(0,g.cn)("stg:mx-auto stg:max-w-sm",N),children:(0,e.jsxs)("div",{className:"stg:rounded-lg stg:border stg:border-primary/30 stg:bg-primary-subtle stg:p-6 stg:text-center stg:shadow-sm",children:[(0,e.jsx)(y,{}),(0,e.jsxs)("h2",{className:"stg:mt-3 stg:text-base stg:font-semibold stg:text-foreground",children:["You’ve joined ",t]}),(0,e.jsxs)("p",{className:"stg:mt-1 stg:text-sm stg:text-muted-foreground",children:["You now have ",(0,e.jsx)("span",{className:"stg:font-medium stg:text-foreground",children:s})," access."]})]})})}let Z=w.organizationName||"Unknown organization",E=w.organizationLogoUrl,D=Z.charAt(0).toUpperCase(),V=(0,l.iamRoleDisplayName)(w.role),P=w.expiresAt?(0,d.timestampDate)(w.expiresAt):null;return(0,e.jsx)("div",{className:(0,g.cn)("stg:mx-auto stg:max-w-sm",N),children:(0,e.jsxs)("div",{className:"stg:rounded-lg stg:border stg:border-border stg:bg-card stg:p-6 stg:shadow-sm",children:[(0,e.jsxs)("div",{className:"stg:flex stg:flex-col stg:items-center stg:text-center",children:[E?(0,e.jsx)("img",{src:E,alt:`${Z} logo`,className:"stg:size-14 stg:rounded-full stg:object-cover"}):(0,e.jsx)("div",{className:"stg:flex stg:size-14 stg:items-center stg:justify-center stg:rounded-full stg:bg-muted stg:text-xl stg:font-semibold stg:text-muted-foreground",children:D}),(0,e.jsxs)("h2",{className:"stg:mt-3 stg:text-base stg:font-semibold stg:text-foreground",children:["Join ",Z]}),w.label&&(0,e.jsx)("p",{className:"stg:mt-1 stg:text-sm stg:italic stg:text-muted-foreground",children:w.label})]}),(0,e.jsxs)("div",{className:"stg:mt-4 stg:flex stg:flex-col stg:items-center stg:gap-1.5 stg:text-center",children:[(0,e.jsxs)("span",{className:"stg:inline-flex stg:items-center stg:gap-1.5 stg:rounded-md stg:border stg:border-border stg:bg-muted stg:px-2.5 stg:py-1 stg:text-xs stg:font-medium stg:text-foreground",children:[(0,e.jsx)(v,{}),V," access"]}),(0,e.jsx)("span",{className:"stg:text-[0.7rem] stg:text-muted-foreground",children:(0,l.iamRoleDescription)(w.role)}),P&&(0,e.jsx)("span",{className:"stg:text-[0.7rem] stg:text-muted-foreground",children:function(t){let e=Date.now(),s=t.getTime()-e;if(s<=0)return"Expired";let r=Math.ceil(s/864e5);return 1===r?"Expires tomorrow":r<=30?`Expires in ${r} days`:`Expires ${t.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}`}(P)})]}),!w.isValid&&(0,e.jsx)(f,{reason:w.invalidReason}),w.isValid&&(0,e.jsx)("div",{className:"stg:mt-5",children:r?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("button",{type:"button",onClick:B,disabled:T,className:(0,g.cn)("stg:w-full stg:inline-flex stg:items-center stg:justify-center stg:gap-1.5 stg:rounded-md stg:px-4 stg:py-2.5 stg:text-sm stg:font-medium","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50","stg:transition-colors"),children:[T&&(0,e.jsx)(C.SpinnerIcon,{size:14}),T?"Accepting…":"Accept Invitation"]}),L&&(0,e.jsx)("p",{className:"stg:mt-2 stg:text-center stg:text-[0.65rem] stg:text-destructive",role:"alert",children:(0,o.getUserMessage)(L)})]}):(0,e.jsx)("button",{type:"button",onClick:a,className:(0,g.cn)("stg:w-full stg:inline-flex stg:items-center stg:justify-center stg:gap-1.5 stg:rounded-md stg:px-4 stg:py-2.5 stg:text-sm stg:font-medium","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:transition-colors"),children:"Accept Invitation"})})]})})}function f({reason:t}){return(0,e.jsxs)("div",{className:"stg:mt-4 stg:rounded-md stg:bg-muted-subtle stg:px-3 stg:py-2.5 stg:text-center",children:[(0,e.jsx)(N,{}),(0,e.jsx)("p",{className:"stg:mt-1 stg:text-xs stg:text-muted-foreground",children:t||"This invitation is no longer valid."})]})}function j({message:t,onRetry:s}){return(0,e.jsxs)("div",{className:"stg:rounded-lg stg:border stg:border-destructive/30 stg:bg-destructive-subtle stg:p-6 stg:text-center stg:shadow-sm",children:[(0,e.jsx)("p",{className:"stg:text-sm stg:text-destructive",children:t}),s&&(0,e.jsx)("button",{type:"button",onClick:s,className:(0,g.cn)("stg:mt-3 stg:inline-flex stg:items-center stg:rounded-md stg:px-3 stg:py-1.5 stg:text-xs stg:font-medium","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:transition-colors"),children:"Try again"})]})}function b(){return(0,e.jsxs)("div",{className:"stg:rounded-lg stg:border stg:border-border stg:bg-card stg:p-6 stg:shadow-sm stg:space-y-4",children:[(0,e.jsxs)("div",{className:"stg:flex stg:flex-col stg:items-center stg:gap-3",children:[(0,e.jsx)("div",{className:"stg:size-14 stg:rounded-full stg:bg-muted-subtle stg:animate-pulse"}),(0,e.jsx)("div",{className:"stg:h-5 stg:w-40 stg:rounded stg:bg-muted-subtle stg:animate-pulse"}),(0,e.jsx)("div",{className:"stg:h-4 stg:w-56 stg:rounded stg:bg-muted-subtle stg:animate-pulse"})]}),(0,e.jsxs)("div",{className:"stg:flex stg:flex-col stg:items-center stg:gap-1.5",children:[(0,e.jsx)("div",{className:"stg:h-6 stg:w-28 stg:rounded-md stg:bg-muted-subtle stg:animate-pulse"}),(0,e.jsx)("div",{className:"stg:h-3 stg:w-44 stg:rounded stg:bg-muted-subtle stg:animate-pulse"}),(0,e.jsx)("div",{className:"stg:h-3 stg:w-24 stg:rounded stg:bg-muted-subtle stg:animate-pulse"})]}),(0,e.jsx)("div",{className:"stg:h-[42px] stg:w-full stg:rounded-md stg:bg-muted-subtle stg:animate-pulse"})]})}function v(){return(0,e.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"stg:shrink-0",children:(0,e.jsx)("path",{d:"M8 1.5l5.5 2v4.5c0 3.5-2.5 5.5-5.5 7-3-1.5-5.5-3.5-5.5-7V3.5L8 1.5z"})})}function N(){return(0,e.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"stg:mx-auto stg:text-muted-foreground",children:[(0,e.jsx)("circle",{cx:"8",cy:"8",r:"6"}),(0,e.jsx)("path",{d:"M8 5v3.5M8 10.5v.5"})]})}function y(){return(0,e.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"stg:mx-auto stg:text-primary",children:[(0,e.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,e.jsx)("path",{d:"M8 12l2.5 2.5L16 9"})]})}var w=t.i(472402),k=t.i(35127),S=t.i(470858),A=t.i(567989),M=t.i(107141),T=t.i(531466);let L="stigmer:invite:auto_accept";function I(t){let e=(0,A.getSsoSession)();return e&&(0,A.isValidSsoState)(e)?(0,S.createUserManager)({issuer:e.issuer,clientId:e.clientId,audience:e.audience}):(0,S.createUserManager)(t)}t.s(["default",0,function(){let t=(0,M.useStaticRouteParam)("token"),g=(0,r.useRouter)(),{resolvedTheme:o}=(0,i.useTheme)(),{accessToken:l,isAuthenticated:d,autoAccept:c}=function(){let[t,e]=(0,s.useState)(()=>"disabled"===(0,k.resolveAuthConfig)().mode?{accessToken:null,isAuthenticated:!0,autoAccept:!1}:{accessToken:null,isAuthenticated:!1,autoAccept:!1});return(0,s.useEffect)(()=>{let t=(0,k.resolveAuthConfig)();"oidc"!==t.mode||I(t.oidc).getUser().then(t=>{if(t&&!t.expired){let s="1"===sessionStorage.getItem(L);s&&sessionStorage.removeItem(L),e({accessToken:t.access_token,isAuthenticated:!0,autoAccept:s})}})},[]),t}(),u=(0,s.useMemo)(()=>new n.Stigmer({baseUrl:(0,w.getApiBaseUrl)(),getAccessToken:()=>l}),[l]),m=(0,s.useCallback)(t=>{let e=t.metadata?.org;g.push(e?`/${e}`:"/")},[g]),x=(0,s.useCallback)(()=>{let t=(0,k.resolveAuthConfig)();"oidc"===t.mode&&(sessionStorage.setItem("stigmer:auth:redirect_path",window.location.pathname),sessionStorage.setItem(L,"1"),I(t.oidc).signinRedirect())},[]);return(0,e.jsx)(a.StigmerProvider,{client:u,colorMode:"dark"===o?"dark":"light",preset:"monochrome",children:(0,e.jsx)("div",{className:"flex min-h-screen flex-col items-center justify-center bg-background p-4",children:(0,e.jsxs)("div",{className:"w-full max-w-sm space-y-8",children:[(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)(T.StigmerLogo,{}),(0,e.jsx)("h1",{className:"mt-4 text-lg font-semibold text-foreground",children:"You’re invited"})]}),(0,e.jsx)(p,{token:t??"",isAuthenticated:d,autoAccept:c,onAccepted:m,onAuthRequired:x})]})})})}],583678)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,780052,e=>{"use strict";var t=e.i(891287),s=e.i(218766),a=e.i(586108),r=e.i(583093);e.s(["useWorkflowDashboardSummary",0,function(e){let o=(0,a.useStigmer)(),n=e.org??"",l=e.timeWindow??s.SummaryTimeWindow.LAST_7D,g=e.workflowId??"",i=e.refetchInterval??0,d=n?async()=>{let e={org:n,timeWindow:l};return g&&(e.workflowId=g),await o.workflowExecution.getExecutionSummary((0,t.create)(s.GetExecutionSummaryRequestSchema,e))}:null,{data:u,isLoading:c,isRefetching:m,error:x,refetch:h}=(0,r.useFetch)(d,[o,n,l,g],null,{refetchInterval:i||!1});return{summary:u,isLoading:c,isRefetching:m,error:x,refetch:h}}])},425748,931203,e=>{"use strict";var t=e.i(891287),s=e.i(261024),a=e.i(586108),r=e.i(583093);function o(e){let t=e.getFullYear(),s=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return`${t}-${s}-${a}`}function n(e){let[t,s,a]=e.split("-").map(Number);return new Date(t,s-1,a)}e.s(["useOrgUsageReport",0,function(e,o){let n=(0,a.useStigmer)(),{data:l,isLoading:g,isRefetching:i,error:d,refetch:u}=(0,r.useFetch)(e?()=>n.agentExecution.getOrgUsageReport((0,t.create)(s.GetOrgUsageReportInputSchema,{orgId:e,fromDate:o.from,toDate:o.to})):null,[e,o.from,o.to,n],null);return{report:l,isLoading:g,isRefetching:i,error:d,refetch:u}}],425748),e.s(["DATE_RANGE_PRESETS",0,["7d","14d","30d"],"dateRangeFromPreset",0,function(e){let t=Number.parseInt(e,10),s=new Date,a=new Date(s);return a.setDate(a.getDate()-(t-1)),{from:o(a),to:o(s)}},"formatDateRange",0,function(e){let t=n(e.from),s=n(e.to),a=new Intl.DateTimeFormat("en-US",{month:"short",day:"2-digit"});return`${a.format(t)} \u2013 ${a.format(s)}`},"presetLabel",0,function(e){switch(e){case"7d":return"7 days";case"14d":return"14 days";case"30d":return"30 days"}}],931203)},362856,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(297629),r=e.i(893976),o=e.i(891287),n=e.i(218766),l=e.i(586108),g=e.i(583093);let i={approvals:[],totalCount:0};var d=e.i(17616),u=e.i(869803),c=e.i(361353);let m=(0,s.memo)(function({approvals:e,totalCount:s,isLoading:a,onReviewClick:o,className:n}){return a?(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-2",n),"aria-busy":"true",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:justify-between",children:[(0,t.jsx)("div",{className:"stg:h-4 stg:w-32 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-4 stg:w-8 stg:animate-pulse stg:rounded stg:bg-muted"})]}),Array.from({length:3},(e,s)=>(0,t.jsx)("div",{className:"stg:h-14 stg:animate-pulse stg:rounded-lg stg:border stg:border-border stg:bg-muted/50"},s))]}):(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-3",n),children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:justify-between",children:[(0,t.jsx)("h3",{className:"stg:text-sm stg:font-semibold stg:text-foreground",children:"Pending Approvals"}),s>0&&(0,t.jsx)("span",{className:"stg:rounded-full stg:bg-warning/10 stg:px-2 stg:py-0.5 stg:text-xs stg:font-medium stg:text-warning",children:s})]}),0===e.length?(0,t.jsx)("p",{className:"stg:py-4 stg:text-center stg:text-xs stg:text-muted-foreground",children:"No approvals pending"}):(0,t.jsx)("ul",{className:(0,r.cn)(u.UNSTYLED_LIST,"stg:space-y-2"),role:"list",children:e.map(e=>{let s=e.requestedAt?(0,d.timestampDate)(e.requestedAt):null;return(0,t.jsx)("li",{className:"stg:rounded-lg stg:border stg:border-border stg:px-3 stg:py-2.5",children:(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:justify-between stg:gap-2",children:[(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-1.5",children:[(0,t.jsx)("p",{className:"stg:truncate stg:text-sm stg:font-medium stg:text-foreground",children:e.workflowName||e.executionId}),e.uiHint&&(0,t.jsx)("span",{className:"stg:shrink-0 stg:rounded stg:bg-muted stg:px-1.5 stg:py-0.5 stg:text-[10px] stg:font-medium stg:text-muted-foreground",children:e.uiHint})]}),(0,t.jsxs)("p",{className:"stg:mt-0.5 stg:truncate stg:text-xs stg:text-muted-foreground",children:["Task: ",e.taskName,s&&(0,t.jsxs)(t.Fragment,{children:[" · ",(0,c.formatRelativeTime)(s)]})]})]}),o&&(0,t.jsx)("button",{type:"button",onClick:()=>o(e.executionId),className:"stg:shrink-0 stg:rounded-md stg:bg-primary stg:px-2.5 stg:py-1 stg:text-xs stg:font-medium stg:text-primary-foreground stg:transition-colors stg:hover:bg-primary-hover stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring",children:"Review"})]})},`${e.executionId}-${e.taskName}`)})})]})});var x=e.i(566022),h=e.i(661438),p=e.i(780052),f=e.i(425748),b=e.i(931203),v=e.i(261024);let N=new Date(0),j=[],C=[{label:"Active",valueClass:"stg:text-foreground",getValue:e=>String(e.activeCount),getBreakdown:e=>{let t=e.agent?.activeCount??0,s=e.workflow?.activeCount??0;return 0===t&&0===s?null:`${t} agent, ${s} workflow`}},{label:"Completed",valueClass:"stg:text-success",getValue:e=>String(e.completedCount),getBreakdown:e=>{let t=e.agent?.phaseCounts[3]??0,s=e.workflow?.phaseCounts[3]??0;return 0===t&&0===s?null:`${t} agent, ${s} workflow`}},{label:"Failed",valueClass:"stg:text-destructive",getValue:e=>String(e.failedCount),getBreakdown:e=>{let t=e.agent?.phaseCounts[4]??0,s=e.workflow?.phaseCounts[4]??0;return 0===t&&0===s?null:`${t} agent, ${s} workflow`}},{label:"Total Cost",valueClass:"stg:text-foreground",getValue:e=>{var t;return(t=e.totalCostUsd)>=1?`$${t.toFixed(2)}`:t>=.01?`$${t.toFixed(3)}`:t>0?"<$0.01":"$0.00"},getBreakdown:()=>null}],w=(0,s.memo)(function({summary:e,isLoading:s,className:a}){return s?(0,t.jsx)("div",{className:(0,r.cn)("stg:space-y-3",a),"aria-busy":"true",children:(0,t.jsx)("div",{className:"stg:grid stg:gap-3 stg:sm:grid-cols-2 stg:lg:grid-cols-4",children:Array.from({length:4},(e,s)=>(0,t.jsx)("div",{className:"stg:h-[72px] stg:animate-pulse stg:rounded-lg stg:border stg:border-border stg:bg-muted/50"},s))})}):e?(0,t.jsx)("div",{className:(0,r.cn)("stg:grid stg:gap-3 stg:sm:grid-cols-2 stg:lg:grid-cols-4",a),children:C.map(s=>{let a=s.getBreakdown(e);return(0,t.jsxs)("div",{className:"stg:rounded-lg stg:border stg:border-border stg:bg-card stg:px-4 stg:py-3",children:[(0,t.jsx)("p",{className:"stg:text-xs stg:font-medium stg:text-muted-foreground",children:s.label}),(0,t.jsx)("p",{className:(0,r.cn)("stg:mt-1 stg:text-2xl stg:font-semibold",s.valueClass),children:s.getValue(e)}),a&&(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-[10px] stg:text-muted-foreground",children:a})]},s.label)})}):null}),y=(0,s.memo)(function({failedRuns:e,isLoading:s,onViewClick:a,className:o}){return s?(0,t.jsxs)("div",{className:(0,r.cn)("stg:rounded-lg stg:border stg:border-border stg:bg-card stg:p-4",o),"aria-busy":"true",children:[(0,t.jsx)("div",{className:"stg:mb-3 stg:h-4 stg:w-32 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:space-y-2",children:Array.from({length:3},(e,s)=>(0,t.jsx)("div",{className:"stg:h-10 stg:animate-pulse stg:rounded stg:bg-muted/50"},s))})]}):(0,t.jsxs)("div",{className:(0,r.cn)("stg:rounded-lg stg:border stg:border-border stg:bg-card stg:p-4",o),children:[(0,t.jsx)("h3",{className:"stg:mb-3 stg:text-sm stg:font-semibold stg:text-foreground",children:"Recent Failures"}),0===e.length?(0,t.jsx)("p",{className:"stg:py-6 stg:text-center stg:text-xs stg:text-muted-foreground",children:"No recent failures"}):(0,t.jsx)("ul",{className:(0,r.cn)(u.UNSTYLED_LIST,"stg:space-y-1.5"),role:"list",children:e.map(e=>(0,t.jsxs)("li",{className:"stg:flex stg:items-start stg:gap-2 stg:rounded-md stg:px-2 stg:py-1.5 stg:text-xs stg:hover:bg-muted/50",children:[(0,t.jsx)("span",{className:(0,r.cn)("stg:mt-0.5 stg:shrink-0 stg:rounded stg:px-1 stg:py-0.5 stg:text-[10px] stg:font-medium stg:leading-none","agent_execution"===e.type?"stg:bg-primary/10 stg:text-primary":"stg:bg-muted stg:text-muted-foreground"),children:"agent_execution"===e.type?"Agent":"Workflow"}),(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsx)("p",{className:"stg:truncate stg:font-medium stg:text-foreground",children:e.name}),e.error&&(0,t.jsx)("p",{className:"stg:truncate stg:text-muted-foreground",children:e.error})]}),(0,t.jsx)("span",{className:"stg:shrink-0 stg:text-muted-foreground",children:(0,c.formatRelativeTime)(e.failedAt)}),a&&(0,t.jsx)("button",{type:"button",onClick:()=>a(e.id,e.type),className:"stg:shrink-0 stg:text-primary stg:hover:underline",children:"View"})]},e.id))})]})}),E=(0,s.memo)(function({org:e,orgId:a,onApprovalClick:u,onFailedRunClick:c,className:C}){let{summary:E,isLoading:k}=function(e){let t=e.refetchInterval??6e4,{summary:a,isLoading:r,error:n,refetch:i}=(0,p.useWorkflowDashboardSummary)({org:e.org,refetchInterval:t}),{summary:d,isLoading:u,error:c,refetch:m}=function(e){let t=(0,l.useStigmer)(),s=e.org??"",a=e.timeWindow??v.AgentExecutionSummaryTimeWindow.LAST_7D,r=e.refetchInterval??0,n=s?async()=>await t.agentExecution.getExecutionSummary((0,o.create)(v.GetAgentExecutionSummaryRequestSchema,{org:s,timeWindow:a})):null,{data:i,isLoading:d,isRefetching:u,error:c,refetch:m}=(0,g.useFetch)(n,[t,s,a],null,{refetchInterval:r||!1});return{summary:i,isLoading:d,isRefetching:u,error:c,refetch:m}}({org:e.org,timeWindow:v.AgentExecutionSummaryTimeWindow.LAST_7D,refetchInterval:t}),N=(0,s.useMemo)(()=>(0,b.dateRangeFromPreset)("7d"),[]),{report:j,isLoading:C,error:w,refetch:y}=(0,f.useOrgUsageReport)(e.orgId??null,N),E=r||u||C;return{summary:(0,s.useMemo)(()=>!E||a||d?{activeCount:(a?.activeCount??0)+(d?.activeCount??0),completedCount:(a?.phaseCounts[x.ExecutionPhase.EXECUTION_COMPLETED]??0)+(d?.phaseCounts[h.ExecutionPhase.EXECUTION_COMPLETED]??0),failedCount:(a?.phaseCounts[x.ExecutionPhase.EXECUTION_FAILED]??0)+(d?.phaseCounts[h.ExecutionPhase.EXECUTION_FAILED]??0),totalCostUsd:Number(j?.totalBillableCostMicros??BigInt(0))/1e6,agent:d,workflow:a,orgUsage:j}:null,[a,d,j,E]),isLoading:E,error:n??c??w,refetch:(0,s.useMemo)(()=>()=>{i(),m(),y()},[i,m,y])}}({org:e,orgId:a,refetchInterval:6e4}),{approvals:I,totalCount:S,isLoading:T}=function(e){let t=(0,l.useStigmer)(),s=e.org??"",a=e.pageSize??20,r=e.refetchInterval??3e4,d=s?async()=>{let e=await t.workflowExecution.listPendingApprovals((0,o.create)(n.ListPendingApprovalsRequestSchema,{org:s,pageSize:a}));return{approvals:[...e.entries],totalCount:e.totalCount}}:null,{data:u,isLoading:c,isRefetching:m,error:x,refetch:h}=(0,g.useFetch)(d,[t,s,a],i,{refetchInterval:r||!1});return{approvals:u.approvals,totalCount:u.totalCount,isLoading:c,isRefetching:m,error:x,refetch:h}}({org:e,refetchInterval:3e4}),{failedRuns:A,isLoading:D}=function(e){let t=(0,l.useStigmer)(),a=e??"",r=(0,s.useMemo)(()=>a?async()=>[...(await t.agentExecution.list((0,o.create)(v.ListAgentExecutionsRequestSchema,{pageSize:5,phase:h.ExecutionPhase.EXECUTION_FAILED,org:a}))).entries]:null,[t,a]),i=(0,s.useMemo)(()=>a?async()=>[...(await t.workflowExecution.list((0,o.create)(n.ListWorkflowExecutionsRequestSchema,{pageSize:5,phase:x.ExecutionPhase.EXECUTION_FAILED,org:a}))).entries]:null,[t,a]),{data:u,isLoading:c,error:m}=(0,g.useFetch)(r,[t,a],[],{refetchInterval:6e4}),{data:p,isLoading:f,error:b}=(0,g.useFetch)(i,[t,a],[],{refetchInterval:6e4});return{failedRuns:(0,s.useMemo)(()=>{if(!u.length&&!p.length)return j;let e=[...u.map(e=>{let t=e.status?.audit?.specAudit?.createdAt;return{id:e.metadata?.id??"",type:"agent_execution",name:e.metadata?.name||"Untitled execution",error:e.status?.error??"",failedAt:t?(0,d.timestampDate)(t):N,resourceName:e.spec?.agentId??""}}),...p.map(e=>{let t=e.status?.audit?.specAudit?.createdAt;return{id:e.metadata?.id??"",type:"workflow_execution",name:e.metadata?.name||"Untitled execution",error:e.status?.error??"",failedAt:t?(0,d.timestampDate)(t):N,resourceName:e.metadata?.slug??""}})];return e.sort((e,t)=>t.failedAt.getTime()-e.failedAt.getTime()),e.slice(0,5)},[u,p]),isLoading:c||f,error:m??b}}(e),L=(0,s.useCallback)((e,t)=>{c?.(e,t)},[c]);return(0,t.jsxs)("section",{"aria-label":"Platform dashboard",className:(0,r.cn)("stg:space-y-6",C),children:[(0,t.jsx)(w,{summary:E,isLoading:k}),(0,t.jsxs)("div",{className:"stg:grid stg:gap-6 stg:lg:grid-cols-2",children:[(0,t.jsx)(m,{approvals:I,totalCount:S,isLoading:T,onReviewClick:u}),(0,t.jsx)(y,{failedRuns:A,isLoading:D,onViewClick:L})]})]})}),k=["var(--stgm-color-primary, var(--color-primary))","var(--stgm-color-success, var(--color-success))","var(--stgm-color-warning, var(--color-warning))","var(--stgm-color-destructive, var(--color-destructive))","var(--stgm-color-muted-foreground, var(--color-muted-foreground))"],I=(0,s.memo)(function({breakdowns:e,isLoading:a,className:o}){let n=(0,s.useMemo)(()=>[...e].sort((e,t)=>t.totalCostUsd-e.totalCostUsd).slice(0,8),[e]),l=(0,s.useMemo)(()=>Math.max(5e-324,...n.map(e=>e.totalCostUsd)),[n]);return a?(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-3",o),"aria-busy":"true",children:[(0,t.jsx)("div",{className:"stg:h-4 stg:w-40 stg:animate-pulse stg:rounded stg:bg-muted"}),Array.from({length:4},(e,s)=>(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("div",{className:"stg:h-3 stg:w-24 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-6 stg:animate-pulse stg:rounded stg:bg-muted/50",style:{width:`${80-15*s}%`}})]},s))]}):0===n.length?(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-3",o),children:[(0,t.jsx)("h3",{className:"stg:text-sm stg:font-semibold stg:text-foreground",children:"Cost by Workflow"}),(0,t.jsx)("p",{className:"stg:py-6 stg:text-center stg:text-xs stg:text-muted-foreground",children:"No cost data available"})]}):(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-3",o),children:[(0,t.jsx)("h3",{className:"stg:text-sm stg:font-semibold stg:text-foreground",children:"Cost by Workflow"}),(0,t.jsx)("div",{className:"stg:space-y-2.5",role:"list","aria-label":"Cost by workflow",children:n.map((e,s)=>{var a;let r=l>0?e.totalCostUsd/l*100:0,o=k[s%k.length];return(0,t.jsxs)("div",{role:"listitem",children:[(0,t.jsxs)("div",{className:"stg:mb-0.5 stg:flex stg:items-baseline stg:justify-between stg:gap-2",children:[(0,t.jsx)("span",{className:"stg:truncate stg:text-xs stg:font-medium stg:text-foreground",children:e.workflowName||e.workflowSlug}),(0,t.jsxs)("span",{className:"stg:flex stg:shrink-0 stg:items-baseline stg:gap-2",children:[(0,t.jsx)("span",{className:"stg:text-xs stg:font-medium stg:tabular-nums stg:text-foreground",children:(a=e.totalCostUsd)>=1?`$${a.toFixed(2)}`:a>=.01?`$${a.toFixed(3)}`:a>0?"<$0.01":"$0.00"}),(0,t.jsxs)("span",{className:"stg:text-xs stg:tabular-nums stg:text-muted-foreground",children:[e.executionCount," runs"]})]})]}),(0,t.jsx)("div",{className:"stg:h-2 stg:overflow-hidden stg:rounded-full stg:bg-muted",children:(0,t.jsx)("div",{className:"stg:h-full stg:rounded-full stg:transition-all stg:duration-500",style:{width:`${r}%`,backgroundColor:o}})})]},e.workflowSlug)})})]})}),S=new Map([[x.ExecutionPhase.EXECUTION_COMPLETED,{label:"Completed",colorClass:"stg:text-success",bgColorClass:"stg:bg-success"}],[x.ExecutionPhase.EXECUTION_FAILED,{label:"Failed",colorClass:"stg:text-destructive",bgColorClass:"stg:bg-destructive"}],[x.ExecutionPhase.EXECUTION_IN_PROGRESS,{label:"Running",colorClass:"stg:text-primary",bgColorClass:"stg:bg-primary"}],[x.ExecutionPhase.EXECUTION_PENDING,{label:"Pending",colorClass:"stg:text-muted-foreground",bgColorClass:"stg:bg-muted-foreground"}],[x.ExecutionPhase.EXECUTION_PAUSED,{label:"Paused",colorClass:"stg:text-muted-foreground",bgColorClass:"stg:bg-muted-foreground/60"}],[x.ExecutionPhase.EXECUTION_CANCELLED,{label:"Cancelled",colorClass:"stg:text-muted-foreground",bgColorClass:"stg:bg-muted-foreground/40"}],[x.ExecutionPhase.EXECUTION_TERMINATED,{label:"Terminated",colorClass:"stg:text-destructive",bgColorClass:"stg:bg-destructive/60"}]]),T=(0,s.memo)(function({summary:e,isLoading:a,className:o}){let n=(0,s.useMemo)(()=>{if(!e)return[];let t=[];for(let[s,a]of Object.entries(e.phaseCounts)){let e=Number(s);if(a<=0)continue;let r=S.get(e);r&&t.push({...r,count:a})}return t.sort((e,t)=>t.count-e.count)},[e]),l=(0,s.useMemo)(()=>n.reduce((e,t)=>e+t.count,0),[n]);return a?(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-3",o),"aria-busy":"true",children:[(0,t.jsx)("div",{className:"stg:h-4 stg:w-36 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-8 stg:animate-pulse stg:rounded-full stg:bg-muted/50"}),(0,t.jsx)("div",{className:"stg:flex stg:gap-4",children:Array.from({length:3},(e,s)=>(0,t.jsx)("div",{className:"stg:h-3 stg:w-16 stg:animate-pulse stg:rounded stg:bg-muted"},s))})]}):e&&0!==l?(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-3",o),children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-baseline stg:justify-between",children:[(0,t.jsx)("h3",{className:"stg:text-sm stg:font-semibold stg:text-foreground",children:"Execution Distribution"}),(0,t.jsxs)("span",{className:"stg:text-xs stg:tabular-nums stg:text-muted-foreground",children:[l," total"]})]}),(0,t.jsx)("div",{className:"stg:flex stg:h-3 stg:overflow-hidden stg:rounded-full stg:bg-muted",role:"img","aria-label":"Execution phase distribution",children:n.map(e=>(0,t.jsx)("div",{className:(0,r.cn)("stg:h-full stg:transition-all stg:duration-500",e.bgColorClass),style:{width:`${e.count/l*100}%`}},e.label))}),(0,t.jsx)("div",{className:"stg:flex stg:flex-wrap stg:gap-x-4 stg:gap-y-1.5",children:n.map(e=>(0,t.jsxs)("span",{className:"stg:flex stg:items-center stg:gap-1.5 stg:text-xs stg:text-muted-foreground",children:[(0,t.jsx)("span",{className:(0,r.cn)("stg:inline-block stg:h-2.5 stg:w-2.5 stg:rounded-sm",e.bgColorClass)}),(0,t.jsx)("span",{children:e.label}),(0,t.jsx)("span",{className:(0,r.cn)("stg:font-semibold stg:tabular-nums",e.colorClass),children:e.count})]},e.label))})]}):(0,t.jsxs)("div",{className:(0,r.cn)("stg:space-y-3",o),children:[(0,t.jsx)("h3",{className:"stg:text-sm stg:font-semibold stg:text-foreground",children:"Execution Distribution"}),(0,t.jsx)("p",{className:"stg:py-6 stg:text-center stg:text-xs stg:text-muted-foreground",children:"No execution data available"})]})});var A=e.i(635549);e.s(["DashboardPage",0,function(){let{activeOrg:e}=(0,a.useOrg)(),r=e?.metadata?.slug??"",o=e?.metadata?.id,{navigateToExecution:n}=(0,A.useExecutionNavigation)(),{summary:l,isLoading:g}=(0,p.useWorkflowDashboardSummary)({org:r,refetchInterval:6e4}),i=(0,s.useCallback)(e=>{n(e)},[n]),d=(0,s.useCallback)((e,t)=>{n(e)},[n]);return(0,t.jsxs)("div",{className:"mx-auto max-w-5xl px-6 py-8",children:[(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("h1",{className:"text-xl font-semibold text-foreground",children:"Dashboard"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"Operational overview across your organization."})]}),(0,t.jsx)(E,{org:r,orgId:o,onApprovalClick:i,onFailedRunClick:d,className:"mb-8"}),(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-2",children:[(0,t.jsx)("div",{className:"rounded-lg border border-border bg-card p-4",children:(0,t.jsx)(I,{breakdowns:l?.costByWorkflow??[],isLoading:g})}),(0,t.jsx)("div",{className:"rounded-lg border border-border bg-card p-4",children:(0,t.jsx)(T,{summary:l??null,isLoading:g})})]})]})}],362856)}]);
|