@stigmer/server-slim 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/console/404.html +1 -0
- package/console/Icon-bw.svg +10 -0
- package/console/Icon-light.svg +10 -0
- package/console/__next.__PAGE__.txt +5 -0
- package/console/__next._full.txt +28 -0
- package/console/__next._head.txt +6 -0
- package/console/__next._index.txt +17 -0
- package/console/__next._tree.txt +5 -0
- package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_buildManifest.js +11 -0
- package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_clientMiddlewareManifest.js +1 -0
- package/console/_next/static/XrBnttPHHP5Wmi7mT4uLM/_ssgManifest.js +1 -0
- package/console/_next/static/chunks/0-6znc4v4kg4~.js +1 -0
- package/console/_next/static/chunks/0-73gkqs33_.~.js +1 -0
- package/console/_next/static/chunks/0-l4jzu40dd8w.js +1 -0
- package/console/_next/static/chunks/0-z-fnjdx4ulh.js +1 -0
- package/console/_next/static/chunks/0-zcgxw8vt51~.js +1 -0
- package/console/_next/static/chunks/0.f-b71h~m9l_.js +1 -0
- package/console/_next/static/chunks/0.p57pbuzo8j7.js +90 -0
- package/console/_next/static/chunks/0.qu8zg6yocro.js +1 -0
- package/console/_next/static/chunks/00-fpv~l3r27l.js +1 -0
- package/console/_next/static/chunks/005ctashl3n1r.js +1 -0
- package/console/_next/static/chunks/0068d1zb538z~.js +1 -0
- package/console/_next/static/chunks/008b.zzs.t4bw.js +139 -0
- package/console/_next/static/chunks/00d~s.n2ue-_h.js +1 -0
- package/console/_next/static/chunks/00o8ud2dmna2j.js +1 -0
- package/console/_next/static/chunks/00r~itj4ekq5y.js +1 -0
- package/console/_next/static/chunks/01.9x7hzkgv7j.js +1 -0
- package/console/_next/static/chunks/016uwj-o-jqap.js +1 -0
- package/console/_next/static/chunks/01f1gh.2dzexy.js +1 -0
- package/console/_next/static/chunks/01ontipw7_pn-.js +1 -0
- package/console/_next/static/chunks/02fsq8lsaeu8j.js +1 -0
- package/console/_next/static/chunks/02qsbdquvk64o.js +1 -0
- package/console/_next/static/chunks/03.b9z-1o34dx.js +1 -0
- package/console/_next/static/chunks/038jxymv2x4u-.js +148 -0
- package/console/_next/static/chunks/03f2f6enzzhsy.js +1 -0
- package/console/_next/static/chunks/03l_lqxocp3uj.js +1 -0
- package/console/_next/static/chunks/03lth2le32c6r.js +201 -0
- package/console/_next/static/chunks/03v0v690_bw8u.js +62 -0
- package/console/_next/static/chunks/03yru4-m-450t.js +1 -0
- package/console/_next/static/chunks/03~yq9q893hmn.js +1 -0
- package/console/_next/static/chunks/04nu-nyhd8yfk.js +18 -0
- package/console/_next/static/chunks/04uzf6wcrofgt.js +1 -0
- package/console/_next/static/chunks/056bfxvkb8fd~.js +1 -0
- package/console/_next/static/chunks/06huuay3x3z07.js +1 -0
- package/console/_next/static/chunks/06o.rsm2b~dht.js +60 -0
- package/console/_next/static/chunks/07.l7154cu7z-.js +1 -0
- package/console/_next/static/chunks/07wnm1~gr1rx~.js +1 -0
- package/console/_next/static/chunks/08.rk-nar1l2t.js +25 -0
- package/console/_next/static/chunks/08iibm2~7e.mj.js +1 -0
- package/console/_next/static/chunks/08o5wsrurx9ux.js +5 -0
- package/console/_next/static/chunks/09~n7y-jkmjlj.js +152 -0
- package/console/_next/static/chunks/0_mhv9_2_g.-d.js +119 -0
- package/console/_next/static/chunks/0af53k.rxu1kn.js +1 -0
- package/console/_next/static/chunks/0amugang-25bm.js +1 -0
- package/console/_next/static/chunks/0awsj.h.eiuen.js +1 -0
- package/console/_next/static/chunks/0axtn1ln1j35_.js +79 -0
- package/console/_next/static/chunks/0c5xj4q0jmdu0.js +1 -0
- package/console/_next/static/chunks/0c7llz2igr3w7.js +1 -0
- package/console/_next/static/chunks/0cgp87bgoglgv.js +1 -0
- package/console/_next/static/chunks/0co3~00k0sae5.js +1 -0
- package/console/_next/static/chunks/0cq0zrqlu~xa7.js +1 -0
- package/console/_next/static/chunks/0cs_h74-ljzlt.js +77 -0
- package/console/_next/static/chunks/0cu8k_dz43e4y.js +1 -0
- package/console/_next/static/chunks/0d05q_m7mqj4o.js +1 -0
- package/console/_next/static/chunks/0dsde0n1co0l..js +1 -0
- package/console/_next/static/chunks/0e4xdug~7dxzk.js +1 -0
- package/console/_next/static/chunks/0e7hldxv930hc.js +12 -0
- package/console/_next/static/chunks/0ed3hfv95qark.js +10 -0
- package/console/_next/static/chunks/0f1nokqa6poai.js +1 -0
- package/console/_next/static/chunks/0f8bbcvfh6x_j.js +64 -0
- package/console/_next/static/chunks/0fy2-q-5a0j3r.js +1 -0
- package/console/_next/static/chunks/0g-98wql22rf4.css +1 -0
- package/console/_next/static/chunks/0g167wye7-x6z.js +1 -0
- package/console/_next/static/chunks/0g4_345f39a55.js +1 -0
- package/console/_next/static/chunks/0ge0mq0ea60lx.js +1 -0
- package/console/_next/static/chunks/0gepanyj709pr.js +1 -0
- package/console/_next/static/chunks/0glne1asott9e.js +2 -0
- package/console/_next/static/chunks/0hb.-vcj2w6kf.js +1 -0
- package/console/_next/static/chunks/0hdh_2akzrlxi.js +287 -0
- package/console/_next/static/chunks/0hhe78mplcj67.js +1 -0
- package/console/_next/static/chunks/0hori02zn~h3o.js +1 -0
- package/console/_next/static/chunks/0hq~c-~dp2g~1.js +1 -0
- package/console/_next/static/chunks/0i.l9589uvx0j.js +1 -0
- package/console/_next/static/chunks/0i8pgzf~hu-3m.js +24 -0
- package/console/_next/static/chunks/0icpvuwlmnlty.js +43 -0
- package/console/_next/static/chunks/0icsogze8wb_v.js +3 -0
- package/console/_next/static/chunks/0ij17mw0v0qd-.js +1 -0
- package/console/_next/static/chunks/0io-wgdji~5d0.js +1 -0
- package/console/_next/static/chunks/0ipk1er3w80bj.js +24 -0
- package/console/_next/static/chunks/0irq1yd9ix16u.js +1 -0
- package/console/_next/static/chunks/0iwpyv2wbln6f.js +1 -0
- package/console/_next/static/chunks/0ixo5_jc~m0~2.js +1 -0
- package/console/_next/static/chunks/0jxlubusvmdjm.js +1 -0
- package/console/_next/static/chunks/0j~3z.dgn_8ff.css +6 -0
- package/console/_next/static/chunks/0k9_1v72yx36d.js +226 -0
- package/console/_next/static/chunks/0ka-.7dww7nze.js +101 -0
- package/console/_next/static/chunks/0kt3942_0py-t.js +1 -0
- package/console/_next/static/chunks/0l3uvjh3oslhq.js +1 -0
- package/console/_next/static/chunks/0lp.du_t-~cqs.js +2 -0
- package/console/_next/static/chunks/0lq22-4n7_uyt.js +34 -0
- package/console/_next/static/chunks/0lypu-.xpph9..js +15 -0
- package/console/_next/static/chunks/0mb.pnhflhw95.js +1 -0
- package/console/_next/static/chunks/0mcz_room09fj.js +1 -0
- package/console/_next/static/chunks/0mo3-obfy2_6v.js +15 -0
- package/console/_next/static/chunks/0mtfbfe5xd3.6.js +1 -0
- package/console/_next/static/chunks/0mvcspqlkvjri.js +1 -0
- package/console/_next/static/chunks/0n2qydw3oc1oj.js +1 -0
- package/console/_next/static/chunks/0nnkdto25tilf.js +1 -0
- package/console/_next/static/chunks/0npm9l63~4j0v.js +1 -0
- package/console/_next/static/chunks/0nu6llqvg4741.js +1 -0
- package/console/_next/static/chunks/0n~glqz40m6gv.js +1 -0
- package/console/_next/static/chunks/0o-.19qua6web.js +5 -0
- package/console/_next/static/chunks/0omq5mq8dkd24.js +1 -0
- package/console/_next/static/chunks/0oprw5m.lmqln.js +1 -0
- package/console/_next/static/chunks/0ortphe030oky.js +1 -0
- package/console/_next/static/chunks/0oufb2b491l23.js +153 -0
- package/console/_next/static/chunks/0owq59irnycu5.js +1 -0
- package/console/_next/static/chunks/0ptwwlt0l20~o.js +1 -0
- package/console/_next/static/chunks/0q2tc-vqxe1_n.js +1 -0
- package/console/_next/static/chunks/0qfu4h5g.k-yt.js +1 -0
- package/console/_next/static/chunks/0qji_.pm~u8x3.js +1 -0
- package/console/_next/static/chunks/0qm2930z0c.8m.js +80 -0
- package/console/_next/static/chunks/0q~1rz_i~v0vs.js +1 -0
- package/console/_next/static/chunks/0r4lipg4xb6fx.js +1 -0
- package/console/_next/static/chunks/0rhvismtjivza.js +104 -0
- package/console/_next/static/chunks/0rmt10l3458p_.js +93 -0
- package/console/_next/static/chunks/0rob~86j~8vge.js +1 -0
- package/console/_next/static/chunks/0r~zu0c3j_b7p.js +1 -0
- package/console/_next/static/chunks/0s0v8xobo-2ok.js +34 -0
- package/console/_next/static/chunks/0s8nwq43gep9_.js +15 -0
- package/console/_next/static/chunks/0spswjguxbqfn.js +1 -0
- package/console/_next/static/chunks/0t6aq14rpn1.w.js +1 -0
- package/console/_next/static/chunks/0taiwi2j.k7mm.js +1 -0
- package/console/_next/static/chunks/0tj3k0t29gpn7.js +1 -0
- package/console/_next/static/chunks/0tq77.56bu2eu.js +1 -0
- package/console/_next/static/chunks/0ulcdeu8yx-cn.js +1 -0
- package/console/_next/static/chunks/0uvbqsa~x3_x6.js +1 -0
- package/console/_next/static/chunks/0uw8zy_zoej6s.js +1 -0
- package/console/_next/static/chunks/0uz5-~rqk9vr..js +1 -0
- package/console/_next/static/chunks/0w3ug0~zih~j2.js +1 -0
- package/console/_next/static/chunks/0wfrz3x.bxehc.js +1 -0
- package/console/_next/static/chunks/0wyb4nqlt6his.js +1 -0
- package/console/_next/static/chunks/0x.4919xjicc5.js +75 -0
- package/console/_next/static/chunks/0xr1dk~mec2dn.js +1 -0
- package/console/_next/static/chunks/0xxouzzjw_a6q.js +115 -0
- package/console/_next/static/chunks/0y0u4wm.3~_ac.js +1 -0
- package/console/_next/static/chunks/0y4vop46pw7ip.js +2 -0
- package/console/_next/static/chunks/0y5z3t-z1c8ks.js.map +5 -0
- package/console/_next/static/chunks/0y99xmlf_e2si.js +1 -0
- package/console/_next/static/chunks/0ydl92ezt_ppz.js +1 -0
- package/console/_next/static/chunks/0ywlzawl2ml3h.js +1 -0
- package/console/_next/static/chunks/0yysdfbgz-l8n.js +1 -0
- package/console/_next/static/chunks/0zjs5hlwbvch9.js +4 -0
- package/console/_next/static/chunks/0zsntdh42--v1.js +1 -0
- package/console/_next/static/chunks/104yvyc1ce3q5.js +1 -0
- package/console/_next/static/chunks/1051z1rwyse00.js +1 -0
- package/console/_next/static/chunks/10h6g4u9i~5h8.js +1 -0
- package/console/_next/static/chunks/10isn5~-bj4w5.js +4 -0
- package/console/_next/static/chunks/10ymqudg~95gr.js +1 -0
- package/console/_next/static/chunks/111eimn8nia.7.js +1 -0
- package/console/_next/static/chunks/1155_-gh-rcvi.js +1 -0
- package/console/_next/static/chunks/117cg_x8i7.ol.js +1 -0
- package/console/_next/static/chunks/11_7qxlc92f5s.js +1 -0
- package/console/_next/static/chunks/11h85j-8~tny3.js +36 -0
- package/console/_next/static/chunks/11t~35bechtea.js +1 -0
- package/console/_next/static/chunks/11uh-ttx4zin-.js +9 -0
- package/console/_next/static/chunks/11xfx57fbi3md.js +2 -0
- package/console/_next/static/chunks/12329wyw7127c.js +1 -0
- package/console/_next/static/chunks/123jshjvn0ocr.js +31 -0
- package/console/_next/static/chunks/128ahbvhdeeq-.js +1 -0
- package/console/_next/static/chunks/13hl4dngamd3l.js +127 -0
- package/console/_next/static/chunks/14.38bpm-d3-l.js +1 -0
- package/console/_next/static/chunks/14i46k409qlt0.js +1 -0
- package/console/_next/static/chunks/14j238ax8coge.js +29 -0
- package/console/_next/static/chunks/159151ghv9-cc.js +1 -0
- package/console/_next/static/chunks/15hlb71q~xfev.js +1 -0
- package/console/_next/static/chunks/15r_pfbdb2jhp.js +23 -0
- package/console/_next/static/chunks/15wc.2zpsy4wc.js +4 -0
- package/console/_next/static/chunks/16pzrphqjtyli.js +1 -0
- package/console/_next/static/chunks/16ukgtm3fhab~.js +1071 -0
- package/console/_next/static/chunks/170p3g7_6_620.js +2 -0
- package/console/_next/static/chunks/175hd_pl41_vh.js +15 -0
- package/console/_next/static/chunks/17glhyaxi4vs-.js +1 -0
- package/console/_next/static/chunks/17jhgtykn778_.js +1 -0
- package/console/_next/static/chunks/17v4twif7y~.b.js +1 -0
- package/console/_next/static/chunks/182b_f_n0-cdr.js +1 -0
- package/console/_next/static/chunks/187v8dzyf1l-f.js +80 -0
- package/console/_next/static/chunks/turbopack-0cvnq9zq1g68-.js +1 -0
- package/console/_next/static/chunks/turbopack-172c~.rma.yso.js +1 -0
- package/console/_next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +1 -0
- package/console/_next/static/media/02263ebadd758ea4-s.0qg7j5o.yrclm.woff2 +0 -0
- package/console/_next/static/media/03fc1b4a8d284b5e-s.09.f.n_ccld80.woff2 +0 -0
- package/console/_next/static/media/07454f8ad8aaac57-s.0tqkxa-w3pk~c.woff2 +0 -0
- package/console/_next/static/media/1bcd0e671759a44c-s.0vnh8.d8wxa2x.woff2 +0 -0
- package/console/_next/static/media/1bffadaabf893a1e-s.16ipb6fqu393i.woff2 +0 -0
- package/console/_next/static/media/224e262ef877bfa4-s.0mo8vqgr8yagc.woff2 +0 -0
- package/console/_next/static/media/2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 +0 -0
- package/console/_next/static/media/2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 +0 -0
- package/console/_next/static/media/2fe89d53234c61d4-s.0k_.i63k_i_qa.woff2 +0 -0
- package/console/_next/static/media/4fa387ec64143e14-s.0wkzw~je483f-.woff2 +0 -0
- package/console/_next/static/media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2 +0 -0
- package/console/_next/static/media/5476f68d60460930-s.0wxq9webf.ew4.woff2 +0 -0
- package/console/_next/static/media/57215795b8570f5c-s.0vwgtotjdgnhr.woff2 +0 -0
- package/console/_next/static/media/59b15b4bcd7b1eb5-s.0x08jh8vondwt.woff2 +0 -0
- package/console/_next/static/media/5ce348bf30bf5439-s.0zgw-jeven.3w.woff2 +0 -0
- package/console/_next/static/media/5e05ae5b48faa55e-s.0m9hhkgdlzukj.woff2 +0 -0
- package/console/_next/static/media/6306c77e7c8268e4-s.0rhz0arwfsn~5.woff2 +0 -0
- package/console/_next/static/media/68757d6cddeff913-s.0hkrq11n-dhos.woff2 +0 -0
- package/console/_next/static/media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2 +0 -0
- package/console/_next/static/media/797e433ab948586e-s.p.08e28id.o-okb.woff2 +0 -0
- package/console/_next/static/media/7d817b4c03b0c5f1-s.0l76wvqk9d84w.woff2 +0 -0
- package/console/_next/static/media/7f11d98043fdedc9-s.0r4w1y.tjq0ay.woff2 +0 -0
- package/console/_next/static/media/7fea77d1d19108bf-s.0xyeb7czu1stb.woff2 +0 -0
- package/console/_next/static/media/83afe278b6a6bb3c-s.0q-301v4kxxnr.woff2 +0 -0
- package/console/_next/static/media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2 +0 -0
- package/console/_next/static/media/90c51ce8fb754fe8-s.00z~hoalba5dm.woff2 +0 -0
- package/console/_next/static/media/99e609270109b47d-s.16-z~2sp29ex6.woff2 +0 -0
- package/console/_next/static/media/9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 +0 -0
- package/console/_next/static/media/a7afbb44bec2bb18-s.0juuwbcf7uz~t.woff2 +0 -0
- package/console/_next/static/media/ad66f9afd8947f86-s.11u06r12fd6v_.woff2 +0 -0
- package/console/_next/static/media/bbc41e54d2fcbd21-s.0k4k9394f2q-k.woff2 +0 -0
- package/console/_next/static/media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2 +0 -0
- package/console/_next/static/media/d8cb5ab3660140cd-s.0ri_id_kcagyz.woff2 +0 -0
- package/console/_next/static/media/e15f58668ad64cb8-s.0~.8lt~vdqmc3.woff2 +0 -0
- package/console/_next/static/media/e390973e931a41c5-s.08hd0g.321csk.woff2 +0 -0
- package/console/_next/static/media/e532fa1b9921e1cd-s.0~wrfy7sm-h4g.woff2 +0 -0
- package/console/_next/static/media/e6d00ff86ef9e699-s.0lcb62h0-.jh3.woff2 +0 -0
- package/console/_next/static/media/effe91970fc4db64-s.07ig5l8azj~hy.woff2 +0 -0
- package/console/_next/static/media/elk-worker.min.13hrbirt7_.ef.js +6401 -0
- package/console/_next/static/media/favicon.0x3dzn~oxb6tn.ico +0 -0
- package/console/_next/static/media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2 +0 -0
- package/console/_not-found/__next._full.txt +29 -0
- package/console/_not-found/__next._head.txt +6 -0
- package/console/_not-found/__next._index.txt +17 -0
- package/console/_not-found/__next._not-found.__PAGE__.txt +6 -0
- package/console/_not-found/__next._not-found.txt +5 -0
- package/console/_not-found/__next._tree.txt +3 -0
- package/console/_not-found.html +1 -0
- package/console/_not-found.txt +29 -0
- package/console/apple-touch-icon-dark.png +0 -0
- package/console/apple-touch-icon-light.png +0 -0
- package/console/auth/callback/__next._full.txt +36 -0
- package/console/auth/callback/__next._head.txt +6 -0
- package/console/auth/callback/__next._index.txt +17 -0
- package/console/auth/callback/__next._tree.txt +5 -0
- package/console/auth/callback/__next.auth.callback.__PAGE__.txt +9 -0
- package/console/auth/callback/__next.auth.callback.txt +5 -0
- package/console/auth/callback/__next.auth.txt +5 -0
- package/console/auth/callback.html +1 -0
- package/console/auth/callback.txt +36 -0
- package/console/auth/github/callback/__next._full.txt +37 -0
- package/console/auth/github/callback/__next._head.txt +6 -0
- package/console/auth/github/callback/__next._index.txt +17 -0
- package/console/auth/github/callback/__next._tree.txt +5 -0
- package/console/auth/github/callback/__next.auth.github.callback.__PAGE__.txt +9 -0
- package/console/auth/github/callback/__next.auth.github.callback.txt +5 -0
- package/console/auth/github/callback/__next.auth.github.txt +5 -0
- package/console/auth/github/callback/__next.auth.txt +5 -0
- package/console/auth/github/callback.html +1 -0
- package/console/auth/github/callback.txt +37 -0
- package/console/auth/oauth/callback/__next._full.txt +37 -0
- package/console/auth/oauth/callback/__next._head.txt +6 -0
- package/console/auth/oauth/callback/__next._index.txt +17 -0
- package/console/auth/oauth/callback/__next._tree.txt +5 -0
- package/console/auth/oauth/callback/__next.auth.oauth.callback.__PAGE__.txt +9 -0
- package/console/auth/oauth/callback/__next.auth.oauth.callback.txt +5 -0
- package/console/auth/oauth/callback/__next.auth.oauth.txt +5 -0
- package/console/auth/oauth/callback/__next.auth.txt +5 -0
- package/console/auth/oauth/callback.html +1 -0
- package/console/auth/oauth/callback.txt +37 -0
- package/console/chat/__placeholder__/__placeholder__/__next._full.txt +35 -0
- package/console/chat/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/chat/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/chat/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.$d$slug.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.$d$org.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__/__next.chat.txt +5 -0
- package/console/chat/__placeholder__/__placeholder__.html +1 -0
- package/console/chat/__placeholder__/__placeholder__.txt +35 -0
- package/console/conversations/__next._full.txt +32 -0
- package/console/conversations/__next._head.txt +6 -0
- package/console/conversations/__next._index.txt +17 -0
- package/console/conversations/__next._tree.txt +5 -0
- package/console/conversations/__next.conversations.__PAGE__.txt +6 -0
- package/console/conversations/__next.conversations.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._full.txt +35 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/conversations/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.__PAGE__.txt +6 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.$d$key.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.$d$channelId.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__/__next.conversations.txt +5 -0
- package/console/conversations/__placeholder__/__placeholder__.html +1 -0
- package/console/conversations/__placeholder__/__placeholder__.txt +35 -0
- package/console/conversations.html +1 -0
- package/console/conversations.txt +32 -0
- package/console/dashboard/__next._full.txt +32 -0
- package/console/dashboard/__next._head.txt +6 -0
- package/console/dashboard/__next._index.txt +17 -0
- package/console/dashboard/__next._tree.txt +5 -0
- package/console/dashboard/__next.dashboard.__PAGE__.txt +6 -0
- package/console/dashboard/__next.dashboard.txt +5 -0
- package/console/dashboard.html +1 -0
- package/console/dashboard.txt +32 -0
- package/console/embed.js +1 -0
- package/console/executions/__placeholder__/__next._full.txt +32 -0
- package/console/executions/__placeholder__/__next._head.txt +6 -0
- package/console/executions/__placeholder__/__next._index.txt +17 -0
- package/console/executions/__placeholder__/__next._tree.txt +5 -0
- package/console/executions/__placeholder__/__next.executions.$d$id.__PAGE__.txt +5 -0
- package/console/executions/__placeholder__/__next.executions.$d$id.txt +5 -0
- package/console/executions/__placeholder__/__next.executions.txt +5 -0
- package/console/executions/__placeholder__.html +1 -0
- package/console/executions/__placeholder__.txt +32 -0
- package/console/favicon-dark-16x16.png +0 -0
- package/console/favicon-dark-32x32.png +0 -0
- package/console/favicon-dark.ico +0 -0
- package/console/favicon-dark.svg +11 -0
- package/console/favicon-light-16x16.png +0 -0
- package/console/favicon-light-32x32.png +0 -0
- package/console/favicon-light.ico +0 -0
- package/console/favicon-light.svg +11 -0
- package/console/favicon.ico +0 -0
- package/console/index.html +1 -0
- package/console/index.txt +28 -0
- package/console/invite/__placeholder__/__next._full.txt +33 -0
- package/console/invite/__placeholder__/__next._head.txt +6 -0
- package/console/invite/__placeholder__/__next._index.txt +17 -0
- package/console/invite/__placeholder__/__next._tree.txt +5 -0
- package/console/invite/__placeholder__/__next.invite.$d$token.__PAGE__.txt +6 -0
- package/console/invite/__placeholder__/__next.invite.$d$token.txt +5 -0
- package/console/invite/__placeholder__/__next.invite.txt +5 -0
- package/console/invite/__placeholder__.html +1 -0
- package/console/invite/__placeholder__.txt +33 -0
- package/console/library/__next._full.txt +33 -0
- package/console/library/__next._head.txt +6 -0
- package/console/library/__next._index.txt +17 -0
- package/console/library/__next._tree.txt +5 -0
- package/console/library/__next.library.__PAGE__.txt +6 -0
- package/console/library/__next.library.txt +7 -0
- package/console/library/agents/__next._full.txt +36 -0
- package/console/library/agents/__next._head.txt +6 -0
- package/console/library/agents/__next._index.txt +17 -0
- package/console/library/agents/__next._tree.txt +5 -0
- package/console/library/agents/__next.library.agents.__PAGE__.txt +6 -0
- package/console/library/agents/__next.library.agents.txt +5 -0
- package/console/library/agents/__next.library.txt +7 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.$d$slug.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.$d$org.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.agents.txt +5 -0
- package/console/library/agents/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/agents/__placeholder__/__placeholder__.html +1 -0
- package/console/library/agents/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/agents/new/__next._full.txt +40 -0
- package/console/library/agents/new/__next._head.txt +6 -0
- package/console/library/agents/new/__next._index.txt +17 -0
- package/console/library/agents/new/__next._tree.txt +5 -0
- package/console/library/agents/new/__next.library.agents.new.__PAGE__.txt +9 -0
- package/console/library/agents/new/__next.library.agents.new.txt +5 -0
- package/console/library/agents/new/__next.library.agents.txt +5 -0
- package/console/library/agents/new/__next.library.txt +7 -0
- package/console/library/agents/new.html +1 -0
- package/console/library/agents/new.txt +40 -0
- package/console/library/agents.html +1 -0
- package/console/library/agents.txt +36 -0
- package/console/library/mcp-servers/__next._full.txt +36 -0
- package/console/library/mcp-servers/__next._head.txt +6 -0
- package/console/library/mcp-servers/__next._index.txt +17 -0
- package/console/library/mcp-servers/__next._tree.txt +5 -0
- package/console/library/mcp-servers/__next.library.mcp-servers.__PAGE__.txt +6 -0
- package/console/library/mcp-servers/__next.library.mcp-servers.txt +5 -0
- package/console/library/mcp-servers/__next.library.txt +7 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.$d$slug.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.$d$org.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.mcp-servers.txt +5 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__.html +1 -0
- package/console/library/mcp-servers/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/mcp-servers/new/__next._full.txt +40 -0
- package/console/library/mcp-servers/new/__next._head.txt +6 -0
- package/console/library/mcp-servers/new/__next._index.txt +17 -0
- package/console/library/mcp-servers/new/__next._tree.txt +5 -0
- package/console/library/mcp-servers/new/__next.library.mcp-servers.new.__PAGE__.txt +9 -0
- package/console/library/mcp-servers/new/__next.library.mcp-servers.new.txt +5 -0
- package/console/library/mcp-servers/new/__next.library.mcp-servers.txt +5 -0
- package/console/library/mcp-servers/new/__next.library.txt +7 -0
- package/console/library/mcp-servers/new.html +1 -0
- package/console/library/mcp-servers/new.txt +40 -0
- package/console/library/mcp-servers.html +1 -0
- package/console/library/mcp-servers.txt +36 -0
- package/console/library/schedules/__next._full.txt +36 -0
- package/console/library/schedules/__next._head.txt +6 -0
- package/console/library/schedules/__next._index.txt +17 -0
- package/console/library/schedules/__next._tree.txt +5 -0
- package/console/library/schedules/__next.library.schedules.__PAGE__.txt +6 -0
- package/console/library/schedules/__next.library.schedules.txt +5 -0
- package/console/library/schedules/__next.library.txt +7 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.$d$slug.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.$d$org.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.schedules.txt +5 -0
- package/console/library/schedules/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/schedules/__placeholder__/__placeholder__.html +1 -0
- package/console/library/schedules/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/schedules/new/__next._full.txt +40 -0
- package/console/library/schedules/new/__next._head.txt +6 -0
- package/console/library/schedules/new/__next._index.txt +17 -0
- package/console/library/schedules/new/__next._tree.txt +5 -0
- package/console/library/schedules/new/__next.library.schedules.new.__PAGE__.txt +9 -0
- package/console/library/schedules/new/__next.library.schedules.new.txt +5 -0
- package/console/library/schedules/new/__next.library.schedules.txt +5 -0
- package/console/library/schedules/new/__next.library.txt +7 -0
- package/console/library/schedules/new.html +1 -0
- package/console/library/schedules/new.txt +40 -0
- package/console/library/schedules.html +1 -0
- package/console/library/schedules.txt +36 -0
- package/console/library/skills/__next._full.txt +36 -0
- package/console/library/skills/__next._head.txt +6 -0
- package/console/library/skills/__next._index.txt +17 -0
- package/console/library/skills/__next._tree.txt +5 -0
- package/console/library/skills/__next.library.skills.__PAGE__.txt +6 -0
- package/console/library/skills/__next.library.skills.txt +5 -0
- package/console/library/skills/__next.library.txt +7 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.$d$slug.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.$d$org.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.skills.txt +5 -0
- package/console/library/skills/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/skills/__placeholder__/__placeholder__.html +1 -0
- package/console/library/skills/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/skills/new/__next._full.txt +40 -0
- package/console/library/skills/new/__next._head.txt +6 -0
- package/console/library/skills/new/__next._index.txt +17 -0
- package/console/library/skills/new/__next._tree.txt +5 -0
- package/console/library/skills/new/__next.library.skills.new.__PAGE__.txt +9 -0
- package/console/library/skills/new/__next.library.skills.new.txt +5 -0
- package/console/library/skills/new/__next.library.skills.txt +5 -0
- package/console/library/skills/new/__next.library.txt +7 -0
- package/console/library/skills/new.html +1 -0
- package/console/library/skills/new.txt +40 -0
- package/console/library/skills.html +1 -0
- package/console/library/skills.txt +36 -0
- package/console/library/workflows/__next._full.txt +36 -0
- package/console/library/workflows/__next._head.txt +6 -0
- package/console/library/workflows/__next._index.txt +17 -0
- package/console/library/workflows/__next._tree.txt +5 -0
- package/console/library/workflows/__next.library.txt +7 -0
- package/console/library/workflows/__next.library.workflows.__PAGE__.txt +6 -0
- package/console/library/workflows/__next.library.workflows.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._full.txt +39 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.txt +7 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.$d$slug.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.$d$org.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__/__next.library.workflows.txt +5 -0
- package/console/library/workflows/__placeholder__/__placeholder__.html +1 -0
- package/console/library/workflows/__placeholder__/__placeholder__.txt +39 -0
- package/console/library/workflows/executions/__next._full.txt +37 -0
- package/console/library/workflows/executions/__next._head.txt +6 -0
- package/console/library/workflows/executions/__next._index.txt +17 -0
- package/console/library/workflows/executions/__next._tree.txt +5 -0
- package/console/library/workflows/executions/__next.library.txt +7 -0
- package/console/library/workflows/executions/__next.library.workflows.executions.__PAGE__.txt +6 -0
- package/console/library/workflows/executions/__next.library.workflows.executions.txt +5 -0
- package/console/library/workflows/executions/__next.library.workflows.txt +5 -0
- package/console/library/workflows/executions.html +1 -0
- package/console/library/workflows/executions.txt +37 -0
- package/console/library/workflows/new/__next._full.txt +40 -0
- package/console/library/workflows/new/__next._head.txt +6 -0
- package/console/library/workflows/new/__next._index.txt +17 -0
- package/console/library/workflows/new/__next._tree.txt +5 -0
- package/console/library/workflows/new/__next.library.txt +7 -0
- package/console/library/workflows/new/__next.library.workflows.new.__PAGE__.txt +9 -0
- package/console/library/workflows/new/__next.library.workflows.new.txt +5 -0
- package/console/library/workflows/new/__next.library.workflows.txt +5 -0
- package/console/library/workflows/new.html +1 -0
- package/console/library/workflows/new.txt +40 -0
- package/console/library/workflows.html +1 -0
- package/console/library/workflows.txt +36 -0
- package/console/library.html +1 -0
- package/console/library.txt +33 -0
- package/console/login/__next._full.txt +35 -0
- package/console/login/__next._head.txt +6 -0
- package/console/login/__next._index.txt +17 -0
- package/console/login/__next._tree.txt +5 -0
- package/console/login/__next.login.__PAGE__.txt +9 -0
- package/console/login/__next.login.txt +5 -0
- package/console/login.html +1 -0
- package/console/login.txt +35 -0
- package/console/logo.svg +1 -0
- package/console/oauth/slack/callback/__next._full.txt +37 -0
- package/console/oauth/slack/callback/__next._head.txt +6 -0
- package/console/oauth/slack/callback/__next._index.txt +17 -0
- package/console/oauth/slack/callback/__next._tree.txt +5 -0
- package/console/oauth/slack/callback/__next.oauth.slack.callback.__PAGE__.txt +9 -0
- package/console/oauth/slack/callback/__next.oauth.slack.callback.txt +5 -0
- package/console/oauth/slack/callback/__next.oauth.slack.txt +5 -0
- package/console/oauth/slack/callback/__next.oauth.txt +5 -0
- package/console/oauth/slack/callback.html +1 -0
- package/console/oauth/slack/callback.txt +37 -0
- package/console/sessions/__placeholder__/__next._full.txt +32 -0
- package/console/sessions/__placeholder__/__next._head.txt +6 -0
- package/console/sessions/__placeholder__/__next._index.txt +17 -0
- package/console/sessions/__placeholder__/__next._tree.txt +5 -0
- package/console/sessions/__placeholder__/__next.sessions.$d$id.__PAGE__.txt +5 -0
- package/console/sessions/__placeholder__/__next.sessions.$d$id.txt +5 -0
- package/console/sessions/__placeholder__/__next.sessions.txt +5 -0
- package/console/sessions/__placeholder__.html +1 -0
- package/console/sessions/__placeholder__.txt +32 -0
- package/console/settings/__next._full.txt +35 -0
- package/console/settings/__next._head.txt +6 -0
- package/console/settings/__next._index.txt +17 -0
- package/console/settings/__next._tree.txt +5 -0
- package/console/settings/__next.settings.__PAGE__.txt +9 -0
- package/console/settings/__next.settings.txt +6 -0
- package/console/settings/account-preferences/__next._full.txt +35 -0
- package/console/settings/account-preferences/__next._head.txt +6 -0
- package/console/settings/account-preferences/__next._index.txt +17 -0
- package/console/settings/account-preferences/__next._tree.txt +5 -0
- package/console/settings/account-preferences/__next.settings.account-preferences.__PAGE__.txt +6 -0
- package/console/settings/account-preferences/__next.settings.account-preferences.txt +5 -0
- package/console/settings/account-preferences/__next.settings.txt +6 -0
- package/console/settings/account-preferences.html +1 -0
- package/console/settings/account-preferences.txt +35 -0
- package/console/settings/api-keys/__next._full.txt +35 -0
- package/console/settings/api-keys/__next._head.txt +6 -0
- package/console/settings/api-keys/__next._index.txt +17 -0
- package/console/settings/api-keys/__next._tree.txt +5 -0
- package/console/settings/api-keys/__next.settings.api-keys.__PAGE__.txt +6 -0
- package/console/settings/api-keys/__next.settings.api-keys.txt +5 -0
- package/console/settings/api-keys/__next.settings.txt +6 -0
- package/console/settings/api-keys.html +1 -0
- package/console/settings/api-keys.txt +35 -0
- package/console/settings/billing/__next._full.txt +38 -0
- package/console/settings/billing/__next._head.txt +6 -0
- package/console/settings/billing/__next._index.txt +17 -0
- package/console/settings/billing/__next._tree.txt +5 -0
- package/console/settings/billing/__next.settings.billing.__PAGE__.txt +9 -0
- package/console/settings/billing/__next.settings.billing.txt +5 -0
- package/console/settings/billing/__next.settings.txt +6 -0
- package/console/settings/billing.html +1 -0
- package/console/settings/billing.txt +38 -0
- package/console/settings/channel-apps/__next._full.txt +35 -0
- package/console/settings/channel-apps/__next._head.txt +6 -0
- package/console/settings/channel-apps/__next._index.txt +17 -0
- package/console/settings/channel-apps/__next._tree.txt +5 -0
- package/console/settings/channel-apps/__next.settings.channel-apps.__PAGE__.txt +6 -0
- package/console/settings/channel-apps/__next.settings.channel-apps.txt +5 -0
- package/console/settings/channel-apps/__next.settings.txt +6 -0
- package/console/settings/channel-apps.html +1 -0
- package/console/settings/channel-apps.txt +35 -0
- package/console/settings/cursor-accounts/__next._full.txt +38 -0
- package/console/settings/cursor-accounts/__next._head.txt +6 -0
- package/console/settings/cursor-accounts/__next._index.txt +17 -0
- package/console/settings/cursor-accounts/__next._tree.txt +5 -0
- package/console/settings/cursor-accounts/__next.settings.cursor-accounts.__PAGE__.txt +9 -0
- package/console/settings/cursor-accounts/__next.settings.cursor-accounts.txt +5 -0
- package/console/settings/cursor-accounts/__next.settings.txt +6 -0
- package/console/settings/cursor-accounts.html +1 -0
- package/console/settings/cursor-accounts.txt +38 -0
- package/console/settings/environments/__next._full.txt +35 -0
- package/console/settings/environments/__next._head.txt +6 -0
- package/console/settings/environments/__next._index.txt +17 -0
- package/console/settings/environments/__next._tree.txt +5 -0
- package/console/settings/environments/__next.settings.environments.__PAGE__.txt +6 -0
- package/console/settings/environments/__next.settings.environments.txt +5 -0
- package/console/settings/environments/__next.settings.txt +6 -0
- package/console/settings/environments.html +1 -0
- package/console/settings/environments.txt +35 -0
- package/console/settings/identity-providers/__next._full.txt +35 -0
- package/console/settings/identity-providers/__next._head.txt +6 -0
- package/console/settings/identity-providers/__next._index.txt +17 -0
- package/console/settings/identity-providers/__next._tree.txt +5 -0
- package/console/settings/identity-providers/__next.settings.identity-providers.__PAGE__.txt +6 -0
- package/console/settings/identity-providers/__next.settings.identity-providers.txt +5 -0
- package/console/settings/identity-providers/__next.settings.txt +6 -0
- package/console/settings/identity-providers.html +1 -0
- package/console/settings/identity-providers.txt +35 -0
- package/console/settings/invitations/__next._full.txt +35 -0
- package/console/settings/invitations/__next._head.txt +6 -0
- package/console/settings/invitations/__next._index.txt +17 -0
- package/console/settings/invitations/__next._tree.txt +5 -0
- package/console/settings/invitations/__next.settings.invitations.__PAGE__.txt +6 -0
- package/console/settings/invitations/__next.settings.invitations.txt +5 -0
- package/console/settings/invitations/__next.settings.txt +6 -0
- package/console/settings/invitations.html +1 -0
- package/console/settings/invitations.txt +35 -0
- package/console/settings/members/__next._full.txt +35 -0
- package/console/settings/members/__next._head.txt +6 -0
- package/console/settings/members/__next._index.txt +17 -0
- package/console/settings/members/__next._tree.txt +5 -0
- package/console/settings/members/__next.settings.members.__PAGE__.txt +6 -0
- package/console/settings/members/__next.settings.members.txt +5 -0
- package/console/settings/members/__next.settings.txt +6 -0
- package/console/settings/members.html +1 -0
- package/console/settings/members.txt +35 -0
- package/console/settings/memory/__next._full.txt +35 -0
- package/console/settings/memory/__next._head.txt +6 -0
- package/console/settings/memory/__next._index.txt +17 -0
- package/console/settings/memory/__next._tree.txt +5 -0
- package/console/settings/memory/__next.settings.memory.__PAGE__.txt +6 -0
- package/console/settings/memory/__next.settings.memory.txt +5 -0
- package/console/settings/memory/__next.settings.txt +6 -0
- package/console/settings/memory.html +1 -0
- package/console/settings/memory.txt +35 -0
- package/console/settings/oauth-apps/__next._full.txt +35 -0
- package/console/settings/oauth-apps/__next._head.txt +6 -0
- package/console/settings/oauth-apps/__next._index.txt +17 -0
- package/console/settings/oauth-apps/__next._tree.txt +5 -0
- package/console/settings/oauth-apps/__next.settings.oauth-apps.__PAGE__.txt +6 -0
- package/console/settings/oauth-apps/__next.settings.oauth-apps.txt +5 -0
- package/console/settings/oauth-apps/__next.settings.txt +6 -0
- package/console/settings/oauth-apps.html +1 -0
- package/console/settings/oauth-apps.txt +35 -0
- package/console/settings/org-preferences/__next._full.txt +35 -0
- package/console/settings/org-preferences/__next._head.txt +6 -0
- package/console/settings/org-preferences/__next._index.txt +17 -0
- package/console/settings/org-preferences/__next._tree.txt +5 -0
- package/console/settings/org-preferences/__next.settings.org-preferences.__PAGE__.txt +6 -0
- package/console/settings/org-preferences/__next.settings.org-preferences.txt +5 -0
- package/console/settings/org-preferences/__next.settings.txt +6 -0
- package/console/settings/org-preferences.html +1 -0
- package/console/settings/org-preferences.txt +35 -0
- package/console/settings/org-profile/__next._full.txt +35 -0
- package/console/settings/org-profile/__next._head.txt +6 -0
- package/console/settings/org-profile/__next._index.txt +17 -0
- package/console/settings/org-profile/__next._tree.txt +5 -0
- package/console/settings/org-profile/__next.settings.org-profile.__PAGE__.txt +6 -0
- package/console/settings/org-profile/__next.settings.org-profile.txt +5 -0
- package/console/settings/org-profile/__next.settings.txt +6 -0
- package/console/settings/org-profile.html +1 -0
- package/console/settings/org-profile.txt +35 -0
- package/console/settings/platform-clients/__next._full.txt +35 -0
- package/console/settings/platform-clients/__next._head.txt +6 -0
- package/console/settings/platform-clients/__next._index.txt +17 -0
- package/console/settings/platform-clients/__next._tree.txt +5 -0
- package/console/settings/platform-clients/__next.settings.platform-clients.__PAGE__.txt +6 -0
- package/console/settings/platform-clients/__next.settings.platform-clients.txt +5 -0
- package/console/settings/platform-clients/__next.settings.txt +6 -0
- package/console/settings/platform-clients.html +1 -0
- package/console/settings/platform-clients.txt +35 -0
- package/console/settings/pricing-governance/__next._full.txt +38 -0
- package/console/settings/pricing-governance/__next._head.txt +6 -0
- package/console/settings/pricing-governance/__next._index.txt +17 -0
- package/console/settings/pricing-governance/__next._tree.txt +5 -0
- package/console/settings/pricing-governance/__next.settings.pricing-governance.__PAGE__.txt +9 -0
- package/console/settings/pricing-governance/__next.settings.pricing-governance.txt +5 -0
- package/console/settings/pricing-governance/__next.settings.txt +6 -0
- package/console/settings/pricing-governance.html +1 -0
- package/console/settings/pricing-governance.txt +38 -0
- package/console/settings/provider-standing/__next._full.txt +38 -0
- package/console/settings/provider-standing/__next._head.txt +6 -0
- package/console/settings/provider-standing/__next._index.txt +17 -0
- package/console/settings/provider-standing/__next._tree.txt +5 -0
- package/console/settings/provider-standing/__next.settings.provider-standing.__PAGE__.txt +9 -0
- package/console/settings/provider-standing/__next.settings.provider-standing.txt +5 -0
- package/console/settings/provider-standing/__next.settings.txt +6 -0
- package/console/settings/provider-standing.html +1 -0
- package/console/settings/provider-standing.txt +38 -0
- package/console/settings/usage/__next._full.txt +35 -0
- package/console/settings/usage/__next._head.txt +6 -0
- package/console/settings/usage/__next._index.txt +17 -0
- package/console/settings/usage/__next._tree.txt +5 -0
- package/console/settings/usage/__next.settings.txt +6 -0
- package/console/settings/usage/__next.settings.usage.__PAGE__.txt +6 -0
- package/console/settings/usage/__next.settings.usage.txt +5 -0
- package/console/settings/usage.html +1 -0
- package/console/settings/usage.txt +35 -0
- package/console/settings.html +1 -0
- package/console/settings.txt +35 -0
- package/console/workflows/__next._full.txt +32 -0
- package/console/workflows/__next._head.txt +6 -0
- package/console/workflows/__next._index.txt +17 -0
- package/console/workflows/__next._tree.txt +5 -0
- package/console/workflows/__next.workflows.__PAGE__.txt +6 -0
- package/console/workflows/__next.workflows.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._full.txt +35 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._head.txt +6 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._index.txt +17 -0
- package/console/workflows/__placeholder__/__placeholder__/__next._tree.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.__PAGE__.txt +6 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.$d$slug.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.$d$org.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__/__next.workflows.txt +5 -0
- package/console/workflows/__placeholder__/__placeholder__.html +1 -0
- package/console/workflows/__placeholder__/__placeholder__.txt +35 -0
- package/console/workflows/executions/__next._full.txt +33 -0
- package/console/workflows/executions/__next._head.txt +6 -0
- package/console/workflows/executions/__next._index.txt +17 -0
- package/console/workflows/executions/__next._tree.txt +5 -0
- package/console/workflows/executions/__next.workflows.executions.__PAGE__.txt +6 -0
- package/console/workflows/executions/__next.workflows.executions.txt +5 -0
- package/console/workflows/executions/__next.workflows.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next._full.txt +34 -0
- package/console/workflows/executions/__placeholder__/__next._head.txt +6 -0
- package/console/workflows/executions/__placeholder__/__next._index.txt +17 -0
- package/console/workflows/executions/__placeholder__/__next._tree.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.__PAGE__.txt +6 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.executions.$d$id.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.executions.txt +5 -0
- package/console/workflows/executions/__placeholder__/__next.workflows.txt +5 -0
- package/console/workflows/executions/__placeholder__.html +1 -0
- package/console/workflows/executions/__placeholder__.txt +34 -0
- package/console/workflows/executions.html +1 -0
- package/console/workflows/executions.txt +33 -0
- package/console/workflows.html +1 -0
- package/console/workflows.txt +32 -0
- package/main.js +1138 -0
- package/mappings.wasm +0 -0
- package/package.json +25 -0
- package/workflow-bundle-agent-execution.js +31729 -0
- package/workflow-bundle-schedule.js +11315 -0
- package/workflow-bundle-workflow-execution.js +29297 -0
- package/workflow-worker-thread.cjs +111 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,631114,e=>{"use strict";e.s(["isMessage",0,function(e,t){return!!(null!==e&&"object"==typeof e&&"$typeName"in e&&"string"==typeof e.$typeName)&&(void 0===t||t.typeName===e.$typeName)}])},274217,e=>{"use strict";var t,n;(n=t||(t={}))[n.DOUBLE=1]="DOUBLE",n[n.FLOAT=2]="FLOAT",n[n.INT64=3]="INT64",n[n.UINT64=4]="UINT64",n[n.INT32=5]="INT32",n[n.FIXED64=6]="FIXED64",n[n.FIXED32=7]="FIXED32",n[n.BOOL=8]="BOOL",n[n.STRING=9]="STRING",n[n.BYTES=12]="BYTES",n[n.UINT32=13]="UINT32",n[n.SFIXED32=15]="SFIXED32",n[n.SFIXED64=16]="SFIXED64",n[n.SINT32=17]="SINT32",n[n.SINT64=18]="SINT64",e.s(["ScalarType",0,t])},314511,351955,e=>{"use strict";var t=e.i(247167);function n(e){let t="-"===e[0];t&&(e=e.slice(1));let n=0,a=0;function r(t,r){let i=Number(e.slice(t,r));a*=1e6,(n=1e6*n+i)>=0x100000000&&(a+=n/0x100000000|0,n%=0x100000000)}return r(-24,-18),r(-18,-12),r(-12,-6),r(-6),t?o(n,a):i(n,a)}function a(e,t){let n=i(e,t),a=0x80000000&n.hi;a&&(n=o(n.lo,n.hi));let s=r(n.lo,n.hi);return a?"-"+s:s}function r(e,t){if({lo:e,hi:t}={lo:e>>>0,hi:t>>>0},t<=2097151)return String(0x100000000*t+e);let n=0xffffff&e,a=(e>>>24|t<<8)&0xffffff,r=t>>16&65535,i=n+6777216*a+6710656*r,o=a+8147497*r,l=2*r;return i>=1e7&&(o+=Math.floor(i/1e7),i%=1e7),o>=1e7&&(l+=Math.floor(o/1e7),o%=1e7),l.toString()+s(o)+s(i)}function i(e,t){return{lo:0|e,hi:0|t}}function o(e,t){return t=~t,e?e=~e+1:t+=1,i(e,t)}let s=e=>{let t=String(e);return"0000000".slice(t.length)+t};e.s(["int64FromString",0,n,"int64ToString",0,a,"uInt64ToString",0,r,"varint32read",0,function(){let e=this.buf[this.pos++],t=127&e;if((128&e)==0||(t|=(127&(e=this.buf[this.pos++]))<<7,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<14,(128&e)==0)||(t|=(127&(e=this.buf[this.pos++]))<<21,(128&e)==0))return this.assertBounds(),t;t|=(15&(e=this.buf[this.pos++]))<<28;for(let t=5;(128&e)!=0&&t<10;t++)e=this.buf[this.pos++];if((128&e)!=0)throw Error("invalid varint");return this.assertBounds(),t>>>0},"varint32write",0,function(e,t){if(e>=0){for(;e>127;)t.push(127&e|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(127&e|128),e>>=7;t.push(1)}},"varint64read",0,function(){let e=0,t=0;for(let n=0;n<28;n+=7){let a=this.buf[this.pos++];if(e|=(127&a)<<n,(128&a)==0)return this.assertBounds(),[e,t]}let n=this.buf[this.pos++];if(e|=(15&n)<<28,t=(112&n)>>4,(128&n)==0)return this.assertBounds(),[e,t];for(let n=3;n<=31;n+=7){let a=this.buf[this.pos++];if(t|=(127&a)<<n,(128&a)==0)return this.assertBounds(),[e,t]}throw Error("invalid varint")},"varint64write",0,function(e,t,n){for(let a=0;a<28;a+=7){let r=e>>>a,i=r>>>7!=0||0!=t,o=(i?128|r:r)&255;if(n.push(o),!i)return}let a=e>>>28&15|(7&t)<<4,r=t>>3!=0;if(n.push((r?128|a:a)&255),r){for(let e=3;e<31;e+=7){let a=t>>>e,r=a>>>7!=0,i=(r?128|a:a)&255;if(n.push(i),!r)return}n.push(t>>>31&1)}}],351955);let l=function(){let e=new DataView(new ArrayBuffer(8));if("function"==typeof BigInt&&"function"==typeof e.getBigInt64&&"function"==typeof e.getBigUint64&&"function"==typeof e.setBigInt64&&"function"==typeof e.setBigUint64&&(globalThis.Deno||"object"!=typeof t.default||"object"!=typeof t.default.env||"1"!==t.default.env.BUF_BIGINT_DISABLE)){let t=BigInt("-9223372036854775808"),n=BigInt("9223372036854775807"),a=BigInt("0"),r=BigInt("18446744073709551615");return{zero:BigInt(0),supported:!0,parse(e){let a="bigint"==typeof e?e:BigInt(e);if(a>n||a<t)throw Error(`invalid int64: ${e}`);return a},uParse(e){let t="bigint"==typeof e?e:BigInt(e);if(t>r||t<a)throw Error(`invalid uint64: ${e}`);return t},enc(t){return e.setBigInt64(0,this.parse(t),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},uEnc(t){return e.setBigInt64(0,this.uParse(t),!0),{lo:e.getInt32(0,!0),hi:e.getInt32(4,!0)}},dec:(t,n)=>(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigInt64(0,!0)),uDec:(t,n)=>(e.setInt32(0,t,!0),e.setInt32(4,n,!0),e.getBigUint64(0,!0))}}return{zero:"0",supported:!1,parse:e=>("string"!=typeof e&&(e=e.toString()),u(e),e),uParse:e=>("string"!=typeof e&&(e=e.toString()),p(e),e),enc:e=>("string"!=typeof e&&(e=e.toString()),u(e),n(e)),uEnc:e=>("string"!=typeof e&&(e=e.toString()),p(e),n(e)),dec:(e,t)=>a(e,t),uDec:(e,t)=>r(e,t)}}();function u(e){if(!/^-?[0-9]+$/.test(e))throw Error("invalid int64: "+e)}function p(e){if(!/^[0-9]+$/.test(e))throw Error("invalid uint64: "+e)}e.s(["protoInt64",0,l],314511)},708621,142245,e=>{"use strict";var t=e.i(314511),n=e.i(274217);function a(e,a){switch(e){case n.ScalarType.STRING:return"";case n.ScalarType.BOOL:return!1;case n.ScalarType.DOUBLE:case n.ScalarType.FLOAT:return 0;case n.ScalarType.INT64:case n.ScalarType.UINT64:case n.ScalarType.SFIXED64:case n.ScalarType.FIXED64:case n.ScalarType.SINT64:return a?"0":t.protoInt64.zero;case n.ScalarType.BYTES:return new Uint8Array(0);default:return 0}}function r(e,t){switch(e){case n.ScalarType.BOOL:return!1===t;case n.ScalarType.STRING:return""===t;case n.ScalarType.BYTES:return t instanceof Uint8Array&&!t.byteLength;default:return 0==t}}e.s(["isScalarZeroValue",0,r,"scalarEquals",0,function(e,t,a){if(t===a)return!0;if(e==n.ScalarType.BYTES){if(!(t instanceof Uint8Array)||!(a instanceof Uint8Array)||t.length!==a.length)return!1;for(let e=0;e<t.length;e++)if(t[e]!==a[e])return!1;return!0}switch(e){case n.ScalarType.UINT64:case n.ScalarType.FIXED64:case n.ScalarType.INT64:case n.ScalarType.SFIXED64:case n.ScalarType.SINT64:return t==a}return!1},"scalarZeroValue",0,a],142245);let i=Symbol.for("reflect unsafe local");e.s(["unsafeClear",0,function(e,t){let n=t.localName;if(t.oneof){let a=t.oneof.localName;e[a].case===n&&(e[a]={case:void 0})}else if(2!=t.presence)delete e[n];else switch(t.fieldKind){case"map":e[n]={};break;case"list":e[n]=[];break;case"enum":e[n]=t.enum.values[0].number;break;case"scalar":e[n]=a(t.scalar,t.longAsString)}},"unsafeGet",0,function(e,t){if(t.oneof){let n=e[t.oneof.localName];return n.case===t.localName?n.value:void 0}return e[t.localName]},"unsafeIsSet",0,function(e,t){let n=t.localName;if(t.oneof)return e[t.oneof.localName].case===n;if(2!=t.presence)return void 0!==e[n]&&Object.prototype.hasOwnProperty.call(e,n);switch(t.fieldKind){case"list":return e[n].length>0;case"map":return Object.keys(e[n]).length>0;case"scalar":return!r(t.scalar,e[n]);case"enum":return e[n]!==t.enum.values[0].number}throw Error("message field with implicit presence")},"unsafeIsSetExplicit",0,function(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&void 0!==e[t]},"unsafeLocal",0,i,"unsafeOneofCase",0,function(e,t){let n=e[t.localName].case;return void 0===n?n:t.fields.find(e=>e.localName===n)},"unsafeSet",0,function(e,t,n){t.oneof?e[t.oneof.localName]={case:t.localName,value:n}:e[t.localName]=n}],708621)},231121,e=>{"use strict";var t=e.i(708621);function n(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}e.s(["isObject",0,n,"isReflectList",0,function(e,a){var r,i,o,s;if(n(e)&&t.unsafeLocal in e&&"add"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==a){let t=e.field();return a.listKind==t.listKind&&a.scalar===t.scalar&&(null==(r=a.message)?void 0:r.typeName)===(null==(i=t.message)?void 0:i.typeName)&&(null==(o=a.enum)?void 0:o.typeName)===(null==(s=t.enum)?void 0:s.typeName)}return!0}return!1},"isReflectMap",0,function(e,a){var r,i,o,s;if(n(e)&&t.unsafeLocal in e&&"has"in e&&"field"in e&&"function"==typeof e.field){if(void 0!==a){let t=e.field();return a.mapKey===t.mapKey&&a.mapKind==t.mapKind&&a.scalar===t.scalar&&(null==(r=a.message)?void 0:r.typeName)===(null==(i=t.message)?void 0:i.typeName)&&(null==(o=a.enum)?void 0:o.typeName)===(null==(s=t.enum)?void 0:s.typeName)}return!0}return!1},"isReflectMessage",0,function(e,a){return n(e)&&t.unsafeLocal in e&&"desc"in e&&n(e.desc)&&"message"===e.desc.kind&&(void 0===a||e.desc.typeName==a.typeName)}])},891287,95560,e=>{"use strict";var t=e.i(631114),n=e.i(274217),a=e.i(142245),r=e.i(231121),i=e.i(708621);function o(e){let t=e.fields[0];return s(e.typeName)&&void 0!==t&&"scalar"==t.fieldKind&&"value"==t.name&&1==t.number}function s(e){return e.startsWith("google.protobuf.")&&["DoubleValue","FloatValue","Int64Value","UInt64Value","Int32Value","UInt32Value","BoolValue","StringValue","BytesValue"].includes(e.substring(16))}function l(e,a){if((0,t.isMessage)(a,e))return a;let o=function(e){let t;if(function(e){switch(e.file.edition){case 999:return!1;case 998:return!0;default:return e.fields.some(e=>2!=e.presence&&"message"!=e.fieldKind&&!e.oneof)}}(e)){let n,a,r=d.get(e);if(r)({prototype:n,members:a}=r);else{for(let t of(n={},a=new Set,e.members))"oneof"!=t.kind&&("scalar"==t.fieldKind||"enum"==t.fieldKind)&&2!=t.presence&&(a.add(t),n[t.localName]=b(t));d.set(e,{prototype:n,members:a})}for(let r of((t=Object.create(n)).$typeName=e.typeName,e.members))if(!a.has(r)){if("field"==r.kind&&("message"==r.fieldKind||("scalar"==r.fieldKind||"enum"==r.fieldKind)&&2!=r.presence))continue;t[r.localName]=b(r)}}else for(let n of(t={$typeName:e.typeName},e.members))("oneof"==n.kind||2==n.presence)&&(t[n.localName]=b(n));return t}(e);return void 0!==a&&function(e,t,a){for(let o of e.members){let e,s=a[o.localName];if(null!=s){if("oneof"==o.kind){let t=(0,i.unsafeOneofCase)(a,o);if(!t)continue;e=t,s=(0,i.unsafeGet)(a,t)}else e=o;switch(e.fieldKind){case"message":s=p(e,s);break;case"scalar":s=u(e,s);break;case"list":s=function(e,t){if(Array.isArray(t)){if(e.scalar==n.ScalarType.BYTES)return t.map(m);if("message"==e.listKind)return t.map(t=>p(e,t))}return t}(e,s);break;case"map":s=function(e,t){if((0,r.isObject)(t)){if(e.scalar==n.ScalarType.BYTES)return f(t,m);if("message"==e.mapKind)return f(t,t=>p(e,t))}return t}(e,s)}(0,i.unsafeSet)(t,e,s)}}}(e,o,a),o}function u(e,t){return e.scalar==n.ScalarType.BYTES?m(t):t}function p(e,n){if("message"==e.fieldKind&&!e.oneof&&o(e.message))return u(e.message.fields[0],n);if((0,r.isObject)(n)){if("google.protobuf.Struct"==e.message.typeName&&"google.protobuf.Value"!==e.parent.typeName)return n;if(!(0,t.isMessage)(n,e.message))return l(e.message,n)}return n}function m(e){return Array.isArray(e)?new Uint8Array(e):e}function f(e,t){let n={};for(let a of Object.entries(e))n[a[0]]=t(a[1]);return n}e.s(["hasCustomJsonRepresentation",0,function(e){switch(e.typeName){case"google.protobuf.Any":case"google.protobuf.Timestamp":case"google.protobuf.Duration":case"google.protobuf.FieldMask":case"google.protobuf.Struct":case"google.protobuf.Value":case"google.protobuf.ListValue":return!0;default:return o(e)}},"isWrapper",0,function(e){return s(e.$typeName)},"isWrapperDesc",0,o],95560);let c=Symbol(),d=new WeakMap;function b(e){if("oneof"==e.kind)return{case:void 0};if("list"==e.fieldKind)return[];if("map"==e.fieldKind)return{};if("message"==e.fieldKind)return c;let t=e.getDefaultValue();return void 0!==t?"scalar"==e.fieldKind&&e.longAsString?t.toString():t:"scalar"==e.fieldKind?(0,a.scalarZeroValue)(e.scalar,e.longAsString):e.enum.values[0].number}e.s(["create",0,l],891287)},182280,e=>{"use strict";let t=["FieldValueInvalidError","FieldListRangeError","ForeignFieldError"];e.s(["FieldError",0,class extends Error{constructor(e,t,n="FieldValueInvalidError"){super(t),this.name=n,this.field=()=>e}},"isFieldError",0,function(e){return e instanceof Error&&t.includes(e.name)&&"field"in e&&"function"==typeof e.field}])},606322,601564,e=>{"use strict";var t,n,a=e.i(274217),r=e.i(631114),i=e.i(182280),o=e.i(231121),s=e.i(351955),l=e.i(314511);let u=Symbol.for("@bufbuild/protobuf/text-encoding");function p(){if(void 0==globalThis[u]){let e,t=new globalThis.TextEncoder,n=new globalThis.TextDecoder;globalThis[u]={encodeUtf8:e=>t.encode(e),decodeUtf8:(t,a)=>a?(void 0===e&&(e=new globalThis.TextDecoder("utf-8",{fatal:!0})),e.decode(t)):n.decode(t),checkUtf8(e){try{return encodeURIComponent(e),!0}catch(e){return!1}}}}return globalThis[u]}function m(e){if("string"==typeof e)e=Number(e);else if("number"!=typeof e)throw Error("invalid int32: "+typeof e);if(!Number.isInteger(e)||e>0x7fffffff||e<-0x80000000)throw Error("invalid int32: "+e)}function f(e){if("string"==typeof e)e=Number(e);else if("number"!=typeof e)throw Error("invalid uint32: "+typeof e);if(!Number.isInteger(e)||e>0xffffffff||e<0)throw Error("invalid uint32: "+e)}function c(e,t){return void 0!==e.scalar?d(t,e.scalar):void 0!==e.enum?e.enum.open?Number.isInteger(t):e.enum.values.some(e=>e.number===t):(0,o.isReflectMessage)(t,e.message)}function d(e,t){switch(t){case a.ScalarType.DOUBLE:return"number"==typeof e;case a.ScalarType.FLOAT:if("number"!=typeof e)return!1;if(Number.isNaN(e)||!Number.isFinite(e))return!0;if(e>34028234663852886e22||e<-34028234663852886e22)return`${e.toFixed()} out of range`;return!0;case a.ScalarType.INT32:case a.ScalarType.SFIXED32:case a.ScalarType.SINT32:if("number"!=typeof e||!Number.isInteger(e))return!1;if(e>0x7fffffff||e<-0x80000000)return`${e.toFixed()} out of range`;return!0;case a.ScalarType.FIXED32:case a.ScalarType.UINT32:if("number"!=typeof e||!Number.isInteger(e))return!1;if(e>0xffffffff||e<0)return`${e.toFixed()} out of range`;return!0;case a.ScalarType.BOOL:return"boolean"==typeof e;case a.ScalarType.STRING:if("string"!=typeof e)return!1;return p().checkUtf8(e)||"invalid UTF8";case a.ScalarType.BYTES:return e instanceof Uint8Array;case a.ScalarType.INT64:case a.ScalarType.SFIXED64:case a.ScalarType.SINT64:if("bigint"==typeof e||"number"==typeof e||"string"==typeof e&&e.length>0)try{return l.protoInt64.parse(e),!0}catch(t){return`${e} out of range`}return!1;case a.ScalarType.FIXED64:case a.ScalarType.UINT64:if("bigint"==typeof e||"number"==typeof e||"string"==typeof e&&e.length>0)try{return l.protoInt64.uParse(e),!0}catch(t){return`${e} out of range`}return!1}}function b(e,t,n){return(n="string"==typeof n?`: ${n}`:`, got ${y(t)}`,void 0!==e.scalar)?`expected ${function(e){switch(e){case a.ScalarType.STRING:return"string";case a.ScalarType.BOOL:return"boolean";case a.ScalarType.INT64:case a.ScalarType.SINT64:case a.ScalarType.SFIXED64:return"bigint (int64)";case a.ScalarType.UINT64:case a.ScalarType.FIXED64:return"bigint (uint64)";case a.ScalarType.BYTES:return"Uint8Array";case a.ScalarType.DOUBLE:return"number (float64)";case a.ScalarType.FLOAT:return"number (float32)";case a.ScalarType.FIXED32:case a.ScalarType.UINT32:return"number (uint32)";case a.ScalarType.INT32:case a.ScalarType.SFIXED32:case a.ScalarType.SINT32:return"number (int32)"}}(e.scalar)}`+n:void 0!==e.enum?`expected ${e.enum.toString()}`+n:`expected ${g(e.message)}`+n}function y(e){switch(typeof e){case"object":if(null===e)return"null";if(e instanceof Uint8Array)return`Uint8Array(${e.length})`;if(Array.isArray(e))return`Array(${e.length})`;if((0,o.isReflectList)(e))return E(e.field());if((0,o.isReflectMap)(e))return T(e.field());if((0,o.isReflectMessage)(e))return g(e.desc);if((0,r.isMessage)(e))return`message ${e.$typeName}`;return"object";case"string":return e.length>30?"string":`"${e.split('"').join('\\"')}"`;case"boolean":case"number":return String(e);case"bigint":return String(e)+"n";default:return typeof e}}function g(e){return`ReflectMessage (${e.typeName})`}function E(e){switch(e.listKind){case"message":return`ReflectList (${e.message.toString()})`;case"enum":return`ReflectList (${e.enum.toString()})`;case"scalar":return`ReflectList (${a.ScalarType[e.scalar]})`}}function T(e){switch(e.mapKind){case"message":return`ReflectMap (${a.ScalarType[e.mapKey]}, ${e.message.toString()})`;case"enum":return`ReflectMap (${a.ScalarType[e.mapKey]}, ${e.enum.toString()})`;case"scalar":return`ReflectMap (${a.ScalarType[e.mapKey]}, ${a.ScalarType[e.scalar]})`}}(t=n||(n={}))[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32",e.s(["BinaryReader",0,class{constructor(e,t=p().decodeUtf8){this.decodeUtf8=t,this.varint64=s.varint64read,this.uint32=s.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength)}tag(){let e=this.pos,t=this.uint32(),n=this.pos-e;if(n>5||5==n&&this.buf[this.pos-1]>15)throw Error("illegal tag: varint overflows uint32");let a=t>>>3,r=7&t;if(a<=0||r>5)throw Error("illegal tag: field no "+a+" wire type "+r);return[a,r]}skip(e,t){let a=this.pos;switch(e){case n.Varint:for(;128&this.buf[this.pos++];);break;case n.Bit64:this.pos+=4;case n.Bit32:this.pos+=4;break;case n.LengthDelimited:let r=this.uint32();this.pos+=r;break;case n.StartGroup:for(;;){let[e,a]=this.tag();if(a===n.EndGroup){if(void 0!==t&&e!==t)throw Error("invalid end group tag");break}this.skip(a,e)}break;default:throw Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(a,this.pos)}assertBounds(){if(this.pos>this.len)throw RangeError("premature EOF")}int32(){return 0|this.uint32()}sint32(){let e=this.uint32();return e>>>1^-(1&e)}int64(){return l.protoInt64.dec(...this.varint64())}uint64(){return l.protoInt64.uDec(...this.varint64())}sint64(){let[e,t]=this.varint64(),n=-(1&e);return e=(e>>>1|(1&t)<<31)^n,t=t>>>1^n,l.protoInt64.dec(e,t)}bool(){let[e,t]=this.varint64();return 0!==e||0!==t}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return l.protoInt64.uDec(this.sfixed32(),this.sfixed32())}sfixed64(){return l.protoInt64.dec(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),t=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(t,t+e)}string(e){return this.decodeUtf8(this.bytes(),e)}},"BinaryWriter",0,class{constructor(e=p().encodeUtf8){this.encodeUtf8=e,this.stack=[],this.chunks=[],this.buf=[]}finish(){this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]);let e=0;for(let t=0;t<this.chunks.length;t++)e+=this.chunks[t].length;let t=new Uint8Array(e),n=0;for(let e=0;e<this.chunks.length;e++)t.set(this.chunks[e],n),n+=this.chunks[e].length;return this.chunks=[],t}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let e=this.finish(),t=this.stack.pop();if(!t)throw Error("invalid state, fork stack empty");return this.chunks=t.chunks,this.buf=t.buf,this.uint32(e.byteLength),this.raw(e)}tag(e,t){return this.uint32((e<<3|t)>>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(f(e);e>127;)this.buf.push(127&e|128),e>>>=7;return this.buf.push(e),this}int32(e){return m(e),(0,s.varint32write)(e,this.buf),this}bool(e){return this.buf.push(+!!e),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let t=this.encodeUtf8(e);return this.uint32(t.byteLength),this.raw(t)}float(e){var t=e;if("string"==typeof t){let e=t;if(Number.isNaN(t=Number(t))&&"NaN"!==e)throw Error("invalid float32: "+e)}else if("number"!=typeof t)throw Error("invalid float32: "+typeof t);if(Number.isFinite(t)&&(t>34028234663852886e22||t<-34028234663852886e22))throw Error("invalid float32: "+t);let n=new Uint8Array(4);return new DataView(n.buffer).setFloat32(0,e,!0),this.raw(n)}double(e){let t=new Uint8Array(8);return new DataView(t.buffer).setFloat64(0,e,!0),this.raw(t)}fixed32(e){f(e);let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),this.raw(t)}sfixed32(e){m(e);let t=new Uint8Array(4);return new DataView(t.buffer).setInt32(0,e,!0),this.raw(t)}sint32(e){return m(e),e=(e<<1^e>>31)>>>0,(0,s.varint32write)(e,this.buf),this}sfixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),a=l.protoInt64.enc(e);return n.setInt32(0,a.lo,!0),n.setInt32(4,a.hi,!0),this.raw(t)}fixed64(e){let t=new Uint8Array(8),n=new DataView(t.buffer),a=l.protoInt64.uEnc(e);return n.setInt32(0,a.lo,!0),n.setInt32(4,a.hi,!0),this.raw(t)}int64(e){let t=l.protoInt64.enc(e);return(0,s.varint64write)(t.lo,t.hi,this.buf),this}sint64(e){let t=l.protoInt64.enc(e),n=t.hi>>31,a=t.lo<<1^n,r=(t.hi<<1|t.lo>>>31)^n;return(0,s.varint64write)(a,r,this.buf),this}uint64(e){let t=l.protoInt64.uEnc(e);return(0,s.varint64write)(t.lo,t.hi,this.buf),this}},"FLOAT32_MAX",0,34028234663852886e22,"FLOAT32_MIN",0,-34028234663852886e22,"INT32_MAX",0,0x7fffffff,"INT32_MIN",0,-0x80000000,"UINT32_MAX",0,0xffffffff,"WireType",0,n],601564),e.s(["checkField",0,function(e,t){let n,a="list"==e.fieldKind?(0,o.isReflectList)(t,e):"map"==e.fieldKind?(0,o.isReflectMap)(t,e):c(e,t);if(!0!==a){switch(e.fieldKind){case"list":n=`expected ${E(e)}, got ${y(t)}`;break;case"map":n=`expected ${T(e)}, got ${y(t)}`;break;default:n=b(e,t,a)}return new i.FieldError(e,n)}},"checkListItem",0,function(e,t,n){let a=c(e,n);if(!0!==a)return new i.FieldError(e,`list item #${t+1}: ${b(e,n,a)}`)},"checkMapEntry",0,function(e,t,n){let a=d(t,e.mapKey);if(!0!==a)return new i.FieldError(e,`invalid map key: ${b({scalar:e.mapKey},t,a)}`);let r=c(e,n);if(!0!==r)return new i.FieldError(e,`map entry ${y(t)}: ${b(e,n,r)}`)},"formatVal",0,y],606322)},57897,e=>{"use strict";var t=e.i(274217),n=e.i(606322),a=e.i(182280),r=e.i(708621),i=e.i(891287),o=e.i(95560),s=e.i(142245),l=e.i(314511),u=e.i(231121);let p=new WeakMap;class m{get sortedFields(){let e=p.get(this.desc);if(e)return e;let t=this.desc.fields.concat().sort((e,t)=>e.number-t.number);return p.set(this.desc,t),t}constructor(e,t,n=!0){this.lists=new Map,this.maps=new Map,this.check=n,this.desc=e,this.message=this[r.unsafeLocal]=null!=t?t:(0,i.create)(e),this.fields=e.fields,this.oneofs=e.oneofs,this.members=e.members}findNumber(e){return this._fieldsByNumber||(this._fieldsByNumber=new Map(this.desc.fields.map(e=>[e.number,e]))),this._fieldsByNumber.get(e)}oneofCase(e){return f(this.message,e),(0,r.unsafeOneofCase)(this.message,e)}isSet(e){return f(this.message,e),(0,r.unsafeIsSet)(this.message,e)}clear(e){f(this.message,e),(0,r.unsafeClear)(this.message,e)}get(e){f(this.message,e);let t=(0,r.unsafeGet)(this.message,e);switch(e.fieldKind){case"list":let n=this.lists.get(e);return n&&n[r.unsafeLocal]===t||this.lists.set(e,n=new c(e,t,this.check)),n;case"map":let a=this.maps.get(e);return a&&a[r.unsafeLocal]===t||this.maps.set(e,a=new d(e,t,this.check)),a;case"message":return y(e,t,this.check);case"scalar":return void 0===t?(0,s.scalarZeroValue)(e.scalar,!1):I(e,t);case"enum":return null!=t?t:e.enum.values[0].number}}set(e,t){let a;if(f(this.message,e),this.check){let a=(0,n.checkField)(e,t);if(a)throw a}a="message"==e.fieldKind?b(e,t):(0,u.isReflectMap)(t)||(0,u.isReflectList)(t)?t[r.unsafeLocal]:_(e,t),(0,r.unsafeSet)(this.message,e,a)}getUnknown(){return this.message.$unknown}setUnknown(e){this.message.$unknown=e}}function f(e,t){if(t.parent.typeName!==e.$typeName)throw new a.FieldError(t,`cannot use ${t.toString()} with message ${e.$typeName}`,"ForeignFieldError")}class c{field(){return this._field}get size(){return this._arr.length}constructor(e,t,n){this._field=e,this._arr=this[r.unsafeLocal]=t,this.check=n}get(e){let t=this._arr[e];return void 0===t?void 0:E(this._field,t,this.check)}set(e,t){if(e<0||e>=this._arr.length)throw new a.FieldError(this._field,`list item #${e+1}: out of range`);if(this.check){let a=(0,n.checkListItem)(this._field,e,t);if(a)throw a}this._arr[e]=g(this._field,t)}add(e){if(this.check){let t=(0,n.checkListItem)(this._field,this._arr.length,e);if(t)throw t}this._arr.push(g(this._field,e))}clear(){this._arr.splice(0,this._arr.length)}[Symbol.iterator](){return this.values()}keys(){return this._arr.keys()}*values(){for(let e of this._arr)yield E(this._field,e,this.check)}*entries(){for(let e=0;e<this._arr.length;e++)yield[e,E(this._field,this._arr[e],this.check)]}}class d{constructor(e,t,n=!0){this.obj=this[r.unsafeLocal]=null!=t?t:{},this.check=n,this._field=e}field(){return this._field}set(e,t){var a,r;if(this.check){let a=(0,n.checkMapEntry)(this._field,e,t);if(a)throw a}return this.obj[N(e)]=(a=this._field,r=t,"message"==a.mapKind?b(a,r):_(a,r)),this}delete(e){let t=N(e),n=Object.prototype.hasOwnProperty.call(this.obj,t);return n&&delete this.obj[t],n}clear(){for(let e of Object.keys(this.obj))delete this.obj[e]}get(e){let t=this.obj[N(e)];return void 0!==t&&(t=T(this._field,t,this.check)),t}has(e){return Object.prototype.hasOwnProperty.call(this.obj,N(e))}*keys(){for(let e of Object.keys(this.obj))yield h(e,this._field.mapKey)}*entries(){for(let e of Object.entries(this.obj))yield[h(e[0],this._field.mapKey),T(this._field,e[1],this.check)]}[Symbol.iterator](){return this.entries()}get size(){return Object.keys(this.obj).length}*values(){for(let e of Object.values(this.obj))yield T(this._field,e,this.check)}forEach(e,t){for(let n of this.entries())e.call(t,n[1],n[0],this)}}function b(e,t){return(0,u.isReflectMessage)(t)?(0,o.isWrapper)(t.message)&&!e.oneof&&"message"==e.fieldKind?t.message.value:"google.protobuf.Struct"==t.desc.typeName&&"google.protobuf.Value"!=e.parent.typeName?function e(t){let n={};for(let[a,r]of Object.entries(t.fields))n[a]=function t(n){switch(n.kind.case){case"structValue":return e(n.kind.value);case"listValue":return n.kind.value.values.map(t);case"nullValue":case void 0:return null;default:return n.kind.value}}(r);return n}(t.message):t.message:t}function y(e,t,n){return void 0!==t&&((0,o.isWrapperDesc)(e.message)&&!e.oneof&&"message"==e.fieldKind?t={$typeName:e.message.typeName,value:I(e.message.fields[0],t)}:"google.protobuf.Struct"==e.message.typeName&&"google.protobuf.Value"!=e.parent.typeName&&(0,u.isObject)(t)&&(t=function e(t){let n={$typeName:"google.protobuf.Struct",fields:{}};if((0,u.isObject)(t))for(let[a,r]of Object.entries(t))n.fields[a]=function t(n){let a={$typeName:"google.protobuf.Value",kind:{case:void 0}};switch(typeof n){case"number":a.kind={case:"numberValue",value:n};break;case"string":a.kind={case:"stringValue",value:n};break;case"boolean":a.kind={case:"boolValue",value:n};break;case"object":if(null===n)a.kind={case:"nullValue",value:0};else if(Array.isArray(n)){let e={$typeName:"google.protobuf.ListValue",values:[]};if(Array.isArray(n))for(let a of n)e.values.push(t(a));a.kind={case:"listValue",value:e}}else a.kind={case:"structValue",value:e(n)}}return a}(r);return n}(t))),new m(e.message,t,n)}function g(e,t){return"message"==e.listKind?b(e,t):_(e,t)}function E(e,t,n){return"message"==e.listKind?y(e,t,n):I(e,t)}function T(e,t,n){return"message"==e.mapKind?y(e,t,n):t}function N(e){return"string"==typeof e||"number"==typeof e?e:String(e)}function h(e,n){switch(n){case t.ScalarType.STRING:break;case t.ScalarType.INT32:case t.ScalarType.FIXED32:case t.ScalarType.UINT32:case t.ScalarType.SFIXED32:case t.ScalarType.SINT32:{let t=Number.parseInt(e);if(Number.isFinite(t))return t;break}case t.ScalarType.BOOL:switch(e){case"true":return!0;case"false":return!1}break;case t.ScalarType.UINT64:case t.ScalarType.FIXED64:try{return l.protoInt64.uParse(e)}catch(e){}break;default:try{return l.protoInt64.parse(e)}catch(e){}}return e}function I(e,n){switch(e.scalar){case t.ScalarType.INT64:case t.ScalarType.SFIXED64:case t.ScalarType.SINT64:"longAsString"in e&&e.longAsString&&"string"==typeof n&&(n=l.protoInt64.parse(n));break;case t.ScalarType.FIXED64:case t.ScalarType.UINT64:"longAsString"in e&&e.longAsString&&"string"==typeof n&&(n=l.protoInt64.uParse(n))}return n}function _(e,n){switch(e.scalar){case t.ScalarType.INT64:case t.ScalarType.SFIXED64:case t.ScalarType.SINT64:"longAsString"in e&&e.longAsString?n=String(n):("string"==typeof n||"number"==typeof n)&&(n=l.protoInt64.parse(n));break;case t.ScalarType.FIXED64:case t.ScalarType.UINT64:"longAsString"in e&&e.longAsString?n=String(n):("string"==typeof n||"number"==typeof n)&&(n=l.protoInt64.uParse(n))}return n}e.s(["reflect",0,function(e,t,n=!0){return new m(e,t,n)},"reflectList",0,function(e,t,n=!0){return new c(e,null!=t?t:[],n)},"reflectMap",0,function(e,t,n=!0){return new d(e,t,n)}])},29671,e=>{"use strict";var t=e.i(274217),n=e.i(142245),a=e.i(57897),r=e.i(601564),i=e.i(351955);let o={readUnknownFields:!0};function s(e,t,n,a,i){var o;let s,u,p=a?t.len:t.pos+i,m=null!=(o=e.getUnknown())?o:[];for(;t.pos<p&&([s,u]=t.tag(),!a||u!=r.WireType.EndGroup);){let a=e.findNumber(s);if(!a){let e=t.skip(u,s);n.readUnknownFields&&m.push({no:s,wireType:u,data:e});continue}l(e,t,a,u,n)}if(a&&(u!=r.WireType.EndGroup||s!==i))throw Error("invalid end group tag");m.length>0&&e.setUnknown(m)}function l(e,o,s,l,m){var f;switch(s.fieldKind){case"scalar":e.set(s,p(o,s.scalar,s.utf8Validation));break;case"enum":let c=p(o,t.ScalarType.INT32);if(s.enum.open)e.set(s,c);else if(s.enum.values.some(e=>e.number===c))e.set(s,c);else if(m.readUnknownFields){let t=[];(0,i.varint32write)(c,t);let n=null!=(f=e.getUnknown())?f:[];n.push({no:s.number,wireType:l,data:new Uint8Array(t)}),e.setUnknown(n)}break;case"message":e.set(s,u(o,m,s,e.get(s)));break;case"list":!function(e,n,a,i){var o;let s=a.field();if("message"===s.listKind)return a.add(u(e,i,s));let l=null!=(o=s.scalar)?o:t.ScalarType.INT32;if(n!=r.WireType.LengthDelimited||l==t.ScalarType.STRING||l==t.ScalarType.BYTES)return a.add(p(e,l,s.utf8Validation));let m=e.uint32()+e.pos;for(;e.pos<m;)a.add(p(e,l,s.utf8Validation))}(o,l,e.get(s),m);break;case"map":!function(e,t,r){let i,o,s=t.field(),l=e.uint32(),m=e.pos+l;for(;e.pos<m;){let[t]=e.tag();switch(t){case 1:i=p(e,s.mapKey,s.utf8Validation);break;case 2:switch(s.mapKind){case"scalar":o=p(e,s.scalar,s.utf8Validation);break;case"enum":o=e.int32();break;case"message":o=u(e,r,s)}}}if(void 0===i&&(i=(0,n.scalarZeroValue)(s.mapKey,!1)),void 0===o)switch(s.mapKind){case"scalar":o=(0,n.scalarZeroValue)(s.scalar,!1);break;case"enum":o=s.enum.values[0].number;break;case"message":o=(0,a.reflect)(s.message,void 0,!1)}t.set(i,o)}(o,e.get(s),m)}}function u(e,t,n,r){let i=n.delimitedEncoding,o=null!=r?r:(0,a.reflect)(n.message,void 0,!1);return s(o,e,t,i,i?n.number:e.uint32()),o}function p(e,n,a=!1){switch(n){case t.ScalarType.STRING:return e.string(a);case t.ScalarType.BOOL:return e.bool();case t.ScalarType.DOUBLE:return e.double();case t.ScalarType.FLOAT:return e.float();case t.ScalarType.INT32:return e.int32();case t.ScalarType.INT64:return e.int64();case t.ScalarType.UINT64:return e.uint64();case t.ScalarType.FIXED64:return e.fixed64();case t.ScalarType.BYTES:return e.bytes();case t.ScalarType.FIXED32:return e.fixed32();case t.ScalarType.SFIXED32:return e.sfixed32();case t.ScalarType.SFIXED64:return e.sfixed64();case t.ScalarType.SINT64:return e.sint64();case t.ScalarType.UINT32:return e.uint32();case t.ScalarType.SINT32:return e.sint32()}}e.s(["fromBinary",0,function(e,t,n){let i=(0,a.reflect)(e,void 0,!1);return s(i,new r.BinaryReader(t),n?Object.assign(Object.assign({},o),n):o,!1,t.byteLength),i.message},"readField",0,l])},577755,e=>{"use strict";let t,n,a;function r(e){return t||(n=(t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("")).slice(0,-2).concat("-","_")),"url"==e?n:t}e.s(["base64Decode",0,function(e){let t=function(){if(!a){a=[];let e=r("std");for(let t=0;t<e.length;t++)a[e[t].charCodeAt(0)]=t;a[45]=e.indexOf("+"),a[95]=e.indexOf("/")}return a}(),n=3*e.length/4;"="==e[e.length-2]?n-=2:"="==e[e.length-1]&&(n-=1);let i=new Uint8Array(n),o=0,s=0,l,u=0;for(let n=0;n<e.length;n++){if(void 0===(l=t[e.charCodeAt(n)]))switch(e[n]){case"=":s=0;case"\n":case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string")}switch(s){case 0:u=l,s=1;break;case 1:i[o++]=u<<2|(48&l)>>4,u=l,s=2;break;case 2:i[o++]=(15&u)<<4|(60&l)>>2,u=l,s=3;break;case 3:i[o++]=(3&u)<<6|l,s=0}}if(1==s)throw Error("invalid base64 string");return i.subarray(0,o)},"base64Encode",0,function(e,t="std"){let n=r(t),a="std"==t,i="",o=0,s,l=0;for(let t=0;t<e.length;t++)switch(s=e[t],o){case 0:i+=n[s>>2],l=(3&s)<<4,o=1;break;case 1:i+=n[l|s>>4],l=(15&s)<<2,o=2;break;case 2:i+=n[l|s>>6],i+=n[63&s],o=0}return o&&(i+=n[l],a&&(i+="=",1==o&&(i+="="))),i}])},265209,e=>{"use strict";let t=new Set(["constructor","toString","toJSON","valueOf"]);e.s(["protoCamelCase",0,function(e){let t=!1,n=[];for(let a=0;a<e.length;a++){let r=e.charAt(a);switch(r){case"_":t=!0;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n.push(r),t=!1;break;default:t&&(t=!1,r=r.toUpperCase()),n.push(r)}}return n.join("")},"protoSnakeCase",0,function(e){return e.replace(/[A-Z]/g,e=>"_"+e.toLowerCase())},"safeObjectProperty",0,function(e){return t.has(e)?e+"$":e}])},48566,281299,800046,973971,14156,261847,e=>{"use strict";let t;var n,a,r,i,o,s,l,u,p,m,f,c,d,b,y,g,E,T,N,h,I,_,S,O,v,D,F,L,R,A,w,k,P,U,V,x,Y,M,C,B,G,K=e.i(265209),$=e.i(708621);function j(e){for(let t of e.field)(0,$.unsafeIsSetExplicit)(t,"jsonName")||(t.jsonName=(0,K.protoCamelCase)(t.name));e.nestedType.forEach(j)}e.s(["restoreJsonNames",0,j],281299);var X=e.i(274217),W=e.i(314511);function*J(e){switch(e.kind){case"file":for(let t of e.messages)yield t,yield*J(t);yield*e.enums,yield*e.services,yield*e.extensions;break;case"message":for(let t of e.nestedMessages)yield t,yield*J(t);yield*e.nestedEnums,yield*e.nestedExtensions}}function z(...e){let t=Z();if(!e.length)return t;if("$typeName"in e[0]&&"google.protobuf.FileDescriptorSet"==e[0].$typeName){for(let n of e[0].file)q(n,t);return t}if("$typeName"in e[0]){let n=e[0],a=e[1],r=new Set;for(let e of[n,...function e(n){let i=[];for(let e of n.dependency){if(void 0!=t.getFile(e)||r.has(e))continue;let o=a(e);if(!o)throw Error(`Unable to resolve ${e}, imported by ${n.name}`);"kind"in o?t.addFile(o,!1,!0):(r.add(o.name),i.push(o))}return i.concat(...i.map(e))}(n)].reverse())q(e,t)}else for(let n of e)for(let e of n.files)t.addFile(e);return t}function Z(){let e=new Map,t=new Map,n=new Map;return{kind:"registry",types:e,extendees:t,[Symbol.iterator]:()=>e.values(),get files(){return n.values()},addFile(e,t,a){if(n.set(e.proto.name,e),!t)for(let t of J(e))this.add(t);if(a)for(let n of e.dependencies)this.addFile(n,t,a)},add(n){if("extension"==n.kind){let e=t.get(n.extendee.typeName);e||t.set(n.extendee.typeName,e=new Map),e.set(n.number,n)}e.set(n.typeName,n)},get:t=>e.get(t),getFile:e=>n.get(e),getMessage(t){let n=e.get(t);return(null==n?void 0:n.kind)=="message"?n:void 0},getEnum(t){let n=e.get(t);return(null==n?void 0:n.kind)=="enum"?n:void 0},getExtension(t){let n=e.get(t);return(null==n?void 0:n.kind)=="extension"?n:void 0},getExtensionFor(e,n){var a;return null==(a=t.get(e.typeName))?void 0:a.get(n)},getService(t){let n=e.get(t);return(null==n?void 0:n.kind)=="service"?n:void 0}}}function H(e){let t=Z();for(let n of e)switch(n.kind){case"registry":for(let e of n)t.add(e);break;case"file":t.addFile(n);break;default:t.add(n)}return t}e.s(["nestedTypes",0,J,"usedTypes",0,function(e){return function* e(t,n){var a,r;for(let i of t.fields){let t=null!=(r=null!=(a=i.enum)?a:i.message)?r:void 0;!t||n.has(t.typeName)||(n.add(t.typeName),yield t,"message"==t.kind&&(yield*e(t,n)))}}(e,new Set)}],800046);let Q={998:{fieldPresence:1,enumType:2,repeatedFieldEncoding:2,utf8Validation:3,messageEncoding:1,jsonFormat:2,enforceNamingStyle:2,defaultSymbolVisibility:1},999:{fieldPresence:2,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1e3:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:2,defaultSymbolVisibility:1},1001:{fieldPresence:1,enumType:1,repeatedFieldEncoding:1,utf8Validation:2,messageEncoding:1,jsonFormat:1,enforceNamingStyle:1,defaultSymbolVisibility:2}};function q(e,t){var n,a,r,i;let o={kind:"file",proto:e,deprecated:null!=(a=null==(n=e.options)?void 0:n.deprecated)&&a,edition:function(e){switch(e.syntax){case"":case"proto2":return 998;case"proto3":return 999;case"editions":if(9999===e.edition)return 1001;if(e.edition in Q)return e.edition;throw Error(`${e.name}: unsupported edition`);default:throw Error(`${e.name}: unsupported syntax "${e.syntax}"`)}}(e),name:e.name.replace(/\.proto$/,""),dependencies:(r=e,i=t,r.dependency.map(e=>{let t=i.getFile(e);if(!t)throw Error(`Cannot find ${e}, imported by ${r.name}`);return t})),enums:[],messages:[],extensions:[],services:[],toString:()=>`file ${e.name}`},s=new Map,l={get:e=>s.get(e),add(e){var t;el((null==(t=e.proto.options)?void 0:t.mapEntry)===!0),s.set(e.typeName,e)}};for(let n of e.enumType)en(n,o,void 0,t);for(let n of e.messageType)!function e(t,n,a,r,i){var o,s,l,u;let p={kind:"message",proto:t,deprecated:null!=(s=null==(o=t.options)?void 0:o.deprecated)&&s,file:n,parent:a,name:t.name,typeName:er(t,a,n),fields:[],field:{},oneofs:[],members:[],nestedEnums:[],nestedMessages:[],nestedExtensions:[],toString(){return`message ${this.typeName}`}};for(let e of((null==(l=t.options)?void 0:l.mapEntry)===!0?i.add(p):((null!=(u=null==a?void 0:a.nestedMessages)?u:n.messages).push(p),r.add(p)),t.enumType))en(e,n,p,r);for(let a of t.nestedType)e(a,n,p,r,i)}(n,o,void 0,t,l);for(let n of e.service)!function(e,t,n){var a,r;let i={kind:"service",proto:e,deprecated:null!=(r=null==(a=e.options)?void 0:a.deprecated)&&r,file:t,name:e.name,typeName:er(e,void 0,t),methods:[],method:{},toString(){return`service ${this.typeName}`}};for(let a of(t.services.push(i),n.add(i),e.method)){let e=function(e,t,n){var a,r,i,o;let s;s=e.clientStreaming&&e.serverStreaming?"bidi_streaming":e.clientStreaming?"client_streaming":e.serverStreaming?"server_streaming":"unary";let l=n.getMessage(ei(e.inputType)),u=n.getMessage(ei(e.outputType));el(l,`invalid MethodDescriptorProto: input_type ${e.inputType} not found`),el(u,`invalid MethodDescriptorProto: output_type ${e.inputType} not found`);let p=e.name;return{kind:"rpc",proto:e,deprecated:null!=(r=null==(a=e.options)?void 0:a.deprecated)&&r,parent:t,name:p,localName:(0,K.safeObjectProperty)(p.length?(0,K.safeObjectProperty)(p[0].toLowerCase()+p.substring(1)):p),methodKind:s,input:l,output:u,idempotency:null!=(o=null==(i=e.options)?void 0:i.idempotencyLevel)?o:0,toString:()=>`rpc ${t.typeName}.${p}`}}(a,i,n);i.methods.push(e),i.method[e.localName]=e}}(n,o,t);for(let e of(ee(o,t),s.values()))et(e,t,l);for(let e of o.messages)et(e,t,l),ee(e,t);t.addFile(o,!0)}function ee(e,t){switch(e.kind){case"file":for(let n of e.proto.extension){let a=ea(n,e,t);e.extensions.push(a),t.add(a)}break;case"message":for(let n of e.proto.extension){let a=ea(n,e,t);e.nestedExtensions.push(a),t.add(a)}for(let n of e.nestedMessages)ee(n,t)}}function et(e,t,n){let a=e.proto.oneofDecl.map(t=>{var n,a;return n=t,{kind:"oneof",proto:n,deprecated:!1,parent:a=e,fields:[],name:n.name,localName:(0,K.safeObjectProperty)((0,K.protoCamelCase)(n.name)),toString(){return`oneof ${a.typeName}.${this.name}`}}}),r=new Set;for(let i of e.proto.field){let o=function(e,t){if(!(0,$.unsafeIsSetExplicit)(e,"oneofIndex")||e.proto3Optional)return;let n=t[e.oneofIndex];return el(n,`invalid FieldDescriptorProto: oneof #${e.oneofIndex} for field #${e.number} not found`),n}(i,a),s=ea(i,e,t,o,n);e.fields.push(s),e.field[s.localName]=s,void 0===o?e.members.push(s):(o.fields.push(s),r.has(o)||(r.add(o),e.members.push(o)))}for(let t of a.filter(e=>r.has(e)))e.oneofs.push(t);for(let a of e.nestedMessages)et(a,t,n)}function en(e,t,n,a){var r,i,o,s,l,u,p;let m=function(e,t){var n;let a=((n=e).substring(0,1)+n.substring(1).replace(/[A-Z]/g,e=>"_"+e)).toLowerCase()+"_";for(let e of t){if(!e.name.toLowerCase().startsWith(a))return;let t=e.name.substring(a.length);if(0==t.length||/^\d/.test(t))return}return a}(e.name,e.value),f={kind:"enum",proto:e,deprecated:null!=(i=null==(r=e.options)?void 0:r.deprecated)&&i,file:t,parent:n,open:!0,name:e.name,typeName:er(e,n,t),value:{},values:[],sharedPrefix:m,toString(){return`enum ${this.typeName}`}};for(let t of(f.open=1==es("enumType",{proto:(u=f).proto,parent:null!=(p=u.parent)?p:u.file}),a.add(f),e.value)){let e=t.name;f.values.push(f.value[t.number]={kind:"enum_value",proto:t,deprecated:null!=(s=null==(o=t.options)?void 0:o.deprecated)&&s,parent:f,name:e,localName:(0,K.safeObjectProperty)(void 0==m?e:e.substring(m.length)),number:t.number,toString:()=>`enum value ${f.typeName}.${e}`})}(null!=(l=null==n?void 0:n.nestedEnums)?l:t.enums).push(f)}function ea(e,t,n,a,r){var i,o,s,l,u;let p=void 0===r,m={kind:"field",proto:e,deprecated:null!=(o=null==(i=e.options)?void 0:i.deprecated)&&o,name:e.name,number:e.number,scalar:void 0,message:void 0,enum:void 0,presence:function(e,t,n,a){if(2==e.label)return 3;if(3==e.label)return 2;if(t||e.proto3Optional||n)return 1;let r=es("fieldPresence",{proto:e,parent:a});return 2==r&&(11==e.type||10==e.type)?1:r}(e,a,p,t),utf8Validation:(l=e,2==es("utf8Validation",{proto:l,parent:t})),listKind:void 0,mapKind:void 0,mapKey:void 0,delimitedEncoding:void 0,packed:void 0,longAsString:!1,getDefaultValue:void 0};if(p){let a="file"==t.kind?t:t.file,r="file"==t.kind?void 0:t,i=er(e,r,a);m.kind="extension",m.file=a,m.parent=r,m.oneof=void 0,m.typeName=i,m.jsonName=`[${i}]`,m.toString=()=>`extension ${i}`;let o=n.getMessage(ei(e.extendee));el(o,`invalid FieldDescriptorProto: extendee ${e.extendee} not found`),m.extendee=o}else el("message"==t.kind),m.parent=t,m.oneof=a,m.localName=a?(0,K.protoCamelCase)(e.name):(0,K.safeObjectProperty)((0,K.protoCamelCase)(e.name)),m.jsonName=e.jsonName,m.toString=()=>`field ${t.typeName}.${e.name}`;let f=e.label,c=e.type,d=null==(s=e.options)?void 0:s.jstype;if(3===f){let a=11==c?null==r?void 0:r.get(ei(e.typeName)):void 0;if(a){let e,t;m.fieldKind="map";let{key:n,value:r}=(e=(u=a).fields.find(e=>1===e.number),t=u.fields.find(e=>2===e.number),el(e&&"scalar"==e.fieldKind&&e.scalar!=X.ScalarType.BYTES&&e.scalar!=X.ScalarType.FLOAT&&e.scalar!=X.ScalarType.DOUBLE&&t&&"list"!=t.fieldKind&&"map"!=t.fieldKind),{key:e,value:t});return m.mapKey=n.scalar,m.mapKind=r.fieldKind,m.message=r.message,m.delimitedEncoding=!1,m.enum=r.enum,m.scalar=r.scalar,m}switch(m.fieldKind="list",c){case 11:case 10:m.listKind="message",m.message=n.getMessage(ei(e.typeName)),el(m.message),m.delimitedEncoding=eo(e,t);break;case 14:m.listKind="enum",m.enum=n.getEnum(ei(e.typeName)),el(m.enum);break;default:m.listKind="scalar",m.scalar=c,m.longAsString=1==d}return m.packed=function(e,t){if(3!=e.label)return!1;switch(e.type){case 9:case 12:case 10:case 11:return!1}let n=e.options;return n&&(0,$.unsafeIsSetExplicit)(n,"packed")?n.packed:1==es("repeatedFieldEncoding",{proto:e,parent:t})}(e,t),m}switch(c){case 11:case 10:m.fieldKind="message",m.message=n.getMessage(ei(e.typeName)),el(m.message,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),m.delimitedEncoding=eo(e,t),m.getDefaultValue=()=>void 0;break;case 14:{let t=n.getEnum(ei(e.typeName));el(void 0!==t,`invalid FieldDescriptorProto: type_name ${e.typeName} not found`),m.fieldKind="enum",m.enum=n.getEnum(ei(e.typeName)),m.getDefaultValue=()=>(0,$.unsafeIsSetExplicit)(e,"defaultValue")?function(e,t){let n=e.values.find(e=>e.name===t);if(!n)throw Error(`cannot parse ${e} default value: ${t}`);return n.number}(t,e.defaultValue):void 0;break}default:m.fieldKind="scalar",m.scalar=c,m.longAsString=1==d,m.getDefaultValue=()=>(0,$.unsafeIsSetExplicit)(e,"defaultValue")?function(e,t){switch(e){case X.ScalarType.STRING:return t;case X.ScalarType.BYTES:{let n=function(e){let t=[],n={tail:e,c:"",next(){return 0!=this.tail.length&&(this.c=this.tail[0],this.tail=this.tail.substring(1),!0)},take(e){if(this.tail.length>=e){let t=this.tail.substring(0,e);return this.tail=this.tail.substring(e),t}return!1}};for(;n.next();)if("\\"===n.c){if(n.next())switch(n.c){case"\\":t.push(n.c.charCodeAt(0));break;case"b":t.push(8);break;case"f":t.push(12);break;case"n":t.push(10);break;case"r":t.push(13);break;case"t":t.push(9);break;case"v":t.push(11);break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{let e=n.c,a=n.take(2);if(!1===a)return!1;let r=parseInt(e+a,8);if(Number.isNaN(r))return!1;t.push(r);break}case"x":{let e=n.c,a=n.take(2);if(!1===a)return!1;let r=parseInt(e+a,16);if(Number.isNaN(r))return!1;t.push(r);break}case"u":{let e=n.c,a=n.take(4);if(!1===a)return!1;let r=parseInt(e+a,16);if(Number.isNaN(r))return!1;let i=new Uint8Array(4);new DataView(i.buffer).setInt32(0,r,!0),t.push(i[0],i[1],i[2],i[3]);break}case"U":{let e=n.c,a=n.take(8);if(!1===a)return!1;let r=W.protoInt64.uEnc(e+a),i=new Uint8Array(8),o=new DataView(i.buffer);o.setInt32(0,r.lo,!0),o.setInt32(4,r.hi,!0),t.push(i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7])}}}else t.push(n.c.charCodeAt(0));return new Uint8Array(t)}(t);if(!1===n)throw Error(`cannot parse ${X.ScalarType[e]} default value: ${t}`);return n}case X.ScalarType.INT64:case X.ScalarType.SFIXED64:case X.ScalarType.SINT64:return W.protoInt64.parse(t);case X.ScalarType.UINT64:case X.ScalarType.FIXED64:return W.protoInt64.uParse(t);case X.ScalarType.DOUBLE:case X.ScalarType.FLOAT:switch(t){case"inf":return 1/0;case"-inf":return-1/0;case"nan":return NaN;default:return parseFloat(t)}case X.ScalarType.BOOL:return"true"===t;case X.ScalarType.INT32:case X.ScalarType.UINT32:case X.ScalarType.SINT32:case X.ScalarType.FIXED32:case X.ScalarType.SFIXED32:return parseInt(t,10)}}(c,e.defaultValue):void 0}return m}function er(e,t,n){return t?`${t.typeName}.${e.name}`:n.proto.package.length>0?`${n.proto.package}.${e.name}`:`${e.name}`}function ei(e){return e.startsWith(".")?e.substring(1):e}function eo(e,t){return 10==e.type||2==es("messageEncoding",{proto:e,parent:t})}function es(e,t){var n,a;let r=null==(n=t.proto.options)?void 0:n.features;if(r){let t=r[e];if(0!=t)return t}if("kind"in t){if("message"==t.kind)return es(e,null!=(a=t.parent)?a:t.file);let n=Q[t.edition];if(!n)throw Error(`feature default for edition ${t.edition} not found`);return n[e]}return es(e,t.parent)}function el(e,t){if(!e)throw Error(t)}function eu(e){var t,n,a,r,i,o,s,l;return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.DescriptorProto",name:e.name,field:null!=(n=null==(t=e.field)?void 0:t.map(ep))?n:[],extension:[],nestedType:null!=(r=null==(a=e.nestedType)?void 0:a.map(eu))?r:[],enumType:null!=(o=null==(i=e.enumType)?void 0:i.map(em))?o:[],extensionRange:null!=(l=null==(s=e.extensionRange)?void 0:s.map(e=>Object.assign({$typeName:"google.protobuf.DescriptorProto.ExtensionRange"},e)))?l:[],oneofDecl:[],reservedRange:[],reservedName:[]})}function ep(e){var t,n,a,r;return Object.assign(Object.create({label:1,typeName:"",extendee:"",defaultValue:"",oneofIndex:0,jsonName:"",proto3Optional:!1}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldDescriptorProto"},e),{options:e.options?(t=e.options,Object.assign(Object.create({ctype:0,packed:!1,jstype:0,lazy:!1,unverifiedLazy:!1,deprecated:!1,weak:!1,debugRedact:!1,retention:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FieldOptions"},t),{targets:null!=(n=t.targets)?n:[],editionDefaults:null!=(r=null==(a=t.editionDefaults)?void 0:a.map(e=>Object.assign({$typeName:"google.protobuf.FieldOptions.EditionDefault"},e)))?r:[],uninterpretedOption:[]}))):void 0}))}function em(e){return Object.assign(Object.create({visibility:0}),{$typeName:"google.protobuf.EnumDescriptorProto",name:e.name,reservedName:[],reservedRange:[],value:e.value.map(e=>Object.assign({$typeName:"google.protobuf.EnumValueDescriptorProto"},e))})}function ef(e,t,...n){return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t])}e.s(["createFileRegistry",0,z,"createMutableRegistry",0,function(...e){let t=H(e);return Object.assign(Object.assign({},t),{remove(e){var n;"extension"==e.kind&&(null==(n=t.extendees.get(e.extendee.typeName))||n.delete(e.number)),t.types.delete(e.typeName)}})},"createRegistry",0,function(...e){return H(e)}],973971),e.s(["messageDesc",0,ef],14156),e.s(["enumDesc",0,function(e,t,...n){if(0==n.length)return e.enums[t];let a=n.pop();return n.reduce((e,t)=>e.nestedMessages[t],e.messages[t]).nestedEnums[a]}],261847);let ec=(n={name:"google/protobuf/descriptor.proto",package:"google.protobuf",messageType:[{name:"FileDescriptorSet",field:[{name:"file",number:1,type:11,label:3,typeName:".google.protobuf.FileDescriptorProto"}],extensionRange:[{start:536e6,end:0x1ff2b601}]},{name:"FileDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"package",number:2,type:9,label:1},{name:"dependency",number:3,type:9,label:3},{name:"public_dependency",number:10,type:5,label:3},{name:"weak_dependency",number:11,type:5,label:3},{name:"option_dependency",number:15,type:9,label:3},{name:"message_type",number:4,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:5,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"service",number:6,type:11,label:3,typeName:".google.protobuf.ServiceDescriptorProto"},{name:"extension",number:7,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FileOptions"},{name:"source_code_info",number:9,type:11,label:1,typeName:".google.protobuf.SourceCodeInfo"},{name:"syntax",number:12,type:9,label:1},{name:"edition",number:14,type:14,label:1,typeName:".google.protobuf.Edition"}]},{name:"DescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"field",number:2,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"extension",number:6,type:11,label:3,typeName:".google.protobuf.FieldDescriptorProto"},{name:"nested_type",number:3,type:11,label:3,typeName:".google.protobuf.DescriptorProto"},{name:"enum_type",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto"},{name:"extension_range",number:5,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ExtensionRange"},{name:"oneof_decl",number:8,type:11,label:3,typeName:".google.protobuf.OneofDescriptorProto"},{name:"options",number:7,type:11,label:1,typeName:".google.protobuf.MessageOptions"},{name:"reserved_range",number:9,type:11,label:3,typeName:".google.protobuf.DescriptorProto.ReservedRange"},{name:"reserved_name",number:10,type:9,label:3},{name:"visibility",number:11,type:14,label:1,typeName:".google.protobuf.SymbolVisibility"}],nestedType:[{name:"ExtensionRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ExtensionRangeOptions"}]},{name:"ReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"ExtensionRangeOptions",field:[{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"},{name:"declaration",number:2,type:11,label:3,typeName:".google.protobuf.ExtensionRangeOptions.Declaration",options:{retention:2}},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"verification",number:3,type:14,label:1,typeName:".google.protobuf.ExtensionRangeOptions.VerificationState",defaultValue:"UNVERIFIED",options:{retention:2}}],nestedType:[{name:"Declaration",field:[{name:"number",number:1,type:5,label:1},{name:"full_name",number:2,type:9,label:1},{name:"type",number:3,type:9,label:1},{name:"reserved",number:5,type:8,label:1},{name:"repeated",number:6,type:8,label:1}]}],enumType:[{name:"VerificationState",value:[{name:"DECLARATION",number:0},{name:"UNVERIFIED",number:1}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"FieldDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:3,type:5,label:1},{name:"label",number:4,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Label"},{name:"type",number:5,type:14,label:1,typeName:".google.protobuf.FieldDescriptorProto.Type"},{name:"type_name",number:6,type:9,label:1},{name:"extendee",number:2,type:9,label:1},{name:"default_value",number:7,type:9,label:1},{name:"oneof_index",number:9,type:5,label:1},{name:"json_name",number:10,type:9,label:1},{name:"options",number:8,type:11,label:1,typeName:".google.protobuf.FieldOptions"},{name:"proto3_optional",number:17,type:8,label:1}],enumType:[{name:"Type",value:[{name:"TYPE_DOUBLE",number:1},{name:"TYPE_FLOAT",number:2},{name:"TYPE_INT64",number:3},{name:"TYPE_UINT64",number:4},{name:"TYPE_INT32",number:5},{name:"TYPE_FIXED64",number:6},{name:"TYPE_FIXED32",number:7},{name:"TYPE_BOOL",number:8},{name:"TYPE_STRING",number:9},{name:"TYPE_GROUP",number:10},{name:"TYPE_MESSAGE",number:11},{name:"TYPE_BYTES",number:12},{name:"TYPE_UINT32",number:13},{name:"TYPE_ENUM",number:14},{name:"TYPE_SFIXED32",number:15},{name:"TYPE_SFIXED64",number:16},{name:"TYPE_SINT32",number:17},{name:"TYPE_SINT64",number:18}]},{name:"Label",value:[{name:"LABEL_OPTIONAL",number:1},{name:"LABEL_REPEATED",number:3},{name:"LABEL_REQUIRED",number:2}]}]},{name:"OneofDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"options",number:2,type:11,label:1,typeName:".google.protobuf.OneofOptions"}]},{name:"EnumDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"value",number:2,type:11,label:3,typeName:".google.protobuf.EnumValueDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumOptions"},{name:"reserved_range",number:4,type:11,label:3,typeName:".google.protobuf.EnumDescriptorProto.EnumReservedRange"},{name:"reserved_name",number:5,type:9,label:3},{name:"visibility",number:6,type:14,label:1,typeName:".google.protobuf.SymbolVisibility"}],nestedType:[{name:"EnumReservedRange",field:[{name:"start",number:1,type:5,label:1},{name:"end",number:2,type:5,label:1}]}]},{name:"EnumValueDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"number",number:2,type:5,label:1},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.EnumValueOptions"}]},{name:"ServiceDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"method",number:2,type:11,label:3,typeName:".google.protobuf.MethodDescriptorProto"},{name:"options",number:3,type:11,label:1,typeName:".google.protobuf.ServiceOptions"}]},{name:"MethodDescriptorProto",field:[{name:"name",number:1,type:9,label:1},{name:"input_type",number:2,type:9,label:1},{name:"output_type",number:3,type:9,label:1},{name:"options",number:4,type:11,label:1,typeName:".google.protobuf.MethodOptions"},{name:"client_streaming",number:5,type:8,label:1,defaultValue:"false"},{name:"server_streaming",number:6,type:8,label:1,defaultValue:"false"}]},{name:"FileOptions",field:[{name:"java_package",number:1,type:9,label:1},{name:"java_outer_classname",number:8,type:9,label:1},{name:"java_multiple_files",number:10,type:8,label:1,defaultValue:"false",options:{}},{name:"java_generate_equals_and_hash",number:20,type:8,label:1,options:{deprecated:!0}},{name:"java_string_check_utf8",number:27,type:8,label:1,defaultValue:"false"},{name:"optimize_for",number:9,type:14,label:1,typeName:".google.protobuf.FileOptions.OptimizeMode",defaultValue:"SPEED"},{name:"go_package",number:11,type:9,label:1},{name:"cc_generic_services",number:16,type:8,label:1,defaultValue:"false"},{name:"java_generic_services",number:17,type:8,label:1,defaultValue:"false"},{name:"py_generic_services",number:18,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:23,type:8,label:1,defaultValue:"false"},{name:"cc_enable_arenas",number:31,type:8,label:1,defaultValue:"true"},{name:"objc_class_prefix",number:36,type:9,label:1},{name:"csharp_namespace",number:37,type:9,label:1},{name:"swift_prefix",number:39,type:9,label:1},{name:"php_class_prefix",number:40,type:9,label:1},{name:"php_namespace",number:41,type:9,label:1},{name:"php_metadata_namespace",number:44,type:9,label:1},{name:"ruby_package",number:45,type:9,label:1},{name:"features",number:50,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"OptimizeMode",value:[{name:"SPEED",number:1},{name:"CODE_SIZE",number:2},{name:"LITE_RUNTIME",number:3}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"MessageOptions",field:[{name:"message_set_wire_format",number:1,type:8,label:1,defaultValue:"false"},{name:"no_standard_descriptor_accessor",number:2,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"map_entry",number:7,type:8,label:1},{name:"deprecated_legacy_json_field_conflicts",number:11,type:8,label:1,options:{deprecated:!0}},{name:"features",number:12,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"FieldOptions",field:[{name:"ctype",number:1,type:14,label:1,typeName:".google.protobuf.FieldOptions.CType",defaultValue:"STRING"},{name:"packed",number:2,type:8,label:1},{name:"jstype",number:6,type:14,label:1,typeName:".google.protobuf.FieldOptions.JSType",defaultValue:"JS_NORMAL"},{name:"lazy",number:5,type:8,label:1,defaultValue:"false"},{name:"unverified_lazy",number:15,type:8,label:1,defaultValue:"false"},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"weak",number:10,type:8,label:1,defaultValue:"false",options:{deprecated:!0}},{name:"debug_redact",number:16,type:8,label:1,defaultValue:"false"},{name:"retention",number:17,type:14,label:1,typeName:".google.protobuf.FieldOptions.OptionRetention"},{name:"targets",number:19,type:14,label:3,typeName:".google.protobuf.FieldOptions.OptionTargetType"},{name:"edition_defaults",number:20,type:11,label:3,typeName:".google.protobuf.FieldOptions.EditionDefault"},{name:"features",number:21,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"feature_support",number:22,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],nestedType:[{name:"EditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"value",number:2,type:9,label:1}]},{name:"FeatureSupport",field:[{name:"edition_introduced",number:1,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"edition_deprecated",number:2,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"deprecation_warning",number:3,type:9,label:1},{name:"edition_removed",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"removal_error",number:5,type:9,label:1}]}],enumType:[{name:"CType",value:[{name:"STRING",number:0},{name:"CORD",number:1},{name:"STRING_PIECE",number:2}]},{name:"JSType",value:[{name:"JS_NORMAL",number:0},{name:"JS_STRING",number:1},{name:"JS_NUMBER",number:2}]},{name:"OptionRetention",value:[{name:"RETENTION_UNKNOWN",number:0},{name:"RETENTION_RUNTIME",number:1},{name:"RETENTION_SOURCE",number:2}]},{name:"OptionTargetType",value:[{name:"TARGET_TYPE_UNKNOWN",number:0},{name:"TARGET_TYPE_FILE",number:1},{name:"TARGET_TYPE_EXTENSION_RANGE",number:2},{name:"TARGET_TYPE_MESSAGE",number:3},{name:"TARGET_TYPE_FIELD",number:4},{name:"TARGET_TYPE_ONEOF",number:5},{name:"TARGET_TYPE_ENUM",number:6},{name:"TARGET_TYPE_ENUM_ENTRY",number:7},{name:"TARGET_TYPE_SERVICE",number:8},{name:"TARGET_TYPE_METHOD",number:9}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"OneofOptions",field:[{name:"features",number:1,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"EnumOptions",field:[{name:"allow_alias",number:2,type:8,label:1},{name:"deprecated",number:3,type:8,label:1,defaultValue:"false"},{name:"deprecated_legacy_json_field_conflicts",number:6,type:8,label:1,options:{deprecated:!0}},{name:"features",number:7,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"EnumValueOptions",field:[{name:"deprecated",number:1,type:8,label:1,defaultValue:"false"},{name:"features",number:2,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"debug_redact",number:3,type:8,label:1,defaultValue:"false"},{name:"feature_support",number:4,type:11,label:1,typeName:".google.protobuf.FieldOptions.FeatureSupport"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"ServiceOptions",field:[{name:"features",number:34,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"MethodOptions",field:[{name:"deprecated",number:33,type:8,label:1,defaultValue:"false"},{name:"idempotency_level",number:34,type:14,label:1,typeName:".google.protobuf.MethodOptions.IdempotencyLevel",defaultValue:"IDEMPOTENCY_UNKNOWN"},{name:"features",number:35,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"uninterpreted_option",number:999,type:11,label:3,typeName:".google.protobuf.UninterpretedOption"}],enumType:[{name:"IdempotencyLevel",value:[{name:"IDEMPOTENCY_UNKNOWN",number:0},{name:"NO_SIDE_EFFECTS",number:1},{name:"IDEMPOTENT",number:2}]}],extensionRange:[{start:1e3,end:0x20000000}]},{name:"UninterpretedOption",field:[{name:"name",number:2,type:11,label:3,typeName:".google.protobuf.UninterpretedOption.NamePart"},{name:"identifier_value",number:3,type:9,label:1},{name:"positive_int_value",number:4,type:4,label:1},{name:"negative_int_value",number:5,type:3,label:1},{name:"double_value",number:6,type:1,label:1},{name:"string_value",number:7,type:12,label:1},{name:"aggregate_value",number:8,type:9,label:1}],nestedType:[{name:"NamePart",field:[{name:"name_part",number:1,type:9,label:2},{name:"is_extension",number:2,type:8,label:2}]}]},{name:"FeatureSet",field:[{name:"field_presence",number:1,type:14,label:1,typeName:".google.protobuf.FeatureSet.FieldPresence",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPLICIT",edition:900},{value:"IMPLICIT",edition:999},{value:"EXPLICIT",edition:1e3}]}},{name:"enum_type",number:2,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnumType",options:{retention:1,targets:[6,1],editionDefaults:[{value:"CLOSED",edition:900},{value:"OPEN",edition:999}]}},{name:"repeated_field_encoding",number:3,type:14,label:1,typeName:".google.protobuf.FeatureSet.RepeatedFieldEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"EXPANDED",edition:900},{value:"PACKED",edition:999}]}},{name:"utf8_validation",number:4,type:14,label:1,typeName:".google.protobuf.FeatureSet.Utf8Validation",options:{retention:1,targets:[4,1],editionDefaults:[{value:"NONE",edition:900},{value:"VERIFY",edition:999}]}},{name:"message_encoding",number:5,type:14,label:1,typeName:".google.protobuf.FeatureSet.MessageEncoding",options:{retention:1,targets:[4,1],editionDefaults:[{value:"LENGTH_PREFIXED",edition:900}]}},{name:"json_format",number:6,type:14,label:1,typeName:".google.protobuf.FeatureSet.JsonFormat",options:{retention:1,targets:[3,6,1],editionDefaults:[{value:"LEGACY_BEST_EFFORT",edition:900},{value:"ALLOW",edition:999}]}},{name:"enforce_naming_style",number:7,type:14,label:1,typeName:".google.protobuf.FeatureSet.EnforceNamingStyle",options:{retention:2,targets:[1,2,3,4,5,6,7,8,9],editionDefaults:[{value:"STYLE_LEGACY",edition:900},{value:"STYLE2024",edition:1001}]}},{name:"default_symbol_visibility",number:8,type:14,label:1,typeName:".google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility",options:{retention:2,targets:[1],editionDefaults:[{value:"EXPORT_ALL",edition:900},{value:"EXPORT_TOP_LEVEL",edition:1001}]}}],nestedType:[{name:"VisibilityFeature",enumType:[{name:"DefaultSymbolVisibility",value:[{name:"DEFAULT_SYMBOL_VISIBILITY_UNKNOWN",number:0},{name:"EXPORT_ALL",number:1},{name:"EXPORT_TOP_LEVEL",number:2},{name:"LOCAL_ALL",number:3},{name:"STRICT",number:4}]}]}],enumType:[{name:"FieldPresence",value:[{name:"FIELD_PRESENCE_UNKNOWN",number:0},{name:"EXPLICIT",number:1},{name:"IMPLICIT",number:2},{name:"LEGACY_REQUIRED",number:3}]},{name:"EnumType",value:[{name:"ENUM_TYPE_UNKNOWN",number:0},{name:"OPEN",number:1},{name:"CLOSED",number:2}]},{name:"RepeatedFieldEncoding",value:[{name:"REPEATED_FIELD_ENCODING_UNKNOWN",number:0},{name:"PACKED",number:1},{name:"EXPANDED",number:2}]},{name:"Utf8Validation",value:[{name:"UTF8_VALIDATION_UNKNOWN",number:0},{name:"VERIFY",number:2},{name:"NONE",number:3}]},{name:"MessageEncoding",value:[{name:"MESSAGE_ENCODING_UNKNOWN",number:0},{name:"LENGTH_PREFIXED",number:1},{name:"DELIMITED",number:2}]},{name:"JsonFormat",value:[{name:"JSON_FORMAT_UNKNOWN",number:0},{name:"ALLOW",number:1},{name:"LEGACY_BEST_EFFORT",number:2}]},{name:"EnforceNamingStyle",value:[{name:"ENFORCE_NAMING_STYLE_UNKNOWN",number:0},{name:"STYLE2024",number:1},{name:"STYLE_LEGACY",number:2}]}],extensionRange:[{start:1e3,end:9995},{start:9995,end:1e4},{start:1e4,end:10001}]},{name:"FeatureSetDefaults",field:[{name:"defaults",number:1,type:11,label:3,typeName:".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"},{name:"minimum_edition",number:4,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"maximum_edition",number:5,type:14,label:1,typeName:".google.protobuf.Edition"}],nestedType:[{name:"FeatureSetEditionDefault",field:[{name:"edition",number:3,type:14,label:1,typeName:".google.protobuf.Edition"},{name:"overridable_features",number:4,type:11,label:1,typeName:".google.protobuf.FeatureSet"},{name:"fixed_features",number:5,type:11,label:1,typeName:".google.protobuf.FeatureSet"}]}]},{name:"SourceCodeInfo",field:[{name:"location",number:1,type:11,label:3,typeName:".google.protobuf.SourceCodeInfo.Location"}],nestedType:[{name:"Location",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"span",number:2,type:5,label:3,options:{packed:!0}},{name:"leading_comments",number:3,type:9,label:1},{name:"trailing_comments",number:4,type:9,label:1},{name:"leading_detached_comments",number:6,type:9,label:3}]}],extensionRange:[{start:536e6,end:0x1ff2b601}]},{name:"GeneratedCodeInfo",field:[{name:"annotation",number:1,type:11,label:3,typeName:".google.protobuf.GeneratedCodeInfo.Annotation"}],nestedType:[{name:"Annotation",field:[{name:"path",number:1,type:5,label:3,options:{packed:!0}},{name:"source_file",number:2,type:9,label:1},{name:"begin",number:3,type:5,label:1},{name:"end",number:4,type:5,label:1},{name:"semantic",number:5,type:14,label:1,typeName:".google.protobuf.GeneratedCodeInfo.Annotation.Semantic"}],enumType:[{name:"Semantic",value:[{name:"NONE",number:0},{name:"SET",number:1},{name:"ALIAS",number:2}]}]}]}],enumType:[{name:"Edition",value:[{name:"EDITION_UNKNOWN",number:0},{name:"EDITION_LEGACY",number:900},{name:"EDITION_PROTO2",number:998},{name:"EDITION_PROTO3",number:999},{name:"EDITION_2023",number:1e3},{name:"EDITION_2024",number:1001},{name:"EDITION_UNSTABLE",number:9999},{name:"EDITION_1_TEST_ONLY",number:1},{name:"EDITION_2_TEST_ONLY",number:2},{name:"EDITION_99997_TEST_ONLY",number:99997},{name:"EDITION_99998_TEST_ONLY",number:99998},{name:"EDITION_99999_TEST_ONLY",number:99999},{name:"EDITION_MAX",number:0x7fffffff}]},{name:"SymbolVisibility",value:[{name:"VISIBILITY_UNSET",number:0},{name:"VISIBILITY_LOCAL",number:1},{name:"VISIBILITY_EXPORT",number:2}]}]},(t=Object.assign(Object.create({syntax:"",edition:0}),Object.assign(Object.assign({$typeName:"google.protobuf.FileDescriptorProto",dependency:[],publicDependency:[],weakDependency:[],optionDependency:[],service:[],extension:[]},n),{messageType:n.messageType.map(eu),enumType:n.enumType.map(em)}))).messageType.forEach(j),z(t,()=>void 0).getFile(t.name)),ed=ef(ec,1);(a=_||(_={}))[a.DECLARATION=0]="DECLARATION",a[a.UNVERIFIED=1]="UNVERIFIED",(r=S||(S={}))[r.DOUBLE=1]="DOUBLE",r[r.FLOAT=2]="FLOAT",r[r.INT64=3]="INT64",r[r.UINT64=4]="UINT64",r[r.INT32=5]="INT32",r[r.FIXED64=6]="FIXED64",r[r.FIXED32=7]="FIXED32",r[r.BOOL=8]="BOOL",r[r.STRING=9]="STRING",r[r.GROUP=10]="GROUP",r[r.MESSAGE=11]="MESSAGE",r[r.BYTES=12]="BYTES",r[r.UINT32=13]="UINT32",r[r.ENUM=14]="ENUM",r[r.SFIXED32=15]="SFIXED32",r[r.SFIXED64=16]="SFIXED64",r[r.SINT32=17]="SINT32",r[r.SINT64=18]="SINT64",(i=O||(O={}))[i.OPTIONAL=1]="OPTIONAL",i[i.REPEATED=3]="REPEATED",i[i.REQUIRED=2]="REQUIRED",(o=v||(v={}))[o.SPEED=1]="SPEED",o[o.CODE_SIZE=2]="CODE_SIZE",o[o.LITE_RUNTIME=3]="LITE_RUNTIME",(s=D||(D={}))[s.STRING=0]="STRING",s[s.CORD=1]="CORD",s[s.STRING_PIECE=2]="STRING_PIECE",(l=F||(F={}))[l.JS_NORMAL=0]="JS_NORMAL",l[l.JS_STRING=1]="JS_STRING",l[l.JS_NUMBER=2]="JS_NUMBER",(u=L||(L={}))[u.RETENTION_UNKNOWN=0]="RETENTION_UNKNOWN",u[u.RETENTION_RUNTIME=1]="RETENTION_RUNTIME",u[u.RETENTION_SOURCE=2]="RETENTION_SOURCE",(p=R||(R={}))[p.TARGET_TYPE_UNKNOWN=0]="TARGET_TYPE_UNKNOWN",p[p.TARGET_TYPE_FILE=1]="TARGET_TYPE_FILE",p[p.TARGET_TYPE_EXTENSION_RANGE=2]="TARGET_TYPE_EXTENSION_RANGE",p[p.TARGET_TYPE_MESSAGE=3]="TARGET_TYPE_MESSAGE",p[p.TARGET_TYPE_FIELD=4]="TARGET_TYPE_FIELD",p[p.TARGET_TYPE_ONEOF=5]="TARGET_TYPE_ONEOF",p[p.TARGET_TYPE_ENUM=6]="TARGET_TYPE_ENUM",p[p.TARGET_TYPE_ENUM_ENTRY=7]="TARGET_TYPE_ENUM_ENTRY",p[p.TARGET_TYPE_SERVICE=8]="TARGET_TYPE_SERVICE",p[p.TARGET_TYPE_METHOD=9]="TARGET_TYPE_METHOD",(m=A||(A={}))[m.IDEMPOTENCY_UNKNOWN=0]="IDEMPOTENCY_UNKNOWN",m[m.NO_SIDE_EFFECTS=1]="NO_SIDE_EFFECTS",m[m.IDEMPOTENT=2]="IDEMPOTENT",(f=w||(w={}))[f.DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0]="DEFAULT_SYMBOL_VISIBILITY_UNKNOWN",f[f.EXPORT_ALL=1]="EXPORT_ALL",f[f.EXPORT_TOP_LEVEL=2]="EXPORT_TOP_LEVEL",f[f.LOCAL_ALL=3]="LOCAL_ALL",f[f.STRICT=4]="STRICT",(c=k||(k={}))[c.FIELD_PRESENCE_UNKNOWN=0]="FIELD_PRESENCE_UNKNOWN",c[c.EXPLICIT=1]="EXPLICIT",c[c.IMPLICIT=2]="IMPLICIT",c[c.LEGACY_REQUIRED=3]="LEGACY_REQUIRED",(d=P||(P={}))[d.ENUM_TYPE_UNKNOWN=0]="ENUM_TYPE_UNKNOWN",d[d.OPEN=1]="OPEN",d[d.CLOSED=2]="CLOSED",(b=U||(U={}))[b.REPEATED_FIELD_ENCODING_UNKNOWN=0]="REPEATED_FIELD_ENCODING_UNKNOWN",b[b.PACKED=1]="PACKED",b[b.EXPANDED=2]="EXPANDED",(y=V||(V={}))[y.UTF8_VALIDATION_UNKNOWN=0]="UTF8_VALIDATION_UNKNOWN",y[y.VERIFY=2]="VERIFY",y[y.NONE=3]="NONE",(g=x||(x={}))[g.MESSAGE_ENCODING_UNKNOWN=0]="MESSAGE_ENCODING_UNKNOWN",g[g.LENGTH_PREFIXED=1]="LENGTH_PREFIXED",g[g.DELIMITED=2]="DELIMITED",(E=Y||(Y={}))[E.JSON_FORMAT_UNKNOWN=0]="JSON_FORMAT_UNKNOWN",E[E.ALLOW=1]="ALLOW",E[E.LEGACY_BEST_EFFORT=2]="LEGACY_BEST_EFFORT",(T=M||(M={}))[T.ENFORCE_NAMING_STYLE_UNKNOWN=0]="ENFORCE_NAMING_STYLE_UNKNOWN",T[T.STYLE2024=1]="STYLE2024",T[T.STYLE_LEGACY=2]="STYLE_LEGACY",(N=C||(C={}))[N.NONE=0]="NONE",N[N.SET=1]="SET",N[N.ALIAS=2]="ALIAS",(h=B||(B={}))[h.EDITION_UNKNOWN=0]="EDITION_UNKNOWN",h[h.EDITION_LEGACY=900]="EDITION_LEGACY",h[h.EDITION_PROTO2=998]="EDITION_PROTO2",h[h.EDITION_PROTO3=999]="EDITION_PROTO3",h[h.EDITION_2023=1e3]="EDITION_2023",h[h.EDITION_2024=1001]="EDITION_2024",h[h.EDITION_UNSTABLE=9999]="EDITION_UNSTABLE",h[h.EDITION_1_TEST_ONLY=1]="EDITION_1_TEST_ONLY",h[h.EDITION_2_TEST_ONLY=2]="EDITION_2_TEST_ONLY",h[h.EDITION_99997_TEST_ONLY=99997]="EDITION_99997_TEST_ONLY",h[h.EDITION_99998_TEST_ONLY=99998]="EDITION_99998_TEST_ONLY",h[h.EDITION_99999_TEST_ONLY=99999]="EDITION_99999_TEST_ONLY",h[h.EDITION_MAX=0x7fffffff]="EDITION_MAX",(I=G||(G={}))[I.VISIBILITY_UNSET=0]="VISIBILITY_UNSET",I[I.VISIBILITY_LOCAL=1]="VISIBILITY_LOCAL",I[I.VISIBILITY_EXPORT=2]="VISIBILITY_EXPORT",e.s(["FeatureSet_FieldPresence",0,k,"FileDescriptorProtoSchema",0,ed,"MethodOptions_IdempotencyLevel",0,A,"file_google_protobuf_descriptor",0,ec],48566)},424407,e=>{"use strict";var t=e.i(577755),n=e.i(48566),a=e.i(973971),r=e.i(281299),i=e.i(29671);e.s(["fileDesc",0,function(e,o){var s;let l=(0,i.fromBinary)(n.FileDescriptorProtoSchema,(0,t.base64Decode)(e));return l.messageType.forEach(r.restoreJsonNames),l.dependency=null!=(s=null==o?void 0:o.map(e=>e.proto.name))?s:[],(0,a.createFileRegistry)(l,e=>null==o?void 0:o.find(t=>t.proto.name===e)).getFile(l.name)}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,558995,t=>{"use strict";var e=t.i(843476),s=t.i(271645),r=t.i(618566),n=t.i(918789),i=t.i(893976),l=t.i(61855);t.i(222258);var a=t.i(967785);let o=/^[a-z0-9][a-z0-9-]*$/,g=/^---\r?\n([\s\S]*?)\r?\n---/;var c=t.i(891287),d=t.i(217516),u=t.i(586108),m=t.i(326283);async function x(t){return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",t))).map(t=>t.toString(16).padStart(2,"0")).join("")}function f({org:r,tag:n,onComplete:l,onCancel:b,className:v}){let y=function(){let[e,r]=(0,s.useState)(null),[n,i]=(0,s.useState)(null),[l,c]=(0,s.useState)(!1),[d,u]=(0,s.useState)(null),m=(0,s.useRef)(0),x=(0,s.useCallback)(()=>{m.current++,r(null),i(null),c(!1),u(null)},[]);return{preview:e,validationError:n,isProcessing:l,processFile:(0,s.useCallback)(async e=>{let s=++m.current;c(!0),i(null),r(null),u(null);try{var n,l;let c=new Uint8Array(await e.arrayBuffer());if(m.current!==s)return;if((n=c).length<4||80!==n[0]||75!==n[1]||3!==n[2]||4!==n[3])return void i("File is not a valid ZIP archive");let{unzipSync:d,strFromU8:x}=await t.A(180067),f=d(c);if(m.current!==s)return;let p=Object.entries(f),h=p.find(([t])=>"SKILL.md"===t);if(!h){let t=(l=p,l.find(([t])=>t.endsWith("/SKILL.md"))?.[0]);i(t?`Found ${t} — SKILL.md must be at the archive root. Zip the skill folder's contents, not the folder itself.`:"ZIP must contain a SKILL.md file at the root level");return}let b=x(h[1]),v=function(t){let e=t.match(g);if(!e)return null;try{let t=(0,a.parse)(e[1]);if("object"==typeof t&&null!==t)return t;return null}catch{return null}}(b);if(!v)return void i("SKILL.md must have valid YAML frontmatter (---\\n...\\n---)");if(!v.name||"string"!=typeof v.name)return void i("SKILL.md frontmatter must include a 'name' field");let y=v.name;if(y.length>64)return void i("Skill name must be 64 characters or fewer");if(!o.test(y))return void i("Skill name must contain only lowercase letters, numbers, and hyphens, starting with a letter or number");let j=p.map(([t,e])=>({path:t,size:e.length,isDirectory:0===e.length&&t.endsWith("/")})),k=j.reduce((t,e)=>t+e.size,0),N="string"==typeof v.description?v.description:"";if(m.current!==s)return;r({name:y,description:N,files:j,skillMdContent:b,totalSize:k}),u(c)}catch(e){if(m.current!==s)return;let t=e instanceof Error?e.message:"Failed to process file";i(`Invalid ZIP archive: ${t}`)}finally{m.current===s&&c(!1)}},[]),reset:x,artifact:d}}(),{push:j,isPushing:k,error:N,clearError:w}=function(){let t=(0,u.useStigmer)(),[e,r]=(0,s.useState)(!1),[n,i]=(0,s.useState)(null),l=(0,s.useCallback)(()=>i(null),[]);return{push:(0,s.useCallback)(async e=>{r(!0),i(null);try{let s=(0,c.create)(d.PushSkillRequestSchema,{org:e.org,artifact:e.artifact,tag:e.tag??""});return await t.skill.push(s)}catch(t){throw i((0,m.toError)(t)),t}finally{r(!1)}},[t]),isPushing:e,error:n,clearError:l}}(),C=function(){let t=(0,u.useStigmer)(),[e,r]=(0,s.useState)(!1),[n,i]=(0,s.useState)(!1),l=(0,s.useRef)(0),a=(0,s.useCallback)(()=>{l.current++,r(!1),i(!1)},[]);return{isDuplicate:e,isChecking:n,check:(0,s.useCallback)(async e=>{let s=++l.current;i(!0),r(!1);try{let[n,i]=await Promise.all([x(e.artifactBytes),t.skill.getByReference({org:e.org,slug:e.slug}).catch(()=>null)]);if(l.current!==s)return!1;if(!i)return r(!1),!1;let a=i.status?.versionHash??"",o=""!==a&&a===n;return r(o),o}catch{return l.current===s&&r(!1),!1}finally{l.current===s&&i(!1)}},[t]),reset:a}}(),S=(0,s.useCallback)(async t=>{C.reset(),await y.processFile(t)},[y,C]);(0,s.useEffect)(()=>{if(y.preview&&y.artifact){let t=y.preview.name.toLowerCase().replace(/[^a-z0-9-]/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"");C.check({org:r,slug:t,artifactBytes:y.artifact})}},[y.preview,y.artifact,r]);let P=(0,s.useCallback)(async()=>{if(y.artifact){w();try{let t=await j({org:r,artifact:y.artifact,tag:n});l?.(t)}catch{}}},[y.artifact,w,j,r,n,l]),L=(0,s.useCallback)(()=>{y.reset(),C.reset()},[y,C]);return(0,e.jsx)("div",{className:(0,i.cn)("stg:flex stg:flex-col stg:gap-0 stg:rounded-lg stg:border stg:border-border stg:bg-card",v),children:y.preview?(0,e.jsx)(h,{preview:y.preview,isPushing:k,pushError:N,onPush:P,onReset:L,onCancel:b,isDuplicate:C.isDuplicate,isCheckingDuplicate:C.isChecking}):(0,e.jsx)(p,{onFile:S,isProcessing:y.isProcessing,validationError:y.validationError,onCancel:b})})}function p({onFile:t,isProcessing:r,validationError:n,onCancel:l}){let[a,o]=(0,s.useState)(!1),g=(0,s.useRef)(null),c=(0,s.useCallback)(t=>{t.preventDefault(),t.stopPropagation(),o(!0)},[]),d=(0,s.useCallback)(t=>{t.preventDefault(),t.stopPropagation(),o(!1)},[]),u=(0,s.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),o(!1);let s=e.dataTransfer.files[0];s&&t(s)},[t]),m=(0,s.useCallback)(()=>{g.current?.click()},[]),x=(0,s.useCallback)(e=>{let s=e.target.files?.[0];s&&t(s),g.current&&(g.current.value="")},[t]);return(0,e.jsxs)("div",{className:"stg:flex stg:flex-col",children:[(0,e.jsxs)("div",{role:"button",tabIndex:0,"aria-label":"Upload skill package",onDragOver:c,onDragLeave:d,onDrop:u,onClick:m,onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&m()},className:(0,i.cn)("stg:flex stg:flex-col stg:items-center stg:justify-center stg:gap-3 stg:rounded-lg stg:border-2 stg:border-dashed stg:p-12 stg:transition-colors stg:cursor-pointer","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring",a?"stg:border-primary stg:bg-muted-subtle":"stg:border-border stg:hover:border-muted-foreground stg:hover:bg-muted-subtle",r&&"stg:pointer-events-none stg:opacity-60"),children:[(0,e.jsx)(j,{className:(0,i.cn)("stg:size-10 stg:text-muted-foreground",a&&"stg:text-primary")}),r?(0,e.jsx)("p",{className:"stg:text-sm stg:font-medium stg:text-foreground",children:"Processing..."}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("p",{className:"stg:text-sm stg:font-medium stg:text-foreground",children:"Drop your skill package here"}),(0,e.jsx)("p",{className:"stg:text-xs stg:text-muted-foreground",children:"or click to browse"})]}),(0,e.jsx)("p",{className:"stg:mt-2 stg:text-[10px] stg:text-muted-foreground-subtle",children:"Accepts .zip files following the Anthropic Agent Skills format"}),(0,e.jsx)("input",{ref:g,type:"file",accept:".zip",onChange:x,className:"stg:hidden","aria-hidden":"true"})]}),n&&(0,e.jsx)("div",{className:"stg:px-4 stg:py-3",children:(0,e.jsx)("p",{className:"stg:text-sm stg:text-destructive",role:"alert",children:n})}),l&&(0,e.jsx)("div",{className:"stg:flex stg:justify-end stg:border-t stg:border-border stg:px-4 stg:py-3",children:(0,e.jsx)("button",{type:"button",onClick:l,className:(0,i.cn)("stg:rounded-md stg:px-3 stg:py-1.5 stg:text-sm stg:font-medium stg:text-muted-foreground","stg:hover:text-foreground stg:hover:bg-muted","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:transition-colors"),children:"Cancel"})})]})}function h({preview:t,isPushing:s,pushError:r,onPush:a,onReset:o,onCancel:g,isDuplicate:c,isCheckingDuplicate:d}){let u=(0,l.stripFrontmatter)(t.skillMdContent);return(0,e.jsxs)("div",{className:"stg:flex stg:flex-col",children:[(0,e.jsx)("div",{className:"stg:border-b stg:border-border stg:px-4 stg:py-3",children:(0,e.jsx)("h3",{className:"stg:text-sm stg:font-medium stg:text-foreground",children:"Skill Package Preview"})}),(0,e.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-2 stg:border-b stg:border-border stg:px-4 stg:py-3",children:[(0,e.jsxs)("div",{className:"stg:flex stg:items-baseline stg:gap-2",children:[(0,e.jsx)("span",{className:"stg:text-xs stg:font-medium stg:text-muted-foreground stg:w-20 stg:shrink-0",children:"Name"}),(0,e.jsx)("span",{className:"stg:text-sm stg:font-medium stg:text-foreground stg:font-mono",children:t.name})]}),t.description&&(0,e.jsxs)("div",{className:"stg:flex stg:items-baseline stg:gap-2",children:[(0,e.jsx)("span",{className:"stg:text-xs stg:font-medium stg:text-muted-foreground stg:w-20 stg:shrink-0",children:"Description"}),(0,e.jsx)("span",{className:"stg:text-sm stg:text-foreground",children:t.description})]})]}),(0,e.jsxs)("div",{className:"stg:border-b stg:border-border stg:px-4 stg:py-3",children:[(0,e.jsxs)("div",{className:"stg:mb-2 stg:flex stg:items-baseline stg:justify-between",children:[(0,e.jsxs)("span",{className:"stg:text-xs stg:font-medium stg:text-muted-foreground",children:["Files (",t.files.filter(t=>!t.isDirectory).length,")"]}),(0,e.jsxs)("span",{className:"stg:text-[10px] stg:text-muted-foreground-subtle",children:[b(t.totalSize)," total"]})]}),(0,e.jsx)("div",{className:"stg:rounded-md stg:border stg:border-border stg:overflow-hidden",children:(0,e.jsx)("table",{className:"stg:w-full stg:text-xs",children:(0,e.jsx)("tbody",{children:t.files.filter(t=>!t.isDirectory).map(t=>(0,e.jsxs)("tr",{className:"stg:border-b stg:border-border stg:last:border-b-0",children:[(0,e.jsx)("td",{className:"stg:px-3 stg:py-1.5 stg:font-mono stg:text-foreground",children:t.path}),(0,e.jsx)("td",{className:"stg:px-3 stg:py-1.5 stg:text-right stg:text-muted-foreground stg:tabular-nums",children:b(t.size)})]},t.path))})})})]}),u&&(0,e.jsxs)("div",{className:"stg:border-b stg:border-border stg:px-4 stg:py-3",children:[(0,e.jsx)("span",{className:"stg:mb-2 stg:block stg:text-xs stg:font-medium stg:text-muted-foreground",children:"SKILL.md Preview"}),(0,e.jsx)("div",{className:"stg:max-h-[240px] stg:overflow-y-auto stg:rounded-md stg:border stg:border-border stg:p-3",children:(0,e.jsx)(n.default,{remarkPlugins:l.REMARK_PLUGINS,components:l.MARKDOWN_COMPONENTS,children:u})})]}),c&&(0,e.jsxs)("div",{className:"stg:flex stg:items-start stg:gap-2.5 stg:border-b stg:border-amber-500/20 stg:bg-amber-500/5 stg:px-4 stg:py-3",role:"alert",children:[(0,e.jsx)(v,{className:"stg:mt-0.5 stg:size-4 stg:shrink-0 stg:text-amber-600 stg:dark:text-amber-400"}),(0,e.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,e.jsx)("p",{className:"stg:text-sm stg:font-medium stg:text-amber-700 stg:dark:text-amber-300",children:"No changes detected"}),(0,e.jsx)("p",{className:"stg:mt-0.5 stg:text-xs stg:text-amber-600 stg:dark:text-amber-400",children:"This skill's content is identical to the current version. Pushing will create a new version record with the same content."})]})]}),d&&(0,e.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2 stg:border-b stg:border-border stg:px-4 stg:py-2",children:[(0,e.jsx)(y,{}),(0,e.jsx)("span",{className:"stg:text-xs stg:text-muted-foreground",children:"Checking for changes..."})]}),r&&(0,e.jsx)("div",{className:"stg:px-4 stg:py-2",children:(0,e.jsx)("p",{className:"stg:text-sm stg:text-destructive",role:"alert",children:r.message})}),(0,e.jsxs)("div",{className:"stg:flex stg:items-center stg:justify-between stg:px-4 stg:py-3",children:[(0,e.jsx)("button",{type:"button",onClick:o,className:(0,i.cn)("stg:rounded-md stg:px-3 stg:py-1.5 stg:text-sm stg:font-medium stg:text-muted-foreground","stg:hover:text-foreground stg:hover:bg-muted","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:transition-colors"),children:"Choose Different File"}),(0,e.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[g&&(0,e.jsx)("button",{type:"button",onClick:g,className:(0,i.cn)("stg:rounded-md stg:px-3 stg:py-1.5 stg:text-sm stg:font-medium stg:text-muted-foreground","stg:hover:text-foreground stg:hover:bg-muted","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:transition-colors"),children:"Cancel"}),(0,e.jsx)("button",{type:"button",onClick:a,disabled:s,className:(0,i.cn)("stg:rounded-md stg:bg-primary stg:px-4 stg:py-1.5 stg:text-sm stg:font-medium stg:text-primary-foreground","stg:hover:bg-primary-hover","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:disabled:opacity-50 stg:disabled:cursor-not-allowed","stg:transition-colors"),children:s?"Pushing...":c?"Push Anyway":"Push Skill"})]})]})]})}function b(t){return t<1024?`${t} B`:t<1048576?`${(t/1024).toFixed(1)} KB`:`${(t/1048576).toFixed(1)} MB`}function v({className:t}){return(0,e.jsxs)("svg",{className:t,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,e.jsx)("path",{d:"M8 1.5 1 14h14L8 1.5Z"}),(0,e.jsx)("path",{d:"M8 6v3.5"}),(0,e.jsx)("circle",{cx:"8",cy:"11.5",r:"0.5",fill:"currentColor",stroke:"none"})]})}function y(){return(0,e.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",className:"stg:animate-spin","aria-hidden":"true",children:(0,e.jsx)("path",{d:"M8 2a6 6 0 1 0 6 6"})})}function j({className:t}){return(0,e.jsxs)("svg",{className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,e.jsx)("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),(0,e.jsx)("polyline",{points:"17 8 12 3 7 8"}),(0,e.jsx)("line",{x1:"12",y1:"3",x2:"12",y2:"15"})]})}var k=t.i(297629),N=t.i(310057);t.s(["SkillNewPage",0,function(){let t=(0,k.useActiveOrgSlug)(),n=(0,r.useRouter)(),{setLabel:i}=(0,N.useBreadcrumbOverride)();return((0,s.useEffect)(()=>{i("Upload skill")},[i]),t)?(0,e.jsx)(f,{org:t,onComplete:t=>n.push(`/library/skills/${t.metadata?.org}/${t.metadata?.slug}`),onCancel:()=>n.push("/library/skills"),className:"min-h-[320px]"}):null}],558995)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,940069,e=>{"use strict";let t={agents:"stigmer:library:agents:scope",skills:"stigmer:library:skills:scope","mcp-servers":"stigmer:library:mcp-servers:scope",workflows:"stigmer:workflows:scope"};e.s(["readPersistedScope",0,function(e){return"all"===localStorage.getItem(t[e])?"all":"org"},"writePersistedScope",0,function(e,s){localStorage.setItem(t[e],s)}])},658653,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(893976),n=e.i(468806),i=e.i(869803),a=e.i(846696),o=e.i(774079),l=e.i(901501),g=e.i(864652),c=e.i(586108),d=e.i(326283);let u=(0,s.lazy)(()=>e.A(573374).then(e=>({default:e.YamlEditor})));function m(){return(0,t.jsx)("div",{className:"stg:flex stg:h-56 stg:items-center stg:justify-center stg:rounded-md stg:border stg:border-border stg:bg-muted stg:text-sm stg:text-muted-foreground",children:"Loading editor…"})}function p({entry:e}){return(0,t.jsxs)("li",{className:"stg:rounded-md stg:border stg:border-border stg:bg-card stg:px-3 stg:py-2",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("span",{className:"stg:inline-flex stg:rounded stg:bg-muted stg:px-1.5 stg:py-0.5 stg:text-xs stg:font-medium stg:text-muted-foreground",children:e.document.handler.displayName}),(0,t.jsx)("span",{className:"stg:text-sm stg:font-medium stg:text-foreground",children:e.document.name}),(0,t.jsx)(x,{entry:e}),(0,t.jsx)("span",{className:"stg:ml-auto stg:text-xs stg:text-muted-foreground",children:e.document.org})]}),e.document.warning&&(0,t.jsx)("p",{className:"stg:mt-1 stg:text-xs stg:text-muted-foreground",children:e.document.warning}),"failed"===e.status&&e.errorMessage&&(0,t.jsx)("p",{role:"alert",className:"stg:mt-1 stg:text-xs stg:text-destructive",children:e.errorMessage})]})}function x({entry:e}){let s=function(e){switch(e.status){case"applying":return"Applying…";case"applied":return"Applied";case"failed":return"Failed";case"skipped":return"Skipped";case"pending":switch(e.action){case"create":return"Will create";case"update":return"Will update";case"unknown":return"Create or update"}}}(e);return(0,t.jsx)("span",{className:(0,r.cn)("stg:inline-flex stg:rounded stg:px-1.5 stg:py-0.5 stg:text-xs stg:font-medium","failed"===e.status?"stg:bg-card stg:text-destructive stg:border stg:border-destructive":"stg:bg-muted stg:text-muted-foreground"),children:s})}e.s(["ApplyManifestDialog",0,function({open:e,onOpenChange:x,org:f,onApplied:h}){var b;let v=(0,s.useRef)(null),y=function(e){let t=(0,c.useStigmer)(),[r,n]=(0,s.useState)(""),[i,a]=(0,s.useState)(null),[o,u]=(0,s.useState)(null),[m,p]=(0,s.useState)(!1),[x,f]=(0,s.useState)(!1),h=(0,s.useRef)(e);h.current=e;let b=(0,s.useCallback)(e=>{n(e)},[]),v=(0,s.useCallback)(async e=>{let t;try{t=await e.text()}catch{n(""),a(null),u(`Failed to read ${e.name}.`);return}n(t)},[]),y=(0,s.useCallback)(()=>{n(""),a(null),u(null),p(!1),f(!1)},[]),j=(0,s.useRef)(0);(0,s.useEffect)(()=>{if(x)return;let e=++j.current;if(!r.trim()){a(null),u(null),p(!1);return}p(!0);let s=setTimeout(async()=>{let s;try{s=(0,g.parseManifest)(r,{org:h.current})}catch(t){j.current===e&&(a(null),u((0,d.toError)(t).message),p(!1));return}let n=await Promise.all(s.map(async e=>{let s;try{let r=await t.manifest.getByReference(e.handler.yamlKind,e.org,e.slug);s=null!==r?"update":"create"}catch{s="unknown"}return{document:e,action:s,status:"pending"}}));j.current===e&&(a(n),u(null),p(!1))},500);return()=>clearTimeout(s)},[r,t,x]);let N=(0,s.useCallback)(async()=>{if(!i||0===i.length)return[];j.current++,f(!0);let e=i.map(e=>({...e,status:"pending"})),s=()=>a([...e]),r=!1;for(let n=0;n<e.length;n++){if(r){e[n]={...e[n],status:"skipped"};continue}e[n]={...e[n],status:"applying"},s();try{let s=await t.manifest.apply(e[n].document);e[n]={...e[n],status:"applied",result:s}}catch(t){e[n]={...e[n],status:"failed",errorMessage:(0,d.toError)(t).message},r=!0}s()}return s(),f(!1),e},[i,t]),C=(0,s.useMemo)(()=>(0,l.containsRedactedSecrets)(r),[r]);return(0,s.useMemo)(()=>({content:r,setContent:b,readFile:v,entries:i,validationError:o,isValidating:m,hasRedactedSecrets:C,applyAll:N,isApplying:x,reset:y}),[r,b,v,i,o,m,C,N,x,y])}(f),{reset:j}=y;(0,s.useEffect)(()=>{e&&(j(),v.current&&(v.current.value=""))},[e,j]);let N=(0,s.useCallback)(()=>{x(!1);let e=(y.entries??[]).filter(e=>"applied"===e.status);e.length>0&&h?.(e)},[x,y.entries,h]),C=(0,s.useCallback)(e=>{e||N()},[N]),k=(0,s.useCallback)(e=>{let t=e.target.files?.[0];t&&y.readFile(t)},[y]),S=(0,s.useCallback)(async()=>{let e=await y.applyAll(),t=e.filter(e=>"applied"===e.status);e.length>0&&t.length===e.length&&(a.toast.success(1===t.length?"Resource applied":`${t.length} resources applied`),x(!1),h?.(t))},[y,x,h]),w=null!==y.entries&&y.entries.length>0&&!y.isValidating&&!y.isApplying;return(0,t.jsx)(n.DialogShell,{open:e,onOpenChange:C,width:"3xl","aria-label":"Apply YAML",children:(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-4 stg:p-6",children:[(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-1",children:[(0,t.jsx)("h3",{className:"stg:text-base stg:font-semibold stg:text-foreground",children:"Apply YAML"}),(0,t.jsx)("p",{className:"stg:text-sm stg:text-muted-foreground",children:"Paste a resource manifest or upload a file. Resources are created when new and updated when they already exist."})]}),(0,t.jsx)("input",{ref:v,type:"file",accept:".yaml,.yml,.json",onChange:k,className:(0,r.cn)("stg:w-full stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-3 stg:py-2 stg:text-sm stg:text-foreground","stg:file:mr-3 stg:file:rounded-md stg:file:border-0 stg:file:bg-primary stg:file:px-2.5 stg:file:py-1 stg:file:text-xs stg:file:font-medium stg:file:text-primary-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring"),"aria-label":"Select manifest file"}),(0,t.jsx)(s.Suspense,{fallback:(0,t.jsx)(m,{}),children:(0,t.jsx)(u,{value:y.content,onChange:y.setContent,className:"stg:h-56"})}),y.hasRedactedSecrets&&(0,t.jsx)(o.RedactedSecretsNotice,{}),y.validationError&&(0,t.jsx)("div",{role:"alert",className:"stg:rounded-md stg:border stg:border-destructive stg:bg-card stg:px-3 stg:py-2.5 stg:text-sm stg:text-destructive",children:y.validationError}),y.entries&&y.entries.length>0&&(0,t.jsx)("ul",{className:(0,r.cn)(i.UNSTYLED_LIST,"stg:flex stg:max-h-48 stg:flex-col stg:gap-2 stg:overflow-y-auto"),"aria-label":"Resources to apply",children:y.entries.map((e,s)=>(0,t.jsx)(p,{entry:e},`${e.document.handler.yamlKind}/${e.document.org}/${e.document.slug}/${s}`))}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:justify-between stg:gap-3",children:[(0,t.jsx)("p",{className:"stg:text-xs stg:text-muted-foreground","aria-live":"polite",children:y.isValidating?"Validating…":""}),(0,t.jsxs)("div",{className:"stg:flex stg:gap-2",children:[(0,t.jsx)("button",{type:"button",onClick:N,disabled:y.isApplying,className:(0,r.cn)("stg:rounded-md stg:px-3 stg:py-1.5 stg:text-sm stg:font-medium stg:transition-colors","stg:border stg:border-input stg:bg-background stg:text-foreground","stg:hover:bg-accent stg:hover:text-accent-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"}),(0,t.jsx)("button",{type:"button",onClick:S,disabled:!w,className:(0,r.cn)("stg:rounded-md stg:px-3 stg:py-1.5 stg:text-sm stg:font-medium stg:transition-colors","stg:bg-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:y.isApplying?"Applying…":(b=y.entries?.length??0)<=1?"Apply":`Apply ${b} resources`})]})]})]})})}],658653)},569074,e=>{"use strict";let t=(0,e.i(475254).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["Upload",0,t],569074)},618393,e=>{"use strict";let t=(0,e.i(475254).default)("server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);e.s(["Server",0,t],618393)},699347,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(522016),n=e.i(107233),i=e.i(569074),a=e.i(618393),o=e.i(451241),l=e.i(940069),g=e.i(610008),c=e.i(893976),d=e.i(468806),u=e.i(727996),m=e.i(153158),p=e.i(168197),x=e.i(862645),f=e.i(388894),h=e.i(351240),b=e.i(476007),v=e.i(844533),y=e.i(801731),j=e.i(793907);function N({org:e,slug:r,activeOrg:n,open:i,onClose:a,onConnected:o,onOpenDetails:l,className:g}){let u=n||e,m=(0,s.useCallback)(e=>{e||a()},[a]);return i?(0,t.jsx)(d.DialogShell,{open:!0,onOpenChange:m,width:"md",dismissOnBackdrop:!0,className:(0,c.cn)("stg:max-h-[85vh] stg:overflow-visible stg:bg-card stg:text-foreground",g),"aria-label":`Connect ${r}`,children:(0,t.jsx)("div",{className:"stg:flex stg:max-h-[85vh] stg:flex-col stg:overflow-y-auto stg:p-6",onClick:e=>e.stopPropagation(),children:(0,t.jsx)(C,{org:e,slug:r,activeOrg:u,onClose:a,onConnected:o,onOpenDetails:l})})}):null}function C({org:e,slug:r,activeOrg:n,onClose:i,onConnected:a,onOpenDetails:o}){let{mcpServer:l,isLoading:g,error:d}=(0,u.useMcpServer)(e,r),j=(0,m.useMcpServerCredentials)(n,l),{connect:N,isConnecting:M,error:O,clearError:P}=(0,x.useMcpServerConnect)(),z=(0,p.useMcpServerOAuthConnect)();(0,f.useDisconnectOAuth)();let[R,E]=(0,s.useState)("credentials"),L=l?.metadata?.name??r,D=l?.metadata?.id??"",T=Object.keys(l?.spec?.env??{}),B=(0,s.useCallback)(async()=>{if(D){E("connecting");try{await N(D,n,void 0,T),E("success"),a?.(L)}catch{E("error")}}},[D,n,T,N,a,L]),V=(0,s.useCallback)(async e=>{await j.saveCredentials(e),j.refetch()},[j]),F=(0,s.useCallback)(()=>{if(D){if("connecting"===z.failedPhase)return void B();z.startOAuth(D,n,T).then(()=>{j.refetch(),E("success"),a?.(L)},()=>{j.refetch(),E("error")})}},[D,n,T,z,j,a,L,B]);if((0,s.useEffect)(()=>{"credentials"===R&&j.isReady&&!j.isLoading&&l&&j.authMode},[R,j.isReady,j.isLoading,l,j.authMode]),g||j.isLoading)return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k,{title:"Connect MCP Server",onClose:i}),(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:items-center stg:gap-3 stg:py-8",children:[(0,t.jsx)(w,{}),(0,t.jsx)("p",{className:"stg:text-sm stg:text-muted-foreground",children:"Loading server details..."})]})]});if(d)return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k,{title:"Connect MCP Server",onClose:i}),(0,t.jsx)("div",{className:"stg:py-4",children:(0,t.jsx)(b.ErrorMessage,{error:d})})]});if(!l)return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k,{title:"Connect MCP Server",onClose:i}),(0,t.jsx)("p",{className:"stg:py-4 stg:text-sm stg:text-muted-foreground",children:"MCP server not found."})]});if("success"===R)return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k,{title:"Connected",onClose:i}),(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:items-center stg:gap-3 stg:py-6",children:[(0,t.jsx)(A,{}),(0,t.jsxs)("p",{className:"stg:text-sm stg:font-medium stg:text-foreground",children:["Successfully connected to ",L]}),(0,t.jsx)("p",{className:"stg:text-xs stg:text-muted-foreground",children:"Tools and capabilities have been discovered."}),(0,t.jsx)("button",{type:"button",onClick:i,className:(0,c.cn)("stg:mt-2 stg:inline-flex stg:items-center stg:rounded-md stg:px-4 stg:py-2 stg:text-sm stg:font-medium","stg:bg-primary stg:text-primary-foreground","stg:hover:bg-primary-hover","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring"),children:"Done"})]})]});let $="connecting"===R||M||z.isInProgress,I=O??z.error;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k,{title:L,onClose:i}),l.spec?.description&&(0,t.jsx)("p",{className:"stg:mb-4 stg:text-xs stg:leading-relaxed stg:text-muted-foreground",children:l.spec.description}),(0,t.jsx)(v.StdioSandboxNotice,{serverType:l.spec?.serverType,className:"stg:mb-4"}),(0,t.jsx)(y.OAuthRequiredNotice,{oauthOnly:l.spec?.auth?.oauthOnly,className:"stg:mb-4"}),I&&(0,t.jsx)("div",{className:"stg:mb-4",children:(0,t.jsx)(b.ErrorMessage,{error:I,title:z.error&&"connecting"===z.failedPhase?"Signed in, but tool discovery failed":void 0,retry:()=>{let e="connecting"===z.failedPhase;P(),z.clearError(),e?B():E("credentials")}})}),"oauth"===j.authMode&&!j.manualOverride&&(0,t.jsx)(S,{isConnected:j.isOAuthConnected,phase:z.phase,onSignIn:F,isVendorApprovalBlocked:j.isVendorApprovalBlocked,isVendorApprovalPending:j.isVendorApprovalPending,isOrgOAuthApp:j.isOrgOAuthApp,manualEntrySupported:j.manualEntrySupported,canBringOwnApp:j.canBringOwnApp,vendorApprovalDocsUrl:j.vendorApprovalDocsUrl,onSwitchToManual:j.manualEntrySupported?()=>j.setManualOverride(!0):void 0,onOpenDetails:o,disabled:$}),j.missingVariables.length>0&&(0,t.jsx)("div",{className:"stg:mt-2",children:(0,t.jsx)(h.EnvVarForm,{variables:j.missingVariables,onSubmit:e=>V(e),isSubmitting:j.isSaving,disabled:$,hideSaveToggle:!0})}),"oauth"===j.authMode&&j.manualOverride&&(0,t.jsx)("button",{type:"button",onClick:()=>j.setManualOverride(!1),disabled:$,className:"stg:mt-2 stg:text-xs stg:text-muted-foreground stg:underline stg:hover:text-foreground",children:"Sign in with OAuth instead"}),j.isReady&&"manual"===j.authMode&&(0,t.jsxs)("button",{type:"button",onClick:B,disabled:$,className:(0,c.cn)("stg:mt-4 stg:inline-flex stg:w-full stg:items-center stg:justify-center stg:gap-2 stg:rounded-md stg:px-4 stg:py-2 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:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring"),children:[$&&(0,t.jsx)(w,{size:"sm"}),$?"Connecting...":"Connect"]}),j.isReady&&"oauth"===j.authMode&&j.isOAuthConnected&&(0,t.jsxs)("button",{type:"button",onClick:B,disabled:$,className:(0,c.cn)("stg:mt-4 stg:inline-flex stg:w-full stg:items-center stg:justify-center stg:gap-2 stg:rounded-md stg:px-4 stg:py-2 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:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring"),children:[$&&(0,t.jsx)(w,{size:"sm"}),$?"Discovering tools...":"Discover Tools"]}),!j.isReady&&0===j.missingVariables.length&&"manual"===j.authMode&&(0,t.jsx)("p",{className:"stg:mt-4 stg:text-center stg:text-xs stg:text-muted-foreground",children:"No credentials required — this server is ready to connect."})]})}function k({title:e,onClose:s}){return(0,t.jsxs)("div",{className:"stg:mb-4 stg:flex stg:items-start stg:justify-between stg:gap-3",children:[(0,t.jsx)("h2",{className:"stg:text-base stg:font-semibold stg:text-foreground",children:e}),(0,t.jsx)("button",{type:"button",onClick:s,"aria-label":"Close",className:"stg:inline-flex stg:size-7 stg:shrink-0 stg:items-center stg:justify-center stg:rounded-md stg:text-muted-foreground stg:transition-colors stg:hover:bg-accent stg:hover:text-accent-foreground stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring",children:(0,t.jsx)(M,{})})]})}function S({isConnected:e,phase:s,onSignIn:r,isVendorApprovalBlocked:n,isVendorApprovalPending:i,isOrgOAuthApp:a,manualEntrySupported:o,canBringOwnApp:l,vendorApprovalDocsUrl:g,onSwitchToManual:d,onOpenDetails:u,disabled:m}){if(e)return(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2 stg:rounded-md stg:border stg:border-border stg:bg-muted-faint stg:px-3 stg:py-2",children:[(0,t.jsx)("span",{className:"stg:size-2 stg:shrink-0 stg:rounded-full stg:bg-green-500"}),(0,t.jsx)("span",{className:"stg:text-sm stg:text-foreground",children:"OAuth connected"})]});let p="idle"!==s&&"done"!==s;return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-2",children:[(0,t.jsxs)("button",{type:"button",onClick:r,disabled:m||p||n&&!a,className:(0,c.cn)("stg:inline-flex stg:w-full stg:items-center stg:justify-center stg:gap-2 stg:rounded-md stg:px-4 stg:py-2 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:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring"),children:[p&&(0,t.jsx)(w,{size:"sm"}),p?({initiating:"Starting OAuth...","awaiting-callback":"Waiting for authorization...",completing:"Completing OAuth...",connecting:"Discovering tools..."})[s]??"Connecting...":a?"Sign in with your app":"Sign in with OAuth"]}),!a&&(0,t.jsx)(j.VendorApprovalBlockedNotice,{blocked:n,pending:i,manualEntrySupported:o,canBringOwnApp:l,docsUrl:g,onBringOwnApp:u,className:"stg:rounded-md stg:border stg:border-amber-500/20"}),d&&(0,t.jsx)("button",{type:"button",onClick:d,disabled:m||p,className:"stg:text-xs stg:text-muted-foreground stg:underline stg:hover:text-foreground",children:"Enter token manually"})]})}function w({size:e="md"}){return(0,t.jsxs)("svg",{className:(0,c.cn)("sm"===e?"stg:size-3.5":"stg:size-5","stg:animate-spin stg:text-current"),viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",className:"stg:opacity-25"}),(0,t.jsx)("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",className:"stg:opacity-75"})]})}function A(){return(0,t.jsxs)("svg",{className:"stg:size-10 stg:text-green-500",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("path",{d:"m9 12 2 2 4-4"})]})}function M(){return(0,t.jsx)("svg",{className:"stg:size-4",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"m4 4 8 8M12 4l-8 8"})})}var O=e.i(658653),P=e.i(586108),z=e.i(297629);let R=[{id:"name",header:"Name",cell:e=>(0,t.jsx)("span",{className:"font-medium text-foreground",children:e.name||e.slug}),sortable:!0,flex:2},{id:"org",header:"Organization",cell:e=>(0,t.jsx)("span",{className:"text-muted-foreground",children:e.org}),flex:1},{id:"description",header:"Description",cell:e=>(0,t.jsx)("span",{className:"line-clamp-1 text-muted-foreground",children:e.description||"—"}),flex:3}];e.s(["McpServerListPage",0,function(){let e=(0,z.useActiveOrgSlug)(),c=(0,P.useStigmer)(),{navigateToDetail:d}=(0,o.useLibraryNavigation)(),[u,m]=(0,s.useState)(()=>(0,l.readPersistedScope)("mcp-servers")),[p,x]=(0,s.useState)(null),[f,h]=(0,s.useState)(!1),[b,v]=(0,s.useReducer)(e=>e+1,0),y=(0,s.useCallback)(e=>{m(e),(0,l.writePersistedScope)("mcp-servers",e)},[]),j=(0,s.useMemo)(()=>e=>c.mcpServer.list(e),[c]),C="/library/mcp-servers/new";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h1",{className:"text-foreground text-xl font-semibold",children:"MCP Servers"}),(0,t.jsx)("p",{className:"text-muted-foreground mt-1 text-sm",children:"Browse and manage MCP servers in your organization."})]}),(0,t.jsx)(g.ResourceWorkbench,{refetchToken:b,listFn:j,org:e,columns:R,scope:u,onScopeChange:y,defaultViewMode:"cards",viewModes:["table","cards"],viewModeStorageKey:"stigmer:workbench:mcp-servers:viewMode",searchPlaceholder:"Search MCP servers…",emptyIcon:(0,t.jsx)(a.Server,{className:"size-10","aria-hidden":"true"}),emptyTitle:"No MCP servers yet",emptyDescription:"Add an MCP server to connect external tools and data sources to your agents.",headerAction:(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)("button",{type:"button",onClick:()=>h(!0),"aria-label":"Apply YAML",className:"inline-flex items-center justify-center rounded-md border border-input bg-background p-1.5 text-muted-foreground transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:(0,t.jsx)(i.Upload,{className:"size-3.5","aria-hidden":"true"})}),(0,t.jsxs)(r.default,{href:C,className:"inline-flex items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,t.jsx)(n.Plus,{className:"size-3.5","aria-hidden":"true"}),"Add MCP server"]})]}),emptyAction:(0,t.jsxs)(r.default,{href:C,className:"inline-flex items-center gap-1.5 rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground transition-colors hover:bg-primary-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,t.jsx)(n.Plus,{className:"size-3.5","aria-hidden":"true"}),"Add MCP server"]}),onItemClick:e=>d("mcp-servers",e.org,e.slug),renderItemAction:e=>(0,t.jsx)("button",{type:"button",onClick:t=>{t.stopPropagation(),x({org:e.org,slug:e.slug})},"aria-label":`Connect ${e.name||e.slug}`,className:"inline-flex size-7 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:(0,t.jsx)(n.Plus,{className:"size-4","aria-hidden":"true"})}),"aria-label":"MCP server workbench"}),(0,t.jsx)(N,{org:p?.org??"",slug:p?.slug??"",activeOrg:e,open:null!==p,onClose:()=>x(null),onOpenDetails:()=>{if(!p)return;let{org:e,slug:t}=p;x(null),d("mcp-servers",e,t)}}),(0,t.jsx)(O.ApplyManifestDialog,{open:f,onOpenChange:h,org:e??"",onApplied:v})]})}],699347)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,393676,e=>{"use strict";var t=e.i(843476),o=e.i(271645),n=e.i(154548),r=e.i(30590),a=e.i(882267),d=e.i(144905),s=e.i(207425),g=e.i(714028);let i={[g.CANVAS_TASK_NODE_TYPE]:a.WorkflowNode},l={[g.CANVAS_TRANSITION_EDGE_TYPE]:d.CanvasTransitionEdge},m={markerEnd:{type:r.MarkerType.ArrowClosed,width:16,height:16}},u=["Backspace","Delete"];e.s(["WorkflowCanvasInner",0,function({nodes:e,edges:a,onNodesChange:d,onEdgesChange:g,onNodeDragStart:c,onNodeDragStop:f,onNodeClick:C,onEdgeClick:v,onPaneClick:b,onConnect:p,isValidConnection:h,onDrop:N,onDragOver:k,onNodesDelete:T,onEdgesDelete:E,onNodeContextMenu:O,onEdgeContextMenu:D,onPaneContextMenu:S,onSelectionContextMenu:A,nodeErrors:M}){let w=(0,o.useId)(),x=(0,o.useMemo)(()=>M&&0!==M.size?e.map(e=>{let t=e.data,o=t?.taskName?M.get(t.taskName):void 0;return o&&0!==o.length?{...e,data:{...e.data,errorCount:o.length}}:e}):e,[e,M]),y=(0,o.useMemo)(()=>e=>{let t=e.data,o=t?.category;return o?s.CATEGORY_COLORS[o]??"var(--stgm-muted-foreground, #737373)":"var(--stgm-muted-foreground, #737373)"},[]);return(0,t.jsxs)(n.ReactFlow,{id:w,nodes:x,edges:a,onNodesChange:d,onEdgesChange:g,onNodeDragStart:c,onNodeDragStop:f,onNodeClick:C,onEdgeClick:v,onPaneClick:b,onConnect:p,isValidConnection:h,onDrop:N,onDragOver:k,onNodesDelete:T,onEdgesDelete:E,onNodeContextMenu:O,onEdgeContextMenu:D,onPaneContextMenu:S,onSelectionContextMenu:A,nodeTypes:i,edgeTypes:l,defaultEdgeOptions:m,deleteKeyCode:u,selectionMode:r.SelectionMode.Partial,multiSelectionKeyCode:"Shift",panOnDrag:[1,2],selectionOnDrag:!0,fitView:!0,fitViewOptions:{padding:.2},minZoom:.2,maxZoom:3,proOptions:{hideAttribution:!0},className:"stg:h-full stg:w-full",children:[(0,t.jsx)(n.Controls,{showInteractive:!1,className:"stg:!border-[var(--stgm-border-prominent,#d4d4d8)] stg:!bg-[var(--stgm-card,var(--stgm-background,#fff))] stg:!shadow-sm stg:[&>button]:!border-[var(--stgm-border-prominent,#d4d4d8)] stg:[&>button]:!bg-[var(--stgm-card,var(--stgm-background,#fff))] stg:[&>button]:!fill-[var(--stgm-foreground,#1a1a2e)] stg:[&>button:hover]:!bg-[var(--stgm-muted,#f5f5f5)]"}),(0,t.jsx)(n.MiniMap,{nodeColor:y,maskColor:"var(--stgm-muted, rgba(245, 245, 245, 0.7))",className:"stg:!border-[var(--stgm-border-prominent,#d4d4d8)] stg:!bg-[var(--stgm-card,var(--stgm-background,#fff))]"}),(0,t.jsx)(n.Background,{variant:n.BackgroundVariant.Dots,gap:16,size:1,color:"var(--stgm-muted-foreground, #737373)"})]})}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,470370,e=>{"use strict";var t=e.i(843476),s=e.i(271645),n=e.i(618566),a=e.i(893976),r=e.i(869803),i=e.i(891287),o=e.i(17616),l=e.i(170255),g=e.i(302933),d=e.i(459153),c=e.i(361353),u=e.i(476007),m=e.i(261722),x=e.i(616629),f=e.i(10337),h=e.i(668093),p=e.i(652337),b=e.i(966205),v=e.i(154752),j=e.i(582321),N=e.i(267912),y=e.i(352371),S=e.i(695682),w=e.i(314796),T=e.i(972992),C=e.i(661438),k=e.i(487809),E=e.i(653904),R=e.i(373351),A=e.i(216386),D=e.i(287237),L=e.i(444857),M=e.i(766817),I=e.i(638182),P=e.i(818424),F=e.i(188482),U=e.i(586108),$=e.i(583093);let O={runs:[],totalCount:0};function B(e,t){let s=(0,U.useStigmer)(),n=t?.pageSize??25,a=t?.page??1,{data:r,isLoading:o,isRefetching:l,error:g,refetch:d}=(0,$.useFetch)(e?async()=>{let t=await s.schedule.listRuns((0,i.create)(S.ListScheduleRunsRequestSchema,{scheduleId:e,pageInfo:{num:a,size:n}}));return{runs:t.items,totalCount:t.totalCount}}:null,[s,e,a,n],O);return{runs:r.runs,totalCount:r.totalCount,isLoading:o,isRefetching:l,error:g,refetch:d}}function H({scheduleId:e,onNavigateToExecution:n,now:r,pageSize:i=25,className:o}){let[l,g]=(0,s.useState)(1),{runs:d,totalCount:c,isLoading:m,error:x,refetch:f}=B(e,{page:l,pageSize:i});if(x)return(0,t.jsx)(u.ErrorMessage,{error:x,retry:f,className:o});if(m&&0===d.length)return(0,t.jsx)("div",{className:(0,a.cn)("stg:space-y-2",o),"aria-busy":"true",children:Array.from({length:5},(e,s)=>(0,t.jsx)("div",{className:"stg:h-9 stg:animate-pulse stg:rounded-lg stg:bg-muted-subtle"},s))});if(0===d.length)return(0,t.jsx)("div",{className:o,children:(0,t.jsx)(K,{})});let h=r??new Date,p=Math.ceil(c/i);return(0,t.jsxs)("div",{className:o,children:[(0,t.jsxs)("div",{role:"table","aria-label":"Run history",className:"stg:overflow-hidden stg:rounded-lg stg:border stg:border-border",children:[(0,t.jsxs)("div",{role:"row",className:(0,a.cn)(_,"stg:border-b stg:border-border stg:px-3.5 stg:py-2 stg:text-[0.65rem] stg:font-medium stg:uppercase stg:tracking-wider stg:text-muted-foreground"),children:[(0,t.jsx)("span",{role:"columnheader",children:"Outcome"}),(0,t.jsx)("span",{role:"columnheader",className:"stg:hidden stg:sm:block",children:"Origin"}),(0,t.jsx)("span",{role:"columnheader",children:"Fired"}),(0,t.jsx)("span",{role:"columnheader",className:"stg:hidden stg:sm:block",children:"Duration"}),(0,t.jsx)("span",{role:"columnheader",className:"stg:text-right",children:"Execution"})]}),d.map((e,s)=>(0,t.jsx)(Y,{run:e,now:h,onNavigateToExecution:n},W(e,s)))]}),p>1&&(0,t.jsx)(P.Pagination,{pageNum:l,totalPages:p,onPageChange:g,ariaLabel:"Run history pagination",className:"stg:mt-3"})]})}let _="stg:grid stg:grid-cols-[7rem_1fr_auto] stg:items-center stg:gap-x-4 stg:sm:grid-cols-[7rem_5.5rem_1fr_5rem_minmax(0,12rem)]";function Y({run:e,now:s,onNavigateToExecution:n}){let r=e.nominalFireTime?(0,o.timestampDate)(e.nominalFireTime):null,i=q(e.outcome);return(0,t.jsxs)("div",{role:"row",className:(0,a.cn)(_,"stg:border-b stg:border-border-muted stg:px-3.5 stg:py-2.5 stg:last:border-b-0"),children:[(0,t.jsx)("span",{role:"cell",children:(0,t.jsx)("span",{className:(0,a.cn)("stg:inline-flex stg:items-center stg:rounded-full stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium",i.className),children:i.label})}),(0,t.jsx)("span",{role:"cell",className:"stg:hidden stg:text-xs stg:text-muted-foreground stg:sm:block",children:V(e.origin)}),(0,t.jsx)("span",{role:"cell",className:"stg:text-xs stg:text-muted-foreground",children:r?(0,t.jsxs)(F.Tooltip,{children:[(0,t.jsx)(F.TooltipTrigger,{render:(0,t.jsx)("time",{dateTime:r.toISOString()}),children:(0,c.formatRelativeTime)(r,s)}),(0,t.jsx)(F.TooltipContent,{side:"top",children:r.toLocaleString()})]}):"—"}),(0,t.jsx)("span",{role:"cell",className:"stg:hidden stg:text-xs stg:tabular-nums stg:text-muted-foreground stg:sm:block",children:function(e){if(!e.recordedAt||!e.completedAt)return null;let t=(0,o.timestampDate)(e.completedAt).getTime()-(0,o.timestampDate)(e.recordedAt).getTime();if(t<0)return null;let s=Math.round(t/1e3);if(s<1)return"<1s";if(s<60)return`${s}s`;let n=Math.floor(s/60),a=s%60;if(n<60)return a>0?`${n}m ${a}s`:`${n}m`;let r=Math.floor(n/60),i=n%60;return i>0?`${r}h ${i}m`:`${r}h`}(e)??"—"}),(0,t.jsx)("span",{role:"cell",className:"stg:min-w-0 stg:text-right",children:e.executionId?n?(0,t.jsx)("button",{type:"button",onClick:()=>n(e.executionId),className:(0,a.cn)("stg:max-w-full stg:truncate stg:font-mono stg:text-[0.65rem] stg:text-primary stg:underline-offset-2 stg:hover:underline","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring stg:rounded-sm"),children:e.executionId}):(0,t.jsx)("span",{className:"stg:font-mono stg:text-[0.65rem] stg:text-muted-foreground",children:e.executionId}):(0,t.jsx)("span",{className:"stg:text-xs stg:text-muted-foreground",children:"—"})}),e.reason&&(0,t.jsx)("p",{role:"cell",className:"stg:col-span-full stg:mt-1 stg:whitespace-pre-wrap stg:break-words stg:text-xs stg:text-muted-foreground",children:e.reason})]})}function Z({runs:e,isLoading:s,now:n,onNavigateToExecution:i}){return s&&0===e.length?(0,t.jsxs)("div",{className:"stg:space-y-2 stg:px-4 stg:py-3","aria-busy":"true",children:[(0,t.jsx)("div",{className:"stg:h-4 stg:w-full stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-4 stg:w-3/4 stg:animate-pulse stg:rounded stg:bg-muted"})]}):0===e.length?(0,t.jsx)(K,{}):(0,t.jsx)("ul",{className:(0,a.cn)(r.UNSTYLED_LIST,"stg:divide-y stg:divide-border"),children:e.map((e,s)=>(0,t.jsx)(z,{run:e,now:n,onNavigateToExecution:i},W(e,s)))})}function z({run:e,now:s,onNavigateToExecution:n}){let r=e.nominalFireTime?(0,o.timestampDate)(e.nominalFireTime):null,i=q(e.outcome);return(0,t.jsxs)("li",{className:"stg:flex stg:flex-col stg:gap-1 stg:px-4 stg:py-2.5",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("span",{className:(0,a.cn)("stg:inline-flex stg:items-center stg:rounded-full stg:px-2 stg:py-0.5 stg:text-[0.65rem] stg:font-medium",i.className),children:i.label}),(0,t.jsx)("span",{className:"stg:text-xs stg:text-muted-foreground",children:V(e.origin)}),(0,t.jsx)("span",{className:"stg:text-xs stg:text-muted-foreground-subtle",children:"·"}),(0,t.jsx)("span",{className:"stg:text-xs stg:text-muted-foreground",children:r?(0,t.jsxs)(F.Tooltip,{children:[(0,t.jsx)(F.TooltipTrigger,{render:(0,t.jsx)("time",{dateTime:r.toISOString()}),children:(0,c.formatRelativeTime)(r,s)}),(0,t.jsx)(F.TooltipContent,{side:"top",children:r.toLocaleString()})]}):"—"})]}),e.reason&&(0,t.jsx)("p",{className:"stg:whitespace-pre-wrap stg:break-words stg:text-xs stg:text-muted-foreground",children:e.reason}),e.executionId&&(n?(0,t.jsx)("button",{type:"button",onClick:()=>n(e.executionId),className:(0,a.cn)("stg:self-start stg:font-mono stg:text-[0.65rem] stg:text-primary stg:underline-offset-2 stg:hover:underline","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring stg:rounded-sm"),children:e.executionId}):(0,t.jsx)("span",{className:"stg:self-start stg:font-mono stg:text-[0.65rem] stg:text-muted-foreground",children:e.executionId}))]})}function K(){return(0,t.jsx)("p",{className:"stg:px-4 stg:py-6 stg:text-center stg:text-xs stg:text-muted-foreground",children:"No runs yet. Use “Run now” to fire a test run — every fire, including a refused one, is recorded here."})}function W(e,t){let s=e.nominalFireTime?(0,o.timestampDate)(e.nominalFireTime).getTime():"no-time";return`${s}-${e.origin}-${t}`}function V(e){return e===S.ScheduleRunOrigin.MANUAL?"Manual":"Scheduled"}function q(e){switch(e){case S.ScheduleRunOutcome.STARTED:return{label:"Started",className:"stg:bg-info/10 stg:text-info"};case S.ScheduleRunOutcome.COMPLETED:return{label:"Completed",className:"stg:bg-success/10 stg:text-success"};case S.ScheduleRunOutcome.REFUSED:return{label:"Refused",className:"stg:bg-warning/10 stg:text-warning"};case S.ScheduleRunOutcome.TARGET_MISSING:return{label:"Target missing",className:"stg:bg-warning/10 stg:text-warning"};case S.ScheduleRunOutcome.SKIPPED:return{label:"Skipped",className:"stg:bg-muted stg:text-muted-foreground"};case S.ScheduleRunOutcome.FAILED:return{label:"Failed",className:"stg:bg-destructive/10 stg:text-destructive"};case S.ScheduleRunOutcome.TIMED_OUT:return{label:"Timed out",className:"stg:bg-destructive/10 stg:text-destructive"};default:return{label:"Unknown",className:"stg:bg-muted stg:text-muted-foreground"}}}var G=e.i(540560),J=e.i(910304),Q=e.i(803636),X=e.i(274217),ee=e.i(57897),et=e.i(231121);function es(e,t){return en((0,ee.reflect)(e,t)).message}function en(e){let t=(0,ee.reflect)(e.desc);for(let s of e.fields)if(e.isSet(s))switch(s.fieldKind){case"list":let n=t.get(s);for(let t of e.get(s))n.add(ea(s,t));break;case"map":let a=t.get(s);for(let t of e.get(s).entries())a.set(t[0],ea(s,t[1]));break;default:t.set(s,ea(s,e.get(s)))}let s=e.getUnknown();return s&&s.length>0&&t.setUnknown([...s]),t}function ea(e,t){return void 0!==e.message&&(0,et.isReflectMessage)(t)?en(t):e.scalar==X.ScalarType.BYTES&&t instanceof Uint8Array?t.slice():t}var er=e.i(530807),ei=e.i(610595),eo=e.i(864652),el=e.i(310713);function eg(e){let t=(0,el.manifestHandlerForTypeName)(e.$typeName);if(void 0===t){let t=(0,el.manifestKinds)().map(e=>e.yamlKind).join(", ");throw Error(`Cannot apply ${e.$typeName} as a manifest: kind is not in the manifest registry. Supported kinds: ${t}.`)}let s=(0,eo.metadataOf)(e),n=s?.name??"";if(""===n)throw Error(`Cannot apply this ${t.displayName}: metadata.name is empty. Pass a resource as returned by the server (get/getByReference).`);return{handler:t,message:e,name:n,slug:s?.slug||n,org:s?.org??""}}var ed=e.i(846696),ec=e.i(326283),eu=e.i(38030),em=e.i(379410);let ex="runs",ef={pageSize:5};function eh({org:e,slug:n,onNavigateToAgent:r,onNavigateToExecution:g,onDeleted:w,onResourceLoad:T,editable:C=!1,additionalTabs:k,activeTab:E,onTabChange:R,defaultTab:A,now:D,className:P}){let F,{schedule:O,isLoading:_,error:Y,refetch:z}=function(e,t){let s=(0,U.useStigmer)(),{data:n,isLoading:a,isRefetching:r,error:i,refetch:o}=(0,$.useFetch)(e&&t?async()=>{try{return await s.schedule.getByReference({org:e,slug:t})}catch(e){if((0,J.isNotFound)(e))return null;throw e}}:null,[e,t,s],null);return{schedule:n,isLoading:a,isRefetching:r,error:i,refetch:o}}(e,n),{runs:K,totalCount:W,isLoading:V,refetch:q}=B(O?.metadata?.id??null,ef),{resumeSchedule:G,isResuming:X}=(0,Q.useResumeSchedule)(),{triggerSchedule:ee,isTriggering:et}=(0,eu.useTriggerSchedule)(),{setEnabled:en,isPending:ea}=function(){let e=(0,U.useStigmer)(),[t,n]=(0,s.useState)(!1),[a,r]=(0,s.useState)(null),i=(0,s.useCallback)(async(t,s)=>{if(!t.spec)throw Error("Cannot toggle this schedule: it has no spec. Pass a schedule as returned by the server (get/getByReference).");n(!0),r(null);try{let n=es(er.ScheduleSchema,t);n.spec.enabled=s;let a=await e.manifest.apply(eg(n));return ed.toast.success(s?"Schedule enabled":"Schedule disabled"),a.message}catch(t){let e=(0,ec.toError)(t);throw r(e),ed.toast.error((0,ei.getUserMessage)(t)),e}finally{n(!1)}},[e]);return(0,s.useMemo)(()=>({setEnabled:i,isPending:t,error:a}),[i,t,a])}(),{updateSpec:eo,isUpdating:el}=function(){let e=(0,U.useStigmer)(),[t,n]=(0,s.useState)(!1),[a,r]=(0,s.useState)(null),i=(0,s.useCallback)(async(t,s)=>{if(!t.spec)throw Error("Cannot edit this schedule: it has no spec. Pass a schedule as returned by the server (get/getByReference).");n(!0),r(null);try{let n=es(er.ScheduleSchema,t);s(n.spec);let a=await e.manifest.apply(eg(n));return ed.toast.success("Schedule updated"),a.message}catch(t){let e=Error((0,ei.getUserMessage)(t));throw r(e),e}finally{n(!1)}},[e]);return(0,s.useMemo)(()=>({updateSpec:i,isUpdating:t,error:a}),[i,t,a])}(),{deleteResource:em,isDeleting:eN}=(0,j.useDeleteResource)("schedule",O?.metadata?.id??null,O?.metadata?.name),{confirmState:eC,confirm:ek,handleConfirm:eE,handleCancel:eR}=(0,b.useConfirmAction)(),{copyId:eB,copyQualifiedSlug:eH}=(0,v.useCopyResource)(),[e_,eY]=(0,s.useState)(!1),[eZ,ez]=(0,s.useState)(0),[eK,eW]=(0,s.useState)(null),eV=(0,s.useCallback)(async(e,t)=>{if(!O)return!1;eW(null);try{return await eo(O,t),z(),!0}catch(t){return eW({field:e,message:t instanceof Error?t.message:String(t)}),!1}},[O,eo,z]),eq=(0,s.useMemo)(()=>[{id:"overview",label:"Overview"},{id:ex,label:"Runs",...W>0?{badge:W}:{}}],[W]),{effectiveTabs:eG,effectiveActiveTab:eJ,effectiveOnTabChange:eQ,activeAdditionalTab:eX}=(0,N.useDetailTabs)({builtInTabs:eq,additionalTabs:k,activeTab:E,onTabChange:R,defaultTab:A}),{copyYaml:e0,downloadYaml:e1}=(0,y.useExportResource)({kind:"Schedule",resource:O});if((0,s.useEffect)(()=>{O&&T?.(O)},[O,T]),_)return(0,t.jsx)(eU,{className:P});if(Y)return(0,t.jsx)(u.ErrorMessage,{error:Y,retry:z,className:P});if(!O)return(0,t.jsx)(e$,{className:P});let e2=O.metadata,e5=O.spec,e6=O.status,e3=e6?.audit?.specAudit,e4=(0,I.deriveScheduleState)(e5,e6),e8=D??new Date,e7=e2?.id??"",e9=e2?.org||e,te=e5?.target?.case==="agent"?e5.target.value:void 0,tt=async()=>{await G(e7),z()},ts=async()=>{await en(O,!e5?.enabled),z()},tn=async()=>{let e=await ee(e7);z(),q(),ez(e=>e+1),e.outcome===S.ScheduleRunOutcome.STARTED&&e.executionId&&g&&g(e.executionId)},ta=async()=>{await ek({title:"Run this schedule now?",description:"This starts a real agent execution immediately, outside the cron cadence. The run is recorded in this schedule's run history.",confirmLabel:"Start run",variant:"default"})&&await tn()},tr=async()=>{await ek({title:"Enable and run this schedule now?",description:"This schedule is staged disabled. Enabling it lets it fire on its cron cadence going forward, and starts one real run immediately so you can see the result. You can disable it again afterwards.",confirmLabel:"Enable & run",variant:"default"})&&(await en(O,!0),await tn())},ti=async()=>{await ek({title:"Delete this schedule?",description:`"${e2?.name??n}" will stop firing and be permanently removed. Past executions are not affected. This cannot be undone.`,confirmLabel:"Delete",variant:"destructive"})&&(await em(),w?.())},to="disabled"===e4.state?{id:"enable-and-run",label:"Enable & run now",onAction:()=>void tr(),disabled:et||ea}:{id:"trigger",label:"Run now",onAction:()=>void ta(),disabled:et},tl=[...e4.isPaused?[{id:"resume",label:"Resume schedule",onAction:()=>void tt(),disabled:X,group:"state"}]:[],{id:"toggle-enabled",label:e5?.enabled?"Disable schedule":"Enable schedule",onAction:()=>void ts(),disabled:ea,group:"state"},{id:"copy-id",label:"Copy ID",onAction:()=>void eB(e7),group:"clipboard"},{id:"copy-slug",label:"Copy slug",onAction:()=>void eH(e,n),group:"clipboard"},{id:"edit-yaml",label:"Edit YAML",onAction:()=>eY(!0),group:"edit"},{id:"copy-yaml",label:"Copy YAML",onAction:()=>void e0(),group:"export"},{id:"download-yaml",label:"Download YAML",onAction:e1,group:"export"},{id:"delete",label:"Delete",variant:"destructive",onAction:()=>void ti(),disabled:eN,group:"danger"}],tg={name:e2?.name||e2?.slug||"Untitled",id:e7,org:e2?.org,slug:e2?.slug,icon:(0,t.jsx)(eO,{className:"stg:size-6 stg:text-muted-foreground"}),createdAt:e3?.createdAt?(0,o.timestampDate)(e3.createdAt):null,updatedAt:e3?.updatedAt?(0,o.timestampDate)(e3.updatedAt):null,status:e4.phase,statusLabel:e4.label},td="disabled"===e4.state?(0,t.jsxs)(ep,{title:"Schedule is disabled",onAction:()=>void ts(),actionLabel:"Enable schedule",actionBusy:ea,children:["This schedule is staged disabled (",(0,t.jsx)("code",{className:"stg:font-mono",children:"spec.enabled"})," is off) — it will not fire on its cron cadence. Use"," ",(0,t.jsx)("span",{className:"stg:font-medium stg:text-foreground",children:"Enable & run now"})," ","to enable it and start one test run, or Enable it here to hand it to the cadence.",e4.isPaused&&(0,t.jsxs)(t.Fragment,{children:[" ","It is also paused by the platform (",e6?.pausedReason,"); after enabling, use Resume to clear the pause."]})]}):"paused"===e4.state?(0,t.jsxs)(ep,{title:"Paused by the platform",onAction:()=>void tt(),actionLabel:"Resume schedule",actionBusy:X,children:[e6?.pausedReason," — resuming clears the pause and the failure streak. Re-applying the manifest does not."]}):void 0,tc=(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-6",children:[(0,t.jsx)(p.Section,{title:"Definition",children:(0,t.jsxs)("dl",{className:"stg:divide-y stg:divide-border",children:[(0,t.jsx)(eA,{label:"Cadence",children:C?(0,t.jsx)(ev,{cron:e5?.cron??"",timeZone:e5?.timeZone??"",onSave:(e,t)=>eV("cadence",s=>{s.cron=e,s.timeZone=t}),isSaving:el,error:eK?.field==="cadence"?eK.message:void 0}):(0,t.jsx)(eb,{cron:e5?.cron??"",timeZone:e5?.timeZone??""})}),(0,t.jsx)(eA,{label:"Target agent",children:te?.agentRef?(0,t.jsx)(eF,{label:`${te.agentRef.org}/${te.agentRef.slug}`,onNavigate:r?()=>r(te.agentRef.org,te.agentRef.slug):void 0}):(0,t.jsx)("span",{className:"stg:text-sm stg:text-muted-foreground",children:"—"})}),(0,t.jsx)(eA,{label:"Message",children:C&&te?(0,t.jsx)(m.InlineEditTextarea,{value:te.message??"",placeholder:"The instruction the agent receives on every fire — write it for a run with no human present.",onSave:e=>eV("message",t=>{"agent"===t.target.case&&(t.target.value.message=e.trim())}),isSaving:el,error:eK?.field==="message"?eK.message:void 0,validate:eT}):(0,t.jsx)("p",{className:"stg:whitespace-pre-wrap stg:break-words stg:text-sm stg:text-foreground",children:te?.message||"—"})}),(0,t.jsx)(eA,{label:"Environments",children:C&&te?(0,t.jsx)(ej,{org:e9,refs:te.environmentRefs??[],onSave:e=>eV("environments",t=>{"agent"===t.target.case&&(t.target.value.environmentRefs=e.map(e=>(0,i.create)(d.ApiResourceReferenceSchema,{org:e.org,slug:e.slug,kind:l.ApiResourceKind.environment})))}),isSaving:el,error:eK?.field==="environments"?eK.message:void 0}):(0,t.jsx)(eD,{refs:te?.environmentRefs??[]})}),(0,t.jsx)(eA,{label:"Workspace",children:(0,t.jsx)(eP,{entries:te?.workspaceEntries??[]})}),(0,t.jsx)(eA,{label:"Engine & model",children:C&&te?(0,t.jsx)(ey,{invocation:te,onSave:(e,t,s,n)=>eV("engine-model",a=>{var r,i,o,l,g;"agent"===a.target.case&&(r=a.target.value,i=e,o=t,l=s,g=n,r.harness=i,r.runConfig=ew(o,r.runConfig?.maxCostUsd??0,r.runConfig?.maxToolRounds??0,""!==o.trim()?l:"standard",""!==o.trim()?g:"disabled"))}),isSaving:el,error:eK?.field==="engine-model"?eK.message:void 0}):(0,t.jsx)(eM,{invocation:te})}),(0,t.jsx)(eA,{label:"Budget per run",children:C&&te?(0,t.jsx)(eS,{config:te.runConfig,onSave:e=>eV("budget",t=>{var s,n;"agent"===t.target.case&&(s=t.target.value,n=e,s.runConfig=ew(s.runConfig?.modelName??"",n??0,s.runConfig?.maxToolRounds??0,(0,L.fromProtoServiceTier)(s.runConfig?.serviceTier)??"standard",(0,M.fromProtoThinkingMode)(s.runConfig?.thinkingMode)??"disabled"))}),isSaving:el,error:eK?.field==="budget"?eK.message:void 0}):(0,t.jsx)(eI,{config:te?.runConfig})})]})}),(0,t.jsx)(p.Section,{title:"Status",children:(0,t.jsxs)("dl",{className:"stg:divide-y stg:divide-border",children:[(0,t.jsx)(eA,{label:"Next fire",children:(0,t.jsx)("span",{className:"stg:text-sm stg:text-foreground",children:"active"===e4.state&&e6?.nextFireAt?(0,I.formatNextFire)((0,o.timestampDate)(e6.nextFireAt),e8):"—"})}),(0,t.jsx)(eA,{label:"Last fired",children:(0,t.jsx)("span",{className:"stg:text-sm stg:text-foreground",children:e6?.lastFireAt?(0,c.formatRelativeTime)((0,o.timestampDate)(e6.lastFireAt),e8):"Never"})}),(0,t.jsx)(eA,{label:"Last execution",children:e6?.lastExecutionId?(0,t.jsx)(eF,{label:e6.lastExecutionId,mono:!0,onNavigate:g?()=>g(e6.lastExecutionId):void 0}):(0,t.jsx)("span",{className:"stg:text-sm stg:text-muted-foreground",children:"—"})}),(0,t.jsx)(eA,{label:"Failure streak",children:(0,t.jsx)(eL,{count:e6?.consecutiveFailures??0})})]})}),(0,t.jsx)(p.Section,{title:"Recent runs",headerActions:W>K.length?(0,t.jsxs)("button",{type:"button",onClick:()=>eQ(ex),className:(0,a.cn)("stg:text-xs stg:font-medium stg:text-primary stg:underline-offset-2 stg:hover:underline","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring stg:rounded-sm"),children:["View all ",W," runs"]}):void 0,children:(0,t.jsx)(Z,{runs:K,isLoading:V,now:e8,onNavigateToExecution:g})})]});return F=eX?eX.content:eJ===ex?(0,t.jsx)(H,{scheduleId:e7,now:D,onNavigateToExecution:g},eZ):tc,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.ResourceDetailShell,{header:tg,headerBanner:td,primaryAction:to,actions:tl,tabs:eG,activeTab:eG?eJ:void 0,onTabChange:eG?eQ:void 0,tabsAriaLabel:"Schedule detail sections",className:P,children:F}),(0,t.jsx)(f.ConfirmDialog,{state:eC,onConfirm:eE,onCancel:eR}),e_&&(0,t.jsx)(x.EditResourceYamlDialog,{open:e_,onOpenChange:eY,resource:O,onApplied:()=>z()})]})}function ep({title:e,children:s,actionLabel:n,onAction:r,actionBusy:i}){return(0,t.jsxs)("div",{role:"status",className:"stg:flex stg:items-start stg:gap-2.5 stg:rounded-lg stg:border stg:border-warning/30 stg:bg-warning/5 stg:px-4 stg:py-3",children:[(0,t.jsx)(eB,{className:"stg:mt-0.5 stg:size-4 stg:shrink-0 stg:text-warning"}),(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsx)("p",{className:"stg:text-sm stg:font-medium stg:text-foreground",children:e}),(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-xs stg:text-muted-foreground",children:s})]}),(0,t.jsx)("button",{type:"button",onClick:r,disabled:i,className:(0,a.cn)("stg:shrink-0 stg:rounded-md stg:border stg:border-input stg:bg-background stg:px-3 stg:py-1.5 stg:text-xs stg:font-medium stg:text-foreground","stg:hover:bg-accent stg:hover:text-accent-foreground","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:n})]})}function eb({cron:e,timeZone:s}){if(!e)return(0,t.jsx)("span",{className:"stg:text-sm stg:text-muted-foreground",children:"—"});let n=(0,k.cronToCadence)(e);return"custom"===n.kind?(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-0.5",children:[(0,t.jsx)("code",{className:"stg:font-mono stg:text-sm stg:text-foreground",children:e}),s&&(0,t.jsx)("span",{className:"stg:text-xs stg:text-muted-foreground",children:s})]}):(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-0.5",children:[(0,t.jsx)("span",{className:"stg:text-sm stg:text-foreground",children:(0,k.describeCadence)(n,s||void 0)}),(0,t.jsx)("code",{className:"stg:font-mono stg:text-xs stg:text-muted-foreground",children:e})]})}function ev({cron:e,timeZone:n,onSave:a,isSaving:r,error:i}){let[o,l]=(0,s.useState)(!1),[g,d]=(0,s.useState)(()=>(0,k.cronToCadence)(e)),[c,u]=(0,s.useState)(n);if(!o)return(0,t.jsx)(eE,{onEdit:()=>{d((0,k.cronToCadence)(e)),u(n||(0,G.browserTimeZone)()),l(!0)},ariaLabel:"Edit cadence",children:(0,t.jsx)(eb,{cron:e,timeZone:n})});let m=(0,k.cadenceToCron)(g).trim(),x=""!==m&&null===(0,k.validateCron)(m);return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-2",children:[(0,t.jsx)(E.CadenceField,{value:g,onChange:d,timeZone:c,disabled:r}),(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("span",{className:eC,children:"Time zone"}),(0,t.jsx)(G.TimeZoneField,{value:c,onChange:u,disabled:r})]}),(0,t.jsx)(eR,{onCancel:()=>l(!1),onSave:async()=>{await a(m,c)&&l(!1)},isSaving:r,canSave:x,error:i})]})}function ej({org:e,refs:n,onSave:a,isSaving:r,error:i}){let[o,l]=(0,s.useState)(!1),[g,d]=(0,s.useState)([]);return o?(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-2",children:[(0,t.jsx)(R.EnvironmentPicker,{org:e,value:g,onChange:d,disabled:r,filterEnvironment:eN}),(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:"Bind org-shared credentials so the agent’s tools work on an unattended fire. Without this, an agent whose tools need credentials will be refused every run."}),(0,t.jsx)(eR,{onCancel:()=>l(!1),onSave:async()=>{await a(g)&&l(!1)},isSaving:r,canSave:!0,error:i})]}):(0,t.jsx)(eE,{onEdit:()=>{d(n.map(e=>({org:e.org,slug:e.slug}))),l(!0)},ariaLabel:"Edit environments",children:(0,t.jsx)(eD,{refs:n})})}function eN(e){return e.metadata?.visibility===g.ApiResourceVisibility.visibility_org}function ey({invocation:e,onSave:n,isSaving:a,error:r}){let[i,o]=(0,s.useState)(!1),[l,g]=(0,s.useState)(""),[d,c]=(0,s.useState)("cursor"),[u,m]=(0,s.useState)("standard"),[x,f]=(0,s.useState)("disabled");return i?(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-2",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)(A.ModelSelector,{value:l,onValueChange:g,initialHarness:d,onHarnessChange:c,serviceTier:u,onServiceTierChange:m,thinkingMode:x,onThinkingModeChange:f,placeholderLabel:"Platform default",disabled:a}),""!==l&&(0,t.jsx)("button",{type:"button",onClick:()=>{g(""),m("standard"),f("disabled")},disabled:a,className:"stg:rounded-md stg:px-2 stg:py-1 stg:text-[0.65rem] stg:text-muted-foreground stg:hover:text-foreground stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring stg:disabled:pointer-events-none stg:disabled:opacity-50",children:"Reset to platform default"})]}),(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:"Runs use the platform’s default engine and model unless you pick one here. Picking a model pins the engine it belongs to."}),(0,t.jsx)(eR,{onCancel:()=>o(!1),onSave:async()=>{await n(""!==l?(0,D.toProtoHarness)(d):T.Harness.UNSPECIFIED,l,u,x)&&o(!1)},isSaving:a,canSave:!0,error:r})]}):(0,t.jsx)(eE,{onEdit:()=>{g(e.runConfig?.modelName??""),c(e.harness!==T.Harness.UNSPECIFIED?(0,D.fromProtoHarness)(e.harness):"cursor"),m((0,L.fromProtoServiceTier)(e.runConfig?.serviceTier)??"standard"),f((0,M.fromProtoThinkingMode)(e.runConfig?.thinkingMode)??"disabled"),o(!0)},ariaLabel:"Edit engine and model",children:(0,t.jsx)(eM,{invocation:e})})}function eS({config:e,onSave:n,isSaving:r,error:i}){let[o,l]=(0,s.useState)(!1),[g,d]=(0,s.useState)("");if(!o)return(0,t.jsx)(eE,{onEdit:()=>{d(e&&e.maxCostUsd>0?String(e.maxCostUsd):""),l(!0)},ariaLabel:"Edit budget",children:(0,t.jsx)(eI,{config:e})});let c=Number.parseFloat(g),u=Number.isFinite(c)&&c>0?c:void 0;return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-2",children:[(0,t.jsx)("input",{type:"number",min:"0",step:"any","aria-label":"Budget per run (USD)",value:g,onChange:e=>d(e.target.value),placeholder:"platform default",disabled:r,className:(0,a.cn)(ek,"stg:sm:max-w-48")}),(0,t.jsx)("p",{className:"stg:text-[0.65rem] stg:text-muted-foreground",children:"Each run stops when it reaches this spend. You can lower the platform’s per-run cap, never raise it past the platform’s ceiling. Blank inherits the platform default."}),(0,t.jsx)(eR,{onCancel:()=>l(!1),onSave:async()=>{await n(u)&&l(!1)},isSaving:r,canSave:!0,error:i})]})}function ew(e,t,s,n,a){let r={};return""!==e.trim()&&(r.modelName=e.trim()),t>0&&(r.maxCostUsd=t),s>0&&(r.maxToolRounds=s),"fast"===n&&(r.serviceTier=(0,L.toProtoServiceTier)(n)),"enabled"===a&&(r.thinkingMode=(0,M.toProtoThinkingMode)(a)),Object.keys(r).length>0?(0,i.create)(w.RunConfigSchema,r):void 0}function eT(e){return e.trim()?e.length>8192?"Message must be at most 8192 characters.":null:"Message is required — the agent receives it on every fire."}let eC="stg:block stg:text-xs stg:font-medium stg:text-foreground",ek=(0,a.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");function eE({onEdit:e,ariaLabel:s,children:n}){return(0,t.jsx)("div",{className:"stg:group/inline-edit",children:(0,t.jsx)("button",{type:"button",onClick:e,"aria-label":s,className:(0,a.cn)("stg:-mx-2 stg:w-full stg:rounded-md stg:px-2 stg:py-1.5 stg:text-left stg:transition-colors","stg:hover:bg-accent-hover stg:cursor-pointer","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-inset stg:focus-visible:ring-ring"),children:(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:justify-between stg:gap-2",children:[(0,t.jsx)("div",{className:"stg:min-w-0 stg:flex-1",children:n}),(0,t.jsx)(eH,{className:"stg:mt-0.5 stg:size-3 stg:shrink-0 stg:text-muted-foreground stg:opacity-0 stg:transition-opacity stg:group-hover/inline-edit:opacity-100"})]})})})}function eR({onCancel:e,onSave:s,isSaving:n,canSave:r,error:i}){return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-1.5",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:justify-end stg:gap-1.5",children:[(0,t.jsx)("button",{type:"button",onClick:e,disabled:n,className:(0,a.cn)("stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs stg:font-medium","stg:border stg:border-border stg:bg-background stg:text-foreground stg:hover:bg-accent stg:hover:text-accent-foreground","stg:disabled:opacity-50","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring"),children:"Cancel"}),(0,t.jsxs)("button",{type:"button",onClick:s,disabled:!r||n,className:(0,a.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-primary stg:text-primary-foreground stg:hover:bg-primary-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring"),children:[n&&(0,t.jsx)(em.SpinnerIcon,{size:14}),"Save"]})]}),i&&(0,t.jsx)("p",{className:"stg:text-xs stg:text-destructive",role:"alert",children:i})]})}function eA({label:e,children:s}){return(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:gap-4 stg:px-4 stg:py-2.5",children:[(0,t.jsx)("dt",{className:"stg:w-40 stg:shrink-0 stg:pt-0.5 stg:text-xs stg:font-medium stg:text-muted-foreground",children:e}),(0,t.jsx)("dd",{className:"stg:min-w-0 stg:flex-1",children:s})]})}function eD({refs:e}){return 0===e.length?(0,t.jsx)("span",{className:"stg:text-sm stg:text-muted-foreground",children:"—"}):(0,t.jsx)("ul",{className:(0,a.cn)(r.UNSTYLED_LIST,"stg:flex stg:flex-col stg:gap-0.5"),children:e.map((e,s)=>(0,t.jsx)("li",{className:"stg:font-mono stg:text-xs stg:text-foreground",children:e.org?`${e.org}/${e.slug}`:e.slug},`${e.org}/${e.slug}-${s}`))})}function eL({count:e}){return 0===e?(0,t.jsx)("span",{className:"stg:text-sm stg:text-foreground",children:"0"}):(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-0.5",children:[(0,t.jsxs)("span",{className:"stg:text-sm stg:font-medium stg:text-warning",children:[e," consecutive failed ",1===e?"run":"runs"]}),(0,t.jsx)("p",{className:"stg:text-xs stg:text-muted-foreground",children:"Failed scheduled runs raise this streak; too many in a row and the platform pauses the schedule automatically. One successful run resets it to 0. Manual runs never count."})]})}function eM({invocation:e}){let s=e?.harness??T.Harness.UNSPECIFIED,n=e?.runConfig?.modelName??"";if(s===T.Harness.UNSPECIFIED&&""===n)return(0,t.jsx)("span",{className:"stg:text-sm stg:text-muted-foreground",children:"Platform default"});let a=[];return s!==T.Harness.UNSPECIFIED&&a.push(D.HARNESS_META[(0,D.fromProtoHarness)(s)].label),a.push(""!==n?n:"platform-default model"),e?.runConfig?.serviceTier===C.ServiceTier.FAST&&a.push("Fast tier"),e?.runConfig?.thinkingMode===C.ThinkingMode.ENABLED&&a.push("Thinking"),(0,t.jsx)("span",{className:"stg:text-sm stg:text-foreground",children:a.join(" · ")})}function eI({config:e}){let s=e?.maxCostUsd??0,n=e?.maxToolRounds??0;return(0,t.jsxs)("div",{className:"stg:flex stg:flex-col stg:gap-0.5",children:[s>0?(0,t.jsxs)("span",{className:"stg:text-sm stg:text-foreground",children:["≤ $",s.toFixed(2)," per run"]}):(0,t.jsx)("span",{className:"stg:text-sm stg:text-muted-foreground",children:"Platform default"}),n>0&&(0,t.jsxs)("span",{className:"stg:text-xs stg:text-muted-foreground",children:["≤ ",n," tool rounds"]})]})}function eP({entries:e}){return 0===e.length?(0,t.jsx)("span",{className:"stg:text-sm stg:text-muted-foreground",children:"—"}):(0,t.jsx)("ul",{className:(0,a.cn)(r.UNSTYLED_LIST,"stg:flex stg:flex-col stg:gap-0.5"),children:e.map((e,s)=>{let n=e.source?.source?.case==="gitRepo"?e.source.source.value:void 0;return(0,t.jsxs)("li",{className:"stg:text-xs stg:text-foreground",children:[(0,t.jsx)("span",{className:"stg:font-medium",children:e.name}),n?.url&&(0,t.jsxs)("span",{className:"stg:ml-1.5 stg:font-mono stg:text-muted-foreground",children:[n.url,n.branch?`@${n.branch}`:""]})]},`${e.name}-${s}`)})})}function eF({label:e,onNavigate:s,mono:n}){let r=(0,a.cn)("stg:text-sm",n&&"stg:font-mono stg:text-xs");return s?(0,t.jsx)("button",{type:"button",onClick:s,className:(0,a.cn)(r,"stg:text-primary stg:underline-offset-2 stg:hover:underline","stg:focus-visible:outline-none stg:focus-visible:ring-2 stg:focus-visible:ring-ring stg:rounded-sm"),children:e}):(0,t.jsx)("span",{className:(0,a.cn)(r,"stg:text-foreground"),children:e})}function eU({className:e}){return(0,t.jsxs)("div",{className:(0,a.cn)("stg:flex stg:flex-col stg:gap-6",e),"aria-busy":"true","aria-label":"Loading schedule details",children:[(0,t.jsxs)("div",{className:"stg:flex stg:items-start stg:gap-3",children:[(0,t.jsx)("div",{className:"stg:mt-1 stg:size-6 stg:shrink-0 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsxs)("div",{className:"stg:flex-1 stg:space-y-2",children:[(0,t.jsx)("div",{className:"stg:h-5 stg:w-48 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:h-3 stg:w-64 stg:animate-pulse stg:rounded stg:bg-muted"})]})]}),(0,t.jsxs)("div",{className:"stg:space-y-2",children:[(0,t.jsx)("div",{className:"stg:h-3 stg:w-28 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:animate-pulse stg:rounded-lg stg:border stg:border-border stg:bg-muted-faint",style:{height:"160px"}})]}),(0,t.jsxs)("div",{className:"stg:space-y-2",children:[(0,t.jsx)("div",{className:"stg:h-3 stg:w-20 stg:animate-pulse stg:rounded stg:bg-muted"}),(0,t.jsx)("div",{className:"stg:animate-pulse stg:rounded-lg stg:border stg:border-border stg:bg-muted-faint",style:{height:"160px"}})]})]})}function e$({className:e}){return(0,t.jsxs)("div",{role:"status",className:(0,a.cn)("stg:flex stg:flex-col stg:items-center stg:gap-2 stg:py-12 stg:text-center",e),children:[(0,t.jsx)(eO,{className:"stg:size-10 stg:text-muted-foreground-faint"}),(0,t.jsx)("p",{className:"stg:text-sm stg:font-medium stg:text-muted-foreground",children:"Schedule not found"}),(0,t.jsx)("p",{className:"stg:text-xs stg:text-muted-foreground-subtle",children:"This schedule doesn't exist or you don't have access to it."})]})}function eO({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M21 12a9 9 0 1 1-2.64-6.36"}),(0,t.jsx)("path",{d:"M21 3v5h-5"}),(0,t.jsx)("path",{d:"M12 7v5l3 3"})]})}function eB({className:e}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M8 1.5 15 14H1L8 1.5Z"}),(0,t.jsx)("path",{d:"M8 6v4"}),(0,t.jsx)("path",{d:"M8 12.2v.05"})]})}function eH({className:e}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M11.5 1.5a2.121 2.121 0 0 1 3 3L5 14l-4 1 1-4Z"})})}var e_=e.i(310057),eY=e.i(451241),eZ=e.i(635549),ez=e.i(107141);function eK({org:e,slug:a}){let r=(0,n.useRouter)(),{setLabel:i}=(0,e_.useBreadcrumbOverride)(),{navigateToDetail:o}=(0,eY.useLibraryNavigation)(),{navigateToExecution:l}=(0,eZ.useExecutionNavigation)(),[g,d]=(0,s.useState)(()=>new URLSearchParams(window.location.search).get("tab")??void 0??"overview");(0,s.useEffect)(()=>()=>i(null),[i]);let c=(0,s.useCallback)(e=>{i(e.metadata?.name||e.metadata?.slug||"Schedule")},[i]);return(0,t.jsx)(eh,{org:e,slug:a,editable:!0,activeTab:g,onTabChange:d,onResourceLoad:c,onNavigateToAgent:(e,t)=>o("agents",e,t),onNavigateToExecution:l,onDeleted:()=>r.push("/library/schedules")})}e.s(["ScheduleDetailPage",0,function(){let e=(0,eY.useRouteDetailYieldsToOverlay)(),s=(0,ez.useStaticRouteParam)("org",2),n=(0,ez.useStaticRouteParam)("slug");return!e&&s&&n?(0,t.jsx)(eK,{org:s,slug:n}):null},"ScheduleDetailPageInner",0,eK],470370)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,367240,e=>{"use strict";let t=(0,e.i(475254).default)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);e.s(["RotateCcw",0,t],367240)},582458,e=>{"use strict";let t=(0,e.i(475254).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["default",0,t])},878894,e=>{"use strict";var t=e.i(582458);e.s(["AlertTriangle",()=>t.default])},588092,e=>{"use strict";let t=(0,e.i(475254).default)("shield-x",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m14.5 9.5-5 5",key:"17q4r4"}],["path",{d:"m9.5 9.5 5 5",key:"18nt4w"}]]);e.s(["ShieldX",0,t],588092)},250760,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(522016),i=e.i(878894),a=e.i(367240),l=e.i(588092),n=e.i(610595),c=e.i(102508);let d={auth:"Authentication required",permission:"Access denied","not-found":"Page not found",server:"Server error",unavailable:"Service unavailable"};e.s(["default",0,function({error:e,reset:o}){let u=(0,n.classifyError)(e),h=(0,n.getUserMessage)(e),m=d[u]??"Something went wrong",f="auth"===u||"permission"===u?l.ShieldX:i.AlertTriangle;return(0,s.useEffect)(()=>{console.error("[RootErrorBoundary]",e)},[e]),(0,t.jsx)("div",{className:"flex min-h-[60vh] flex-col items-center justify-center px-4",children:(0,t.jsxs)("div",{className:"w-full max-w-sm space-y-6 text-center",children:[(0,t.jsx)("div",{className:"bg-destructive-subtle mx-auto flex size-12 items-center justify-center rounded-full",children:(0,t.jsx)(f,{className:"text-destructive size-6"})}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("h1",{className:"text-lg font-semibold",children:m}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:h})]}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-3",children:[(0,t.jsxs)(c.Button,{variant:"outline",onClick:o,children:[(0,t.jsx)(a.RotateCcw,{className:"mr-1.5 size-3.5"}),"Try again"]}),(0,t.jsx)(r.default,{href:"/",className:"hover:bg-muted hover:text-foreground inline-flex h-8 items-center justify-center rounded-lg px-2.5 text-sm font-medium transition-colors",children:"Go to Dashboard"})]}),e.digest&&(0,t.jsxs)("p",{className:"text-muted-foreground-subtle font-mono text-xs",children:["Reference: ",e.digest]})]})})}])}]);
|
|
@@ -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 r({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:n}){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",n),children:[(0,t.jsx)(r,{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)}])},466602,e=>{"use strict";var t=e.i(843476),s=e.i(271645),r=e.i(893976),n=e.i(610595),a=e.i(17616),i=e.i(188482),l=e.i(586108),o=e.i(583093),g=e.i(326283),d=e.i(379410),c=e.i(361353);function u({onRefetchRef:e,className:a,now:i}){let{apiKeys:g,isLoading:d,error:c,refetch:m}=function(){let e=(0,l.useStigmer)(),{data:t,isLoading:s,isRefetching:r,error:n,refetch:a}=(0,o.useFetch)(()=>e.apiKey.findAll().then(e=>[...e.entries]),[e],[]);return{apiKeys:t,isLoading:s,isRefetching:r,error:n,refetch:a}}(),[h,p]=(0,s.useState)(null);return(e&&e(m),d)?(0,t.jsx)("div",{className:(0,r.cn)("stg:space-y-2",a),"aria-busy":"true","aria-label":"Loading API keys",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))}):c?(0,t.jsx)("p",{className:(0,r.cn)("stg:text-destructive stg:text-xs",a),role:"alert",children:(0,n.getUserMessage)(c)}):0===g.length?(0,t.jsx)("p",{className:(0,r.cn)("stg:text-muted-foreground stg:py-4 stg:text-center stg:text-xs",a),children:"No API keys yet."}):(0,t.jsx)("div",{className:(0,r.cn)("stg:space-y-2",a),role:"list","aria-label":"API keys",children:g.map(e=>{let s=e.metadata?.id??"";return(0,t.jsx)(x,{apiKey:e,now:i,isConfirming:h===s,onConfirmDelete:()=>p(s),onCancelDelete:()=>p(null),onDeleted:()=>{p(null),m()}},s)})})}function x({apiKey:e,now:o,isConfirming:u,onConfirmDelete:b,onCancelDelete:y,onDeleted:f}){let{deleteKey:v,isDeleting:j,error:k}=function(){let e=(0,l.useStigmer)(),[t,r]=(0,s.useState)(!1),[n,a]=(0,s.useState)(null),i=(0,s.useCallback)(()=>a(null),[]);return{deleteKey:(0,s.useCallback)(async t=>{r(!0),a(null);try{return await e.apiKey.delete(t)}catch(e){throw a((0,g.toError)(e)),e}finally{r(!1)}},[e]),isDeleting:t,error:n,clearError:i}}(),N=e.metadata?.id??"",C=e.metadata?.name||e.metadata?.slug||"Unnamed key",w=e.spec?.fingerprint,A=e.spec?.neverExpires,S=e.spec?.expiresAt,I=e.status?.lastUsedAt,D=e.status?.audit?.specAudit?.createdAt,L=(0,s.useCallback)(async()=>{try{await v(N),f()}catch{}},[N,v,f]);return u?(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:["Delete ",(0,t.jsx)("span",{className:"stg:font-medium",children:C}),"?",w&&(0,t.jsxs)("span",{className:"stg:text-muted-foreground",children:[" ","(…",w,")"]})]}),k&&(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-[0.65rem] stg:text-destructive",children:(0,n.getUserMessage)(k)})]}),(0,t.jsxs)("div",{className:"stg:flex stg:shrink-0 stg:items-center stg:gap-1.5",children:[(0,t.jsxs)("button",{type:"button",onClick:L,disabled:j,className:(0,r.cn)("stg:inline-flex stg:items-center stg:gap-1 stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs stg:font-medium","stg:bg-destructive stg:text-destructive-foreground stg:hover:bg-destructive-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:[j&&(0,t.jsx)(d.SpinnerIcon,{size:12}),"Delete"]}),(0,t.jsx)("button",{type:"button",onClick:y,disabled:j,className:(0,r.cn)("stg:rounded-md stg:px-2.5 stg:py-1 stg:text-xs","stg:text-muted-foreground stg:hover:text-foreground stg:hover:bg-accent-hover","stg:disabled:pointer-events-none stg:disabled:opacity-50"),children:"Cancel"})]})]}):(0,t.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)(h,{}),(0,t.jsxs)("div",{className:"stg:min-w-0 stg:flex-1",children:[(0,t.jsx)("span",{className:"stg:block stg:truncate stg:text-sm stg:font-medium stg:text-foreground",children:C}),w&&(0,t.jsxs)("span",{className:"stg:block stg:text-xs stg:text-muted-foreground stg:font-mono",children:["…",w]})]}),(0,t.jsxs)("div",{className:"stg:hidden stg:sm:flex stg:shrink-0 stg:items-center stg:gap-4 stg:text-xs stg:text-muted-foreground",children:[D&&(0,t.jsxs)(i.Tooltip,{children:[(0,t.jsx)(i.TooltipTrigger,{render:(0,t.jsx)("time",{dateTime:(0,a.timestampDate)(D).toISOString()}),children:m((0,a.timestampDate)(D))}),(0,t.jsx)(i.TooltipContent,{side:"top",children:`Created ${(0,a.timestampDate)(D).toISOString()}`})]}),(0,t.jsx)("span",{children:A?"No expiry":S?`Expires ${m((0,a.timestampDate)(S))}`:"No expiry"}),(0,t.jsx)("span",{children:I?(0,c.formatRelativeTime)((0,a.timestampDate)(I),o):"Never used"})]}),(0,t.jsx)("button",{type:"button",onClick:b,"aria-label":`Delete ${C}`,className:(0,r.cn)("stg:shrink-0 stg:rounded stg:p-1","stg:text-muted-foreground stg:hover:text-destructive stg:hover:bg-destructive-subtle","stg:transition-colors"),children:(0,t.jsx)(p,{})})]})}function m(e){return e.toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}function h(){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:"stg:shrink-0 stg:text-muted-foreground",children:[(0,t.jsx)("circle",{cx:"5.5",cy:"10.5",r:"3"}),(0,t.jsx)("path",{d:"M8 8l5.5-5.5M11 5l2-2M10.5 2.5l2 2"})]})}function p(){return(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M2.5 4h11M5.5 4V2.5a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1V4"}),(0,t.jsx)("path",{d:"M12.5 4v9a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V4"}),(0,t.jsx)("line",{x1:"6.5",y1:"7",x2:"6.5",y2:"11"}),(0,t.jsx)("line",{x1:"9.5",y1:"7",x2:"9.5",y2:"11"})]})}var b=e.i(869803);function y({org:e,onCreated:a,onCancel:i,initialName:o="",className:c}){let{create:u,isCreating:x,error:m,clearError:h}=function(){let e=(0,l.useStigmer)(),[t,r]=(0,s.useState)(!1),[n,a]=(0,s.useState)(null),i=(0,s.useCallback)(()=>a(null),[]);return{create:(0,s.useCallback)(async t=>{r(!0),a(null);try{return await e.apiKey.create(t)}catch(e){throw a((0,g.toError)(e)),e}finally{r(!1)}},[e]),isCreating:t,error:n,clearError:i}}(),p=(0,s.useId)(),[j,k]=(0,s.useState)(o),[N,C]=(0,s.useState)("never"),w=j.trim(),A=""!==w&&!x,S=(0,s.useCallback)(async t=>{if(t.preventDefault(),A){h();try{var s;let t,r=await u({name:w,org:e,..."never"===N?{neverExpires:!0}:{expiresAt:(s=Number(N),(t=new Date).setDate(t.getDate()+s),t)}});a?.(r)}catch{}}},[A,w,e,N,u,h,a]);return(0,t.jsxs)("form",{onSubmit:S,className:(0,r.cn)("stg:space-y-3",c),children:[(0,t.jsxs)("div",{className:"stg:space-y-3",children:[(0,t.jsxs)("div",{className:"stg:space-y-1",children:[(0,t.jsx)("label",{htmlFor:`${p}-name`,className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Name"}),(0,t.jsx)("input",{id:`${p}-name`,type:"text",value:j,onChange:e=>k(e.target.value),placeholder:"e.g. ci-deploy-key",disabled:x,autoFocus:!0,required:!0,className:(0,r.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.jsxs)("fieldset",{className:(0,r.cn)(b.UNSTYLED_FIELDSET,"stg:space-y-1.5"),children:[(0,t.jsx)("legend",{className:"stg:text-xs stg:font-medium stg:text-foreground",children:"Expiration"}),(0,t.jsx)("div",{className:"stg:flex stg:flex-wrap stg:gap-2",children:f.map(({value:e,label:s})=>(0,t.jsx)(v,{name:`${p}-expiry`,value:e,label:s,checked:N===e,disabled:x,onChange:C},e))})]})]}),m&&(0,t.jsx)("p",{className:"stg:text-destructive stg:text-[0.65rem]",role:"alert",children:(0,n.getUserMessage)(m)}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsxs)("button",{type:"submit",disabled:!A,className:(0,r.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:[x&&(0,t.jsx)(d.SpinnerIcon,{size:12}),"Create API key"]}),i&&(0,t.jsx)("button",{type:"button",onClick:i,disabled:x,className:(0,r.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"})]})]})}let f=[{value:"30",label:"30 days"},{value:"60",label:"60 days"},{value:"90",label:"90 days"},{value:"never",label:"Never"}];function v({name:e,value:s,label:n,checked:a,disabled:i,onChange:l}){return(0,t.jsxs)("label",{className:(0,r.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",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",i&&"stg:pointer-events-none stg:opacity-50"),children:[(0,t.jsx)("input",{type:"radio",name:e,value:s,checked:a,disabled:i,onChange:()=>l(s),className:"stg:sr-only"}),n]})}var j=e.i(162697),k=e.i(193799);function N({rawKey:e,keyName:n,onDismiss:a,className:i}){let{copy:l,copied:o}=(0,k.useCopyFeedback)(),g=(0,s.useRef)(null),d=(0,s.useCallback)(async()=>{!await l(e)&&g.current&&(0,j.selectElementText)(g.current)},[l,e]);return(0,t.jsxs)("div",{role:"alert",className:(0,r.cn)("stg:rounded-lg stg:border stg:border-primary/30 stg:bg-primary-subtle stg:p-4",i),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:["API key created: ",n]}),(0,t.jsx)("p",{className:"stg:mt-0.5 stg:text-xs stg:text-muted-foreground",children:"Copy this key now. It will not be shown again."})]}),(0,t.jsx)("button",{type:"button",onClick:a,"aria-label":"Dismiss",className:(0,r.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)(A,{})})]}),(0,t.jsxs)("div",{className:"stg:flex stg:items-center stg:gap-2",children:[(0,t.jsx)("code",{ref:g,className:(0,r.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,r.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:[o?(0,t.jsx)(w,{}):(0,t.jsx)(C,{}),o?"Copied":"Copy"]})]})]})}function C(){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 w(){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 A(){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 S=e.i(597744),I=e.i(170255),D=e.i(630983),L=e.i(297629);e.s(["ApiKeysSection",0,function(){let e=(0,s.useId)(),r=(0,L.useActiveOrgSlug)(),n=(0,S.useResourceAvailable)(I.ApiResourceKind.api_key),[a,i]=(0,s.useState)({phase:"idle"}),l=(0,s.useRef)(null),o=(0,s.useCallback)(e=>{l.current=e},[]),g=(0,s.useCallback)(e=>{i({phase:"reveal",rawKey:e.spec?.keyHash??"",keyName:e.metadata?.name??"API key"}),l.current?.()},[]),d=(0,s.useCallback)(()=>{i({phase:"idle"})},[]);return(0,t.jsxs)("section",{"aria-labelledby":e,children:[(0,t.jsxs)("div",{className:"stg:mb-3 stg:flex stg:items-center stg:justify-between",children:[(0,t.jsx)("h2",{id:e,className:"stg:text-foreground stg:text-sm stg:font-semibold",children:"API Keys"}),n&&"idle"===a.phase&&(0,t.jsx)("button",{type:"button",onClick:()=>i({phase:"creating"}),className:"stg:text-primary stg:hover:text-foreground stg:text-xs stg:font-medium stg:transition-colors",children:"+ New API key"})]}),(0,t.jsx)("p",{className:"stg:text-muted-foreground stg:mb-4 stg:text-xs",children:"API keys authenticate CLI sessions and programmatic access to the Stigmer API. Keys are scoped to your identity and work across all your organizations."}),n?(0,t.jsxs)(t.Fragment,{children:["reveal"===a.phase&&(0,t.jsx)(N,{rawKey:a.rawKey,keyName:a.keyName,onDismiss:d,className:"stg:mb-4"}),"creating"===a.phase&&(0,t.jsx)("div",{className:"stg:border-border stg:bg-card stg:mb-4 stg:rounded-lg stg:border stg:p-4",children:(0,t.jsx)(y,{org:r,onCreated:g,onCancel:()=>i({phase:"idle"})})}),(0,t.jsx)(u,{onRefetchRef:o})]}):(0,t.jsx)(D.CloudFeatureNotice,{children:"API keys are not available in local mode. When running locally, the CLI authenticates directly without API keys."})]})}],466602)}]);
|