@claudiolabs/claudin 1.1.32 → 1.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/App-1.1.33-y76d67dw.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.33-fz6kxvwx.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.33-99ykhjpz.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.33-tzr7atf1.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.33-3ehzc9bn.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.33-mptzgfxf.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.33-anvv0w3b.mjs +6 -0
- package/dist/chunks/Doctor-1.1.33-8m3ek5ex.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.33-70aphca6.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.33-0syshawj.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.33-40sq04vm.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.33-tgp186pw.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.33-9tcy3d33.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.33-zjx8xhqz.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.33-zm2tkf0s.mjs +1 -0
- package/dist/chunks/REPL-1.1.33-gh2kz8dk.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.33-v284310j.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.33-5dqj1qp9.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.33-q3p5maex.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.33-dhrpj9a6.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.33-gph2cfsr.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.33-qv8tchk3.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.33-bq45cvv6.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.33-v055y8f3.mjs +1 -0
- package/dist/chunks/add-dir-1.1.33-e811cqdx.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.33-t5nvprgp.mjs +1 -0
- package/dist/chunks/agents-1.1.33-mbve4trn.mjs +3 -0
- package/dist/chunks/agents-1.1.33-nhfb2axy.mjs +110 -0
- package/dist/chunks/api-1.1.33-2sg5ga0j.mjs +1 -0
- package/dist/chunks/asciicast-1.1.33-xr41erq2.mjs +1 -0
- package/dist/chunks/auth-1.1.33-k778a810.mjs +1 -0
- package/dist/chunks/auth-1.1.33-xappxyn1.mjs +1 -0
- package/dist/chunks/autoMode-1.1.33-wb6nwcf3.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.33-43tmanjr.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.33-py6amejh.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.33-zn01axaz.mjs +1 -0
- package/dist/chunks/branch-1.1.33-gthrar82.mjs +4 -0
- package/dist/chunks/bridge-1.1.33-9s3v1h77.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.33-183x874k.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.33-42yktg6p.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.33-62ytf81q.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.33-weh8egz5.mjs +1 -0
- package/dist/chunks/btw-1.1.33-xhjhwhex.mjs +1 -0
- package/dist/chunks/buddy-1.1.33-6e4bcghj.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.33-65t8nv3y.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.33-anfjhga9.mjs +4 -0
- package/dist/chunks/caches-1.1.33-ehvfr1c6.mjs +1 -0
- package/dist/chunks/cd-1.1.33-xbpsa40s.mjs +3 -0
- package/dist/chunks/claudeDesktop-1.1.33-en5r91rv.mjs +1 -0
- package/dist/chunks/clear-1.1.33-90jr5w5d.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.33-4ts9jf6w.mjs +1 -0
- package/dist/chunks/cli-1.1.33-05291q1a.mjs +2 -0
- package/dist/chunks/cli-1.1.33-0bk8mrfh.mjs +15 -0
- package/dist/chunks/cli-1.1.33-0ktq50cd.mjs +133 -0
- package/dist/chunks/cli-1.1.33-0kvxjey5.mjs +24 -0
- package/dist/chunks/cli-1.1.33-0sckqj39.mjs +2 -0
- package/dist/chunks/cli-1.1.33-1fpzq80d.mjs +2 -0
- package/dist/chunks/cli-1.1.33-1mfasbf1.mjs +2 -0
- package/dist/chunks/cli-1.1.33-20v60hvd.mjs +203 -0
- package/dist/chunks/cli-1.1.33-20zqrzzq.mjs +2 -0
- package/dist/chunks/cli-1.1.33-22addsh7.mjs +4 -0
- package/dist/chunks/cli-1.1.33-231zj4yg.mjs +2 -0
- package/dist/chunks/cli-1.1.33-241y9eee.mjs +5 -0
- package/dist/chunks/cli-1.1.33-283f43sy.mjs +2 -0
- package/dist/chunks/cli-1.1.33-2chamq3v.mjs +2 -0
- package/dist/chunks/cli-1.1.33-2xqjkz7r.mjs +2 -0
- package/dist/chunks/cli-1.1.33-303jm377.mjs +2 -0
- package/dist/chunks/cli-1.1.33-30vd7w1w.mjs +10 -0
- package/dist/chunks/cli-1.1.33-39q98nwa.mjs +2 -0
- package/dist/chunks/cli-1.1.33-3by7vn1v.mjs +2 -0
- package/dist/chunks/cli-1.1.33-3de2dtv6.mjs +2 -0
- package/dist/chunks/cli-1.1.33-3kk4en4s.mjs +2 -0
- package/dist/chunks/cli-1.1.33-3yjvh7fr.mjs +2 -0
- package/dist/chunks/cli-1.1.33-46bkj0rz.mjs +5 -0
- package/dist/chunks/cli-1.1.33-4ghpq4rw.mjs +24 -0
- package/dist/chunks/cli-1.1.33-4t7b2799.mjs +2 -0
- package/dist/chunks/cli-1.1.33-525zf497.mjs +16 -0
- package/dist/chunks/cli-1.1.33-56fen5jd.mjs +4 -0
- package/dist/chunks/cli-1.1.33-5c19q87v.mjs +2 -0
- package/dist/chunks/cli-1.1.33-5ehc9tkd.mjs +2 -0
- package/dist/chunks/cli-1.1.33-5fc0dkzm.mjs +2 -0
- package/dist/chunks/cli-1.1.33-5ff9vmz9.mjs +3 -0
- package/dist/chunks/cli-1.1.33-5pa215hx.mjs +2 -0
- package/dist/chunks/cli-1.1.33-6fq5cn5g.mjs +17 -0
- package/dist/chunks/cli-1.1.33-726gr74y.mjs +2 -0
- package/dist/chunks/cli-1.1.33-7b2yeb1x.mjs +2 -0
- package/dist/chunks/cli-1.1.33-7qjhgket.mjs +2 -0
- package/dist/chunks/cli-1.1.33-7qr8n3qn.mjs +2 -0
- package/dist/chunks/cli-1.1.33-7rd596wq.mjs +2 -0
- package/dist/chunks/cli-1.1.33-7shybbdj.mjs +2 -0
- package/dist/chunks/cli-1.1.33-7sm3r61g.mjs +50 -0
- package/dist/chunks/cli-1.1.33-87p06j57.mjs +2 -0
- package/dist/chunks/cli-1.1.33-8dxvf995.mjs +2 -0
- package/dist/chunks/cli-1.1.33-8esj8tkg.mjs +18 -0
- package/dist/chunks/cli-1.1.33-8p3h818h.mjs +2 -0
- package/dist/chunks/cli-1.1.33-8q8sfbe6.mjs +2 -0
- package/dist/chunks/cli-1.1.33-8xyzgp13.mjs +2 -0
- package/dist/chunks/cli-1.1.33-90w26xxw.mjs +4 -0
- package/dist/chunks/cli-1.1.33-94s66kd2.mjs +2 -0
- package/dist/chunks/cli-1.1.33-9dt8xzkt.mjs +2 -0
- package/dist/chunks/cli-1.1.33-9fetbt6a.mjs +2 -0
- package/dist/chunks/cli-1.1.33-9z2gy96d.mjs +2 -0
- package/dist/chunks/cli-1.1.33-9zba2a1d.mjs +60 -0
- package/dist/chunks/cli-1.1.33-a49fwy5a.mjs +3 -0
- package/dist/chunks/cli-1.1.33-a6dvne78.mjs +2 -0
- package/dist/chunks/cli-1.1.33-ad43mr1x.mjs +2 -0
- package/dist/chunks/cli-1.1.33-ad75ezdj.mjs +2 -0
- package/dist/chunks/cli-1.1.33-afsw641c.mjs +2 -0
- package/dist/chunks/cli-1.1.33-aj5dy49h.mjs +3 -0
- package/dist/chunks/cli-1.1.33-apx2xgzn.mjs +11 -0
- package/dist/chunks/cli-1.1.33-bczwyjaq.mjs +2 -0
- package/dist/chunks/cli-1.1.33-bfx6z02g.mjs +2 -0
- package/dist/chunks/cli-1.1.33-bh8452tq.mjs +2 -0
- package/dist/chunks/cli-1.1.33-btd9w5q2.mjs +2 -0
- package/dist/chunks/cli-1.1.33-bxw3sz3d.mjs +2 -0
- package/dist/chunks/cli-1.1.33-c14msjsc.mjs +2 -0
- package/dist/chunks/cli-1.1.33-c37dxjja.mjs +2 -0
- package/dist/chunks/cli-1.1.33-c45mt1yq.mjs +2 -0
- package/dist/chunks/cli-1.1.33-c5j1t4gd.mjs +2 -0
- package/dist/chunks/cli-1.1.33-cdzhbn5g.mjs +15 -0
- package/dist/chunks/cli-1.1.33-cfj1bzen.mjs +2 -0
- package/dist/chunks/cli-1.1.33-cj2t55an.mjs +2 -0
- package/dist/chunks/cli-1.1.33-cjfrq2jz.mjs +4 -0
- package/dist/chunks/cli-1.1.33-czpahv90.mjs +25 -0
- package/dist/chunks/cli-1.1.33-czrp8ff2.mjs +2 -0
- package/dist/chunks/cli-1.1.33-d2jds1x5.mjs +4 -0
- package/dist/chunks/cli-1.1.33-d9fea5m8.mjs +2 -0
- package/dist/chunks/cli-1.1.33-das1k5jq.mjs +3 -0
- package/dist/chunks/cli-1.1.33-dd7gk6d2.mjs +5 -0
- package/dist/chunks/cli-1.1.33-df8tggjt.mjs +2 -0
- package/dist/chunks/cli-1.1.33-dfb8xrtp.mjs +2 -0
- package/dist/chunks/cli-1.1.33-dfbvd02g.mjs +3 -0
- package/dist/chunks/cli-1.1.33-dm8nxxnv.mjs +2 -0
- package/dist/chunks/cli-1.1.33-dp41gds0.mjs +2 -0
- package/dist/chunks/cli-1.1.33-dv29f6yk.mjs +2 -0
- package/dist/chunks/cli-1.1.33-e2jx0b65.mjs +2 -0
- package/dist/chunks/cli-1.1.33-e4gbaaq5.mjs +3 -0
- package/dist/chunks/cli-1.1.33-e87tvy6n.mjs +2 -0
- package/dist/chunks/cli-1.1.33-edgxaxbt.mjs +10 -0
- package/dist/chunks/cli-1.1.33-effqmrgb.mjs +2 -0
- package/dist/chunks/cli-1.1.33-evp1q65w.mjs +2 -0
- package/dist/chunks/cli-1.1.33-ezzc0e6x.mjs +2 -0
- package/dist/chunks/cli-1.1.33-f0vf76a6.mjs +26 -0
- package/dist/chunks/cli-1.1.33-f4vhy9zk.mjs +2 -0
- package/dist/chunks/cli-1.1.33-f83qf2zv.mjs +63 -0
- package/dist/chunks/cli-1.1.33-fcfv2vn6.mjs +2 -0
- package/dist/chunks/cli-1.1.33-g3wvn6f8.mjs +2 -0
- package/dist/chunks/cli-1.1.33-gbjym0yt.mjs +6 -0
- package/dist/chunks/cli-1.1.33-gfehnxj8.mjs +2 -0
- package/dist/chunks/cli-1.1.33-ggk9m978.mjs +7 -0
- package/dist/chunks/cli-1.1.33-ghcxb1ce.mjs +34 -0
- package/dist/chunks/cli-1.1.33-gnejtk17.mjs +7 -0
- package/dist/chunks/cli-1.1.33-gpp6mbxj.mjs +17 -0
- package/dist/chunks/cli-1.1.33-h0mx2ccc.mjs +2 -0
- package/dist/chunks/cli-1.1.33-h27b2an0.mjs +2 -0
- package/dist/chunks/cli-1.1.33-h75frpfe.mjs +2 -0
- package/dist/chunks/cli-1.1.33-heys42qe.mjs +9 -0
- package/dist/chunks/cli-1.1.33-hfkfz9g9.mjs +2 -0
- package/dist/chunks/cli-1.1.33-hwmqqtqr.mjs +45 -0
- package/dist/chunks/cli-1.1.33-j5q2mpwf.mjs +2 -0
- package/dist/chunks/cli-1.1.33-j6ep4mfm.mjs +6 -0
- package/dist/chunks/cli-1.1.33-j75f13gr.mjs +2 -0
- package/dist/chunks/cli-1.1.33-j8ajj3nv.mjs +2 -0
- package/dist/chunks/cli-1.1.33-jdtfdqvz.mjs +2 -0
- package/dist/chunks/cli-1.1.33-jp2qs3mr.mjs +2 -0
- package/dist/chunks/cli-1.1.33-jsyd53zn.mjs +2 -0
- package/dist/chunks/cli-1.1.33-jww2z5yy.mjs +2 -0
- package/dist/chunks/cli-1.1.33-k1vhqgx4.mjs +2 -0
- package/dist/chunks/cli-1.1.33-k466m68a.mjs +2 -0
- package/dist/chunks/cli-1.1.33-k51bffb8.mjs +2 -0
- package/dist/chunks/cli-1.1.33-kdbb1eq4.mjs +2 -0
- package/dist/chunks/cli-1.1.33-kg221c89.mjs +2 -0
- package/dist/chunks/cli-1.1.33-kqsskxv0.mjs +133 -0
- package/dist/chunks/cli-1.1.33-kth7ttsa.mjs +4 -0
- package/dist/chunks/cli-1.1.33-kty1kjfd.mjs +2 -0
- package/dist/chunks/cli-1.1.33-kx980gfw.mjs +2 -0
- package/dist/chunks/cli-1.1.33-kxjb58yw.mjs +2 -0
- package/dist/chunks/cli-1.1.33-m06xge1a.mjs +2 -0
- package/dist/chunks/cli-1.1.33-m08stm17.mjs +2 -0
- package/dist/chunks/cli-1.1.33-m402nk5n.mjs +2 -0
- package/dist/chunks/cli-1.1.33-mg60nkfe.mjs +2 -0
- package/dist/chunks/cli-1.1.33-mgmqjt4t.mjs +2 -0
- package/dist/chunks/cli-1.1.33-mhph00kg.mjs +24 -0
- package/dist/chunks/cli-1.1.33-mkzxq2c9.mjs +2 -0
- package/dist/chunks/cli-1.1.33-mm3hdty7.mjs +2 -0
- package/dist/chunks/cli-1.1.33-n2d1txyn.mjs +4 -0
- package/dist/chunks/cli-1.1.33-n55k105y.mjs +2 -0
- package/dist/chunks/cli-1.1.33-n7rpkhs4.mjs +2 -0
- package/dist/chunks/cli-1.1.33-nd6tv1an.mjs +15 -0
- package/dist/chunks/cli-1.1.33-ndste4rf.mjs +39 -0
- package/dist/chunks/cli-1.1.33-nq2hxcp4.mjs +9 -0
- package/dist/chunks/cli-1.1.33-nvfshp5c.mjs +6 -0
- package/dist/chunks/cli-1.1.33-p0fb1k1s.mjs +7 -0
- package/dist/chunks/cli-1.1.33-pcsrkgrn.mjs +8 -0
- package/dist/chunks/cli-1.1.33-pw7bmns5.mjs +42 -0
- package/dist/chunks/cli-1.1.33-q8hq263y.mjs +2 -0
- package/dist/chunks/cli-1.1.33-qr675sx2.mjs +2 -0
- package/dist/chunks/cli-1.1.33-qss1gs3e.mjs +2 -0
- package/dist/chunks/cli-1.1.33-ra054vbq.mjs +2 -0
- package/dist/chunks/cli-1.1.33-raynjbkq.mjs +2 -0
- package/dist/chunks/cli-1.1.33-rr2q4wq6.mjs +2 -0
- package/dist/chunks/cli-1.1.33-rr5sxpa0.mjs +2 -0
- package/dist/chunks/cli-1.1.33-rrhe6g9q.mjs +2 -0
- package/dist/chunks/cli-1.1.33-rrvgm0jd.mjs +2 -0
- package/dist/chunks/cli-1.1.33-rtme70ck.mjs +2 -0
- package/dist/chunks/cli-1.1.33-rv2bkx6b.mjs +2 -0
- package/dist/chunks/cli-1.1.33-rxe1dmbg.mjs +2 -0
- package/dist/chunks/cli-1.1.33-s5kw6064.mjs +3 -0
- package/dist/chunks/cli-1.1.33-sbgh2rsy.mjs +2 -0
- package/dist/chunks/cli-1.1.33-sf95jk5d.mjs +2 -0
- package/dist/chunks/cli-1.1.33-sv5dwqh6.mjs +3 -0
- package/dist/chunks/cli-1.1.33-t0fg1hsr.mjs +2 -0
- package/dist/chunks/cli-1.1.33-t10xrxez.mjs +2 -0
- package/dist/chunks/cli-1.1.33-t26pazs8.mjs +2 -0
- package/dist/chunks/cli-1.1.33-t591k29k.mjs +21 -0
- package/dist/chunks/cli-1.1.33-t63yat1z.mjs +2 -0
- package/dist/chunks/cli-1.1.33-t78313g4.mjs +3 -0
- package/dist/chunks/cli-1.1.33-t8cxmf0c.mjs +12 -0
- package/dist/chunks/cli-1.1.33-tp6bhara.mjs +4 -0
- package/dist/chunks/cli-1.1.33-ts50d9at.mjs +2 -0
- package/dist/chunks/cli-1.1.33-ttc7emph.mjs +25 -0
- package/dist/chunks/cli-1.1.33-ty6y9kn2.mjs +2 -0
- package/dist/chunks/cli-1.1.33-v08vb0sv.mjs +6 -0
- package/dist/chunks/cli-1.1.33-v615gn7w.mjs +3 -0
- package/dist/chunks/cli-1.1.33-vgynvhys.mjs +5491 -0
- package/dist/chunks/cli-1.1.33-vr8cqqar.mjs +2 -0
- package/dist/chunks/cli-1.1.33-wfjtjsvq.mjs +6 -0
- package/dist/chunks/cli-1.1.33-wrdskpzf.mjs +2 -0
- package/dist/chunks/cli-1.1.33-wx8rtpc5.mjs +2 -0
- package/dist/chunks/cli-1.1.33-x6zgk4kb.mjs +2 -0
- package/dist/chunks/cli-1.1.33-xdqetcyr.mjs +2 -0
- package/dist/chunks/cli-1.1.33-xfawy00r.mjs +2 -0
- package/dist/chunks/cli-1.1.33-xt2ehzej.mjs +2 -0
- package/dist/chunks/cli-1.1.33-xyh0vcv7.mjs +2 -0
- package/dist/chunks/cli-1.1.33-yd2b6czv.mjs +2 -0
- package/dist/chunks/cli-1.1.33-yd4xhx6x.mjs +20 -0
- package/dist/chunks/cli-1.1.33-ypfa1t3b.mjs +2 -0
- package/dist/chunks/cli-1.1.33-yqqr1e67.mjs +2 -0
- package/dist/chunks/cli-1.1.33-yqxphe1x.mjs +2 -0
- package/dist/chunks/cli-1.1.33-yy53bmhe.mjs +2 -0
- package/dist/chunks/cli-1.1.33-yygdy86h.mjs +2 -0
- package/dist/chunks/cli-1.1.33-z5rv4tr3.mjs +3 -0
- package/dist/chunks/cli-1.1.33-z7fa1fgt.mjs +2 -0
- package/dist/chunks/cli-1.1.33-zqqj4d1f.mjs +2 -0
- package/dist/chunks/cli-1.1.33-zsk851wd.mjs +2 -0
- package/dist/chunks/client-1.1.33-qhf9zz8n.mjs +1 -0
- package/dist/chunks/color-1.1.33-q69y353w.mjs +1 -0
- package/dist/chunks/compact-1.1.33-5vxewt1w.mjs +2 -0
- package/dist/chunks/config-1.1.33-h6tzt18x.mjs +1 -0
- package/dist/chunks/config-1.1.33-m6rgj5rq.mjs +1 -0
- package/dist/chunks/constants-1.1.33-myvdtn6q.mjs +1 -0
- package/dist/chunks/context-1.1.33-pm79kmgf.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.33-6pd4by4q.mjs +1 -0
- package/dist/chunks/conversation-1.1.33-acjggjj2.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.33-s1k9b90v.mjs +1 -0
- package/dist/chunks/copy-1.1.33-yynkyja4.mjs +9 -0
- package/dist/chunks/cost-1.1.33-sjebbq22.mjs +1 -0
- package/dist/chunks/createSession-1.1.33-cw4pppsw.mjs +1 -0
- package/dist/chunks/debug-1.1.33-h1ep6bea.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.33-t1wa4x2g.mjs +1480 -0
- package/dist/chunks/desktop-1.1.33-cgj2ar5t.mjs +2 -0
- package/dist/chunks/detectRepository-1.1.33-5yfd53ae.mjs +1 -0
- package/dist/chunks/detection-1.1.33-dnyn9hs6.mjs +1 -0
- package/dist/chunks/diff-1.1.33-nf6wy43p.mjs +1 -0
- package/dist/chunks/doctor-1.1.33-58atgaxs.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.33-v3ht88pf.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.33-qff3qk4b.mjs +1 -0
- package/dist/chunks/effort-1.1.33-nf63b81y.mjs +13 -0
- package/dist/chunks/engine-1.1.33-bqcqevb5.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.33-1bfctzjp.mjs +1 -0
- package/dist/chunks/envUtils-1.1.33-1jg5pqx5.mjs +1 -0
- package/dist/chunks/errors-1.1.33-xdf8frps.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.33-br81c33d.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.33-mmyfbtpt.mjs +1 -0
- package/dist/chunks/exit-1.1.33-s8c549bt.mjs +1 -0
- package/dist/chunks/explorer-1.1.33-q2kc2yjm.mjs +1 -0
- package/dist/chunks/export-1.1.33-wzsrmyr9.mjs +2 -0
- package/dist/chunks/fast-1.1.33-hh2t95cz.mjs +1 -0
- package/dist/chunks/feedback-1.1.33-fhamzkxx.mjs +16 -0
- package/dist/chunks/git-1.1.33-nb9mf6gs.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.33-zzecd9we.mjs +1 -0
- package/dist/chunks/goal-1.1.33-6ptfsbeb.mjs +4 -0
- package/dist/chunks/headless-1.1.33-2ks3qpn2.mjs +2 -0
- package/dist/chunks/heapdump-1.1.33-48a71a5d.mjs +6 -0
- package/dist/chunks/help-1.1.33-65k2zqsp.mjs +1 -0
- package/dist/chunks/hooks-1.1.33-7zb4rp07.mjs +1 -0
- package/dist/chunks/hooks-1.1.33-87w55gzt.mjs +79 -0
- package/dist/chunks/ide-1.1.33-jpbj91cb.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.33-cb605b4s.mjs +1 -0
- package/dist/chunks/import-1.1.33-9vq41kwx.mjs +261 -0
- package/dist/chunks/inboundAttachments-1.1.33-pshb9f55.mjs +1 -0
- package/dist/chunks/index-1.1.33-0szd959f.mjs +9 -0
- package/dist/chunks/index-1.1.33-1cyg72cg.mjs +5 -0
- package/dist/chunks/index-1.1.33-20n0wyay.mjs +2 -0
- package/dist/chunks/index-1.1.33-37m0wr5f.mjs +1 -0
- package/dist/chunks/index-1.1.33-4e6weswv.mjs +2 -0
- package/dist/chunks/index-1.1.33-5at6jw86.mjs +9 -0
- package/dist/chunks/index-1.1.33-5bb2bqbt.mjs +1 -0
- package/dist/chunks/index-1.1.33-6r4xb4kw.mjs +1 -0
- package/dist/chunks/index-1.1.33-809kmg0e.mjs +1 -0
- package/dist/chunks/index-1.1.33-av56945n.mjs +1 -0
- package/dist/chunks/index-1.1.33-ayj1khn3.mjs +1 -0
- package/dist/chunks/index-1.1.33-d4h14a2g.mjs +1 -0
- package/dist/chunks/index-1.1.33-j01a41jn.mjs +1 -0
- package/dist/chunks/index-1.1.33-j3pffnmd.mjs +30 -0
- package/dist/chunks/index-1.1.33-nbb1jr6q.mjs +23 -0
- package/dist/chunks/index-1.1.33-pdret8nd.mjs +1 -0
- package/dist/chunks/index-1.1.33-px65xz19.mjs +1 -0
- package/dist/chunks/index-1.1.33-q02fr1yn.mjs +1 -0
- package/dist/chunks/index-1.1.33-qckmwfjb.mjs +1 -0
- package/dist/chunks/index-1.1.33-sj1fgs0b.mjs +1 -0
- package/dist/chunks/index-1.1.33-thfe8yxq.mjs +1 -0
- package/dist/chunks/index-1.1.33-vpdejaqk.mjs +1 -0
- package/dist/chunks/index-1.1.33-x6vn8g63.mjs +1 -0
- package/dist/chunks/init-1.1.33-8jzeqmrh.mjs +2 -0
- package/dist/chunks/initReplBridge-1.1.33-xhzad71d.mjs +1 -0
- package/dist/chunks/ink-1.1.33-8xkyvv5c.mjs +1 -0
- package/dist/chunks/insights-1.1.33-p2xfqqpr.mjs +870 -0
- package/dist/chunks/install-1.1.33-yddevjtj.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.33-3wksmje2.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.33-mgb365bd.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.33-ac7wkzh0.mjs +1 -0
- package/dist/chunks/keybindings-1.1.33-pwx8bd0q.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.33-fqw2q9w0.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.33-y4yydpcn.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.33-3rxrvf8b.mjs +1 -0
- package/dist/chunks/log-1.1.33-pqjf8wsv.mjs +1 -0
- package/dist/chunks/main-1.1.33-qvas86jh.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.33-67fc5dj7.mjs +1 -0
- package/dist/chunks/mcp-1.1.33-88w7d35a.mjs +1 -0
- package/dist/chunks/mcp-1.1.33-ewqaq0ms.mjs +4 -0
- package/dist/chunks/mcp-1.1.33-v74knj3c.mjs +17 -0
- package/dist/chunks/mcpb-1.1.33-dnjbpy7e.mjs +1 -0
- package/dist/chunks/memory-1.1.33-9qffk96q.mjs +128 -0
- package/dist/chunks/model-1.1.33-h0mjh5z8.mjs +1 -0
- package/dist/chunks/model-1.1.33-v4vqzg9w.mjs +2 -0
- package/dist/chunks/node-1.1.33-jm7rqpq8.mjs +1 -0
- package/dist/chunks/node-1.1.33-qg258pyx.mjs +15 -0
- package/dist/chunks/oauth-1.1.33-423q5vp6.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.33-dsp1wwgs.mjs +14 -0
- package/dist/chunks/output-style-1.1.33-ayj4863v.mjs +1 -0
- package/dist/chunks/package-F6O7J2XI-1.1.33-cwk2kcw8.mjs +1 -0
- package/dist/chunks/permissions-1.1.33-mtca1vka.mjs +1 -0
- package/dist/chunks/permissions-1.1.33-qk86j364.mjs +3 -0
- package/dist/chunks/plan-1.1.33-brttkasm.mjs +1 -0
- package/dist/chunks/plist-1.1.33-j08fwnf5.mjs +1 -0
- package/dist/chunks/plugin-1.1.33-ed5352d9.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.33-w1dcdv7e.mjs +1 -0
- package/dist/chunks/plugins-1.1.33-dz0szv60.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.33-cyss3q48.mjs +2 -0
- package/dist/chunks/print-1.1.33-0an9v6wm.mjs +57 -0
- package/dist/chunks/process-1.1.33-34nr1vvf.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.33-c3baefbs.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.33-7z1q5tgw.mjs +9 -0
- package/dist/chunks/prompt-1.1.33-a9nfj0nx.mjs +1 -0
- package/dist/chunks/prompt-1.1.33-t1x27qfd.mjs +1 -0
- package/dist/chunks/prompts-1.1.33-n8cpfrn6.mjs +1 -0
- package/dist/chunks/provider-1.1.33-s17k8dew.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.33-nabanrxj.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.33-45rfx8mk.mjs +6 -0
- package/dist/chunks/registerSubcommands-1.1.33-drbt7d0n.mjs +26 -0
- package/dist/chunks/registry-1.1.33-2rc0g3js.mjs +1 -0
- package/dist/chunks/release-notes-1.1.33-azfdj96s.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.33-22m52m4k.mjs +2 -0
- package/dist/chunks/remote-env-1.1.33-2zxh4gns.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.33-tvhbeebf.mjs +1 -0
- package/dist/chunks/rename-1.1.33-hh0a7vzm.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.33-17gj37pg.mjs +1 -0
- package/dist/chunks/resume-1.1.33-cxjpjtfg.mjs +2 -0
- package/dist/chunks/rewind-1.1.33-gwyc73ty.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.33-t9mmhhea.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.33-9e4hd973.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.33-ydzap1ky.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.33-vch1t63t.mjs +1 -0
- package/dist/chunks/session-1.1.33-aepc1jdx.mjs +2 -0
- package/dist/chunks/sessionStorage-1.1.33-170gteyg.mjs +1 -0
- package/dist/chunks/settings-1.1.33-16470dd7.mjs +1 -0
- package/dist/chunks/setup-1.1.33-nbfqv6x2.mjs +12 -0
- package/dist/chunks/sinks-1.1.33-8qav4btz.mjs +1 -0
- package/dist/chunks/skills-1.1.33-srydghps.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.33-a97fyetk.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.33-n5x93kr9.mjs +1 -0
- package/dist/chunks/state-1.1.33-yr57kw5b.mjs +1 -0
- package/dist/chunks/stats-1.1.33-py9web9f.mjs +1 -0
- package/dist/chunks/status-1.1.33-rstx4c0p.mjs +1 -0
- package/dist/chunks/stickers-1.1.33-bag4g2g6.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.33-k219nhcm.mjs +1 -0
- package/dist/chunks/tasks-1.1.33-170ayzks.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.33-d0etezah.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.33-wwj36vt2.mjs +1 -0
- package/dist/chunks/teleport-1.1.33-zvzb36mc.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.33-6btb4bdr.mjs +1 -0
- package/dist/chunks/theme-1.1.33-ht9yrvwn.mjs +1 -0
- package/dist/chunks/thinkback-1.1.33-kvaqf5ep.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.33-dfqez4t9.mjs +1 -0
- package/dist/chunks/toolPool-1.1.33-fsqgv07g.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.33-g3ha7h5f.mjs +1 -0
- package/dist/chunks/tools-1.1.33-6qn3rfzr.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.33-f5feh965.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.33-km66apwr.mjs +69 -0
- package/dist/chunks/types-1.1.33-bc49bs3y.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.33-byqccwrh.mjs +4 -0
- package/dist/chunks/update-1.1.33-hz986n0w.mjs +72 -0
- package/dist/chunks/upload-1.1.33-cc27f6xm.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.33-k5haaaqa.mjs +14 -0
- package/dist/chunks/usage-1.1.33-jspq6593.mjs +1 -0
- package/dist/chunks/util-1.1.33-8w7wsk2x.mjs +1 -0
- package/dist/chunks/utils-1.1.33-613tmzqb.mjs +1 -0
- package/dist/chunks/vim-1.1.33-gamhf412.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.33-w4q3ncxj.mjs +13 -0
- package/dist/chunks/wiki-1.1.33-qgzy0eh8.mjs +132 -0
- package/dist/chunks/workflows-1.1.33-82kzthpb.mjs +1 -0
- package/dist/chunks/worktree-1.1.33-7n8nkfht.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.33-qq22bj1e.mjs +1 -0
- package/dist/chunks/wrapper-1.1.33-qgpy796k.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/App-1.1.32-x0g3m6v6.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.32-8x1yxm2f.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.32-scm9btv0.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.32-wtcy84rn.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.32-y88y88zt.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.32-kzv0tbna.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.32-4cm0cwer.mjs +0 -6
- package/dist/chunks/Doctor-1.1.32-289yb4jj.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.32-5gjqvpvs.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.32-a8pwddd1.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.32-6qdrtdpr.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.32-hwzxtdsd.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.32-yytrpays.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.32-c5yyxz32.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.32-7q71086g.mjs +0 -1
- package/dist/chunks/REPL-1.1.32-yzppvfrk.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.32-rv15raev.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.32-n3bsegx5.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.32-68xgndte.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.32-zb4vkx03.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.32-q3c5nqks.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.32-3whrqawk.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.32-33mkg42t.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.32-9brew90d.mjs +0 -1
- package/dist/chunks/add-dir-1.1.32-8hkh1hcx.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.32-ph49ernt.mjs +0 -1
- package/dist/chunks/agents-1.1.32-6ajrxrdr.mjs +0 -110
- package/dist/chunks/agents-1.1.32-6gc09pk2.mjs +0 -3
- package/dist/chunks/api-1.1.32-8qx9q5eh.mjs +0 -1
- package/dist/chunks/asciicast-1.1.32-4knajfec.mjs +0 -1
- package/dist/chunks/auth-1.1.32-9xrd6x89.mjs +0 -1
- package/dist/chunks/auth-1.1.32-s83fshpf.mjs +0 -1
- package/dist/chunks/autoMode-1.1.32-e680w683.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.32-7m1d4dy7.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.32-hhg3dezv.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.32-8ddhae4q.mjs +0 -1
- package/dist/chunks/branch-1.1.32-xaq3pb3p.mjs +0 -4
- package/dist/chunks/bridge-1.1.32-ec6fc8kh.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.32-bse7ynz2.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.32-84ntyqxd.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.32-d20ebbde.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.32-40jwkts4.mjs +0 -1
- package/dist/chunks/btw-1.1.32-kg0w3tw2.mjs +0 -1
- package/dist/chunks/buddy-1.1.32-c53wp8x4.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.32-a9jc0rn9.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.32-bh9jpngp.mjs +0 -4
- package/dist/chunks/caches-1.1.32-va3h1efn.mjs +0 -1
- package/dist/chunks/cd-1.1.32-yar6t6sg.mjs +0 -3
- package/dist/chunks/claudeDesktop-1.1.32-xjcschxc.mjs +0 -1
- package/dist/chunks/claudemd-1.1.32-kb9tec8y.mjs +0 -1
- package/dist/chunks/clear-1.1.32-ywfd1kha.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.32-x7tbxm3w.mjs +0 -1
- package/dist/chunks/cli-1.1.32-06xv4rmw.mjs +0 -2
- package/dist/chunks/cli-1.1.32-0pmhmsew.mjs +0 -42
- package/dist/chunks/cli-1.1.32-1913x5jp.mjs +0 -15
- package/dist/chunks/cli-1.1.32-1c9z2mtv.mjs +0 -2
- package/dist/chunks/cli-1.1.32-1cp8vbtp.mjs +0 -9
- package/dist/chunks/cli-1.1.32-1rackf2c.mjs +0 -4
- package/dist/chunks/cli-1.1.32-1rprka6j.mjs +0 -2
- package/dist/chunks/cli-1.1.32-1t75hwdn.mjs +0 -2
- package/dist/chunks/cli-1.1.32-1yrmnphh.mjs +0 -2
- package/dist/chunks/cli-1.1.32-260jjrwt.mjs +0 -6
- package/dist/chunks/cli-1.1.32-26474ywa.mjs +0 -2
- package/dist/chunks/cli-1.1.32-28vx0a5m.mjs +0 -2
- package/dist/chunks/cli-1.1.32-28x0bz68.mjs +0 -2
- package/dist/chunks/cli-1.1.32-2k074m5f.mjs +0 -2
- package/dist/chunks/cli-1.1.32-2kd689v0.mjs +0 -2
- package/dist/chunks/cli-1.1.32-2m68a9w2.mjs +0 -2
- package/dist/chunks/cli-1.1.32-2tyhwqjh.mjs +0 -10
- package/dist/chunks/cli-1.1.32-2wcdy0zp.mjs +0 -17
- package/dist/chunks/cli-1.1.32-2x7x44mg.mjs +0 -2
- package/dist/chunks/cli-1.1.32-336t9pmv.mjs +0 -2
- package/dist/chunks/cli-1.1.32-33jnyekk.mjs +0 -2
- package/dist/chunks/cli-1.1.32-36t0985q.mjs +0 -21
- package/dist/chunks/cli-1.1.32-3gbh5q5w.mjs +0 -2
- package/dist/chunks/cli-1.1.32-3z4a0eqz.mjs +0 -3
- package/dist/chunks/cli-1.1.32-41xx49ta.mjs +0 -2
- package/dist/chunks/cli-1.1.32-46wadmxk.mjs +0 -2
- package/dist/chunks/cli-1.1.32-49sdmvtj.mjs +0 -25
- package/dist/chunks/cli-1.1.32-4ekmdczr.mjs +0 -25
- package/dist/chunks/cli-1.1.32-4ft4m446.mjs +0 -2
- package/dist/chunks/cli-1.1.32-4rsr6phf.mjs +0 -2
- package/dist/chunks/cli-1.1.32-4vdyqkkd.mjs +0 -2
- package/dist/chunks/cli-1.1.32-4yat84kg.mjs +0 -2
- package/dist/chunks/cli-1.1.32-5a158c45.mjs +0 -2
- package/dist/chunks/cli-1.1.32-5c5dcwk6.mjs +0 -2
- package/dist/chunks/cli-1.1.32-5cngr1kn.mjs +0 -2
- package/dist/chunks/cli-1.1.32-5dq711bj.mjs +0 -2
- package/dist/chunks/cli-1.1.32-5j5n166h.mjs +0 -2
- package/dist/chunks/cli-1.1.32-5qjjtpkh.mjs +0 -133
- package/dist/chunks/cli-1.1.32-5qwps3ts.mjs +0 -2
- package/dist/chunks/cli-1.1.32-5v0afeqw.mjs +0 -2
- package/dist/chunks/cli-1.1.32-5xmh2b7j.mjs +0 -2
- package/dist/chunks/cli-1.1.32-60pc6r2s.mjs +0 -2
- package/dist/chunks/cli-1.1.32-6317frxz.mjs +0 -2
- package/dist/chunks/cli-1.1.32-65c5zdmx.mjs +0 -2
- package/dist/chunks/cli-1.1.32-6f9r9qcb.mjs +0 -2
- package/dist/chunks/cli-1.1.32-6jbgafh2.mjs +0 -2
- package/dist/chunks/cli-1.1.32-6jhkp60n.mjs +0 -2
- package/dist/chunks/cli-1.1.32-6jxftegx.mjs +0 -6
- package/dist/chunks/cli-1.1.32-7566j53x.mjs +0 -2
- package/dist/chunks/cli-1.1.32-76wfpwbd.mjs +0 -2
- package/dist/chunks/cli-1.1.32-7zp3b6gq.mjs +0 -2
- package/dist/chunks/cli-1.1.32-8b5ej63w.mjs +0 -2
- package/dist/chunks/cli-1.1.32-8hsb6vgz.mjs +0 -2
- package/dist/chunks/cli-1.1.32-8jkgzjh4.mjs +0 -5
- package/dist/chunks/cli-1.1.32-8t8t42xx.mjs +0 -2
- package/dist/chunks/cli-1.1.32-8yc37yqa.mjs +0 -34
- package/dist/chunks/cli-1.1.32-97e0qadj.mjs +0 -2
- package/dist/chunks/cli-1.1.32-9c0an85r.mjs +0 -2
- package/dist/chunks/cli-1.1.32-9fe7efg9.mjs +0 -2
- package/dist/chunks/cli-1.1.32-9jxkev29.mjs +0 -2
- package/dist/chunks/cli-1.1.32-9wsnkggz.mjs +0 -11
- package/dist/chunks/cli-1.1.32-9yka8m9x.mjs +0 -5490
- package/dist/chunks/cli-1.1.32-a3dfp7ps.mjs +0 -12
- package/dist/chunks/cli-1.1.32-acgh1gj8.mjs +0 -2
- package/dist/chunks/cli-1.1.32-ajhvj43e.mjs +0 -2
- package/dist/chunks/cli-1.1.32-aqfcrtfz.mjs +0 -5
- package/dist/chunks/cli-1.1.32-aysp26sz.mjs +0 -45
- package/dist/chunks/cli-1.1.32-b1bbb8eb.mjs +0 -7
- package/dist/chunks/cli-1.1.32-b3hsysf6.mjs +0 -2
- package/dist/chunks/cli-1.1.32-b4dgaz0a.mjs +0 -2
- package/dist/chunks/cli-1.1.32-bce46tmm.mjs +0 -2
- package/dist/chunks/cli-1.1.32-bnam9df8.mjs +0 -2
- package/dist/chunks/cli-1.1.32-bt4yfsm7.mjs +0 -2
- package/dist/chunks/cli-1.1.32-c4v8081j.mjs +0 -2
- package/dist/chunks/cli-1.1.32-c6n1kre3.mjs +0 -2
- package/dist/chunks/cli-1.1.32-c7ypbb63.mjs +0 -2
- package/dist/chunks/cli-1.1.32-cpzgn83z.mjs +0 -2
- package/dist/chunks/cli-1.1.32-cx7ygksc.mjs +0 -2
- package/dist/chunks/cli-1.1.32-czrfbd3q.mjs +0 -2
- package/dist/chunks/cli-1.1.32-d47cvy98.mjs +0 -2
- package/dist/chunks/cli-1.1.32-dkyyv5mx.mjs +0 -2
- package/dist/chunks/cli-1.1.32-dp2kpscr.mjs +0 -2
- package/dist/chunks/cli-1.1.32-dtd3vpkv.mjs +0 -2
- package/dist/chunks/cli-1.1.32-e1btgk5y.mjs +0 -4
- package/dist/chunks/cli-1.1.32-e96q5k17.mjs +0 -2
- package/dist/chunks/cli-1.1.32-ebg7m8yz.mjs +0 -2
- package/dist/chunks/cli-1.1.32-ehg64cg0.mjs +0 -2
- package/dist/chunks/cli-1.1.32-erw03mnm.mjs +0 -2
- package/dist/chunks/cli-1.1.32-f3895pf8.mjs +0 -2
- package/dist/chunks/cli-1.1.32-fhzs65yw.mjs +0 -2
- package/dist/chunks/cli-1.1.32-fjz81t0j.mjs +0 -2
- package/dist/chunks/cli-1.1.32-fr30sgy9.mjs +0 -2
- package/dist/chunks/cli-1.1.32-fzepmkcj.mjs +0 -2
- package/dist/chunks/cli-1.1.32-g5dzf2w1.mjs +0 -24
- package/dist/chunks/cli-1.1.32-gg7yn5bt.mjs +0 -8
- package/dist/chunks/cli-1.1.32-gpq33yz0.mjs +0 -2
- package/dist/chunks/cli-1.1.32-gqbeasga.mjs +0 -2
- package/dist/chunks/cli-1.1.32-gvv8h6dg.mjs +0 -18
- package/dist/chunks/cli-1.1.32-gwf0a8ej.mjs +0 -2
- package/dist/chunks/cli-1.1.32-h23ch6fy.mjs +0 -2
- package/dist/chunks/cli-1.1.32-h4tpddgz.mjs +0 -4
- package/dist/chunks/cli-1.1.32-h7cb9f8y.mjs +0 -2
- package/dist/chunks/cli-1.1.32-hbwke9cs.mjs +0 -2
- package/dist/chunks/cli-1.1.32-hgjgfp8p.mjs +0 -60
- package/dist/chunks/cli-1.1.32-hhd65der.mjs +0 -2
- package/dist/chunks/cli-1.1.32-hzn2mba8.mjs +0 -3
- package/dist/chunks/cli-1.1.32-j31v1t7y.mjs +0 -15
- package/dist/chunks/cli-1.1.32-jatnsd1n.mjs +0 -2
- package/dist/chunks/cli-1.1.32-jjanec91.mjs +0 -2
- package/dist/chunks/cli-1.1.32-jnrsn4v0.mjs +0 -2
- package/dist/chunks/cli-1.1.32-jqhfcb0t.mjs +0 -2
- package/dist/chunks/cli-1.1.32-jt6w5mqv.mjs +0 -2
- package/dist/chunks/cli-1.1.32-k5d30qej.mjs +0 -3
- package/dist/chunks/cli-1.1.32-k9zkw4st.mjs +0 -2
- package/dist/chunks/cli-1.1.32-kn0zs89y.mjs +0 -63
- package/dist/chunks/cli-1.1.32-kqkbjp3x.mjs +0 -4
- package/dist/chunks/cli-1.1.32-m7dxkbpn.mjs +0 -2
- package/dist/chunks/cli-1.1.32-m9c0pceb.mjs +0 -3
- package/dist/chunks/cli-1.1.32-m9p4pd60.mjs +0 -2
- package/dist/chunks/cli-1.1.32-merqy9t2.mjs +0 -2
- package/dist/chunks/cli-1.1.32-mrftpsrs.mjs +0 -15
- package/dist/chunks/cli-1.1.32-n3smn7a4.mjs +0 -2
- package/dist/chunks/cli-1.1.32-n6rpvpf2.mjs +0 -2
- package/dist/chunks/cli-1.1.32-n7cyeje8.mjs +0 -2
- package/dist/chunks/cli-1.1.32-n9vdkdfk.mjs +0 -2
- package/dist/chunks/cli-1.1.32-nmcy47z7.mjs +0 -4
- package/dist/chunks/cli-1.1.32-nt9eqa35.mjs +0 -2
- package/dist/chunks/cli-1.1.32-p70gsyp3.mjs +0 -2
- package/dist/chunks/cli-1.1.32-pe6kmf9g.mjs +0 -3
- package/dist/chunks/cli-1.1.32-pfhbrjhs.mjs +0 -20
- package/dist/chunks/cli-1.1.32-pfwbgg79.mjs +0 -2
- package/dist/chunks/cli-1.1.32-pm7ctgdf.mjs +0 -7
- package/dist/chunks/cli-1.1.32-pve0ffcp.mjs +0 -203
- package/dist/chunks/cli-1.1.32-pwvfjtva.mjs +0 -2
- package/dist/chunks/cli-1.1.32-px6268dx.mjs +0 -2
- package/dist/chunks/cli-1.1.32-px93hhj4.mjs +0 -3
- package/dist/chunks/cli-1.1.32-qmgvm9rq.mjs +0 -2
- package/dist/chunks/cli-1.1.32-qvx7w9wm.mjs +0 -2
- package/dist/chunks/cli-1.1.32-qzjfn21e.mjs +0 -3
- package/dist/chunks/cli-1.1.32-r5ww85n4.mjs +0 -6
- package/dist/chunks/cli-1.1.32-r6g8b118.mjs +0 -5
- package/dist/chunks/cli-1.1.32-r7020tw8.mjs +0 -4
- package/dist/chunks/cli-1.1.32-rbvnjjkt.mjs +0 -2
- package/dist/chunks/cli-1.1.32-rmz4ezae.mjs +0 -3
- package/dist/chunks/cli-1.1.32-rswqkymv.mjs +0 -133
- package/dist/chunks/cli-1.1.32-s2kkv51h.mjs +0 -2
- package/dist/chunks/cli-1.1.32-s4betse1.mjs +0 -2
- package/dist/chunks/cli-1.1.32-sqsxnqqb.mjs +0 -2
- package/dist/chunks/cli-1.1.32-t1n0b84g.mjs +0 -2
- package/dist/chunks/cli-1.1.32-tgr1e1hd.mjs +0 -2
- package/dist/chunks/cli-1.1.32-th2r4378.mjs +0 -9
- package/dist/chunks/cli-1.1.32-thsw9p6n.mjs +0 -2
- package/dist/chunks/cli-1.1.32-tp4tyjy3.mjs +0 -2
- package/dist/chunks/cli-1.1.32-tq108hv4.mjs +0 -2
- package/dist/chunks/cli-1.1.32-tzn98f6r.mjs +0 -24
- package/dist/chunks/cli-1.1.32-v3cks7qj.mjs +0 -6
- package/dist/chunks/cli-1.1.32-v4chz2b0.mjs +0 -2
- package/dist/chunks/cli-1.1.32-vdezbpdh.mjs +0 -2
- package/dist/chunks/cli-1.1.32-vf3r8a91.mjs +0 -16
- package/dist/chunks/cli-1.1.32-vmr6f229.mjs +0 -2
- package/dist/chunks/cli-1.1.32-vnhzy4jx.mjs +0 -2
- package/dist/chunks/cli-1.1.32-vtzwmjs8.mjs +0 -3
- package/dist/chunks/cli-1.1.32-vy2ngm3p.mjs +0 -2
- package/dist/chunks/cli-1.1.32-w2b0neg3.mjs +0 -4
- package/dist/chunks/cli-1.1.32-wnhqapmf.mjs +0 -24
- package/dist/chunks/cli-1.1.32-wsqyehdw.mjs +0 -2
- package/dist/chunks/cli-1.1.32-wyv15h7a.mjs +0 -6
- package/dist/chunks/cli-1.1.32-x0crp5g9.mjs +0 -2
- package/dist/chunks/cli-1.1.32-x23z7923.mjs +0 -2
- package/dist/chunks/cli-1.1.32-x8j1spnv.mjs +0 -2
- package/dist/chunks/cli-1.1.32-xfhe1m2y.mjs +0 -2
- package/dist/chunks/cli-1.1.32-xj2e8mzf.mjs +0 -2
- package/dist/chunks/cli-1.1.32-xy1pvy12.mjs +0 -2
- package/dist/chunks/cli-1.1.32-y4agg2c2.mjs +0 -17
- package/dist/chunks/cli-1.1.32-ycyg88ky.mjs +0 -2
- package/dist/chunks/cli-1.1.32-ydbtpc9v.mjs +0 -12
- package/dist/chunks/cli-1.1.32-yfs9ppge.mjs +0 -2
- package/dist/chunks/cli-1.1.32-yhftam6y.mjs +0 -50
- package/dist/chunks/cli-1.1.32-yhzhm57s.mjs +0 -2
- package/dist/chunks/cli-1.1.32-yq68bsa5.mjs +0 -2
- package/dist/chunks/cli-1.1.32-yv0wyp2m.mjs +0 -2
- package/dist/chunks/cli-1.1.32-yv9hzzq7.mjs +0 -2
- package/dist/chunks/cli-1.1.32-yw64r19c.mjs +0 -2
- package/dist/chunks/cli-1.1.32-z7x4jfeb.mjs +0 -4
- package/dist/chunks/cli-1.1.32-zegecv6e.mjs +0 -2
- package/dist/chunks/cli-1.1.32-zeyasrw5.mjs +0 -2
- package/dist/chunks/cli-1.1.32-zfyd4kyq.mjs +0 -2
- package/dist/chunks/cli-1.1.32-zfzqc12y.mjs +0 -26
- package/dist/chunks/cli-1.1.32-zkq2v1fz.mjs +0 -2
- package/dist/chunks/cli-1.1.32-zqtqvc9y.mjs +0 -3
- package/dist/chunks/cli-1.1.32-zr4x17ne.mjs +0 -3
- package/dist/chunks/cli-1.1.32-zraeg1n2.mjs +0 -2
- package/dist/chunks/cli-1.1.32-zrxqe296.mjs +0 -7
- package/dist/chunks/cli-1.1.32-zv1p3q66.mjs +0 -2
- package/dist/chunks/cli-1.1.32-zwetcrr2.mjs +0 -39
- package/dist/chunks/client-1.1.32-y4ehgz03.mjs +0 -1
- package/dist/chunks/color-1.1.32-an3gq6pv.mjs +0 -1
- package/dist/chunks/compact-1.1.32-kp67c5pn.mjs +0 -2
- package/dist/chunks/config-1.1.32-9kqd30ca.mjs +0 -1
- package/dist/chunks/config-1.1.32-chryg3ab.mjs +0 -1
- package/dist/chunks/constants-1.1.32-azab2vra.mjs +0 -1
- package/dist/chunks/context-1.1.32-t6yf3tch.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.32-tbes3yx4.mjs +0 -1
- package/dist/chunks/conversation-1.1.32-edtsb1fp.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.32-cxjr3qqd.mjs +0 -1
- package/dist/chunks/copy-1.1.32-2yk1zben.mjs +0 -9
- package/dist/chunks/cost-1.1.32-ykkmca1s.mjs +0 -1
- package/dist/chunks/createSession-1.1.32-pky6wawr.mjs +0 -1
- package/dist/chunks/debug-1.1.32-f8fanjpw.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.32-nf0mf9nq.mjs +0 -1480
- package/dist/chunks/desktop-1.1.32-h4q834kk.mjs +0 -2
- package/dist/chunks/detectRepository-1.1.32-y3wjkn3b.mjs +0 -1
- package/dist/chunks/detection-1.1.32-13rzk2y0.mjs +0 -1
- package/dist/chunks/diff-1.1.32-tsgcxd5v.mjs +0 -1
- package/dist/chunks/doctor-1.1.32-dg4q70ty.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.32-xpjhp8fe.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.32-rzjwc8xb.mjs +0 -1
- package/dist/chunks/effort-1.1.32-76tc9ft4.mjs +0 -13
- package/dist/chunks/engine-1.1.32-qp8px0cr.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.32-mamfyksw.mjs +0 -1
- package/dist/chunks/envUtils-1.1.32-x5ddw5jb.mjs +0 -1
- package/dist/chunks/errors-1.1.32-pw0ngznd.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.32-j9bvstfq.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.32-ah9wga16.mjs +0 -1
- package/dist/chunks/exit-1.1.32-4j8q9ztw.mjs +0 -1
- package/dist/chunks/explorer-1.1.32-dabb8sse.mjs +0 -1
- package/dist/chunks/export-1.1.32-zt3yhqen.mjs +0 -2
- package/dist/chunks/fast-1.1.32-cms216af.mjs +0 -1
- package/dist/chunks/feedback-1.1.32-r94c0y57.mjs +0 -16
- package/dist/chunks/git-1.1.32-9xc0s3ry.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.32-r5xq7s7y.mjs +0 -1
- package/dist/chunks/goal-1.1.32-bkjq4858.mjs +0 -4
- package/dist/chunks/headless-1.1.32-ae4d3qgy.mjs +0 -2
- package/dist/chunks/heapdump-1.1.32-jdrsrqfx.mjs +0 -6
- package/dist/chunks/help-1.1.32-5z54ce4t.mjs +0 -1
- package/dist/chunks/hooks-1.1.32-2mse496x.mjs +0 -1
- package/dist/chunks/hooks-1.1.32-jv66gnpt.mjs +0 -79
- package/dist/chunks/ide-1.1.32-tx45prsy.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.32-bwdr4dza.mjs +0 -1
- package/dist/chunks/import-1.1.32-7w75n01b.mjs +0 -261
- package/dist/chunks/inboundAttachments-1.1.32-1vfz9rkn.mjs +0 -1
- package/dist/chunks/index-1.1.32-3wzxvtbf.mjs +0 -1
- package/dist/chunks/index-1.1.32-49p9ghn6.mjs +0 -1
- package/dist/chunks/index-1.1.32-7ttnyjb3.mjs +0 -2
- package/dist/chunks/index-1.1.32-aqkr7bx2.mjs +0 -9
- package/dist/chunks/index-1.1.32-az0sxjjn.mjs +0 -5
- package/dist/chunks/index-1.1.32-b4rwnxe8.mjs +0 -1
- package/dist/chunks/index-1.1.32-bpzdp87c.mjs +0 -23
- package/dist/chunks/index-1.1.32-c3gnrfg0.mjs +0 -1
- package/dist/chunks/index-1.1.32-cjq261cn.mjs +0 -9
- package/dist/chunks/index-1.1.32-crx2adff.mjs +0 -1
- package/dist/chunks/index-1.1.32-dn9thxs1.mjs +0 -30
- package/dist/chunks/index-1.1.32-fwm6yqt6.mjs +0 -1
- package/dist/chunks/index-1.1.32-g58gm84f.mjs +0 -1
- package/dist/chunks/index-1.1.32-g9e9ne9q.mjs +0 -1
- package/dist/chunks/index-1.1.32-m694vs1n.mjs +0 -1
- package/dist/chunks/index-1.1.32-rbv0wt7t.mjs +0 -1
- package/dist/chunks/index-1.1.32-revsqy4q.mjs +0 -1
- package/dist/chunks/index-1.1.32-t011v5cn.mjs +0 -1
- package/dist/chunks/index-1.1.32-tv85kbw0.mjs +0 -1
- package/dist/chunks/index-1.1.32-v09n34s4.mjs +0 -1
- package/dist/chunks/index-1.1.32-vaknvmtk.mjs +0 -2
- package/dist/chunks/index-1.1.32-vxn4pvkx.mjs +0 -1
- package/dist/chunks/index-1.1.32-zep1vry1.mjs +0 -1
- package/dist/chunks/init-1.1.32-xac664gq.mjs +0 -2
- package/dist/chunks/initReplBridge-1.1.32-d1g5bqts.mjs +0 -1
- package/dist/chunks/ink-1.1.32-brepbf1s.mjs +0 -1
- package/dist/chunks/insights-1.1.32-ccteb3zt.mjs +0 -870
- package/dist/chunks/install-1.1.32-xhcj1s97.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.32-2rb2b8y2.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.32-7e22rmh8.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.32-tw81dggb.mjs +0 -1
- package/dist/chunks/keybindings-1.1.32-bsjftmx2.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.32-ecgj54va.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.32-9c4e13wb.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.32-qb96n0p6.mjs +0 -1
- package/dist/chunks/log-1.1.32-0wdbtf8k.mjs +0 -1
- package/dist/chunks/main-1.1.32-9s7gbk2b.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.32-8aapabn1.mjs +0 -1
- package/dist/chunks/mcp-1.1.32-2ct5ytwv.mjs +0 -1
- package/dist/chunks/mcp-1.1.32-42npdfwc.mjs +0 -17
- package/dist/chunks/mcp-1.1.32-8c3f7gfy.mjs +0 -4
- package/dist/chunks/mcpb-1.1.32-482tejv1.mjs +0 -1
- package/dist/chunks/memory-1.1.32-jrnzabfj.mjs +0 -77
- package/dist/chunks/model-1.1.32-wjtssjq7.mjs +0 -1
- package/dist/chunks/model-1.1.32-z7v5ah7s.mjs +0 -2
- package/dist/chunks/node-1.1.32-bgrnv9d0.mjs +0 -15
- package/dist/chunks/node-1.1.32-pek9xbcv.mjs +0 -1
- package/dist/chunks/oauth-1.1.32-b01rfrnw.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.32-68nafznt.mjs +0 -14
- package/dist/chunks/output-style-1.1.32-se3pq9dn.mjs +0 -1
- package/dist/chunks/package-D2QZMRW7-1.1.32-jykb9rfa.mjs +0 -1
- package/dist/chunks/permissions-1.1.32-r62vjas0.mjs +0 -3
- package/dist/chunks/permissions-1.1.32-v83ds1fq.mjs +0 -1
- package/dist/chunks/plan-1.1.32-remxpgv3.mjs +0 -1
- package/dist/chunks/plist-1.1.32-y2bh274p.mjs +0 -1
- package/dist/chunks/plugin-1.1.32-h9pgs6zn.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.32-vyn1sara.mjs +0 -1
- package/dist/chunks/plugins-1.1.32-wxz7p0xc.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.32-259wvsmh.mjs +0 -2
- package/dist/chunks/print-1.1.32-k37wv4h9.mjs +0 -57
- package/dist/chunks/process-1.1.32-tya6ctch.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.32-hfk6nzmr.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.32-ga3g4qev.mjs +0 -9
- package/dist/chunks/prompt-1.1.32-crsv325t.mjs +0 -1
- package/dist/chunks/prompt-1.1.32-jyfkevpw.mjs +0 -1
- package/dist/chunks/prompts-1.1.32-mythhsq2.mjs +0 -1
- package/dist/chunks/provider-1.1.32-c16c25q6.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.32-gv05d26p.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.32-srfcyanm.mjs +0 -6
- package/dist/chunks/registerSubcommands-1.1.32-af1r42j6.mjs +0 -26
- package/dist/chunks/registry-1.1.32-nvr3xen5.mjs +0 -1
- package/dist/chunks/release-notes-1.1.32-gtntbc84.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.32-qmx4b0zf.mjs +0 -2
- package/dist/chunks/remote-env-1.1.32-srz0skx2.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.32-17erfh69.mjs +0 -1
- package/dist/chunks/rename-1.1.32-yww8w15q.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.32-carhn5x3.mjs +0 -1
- package/dist/chunks/resume-1.1.32-y7g779fj.mjs +0 -2
- package/dist/chunks/rewind-1.1.32-xktcmbbk.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.32-q7914mqe.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.32-yr1peyj2.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.32-kct2shfd.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.32-wa7kgd6b.mjs +0 -1
- package/dist/chunks/session-1.1.32-07pqmcyz.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-1.1.32-1ekf9af3.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.32-vcm53ywe.mjs +0 -1
- package/dist/chunks/settings-1.1.32-kwtz4r22.mjs +0 -1
- package/dist/chunks/setup-1.1.32-695k1eyn.mjs +0 -12
- package/dist/chunks/sinks-1.1.32-3eh8hb97.mjs +0 -1
- package/dist/chunks/skills-1.1.32-ymdek4dt.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.32-sxxmxavv.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.32-25e14c0p.mjs +0 -1
- package/dist/chunks/state-1.1.32-q2y7dv84.mjs +0 -1
- package/dist/chunks/stats-1.1.32-p79st2jy.mjs +0 -1
- package/dist/chunks/status-1.1.32-wsaad3gy.mjs +0 -1
- package/dist/chunks/stickers-1.1.32-erbhpqdc.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.32-29m5mf2s.mjs +0 -1
- package/dist/chunks/tasks-1.1.32-fv2ze8ev.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.32-b2x5nsht.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.32-w65af42z.mjs +0 -1
- package/dist/chunks/teleport-1.1.32-6d4336gw.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.32-t82mfgh5.mjs +0 -1
- package/dist/chunks/theme-1.1.32-7qn5nf2j.mjs +0 -1
- package/dist/chunks/thinkback-1.1.32-awsxj77a.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.32-jz9fjb47.mjs +0 -1
- package/dist/chunks/toolPool-1.1.32-fjydq0km.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.32-y8vfsj9n.mjs +0 -1
- package/dist/chunks/tools-1.1.32-pd8bskwj.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.32-891wyppj.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.32-nsrwegv6.mjs +0 -69
- package/dist/chunks/types-1.1.32-v6b8jgxx.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.32-wkj4mpew.mjs +0 -4
- package/dist/chunks/update-1.1.32-zz1tgpba.mjs +0 -72
- package/dist/chunks/upload-1.1.32-43gcqyx2.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.32-nqwkbma5.mjs +0 -14
- package/dist/chunks/usage-1.1.32-80bkg4qd.mjs +0 -1
- package/dist/chunks/util-1.1.32-c7zmr7sf.mjs +0 -1
- package/dist/chunks/utils-1.1.32-x2mf8n7e.mjs +0 -1
- package/dist/chunks/vim-1.1.32-mz41whem.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.32-yftqp4h6.mjs +0 -13
- package/dist/chunks/watcher-1.1.32-jy13qnvt.mjs +0 -1
- package/dist/chunks/wiki-1.1.32-z6ngme51.mjs +0 -132
- package/dist/chunks/workflows-1.1.32-mpyvb578.mjs +0 -1
- package/dist/chunks/worktree-1.1.32-qxw9fxfk.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.32-w3d8pgmt.mjs +0 -1
- package/dist/chunks/wrapper-1.1.32-5xty3sv5.mjs +0 -7
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{cO as C,fO as X}from"./cli-1.1.33-vgynvhys.mjs";import{T1 as W}from"./cli-1.1.33-czrp8ff2.mjs";import{W3 as I,f4 as J,m4 as V}from"./cli-1.1.33-525zf497.mjs";import{L_ as H,M_ as T}from"./cli-1.1.33-20v60hvd.mjs";import{pqa as P,tqa as Q}from"./cli-1.1.33-cfj1bzen.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
|
|
2
|
+
export{v as tc,Y as uc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{HX as K,mY as k,tW as Z}from"./cli-1.1.33-9zba2a1d.mjs";import{R1 as J,S1 as H}from"./cli-1.1.33-h27b2an0.mjs";import{v9 as v,w9 as Y}from"./cli-1.1.33-20v60hvd.mjs";import{pqa as V,tqa as X}from"./cli-1.1.33-cfj1bzen.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
|
|
2
|
+
export{N as wh,C as xh};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{tqa as z}from"./cli-1.1.33-cfj1bzen.mjs";var K$,U$,F$=(_)=>typeof _==="string"?{...U$,name:_}:{...U$,..._};var S_=z(()=>{K$=Symbol("Let zodToJsonSchema decide on which parser to use"),U$={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"}});var O,f$,B,T=(_)=>{switch(typeof _){case"undefined":return B.undefined;case"string":return B.string;case"number":return Number.isNaN(_)?B.nan:B.number;case"boolean":return B.boolean;case"function":return B.function;case"bigint":return B.bigint;case"symbol":return B.symbol;case"object":if(Array.isArray(_))return B.array;if(_===null)return B.null;if(_.then&&typeof _.then==="function"&&_.catch&&typeof _.catch==="function")return B.promise;if(typeof Map<"u"&&_ instanceof Map)return B.map;if(typeof Set<"u"&&_ instanceof Set)return B.set;if(typeof Date<"u"&&_ instanceof Date)return B.date;return B.object;default:return B.unknown}};var __=z(()=>{(function(_){_.assertEqual=(W)=>{};function $(W){}_.assertIs=$;function q(W){throw Error()}_.assertNever=q,_.arrayToEnum=(W)=>{let X={};for(let H of W)X[H]=H;return X},_.getValidEnumValues=(W)=>{let X=_.objectKeys(W).filter((Y)=>typeof W[W[Y]]!=="number"),H={};for(let Y of X)H[Y]=W[Y];return _.objectValues(H)},_.objectValues=(W)=>{return _.objectKeys(W).map(function(X){return W[X]})},_.objectKeys=typeof Object.keys==="function"?(W)=>Object.keys(W):(W)=>{let X=[];for(let H in W)if(Object.prototype.hasOwnProperty.call(W,H))X.push(H);return X},_.find=(W,X)=>{for(let H of W)if(X(H))return H;return},_.isInteger=typeof Number.isInteger==="function"?(W)=>Number.isInteger(W):(W)=>typeof W==="number"&&Number.isFinite(W)&&Math.floor(W)===W;function J(W,X=" | "){return W.map((H)=>typeof H==="string"?`'${H}'`:H).join(X)}_.joinValues=J,_.jsonStringifyReplacer=(W,X)=>{if(typeof X==="bigint")return X.toString();return X}})(O||(O={}));(function(_){_.mergeShapes=($,q)=>{return{...$,...q}}})(f$||(f$={}));B=O.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"])});var G,f;var v_=z(()=>{__();G=O.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);f=class f extends Error{get errors(){return this.issues}constructor(_){super();this.issues=[],this.addIssue=(q)=>{this.issues=[...this.issues,q]},this.addIssues=(q=[])=>{this.issues=[...this.issues,...q]};let $=new.target.prototype;if(Object.setPrototypeOf)Object.setPrototypeOf(this,$);else this.__proto__=$;this.name="ZodError",this.issues=_}format(_){let $=_||function(W){return W.message},q={_errors:[]},J=(W)=>{for(let X of W.issues)if(X.code==="invalid_union")X.unionErrors.map(J);else if(X.code==="invalid_return_type")J(X.returnTypeError);else if(X.code==="invalid_arguments")J(X.argumentsError);else if(X.path.length===0)q._errors.push($(X));else{let H=q,Y=0;while(Y<X.path.length){let Q=X.path[Y],b=Y===X.path.length-1;if(Q==="_errors"){if(b)H._errors.push($(X));Y++;continue}if(!Object.prototype.hasOwnProperty.call(H,Q))if(Q==="__proto__")Object.defineProperty(H,Q,{value:{_errors:[]},writable:!0,enumerable:!0,configurable:!0});else H[Q]={_errors:[]};if(H=H[Q],b)H._errors.push($(X));Y++}}};return J(this),q}static assert(_){if(!(_ instanceof f))throw Error(`Not a ZodError: ${_}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,O.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(_=($)=>$.message){let $=Object.create(null),q=[];for(let J of this.issues)if(J.path.length>0){let W=J.path[0];$[W]=$[W]||[],$[W].push(_(J))}else q.push(_(J));return{formErrors:q,fieldErrors:$}}get formErrors(){return this.flatten()}};f.create=(_)=>{return new f(_)}});var bq=(_,$)=>{let q;switch(_.code){case G.invalid_type:if(_.received===B.undefined)q="Required";else q=`Expected ${_.expected}, received ${_.received}`;break;case G.invalid_literal:q=`Invalid literal value, expected ${JSON.stringify(_.expected,O.jsonStringifyReplacer)}`;break;case G.unrecognized_keys:q=`Unrecognized key(s) in object: ${O.joinValues(_.keys,", ")}`;break;case G.invalid_union:q="Invalid input";break;case G.invalid_union_discriminator:q=`Invalid discriminator value. Expected ${O.joinValues(_.options)}`;break;case G.invalid_enum_value:q=`Invalid enum value. Expected ${O.joinValues(_.options)}, received '${_.received}'`;break;case G.invalid_arguments:q="Invalid function arguments";break;case G.invalid_return_type:q="Invalid function return type";break;case G.invalid_date:q="Invalid date";break;case G.invalid_string:if(typeof _.validation==="object")if("includes"in _.validation){if(q=`Invalid input: must include "${_.validation.includes}"`,typeof _.validation.position==="number")q=`${q} at one or more positions greater than or equal to ${_.validation.position}`}else if("startsWith"in _.validation)q=`Invalid input: must start with "${_.validation.startsWith}"`;else if("endsWith"in _.validation)q=`Invalid input: must end with "${_.validation.endsWith}"`;else O.assertNever(_.validation);else if(_.validation!=="regex")q=`Invalid ${_.validation}`;else q="Invalid";break;case G.too_small:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at least":"more than"} ${_.minimum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at least":"over"} ${_.minimum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="bigint")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(_.minimum))}`;else q="Invalid input";break;case G.too_big:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at most":"less than"} ${_.maximum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at most":"under"} ${_.maximum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="bigint")q=`BigInt must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly":_.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(_.maximum))}`;else q="Invalid input";break;case G.custom:q="Invalid input";break;case G.invalid_intersection_types:q="Intersection results could not be merged";break;case G.not_multiple_of:q=`Number must be a multiple of ${_.multipleOf}`;break;case G.not_finite:q="Number must be finite";break;default:q=$.defaultError,O.assertNever(_)}return{message:q}},Z;var x_=z(()=>{v_();__();Z=bq});function $_(){return zq}var zq;var A_=z(()=>{x_();zq=Z});function D(_,$){let q=$_(),J=j_({issueData:$,data:_.data,path:_.path,errorMaps:[_.common.contextualErrorMap,_.schemaErrorMap,q,q===Z?void 0:Z].filter((W)=>!!W)});_.common.issues.push(J)}class U{constructor(){this.value="valid"}dirty(){if(this.value==="valid")this.value="dirty"}abort(){if(this.value!=="aborted")this.value="aborted"}static mergeArray(_,$){let q=[];for(let J of $){if(J.status==="aborted")return S;if(J.status==="dirty")_.dirty();q.push(J.value)}return{status:_.value,value:q}}static async mergeObjectAsync(_,$){let q=[];for(let J of $){let W=await J.key,X=await J.value;q.push({key:W,value:X})}return U.mergeObjectSync(_,q)}static mergeObjectSync(_,$){let q={};for(let J of $){let{key:W,value:X}=J;if(W.status==="aborted")return S;if(X.status==="aborted")return S;if(W.status==="dirty")_.dirty();if(X.status==="dirty")_.dirty();if(W.value!=="__proto__"&&(typeof X.value<"u"||J.alwaysSet))q[W.value]=X.value}return{status:_.value,value:q}}}var j_=(_)=>{let{data:$,path:q,errorMaps:J,issueData:W}=_,X=[...q,...W.path||[]],H={...W,path:X};if(W.message!==void 0)return{...W,path:X,message:W.message};let Y="",Q=J.filter((b)=>!!b).slice().reverse();for(let b of Q)Y=b(H,{data:$,defaultError:Y}).message;return{...W,path:X,message:Y}},S,o=(_)=>({status:"dirty",value:_}),K=(_)=>({status:"valid",value:_}),y_=(_)=>_.status==="aborted",n_=(_)=>_.status==="dirty",i=(_)=>_.status==="valid",q_=(_)=>typeof Promise<"u"&&_ instanceof Promise;var Z_=z(()=>{A_();x_();S=Object.freeze({status:"aborted"})});var C$=()=>{};var w;var k$=z(()=>{(function(_){_.errToObj=($)=>typeof $==="string"?{message:$}:$||{},_.toString=($)=>typeof $==="string"?$:$?.message})(w||(w={}))});class k{constructor(_,$,q,J){this._cachedPath=[],this.parent=_,this.data=$,this._path=q,this._key=J}get path(){if(!this._cachedPath.length)if(Array.isArray(this._key))this._cachedPath.push(...this._path,...this._key);else this._cachedPath.push(...this._path,this._key);return this._cachedPath}}function A(_){if(!_)return{};let{errorMap:$,invalid_type_error:q,required_error:J,description:W}=_;if($&&(q||J))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);if($)return{errorMap:$,description:W};return{errorMap:(H,Y)=>{let{message:Q}=_;if(H.code==="invalid_enum_value")return{message:Q??Y.defaultError};if(typeof Y.data>"u")return{message:Q??J??Y.defaultError};if(H.code!=="invalid_type")return{message:Y.defaultError};return{message:Q??q??Y.defaultError}},description:W}}class j{get description(){return this._def.description}_getType(_){return T(_.data)}_getOrReturnCtx(_,$){return $||{common:_.parent.common,data:_.data,parsedType:T(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}_processInputParams(_){return{status:new U,ctx:{common:_.parent.common,data:_.data,parsedType:T(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}}_parseSync(_){let $=this._parse(_);if(q_($))throw Error("Synchronous parse encountered promise.");return $}_parseAsync(_){let $=this._parse(_);return Promise.resolve($)}parse(_,$){let q=this.safeParse(_,$);if(q.success)return q.data;throw q.error}safeParse(_,$){let q={common:{issues:[],async:$?.async??!1,contextualErrorMap:$?.errorMap},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)},J=this._parseSync({data:_,path:q.path,parent:q});return g$(q,J)}"~validate"(_){let $={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)};if(!this["~standard"].async)try{let q=this._parseSync({data:_,path:[],parent:$});return i(q)?{value:q.value}:{issues:$.common.issues}}catch(q){if(q?.message?.toLowerCase()?.includes("encountered"))this["~standard"].async=!0;$.common={issues:[],async:!0}}return this._parseAsync({data:_,path:[],parent:$}).then((q)=>i(q)?{value:q.value}:{issues:$.common.issues})}async parseAsync(_,$){let q=await this.safeParseAsync(_,$);if(q.success)return q.data;throw q.error}async safeParseAsync(_,$){let q={common:{issues:[],contextualErrorMap:$?.errorMap,async:!0},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)},J=this._parse({data:_,path:q.path,parent:q}),W=await(q_(J)?J:Promise.resolve(J));return g$(q,W)}refine(_,$){let q=(J)=>{if(typeof $==="string"||typeof $>"u")return{message:$};else if(typeof $==="function")return $(J);else return $};return this._refinement((J,W)=>{let X=_(J),H=()=>W.addIssue({code:G.custom,...q(J)});if(typeof Promise<"u"&&X instanceof Promise)return X.then((Y)=>{if(!Y)return H(),!1;else return!0});if(!X)return H(),!1;else return!0})}refinement(_,$){return this._refinement((q,J)=>{if(!_(q))return J.addIssue(typeof $==="function"?$(q,J):$),!1;else return!0})}_refinement(_){return new l({schema:this,typeName:M.ZodEffects,effect:{type:"refinement",refinement:_}})}superRefine(_){return this._refinement(_)}constructor(_){this.spa=this.safeParseAsync,this._def=_,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:($)=>this["~validate"]($)}}optional(){return m.create(this,this._def)}nullable(){return u.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return P.create(this)}promise(){return e.create(this,this._def)}or(_){return Q_.create([this,_],this._def)}and(_){return Y_.create(this,_,this._def)}transform(_){return new l({...A(this._def),schema:this,typeName:M.ZodEffects,effect:{type:"transform",transform:_}})}default(_){let $=typeof _==="function"?_:()=>_;return new D_({...A(this._def),innerType:this,defaultValue:$,typeName:M.ZodDefault})}brand(){return new c_({typeName:M.ZodBranded,type:this,...A(this._def)})}catch(_){let $=typeof _==="function"?_:()=>_;return new w_({...A(this._def),innerType:this,catchValue:$,typeName:M.ZodCatch})}describe(_){return new this.constructor({...this._def,description:_})}pipe(_){return K_.create(this,_)}readonly(){return b_.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}function P$(_){let $="[0-5]\\d";if(_.precision)$=`${$}\\.\\d{${_.precision}}`;else if(_.precision==null)$=`${$}(\\.\\d+)?`;let q=_.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${$})${q}`}function gq(_){return new RegExp(`^${P$(_)}$`)}function Iq(_){let $=`${I$}T${P$(_)}`,q=[];if(q.push(_.local?"Z?":"Z"),_.offset)q.push("([+-]\\d{2}:?\\d{2})");return $=`${$}(${q.join("|")})`,new RegExp(`^${$}$`)}function Pq(_,$){if(($==="v4"||!$)&&Lq.test(_))return!0;if(($==="v6"||!$)&&Kq.test(_))return!0;return!1}function mq(_,$){if(!Nq.test(_))return!1;try{let[q]=_.split(".");if(!q)return!1;let J=q.replace(/-/g,"+").replace(/_/g,"/").padEnd(q.length+(4-q.length%4)%4,"="),W=JSON.parse(atob(J));if(typeof W!=="object"||W===null)return!1;if("typ"in W&&W?.typ!=="JWT")return!1;if(!W.alg)return!1;if($&&W.alg!==$)return!1;return!0}catch{return!1}}function lq(_,$){if(($==="v4"||!$)&&Uq.test(_))return!0;if(($==="v6"||!$)&&Fq.test(_))return!0;return!1}function Tq(_,$){let q=(_.toString().split(".")[1]||"").length,J=($.toString().split(".")[1]||"").length,W=q>J?q:J,X=Number.parseInt(_.toFixed(W).replace(".","")),H=Number.parseInt($.toFixed(W).replace(".",""));return X%H/10**W}function d(_){if(_ instanceof V){let $={};for(let q in _.shape){let J=_.shape[q];$[q]=m.create(d(J))}return new V({..._._def,shape:()=>$})}else if(_ instanceof P)return new P({..._._def,type:d(_.element)});else if(_ instanceof m)return m.create(d(_.unwrap()));else if(_ instanceof u)return u.create(d(_.unwrap()));else if(_ instanceof n)return n.create(_.items.map(($)=>d($)));else return _}function p_(_,$){let q=T(_),J=T($);if(_===$)return{valid:!0,data:_};else if(q===B.object&&J===B.object){let W=O.objectKeys($),X=O.objectKeys(_).filter((Y)=>W.indexOf(Y)!==-1),H={..._,...$};if(Object.prototype.hasOwnProperty.call(H,"__proto__"))delete H.__proto__;for(let Y of X){if(Y==="__proto__")continue;let Q=p_(_[Y],$[Y]);if(!Q.valid)return{valid:!1};H[Y]=Q.data}return{valid:!0,data:H}}else if(q===B.array&&J===B.array){if(_.length!==$.length)return{valid:!1};let W=[];for(let X=0;X<_.length;X++){let H=_[X],Y=$[X],Q=p_(H,Y);if(!Q.valid)return{valid:!1};W.push(Q.data)}return{valid:!0,data:W}}else if(q===B.date&&J===B.date&&+_===+$)return{valid:!0,data:_};else return{valid:!1}}function m$(_,$){return new r({values:_,typeName:M.ZodEnum,...A($)})}var g$=(_,$)=>{if(i($))return{success:!0,data:$.value};else{if(!_.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let q=new f(_.common.issues);return this._error=q,this._error}}}},Sq,vq,Aq,jq,Oq,Nq,Eq,Vq,Rq="^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$",u_,Lq,Uq,Kq,Fq,fq,Cq,I$="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",kq,x,t,a,O_,W_,N_,X_,H_,E_,c,y,V_,P,V,Q_,h=(_)=>{if(_ instanceof G_)return h(_.schema);else if(_ instanceof l)return h(_.innerType());else if(_ instanceof M_)return[_.value];else if(_ instanceof r)return _.options;else if(_ instanceof B_)return O.objectValues(_.enum);else if(_ instanceof D_)return h(_._def.innerType);else if(_ instanceof X_)return[void 0];else if(_ instanceof H_)return[null];else if(_ instanceof m)return[void 0,...h(_.unwrap())];else if(_ instanceof u)return[null,...h(_.unwrap())];else if(_ instanceof c_)return h(_.unwrap());else if(_ instanceof b_)return h(_.unwrap());else if(_ instanceof w_)return h(_._def.innerType);else return[]},i_,Y_,n,R_,L_,s,J_,G_,M_,r,B_,e,l,m,u,D_,w_,U_,D3,c_,K_,b_,w3,M,b3,z3,S3,v3,A3,j3,O3,N3,E3,V3,R3,L3,U3,K3,F3,f3,C3,k3,g3,I3,P3,m3,l3,T3,h3,x3,y3,n3,Z3,u3,p3,i3,c3,r3;var l$=z(()=>{v_();A_();k$();Z_();__();Sq=/^c[^\s-]{8,}$/i,vq=/^[0-9a-z]+$/,Aq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,jq=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Oq=/^[a-z0-9_-]{21}$/i,Nq=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Eq=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Vq=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Lq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Uq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Kq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Fq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,fq=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Cq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,kq=new RegExp(`^${I$}$`);x=class x extends j{_parse(_){if(this._def.coerce)_.data=String(_.data);if(this._getType(_)!==B.string){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.string,received:W.parsedType}),S}let q=new U,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.length<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="max"){if(_.data.length>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="length"){let X=_.data.length>W.value,H=_.data.length<W.value;if(X||H){if(J=this._getOrReturnCtx(_,J),X)D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});else if(H)D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});q.dirty()}}else if(W.kind==="email"){if(!Vq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"email",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="emoji"){if(!u_)u_=new RegExp(Rq,"u");if(!u_.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"emoji",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="uuid"){if(!jq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"uuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="nanoid"){if(!Oq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"nanoid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid"){if(!Sq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid2"){if(!vq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid2",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ulid"){if(!Aq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"ulid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="url")try{new URL(_.data)}catch{J=this._getOrReturnCtx(_,J),D(J,{validation:"url",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="regex"){if(W.regex.lastIndex=0,!W.regex.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"regex",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="trim")_.data=_.data.trim();else if(W.kind==="includes"){if(!_.data.includes(W.value,W.position))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{includes:W.value,position:W.position},message:W.message}),q.dirty()}else if(W.kind==="toLowerCase")_.data=_.data.toLowerCase();else if(W.kind==="toUpperCase")_.data=_.data.toUpperCase();else if(W.kind==="startsWith"){if(!_.data.startsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{startsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="endsWith"){if(!_.data.endsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{endsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="datetime"){if(!Iq(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"datetime",message:W.message}),q.dirty()}else if(W.kind==="date"){if(!kq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"date",message:W.message}),q.dirty()}else if(W.kind==="time"){if(!gq(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"time",message:W.message}),q.dirty()}else if(W.kind==="duration"){if(!Eq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"duration",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ip"){if(!Pq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"ip",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="jwt"){if(!mq(_.data,W.alg))J=this._getOrReturnCtx(_,J),D(J,{validation:"jwt",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cidr"){if(!lq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"cidr",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64"){if(!fq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64url"){if(!Cq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64url",code:G.invalid_string,message:W.message}),q.dirty()}else O.assertNever(W);return{status:q.value,value:_.data}}_regex(_,$,q){return this.refinement((J)=>_.test(J),{validation:$,code:G.invalid_string,...w.errToObj(q)})}_addCheck(_){return new x({...this._def,checks:[...this._def.checks,_]})}email(_){return this._addCheck({kind:"email",...w.errToObj(_)})}url(_){return this._addCheck({kind:"url",...w.errToObj(_)})}emoji(_){return this._addCheck({kind:"emoji",...w.errToObj(_)})}uuid(_){return this._addCheck({kind:"uuid",...w.errToObj(_)})}nanoid(_){return this._addCheck({kind:"nanoid",...w.errToObj(_)})}cuid(_){return this._addCheck({kind:"cuid",...w.errToObj(_)})}cuid2(_){return this._addCheck({kind:"cuid2",...w.errToObj(_)})}ulid(_){return this._addCheck({kind:"ulid",...w.errToObj(_)})}base64(_){return this._addCheck({kind:"base64",...w.errToObj(_)})}base64url(_){return this._addCheck({kind:"base64url",...w.errToObj(_)})}jwt(_){return this._addCheck({kind:"jwt",...w.errToObj(_)})}ip(_){return this._addCheck({kind:"ip",...w.errToObj(_)})}cidr(_){return this._addCheck({kind:"cidr",...w.errToObj(_)})}datetime(_){if(typeof _==="string")return this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:_});return this._addCheck({kind:"datetime",precision:typeof _?.precision>"u"?null:_?.precision,offset:_?.offset??!1,local:_?.local??!1,...w.errToObj(_?.message)})}date(_){return this._addCheck({kind:"date",message:_})}time(_){if(typeof _==="string")return this._addCheck({kind:"time",precision:null,message:_});return this._addCheck({kind:"time",precision:typeof _?.precision>"u"?null:_?.precision,...w.errToObj(_?.message)})}duration(_){return this._addCheck({kind:"duration",...w.errToObj(_)})}regex(_,$){return this._addCheck({kind:"regex",regex:_,...w.errToObj($)})}includes(_,$){return this._addCheck({kind:"includes",value:_,position:$?.position,...w.errToObj($?.message)})}startsWith(_,$){return this._addCheck({kind:"startsWith",value:_,...w.errToObj($)})}endsWith(_,$){return this._addCheck({kind:"endsWith",value:_,...w.errToObj($)})}min(_,$){return this._addCheck({kind:"min",value:_,...w.errToObj($)})}max(_,$){return this._addCheck({kind:"max",value:_,...w.errToObj($)})}length(_,$){return this._addCheck({kind:"length",value:_,...w.errToObj($)})}nonempty(_){return this.min(1,w.errToObj(_))}trim(){return new x({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new x({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new x({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((_)=>_.kind==="datetime")}get isDate(){return!!this._def.checks.find((_)=>_.kind==="date")}get isTime(){return!!this._def.checks.find((_)=>_.kind==="time")}get isDuration(){return!!this._def.checks.find((_)=>_.kind==="duration")}get isEmail(){return!!this._def.checks.find((_)=>_.kind==="email")}get isURL(){return!!this._def.checks.find((_)=>_.kind==="url")}get isEmoji(){return!!this._def.checks.find((_)=>_.kind==="emoji")}get isUUID(){return!!this._def.checks.find((_)=>_.kind==="uuid")}get isNANOID(){return!!this._def.checks.find((_)=>_.kind==="nanoid")}get isCUID(){return!!this._def.checks.find((_)=>_.kind==="cuid")}get isCUID2(){return!!this._def.checks.find((_)=>_.kind==="cuid2")}get isULID(){return!!this._def.checks.find((_)=>_.kind==="ulid")}get isIP(){return!!this._def.checks.find((_)=>_.kind==="ip")}get isCIDR(){return!!this._def.checks.find((_)=>_.kind==="cidr")}get isBase64(){return!!this._def.checks.find((_)=>_.kind==="base64")}get isBase64url(){return!!this._def.checks.find((_)=>_.kind==="base64url")}get minLength(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxLength(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};x.create=(_)=>{return new x({checks:[],typeName:M.ZodString,coerce:_?.coerce??!1,...A(_)})};t=class t extends j{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(_){if(this._def.coerce)_.data=Number(_.data);if(this._getType(_)!==B.number){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.number,received:W.parsedType}),S}let q=void 0,J=new U;for(let W of this._def.checks)if(W.kind==="int"){if(!O.isInteger(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.invalid_type,expected:"integer",received:"float",message:W.message}),J.dirty()}else if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,minimum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,maximum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(Tq(_.data,W.value)!==0)q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else if(W.kind==="finite"){if(!Number.isFinite(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_finite,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new t({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new t({...this._def,checks:[...this._def.checks,_]})}int(_){return this._addCheck({kind:"int",message:w.toString(_)})}positive(_){return this._addCheck({kind:"min",value:0,inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:0,inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:0,inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:0,inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}finite(_){return this._addCheck({kind:"finite",message:w.toString(_)})}safe(_){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:w.toString(_)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:w.toString(_)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}get isInt(){return!!this._def.checks.find((_)=>_.kind==="int"||_.kind==="multipleOf"&&O.isInteger(_.value))}get isFinite(){let _=null,$=null;for(let q of this._def.checks)if(q.kind==="finite"||q.kind==="int"||q.kind==="multipleOf")return!0;else if(q.kind==="min"){if($===null||q.value>$)$=q.value}else if(q.kind==="max"){if(_===null||q.value<_)_=q.value}return Number.isFinite($)&&Number.isFinite(_)}};t.create=(_)=>{return new t({checks:[],typeName:M.ZodNumber,coerce:_?.coerce||!1,...A(_)})};a=class a extends j{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte}_parse(_){if(this._def.coerce)try{_.data=BigInt(_.data)}catch{return this._getInvalidInput(_)}if(this._getType(_)!==B.bigint)return this._getInvalidInput(_);let q=void 0,J=new U;for(let W of this._def.checks)if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,type:"bigint",minimum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,type:"bigint",maximum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(_.data%W.value!==BigInt(0))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}_getInvalidInput(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.bigint,received:$.parsedType}),S}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new a({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new a({...this._def,checks:[...this._def.checks,_]})}positive(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};a.create=(_)=>{return new a({checks:[],typeName:M.ZodBigInt,coerce:_?.coerce??!1,...A(_)})};O_=class O_ extends j{_parse(_){if(this._def.coerce)_.data=Boolean(_.data);if(this._getType(_)!==B.boolean){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.boolean,received:q.parsedType}),S}return K(_.data)}};O_.create=(_)=>{return new O_({typeName:M.ZodBoolean,coerce:_?.coerce||!1,...A(_)})};W_=class W_ extends j{_parse(_){if(this._def.coerce)_.data=new Date(_.data);if(this._getType(_)!==B.date){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.date,received:W.parsedType}),S}if(Number.isNaN(_.data.getTime())){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_date}),S}let q=new U,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.getTime()<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,message:W.message,inclusive:!0,exact:!1,minimum:W.value,type:"date"}),q.dirty()}else if(W.kind==="max"){if(_.data.getTime()>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,message:W.message,inclusive:!0,exact:!1,maximum:W.value,type:"date"}),q.dirty()}else O.assertNever(W);return{status:q.value,value:new Date(_.data.getTime())}}_addCheck(_){return new W_({...this._def,checks:[...this._def.checks,_]})}min(_,$){return this._addCheck({kind:"min",value:_.getTime(),message:w.toString($)})}max(_,$){return this._addCheck({kind:"max",value:_.getTime(),message:w.toString($)})}get minDate(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _!=null?new Date(_):null}get maxDate(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _!=null?new Date(_):null}};W_.create=(_)=>{return new W_({checks:[],coerce:_?.coerce||!1,typeName:M.ZodDate,...A(_)})};N_=class N_ extends j{_parse(_){if(this._getType(_)!==B.symbol){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.symbol,received:q.parsedType}),S}return K(_.data)}};N_.create=(_)=>{return new N_({typeName:M.ZodSymbol,...A(_)})};X_=class X_ extends j{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.undefined,received:q.parsedType}),S}return K(_.data)}};X_.create=(_)=>{return new X_({typeName:M.ZodUndefined,...A(_)})};H_=class H_ extends j{_parse(_){if(this._getType(_)!==B.null){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.null,received:q.parsedType}),S}return K(_.data)}};H_.create=(_)=>{return new H_({typeName:M.ZodNull,...A(_)})};E_=class E_ extends j{constructor(){super(...arguments);this._any=!0}_parse(_){return K(_.data)}};E_.create=(_)=>{return new E_({typeName:M.ZodAny,...A(_)})};c=class c extends j{constructor(){super(...arguments);this._unknown=!0}_parse(_){return K(_.data)}};c.create=(_)=>{return new c({typeName:M.ZodUnknown,...A(_)})};y=class y extends j{_parse(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.never,received:$.parsedType}),S}};y.create=(_)=>{return new y({typeName:M.ZodNever,...A(_)})};V_=class V_ extends j{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.void,received:q.parsedType}),S}return K(_.data)}};V_.create=(_)=>{return new V_({typeName:M.ZodVoid,...A(_)})};P=class P extends j{_parse(_){let{ctx:$,status:q}=this._processInputParams(_),J=this._def;if($.parsedType!==B.array)return D($,{code:G.invalid_type,expected:B.array,received:$.parsedType}),S;if(J.exactLength!==null){let X=$.data.length>J.exactLength.value,H=$.data.length<J.exactLength.value;if(X||H)D($,{code:X?G.too_big:G.too_small,minimum:H?J.exactLength.value:void 0,maximum:X?J.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:J.exactLength.message}),q.dirty()}if(J.minLength!==null){if($.data.length<J.minLength.value)D($,{code:G.too_small,minimum:J.minLength.value,type:"array",inclusive:!0,exact:!1,message:J.minLength.message}),q.dirty()}if(J.maxLength!==null){if($.data.length>J.maxLength.value)D($,{code:G.too_big,maximum:J.maxLength.value,type:"array",inclusive:!0,exact:!1,message:J.maxLength.message}),q.dirty()}if($.common.async)return Promise.all([...$.data].map((X,H)=>{return J.type._parseAsync(new k($,X,$.path,H))})).then((X)=>{return U.mergeArray(q,X)});let W=[...$.data].map((X,H)=>{return J.type._parseSync(new k($,X,$.path,H))});return U.mergeArray(q,W)}get element(){return this._def.type}min(_,$){return new P({...this._def,minLength:{value:_,message:w.toString($)}})}max(_,$){return new P({...this._def,maxLength:{value:_,message:w.toString($)}})}length(_,$){return new P({...this._def,exactLength:{value:_,message:w.toString($)}})}nonempty(_){return this.min(1,_)}};P.create=(_,$)=>{return new P({type:_,minLength:null,maxLength:null,exactLength:null,typeName:M.ZodArray,...A($)})};V=class V extends j{constructor(){super(...arguments);this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let _=this._def.shape(),$=O.objectKeys(_);return this._cached={shape:_,keys:$},this._cached}_parse(_){if(this._getType(_)!==B.object){let Q=this._getOrReturnCtx(_);return D(Q,{code:G.invalid_type,expected:B.object,received:Q.parsedType}),S}let{status:q,ctx:J}=this._processInputParams(_),{shape:W,keys:X}=this._getCached(),H=[];if(!(this._def.catchall instanceof y&&this._def.unknownKeys==="strip")){for(let Q in J.data)if(!X.includes(Q))H.push(Q)}let Y=[];for(let Q of X){let b=W[Q],L=J.data[Q];Y.push({key:{status:"valid",value:Q},value:b._parse(new k(J,L,J.path,Q)),alwaysSet:Q in J.data})}if(this._def.catchall instanceof y){let Q=this._def.unknownKeys;if(Q==="passthrough")for(let b of H)Y.push({key:{status:"valid",value:b},value:{status:"valid",value:J.data[b]}});else if(Q==="strict"){if(H.length>0)D(J,{code:G.unrecognized_keys,keys:H}),q.dirty()}else if(Q==="strip");else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let Q=this._def.catchall;for(let b of H){let L=J.data[b];Y.push({key:{status:"valid",value:b},value:Q._parse(new k(J,L,J.path,b)),alwaysSet:b in J.data})}}if(J.common.async)return Promise.resolve().then(async()=>{let Q=[];for(let b of Y){let L=await b.key,L$=await b.value;Q.push({key:L,value:L$,alwaysSet:b.alwaysSet})}return Q}).then((Q)=>{return U.mergeObjectSync(q,Q)});else return U.mergeObjectSync(q,Y)}get shape(){return this._def.shape()}strict(_){return w.errToObj,new V({...this._def,unknownKeys:"strict",..._!==void 0?{errorMap:($,q)=>{let J=this._def.errorMap?.($,q).message??q.defaultError;if($.code==="unrecognized_keys")return{message:w.errToObj(_).message??J};return{message:J}}}:{}})}strip(){return new V({...this._def,unknownKeys:"strip"})}passthrough(){return new V({...this._def,unknownKeys:"passthrough"})}extend(_){return new V({...this._def,shape:()=>({...this._def.shape(),..._})})}merge(_){return new V({unknownKeys:_._def.unknownKeys,catchall:_._def.catchall,shape:()=>({...this._def.shape(),..._._def.shape()}),typeName:M.ZodObject})}setKey(_,$){return this.augment({[_]:$})}catchall(_){return new V({...this._def,catchall:_})}pick(_){let $={};for(let q of O.objectKeys(_))if(_[q]&&this.shape[q])$[q]=this.shape[q];return new V({...this._def,shape:()=>$})}omit(_){let $={};for(let q of O.objectKeys(this.shape))if(!_[q])$[q]=this.shape[q];return new V({...this._def,shape:()=>$})}deepPartial(){return d(this)}partial(_){let $={};for(let q of O.objectKeys(this.shape)){let J=this.shape[q];if(_&&!_[q])$[q]=J;else $[q]=J.optional()}return new V({...this._def,shape:()=>$})}required(_){let $={};for(let q of O.objectKeys(this.shape))if(_&&!_[q])$[q]=this.shape[q];else{let W=this.shape[q];while(W instanceof m)W=W._def.innerType;$[q]=W}return new V({...this._def,shape:()=>$})}keyof(){return m$(O.objectKeys(this.shape))}};V.create=(_,$)=>{return new V({shape:()=>_,unknownKeys:"strip",catchall:y.create(),typeName:M.ZodObject,...A($)})};V.strictCreate=(_,$)=>{return new V({shape:()=>_,unknownKeys:"strict",catchall:y.create(),typeName:M.ZodObject,...A($)})};V.lazycreate=(_,$)=>{return new V({shape:_,unknownKeys:"strip",catchall:y.create(),typeName:M.ZodObject,...A($)})};Q_=class Q_ extends j{_parse(_){let{ctx:$}=this._processInputParams(_),q=this._def.options;function J(W){for(let H of W)if(H.result.status==="valid")return H.result;for(let H of W)if(H.result.status==="dirty")return $.common.issues.push(...H.ctx.common.issues),H.result;let X=W.map((H)=>new f(H.ctx.common.issues));return D($,{code:G.invalid_union,unionErrors:X}),S}if($.common.async)return Promise.all(q.map(async(W)=>{let X={...$,common:{...$.common,issues:[]},parent:null};return{result:await W._parseAsync({data:$.data,path:$.path,parent:X}),ctx:X}})).then(J);else{let W=void 0,X=[];for(let Y of q){let Q={...$,common:{...$.common,issues:[]},parent:null},b=Y._parseSync({data:$.data,path:$.path,parent:Q});if(b.status==="valid")return b;else if(b.status==="dirty"&&!W)W={result:b,ctx:Q};if(Q.common.issues.length)X.push(Q.common.issues)}if(W)return $.common.issues.push(...W.ctx.common.issues),W.result;let H=X.map((Y)=>new f(Y));return D($,{code:G.invalid_union,unionErrors:H}),S}}get options(){return this._def.options}};Q_.create=(_,$)=>{return new Q_({options:_,typeName:M.ZodUnion,...A($)})};i_=class i_ extends j{_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.object)return D($,{code:G.invalid_type,expected:B.object,received:$.parsedType}),S;let q=this.discriminator,J=$.data[q],W=this.optionsMap.get(J);if(!W)return D($,{code:G.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[q]}),S;if($.common.async)return W._parseAsync({data:$.data,path:$.path,parent:$});else return W._parseSync({data:$.data,path:$.path,parent:$})}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(_,$,q){let J=new Map;for(let W of $){let X=h(W.shape[_]);if(!X.length)throw Error(`A discriminator value for key \`${_}\` could not be extracted from all schema options`);for(let H of X){if(J.has(H))throw Error(`Discriminator property ${String(_)} has duplicate value ${String(H)}`);J.set(H,W)}}return new i_({typeName:M.ZodDiscriminatedUnion,discriminator:_,options:$,optionsMap:J,...A(q)})}};Y_=class Y_ extends j{_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=(W,X)=>{if(y_(W)||y_(X))return S;let H=p_(W.value,X.value);if(!H.valid)return D(q,{code:G.invalid_intersection_types}),S;if(n_(W)||n_(X))$.dirty();return{status:$.value,value:H.data}};if(q.common.async)return Promise.all([this._def.left._parseAsync({data:q.data,path:q.path,parent:q}),this._def.right._parseAsync({data:q.data,path:q.path,parent:q})]).then(([W,X])=>J(W,X));else return J(this._def.left._parseSync({data:q.data,path:q.path,parent:q}),this._def.right._parseSync({data:q.data,path:q.path,parent:q}))}};Y_.create=(_,$,q)=>{return new Y_({left:_,right:$,typeName:M.ZodIntersection,...A(q)})};n=class n extends j{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.array)return D(q,{code:G.invalid_type,expected:B.array,received:q.parsedType}),S;if(q.data.length<this._def.items.length)return D(q,{code:G.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),S;if(!this._def.rest&&q.data.length>this._def.items.length)D(q,{code:G.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),$.dirty();let W=[...q.data].map((X,H)=>{let Y=this._def.items[H]||this._def.rest;if(!Y)return null;return Y._parse(new k(q,X,q.path,H))}).filter((X)=>!!X);if(q.common.async)return Promise.all(W).then((X)=>{return U.mergeArray($,X)});else return U.mergeArray($,W)}get items(){return this._def.items}rest(_){return new n({...this._def,rest:_})}};n.create=(_,$)=>{if(!Array.isArray(_))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new n({items:_,typeName:M.ZodTuple,rest:null,...A($)})};R_=class R_ extends j{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.object)return D(q,{code:G.invalid_type,expected:B.object,received:q.parsedType}),S;let J=[],W=this._def.keyType,X=this._def.valueType;for(let H in q.data)J.push({key:W._parse(new k(q,H,q.path,H)),value:X._parse(new k(q,q.data[H],q.path,H)),alwaysSet:H in q.data});if(q.common.async)return U.mergeObjectAsync($,J);else return U.mergeObjectSync($,J)}get element(){return this._def.valueType}static create(_,$,q){if($ instanceof j)return new R_({keyType:_,valueType:$,typeName:M.ZodRecord,...A(q)});return new R_({keyType:x.create(),valueType:_,typeName:M.ZodRecord,...A($)})}};L_=class L_ extends j{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.map)return D(q,{code:G.invalid_type,expected:B.map,received:q.parsedType}),S;let J=this._def.keyType,W=this._def.valueType,X=[...q.data.entries()].map(([H,Y],Q)=>{return{key:J._parse(new k(q,H,q.path,[Q,"key"])),value:W._parse(new k(q,Y,q.path,[Q,"value"]))}});if(q.common.async){let H=new Map;return Promise.resolve().then(async()=>{for(let Y of X){let Q=await Y.key,b=await Y.value;if(Q.status==="aborted"||b.status==="aborted")return S;if(Q.status==="dirty"||b.status==="dirty")$.dirty();H.set(Q.value,b.value)}return{status:$.value,value:H}})}else{let H=new Map;for(let Y of X){let{key:Q,value:b}=Y;if(Q.status==="aborted"||b.status==="aborted")return S;if(Q.status==="dirty"||b.status==="dirty")$.dirty();H.set(Q.value,b.value)}return{status:$.value,value:H}}}};L_.create=(_,$,q)=>{return new L_({valueType:$,keyType:_,typeName:M.ZodMap,...A(q)})};s=class s extends j{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.set)return D(q,{code:G.invalid_type,expected:B.set,received:q.parsedType}),S;let J=this._def;if(J.minSize!==null){if(q.data.size<J.minSize.value)D(q,{code:G.too_small,minimum:J.minSize.value,type:"set",inclusive:!0,exact:!1,message:J.minSize.message}),$.dirty()}if(J.maxSize!==null){if(q.data.size>J.maxSize.value)D(q,{code:G.too_big,maximum:J.maxSize.value,type:"set",inclusive:!0,exact:!1,message:J.maxSize.message}),$.dirty()}let W=this._def.valueType;function X(Y){let Q=new Set;for(let b of Y){if(b.status==="aborted")return S;if(b.status==="dirty")$.dirty();Q.add(b.value)}return{status:$.value,value:Q}}let H=[...q.data.values()].map((Y,Q)=>W._parse(new k(q,Y,q.path,Q)));if(q.common.async)return Promise.all(H).then((Y)=>X(Y));else return X(H)}min(_,$){return new s({...this._def,minSize:{value:_,message:w.toString($)}})}max(_,$){return new s({...this._def,maxSize:{value:_,message:w.toString($)}})}size(_,$){return this.min(_,$).max(_,$)}nonempty(_){return this.min(1,_)}};s.create=(_,$)=>{return new s({valueType:_,minSize:null,maxSize:null,typeName:M.ZodSet,...A($)})};J_=class J_ extends j{constructor(){super(...arguments);this.validate=this.implement}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.function)return D($,{code:G.invalid_type,expected:B.function,received:$.parsedType}),S;function q(H,Y){return j_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_arguments,argumentsError:Y}})}function J(H,Y){return j_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_return_type,returnTypeError:Y}})}let W={errorMap:$.common.contextualErrorMap},X=$.data;if(this._def.returns instanceof e){let H=this;return K(async function(...Y){let Q=new f([]),b=await H._def.args.parseAsync(Y,W).catch((h_)=>{throw Q.addIssue(q(Y,h_)),Q}),L=await Reflect.apply(X,this,b);return await H._def.returns._def.type.parseAsync(L,W).catch((h_)=>{throw Q.addIssue(J(L,h_)),Q})})}else{let H=this;return K(function(...Y){let Q=H._def.args.safeParse(Y,W);if(!Q.success)throw new f([q(Y,Q.error)]);let b=Reflect.apply(X,this,Q.data),L=H._def.returns.safeParse(b,W);if(!L.success)throw new f([J(b,L.error)]);return L.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(..._){return new J_({...this._def,args:n.create(_).rest(c.create())})}returns(_){return new J_({...this._def,returns:_})}implement(_){return this.parse(_)}strictImplement(_){return this.parse(_)}static create(_,$,q){return new J_({args:_?_:n.create([]).rest(c.create()),returns:$||c.create(),typeName:M.ZodFunction,...A(q)})}};G_=class G_ extends j{get schema(){return this._def.getter()}_parse(_){let{ctx:$}=this._processInputParams(_);return this._def.getter()._parse({data:$.data,path:$.path,parent:$})}};G_.create=(_,$)=>{return new G_({getter:_,typeName:M.ZodLazy,...A($)})};M_=class M_ extends j{_parse(_){if(_.data!==this._def.value){let $=this._getOrReturnCtx(_);return D($,{received:$.data,code:G.invalid_literal,expected:this._def.value}),S}return{status:"valid",value:_.data}}get value(){return this._def.value}};M_.create=(_,$)=>{return new M_({value:_,typeName:M.ZodLiteral,...A($)})};r=class r extends j{_parse(_){if(typeof _.data!=="string"){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{expected:O.joinValues(q),received:$.parsedType,code:G.invalid_type}),S}if(!this._cache)this._cache=new Set(this._def.values);if(!this._cache.has(_.data)){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{received:$.data,code:G.invalid_enum_value,options:q}),S}return K(_.data)}get options(){return this._def.values}get enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Values(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}extract(_,$=this._def){return r.create(_,{...this._def,...$})}exclude(_,$=this._def){return r.create(this.options.filter((q)=>!_.includes(q)),{...this._def,...$})}};r.create=m$;B_=class B_ extends j{_parse(_){let $=O.getValidEnumValues(this._def.values),q=this._getOrReturnCtx(_);if(q.parsedType!==B.string&&q.parsedType!==B.number){let J=O.objectValues($);return D(q,{expected:O.joinValues(J),received:q.parsedType,code:G.invalid_type}),S}if(!this._cache)this._cache=new Set(O.getValidEnumValues(this._def.values));if(!this._cache.has(_.data)){let J=O.objectValues($);return D(q,{received:q.data,code:G.invalid_enum_value,options:J}),S}return K(_.data)}get enum(){return this._def.values}};B_.create=(_,$)=>{return new B_({values:_,typeName:M.ZodNativeEnum,...A($)})};e=class e extends j{unwrap(){return this._def.type}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.promise&&$.common.async===!1)return D($,{code:G.invalid_type,expected:B.promise,received:$.parsedType}),S;let q=$.parsedType===B.promise?$.data:Promise.resolve($.data);return K(q.then((J)=>{return this._def.type.parseAsync(J,{path:$.path,errorMap:$.common.contextualErrorMap})}))}};e.create=(_,$)=>{return new e({type:_,typeName:M.ZodPromise,...A($)})};l=class l extends j{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===M.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=this._def.effect||null,W={addIssue:(X)=>{if(D(q,X),X.fatal)$.abort();else $.dirty()},get path(){return q.path}};if(W.addIssue=W.addIssue.bind(W),J.type==="preprocess"){let X=J.transform(q.data,W);if(q.common.async)return Promise.resolve(X).then(async(H)=>{if($.value==="aborted")return S;let Y=await this._def.schema._parseAsync({data:H,path:q.path,parent:q});if(Y.status==="aborted")return S;if(Y.status==="dirty")return o(Y.value);if($.value==="dirty")return o(Y.value);return Y});else{if($.value==="aborted")return S;let H=this._def.schema._parseSync({data:X,path:q.path,parent:q});if(H.status==="aborted")return S;if(H.status==="dirty")return o(H.value);if($.value==="dirty")return o(H.value);return H}}if(J.type==="refinement"){let X=(H)=>{let Y=J.refinement(H,W);if(q.common.async)return Promise.resolve(Y);if(Y instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return H};if(q.common.async===!1){let H=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(H.status==="aborted")return S;if(H.status==="dirty")$.dirty();return X(H.value),{status:$.value,value:H.value}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((H)=>{if(H.status==="aborted")return S;if(H.status==="dirty")$.dirty();return X(H.value).then(()=>{return{status:$.value,value:H.value}})})}if(J.type==="transform")if(q.common.async===!1){let X=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(!i(X))return S;let H=J.transform(X.value,W);if(H instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:$.value,value:H}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((X)=>{if(!i(X))return S;return Promise.resolve(J.transform(X.value,W)).then((H)=>({status:$.value,value:H}))});O.assertNever(J)}};l.create=(_,$,q)=>{return new l({schema:_,typeName:M.ZodEffects,effect:$,...A(q)})};l.createWithPreprocess=(_,$,q)=>{return new l({schema:$,effect:{type:"preprocess",transform:_},typeName:M.ZodEffects,...A(q)})};m=class m extends j{_parse(_){if(this._getType(_)===B.undefined)return K(void 0);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};m.create=(_,$)=>{return new m({innerType:_,typeName:M.ZodOptional,...A($)})};u=class u extends j{_parse(_){if(this._getType(_)===B.null)return K(null);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};u.create=(_,$)=>{return new u({innerType:_,typeName:M.ZodNullable,...A($)})};D_=class D_ extends j{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;if($.parsedType===B.undefined)q=this._def.defaultValue();return this._def.innerType._parse({data:q,path:$.path,parent:$})}removeDefault(){return this._def.innerType}};D_.create=(_,$)=>{return new D_({innerType:_,typeName:M.ZodDefault,defaultValue:typeof $.default==="function"?$.default:()=>$.default,...A($)})};w_=class w_ extends j{_parse(_){let{ctx:$}=this._processInputParams(_),q={...$,common:{...$.common,issues:[]}},J=this._def.innerType._parse({data:q.data,path:q.path,parent:{...q}});if(q_(J))return J.then((W)=>{return{status:"valid",value:W.status==="valid"?W.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}});else return{status:"valid",value:J.status==="valid"?J.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}}removeCatch(){return this._def.innerType}};w_.create=(_,$)=>{return new w_({innerType:_,typeName:M.ZodCatch,catchValue:typeof $.catch==="function"?$.catch:()=>$.catch,...A($)})};U_=class U_ extends j{_parse(_){if(this._getType(_)!==B.nan){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.nan,received:q.parsedType}),S}return{status:"valid",value:_.data}}};U_.create=(_)=>{return new U_({typeName:M.ZodNaN,...A(_)})};D3=Symbol("zod_brand");c_=class c_ extends j{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;return this._def.type._parse({data:q,path:$.path,parent:$})}unwrap(){return this._def.type}};K_=class K_ extends j{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.common.async)return(async()=>{let W=await this._def.in._parseAsync({data:q.data,path:q.path,parent:q});if(W.status==="aborted")return S;if(W.status==="dirty")return $.dirty(),o(W.value);else return this._def.out._parseAsync({data:W.value,path:q.path,parent:q})})();else{let J=this._def.in._parseSync({data:q.data,path:q.path,parent:q});if(J.status==="aborted")return S;if(J.status==="dirty")return $.dirty(),{status:"dirty",value:J.value};else return this._def.out._parseSync({data:J.value,path:q.path,parent:q})}}static create(_,$){return new K_({in:_,out:$,typeName:M.ZodPipeline})}};b_=class b_ extends j{_parse(_){let $=this._def.innerType._parse(_),q=(J)=>{if(i(J))J.value=Object.freeze(J.value);return J};return q_($)?$.then((J)=>q(J)):q($)}unwrap(){return this._def.innerType}};b_.create=(_,$)=>{return new b_({innerType:_,typeName:M.ZodReadonly,...A($)})};w3={object:V.lazycreate};(function(_){_.ZodString="ZodString",_.ZodNumber="ZodNumber",_.ZodNaN="ZodNaN",_.ZodBigInt="ZodBigInt",_.ZodBoolean="ZodBoolean",_.ZodDate="ZodDate",_.ZodSymbol="ZodSymbol",_.ZodUndefined="ZodUndefined",_.ZodNull="ZodNull",_.ZodAny="ZodAny",_.ZodUnknown="ZodUnknown",_.ZodNever="ZodNever",_.ZodVoid="ZodVoid",_.ZodArray="ZodArray",_.ZodObject="ZodObject",_.ZodUnion="ZodUnion",_.ZodDiscriminatedUnion="ZodDiscriminatedUnion",_.ZodIntersection="ZodIntersection",_.ZodTuple="ZodTuple",_.ZodRecord="ZodRecord",_.ZodMap="ZodMap",_.ZodSet="ZodSet",_.ZodFunction="ZodFunction",_.ZodLazy="ZodLazy",_.ZodLiteral="ZodLiteral",_.ZodEnum="ZodEnum",_.ZodEffects="ZodEffects",_.ZodNativeEnum="ZodNativeEnum",_.ZodOptional="ZodOptional",_.ZodNullable="ZodNullable",_.ZodDefault="ZodDefault",_.ZodCatch="ZodCatch",_.ZodPromise="ZodPromise",_.ZodBranded="ZodBranded",_.ZodPipeline="ZodPipeline",_.ZodReadonly="ZodReadonly"})(M||(M={}));b3=x.create,z3=t.create,S3=U_.create,v3=a.create,A3=O_.create,j3=W_.create,O3=N_.create,N3=X_.create,E3=H_.create,V3=E_.create,R3=c.create,L3=y.create,U3=V_.create,K3=P.create,F3=V.create,f3=V.strictCreate,C3=Q_.create,k3=i_.create,g3=Y_.create,I3=n.create,P3=R_.create,m3=L_.create,l3=s.create,T3=J_.create,h3=G_.create,x3=M_.create,y3=r.create,n3=B_.create,Z3=e.create,u3=l.create,p3=m.create,i3=u.create,c3=l.createWithPreprocess,r3=K_.create});var T$=z(()=>{A_();Z_();C$();__();l$();v_()});var F_=z(()=>{T$()});var f_=(_,$)=>{let q=0;for(;q<_.length&&q<$.length;q++)if(_[q]!==$[q])break;return[(_.length-q).toString(),...$.slice(q)].join("/")};var C_=()=>{};function E(_){if(_.target!=="openAi")return{};let $=[..._.basePath,_.definitionPath,_.openAiAnyTypeName];return _.flags.hasReferencedOpenAiAnyType=!0,{$ref:_.$refStrategy==="relative"?f_($,_.currentPath):$.join("/")}}var C=z(()=>{C_()});function r_(_,$,q,J){if(!J?.errorMessages)return;if(q)_.errorMessage={..._.errorMessage,[$]:q}}function N(_,$,q,J,W){_[$]=q,r_(_,$,J,W)}var p=()=>{};function h$(_,$){let q={type:"array"};if(_.type?._def&&_.type?._def?.typeName!==M.ZodAny)q.items=v(_.type._def,{...$,currentPath:[...$.currentPath,"items"]});if(_.minLength)N(q,"minItems",_.minLength.value,_.minLength.message,$);if(_.maxLength)N(q,"maxItems",_.maxLength.value,_.maxLength.message,$);if(_.exactLength)N(q,"minItems",_.exactLength.value,_.exactLength.message,$),N(q,"maxItems",_.exactLength.value,_.exactLength.message,$);return q}var o_=z(()=>{F_();p();R()});function x$(_,$){let q={type:"integer",format:"int64"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var d_=z(()=>{p()});function y$(){return{type:"boolean"}}var t_=()=>{};function k_(_,$){return v(_.type._def,$)}var g_=z(()=>{R()});var n$=(_,$)=>{return v(_.innerType._def,$)};var a_=z(()=>{R()});function s_(_,$,q){let J=q??$.dateStrategy;if(Array.isArray(J))return{anyOf:J.map((W,X)=>s_(_,$,W))};switch(J){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return hq(_,$)}}var hq=(_,$)=>{let q={type:"integer",format:"unix-time"};if($.target==="openApi3")return q;for(let J of _.checks)switch(J.kind){case"min":N(q,"minimum",J.value,J.message,$);break;case"max":N(q,"maximum",J.value,J.message,$);break}return q};var e_=z(()=>{p()});function Z$(_,$){return{...v(_.innerType._def,$),default:_.defaultValue()}}var _$=z(()=>{R()});function u$(_,$){return $.effectStrategy==="input"?v(_.schema._def,$):E($)}var $$=z(()=>{R();C()});function p$(_){return{type:"string",enum:Array.from(_.values)}}var q$=()=>{};function i$(_,$){let q=[v(_.left._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),v(_.right._def,{...$,currentPath:[...$.currentPath,"allOf","1"]})].filter((X)=>!!X),J=$.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,W=[];return q.forEach((X)=>{if(xq(X)){if(W.push(...X.allOf),X.unevaluatedProperties===void 0)J=void 0}else{let H=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Y,...Q}=X;H=Q}else J=void 0;W.push(H)}}),W.length?{allOf:W,...J}:void 0}var xq=(_)=>{if("type"in _&&_.type==="string")return!1;return"allOf"in _};var J$=z(()=>{R()});function c$(_,$){let q=typeof _.value;if(q!=="bigint"&&q!=="number"&&q!=="boolean"&&q!=="string")return{type:Array.isArray(_.value)?"array":"object"};if($.target==="openApi3")return{type:q==="bigint"?"integer":q,enum:[_.value]};return{type:q==="bigint"?"integer":q,const:_.value}}var W$=()=>{};function I_(_,$){let q={type:"string"};if(_.checks)for(let J of _.checks)switch(J.kind){case"min":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$);break;case"max":N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"email":switch($.emailStrategy){case"format:email":I(q,"email",J.message,$);break;case"format:idn-email":I(q,"idn-email",J.message,$);break;case"pattern:zod":F(q,g.email,J.message,$);break}break;case"url":I(q,"uri",J.message,$);break;case"uuid":I(q,"uuid",J.message,$);break;case"regex":F(q,J.regex,J.message,$);break;case"cuid":F(q,g.cuid,J.message,$);break;case"cuid2":F(q,g.cuid2,J.message,$);break;case"startsWith":F(q,RegExp(`^${H$(J.value,$)}`),J.message,$);break;case"endsWith":F(q,RegExp(`${H$(J.value,$)}$`),J.message,$);break;case"datetime":I(q,"date-time",J.message,$);break;case"date":I(q,"date",J.message,$);break;case"time":I(q,"time",J.message,$);break;case"duration":I(q,"duration",J.message,$);break;case"length":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$),N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"includes":{F(q,RegExp(H$(J.value,$)),J.message,$);break}case"ip":{if(J.version!=="v6")I(q,"ipv4",J.message,$);if(J.version!=="v4")I(q,"ipv6",J.message,$);break}case"base64url":F(q,g.base64url,J.message,$);break;case"jwt":F(q,g.jwt,J.message,$);break;case"cidr":{if(J.version!=="v6")F(q,g.ipv4Cidr,J.message,$);if(J.version!=="v4")F(q,g.ipv6Cidr,J.message,$);break}case"emoji":F(q,g.emoji(),J.message,$);break;case"ulid":{F(q,g.ulid,J.message,$);break}case"base64":{switch($.base64Strategy){case"format:binary":{I(q,"binary",J.message,$);break}case"contentEncoding:base64":{N(q,"contentEncoding","base64",J.message,$);break}case"pattern:zod":{F(q,g.base64,J.message,$);break}}break}case"nanoid":F(q,g.nanoid,J.message,$);case"toLowerCase":case"toUpperCase":case"trim":break;default:((W)=>{})(J)}return q}function H$(_,$){return $.patternStrategy==="escape"?nq(_):_}function nq(_){let $="";for(let q=0;q<_.length;q++){if(!yq.has(_[q]))$+="\\";$+=_[q]}return $}function I(_,$,q,J){if(_.format||_.anyOf?.some((W)=>W.format)){if(!_.anyOf)_.anyOf=[];if(_.format){if(_.anyOf.push({format:_.format,..._.errorMessage&&J.errorMessages&&{errorMessage:{format:_.errorMessage.format}}}),delete _.format,_.errorMessage){if(delete _.errorMessage.format,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.anyOf.push({format:$,...q&&J.errorMessages&&{errorMessage:{format:q}}})}else N(_,"format",$,q,J)}function F(_,$,q,J){if(_.pattern||_.allOf?.some((W)=>W.pattern)){if(!_.allOf)_.allOf=[];if(_.pattern){if(_.allOf.push({pattern:_.pattern,..._.errorMessage&&J.errorMessages&&{errorMessage:{pattern:_.errorMessage.pattern}}}),delete _.pattern,_.errorMessage){if(delete _.errorMessage.pattern,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.allOf.push({pattern:r$($,J),...q&&J.errorMessages&&{errorMessage:{pattern:q}}})}else N(_,"pattern",r$($,J),q,J)}function r$(_,$){if(!$.applyRegexFlags||!_.flags)return _.source;let q={i:_.flags.includes("i"),m:_.flags.includes("m"),s:_.flags.includes("s")},J=q.i?_.source.toLowerCase():_.source,W="",X=!1,H=!1,Y=!1;for(let Q=0;Q<J.length;Q++){if(X){W+=J[Q],X=!1;continue}if(q.i){if(H){if(J[Q].match(/[a-z]/)){if(Y)W+=J[Q],W+=`${J[Q-2]}-${J[Q]}`.toUpperCase(),Y=!1;else if(J[Q+1]==="-"&&J[Q+2]?.match(/[a-z]/))W+=J[Q],Y=!0;else W+=`${J[Q]}${J[Q].toUpperCase()}`;continue}}else if(J[Q].match(/[a-z]/)){W+=`[${J[Q]}${J[Q].toUpperCase()}]`;continue}}if(q.m){if(J[Q]==="^"){W+=`(^|(?<=[\r
|
|
2
|
+
]))`;continue}else if(J[Q]==="$"){W+=`($|(?=[\r
|
|
3
|
+
]))`;continue}}if(q.s&&J[Q]==="."){W+=H?`${J[Q]}\r
|
|
4
|
+
`:`[${J[Q]}\r
|
|
5
|
+
]`;continue}if(W+=J[Q],J[Q]==="\\")X=!0;else if(H&&J[Q]==="]")H=!1;else if(!H&&J[Q]==="[")H=!0}try{new RegExp(W)}catch{return console.warn(`Could not convert regex pattern at ${$.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),_.source}return W}var X$=void 0,g,yq;var P_=z(()=>{p();g={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(X$===void 0)X$=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return X$},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};yq=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});function m_(_,$){if($.target==="openAi")console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");if($.target==="openApi3"&&_.keyType?._def.typeName===M.ZodEnum)return{type:"object",required:_.keyType._def.values,properties:_.keyType._def.values.reduce((J,W)=>({...J,[W]:v(_.valueType._def,{...$,currentPath:[...$.currentPath,"properties",W]})??E($)}),{}),additionalProperties:$.rejectedAdditionalProperties};let q={type:"object",additionalProperties:v(_.valueType._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]})??$.allowedAdditionalProperties};if($.target==="openApi3")return q;if(_.keyType?._def.typeName===M.ZodString&&_.keyType._def.checks?.length){let{type:J,...W}=I_(_.keyType._def,$);return{...q,propertyNames:W}}else if(_.keyType?._def.typeName===M.ZodEnum)return{...q,propertyNames:{enum:_.keyType._def.values}};else if(_.keyType?._def.typeName===M.ZodBranded&&_.keyType._def.type._def.typeName===M.ZodString&&_.keyType._def.type._def.checks?.length){let{type:J,...W}=k_(_.keyType._def,$);return{...q,propertyNames:W}}return q}var l_=z(()=>{F_();R();P_();g_();C()});function o$(_,$){if($.mapStrategy==="record")return m_(_,$);let q=v(_.keyType._def,{...$,currentPath:[...$.currentPath,"items","items","0"]})||E($),J=v(_.valueType._def,{...$,currentPath:[...$.currentPath,"items","items","1"]})||E($);return{type:"array",maxItems:125,items:{type:"array",items:[q,J],minItems:2,maxItems:2}}}var Q$=z(()=>{R();l_();C()});function d$(_){let $=_.values,J=Object.keys(_.values).filter((X)=>{return typeof $[$[X]]!=="number"}).map((X)=>$[X]),W=Array.from(new Set(J.map((X)=>typeof X)));return{type:W.length===1?W[0]==="string"?"string":"number":["string","number"],enum:J}}var Y$=()=>{};function t$(_){return _.target==="openAi"?void 0:{not:E({..._,currentPath:[..._.currentPath,"not"]})}}var G$=z(()=>{C()});function a$(_){return _.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var M$=()=>{};function e$(_,$){if($.target==="openApi3")return s$(_,$);let q=_.options instanceof Map?Array.from(_.options.values()):_.options;if(q.every((J)=>(J._def.typeName in z_)&&(!J._def.checks||!J._def.checks.length))){let J=q.reduce((W,X)=>{let H=z_[X._def.typeName];return H&&!W.includes(H)?[...W,H]:W},[]);return{type:J.length>1?J:J[0]}}else if(q.every((J)=>J._def.typeName==="ZodLiteral"&&!J.description)){let J=q.reduce((W,X)=>{let H=typeof X._def.value;switch(H){case"string":case"number":case"boolean":return[...W,H];case"bigint":return[...W,"integer"];case"object":if(X._def.value===null)return[...W,"null"];case"symbol":case"undefined":case"function":default:return W}},[]);if(J.length===q.length){let W=J.filter((X,H,Y)=>Y.indexOf(X)===H);return{type:W.length>1?W:W[0],enum:q.reduce((X,H)=>{return X.includes(H._def.value)?X:[...X,H._def.value]},[])}}}else if(q.every((J)=>J._def.typeName==="ZodEnum"))return{type:"string",enum:q.reduce((J,W)=>[...J,...W._def.values.filter((X)=>!J.includes(X))],[])};return s$(_,$)}var z_,s$=(_,$)=>{let q=(_.options instanceof Map?Array.from(_.options.values()):_.options).map((J,W)=>v(J._def,{...$,currentPath:[...$.currentPath,"anyOf",`${W}`]})).filter((J)=>!!J&&(!$.strictUnions||typeof J==="object"&&Object.keys(J).length>0));return q.length?{anyOf:q}:void 0};var T_=z(()=>{R();z_={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"}});function _q(_,$){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(_.innerType._def.typeName)&&(!_.innerType._def.checks||!_.innerType._def.checks.length)){if($.target==="openApi3")return{type:z_[_.innerType._def.typeName],nullable:!0};return{type:[z_[_.innerType._def.typeName],"null"]}}if($.target==="openApi3"){let J=v(_.innerType._def,{...$,currentPath:[...$.currentPath]});if(J&&"$ref"in J)return{allOf:[J],nullable:!0};return J&&{...J,nullable:!0}}let q=v(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","0"]});return q&&{anyOf:[q,{type:"null"}]}}var B$=z(()=>{R();T_()});function $q(_,$){let q={type:"number"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"int":q.type="integer",r_(q,"type",J.message,$);break;case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var D$=z(()=>{p()});function qq(_,$){let q=$.target==="openAi",J={type:"object",properties:{}},W=[],X=_.shape();for(let Y in X){let Q=X[Y];if(Q===void 0||Q._def===void 0)continue;let b=uq(Q);if(b&&q){if(Q._def.typeName==="ZodOptional")Q=Q._def.innerType;if(!Q.isNullable())Q=Q.nullable();b=!1}let L=v(Q._def,{...$,currentPath:[...$.currentPath,"properties",Y],propertyPath:[...$.currentPath,"properties",Y]});if(L===void 0)continue;if(J.properties[Y]=L,!b)W.push(Y)}if(W.length)J.required=W;let H=Zq(_,$);if(H!==void 0)J.additionalProperties=H;return J}function Zq(_,$){if(_.catchall._def.typeName!=="ZodNever")return v(_.catchall._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]});switch(_.unknownKeys){case"passthrough":return $.allowedAdditionalProperties;case"strict":return $.rejectedAdditionalProperties;case"strip":return $.removeAdditionalStrategy==="strict"?$.allowedAdditionalProperties:$.rejectedAdditionalProperties}}function uq(_){try{return _.isOptional()}catch{return!0}}var w$=z(()=>{R()});var Jq=(_,$)=>{if($.currentPath.toString()===$.propertyPath?.toString())return v(_.innerType._def,$);let q=v(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","1"]});return q?{anyOf:[{not:E($)},q]}:E($)};var b$=z(()=>{R();C()});var Wq=(_,$)=>{if($.pipeStrategy==="input")return v(_.in._def,$);else if($.pipeStrategy==="output")return v(_.out._def,$);let q=v(_.in._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),J=v(_.out._def,{...$,currentPath:[...$.currentPath,"allOf",q?"1":"0"]});return{allOf:[q,J].filter((W)=>W!==void 0)}};var z$=z(()=>{R()});function Xq(_,$){return v(_.type._def,$)}var S$=z(()=>{R()});function Hq(_,$){let J={type:"array",uniqueItems:!0,items:v(_.valueType._def,{...$,currentPath:[...$.currentPath,"items"]})};if(_.minSize)N(J,"minItems",_.minSize.value,_.minSize.message,$);if(_.maxSize)N(J,"maxItems",_.maxSize.value,_.maxSize.message,$);return J}var v$=z(()=>{p();R()});function Qq(_,$){if(_.rest)return{type:"array",minItems:_.items.length,items:_.items.map((q,J)=>v(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[]),additionalItems:v(_.rest._def,{...$,currentPath:[...$.currentPath,"additionalItems"]})};else return{type:"array",minItems:_.items.length,maxItems:_.items.length,items:_.items.map((q,J)=>v(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[])}}var A$=z(()=>{R()});function Yq(_){return{not:E(_)}}var j$=z(()=>{C()});function Gq(_){return E(_)}var O$=z(()=>{C()});var Mq=(_,$)=>{return v(_.innerType._def,$)};var N$=z(()=>{R()});var Bq=(_,$,q)=>{switch($){case M.ZodString:return I_(_,q);case M.ZodNumber:return $q(_,q);case M.ZodObject:return qq(_,q);case M.ZodBigInt:return x$(_,q);case M.ZodBoolean:return y$();case M.ZodDate:return s_(_,q);case M.ZodUndefined:return Yq(q);case M.ZodNull:return a$(q);case M.ZodArray:return h$(_,q);case M.ZodUnion:case M.ZodDiscriminatedUnion:return e$(_,q);case M.ZodIntersection:return i$(_,q);case M.ZodTuple:return Qq(_,q);case M.ZodRecord:return m_(_,q);case M.ZodLiteral:return c$(_,q);case M.ZodEnum:return p$(_);case M.ZodNativeEnum:return d$(_);case M.ZodNullable:return _q(_,q);case M.ZodOptional:return Jq(_,q);case M.ZodMap:return o$(_,q);case M.ZodSet:return Hq(_,q);case M.ZodLazy:return()=>_.getter()._def;case M.ZodPromise:return Xq(_,q);case M.ZodNaN:case M.ZodNever:return t$(q);case M.ZodEffects:return u$(_,q);case M.ZodAny:return E(q);case M.ZodUnknown:return Gq(q);case M.ZodDefault:return Z$(_,q);case M.ZodBranded:return k_(_,q);case M.ZodReadonly:return Mq(_,q);case M.ZodCatch:return n$(_,q);case M.ZodPipeline:return Wq(_,q);case M.ZodFunction:case M.ZodVoid:case M.ZodSymbol:return;default:return((J)=>{return})($)}};var E$=z(()=>{F_();C();o_();d_();t_();g_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();l_();v$();P_();A$();j$();T_();O$();N$()});function v(_,$,q=!1){let J=$.seen.get(_);if($.override){let Y=$.override?.(_,$,J,q);if(Y!==K$)return Y}if(J&&!q){let Y=pq(J,$);if(Y!==void 0)return Y}let W={def:_,path:$.currentPath,jsonSchema:void 0};$.seen.set(_,W);let X=Bq(_,_.typeName,$),H=typeof X==="function"?v(X(),$):X;if(H)iq(_,$,H);if($.postProcess){let Y=$.postProcess(H,_,$);return W.jsonSchema=H,Y}return W.jsonSchema=H,H}var pq=(_,$)=>{switch($.$refStrategy){case"root":return{$ref:_.path.join("/")};case"relative":return{$ref:f_($.currentPath,_.path)};case"none":case"seen":{if(_.path.length<$.currentPath.length&&_.path.every((q,J)=>$.currentPath[J]===q))return console.warn(`Recursive reference detected at ${$.currentPath.join("/")}! Defaulting to any`),E($);return $.$refStrategy==="seen"?E($):void 0}}},iq=(_,$,q)=>{if(_.description){if(q.description=_.description,$.markdownDescription)q.markdownDescription=_.description}return q};var R=z(()=>{S_();E$();C_();C()});var Dq=(_)=>{let $=F$(_),q=$.name!==void 0?[...$.basePath,$.definitionPath,$.name]:$.basePath;return{...$,flags:{hasReferencedOpenAiAnyType:!1},currentPath:q,propertyPath:void 0,seen:new Map(Object.entries($.definitions).map(([J,W])=>[W._def,{def:W._def,path:[...$.basePath,$.definitionPath,J],jsonSchema:void 0}]))}};var V$=z(()=>{S_()});var cq=(_,$)=>{let q=Dq($),J=typeof $==="object"&&$.definitions?Object.entries($.definitions).reduce((Q,[b,L])=>({...Q,[b]:v(L._def,{...q,currentPath:[...q.basePath,q.definitionPath,b]},!0)??E(q)}),{}):void 0,W=typeof $==="string"?$:$?.nameStrategy==="title"?void 0:$?.name,X=v(_._def,W===void 0?q:{...q,currentPath:[...q.basePath,q.definitionPath,W]},!1)??E(q),H=typeof $==="object"&&$.name!==void 0&&$.nameStrategy==="title"?$.name:void 0;if(H!==void 0)X.title=H;if(q.flags.hasReferencedOpenAiAnyType){if(!J)J={};if(!J[q.openAiAnyTypeName])J[q.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:q.$refStrategy==="relative"?"1":[...q.basePath,q.definitionPath,q.openAiAnyTypeName].join("/")}}}let Y=W===void 0?J?{...X,[q.definitionPath]:J}:X:{$ref:[...q.$refStrategy==="relative"?[]:q.basePath,q.definitionPath,W].join("/"),[q.definitionPath]:{...J,[W]:X}};if(q.target==="jsonSchema7")Y.$schema="http://json-schema.org/draft-07/schema#";else if(q.target==="jsonSchema2019-09"||q.target==="openAi")Y.$schema="https://json-schema.org/draft/2019-09/schema#";if(q.target==="openAi"&&(("anyOf"in Y)||("oneOf"in Y)||("allOf"in Y)||("type"in Y)&&Array.isArray(Y.type)))console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.");return Y};var R$=z(()=>{R();V$();C()});var wq=()=>{};var rq=z(()=>{R$();S_();V$();p();C_();R();wq();C();o_();d_();t_();g_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();N$();l_();v$();P_();A$();j$();T_();O$();E$();R$()});
|
|
6
|
+
export{cq as U1,rq as V1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ji as L,pi as h}from"./cli-1.1.33-kth7ttsa.mjs";import{Cv as M,Dj as Z,Dv as p,EM as C,Ej as v,FH as V,FO as W,Fs as _,GO as n,Hs as P,KH as S,NS as x,PS as c,QS as G,RS as R,SS as f,TS as l,UD as U,WD as g,gj as Y,hj as k,mM as j,nM as d,pP as b,qM as E,qu as $,ru as A,sC as N,tC as m,uv as B,vv as D,yP as o}from"./cli-1.1.33-vgynvhys.mjs";import{g9 as X,m9 as I}from"./cli-1.1.33-yy53bmhe.mjs";import{R$ as Q,R_ as O,S_ as T,Y$ as u}from"./cli-1.1.33-20v60hvd.mjs";import{_oa as K,bka as J,fpa as F}from"./cli-1.1.33-87p06j57.mjs";import{tqa as y,uqa as w}from"./cli-1.1.33-cfj1bzen.mjs";function Nq(H=new Set){let z=H.size>0;if(f.cache.clear?.(),R.cache.clear?.(),G.cache.clear?.(),Y.cache.clear?.(),L(),b(),!z)B();if(J(null),W(),E(),x("session_start"),U(),O.clear(),Z(),!z)V();if(X(),_(),!z)N();K(H),Q(),j(),M(),$(),import("./utils-1.1.33-613tmzqb.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-1.1.33-qv8tchk3.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-1.1.33-y4yydpcn.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-1.1.33-a9nfj0nx.mjs").then(({clearPromptCache:q})=>q())}var i=y(()=>{F();o();k();l();h();S();m();D();v();n();p();d();C();P();c();I();u();T();g();A()});
|
|
2
|
+
export{Nq as _h,i as $h};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{Db as d}from"./cli-1.1.33-ts50d9at.mjs";import{hV as v,iV as U,kV as f,lV as O,nV as b,oV as h,pV as c,uV as i}from"./cli-1.1.33-n55k105y.mjs";import{Z5 as y,e6 as u}from"./cli-1.1.33-t8cxmf0c.mjs";import{j6 as B,k6 as A}from"./cli-1.1.33-q8hq263y.mjs";import{E8 as p,W8 as s}from"./cli-1.1.33-0kvxjey5.mjs";import{x_ as Y,z_ as I}from"./cli-1.1.33-20v60hvd.mjs";import{Gia as H,Hia as m,Lia as T,bja as G,eja as D}from"./cli-1.1.33-241y9eee.mjs";import{Bja as q,Cja as S,Ija as F}from"./cli-1.1.33-90w26xxw.mjs";import{randomUUID as N}from"crypto";D();I();F();u();i();f();A();b();T();class j extends Error{retryAfterMs;constructor(J,K){super(J);this.retryAfterMs=K}}class R{pending=[];pendingAtClose=0;draining=!1;closed=!1;backpressureResolvers=[];sleepResolve=null;flushResolvers=[];droppedBatches=0;config;constructor(J){this.config=J}get droppedBatchCount(){return this.droppedBatches}get pendingCount(){return this.closed?this.pendingAtClose:this.pending.length}async enqueue(J){if(this.closed)return;let K=Array.isArray(J)?J:[J];if(K.length===0)return;while(this.pending.length+K.length>this.config.maxQueueSize&&!this.closed)await new Promise((Q)=>{this.backpressureResolvers.push(Q)});if(this.closed)return;this.pending.push(...K),this.drain()}flush(){if(this.pending.length===0&&!this.draining)return Promise.resolve();return this.drain(),new Promise((J)=>{this.flushResolvers.push(J)})}close(){if(this.closed)return;this.closed=!0,this.pendingAtClose=this.pending.length,this.pending=[],this.sleepResolve?.(),this.sleepResolve=null;for(let J of this.backpressureResolvers)J();this.backpressureResolvers=[];for(let J of this.flushResolvers)J();this.flushResolvers=[]}async drain(){if(this.draining||this.closed)return;this.draining=!0;let J=0;try{while(this.pending.length>0&&!this.closed){let K=this.takeBatch();if(K.length===0)continue;try{await this.config.send(K),J=0}catch(Q){if(J++,this.config.maxConsecutiveFailures!==void 0&&J>=this.config.maxConsecutiveFailures){this.droppedBatches++,this.config.onBatchDropped?.(K.length,J),J=0,this.releaseBackpressure();continue}this.pending=K.concat(this.pending);let W=Q instanceof j?Q.retryAfterMs:void 0;await this.sleep(this.retryDelay(J,W));continue}this.releaseBackpressure()}}finally{if(this.draining=!1,this.pending.length===0){for(let K of this.flushResolvers)K();this.flushResolvers=[]}}}takeBatch(){let{maxBatchSize:J,maxBatchBytes:K}=this.config;if(K===void 0)return this.pending.splice(0,J);let Q=0,W=0;while(W<this.pending.length&&W<J){let Z;try{Z=Buffer.byteLength(H(this.pending[W]))}catch{this.pending.splice(W,1);continue}if(W>0&&Q+Z>K)break;Q+=Z,W++}return this.pending.splice(0,W)}retryDelay(J,K){let Q=Math.random()*this.config.jitterMs;if(K!==void 0)return Math.max(this.config.baseDelayMs,Math.min(K,this.config.maxDelayMs))+Q;return Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs)+Q}releaseBackpressure(){let J=this.backpressureResolvers;this.backpressureResolvers=[];for(let K of J)K()}sleep(J){return new Promise((K)=>{this.sleepResolve=K,setTimeout((Q,W)=>{Q.sleepResolve=null,W()},J,this,K)})}}A();class M{inflight=null;pending=null;closed=!1;config;constructor(J){this.config=J}enqueue(J){if(this.closed)return;this.pending=this.pending?P(this.pending,J):J,this.drain()}close(){this.closed=!0,this.pending=null}async drain(){if(this.inflight||this.closed)return;if(!this.pending)return;let J=this.pending;this.pending=null,this.inflight=this.sendWithRetry(J).then(()=>{if(this.inflight=null,this.pending&&!this.closed)this.drain()})}async sendWithRetry(J){let K=J,Q=0;while(!this.closed){if(await this.config.send(K))return;if(Q++,await B(this.retryDelay(Q)),this.pending&&!this.closed)K=P(K,this.pending),this.pending=null}}retryDelay(J){let K=Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs),Q=Math.random()*this.config.jitterMs;return K+Q}}function P(J,K){let Q={...J};for(let[W,Z]of Object.entries(K))if((W==="external_metadata"||W==="internal_metadata")&&Q[W]&&typeof Q[W]==="object"&&typeof Z==="object"&&Z!==null)Q[W]={...Q[W],...Z};else Q[W]=Z;return Q}var g=20000,l=100;function E(){return!0}class k extends Error{reason;constructor(J){super(`CCRClient init failed: ${J}`);this.reason=J}}var n=10;function o(){return{byMessage:new Map,scopeToMessage:new Map}}function C(J){return`${J.session_id}:${J.parent_tool_use_id??""}`}function r(J,K){let Q=[],W=new Map;for(let Z of J){let $=Z.event;switch($.type){case"message_start":{let z=$.message.id,L=K.scopeToMessage.get(C(Z));if(L)K.byMessage.delete(L);K.scopeToMessage.set(C(Z),z),K.byMessage.set(z,[]),Q.push(Z);break}case"content_block_delta":{if($.delta.type!=="text_delta"){Q.push(Z);break}let z=K.scopeToMessage.get(C(Z)),L=z?K.byMessage.get(z):void 0;if(!L){Q.push(Z);break}let V=L[$.index]??=[];V.push($.delta.text);let X=W.get(V);if(X){X.event.delta.text=V.join("");break}let w={type:"stream_event",uuid:Z.uuid,session_id:Z.session_id,parent_tool_use_id:Z.parent_tool_use_id,event:{type:"content_block_delta",index:$.index,delta:{type:"text_delta",text:V.join("")}}};W.set(V,w),Q.push(w);break}default:Q.push(Z)}}return Q}function t(J,K){J.byMessage.delete(K.message.id);let Q=C(K);if(J.scopeToMessage.get(Q)===K.message.id)J.scopeToMessage.delete(Q)}class a{workerEpoch=0;heartbeatIntervalMs;heartbeatJitterFraction;heartbeatTimer=null;heartbeatInFlight=!1;closed=!1;consecutiveAuthFailures=0;currentState=null;sessionBaseUrl;sessionId;http=y({keepAlive:!0});streamEventBuffer=[];streamEventTimer=null;streamTextAccumulator=o();workerState;eventUploader;internalEventUploader;deliveryUploader;onEpochMismatch;getAuthHeaders;constructor(J,K,Q){if(this.onEpochMismatch=Q?.onEpochMismatch??(()=>{process.exit(1)}),this.heartbeatIntervalMs=Q?.heartbeatIntervalMs??g,this.heartbeatJitterFraction=Q?.heartbeatJitterFraction??0,this.getAuthHeaders=Q?.getAuthHeaders??U,K.protocol!=="http:"&&K.protocol!=="https:")throw Error(`CCRClient: Expected http(s) URL, got ${K.protocol}`);let W=K.pathname.replace(/\/$/,"");this.sessionBaseUrl=`${K.protocol}//${K.host}${W}`,this.sessionId=W.split("/").pop()||"",this.workerState=new M({send:(Z)=>this.request("put","/worker",{worker_epoch:this.workerEpoch,...Z},"PUT worker").then(($)=>$.ok),baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.eventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:1e5,send:async(Z)=>{let $=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:Z},"client events");if(!$.ok)throw new j("client event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.internalEventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:200,send:async(Z)=>{let $=await this.request("post","/worker/internal-events",{worker_epoch:this.workerEpoch,events:Z},"internal events");if(!$.ok)throw new j("internal event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.deliveryUploader=new R({maxBatchSize:64,maxQueueSize:64,send:async(Z)=>{let $=await this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:Z.map((z)=>({event_id:z.eventId,status:z.status}))},"delivery batch");if(!$.ok)throw new j("delivery POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),J.setOnEvent((Z)=>{this.reportDelivery(Z.event_id,"received")})}async initialize(J){let K=Date.now();if(Object.keys(this.getAuthHeaders()).length===0)throw new k("no_auth_headers");if(J===void 0){let z=process.env.CLAUDE_CODE_WORKER_EPOCH;J=z?parseInt(z,10):NaN}if(isNaN(J))throw new k("missing_epoch");this.workerEpoch=J;let Q=this.getWorkerState();if(!(await this.request("put","/worker",{worker_status:"idle",worker_epoch:this.workerEpoch,external_metadata:{pending_action:null,task_summary:null}},"PUT worker (init)")).ok)throw new k("worker_register_failed");this.currentState="idle",this.startHeartbeat(),h(()=>{this.writeEvent({type:"keep_alive"})}),G(`CCRClient: initialized, epoch=${this.workerEpoch}`),Y("info","cli_worker_lifecycle_initialized",{epoch:this.workerEpoch,duration_ms:Date.now()-K});let{metadata:Z,durationMs:$}=await Q;if(!this.closed)Y("info","cli_worker_state_restored",{duration_ms:$,had_state:Z!==null});return Z}async getWorkerState(){let J=Date.now(),K=this.getAuthHeaders();if(Object.keys(K).length===0)return{metadata:null,durationMs:0};return{metadata:(await this.getWithRetry(`${this.sessionBaseUrl}/worker`,K,"worker_state"))?.worker?.external_metadata??null,durationMs:Date.now()-J}}async request(J,K,Q,W,{timeout:Z=1e4}={}){let $=this.getAuthHeaders();if(Object.keys($).length===0)return{ok:!1};try{let z=await this.http[J](`${this.sessionBaseUrl}${K}`,Q,{headers:{...$,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:Z});if(z.status>=200&&z.status<300)return this.consecutiveAuthFailures=0,{ok:!0};if(z.status===409)this.handleEpochMismatch();if(z.status===401||z.status===403){let L=v(),V=L?d(L):null;if(V!==null&&V*1000<Date.now())G(`CCRClient: session_token expired (exp=${new Date(V*1000).toISOString()}) — no refresh was delivered, exiting`,{level:"error"}),Y("error","cli_worker_token_expired_no_refresh"),this.onEpochMismatch();if(this.consecutiveAuthFailures++,this.consecutiveAuthFailures>=n)G(`CCRClient: ${this.consecutiveAuthFailures} consecutive auth failures with a valid-looking token — server-side auth unrecoverable, exiting`,{level:"error"}),Y("error","cli_worker_auth_failures_exhausted"),this.onEpochMismatch()}if(G(`CCRClient: ${W} returned ${z.status}`,{level:"warn"}),Y("warn","cli_worker_request_failed",{method:J,path:K,status:z.status}),z.status===429){let L=z.headers?.["retry-after"],V=typeof L==="string"?parseInt(L,10):NaN;if(!isNaN(V)&&V>=0)return{ok:!1,retryAfterMs:V*1000}}return{ok:!1}}catch(z){return G(`CCRClient: ${W} failed: ${q(z)}`,{level:"warn"}),Y("warn","cli_worker_request_error",{method:J,path:K,error_code:S(z)}),{ok:!1}}}reportState(J,K){if(J===this.currentState&&!K)return;this.currentState=J,this.workerState.enqueue({worker_status:J,requires_action_details:K?{tool_name:K.tool_name,action_description:K.action_description,request_id:K.request_id}:null})}reportMetadata(J){this.workerState.enqueue({external_metadata:J})}handleEpochMismatch(){G("CCRClient: Epoch mismatch (409), shutting down",{level:"error"}),Y("error","cli_worker_epoch_mismatch"),this.onEpochMismatch()}startHeartbeat(){this.stopHeartbeat();let J=()=>{let Q=this.heartbeatIntervalMs*this.heartbeatJitterFraction*(2*Math.random()-1);this.heartbeatTimer=setTimeout(K,this.heartbeatIntervalMs+Q)},K=()=>{if(this.sendHeartbeat(),this.heartbeatTimer===null)return;J()};J()}stopHeartbeat(){if(this.heartbeatTimer)clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null}async sendHeartbeat(){if(this.heartbeatInFlight)return;this.heartbeatInFlight=!0;try{if((await this.request("post","/worker/heartbeat",{session_id:this.sessionId,worker_epoch:this.workerEpoch},"Heartbeat",{timeout:5000})).ok)G("CCRClient: Heartbeat sent")}finally{this.heartbeatInFlight=!1}}async writeEvent(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>void this.flushStreamEventBuffer(),l);return}if(await this.flushStreamEventBuffer(),J.type==="assistant")t(this.streamTextAccumulator,J);await this.eventUploader.enqueue(this.toClientEvent(J))}toClientEvent(J){let K=J;return{payload:{...K,uuid:typeof K.uuid==="string"?K.uuid:N()}}}async flushStreamEventBuffer(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;if(this.streamEventBuffer.length===0)return;let J=this.streamEventBuffer;this.streamEventBuffer=[];let K=r(J,this.streamTextAccumulator);await this.eventUploader.enqueue(K.map((Q)=>({payload:Q,ephemeral:!0})))}async writeInternalEvent(J,K,{isCompaction:Q=!1,agentId:W}={}){let Z={payload:{type:J,...K,uuid:typeof K.uuid==="string"?K.uuid:N()},...Q&&{is_compaction:!0},...W&&{agent_id:W}};await this.internalEventUploader.enqueue(Z)}flushInternalEvents(){return this.internalEventUploader.flush()}async flush(){return await this.flushStreamEventBuffer(),this.eventUploader.flush()}async readInternalEvents(){return this.paginatedGet("/worker/internal-events",{},"internal_events")}async readSubagentInternalEvents(){return this.paginatedGet("/worker/internal-events",{subagents:"true"},"subagent_events")}async paginatedGet(J,K,Q){let W=this.getAuthHeaders();if(Object.keys(W).length===0)return null;let Z=[],$;do{let z=new URL(`${this.sessionBaseUrl}${J}`);for(let[V,X]of Object.entries(K))z.searchParams.set(V,X);if($)z.searchParams.set("cursor",$);let L=await this.getWithRetry(z.toString(),W,Q);if(!L)return null;Z.push(...L.data??[]),$=L.next_cursor}while($);return G(`CCRClient: Read ${Z.length} internal events from ${J}${K.subagents?" (subagents)":""}`),Z}async getWithRetry(J,K,Q){for(let W=1;W<=10;W++){let Z;try{Z=await this.http.get(J,{headers:{...K,"anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:30000})}catch($){if(G(`CCRClient: GET ${J} failed (attempt ${W}/10): ${q($)}`,{level:"warn"}),W<10){let z=Math.min(500*2**(W-1),30000)+Math.random()*500;await B(z)}continue}if(Z.status>=200&&Z.status<300)return Z.data;if(Z.status===409)this.handleEpochMismatch();if(G(`CCRClient: GET ${J} returned ${Z.status} (attempt ${W}/10)`,{level:"warn"}),W<10){let $=Math.min(500*2**(W-1),30000)+Math.random()*500;await B($)}}return G("CCRClient: GET retries exhausted",{level:"error"}),Y("error","cli_worker_get_retries_exhausted",{context:Q}),null}reportDelivery(J,K){this.deliveryUploader.enqueue({eventId:J,status:K})}getWorkerEpoch(){return this.workerEpoch}get internalEventsPending(){return this.internalEventUploader.pendingCount}close(){if(this.closed=!0,this.stopHeartbeat(),c(),this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[],this.streamTextAccumulator.byMessage.clear(),this.streamTextAccumulator.scopeToMessage.clear(),this.workerState.close(),this.eventUploader.close(),this.internalEventUploader.close(),this.deliveryUploader.close()}}s();D();I();F();f();A();T();b();var e=1000,JJ=30000,KJ=600000,QJ=45000,WJ=new Set([401,403,404]),x=10,ZJ=500,$J=8000,GJ={stream:!0};function zJ(){return!0}function VJ(J){let K=[],Q=0,W;while((W=J.indexOf(`
|
|
2
|
+
|
|
3
|
+
`,Q))!==-1){let Z=J.slice(Q,W);if(Q=W+2,!Z.trim())continue;let $={},z=!1;for(let L of Z.split(`
|
|
4
|
+
`)){if(L.startsWith(":")){z=!0;continue}let V=L.indexOf(":");if(V===-1)continue;let X=L.slice(0,V),w=L[V+1]===" "?L.slice(V+2):L.slice(V+1);switch(X){case"event":$.event=w;break;case"id":$.id=w;break;case"data":$.data=$.data?$.data+`
|
|
5
|
+
`+w:w;break}}if($.data||z)K.push($)}return{frames:K,remaining:J.slice(Q)}}class YJ{url;state="idle";onData;onCloseCallback;onEventCallback;headers;sessionId;refreshHeaders;getAuthHeaders;abortController=null;lastSequenceNum=0;seenSequenceNums=new Set;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;livenessTimer=null;postUrl;constructor(J,K={},Q,W,Z,$){this.url=J;if(this.headers=K,this.sessionId=Q,this.refreshHeaders=W,this.getAuthHeaders=$??U,this.postUrl=LJ(J),Z!==void 0&&Z>0)this.lastSequenceNum=Z;G(`SSETransport: SSE URL = ${J.href}`),G(`SSETransport: POST URL = ${this.postUrl}`),Y("info","cli_sse_transport_initialized")}getLastSequenceNum(){return this.lastSequenceNum}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){G(`SSETransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Y("error","cli_sse_connect_failed");return}this.state="reconnecting";let J=Date.now(),K=new URL(this.url.href);if(this.lastSequenceNum>0)K.searchParams.set("from_sequence_num",String(this.lastSequenceNum));let Q=this.getAuthHeaders(),W={...this.headers,...Q,Accept:"text/event-stream","anthropic-version":"2023-06-01","User-Agent":O()};if(Q.Cookie)delete W.Authorization;if(this.lastSequenceNum>0)W["Last-Event-ID"]=String(this.lastSequenceNum);G(`SSETransport: Opening ${K.href}`),Y("info","cli_sse_connect_opening"),this.abortController=new AbortController;try{let Z=await fetch(K.href,{headers:W,signal:this.abortController.signal});if(!Z.ok){let z=WJ.has(Z.status);if(G(`SSETransport: HTTP ${Z.status}${z?" (permanent)":""}`,{level:"error"}),Y("error","cli_sse_connect_http_error",{status:Z.status}),z){this.state="closed",this.onCloseCallback?.(Z.status);return}this.handleConnectionError();return}if(!Z.body){G("SSETransport: No response body"),this.handleConnectionError();return}let $=Date.now()-J;G("SSETransport: Connected"),Y("info","cli_sse_connect_connected",{duration_ms:$}),this.state="connected",this.reconnectAttempts=0,this.reconnectStartTime=null,this.resetLivenessTimer(),await this.readStream(Z.body)}catch(Z){if(this.abortController?.signal.aborted)return;G(`SSETransport: Connection error: ${q(Z)}`,{level:"error"}),Y("error","cli_sse_connect_error"),this.handleConnectionError()}}async readStream(J){let K=J.getReader(),Q=new TextDecoder,W="";try{while(!0){let{done:Z,value:$}=await K.read();if(Z)break;W+=Q.decode($,GJ);let{frames:z,remaining:L}=VJ(W);W=L;for(let V of z){if(this.resetLivenessTimer(),V.id){let X=parseInt(V.id,10);if(!isNaN(X)){if(this.seenSequenceNums.has(X))G(`SSETransport: DUPLICATE frame seq=${X} (lastSequenceNum=${this.lastSequenceNum}, seenCount=${this.seenSequenceNums.size})`,{level:"warn"}),Y("warn","cli_sse_duplicate_sequence");else if(this.seenSequenceNums.add(X),this.seenSequenceNums.size>1000){let w=this.lastSequenceNum-200;for(let _ of this.seenSequenceNums)if(_<w)this.seenSequenceNums.delete(_)}if(X>this.lastSequenceNum)this.lastSequenceNum=X}}if(V.event&&V.data)this.handleSSEFrame(V.event,V.data);else if(V.data)G("SSETransport: Frame has data: but no event: field — dropped",{level:"warn"}),Y("warn","cli_sse_frame_missing_event_field")}}}catch(Z){if(this.abortController?.signal.aborted)return;G(`SSETransport: Stream read error: ${q(Z)}`,{level:"error"}),Y("error","cli_sse_stream_read_error")}finally{K.releaseLock()}if(this.state!=="closing"&&this.state!=="closed")G("SSETransport: Stream ended, reconnecting"),this.handleConnectionError()}handleSSEFrame(J,K){if(J!=="client_event"){G(`SSETransport: Unexpected SSE event type '${J}' on worker stream`,{level:"warn"}),Y("warn","cli_sse_unexpected_event_type",{event_type:J});return}let Q;try{Q=m(K)}catch(Z){G(`SSETransport: Failed to parse client_event data: ${q(Z)}`,{level:"error"});return}let W=Q.payload;if(W&&typeof W==="object"&&"type"in W){let Z=this.sessionId?` session=${this.sessionId}`:"";G(`SSETransport: Event seq=${Q.sequence_num} event_id=${Q.event_id} event_type=${Q.event_type} payload_type=${String(W.type)}${Z}`),Y("info","cli_sse_message_received"),this.onData?.(H(W)+`
|
|
6
|
+
`)}else G(`SSETransport: Ignoring client_event with no type in payload: event_id=${Q.event_id}`);this.onEventCallback?.(Q)}handleConnectionError(){if(this.clearLivenessTimer(),this.state==="closing"||this.state==="closed")return;this.abortController?.abort(),this.abortController=null;let J=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=J;let K=J-this.reconnectStartTime;if(K<KJ){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.refreshHeaders){let Z=this.refreshHeaders();Object.assign(this.headers,Z),G("SSETransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let Q=Math.min(e*Math.pow(2,this.reconnectAttempts-1),JJ),W=Math.max(0,Q+Q*0.25*(2*Math.random()-1));G(`SSETransport: Reconnecting in ${Math.round(W)}ms (attempt ${this.reconnectAttempts}, ${Math.round(K/1000)}s elapsed)`),Y("error","cli_sse_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},W)}else G(`SSETransport: Reconnection time budget exhausted after ${Math.round(K/1000)}s`,{level:"error"}),Y("error","cli_sse_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:K}),this.state="closed",this.onCloseCallback?.()}onLivenessTimeout=()=>{this.livenessTimer=null,G("SSETransport: Liveness timeout, reconnecting",{level:"error"}),Y("error","cli_sse_liveness_timeout"),this.abortController?.abort(),this.handleConnectionError()};resetLivenessTimer(){this.clearLivenessTimer(),this.livenessTimer=setTimeout(this.onLivenessTimeout,QJ)}clearLivenessTimer(){if(this.livenessTimer)clearTimeout(this.livenessTimer),this.livenessTimer=null}async write(J){let K=this.getAuthHeaders();if(Object.keys(K).length===0){G("SSETransport: No session token available for POST"),Y("warn","cli_sse_post_no_token");return}let Q={...K,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()};G(`SSETransport: POST body keys=${Object.keys(J).join(",")}`);for(let W=1;W<=x;W++){try{let $=await p.post(this.postUrl,J,{headers:Q,validateStatus:zJ});if($.status===200||$.status===201){G(`SSETransport: POST success type=${J.type}`);return}if(G(`SSETransport: POST ${$.status} body=${H($.data).slice(0,200)}`),$.status>=400&&$.status<500&&$.status!==429){G(`SSETransport: POST returned ${$.status} (client error), not retrying`),Y("warn","cli_sse_post_client_error",{status:$.status});return}G(`SSETransport: POST returned ${$.status}, attempt ${W}/${x}`),Y("warn","cli_sse_post_retryable_error",{status:$.status,attempt:W})}catch($){G(`SSETransport: POST error: ${$.message}, attempt ${W}/${x}`),Y("warn","cli_sse_post_network_error",{attempt:W})}if(W===x){G(`SSETransport: POST failed after ${x} attempts, continuing`),Y("warn","cli_sse_post_retries_exhausted");return}let Z=Math.min(ZJ*Math.pow(2,W-1),$J);await B(Z)}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnClose(J){this.onCloseCallback=J}setOnEvent(J){this.onEventCallback=J}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.clearLivenessTimer(),this.state="closing",this.abortController?.abort(),this.abortController=null}}function LJ(J){let K=J.pathname;if(K.endsWith("/stream"))K=K.slice(0,-7);return`${J.protocol}//${J.host}${K}`}
|
|
7
|
+
export{R as ub,k as vb,a as wb,YJ as xb};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{DX as z,JX as Bq,KX as xq,mY as Aq}from"./cli-1.1.33-9zba2a1d.mjs";import{g6 as H,h6 as Rq}from"./cli-1.1.33-v08vb0sv.mjs";import{D$ as zq,Eea as b,M$ as G,O$ as o,T9 as Yq,U_ as $q,V_ as jq,W9 as Zq,X9 as wq,_fa as v,dga as a,j_ as W,jea as l,l_ as Mq,lea as Gq,o_ as _,q_ as R,w$ as p,yaa as N,zaa as m}from"./cli-1.1.33-20v60hvd.mjs";import{pha as T,rha as Wq}from"./cli-1.1.33-3de2dtv6.mjs";import{Gia as Qq,Hia as Xq,Lia as _q,Pia as c,Tia as Hq}from"./cli-1.1.33-241y9eee.mjs";import{Gja as E,Ija as Uq}from"./cli-1.1.33-90w26xxw.mjs";import{Epa as s,Fpa as Lq}from"./cli-1.1.33-5ehc9tkd.mjs";import{tqa as A}from"./cli-1.1.33-cfj1bzen.mjs";function h(){let q=l(T(),c().existsSync)!==null,J=p(T());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:J},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:q,isCompletable:!0,isEnabled:!J}]}function I(){return h().filter(({isCompletable:q,isEnabled:J})=>q&&J).every(({isComplete:q})=>q)}var y=A(()=>{Wq();zq();Hq();Gq()});function i(){if(N().hasCompletedProjectOnboarding)return;if(I())m((q)=>({...q,hasCompletedProjectOnboarding:!0}))}var lq;var n=A(()=>{Lq();b();y();y();lq=s(()=>{let q=N();if(q.hasCompletedProjectOnboarding||q.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!I()})});import{stat as r}from"fs/promises";import{homedir as Vq}from"os";import{join as vq}from"path";function Oq(q){_((J)=>({...J,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:q}))}function U(){_((q)=>({...q,appleTerminalSetupInProgress:!1}))}function Fq(){let q=R();return{inProgress:q.appleTerminalSetupInProgress??!1,backupPath:q.appleTerminalBackupPath||null}}function w(){return vq(Vq(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let q=w(),J=`${q}.bak`;try{let{code:K}=await G("defaults",["export","com.apple.Terminal",q]);if(K!==0)return null;try{await r(q)}catch{return null}return await G("defaults",["export","com.apple.Terminal",J]),Oq(J),J}catch(K){return v(K),null}}async function e(){let{inProgress:q,backupPath:J}=Fq();if(!q)return{status:"no_backup"};if(!J)return U(),{status:"no_backup"};try{await r(J)}catch{return U(),{status:"no_backup"}}try{let{code:K}=await G("defaults",["import","com.apple.Terminal",J]);if(K!==0)return{status:"failed",backupPath:J};return await G("killall",["cfprefsd"]),U(),{status:"restored"}}catch(K){return v(Error(`Failed to restore Terminal.app settings with: ${K}`)),U(),{status:"failed",backupPath:J}}}var qq=A(()=>{b();o();a()});import{randomBytes as k}from"crypto";import{copyFile as g,mkdir as f,readFile as u,writeFile as P}from"fs/promises";import{homedir as d,platform as S}from"os";import{dirname as Iq,join as O}from"path";import{pathToFileURL as Sq}from"url";function Dq(){let q=process.env.VSCODE_GIT_ASKPASS_MAIN??"",J=process.env.PATH??"";return q.includes(".vscode-server")||q.includes(".cursor-server")||q.includes(".windsurf-server")||J.includes(".vscode-server")||J.includes(".cursor-server")||J.includes(".windsurf-server")}function FJ(){if(!W.terminal||!(W.terminal in D))return null;return D[W.terminal]??null}function L(q){if(!Bq())return q;return`\x1B]8;;${Sq(q).href}\x07${q}\x1B]8;;\x07`}function Eq(){return S()==="darwin"&&W.terminal==="Apple_Terminal"||W.terminal==="vscode"||W.terminal==="cursor"||W.terminal==="windsurf"||W.terminal==="alacritty"||W.terminal==="zed"}async function Tq(q){let J="";switch(W.terminal){case"Apple_Terminal":J=await yq(q);break;case"vscode":J=await C("VSCode",q);break;case"cursor":J=await C("Cursor",q);break;case"windsurf":J=await C("Windsurf",q);break;case"alacritty":J=await Nq(q);break;case"zed":J=await bq(q);break;case null:break}return _((K)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(W.terminal??"")){if(K.shiftEnterKeyBindingInstalled===!0)return K;return{...K,shiftEnterKeyBindingInstalled:!0}}else if(W.terminal==="Apple_Terminal"){if(K.optionAsMetaKeyInstalled===!0)return K;return{...K,optionAsMetaKeyInstalled:!0}}return K}),i(),J}function UJ(){return R().shiftEnterKeyBindingInstalled===!0}function _J(){return R().hasUsedBackslashReturn===!0}function RJ(){if(!R().hasUsedBackslashReturn)_((J)=>({...J,hasUsedBackslashReturn:!0}))}async function wJ(q,J,K){if(W.terminal&&W.terminal in D){let X=`Shift+Enter is natively supported in ${D[W.terminal]}.
|
|
2
|
+
|
|
3
|
+
No configuration needed. Just use Shift+Enter to add newlines.`;return q(X),null}if(!Eq()){let X=W.terminal||"your current terminal",Y=$q(),B="";if(Y==="macos")B=` • macOS: Apple Terminal
|
|
4
|
+
`;else if(Y==="windows")B=` • Windows: Windows Terminal
|
|
5
|
+
`;let Z=`Terminal setup cannot be run from ${X}.
|
|
6
|
+
|
|
7
|
+
This command configures a convenient Shift+Enter shortcut for multi-line prompts.
|
|
8
|
+
${H.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
|
|
9
|
+
|
|
10
|
+
To set up the shortcut (optional):
|
|
11
|
+
1. Exit tmux/screen temporarily
|
|
12
|
+
2. Run /terminal-setup directly in one of these terminals:
|
|
13
|
+
${B} • IDE: VSCode, Cursor, Windsurf, Zed
|
|
14
|
+
• Other: Alacritty
|
|
15
|
+
3. Return to tmux/screen - settings will persist
|
|
16
|
+
|
|
17
|
+
${H.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return q(Z),null}let $=await Tq(J.options.theme);return q($),null}async function C(q="VSCode",J){if(Dq())return`${z("warning",J)(`Cannot install keybindings from a remote ${q} session.`)}${Q}${Q}${q} keybindings must be installed on your local machine, not the remote server.${Q}${Q}To install the Shift+Enter keybinding:${Q}1. Open ${q} on your local machine (not connected to remote)${Q}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${Q}3. Add this keybinding (the file must be a JSON array):${Q}${Q}${H.dim(`[
|
|
18
|
+
{
|
|
19
|
+
"key": "shift+enter",
|
|
20
|
+
"command": "workbench.action.terminal.sendSequence",
|
|
21
|
+
"args": { "text": "\\u001b\\r" },
|
|
22
|
+
"when": "terminalFocus"
|
|
23
|
+
}
|
|
24
|
+
]`)}${Q}`;let K=q==="VSCode"?"Code":q,$=O(d(),S()==="win32"?O("AppData","Roaming",K,"User"):S()==="darwin"?O("Library","Application Support",K,"User"):O(".config",K,"User")),X=O($,"keybindings.json");try{await f($,{recursive:!0});let Y="[]",B=[],Z=!1;try{Y=await u(X,{encoding:"utf-8"}),Z=!0,B=Yq(Y)??[]}catch(V){if(!E(V))throw V}if(Z){let V=k(4).toString("hex"),x=`${X}.${V}.bak`;try{await g(X,x)}catch{return`${z("warning",J)(`Error backing up existing ${q} terminal keybindings. Bailing out.`)}${Q}${H.dim(`See ${L(X)}`)}${Q}${H.dim(`Backup path: ${L(x)}`)}${Q}`}}if(B.find((V)=>V.key==="shift+enter"&&V.command==="workbench.action.terminal.sendSequence"&&V.when==="terminalFocus"))return`${z("warning",J)(`Found existing ${q} terminal Shift+Enter key binding. Remove it to continue.`)}${Q}${H.dim(`See ${L(X)}`)}${Q}`;let j=Zq(Y,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await P(X,j,{encoding:"utf-8"}),`${z("success",J)(`Installed ${q} terminal Shift+Enter key binding`)}${Q}${H.dim(`See ${L(X)}`)}${Q}`}catch(Y){throw v(Y),Error(`Failed to install ${q} terminal Shift+Enter key binding`)}}async function Jq(q){let{code:J}=await G("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${q}':useOptionAsMetaKey bool true`,w()]);if(J!==0){let{code:K}=await G("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${q}':useOptionAsMetaKey true`,w()]);if(K!==0)return v(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${q}`)),!1}return!0}async function Kq(q){let{code:J}=await G("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${q}':Bell bool false`,w()]);if(J!==0){let{code:K}=await G("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${q}':Bell false`,w()]);if(K!==0)return v(Error(`Failed to disable audio bell for Terminal.app profile: ${q}`)),!1}return!0}async function yq(q){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:K,code:$}=await G("defaults",["read","com.apple.Terminal","Default Window Settings"]);if($!==0||!K.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:X,code:Y}=await G("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(Y!==0||!X.trim())throw Error("Failed to read startup Terminal.app profile");let B=!1,Z=K.trim(),F=await Jq(Z),M=await Kq(Z);if(F||M)B=!0;let j=X.trim();if(j!==Z){let V=await Jq(j),x=await Kq(j);if(V||x)B=!0}if(!B)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await G("killall",["cfprefsd"]),U(),`${z("success",q)("Configured Terminal.app settings:")}${Q}${z("success",q)('- Enabled "Use Option as Meta key"')}${Q}${z("success",q)("- Switched to visual bell")}${Q}${H.dim("Option+Enter will now enter a newline.")}${Q}${H.dim("You must restart Terminal.app for changes to take effect.",q)}${Q}`}catch(J){v(J);let K=await e(),$="Failed to enable Option as Meta key for Terminal.app.";if(K.status==="restored")throw Error(`${$} Your settings have been restored from backup.`);else if(K.status==="failed")throw Error(`${$} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${K.backupPath}`);else throw Error(`${$} No backup was available to restore from.`)}}async function Nq(q){let K=[],$=process.env.XDG_CONFIG_HOME;if($)K.push(O($,"alacritty","alacritty.toml"));else K.push(O(d(),".config","alacritty","alacritty.toml"));if(S()==="win32"){let Z=process.env.APPDATA;if(Z)K.push(O(Z,"alacritty","alacritty.toml"))}let X=null,Y="",B=!1;for(let Z of K)try{Y=await u(Z,{encoding:"utf-8"}),X=Z,B=!0;break}catch(F){if(!E(F))throw F}if(!X)X=K[0]??null;if(!X)throw Error("No valid config path found for Alacritty");try{if(B){if(Y.includes('mods = "Shift"')&&Y.includes('key = "Return"'))return`${z("warning",q)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${Q}${H.dim(`See ${L(X)}`)}${Q}`;let F=k(4).toString("hex"),M=`${X}.${F}.bak`;try{await g(X,M)}catch{return`${z("warning",q)("Error backing up existing Alacritty config. Bailing out.")}${Q}${H.dim(`See ${L(X)}`)}${Q}${H.dim(`Backup path: ${L(M)}`)}${Q}`}}else await f(Iq(X),{recursive:!0});let Z=Y;if(Y&&!Y.endsWith(`
|
|
25
|
+
`))Z+=`
|
|
26
|
+
`;return Z+=`
|
|
27
|
+
[[keyboard.bindings]]
|
|
28
|
+
key = "Return"
|
|
29
|
+
mods = "Shift"
|
|
30
|
+
chars = "\\u001B\\r"
|
|
31
|
+
`,await P(X,Z,{encoding:"utf-8"}),`${z("success",q)("Installed Alacritty Shift+Enter key binding")}${Q}${z("success",q)("You may need to restart Alacritty for changes to take effect")}${Q}${H.dim(`See ${L(X)}`)}${Q}`}catch(Z){throw v(Z),Error("Failed to install Alacritty Shift+Enter key binding")}}async function bq(q){let J=O(d(),".config","zed"),K=O(J,"keymap.json");try{await f(J,{recursive:!0});let $="[]",X=!1;try{$=await u(K,{encoding:"utf-8"}),X=!0}catch(B){if(!E(B))throw B}if(X){if($.includes("shift-enter"))return`${z("warning",q)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${Q}${H.dim(`See ${L(K)}`)}${Q}`;let B=k(4).toString("hex"),Z=`${K}.${B}.bak`;try{await g(K,Z)}catch{return`${z("warning",q)("Error backing up existing Zed keymap. Bailing out.")}${Q}${H.dim(`See ${L(K)}`)}${Q}${H.dim(`Backup path: ${L(Z)}`)}${Q}`}}let Y;try{if(Y=Xq($),!Array.isArray(Y))Y=[]}catch{Y=[]}return Y.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await P(K,Qq(Y,null,2)+`
|
|
32
|
+
`,{encoding:"utf-8"}),`${z("success",q)("Installed Zed Shift+Enter key binding")}${Q}${H.dim(`See ${L(K)}`)}${Q}`}catch($){throw v($),Error("Failed to install Zed Shift+Enter key binding")}}var Q=`
|
|
33
|
+
`,D;var Cq=A(()=>{Rq();xq();Aq();n();qq();b();Mq();Uq();o();wq();a();jq();_q();D={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
|
|
34
|
+
export{i as fW,n as gW,e as hW,qq as iW,FJ as jW,Eq as kW,Tq as lW,UJ as mW,_J as nW,RJ as oW,wJ as pW,Cq as qW};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{Em as h,Fm as wQ,Gm as u,Hm as LQ,Ml as jQ,rM as E,sM as MQ}from"./cli-1.1.33-vgynvhys.mjs";import{Pia as U,Tia as UQ,bja as j,eja as XQ}from"./cli-1.1.33-241y9eee.mjs";import{Cja as _,Ija as vQ}from"./cli-1.1.33-90w26xxw.mjs";import{pqa as GQ,tqa as C}from"./cli-1.1.33-cfj1bzen.mjs";function WQ(Z){let Q=[],$=null;return Z.split(`
|
|
2
|
+
`).forEach((W,Y)=>{let J=r.exec(W);if(J){$=$===null?J[1]??"":null;return}Q.push({text:W,number:Y+1,fence:$})}),Q}function YQ(Z){return Z.split(/\s+/).map((Q)=>Q.replace(/[,;]+$/,"")).filter((Q)=>Q.length>0)}function qQ(Z){return Z.match(a)?.length??0}function JQ(Z,Q,$){let W="",Y=[];for(let{text:J,number:q,fence:z}of Z){if(z===null||b.has(z))continue;let V=s.exec(J);if(V?.[1]!==void 0){W=V[1],Y=[];continue}let H=l.exec(J);if(!H)continue;let K=qQ(H[1]??""),B=Y[K]??W,G=J.slice(H[0].length).split(o)[0]??"",w=!1,X=null;for(let L of YQ(G)){let S=t.exec(L);if(S?.[1]!==void 0&&X!==null){$.push({path:X,claimed:Number(S[1].replace(/,/g,"")),line:J,lineNumber:q}),X=null;continue}X=null;let y=n.test(L);if(!y&&!i.test(L))continue;let M=B+L;if(Q.push({path:M,line:J,lineNumber:q}),!y)continue;if(X=M,!w)Y[K+1]=M,w=!0}Y.length=Math.min(Y.length,K+2)}}function VQ(Z,Q,$){for(let{text:W,number:Y,fence:J}of Z){if(J!==null&&b.has(J))continue;for(let q of W.matchAll(e)){let z=q[1],V=q[2];if(z===void 0||V===void 0)continue;let H=QQ.exec(V);if(H?.[1]!==void 0){let B=H[2]?.toLowerCase()==="k"?1000:1,G=Math.round(Number(H[1].replace(/,/g,""))*B);if(Number.isFinite(G)&&G>0)Q.push({file:z,claimed:G,line:W,lineNumber:Y});continue}let K=V.split(",").map((B)=>B.trim());if(K.length===0||K.some((B)=>B.length===0))continue;if(!K.every((B)=>ZQ.test(B)&&$Q.test(B)))continue;$.push({file:z,symbols:K,line:W,lineNumber:Y})}}}function I(Z){let Q=WQ(Z),$={fencedPaths:[],dirCounts:[],attributions:[],lineCounts:[]};return JQ(Q,$.fencedPaths,$.dirCounts),VQ(Q,$.lineCounts,$.attributions),$}function A(Z,Q){if(Q.includes("/"))return Z.includes(Q)?Q:null;let $=null;for(let W of Z){if(!W.endsWith(`/${Q}`)&&W!==Q)continue;if($!==null)return null;$=W}return $}function T(Z,Q,$){let W=Q.endsWith("/")?Q:`${Q}/`;return Z.filter((Y)=>Y.startsWith(W)&&$.some((J)=>Y.endsWith(J))).length}function k(Z){let Q=Z.slice(Z.lastIndexOf("/")+1),$=Q.lastIndexOf(".");if($<=0)return null;return Q.slice($).toLowerCase()}function P(Z){let Q=new Map;for(let $ of Z){let W=k($);if(W===null)continue;Q.set(W,(Q.get(W)??0)+1)}return Q}function O(Z){let Q=[...Z.values()].reduce((J,q)=>J+q,0);if(Q===0)return[];let $=[...Z].sort(([,J],[,q])=>q-J),W=[],Y=0;for(let[J,q]of $){if(W.length>=KQ)break;if(W.length>0&&q/Q<BQ)break;if(W.push(J),Y+=q,Y/Q>=zQ)break}return W}function N(Z){let Q=Z.filter((W)=>{let Y=k(W);return Y!==null&&!HQ.has(Y)}),$=O(P(Q));return $.length>0?$:O(P(Z))}function p(Z,Q){return Math.abs(Q-Z)>Math.max(3,Z*0.1)}function x(Z,Q){return Q*2<Z||Z*2<Q}var b,r,l,a,s,o,n,i,t,e,QQ,ZQ,$Q,HQ,zQ=0.9,BQ=0.02,KQ=6;var F=C(()=>{b=new Set(["typescript","ts","tsx","javascript","js","jsx","json","jsonc","yaml","yml","diff","python","go","rust"]),r=/^\s*```(\S*)/,l=/^((?:[│|]\s{0,4}|\s{4}|\s{2})*)(?:├──|└──|├─|└─|\|--)\s*/,a=/[│|]\s{0,4}|\s{4}|\s{2}/g,s=/^((?:[\w.@-]+\/)+)\s*$/,o=/\s*(?:←|<-|<--)\s*/,n=/^[\w.@-]+\/$/,i=/^[\w.@-]*[\w-]\.[a-zA-Z]\w{0,3}$/,t=/^\((\d[\d,]*)\)$/,e=/((?:[\w.@-]+\/)*[\w.@-]*[\w-]\.[a-zA-Z]\w{0,3})`?\s*\(([^()\n]*)\)/g,QQ=/~?(\d[\d,]*(?:\.\d+)?)\s*(k?)[-\s]lines?\b/i,ZQ=/^[A-Za-z_$][\w$]*$/,$Q=/[a-z][A-Z]|_/;HQ=new Set([".md",".mdx",".txt",".json",".jsonc",".yml",".yaml",".toml",".mod",".ini",".cfg",".lock",".snap",".csv",".svg",".png",".jpg",".jpeg",".gif",".ico",".webp",".pdf",".pem",".exe",".bin",".wasm",".map"])});import{execFile as AQ}from"child_process";import{isAbsolute as f,join as v,relative as DQ,sep as R}from"path";import{promisify as SQ}from"util";async function RQ(Z){try{let{stdout:Q}=await OQ("git",["-c","core.quotepath=false","ls-files"],{cwd:Z,encoding:"utf8",timeout:CQ,maxBuffer:bQ});return Q.split(`
|
|
3
|
+
`).filter(($)=>$.length>0)}catch(Q){return j(`[rulesLint] git ls-files failed in ${Z}: ${String(Q)}`),null}}function gQ(Z){if(Z.length===0)return!1;if(NQ.some((Q)=>Z.includes(Q)))return!1;if(f(Z))return!1;if(!Z.includes("/"))return!1;return/^[\w.@-]+(?:\/[\w.@-]+)+\/?$/.test(Z)}function D(Z,Q){let $=U();if($.existsSync(v(Z,Q)))return!0;if(!g.test(Q))return!1;let W=Q.replace(g,"");return[".ts",".tsx"].some((Y)=>$.existsSync(v(Z,W+Y)))}function d(Z,Q){let $=Q.split("/")[0];if(!$)return!1;let W=U(),Y=v(Z,$);try{return W.existsSync(Y)&&W.statSync(Y).isDirectory()}catch{return!1}}function _Q(Z){let Q=new Set,$=[];for(let W of Z.split(`
|
|
4
|
+
`))for(let Y of W.matchAll(IQ)){let J=Y[1];if(!J)continue;let q=J.trim().replace(kQ,"").replace(TQ,"");if(gQ(q)&&!Q.has(q))Q.add(q),$.push({path:q,line:W})}return $}async function hQ(Z,Q){let $=U();try{let W=await $.readFile(v(Z,Q),{encoding:"utf8"}),Y=W.split(`
|
|
5
|
+
`).length;return W.endsWith(`
|
|
6
|
+
`)?Y-1:Y}catch(W){return j(`[rulesLint] unreadable source ${Q}: ${String(W)}`),null}}async function uQ(Z,Q){let $=h(Q);if($===null)return null;let W=U(),Y;try{Y=await W.readFile(v(Z,Q),{encoding:"utf8"})}catch(q){return j(`[rulesLint] unreadable source ${Q}: ${String(q)}`),null}if(xQ.test(Y))return null;let J=new Set(u(Y,$).map((q)=>q.name));for(let q of Y.matchAll(FQ))for(let z of(q[1]??"").split(",")){let V=z.trim().split(/\s+as\s+/).pop()?.trim();if(V)J.add(V.replace(/^type\s+/,""))}return J}async function EQ(Z,Q,$,W,Y){let J=N(W);for(let{path:q,lineNumber:z}of $.fencedPaths){if(!d(Z,q))continue;if(D(Z,q))continue;Y.push({file:Q,line:z,kind:"missing_path",severity:"warning",message:`names \`${q}\` inside a fenced block, which does not exist`,fix:"Update or remove it — a map that lists a directory the tree no longer has sends the agent to search for nothing."})}for(let{path:q,claimed:z,lineNumber:V}of $.dirCounts){if(!D(Z,q))continue;let H=T(W,q,J);if(!p(z,H))continue;Y.push({file:Q,line:V,kind:"dir_count_drift",severity:"warning",message:`says \`${q}\` holds ${z} files; it holds ${H}`,fix:"Re-count or run `bun run verify:rules --fix`. A gap this size means the slice moved, split or died, not that it grew."})}for(let{file:q,claimed:z,lineNumber:V}of $.lineCounts){let H=A(W,q);if(H===null)continue;let K=await hQ(Z,H);if(K===null||!x(z,K))continue;Y.push({file:Q,line:V,kind:"stale_line_count",severity:"warning",message:`says \`${H}\` is ~${z.toLocaleString()} lines; it is ${K.toLocaleString()}`,fix:"Re-measure, or point the claim at the directory — a barrel and its implementation siblings are the usual mix-up."})}for(let{file:q,symbols:z,lineNumber:V}of $.attributions){let H=A(W,q);if(H===null)continue;let K=await uQ(Z,H);if(K===null)continue;let B=z.filter((G)=>!K.has(G));if(B.length===0)continue;Y.push({file:Q,line:V,kind:"wrong_attribution",severity:"warning",message:`places ${B.map((G)=>`\`${G}\``).join(", ")} in \`${H}\`, which does not define ${B.length===1?"it":"them"}`,fix:"Attribute the symbol to the file that declares it — importing a name is not defining it, and the map is what decides where the agent greps."})}}async function c(Z){let Q=U(),$;try{$=await Q.readdir(Z)}catch(Y){let J=_(Y);if(J==="ENOENT"||J==="EACCES"||J==="ENOTDIR")return[];throw Y}let W=[];for(let Y of $){let J=v(Z,Y.name);if(Y.isDirectory())W.push(...await c(J));else if(Y.isFile()&&Y.name.endsWith(".md"))W.push(J)}return W.sort()}function mQ(Z,Q){let $=m.default().add(Z);return Q.some((W)=>{if(W.startsWith("..")||f(W))return!1;return $.ignores(W)})}async function QZ(Z={}){let Q=U(),$=Z.root??Q.cwd(),W=await c(v($,PQ)),Y=yQ.map((V)=>v($,V)).filter((V)=>Q.existsSync(V)),J=Z.trackedFiles??await RQ($)??null,q=[],z=[];for(let V of[...W,...Y]){let H;try{H=await Q.readFile(V,{encoding:"utf8"})}catch(G){j(`[rulesLint] unreadable rule file ${V}: ${String(G)}`);continue}let K=!V.includes(`${R}rules${R}`),B=E(H);if(K)z.push({file:V,chars:H.length});if(!K){for(let G of B.unsupportedKeys)q.push({file:V,kind:"unsupported_key",severity:"error",message:`frontmatter key \`${G}\` is not supported and is ignored`,fix:G==="globs"?"Rename `globs:` to `paths:` — as written, the rule loads into every session instead of the files you scoped it to.":"Remove the key. Only `paths` is read; anything else leaves the rule unconditional."});if(B.malformedPaths)q.push({file:V,kind:"malformed_paths",severity:"error",message:"`paths:` is not a string or a list of strings",fix:'Write `paths: "src/**/*.ts"` or a YAML list of strings.'});if(!B.paths)z.push({file:V,chars:H.length});else if(J){if(!mQ(B.paths,J))q.push({file:V,kind:"inert_paths",severity:"error",message:`\`paths:\` matches no tracked file (${B.paths.join(", ")})`,fix:"Fix the patterns. As written the rule never loads, which is indistinguishable from a working rule at runtime."})}}for(let{path:G,line:w}of _Q(B.content)){if(!d($,G))continue;if(D($,G))continue;if(pQ.test(w))continue;q.push({file:V,kind:"missing_path",severity:"warning",message:`cites \`${G}\`, which does not exist`,fix:"Update or remove the reference — a rule that names a moved file sends the agent to the wrong place."})}if(J)await EQ($,V,I(H),J,q)}return{findings:q,unconditional:z,unconditionalChars:z.reduce((V,H)=>V+H.chars,0),filesChecked:W.length+Y.length}}function ZZ(Z,Q){let $=DQ(Z,Q);return $.length>0&&!$.startsWith("..")?$:Q}var m,yQ,PQ,OQ,CQ=1e4,bQ=33554432,IQ,TQ,kQ,NQ,pQ,g,xQ,FQ;var fQ=C(()=>{XQ();vQ();UQ();MQ();F();wQ();LQ();m=GQ(jQ(),1),yQ=["AGENTS.md","CLAUDE.md"],PQ=v(".claudin","rules"),OQ=SQ(AQ),IQ=/`([^`\n]+)`/g,TQ=/:\d+(?:-\d+)?$/,kQ=/[.,;:)\]]+$/,NQ=["<",">","*","~","...","$","|","://"," ","path/to"],pQ=/\b(removed|deleted|dropped|no longer|used to|formerly|superseded)\b/i,g=/\.js$/,xQ=/^\s*export\s+\*\s+from\s/m,FQ=/^\s*export\s*\{([^}]*)\}/gm});
|
|
7
|
+
export{o as Sf,I as Tf,A as Uf,T as Vf,N as Wf,p as Xf,x as Yf,F as Zf,RQ as _f,QZ as $f,ZZ as ag,fQ as bg};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{I4 as x,O4 as K}from"./cli-1.1.33-525zf497.mjs";import{A_ as v,Jda as w,M_ as I,Wda as J}from"./cli-1.1.33-20v60hvd.mjs";import{Oja as q,Wja as G}from"./cli-1.1.33-ad43mr1x.mjs";import{tqa as z}from"./cli-1.1.33-cfj1bzen.mjs";function W(h){return h.type==="advisor_tool_result"||h.type==="server_tool_use"&&h.name==="advisor"}function j(){return v("tengu_sage_compass",{})}function k(){if(q(process.env.CLAUDIN_DISABLE_ADVISOR_TOOL))return!1;if(!x())return!1;return j().enabled??!1}function N(){return k()&&(j().canUserConfigure??!1)}function X(){let h=j();return k()&&!N()&&h.baseModel&&h.advisorModel?{baseModel:h.baseModel,advisorModel:h.advisorModel}:void 0}function Z(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function $(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(h){let b=h.iterations;if(!b)return[];return b.filter((y)=>y.type==="advisor_message")}var F=`# Advisor Tool
|
|
2
|
+
|
|
3
|
+
You have access to an \`advisor\` tool backed by a stronger reviewer model. It takes NO parameters -- when you call it, your entire conversation history is automatically forwarded. The advisor sees the task, every tool call you've made, every result you've seen.
|
|
4
|
+
|
|
5
|
+
Call advisor BEFORE substantive work -- before writing code, before committing to an interpretation, before building on an assumption. If the task requires orientation first (finding files, reading code, seeing what's there), do that, then call advisor. Orientation is not substantive work. Writing, editing, and declaring an answer are.
|
|
6
|
+
|
|
7
|
+
Also call advisor:
|
|
8
|
+
- When you believe the task is complete. BEFORE this call, make your deliverable durable: write the file, stage the change, save the result. The advisor call takes time; if the session ends during it, a durable result persists and an unwritten one doesn't.
|
|
9
|
+
- When stuck -- errors recurring, approach not converging, results that don't fit.
|
|
10
|
+
- When considering a change of approach.
|
|
11
|
+
|
|
12
|
+
On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done. On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling -- the advisor adds most of its value on the first call, before the approach crystallizes.
|
|
13
|
+
|
|
14
|
+
Give the advice serious weight. If you follow a step and it fails empirically, or you have primary-source evidence that contradicts a specific claim (the file says X, the code does Y), adapt. A passing self-test is not evidence the advice is wrong -- it's evidence your test doesn't check what the advice is checking.
|
|
15
|
+
|
|
16
|
+
If you've already retrieved data pointing one way and the advisor points another: don't silently switch. Surface the conflict in one more advisor call -- "I found X, you suggest Y, which constraint breaks the tie?" The advisor saw your evidence but may have underweighted it; a reconcile call is cheaper than committing to the wrong branch.`;var O=z(()=>{I();K();G();J()});
|
|
17
|
+
export{W as IT,k as JT,N as KT,X as LT,Z as MT,$ as NT,B as OT,D as PT,F as QT,O as RT};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{S0 as K,Y0 as M}from"./cli-1.1.33-8xyzgp13.mjs";import{tqa as B,uqa as L}from"./cli-1.1.33-cfj1bzen.mjs";function G(){for(let k of A)k()}function H(k){if(z?.Component===k)return;z={Component:k},G()}function O(){if(z===null)return;z=null,G()}function Q(k){return A.add(k),()=>{A.delete(k)}}function R(){return z}var z=null,A;var J=B(()=>{A=new Set});async function X(){if(!K())return!1;let{DiffDialog:k}=await import("./DiffDialog-1.1.33-anvv0w3b.mjs");return H(k),!0}var N=B(()=>{M();J()});
|
|
2
|
+
export{O as Sh,Q as Th,R as Uh,J as Vh,X as Wh,N as Xh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{tqa as l}from"./cli-1.1.33-cfj1bzen.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
|
|
2
|
+
export{u as P1,E as Q1,a as R1,c as S1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{tqa as $}from"./cli-1.1.33-cfj1bzen.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function A(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function N(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function m(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function q(z=1){return z===0?"":J(z,"A")}function D(z=1){return z===0?"":J(z,"B")}function M(z=1){return z===0?"":J(z,"C")}function W(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function b(z,Q){let V="";if(z<0)V+=W(-z);else if(z>0)V+=M(z);if(Q<0)V+=q(-Q);else if(Q>0)V+=D(Q);return V}function S(){return J("K")}function l(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=q(1);return Q+=k,Q}function o(z=1){return z===0?"":J(z,"S")}function y(z=1){return z===0?"":J(z,"T")}function a(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,k,v,F,K,E,c,t,n,i,r,e,s,zz,Jz;var X=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];k=J("G");v=J("H");F=J(2,"K"),K=J(2,"J"),E=J(3,"J");c=J("r"),t=J("200~"),n=J("201~"),i=J("I"),r=J("O"),e=J(">1u"),s=J("<u"),zz=J(">4;2m"),Jz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+v}var P,Zz;var f=$(()=>{X();P=J(0,"f");Zz=T()});
|
|
2
|
+
export{d as Z0,Y as _0,h as $0,j as a1,H as b1,w as c1,L as d1,A as e1,N as f1,m as g1,J as h1,g as i1,I as j1,_ as k1,u as l1,R as m1,C as n1,v as o1,b as p1,S as q1,K as r1,l as s1,o as t1,y as u1,a as v1,c as w1,t as x1,n as y1,i as z1,r as A1,e as B1,s as C1,zz as D1,Jz as E1,X as F1,T as G1,Zz as H1,f as I1};
|