@claudiolabs/claudin 1.1.20 → 1.1.22
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/AgentTool-1.1.22-4ba6sbn1.mjs +1 -0
- package/dist/chunks/App-1.1.22-2m11r40p.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.22-zp1y1218.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.22-s95rx0gk.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.22-5qa3134t.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.22-m5fc6nej.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.22-bnv9d1h5.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.22-g92az35d.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.22-9ccdds3r.mjs +6 -0
- package/dist/chunks/Doctor-1.1.22-1gc86nqw.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.22-z6sndn27.mjs +6 -0
- package/dist/chunks/ITermBackend-1.1.22-gb09bshz.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.22-52wjx92m.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.22-q6j91dba.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.22-z6x86qa5.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.22-05vxshwk.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.22-zh99bzde.mjs +1 -0
- package/dist/chunks/REPL-1.1.22-2c229abh.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.22-jp1q8573.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.22-s20kx6cz.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.22-036phq5k.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.22-2fpx0v36.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.22-q9xh6c1x.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.22-shtyh6x1.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.22-hwnb32mw.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.22-tx9d7tzw.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.22-qd5cmwvf.mjs +1 -0
- package/dist/chunks/add-dir-1.1.22-be3sb4ed.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.22-rm5akk7n.mjs +1 -0
- package/dist/chunks/agents-1.1.22-ad8hknzy.mjs +3 -0
- package/dist/chunks/agents-1.1.22-c8hb8sst.mjs +110 -0
- package/dist/chunks/api-1.1.22-b74pv1bc.mjs +1 -0
- package/dist/chunks/asciicast-1.1.22-qz35a5k4.mjs +1 -0
- package/dist/chunks/assistant-1.1.22-mqc1g16y.mjs +1 -0
- package/dist/chunks/auth-1.1.22-hwjcqvy4.mjs +1 -0
- package/dist/chunks/auth-1.1.22-pwa369jw.mjs +1 -0
- package/dist/chunks/autoMode-1.1.22-3by2zax3.mjs +52 -0
- package/dist/chunks/autoModeSetup-1.1.22-e4mn7cas.mjs +44 -0
- package/dist/chunks/autoUpdater-1.1.22-ng881g40.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.22-hxy5jpcq.mjs +1 -0
- package/dist/chunks/branch-1.1.22-akcs4dk5.mjs +4 -0
- package/dist/chunks/bridge-1.1.22-rttgyvkn.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.22-gtqyk17c.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.22-tfhha37q.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.22-mt52dzzq.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.22-bqaet342.mjs +1 -0
- package/dist/chunks/btw-1.1.22-y44fbm0x.mjs +1 -0
- package/dist/chunks/buddy-1.1.22-1jzcjwyr.mjs +3 -0
- package/dist/chunks/cache-probe-1.1.22-wmckr2fj.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.22-rzg950xm.mjs +4 -0
- package/dist/chunks/caches-1.1.22-kabyzmmd.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.22-7mafzt35.mjs +1 -0
- package/dist/chunks/claudemd-1.1.22-genp8cn4.mjs +1 -0
- package/dist/chunks/clear-1.1.22-ta3shrbf.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.22-hvkervt4.mjs +1 -0
- package/dist/chunks/cli-1.1.22-00s47593.mjs +4 -0
- package/dist/chunks/cli-1.1.22-01xfy12n.mjs +18 -0
- package/dist/chunks/cli-1.1.22-01yb5we4.mjs +2 -0
- package/dist/chunks/cli-1.1.22-0553cn3c.mjs +3 -0
- package/dist/chunks/cli-1.1.22-073y3gd5.mjs +2 -0
- package/dist/chunks/cli-1.1.22-07prh801.mjs +2 -0
- package/dist/chunks/cli-1.1.22-09eb3077.mjs +2 -0
- package/dist/chunks/cli-1.1.22-0h7jejsr.mjs +3 -0
- package/dist/chunks/cli-1.1.22-0n0cxg2p.mjs +4 -0
- package/dist/chunks/cli-1.1.22-0x96ahhc.mjs +4 -0
- package/dist/chunks/cli-1.1.22-1099x9x2.mjs +2 -0
- package/dist/chunks/cli-1.1.22-12vfd6j1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-1npmfnxb.mjs +50 -0
- package/dist/chunks/cli-1.1.22-1tqdha8j.mjs +2 -0
- package/dist/chunks/cli-1.1.22-1vrzwj7y.mjs +2 -0
- package/dist/chunks/cli-1.1.22-22735g9w.mjs +2 -0
- package/dist/chunks/cli-1.1.22-261r450y.mjs +60 -0
- package/dist/chunks/cli-1.1.22-265a4qpa.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2bdf1etb.mjs +4 -0
- package/dist/chunks/cli-1.1.22-2getjsf5.mjs +6 -0
- package/dist/chunks/cli-1.1.22-2mahjtgk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2nwmyakz.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2rqykpy1.mjs +18 -0
- package/dist/chunks/cli-1.1.22-2t3fhfjv.mjs +133 -0
- package/dist/chunks/cli-1.1.22-2tctx2yg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2wh33kpx.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2y82t3pd.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2yxd7hfb.mjs +2 -0
- package/dist/chunks/cli-1.1.22-2zhxvvkx.mjs +2 -0
- package/dist/chunks/cli-1.1.22-33jc9czg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-35fe0h6z.mjs +2 -0
- package/dist/chunks/cli-1.1.22-3ehpcpz4.mjs +2 -0
- package/dist/chunks/cli-1.1.22-3h20fb9d.mjs +2 -0
- package/dist/chunks/cli-1.1.22-3jyydg5h.mjs +206 -0
- package/dist/chunks/cli-1.1.22-3nmtk1bh.mjs +2 -0
- package/dist/chunks/cli-1.1.22-3r3tadt1.mjs +4 -0
- package/dist/chunks/cli-1.1.22-3thczx3s.mjs +133 -0
- package/dist/chunks/cli-1.1.22-3xjx3y13.mjs +2 -0
- package/dist/chunks/cli-1.1.22-41aseceq.mjs +3 -0
- package/dist/chunks/cli-1.1.22-4227vtcf.mjs +24 -0
- package/dist/chunks/cli-1.1.22-48gjx3j7.mjs +2 -0
- package/dist/chunks/cli-1.1.22-4g11fbx3.mjs +2 -0
- package/dist/chunks/cli-1.1.22-4ph3xqne.mjs +2 -0
- package/dist/chunks/cli-1.1.22-4pmfh5v2.mjs +2 -0
- package/dist/chunks/cli-1.1.22-5afprdre.mjs +2 -0
- package/dist/chunks/cli-1.1.22-5dcmb4h9.mjs +2 -0
- package/dist/chunks/cli-1.1.22-5mzq5mc4.mjs +24 -0
- package/dist/chunks/cli-1.1.22-5vkvwgh1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-619cwdw8.mjs +2 -0
- package/dist/chunks/cli-1.1.22-6bxa25n5.mjs +2 -0
- package/dist/chunks/cli-1.1.22-6gd42s2a.mjs +2 -0
- package/dist/chunks/cli-1.1.22-6k5nt5wc.mjs +2 -0
- package/dist/chunks/cli-1.1.22-6khex7bz.mjs +34 -0
- package/dist/chunks/cli-1.1.22-6vtb75g8.mjs +2 -0
- package/dist/chunks/cli-1.1.22-73mzmb6a.mjs +3 -0
- package/dist/chunks/cli-1.1.22-796yez98.mjs +2 -0
- package/dist/chunks/cli-1.1.22-7dha9j2p.mjs +3 -0
- package/dist/chunks/cli-1.1.22-7rm6jw0h.mjs +17 -0
- package/dist/chunks/cli-1.1.22-7rv96st9.mjs +4 -0
- package/dist/chunks/cli-1.1.22-7xwf9v6n.mjs +2 -0
- package/dist/chunks/cli-1.1.22-7zv5k6p0.mjs +2 -0
- package/dist/chunks/cli-1.1.22-87m0b80d.mjs +8 -0
- package/dist/chunks/cli-1.1.22-8cxdckv7.mjs +39 -0
- package/dist/chunks/cli-1.1.22-8fwvxw5t.mjs +2 -0
- package/dist/chunks/cli-1.1.22-8zvpve6x.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9283mpm5.mjs +4 -0
- package/dist/chunks/cli-1.1.22-9affzgn1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9b6k45hn.mjs +3 -0
- package/dist/chunks/cli-1.1.22-9dr01ge1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9jjvp1h1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9t3wxp9c.mjs +2 -0
- package/dist/chunks/cli-1.1.22-9xhwr18a.mjs +2 -0
- package/dist/chunks/cli-1.1.22-a4bc88qq.mjs +2 -0
- package/dist/chunks/cli-1.1.22-an1qn05v.mjs +3 -0
- package/dist/chunks/cli-1.1.22-as4a7add.mjs +5 -0
- package/dist/chunks/cli-1.1.22-b3bpnsqk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-b7axxc6j.mjs +2 -0
- package/dist/chunks/cli-1.1.22-b81ce6x4.mjs +15 -0
- package/dist/chunks/cli-1.1.22-bfc0nw13.mjs +3 -0
- package/dist/chunks/cli-1.1.22-bj4bsta6.mjs +2 -0
- package/dist/chunks/cli-1.1.22-bnse4r9s.mjs +2 -0
- package/dist/chunks/cli-1.1.22-bv3a0vaa.mjs +2 -0
- package/dist/chunks/cli-1.1.22-bxfemtrx.mjs +2 -0
- package/dist/chunks/cli-1.1.22-byxwkfrj.mjs +3 -0
- package/dist/chunks/cli-1.1.22-c07z4d74.mjs +2 -0
- package/dist/chunks/cli-1.1.22-c1h1wfjn.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ca6d1erw.mjs +6 -0
- package/dist/chunks/cli-1.1.22-ccp7e8qv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ckvf3pt3.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ctbmc0bv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-cvfsmaqt.mjs +2 -0
- package/dist/chunks/cli-1.1.22-d1w2ky89.mjs +6 -0
- package/dist/chunks/cli-1.1.22-d7cmcmfd.mjs +2 -0
- package/dist/chunks/cli-1.1.22-d990gcrg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-d9y8qqg3.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ddq8axpw.mjs +12 -0
- package/dist/chunks/cli-1.1.22-df129qms.mjs +5 -0
- package/dist/chunks/cli-1.1.22-df9q1a85.mjs +2 -0
- package/dist/chunks/cli-1.1.22-djkeg65n.mjs +2 -0
- package/dist/chunks/cli-1.1.22-dpqknw7z.mjs +2 -0
- package/dist/chunks/cli-1.1.22-e25bz2ew.mjs +9 -0
- package/dist/chunks/cli-1.1.22-e5sxpgah.mjs +2 -0
- package/dist/chunks/cli-1.1.22-e5wx36qr.mjs +2 -0
- package/dist/chunks/cli-1.1.22-eagkxr30.mjs +9 -0
- package/dist/chunks/cli-1.1.22-eddrkydn.mjs +2 -0
- package/dist/chunks/cli-1.1.22-emmr10wb.mjs +21 -0
- package/dist/chunks/cli-1.1.22-eqtbpc0r.mjs +2 -0
- package/dist/chunks/cli-1.1.22-erbhk4p7.mjs +4 -0
- package/dist/chunks/cli-1.1.22-f0wja05z.mjs +2 -0
- package/dist/chunks/cli-1.1.22-f9ntxarz.mjs +2 -0
- package/dist/chunks/cli-1.1.22-fetzhxhh.mjs +2 -0
- package/dist/chunks/cli-1.1.22-fwhfqwwn.mjs +2 -0
- package/dist/chunks/cli-1.1.22-gkryz2d0.mjs +2 -0
- package/dist/chunks/cli-1.1.22-gpt102mm.mjs +2 -0
- package/dist/chunks/cli-1.1.22-grjw9tnm.mjs +2 -0
- package/dist/chunks/cli-1.1.22-gwhdvfge.mjs +24 -0
- package/dist/chunks/cli-1.1.22-gyhxg2db.mjs +2 -0
- package/dist/chunks/cli-1.1.22-h3m1whqm.mjs +6 -0
- package/dist/chunks/cli-1.1.22-hgwxyksg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-hhmq1rbn.mjs +2 -0
- package/dist/chunks/cli-1.1.22-hjxaqntc.mjs +45 -0
- package/dist/chunks/cli-1.1.22-hqbf8xt0.mjs +3 -0
- package/dist/chunks/cli-1.1.22-hv3m9qnv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-j6xg80k8.mjs +2 -0
- package/dist/chunks/cli-1.1.22-j7qc1g0f.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jdz4rqbp.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jech3kdr.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jrhx2z2p.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jvrjpdd1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-jz426kr2.mjs +66 -0
- package/dist/chunks/cli-1.1.22-jzvqt2pv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-k3xv38bj.mjs +2 -0
- package/dist/chunks/cli-1.1.22-kphdet4j.mjs +58 -0
- package/dist/chunks/cli-1.1.22-m41t95z0.mjs +2 -0
- package/dist/chunks/cli-1.1.22-mdapyzp3.mjs +6 -0
- package/dist/chunks/cli-1.1.22-mdttpxs6.mjs +24 -0
- package/dist/chunks/cli-1.1.22-mw0jpevk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-mxqz88pc.mjs +2 -0
- package/dist/chunks/cli-1.1.22-n0px7a23.mjs +3 -0
- package/dist/chunks/cli-1.1.22-n2jecp35.mjs +2 -0
- package/dist/chunks/cli-1.1.22-nstgtysk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-nsydz2bd.mjs +2 -0
- package/dist/chunks/cli-1.1.22-nxv6yayj.mjs +2 -0
- package/dist/chunks/cli-1.1.22-pgrcj1gs.mjs +12 -0
- package/dist/chunks/cli-1.1.22-q622p3vr.mjs +16 -0
- package/dist/chunks/cli-1.1.22-q76mjgec.mjs +2 -0
- package/dist/chunks/cli-1.1.22-qmk7mm5m.mjs +2 -0
- package/dist/chunks/cli-1.1.22-qq7q7v3n.mjs +2 -0
- package/dist/chunks/cli-1.1.22-qzc4h0w2.mjs +2 -0
- package/dist/chunks/cli-1.1.22-r0v2mak7.mjs +2 -0
- package/dist/chunks/cli-1.1.22-r7dnq81v.mjs +2 -0
- package/dist/chunks/cli-1.1.22-r9n3fz01.mjs +2 -0
- package/dist/chunks/cli-1.1.22-rd5zdpvh.mjs +2 -0
- package/dist/chunks/cli-1.1.22-rma08k7m.mjs +3 -0
- package/dist/chunks/cli-1.1.22-rsp3340r.mjs +2 -0
- package/dist/chunks/cli-1.1.22-rtn7nhkb.mjs +1 -0
- package/dist/chunks/cli-1.1.22-s2n02sky.mjs +2 -0
- package/dist/chunks/cli-1.1.22-s5qhs3ds.mjs +2 -0
- package/dist/chunks/cli-1.1.22-s6e60cqc.mjs +2 -0
- package/dist/chunks/cli-1.1.22-sema6yh6.mjs +2 -0
- package/dist/chunks/cli-1.1.22-skpsy2jm.mjs +17 -0
- package/dist/chunks/cli-1.1.22-ss970cxc.mjs +2 -0
- package/dist/chunks/cli-1.1.22-swvmx131.mjs +2 -0
- package/dist/chunks/cli-1.1.22-sy41x518.mjs +2 -0
- package/dist/chunks/cli-1.1.22-tag23y0b.mjs +25 -0
- package/dist/chunks/cli-1.1.22-tkg7zwpn.mjs +20 -0
- package/dist/chunks/cli-1.1.22-tt24grn6.mjs +2 -0
- package/dist/chunks/cli-1.1.22-v260dy3k.mjs +2 -0
- package/dist/chunks/cli-1.1.22-v2q2pts1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-v8pzx6jk.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vdsszncw.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vesjdg08.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vnmyjmjg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vp1eed3p.mjs +7 -0
- package/dist/chunks/cli-1.1.22-vwdxbs23.mjs +2 -0
- package/dist/chunks/cli-1.1.22-vwv40zm1.mjs +2 -0
- package/dist/chunks/cli-1.1.22-waqb850v.mjs +15 -0
- package/dist/chunks/cli-1.1.22-wbpdne8j.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xm1rhe1d.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xmb0wn88.mjs +42 -0
- package/dist/chunks/cli-1.1.22-xmy1w9q2.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xpvyrpxz.mjs +7 -0
- package/dist/chunks/cli-1.1.22-xxwfawkh.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xygngqfs.mjs +2 -0
- package/dist/chunks/cli-1.1.22-xzrnmekb.mjs +3 -0
- package/dist/chunks/cli-1.1.22-y0t8rezv.mjs +2 -0
- package/dist/chunks/cli-1.1.22-y3te45vg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-y4rj8ced.mjs +2 -0
- package/dist/chunks/cli-1.1.22-ya408d88.mjs +4 -0
- package/dist/chunks/cli-1.1.22-yegp0d0j.mjs +6 -0
- package/dist/chunks/cli-1.1.22-yhgxca73.mjs +2 -0
- package/dist/chunks/cli-1.1.22-yjv63n10.mjs +2 -0
- package/dist/chunks/cli-1.1.22-yqbnqsen.mjs +3 -0
- package/dist/chunks/cli-1.1.22-yr5y8074.mjs +4 -0
- package/dist/chunks/cli-1.1.22-yy4d5xbz.mjs +2 -0
- package/dist/chunks/cli-1.1.22-yzk40k6c.mjs +2 -0
- package/dist/chunks/cli-1.1.22-z5g00tpb.mjs +25 -0
- package/dist/chunks/cli-1.1.22-zcrvxkff.mjs +15 -0
- package/dist/chunks/cli-1.1.22-zfg31zpg.mjs +2 -0
- package/dist/chunks/cli-1.1.22-zmt5pksy.mjs +5426 -0
- package/dist/chunks/cli-1.1.22-znq4fk8a.mjs +2 -0
- package/dist/chunks/cli-1.1.22-zsc0cmye.mjs +2 -0
- package/dist/chunks/client-1.1.22-wq8vw6a1.mjs +1 -0
- package/dist/chunks/color-1.1.22-qk5z13ac.mjs +1 -0
- package/dist/chunks/compact-1.1.22-rb84pjhg.mjs +3 -0
- package/dist/chunks/config-1.1.22-0p9ep18d.mjs +1 -0
- package/dist/chunks/config-1.1.22-5mngav76.mjs +1 -0
- package/dist/chunks/constants-1.1.22-kjrh13hv.mjs +1 -0
- package/dist/chunks/context-1.1.22-dw2er614.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.22-znhpxryw.mjs +1 -0
- package/dist/chunks/conversation-1.1.22-awv74gk2.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.22-m6ccr26v.mjs +1 -0
- package/dist/chunks/copy-1.1.22-7b5mhaaj.mjs +9 -0
- package/dist/chunks/cost-1.1.22-dt2gz43e.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.22-a42r8ywe.mjs +1 -0
- package/dist/chunks/createSession-1.1.22-ddd5ddkv.mjs +1 -0
- package/dist/chunks/debug-1.1.22-qraa5by9.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.22-ctnqgj01.mjs +1534 -0
- package/dist/chunks/desktop-1.1.22-wg1hxyyk.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.22-pn2g27hr.mjs +1 -0
- package/dist/chunks/detection-1.1.22-s8r50ft4.mjs +1 -0
- package/dist/chunks/diff-1.1.22-6sdsv83f.mjs +1 -0
- package/dist/chunks/doctor-1.1.22-cj56pasy.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.22-ezjhg329.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.22-k4tqtjbb.mjs +1 -0
- package/dist/chunks/effort-1.1.22-eztddah9.mjs +13 -0
- package/dist/chunks/engine-1.1.22-6wrga0yh.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.22-9jm3xgge.mjs +1 -0
- package/dist/chunks/envUtils-1.1.22-7qb9fr3c.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.22-4xy91rp5.mjs +1 -0
- package/dist/chunks/environments-1.1.22-ke6dvmrb.mjs +1 -0
- package/dist/chunks/errors-1.1.22-rgsmtg01.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.22-xv4kj009.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.22-m7ndjwpq.mjs +1 -0
- package/dist/chunks/exit-1.1.22-m0bm4f9d.mjs +1 -0
- package/dist/chunks/explorer-1.1.22-jsrgxmw0.mjs +1 -0
- package/dist/chunks/export-1.1.22-s0m4af77.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.22-9sdr6tyh.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.22-9k857j7m.mjs +1 -0
- package/dist/chunks/fast-1.1.22-3w3eg6gc.mjs +1 -0
- package/dist/chunks/feedback-1.1.22-7jr2gbzj.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.22-08zb6ajr.mjs +1 -0
- package/dist/chunks/git-1.1.22-m66s3f9x.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.22-2r1deqm3.mjs +1 -0
- package/dist/chunks/goal-1.1.22-60jn1knb.mjs +4 -0
- package/dist/chunks/growthbook-1.1.22-jnddje2q.mjs +1 -0
- package/dist/chunks/headless-1.1.22-jc8xk2dj.mjs +2 -0
- package/dist/chunks/heapdump-1.1.22-h87tv4ay.mjs +6 -0
- package/dist/chunks/help-1.1.22-hkgcwycs.mjs +1 -0
- package/dist/chunks/hookChains-1.1.22-hjjsdtfz.mjs +3 -0
- package/dist/chunks/hooks-1.1.22-d51y91pz.mjs +79 -0
- package/dist/chunks/hooks-1.1.22-knpyhzjq.mjs +1 -0
- package/dist/chunks/ide-1.1.22-0tqwa732.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.22-6qd4v6hf.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.22-gvb5zry4.mjs +1 -0
- package/dist/chunks/index-1.1.22-19x2126b.mjs +30 -0
- package/dist/chunks/index-1.1.22-28fcrc19.mjs +9 -0
- package/dist/chunks/index-1.1.22-2ea02rg7.mjs +1 -0
- package/dist/chunks/index-1.1.22-2rc4s1ea.mjs +1 -0
- package/dist/chunks/index-1.1.22-33ka1vh2.mjs +1 -0
- package/dist/chunks/index-1.1.22-3sbe52mk.mjs +1 -0
- package/dist/chunks/index-1.1.22-3ze6s7jh.mjs +1 -0
- package/dist/chunks/index-1.1.22-45fydkr4.mjs +1 -0
- package/dist/chunks/index-1.1.22-4jyb49wh.mjs +5 -0
- package/dist/chunks/index-1.1.22-53bbsdht.mjs +23 -0
- package/dist/chunks/index-1.1.22-6dbeceeq.mjs +1 -0
- package/dist/chunks/index-1.1.22-8dntbh7a.mjs +1 -0
- package/dist/chunks/index-1.1.22-8kjk15ba.mjs +1 -0
- package/dist/chunks/index-1.1.22-an0gp01d.mjs +1 -0
- package/dist/chunks/index-1.1.22-cnbxnqdc.mjs +1 -0
- package/dist/chunks/index-1.1.22-fpsntg6z.mjs +1 -0
- package/dist/chunks/index-1.1.22-fv3cwfqb.mjs +1 -0
- package/dist/chunks/index-1.1.22-hjp106ay.mjs +1 -0
- package/dist/chunks/index-1.1.22-njczpq0j.mjs +9 -0
- package/dist/chunks/index-1.1.22-zeprwv8d.mjs +2 -0
- package/dist/chunks/index-1.1.22-zmmyfbe7.mjs +1 -0
- package/dist/chunks/index-1.1.22-zssja3p2.mjs +2 -0
- package/dist/chunks/index-1.1.22-zw38mh26.mjs +1 -0
- package/dist/chunks/init-1.1.22-xnq27h0g.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.22-y1d60qz3.mjs +1 -0
- package/dist/chunks/ink-1.1.22-k48q879m.mjs +1 -0
- package/dist/chunks/insights-1.1.22-a1cvbm3p.mjs +870 -0
- package/dist/chunks/install-1.1.22-jbzmqsdp.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.22-8a3hpgxj.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.22-rt6z32mx.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.22-z450bn0g.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.22-6ks3mty3.mjs +1 -0
- package/dist/chunks/keybindings-1.1.22-g9y42jd0.mjs +2 -0
- package/dist/chunks/knowledge-1.1.22-9pnvwgtc.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.22-qt6jab06.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.22-sq4k9pva.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.22-vshz13qp.mjs +1 -0
- package/dist/chunks/log-1.1.22-e7ksty3v.mjs +1 -0
- package/dist/chunks/main-1.1.22-6td1g6n1.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.22-htj06t2x.mjs +1 -0
- package/dist/chunks/mcp-1.1.22-18h7drd2.mjs +17 -0
- package/dist/chunks/mcp-1.1.22-ezfae103.mjs +1 -0
- package/dist/chunks/mcp-1.1.22-s120rv95.mjs +4 -0
- package/dist/chunks/mcpb-1.1.22-vm6h475e.mjs +1 -0
- package/dist/chunks/memory-1.1.22-e0tx5g0m.mjs +72 -0
- package/dist/chunks/model-1.1.22-jpnba4j9.mjs +2 -0
- package/dist/chunks/model-1.1.22-ptaehfsq.mjs +1 -0
- package/dist/chunks/node-1.1.22-n2j0h224.mjs +14 -0
- package/dist/chunks/oauth-1.1.22-xryjmqvy.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.22-5g2mvrb0.mjs +14 -0
- package/dist/chunks/output-style-1.1.22-15avrxe6.mjs +1 -0
- package/dist/chunks/package-ZOVFJE7Z-1.1.22-74v22202.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.22-th9g7k2v.mjs +1 -0
- package/dist/chunks/parser-1.1.22-f76s0696.mjs +1 -0
- package/dist/chunks/passes-1.1.22-5067sbnv.mjs +1 -0
- package/dist/chunks/permissions-1.1.22-jq3s11rr.mjs +3 -0
- package/dist/chunks/permissions-1.1.22-yjbnyvja.mjs +1 -0
- package/dist/chunks/plan-1.1.22-a0v77tas.mjs +1 -0
- package/dist/chunks/plist-1.1.22-stjt7ne7.mjs +1 -0
- package/dist/chunks/plugin-1.1.22-ccc18w6d.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.22-6w6xqk0q.mjs +1 -0
- package/dist/chunks/plugins-1.1.22-14tg96p5.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.22-w8y973hr.mjs +2 -0
- package/dist/chunks/print-1.1.22-fj5my0gp.mjs +57 -0
- package/dist/chunks/process-1.1.22-5ehjyzp9.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.22-rfx8p83z.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.22-zz4rg3b9.mjs +9 -0
- package/dist/chunks/prompt-1.1.22-1k2zk0wc.mjs +1 -0
- package/dist/chunks/prompt-1.1.22-dnwycjh5.mjs +1 -0
- package/dist/chunks/prompts-1.1.22-4p4a5se6.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.22-cs8w65fv.mjs +13 -0
- package/dist/chunks/provider-1.1.22-bn5s7tah.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.22-pymtgbvs.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.22-c7c5hbxa.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.22-w2qffppm.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.22-ab4qb34w.mjs +26 -0
- package/dist/chunks/registry-1.1.22-nsm8d8eb.mjs +1 -0
- package/dist/chunks/release-notes-1.1.22-8x23myzn.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.22-ak7jhwx7.mjs +2 -0
- package/dist/chunks/remote-env-1.1.22-x7trmcqx.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.22-hbz0g8ya.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.22-f6jb57v7.mjs +1 -0
- package/dist/chunks/rename-1.1.22-xe35q0k0.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.22-fhwjkdxg.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.22-vv0a8mm6.mjs +1 -0
- package/dist/chunks/resume-1.1.22-2sa8hbck.mjs +2 -0
- package/dist/chunks/rewind-1.1.22-9p74phfv.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.22-d6srkssk.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.22-g8m5b1gg.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.22-xfg2fsw2.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.22-dtc44mq5.mjs +1 -0
- package/dist/chunks/session-1.1.22-3tjyetra.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.22-33mn13e8.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.22-d3bejz9v.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.22-j74sh7m1.mjs +1 -0
- package/dist/chunks/settings-1.1.22-nkarfvpa.mjs +1 -0
- package/dist/chunks/setup-1.1.22-qcehqed4.mjs +12 -0
- package/dist/chunks/sinks-1.1.22-cq9rny33.mjs +1 -0
- package/dist/chunks/skills-1.1.22-ekjpttza.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.22-9fngk9y1.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.22-d1k95rad.mjs +1 -0
- package/dist/chunks/state-1.1.22-jwyx08g8.mjs +1 -0
- package/dist/chunks/stats-1.1.22-gbms572d.mjs +6 -0
- package/dist/chunks/status-1.1.22-k6tz1204.mjs +1 -0
- package/dist/chunks/stickers-1.1.22-0p5wcv91.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.22-8nw03e6a.mjs +1 -0
- package/dist/chunks/tasks-1.1.22-j3tvhmzv.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.22-9h9wz2vt.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.22-az279j20.mjs +1 -0
- package/dist/chunks/teleport-1.1.22-x65tzb7k.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.22-mgtn4k1h.mjs +1 -0
- package/dist/chunks/theme-1.1.22-ytcpmqf6.mjs +1 -0
- package/dist/chunks/thinkback-1.1.22-r3tqf574.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.22-gy5pmk8r.mjs +1 -0
- package/dist/chunks/toolPool-1.1.22-enzkj5fj.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.22-nks2rxm6.mjs +1 -0
- package/dist/chunks/tools-1.1.22-vngj7bpe.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.22-521tzk05.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.22-thexftmp.mjs +69 -0
- package/dist/chunks/types-1.1.22-jp8m10f1.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.22-tjrn8agz.mjs +4 -0
- package/dist/chunks/update-1.1.22-n10ztshv.mjs +72 -0
- package/dist/chunks/upgrade-1.1.22-e0pjbtcd.mjs +1 -0
- package/dist/chunks/upload-1.1.22-e00jdttg.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.22-1qmxkbg7.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.22-jj7mv0bn.mjs +1 -0
- package/dist/chunks/usage-1.1.22-s54ykz8x.mjs +1 -0
- package/dist/chunks/util-1.1.22-wntx1394.mjs +1 -0
- package/dist/chunks/utils-1.1.22-wmew7b5j.mjs +1 -0
- package/dist/chunks/vim-1.1.22-qddsv4he.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.22-1z60qm0a.mjs +13 -0
- package/dist/chunks/watcher-1.1.22-100q2zbm.mjs +1 -0
- package/dist/chunks/wiki-1.1.22-akk70ycq.mjs +132 -0
- package/dist/chunks/workflows-1.1.22-ed33rwny.mjs +1 -0
- package/dist/chunks/worktree-1.1.22-f3b1rr0f.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.22-taeyewr8.mjs +1 -0
- package/dist/chunks/wrapper-1.1.22-hayqq9zr.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.20-gy68hszg.mjs +0 -1
- package/dist/chunks/App-1.1.20-10ggpxf4.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.20-6y0zcy4y.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.20-yebtqpwm.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.20-4t2txe84.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.20-6w697wvx.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.20-c3kyqfq3.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.20-87nay89d.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.20-wcg0gh1k.mjs +0 -6
- package/dist/chunks/Doctor-1.1.20-gq08p6c4.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.20-njwmt292.mjs +0 -6
- package/dist/chunks/ITermBackend-1.1.20-86szt9a8.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.20-yw03wzhm.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.20-b8bpx0av.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.20-xc1ete3w.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.20-ytp8f67t.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.20-qvj570ty.mjs +0 -1
- package/dist/chunks/REPL-1.1.20-1wqc3hyp.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.20-78gpsm6z.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.20-qzvapr16.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.20-tjphzty6.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.20-d63k8snr.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.20-k1pa6f9a.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.20-8mc5wrxb.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.20-xkwtgqwd.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.20-7p5t0a25.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.20-n88f7vxe.mjs +0 -1
- package/dist/chunks/add-dir-1.1.20-mkjy6mne.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.20-mf4dz2fp.mjs +0 -1
- package/dist/chunks/agents-1.1.20-eb13erze.mjs +0 -110
- package/dist/chunks/agents-1.1.20-ps3c6vj2.mjs +0 -3
- package/dist/chunks/api-1.1.20-11grpy2c.mjs +0 -1
- package/dist/chunks/asciicast-1.1.20-bqm28655.mjs +0 -1
- package/dist/chunks/assistant-1.1.20-xny4y49f.mjs +0 -1
- package/dist/chunks/auth-1.1.20-kyscffqe.mjs +0 -1
- package/dist/chunks/auth-1.1.20-ygabh4dg.mjs +0 -1
- package/dist/chunks/autoMode-1.1.20-6ehbhthd.mjs +0 -52
- package/dist/chunks/autoModeSetup-1.1.20-skjmdzhq.mjs +0 -44
- package/dist/chunks/autoUpdater-1.1.20-n7vch4bv.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.20-a3snmx4e.mjs +0 -1
- package/dist/chunks/branch-1.1.20-849br2fw.mjs +0 -4
- package/dist/chunks/bridge-1.1.20-ec0z61jb.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.20-wks1jhmc.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.20-1nza3j0t.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.20-6dks41qc.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.20-tecp8fmk.mjs +0 -1
- package/dist/chunks/btw-1.1.20-mdw6bncw.mjs +0 -1
- package/dist/chunks/buddy-1.1.20-cmmgv2nf.mjs +0 -3
- package/dist/chunks/cache-probe-1.1.20-62xx6y5w.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.20-j7kbrtbn.mjs +0 -4
- package/dist/chunks/caches-1.1.20-ykvsw24v.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.20-dhcfye38.mjs +0 -1
- package/dist/chunks/claudemd-1.1.20-0km3pc8d.mjs +0 -1
- package/dist/chunks/clear-1.1.20-rkzhan9n.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.20-h9nb94gb.mjs +0 -1
- package/dist/chunks/cli-1.1.20-003ssrqs.mjs +0 -2
- package/dist/chunks/cli-1.1.20-08kdg42c.mjs +0 -2
- package/dist/chunks/cli-1.1.20-0a8jwwrh.mjs +0 -2
- package/dist/chunks/cli-1.1.20-0cxx0azc.mjs +0 -2
- package/dist/chunks/cli-1.1.20-0hr449k2.mjs +0 -6
- package/dist/chunks/cli-1.1.20-0yjr70td.mjs +0 -2
- package/dist/chunks/cli-1.1.20-11yx2x29.mjs +0 -2
- package/dist/chunks/cli-1.1.20-14z9f90d.mjs +0 -4
- package/dist/chunks/cli-1.1.20-16js342k.mjs +0 -3
- package/dist/chunks/cli-1.1.20-1804zgnt.mjs +0 -2
- package/dist/chunks/cli-1.1.20-1axwpgex.mjs +0 -3
- package/dist/chunks/cli-1.1.20-1jzypzba.mjs +0 -2
- package/dist/chunks/cli-1.1.20-2189wy4p.mjs +0 -2
- package/dist/chunks/cli-1.1.20-25hfpkfc.mjs +0 -34
- package/dist/chunks/cli-1.1.20-28njwehy.mjs +0 -2
- package/dist/chunks/cli-1.1.20-2c8v6etd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-2c9529sa.mjs +0 -4
- package/dist/chunks/cli-1.1.20-2epx2qhj.mjs +0 -4
- package/dist/chunks/cli-1.1.20-2kmxyr07.mjs +0 -2
- package/dist/chunks/cli-1.1.20-2tzzh4zx.mjs +0 -3
- package/dist/chunks/cli-1.1.20-2xfbht26.mjs +0 -2
- package/dist/chunks/cli-1.1.20-3awkxvmy.mjs +0 -2
- package/dist/chunks/cli-1.1.20-3d1z8rpz.mjs +0 -58
- package/dist/chunks/cli-1.1.20-3xgnb054.mjs +0 -2
- package/dist/chunks/cli-1.1.20-3xt27qam.mjs +0 -2
- package/dist/chunks/cli-1.1.20-3ya9b3gp.mjs +0 -2
- package/dist/chunks/cli-1.1.20-41jpan4m.mjs +0 -2
- package/dist/chunks/cli-1.1.20-44e5kpwx.mjs +0 -8
- package/dist/chunks/cli-1.1.20-456jkny0.mjs +0 -2
- package/dist/chunks/cli-1.1.20-45ymf6ss.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4dnyt1jx.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4fckza8j.mjs +0 -133
- package/dist/chunks/cli-1.1.20-4ns5w1w9.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4rera9rk.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4rzj958h.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4t5sspt7.mjs +0 -2
- package/dist/chunks/cli-1.1.20-4wm04f49.mjs +0 -2
- package/dist/chunks/cli-1.1.20-50162v14.mjs +0 -2
- package/dist/chunks/cli-1.1.20-62a99cp9.mjs +0 -2
- package/dist/chunks/cli-1.1.20-6ev0yp0d.mjs +0 -6
- package/dist/chunks/cli-1.1.20-6jbvby2b.mjs +0 -20
- package/dist/chunks/cli-1.1.20-6xmv43xj.mjs +0 -3
- package/dist/chunks/cli-1.1.20-6yk3v95f.mjs +0 -39
- package/dist/chunks/cli-1.1.20-70wc36rc.mjs +0 -2
- package/dist/chunks/cli-1.1.20-751bmsqk.mjs +0 -2
- package/dist/chunks/cli-1.1.20-7732c5qg.mjs +0 -2
- package/dist/chunks/cli-1.1.20-7c1w166r.mjs +0 -2
- package/dist/chunks/cli-1.1.20-7rxmh5n8.mjs +0 -3
- package/dist/chunks/cli-1.1.20-7v6hhn2t.mjs +0 -2
- package/dist/chunks/cli-1.1.20-80v7e5s8.mjs +0 -2
- package/dist/chunks/cli-1.1.20-83btfm1z.mjs +0 -2
- package/dist/chunks/cli-1.1.20-83vhyp8j.mjs +0 -2
- package/dist/chunks/cli-1.1.20-8kjhy0wv.mjs +0 -2
- package/dist/chunks/cli-1.1.20-8s1w9hdq.mjs +0 -2
- package/dist/chunks/cli-1.1.20-93dztzcq.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9c4avkb0.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9g552760.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9h5643kr.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9nj6n1xg.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9p9rns5w.mjs +0 -2
- package/dist/chunks/cli-1.1.20-9sv4xcek.mjs +0 -2
- package/dist/chunks/cli-1.1.20-a9fgbqdg.mjs +0 -2
- package/dist/chunks/cli-1.1.20-admbe52d.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ahqsg433.mjs +0 -2
- package/dist/chunks/cli-1.1.20-atv9jh9v.mjs +0 -2
- package/dist/chunks/cli-1.1.20-azb7xdf4.mjs +0 -2
- package/dist/chunks/cli-1.1.20-b09qhwrn.mjs +0 -2
- package/dist/chunks/cli-1.1.20-b0ehcdrw.mjs +0 -18
- package/dist/chunks/cli-1.1.20-bbb9fqyn.mjs +0 -2
- package/dist/chunks/cli-1.1.20-bgbsr3de.mjs +0 -3
- package/dist/chunks/cli-1.1.20-bk95x5hv.mjs +0 -25
- package/dist/chunks/cli-1.1.20-bs9520ht.mjs +0 -2
- package/dist/chunks/cli-1.1.20-c2g9cejz.mjs +0 -2
- package/dist/chunks/cli-1.1.20-cbehaby4.mjs +0 -2
- package/dist/chunks/cli-1.1.20-cfbterne.mjs +0 -2
- package/dist/chunks/cli-1.1.20-cgqjf8mh.mjs +0 -6
- package/dist/chunks/cli-1.1.20-chzjjxkj.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ckdgd8ze.mjs +0 -45
- package/dist/chunks/cli-1.1.20-csmgax19.mjs +0 -21
- package/dist/chunks/cli-1.1.20-d3ep1y0e.mjs +0 -3
- package/dist/chunks/cli-1.1.20-d5yrsevx.mjs +0 -2
- package/dist/chunks/cli-1.1.20-d6ghx4vg.mjs +0 -15
- package/dist/chunks/cli-1.1.20-d7jg0nb4.mjs +0 -24
- package/dist/chunks/cli-1.1.20-dhn7hn4q.mjs +0 -12
- package/dist/chunks/cli-1.1.20-dhqn7976.mjs +0 -2
- package/dist/chunks/cli-1.1.20-dws48g78.mjs +0 -2
- package/dist/chunks/cli-1.1.20-e49ygqc9.mjs +0 -2
- package/dist/chunks/cli-1.1.20-edmcts0d.mjs +0 -15
- package/dist/chunks/cli-1.1.20-ef6rjnnr.mjs +0 -2
- package/dist/chunks/cli-1.1.20-emfhskxb.mjs +0 -7
- package/dist/chunks/cli-1.1.20-emjnkdmv.mjs +0 -1
- package/dist/chunks/cli-1.1.20-eza9aynd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ezsprsc5.mjs +0 -2
- package/dist/chunks/cli-1.1.20-f55khzsq.mjs +0 -25
- package/dist/chunks/cli-1.1.20-far01hg1.mjs +0 -42
- package/dist/chunks/cli-1.1.20-ffffyhx3.mjs +0 -3
- package/dist/chunks/cli-1.1.20-fwfjvfmd.mjs +0 -12
- package/dist/chunks/cli-1.1.20-g0w1ksxt.mjs +0 -2
- package/dist/chunks/cli-1.1.20-g41hgcbn.mjs +0 -2
- package/dist/chunks/cli-1.1.20-g68fwrp1.mjs +0 -2
- package/dist/chunks/cli-1.1.20-gd4g9gr0.mjs +0 -3
- package/dist/chunks/cli-1.1.20-geey2q0s.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ghdeh455.mjs +0 -2
- package/dist/chunks/cli-1.1.20-gkc4ptt0.mjs +0 -6
- package/dist/chunks/cli-1.1.20-gmw9jarz.mjs +0 -2
- package/dist/chunks/cli-1.1.20-gtk0ea9e.mjs +0 -2
- package/dist/chunks/cli-1.1.20-h5qtp5v0.mjs +0 -4
- package/dist/chunks/cli-1.1.20-hnvxzngf.mjs +0 -24
- package/dist/chunks/cli-1.1.20-hrw31bb0.mjs +0 -206
- package/dist/chunks/cli-1.1.20-hw1raza2.mjs +0 -2
- package/dist/chunks/cli-1.1.20-j1r8r4kb.mjs +0 -2
- package/dist/chunks/cli-1.1.20-j4a7q58c.mjs +0 -2
- package/dist/chunks/cli-1.1.20-jerx0cvb.mjs +0 -9
- package/dist/chunks/cli-1.1.20-jm6p2cdx.mjs +0 -2
- package/dist/chunks/cli-1.1.20-jsasy45b.mjs +0 -2
- package/dist/chunks/cli-1.1.20-jwgjrhwv.mjs +0 -17
- package/dist/chunks/cli-1.1.20-jy9v0t3f.mjs +0 -5
- package/dist/chunks/cli-1.1.20-k31p3ab5.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ka6crh5z.mjs +0 -2
- package/dist/chunks/cli-1.1.20-kbw4j273.mjs +0 -3
- package/dist/chunks/cli-1.1.20-kdcqs5pc.mjs +0 -2
- package/dist/chunks/cli-1.1.20-keawhead.mjs +0 -5
- package/dist/chunks/cli-1.1.20-kmjn4pys.mjs +0 -2
- package/dist/chunks/cli-1.1.20-kqncmabm.mjs +0 -4
- package/dist/chunks/cli-1.1.20-m1j9gb5j.mjs +0 -2
- package/dist/chunks/cli-1.1.20-m1rmtfx0.mjs +0 -2
- package/dist/chunks/cli-1.1.20-m90d7k90.mjs +0 -133
- package/dist/chunks/cli-1.1.20-m9x20s8d.mjs +0 -2
- package/dist/chunks/cli-1.1.20-mg71dz16.mjs +0 -2
- package/dist/chunks/cli-1.1.20-mmvz3csm.mjs +0 -2
- package/dist/chunks/cli-1.1.20-mtdrx7xp.mjs +0 -2
- package/dist/chunks/cli-1.1.20-n0e2f4pd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-n23sb1sw.mjs +0 -2
- package/dist/chunks/cli-1.1.20-n9ja4mee.mjs +0 -66
- package/dist/chunks/cli-1.1.20-nbpvejz7.mjs +0 -2
- package/dist/chunks/cli-1.1.20-nk2jvm1z.mjs +0 -2
- package/dist/chunks/cli-1.1.20-nkrcdd4b.mjs +0 -2
- package/dist/chunks/cli-1.1.20-nmnzdvrw.mjs +0 -2
- package/dist/chunks/cli-1.1.20-nqwt6n3q.mjs +0 -2
- package/dist/chunks/cli-1.1.20-p0jj07wv.mjs +0 -2
- package/dist/chunks/cli-1.1.20-pfqkbt31.mjs +0 -2
- package/dist/chunks/cli-1.1.20-pg7cfgsa.mjs +0 -2
- package/dist/chunks/cli-1.1.20-psbfz74f.mjs +0 -2
- package/dist/chunks/cli-1.1.20-py0s55wt.mjs +0 -2
- package/dist/chunks/cli-1.1.20-q4bfnf9w.mjs +0 -2
- package/dist/chunks/cli-1.1.20-qbmhpfn5.mjs +0 -15
- package/dist/chunks/cli-1.1.20-qkdde9ck.mjs +0 -2
- package/dist/chunks/cli-1.1.20-r4xfymtx.mjs +0 -60
- package/dist/chunks/cli-1.1.20-r55gwcq5.mjs +0 -2
- package/dist/chunks/cli-1.1.20-r7y2pq10.mjs +0 -2
- package/dist/chunks/cli-1.1.20-rdjbzkh4.mjs +0 -2
- package/dist/chunks/cli-1.1.20-rmvq7swt.mjs +0 -2
- package/dist/chunks/cli-1.1.20-rsrj8q6n.mjs +0 -3
- package/dist/chunks/cli-1.1.20-rvch3wwj.mjs +0 -2
- package/dist/chunks/cli-1.1.20-rvn2axad.mjs +0 -16
- package/dist/chunks/cli-1.1.20-ry7grtff.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ryb6r2jj.mjs +0 -2
- package/dist/chunks/cli-1.1.20-se0125ky.mjs +0 -2
- package/dist/chunks/cli-1.1.20-snwfck2n.mjs +0 -2
- package/dist/chunks/cli-1.1.20-swewj6d5.mjs +0 -2
- package/dist/chunks/cli-1.1.20-sx7811qs.mjs +0 -5419
- package/dist/chunks/cli-1.1.20-sykpdv9k.mjs +0 -4
- package/dist/chunks/cli-1.1.20-t4zen7fz.mjs +0 -2
- package/dist/chunks/cli-1.1.20-t9y64aq1.mjs +0 -2
- package/dist/chunks/cli-1.1.20-tbtnrzgn.mjs +0 -6
- package/dist/chunks/cli-1.1.20-tgpt56rj.mjs +0 -2
- package/dist/chunks/cli-1.1.20-thtv1xqb.mjs +0 -2
- package/dist/chunks/cli-1.1.20-twysxm6j.mjs +0 -2
- package/dist/chunks/cli-1.1.20-txm7z2xq.mjs +0 -2
- package/dist/chunks/cli-1.1.20-ty0gqe2q.mjs +0 -2
- package/dist/chunks/cli-1.1.20-v6kdm8qp.mjs +0 -2
- package/dist/chunks/cli-1.1.20-vf1ea98p.mjs +0 -2
- package/dist/chunks/cli-1.1.20-vxrv3y7w.mjs +0 -9
- package/dist/chunks/cli-1.1.20-w24tmpq4.mjs +0 -7
- package/dist/chunks/cli-1.1.20-w6gv2drs.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wadq5w8t.mjs +0 -2
- package/dist/chunks/cli-1.1.20-we3ekctq.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wn9t9syd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wr994817.mjs +0 -18
- package/dist/chunks/cli-1.1.20-wrat5rtg.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wszdp4dg.mjs +0 -3
- package/dist/chunks/cli-1.1.20-wt0ygwrd.mjs +0 -6
- package/dist/chunks/cli-1.1.20-wtxwvcad.mjs +0 -4
- package/dist/chunks/cli-1.1.20-wx90y3jb.mjs +0 -24
- package/dist/chunks/cli-1.1.20-wxxphhy4.mjs +0 -2
- package/dist/chunks/cli-1.1.20-wz4h58mp.mjs +0 -2
- package/dist/chunks/cli-1.1.20-x2y5vr9b.mjs +0 -3
- package/dist/chunks/cli-1.1.20-x3cdhjtp.mjs +0 -24
- package/dist/chunks/cli-1.1.20-x3sn0d4f.mjs +0 -2
- package/dist/chunks/cli-1.1.20-x4ezs1pz.mjs +0 -2
- package/dist/chunks/cli-1.1.20-xk4edb6r.mjs +0 -3
- package/dist/chunks/cli-1.1.20-xkatp3rd.mjs +0 -2
- package/dist/chunks/cli-1.1.20-xmkwnf9c.mjs +0 -2
- package/dist/chunks/cli-1.1.20-xvytevdy.mjs +0 -4
- package/dist/chunks/cli-1.1.20-y4b0v8se.mjs +0 -50
- package/dist/chunks/cli-1.1.20-y9jwxk0y.mjs +0 -17
- package/dist/chunks/cli-1.1.20-yh2kxsxg.mjs +0 -4
- package/dist/chunks/cli-1.1.20-yq2kjrr2.mjs +0 -2
- package/dist/chunks/cli-1.1.20-z4ndf118.mjs +0 -2
- package/dist/chunks/cli-1.1.20-zgg887a7.mjs +0 -4
- package/dist/chunks/cli-1.1.20-zhn44mv6.mjs +0 -2
- package/dist/chunks/cli-1.1.20-zvce3e9x.mjs +0 -2
- package/dist/chunks/client-1.1.20-yzk4md3m.mjs +0 -1
- package/dist/chunks/color-1.1.20-nvfrt651.mjs +0 -1
- package/dist/chunks/compact-1.1.20-t1p5wzzx.mjs +0 -3
- package/dist/chunks/config-1.1.20-f5vnf3mj.mjs +0 -1
- package/dist/chunks/config-1.1.20-fyrs9k0m.mjs +0 -1
- package/dist/chunks/constants-1.1.20-2p88w4e8.mjs +0 -1
- package/dist/chunks/context-1.1.20-q5c07f98.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.20-m97bd3hc.mjs +0 -1
- package/dist/chunks/conversation-1.1.20-2tdp5wat.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.20-6bf1fkfp.mjs +0 -1
- package/dist/chunks/copy-1.1.20-jx18zafs.mjs +0 -9
- package/dist/chunks/cost-1.1.20-cvh7ag89.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.20-yrms9nqw.mjs +0 -1
- package/dist/chunks/createSession-1.1.20-c72cffnc.mjs +0 -1
- package/dist/chunks/debug-1.1.20-2fqdvvvc.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.20-hwtzy20f.mjs +0 -1534
- package/dist/chunks/desktop-1.1.20-mgz7c45r.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.20-d5fezv23.mjs +0 -1
- package/dist/chunks/detection-1.1.20-b17bg403.mjs +0 -1
- package/dist/chunks/diff-1.1.20-rgydsj6p.mjs +0 -1
- package/dist/chunks/doctor-1.1.20-jk5ar7pz.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.20-0q5qfybh.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.20-w47zy9sy.mjs +0 -1
- package/dist/chunks/effort-1.1.20-hy8t94kh.mjs +0 -13
- package/dist/chunks/engine-1.1.20-4etdjq40.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.20-1c7pmf1x.mjs +0 -1
- package/dist/chunks/envUtils-1.1.20-8687estk.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.20-vtn95gpz.mjs +0 -1
- package/dist/chunks/environments-1.1.20-n27s3sfh.mjs +0 -1
- package/dist/chunks/errors-1.1.20-a30dbhvw.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.20-97zbp5r8.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.20-zvnsd219.mjs +0 -1
- package/dist/chunks/exit-1.1.20-g7dar7aa.mjs +0 -1
- package/dist/chunks/explorer-1.1.20-m606rm48.mjs +0 -1
- package/dist/chunks/export-1.1.20-mgwvg841.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.20-baf3f8zp.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.20-60c2b66b.mjs +0 -1
- package/dist/chunks/fast-1.1.20-0cv5rvjb.mjs +0 -1
- package/dist/chunks/feedback-1.1.20-cn6v1mdj.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.20-26b3hvex.mjs +0 -1
- package/dist/chunks/git-1.1.20-16amvfft.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.20-g1tq2ecq.mjs +0 -1
- package/dist/chunks/goal-1.1.20-k5akp14a.mjs +0 -4
- package/dist/chunks/growthbook-1.1.20-yrs6qd7c.mjs +0 -1
- package/dist/chunks/headless-1.1.20-ab6xrkks.mjs +0 -2
- package/dist/chunks/heapdump-1.1.20-7ty4e4da.mjs +0 -6
- package/dist/chunks/help-1.1.20-drmq3b45.mjs +0 -1
- package/dist/chunks/hookChains-1.1.20-9xe50nmq.mjs +0 -3
- package/dist/chunks/hooks-1.1.20-ea0rjbyd.mjs +0 -1
- package/dist/chunks/hooks-1.1.20-h3ac1ems.mjs +0 -79
- package/dist/chunks/ide-1.1.20-e5k4xqrh.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.20-yxmq33b1.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.20-2e8y4p87.mjs +0 -1
- package/dist/chunks/index-1.1.20-2gxqgc08.mjs +0 -1
- package/dist/chunks/index-1.1.20-3vkfmzw3.mjs +0 -30
- package/dist/chunks/index-1.1.20-7esm5m4s.mjs +0 -23
- package/dist/chunks/index-1.1.20-bszeeg1q.mjs +0 -1
- package/dist/chunks/index-1.1.20-cv1fhrne.mjs +0 -1
- package/dist/chunks/index-1.1.20-e27z5gwd.mjs +0 -1
- package/dist/chunks/index-1.1.20-hzw72qk9.mjs +0 -1
- package/dist/chunks/index-1.1.20-mmt768hj.mjs +0 -5
- package/dist/chunks/index-1.1.20-ms7qs4m6.mjs +0 -1
- package/dist/chunks/index-1.1.20-nkjdz68f.mjs +0 -1
- package/dist/chunks/index-1.1.20-ptjvr4qj.mjs +0 -1
- package/dist/chunks/index-1.1.20-qa9tjj42.mjs +0 -2
- package/dist/chunks/index-1.1.20-r3h0dypg.mjs +0 -1
- package/dist/chunks/index-1.1.20-rcx2fneb.mjs +0 -1
- package/dist/chunks/index-1.1.20-rdm3n4y9.mjs +0 -2
- package/dist/chunks/index-1.1.20-rm6ekqj7.mjs +0 -9
- package/dist/chunks/index-1.1.20-s7fb4knz.mjs +0 -1
- package/dist/chunks/index-1.1.20-s7x9dsyr.mjs +0 -1
- package/dist/chunks/index-1.1.20-t9j801bt.mjs +0 -9
- package/dist/chunks/index-1.1.20-vvmarmb0.mjs +0 -1
- package/dist/chunks/index-1.1.20-w3efr5jj.mjs +0 -1
- package/dist/chunks/index-1.1.20-y78x64xh.mjs +0 -1
- package/dist/chunks/index-1.1.20-z42w2g06.mjs +0 -1
- package/dist/chunks/init-1.1.20-1md8nn1q.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.20-5zfa29sw.mjs +0 -1
- package/dist/chunks/ink-1.1.20-4rp0112s.mjs +0 -1
- package/dist/chunks/insights-1.1.20-fs1yxv8w.mjs +0 -870
- package/dist/chunks/install-1.1.20-g8hq9z8r.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.20-t1etxwvv.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.20-x4r2g8jm.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.20-8axp9w08.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.20-w1c5qa1c.mjs +0 -1
- package/dist/chunks/keybindings-1.1.20-t46j6vqd.mjs +0 -2
- package/dist/chunks/knowledge-1.1.20-fay2dby4.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.20-18wdnnqq.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.20-ja86yn75.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.20-rpwz8enf.mjs +0 -1
- package/dist/chunks/log-1.1.20-jab23qgp.mjs +0 -1
- package/dist/chunks/main-1.1.20-1tszrrj3.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.20-jhwtkzzq.mjs +0 -1
- package/dist/chunks/mcp-1.1.20-b3j31d37.mjs +0 -17
- package/dist/chunks/mcp-1.1.20-ggtdpb22.mjs +0 -4
- package/dist/chunks/mcp-1.1.20-r35rcax5.mjs +0 -1
- package/dist/chunks/mcpb-1.1.20-nmxsjrst.mjs +0 -1
- package/dist/chunks/memory-1.1.20-2fbhrnrk.mjs +0 -72
- package/dist/chunks/model-1.1.20-2nstg3gs.mjs +0 -2
- package/dist/chunks/model-1.1.20-ag4na6w9.mjs +0 -1
- package/dist/chunks/node-1.1.20-7meq917d.mjs +0 -14
- package/dist/chunks/oauth-1.1.20-xkcs3s0v.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.20-1jxfjf9e.mjs +0 -14
- package/dist/chunks/output-style-1.1.20-m38djt42.mjs +0 -1
- package/dist/chunks/package-ZOVFJE7Z-1.1.20-83n7wkxr.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.20-372zdrpd.mjs +0 -1
- package/dist/chunks/parser-1.1.20-gxyz7x28.mjs +0 -1
- package/dist/chunks/passes-1.1.20-ytgbf2dw.mjs +0 -1
- package/dist/chunks/permissions-1.1.20-s9ae41qy.mjs +0 -3
- package/dist/chunks/permissions-1.1.20-y9c9w35s.mjs +0 -1
- package/dist/chunks/plan-1.1.20-wbg3rbe5.mjs +0 -1
- package/dist/chunks/plist-1.1.20-ammve61n.mjs +0 -1
- package/dist/chunks/plugin-1.1.20-kprz45ck.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.20-0s19k556.mjs +0 -1
- package/dist/chunks/plugins-1.1.20-zcnf29dz.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.20-q1vqezxz.mjs +0 -2
- package/dist/chunks/print-1.1.20-jtj5dvm1.mjs +0 -57
- package/dist/chunks/process-1.1.20-gvna1rw4.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.20-4gf4hf9q.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.20-x7cpvyb1.mjs +0 -9
- package/dist/chunks/prompt-1.1.20-44tt0aay.mjs +0 -1
- package/dist/chunks/prompt-1.1.20-kd8b5z70.mjs +0 -1
- package/dist/chunks/prompts-1.1.20-p30n6333.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.20-k4c3bckj.mjs +0 -13
- package/dist/chunks/provider-1.1.20-x6r7w9y0.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.20-qr1eh5g1.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.20-whqrd8y7.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.20-hjftrz50.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.20-rspt0fgv.mjs +0 -26
- package/dist/chunks/registry-1.1.20-0mggqvzs.mjs +0 -1
- package/dist/chunks/release-notes-1.1.20-vb0mr5sj.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.20-vh7daesv.mjs +0 -2
- package/dist/chunks/remote-env-1.1.20-sarjwtd8.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.20-wn384wtw.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.20-v6xk4jcm.mjs +0 -1
- package/dist/chunks/rename-1.1.20-f8mjn6dk.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.20-rgnef71a.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.20-gtmq90n0.mjs +0 -1
- package/dist/chunks/resume-1.1.20-6azc4a6d.mjs +0 -2
- package/dist/chunks/rewind-1.1.20-y79g5sa8.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.20-j01mdex3.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.20-rjt6cc5k.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.20-2fy5bxtc.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.20-3fhx4jz1.mjs +0 -1
- package/dist/chunks/session-1.1.20-56bsxwcm.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.20-5awvar7p.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.20-p0m1trtr.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.20-kzwv0rca.mjs +0 -1
- package/dist/chunks/settings-1.1.20-qq5nh010.mjs +0 -1
- package/dist/chunks/setup-1.1.20-rxx0xk5h.mjs +0 -12
- package/dist/chunks/sinks-1.1.20-r3j94336.mjs +0 -1
- package/dist/chunks/skills-1.1.20-rj3k67vs.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.20-28r68j3h.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.20-na2gc2z0.mjs +0 -1
- package/dist/chunks/state-1.1.20-87k38gkf.mjs +0 -1
- package/dist/chunks/stats-1.1.20-4f0k42ck.mjs +0 -6
- package/dist/chunks/status-1.1.20-4q8drpbw.mjs +0 -1
- package/dist/chunks/stickers-1.1.20-6zrpy168.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.20-ay4xqbmj.mjs +0 -1
- package/dist/chunks/tasks-1.1.20-94bxr0pm.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.20-2wx4ycs3.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.20-84jswprz.mjs +0 -1
- package/dist/chunks/teleport-1.1.20-szer4192.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.20-6c6rr077.mjs +0 -1
- package/dist/chunks/theme-1.1.20-h0j5bxzv.mjs +0 -1
- package/dist/chunks/thinkback-1.1.20-xx7byjz0.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.20-y7e52jdn.mjs +0 -1
- package/dist/chunks/toolPool-1.1.20-3z7k5za6.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.20-60qd9jdb.mjs +0 -1
- package/dist/chunks/tools-1.1.20-x11zs4y1.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.20-2xcp041p.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.20-cvck081c.mjs +0 -69
- package/dist/chunks/types-1.1.20-143w1akg.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.20-0ahamh6w.mjs +0 -4
- package/dist/chunks/update-1.1.20-yy0y40m9.mjs +0 -72
- package/dist/chunks/upgrade-1.1.20-wk6398hc.mjs +0 -1
- package/dist/chunks/upload-1.1.20-x7890nxj.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.20-9fag2s50.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.20-98f7t8ex.mjs +0 -1
- package/dist/chunks/usage-1.1.20-x3t5jqtp.mjs +0 -1
- package/dist/chunks/util-1.1.20-6yg0jab0.mjs +0 -1
- package/dist/chunks/utils-1.1.20-eextgt51.mjs +0 -1
- package/dist/chunks/vim-1.1.20-45mkg766.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.20-m6zydt8m.mjs +0 -13
- package/dist/chunks/watcher-1.1.20-qtj8t09d.mjs +0 -1
- package/dist/chunks/wiki-1.1.20-3mvcvdfe.mjs +0 -132
- package/dist/chunks/workflows-1.1.20-19kpvc6v.mjs +0 -1
- package/dist/chunks/worktree-1.1.20-mj9bm0pg.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.20-gyvs55qh.mjs +0 -1
- package/dist/chunks/wrapper-1.1.20-8rckzejb.mjs +0 -7
- /package/dist/chunks/{cli-1.1.20-cypawma9.mjs → cli-1.1.22-08c4ym21.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-sfrzvte7.mjs → cli-1.1.22-as944wt5.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-nr5scd4y.mjs → cli-1.1.22-ccg6dy3s.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-c0p4wjw7.mjs → cli-1.1.22-kqk323ja.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-c4ktmkk3.mjs → cli-1.1.22-nv9q4jrr.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-0sgvc4nn.mjs → cli-1.1.22-w09pyst3.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.20-e4h3mrxr.mjs → cli-1.1.22-ws6y62na.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ZM as L,hN as h,qN as y,rN as S,xN as w}from"./cli-1.1.20-sx7811qs.mjs";import{DZ as l,H1 as B,a1 as U,c1 as D,g1 as v}from"./cli-1.1.20-r4xfymtx.mjs";import{d4 as G,e4 as H,f4 as W}from"./cli-1.1.20-azb7xdf4.mjs";import{pta as C,tta as M}from"./cli-1.1.20-0sgvc4nn.mjs";function T(z){let q=u.c(26),{scope:A,parsingErrors:Q,warnings:R}=z,K=Q.length>0,X=R.length>0;if(!K&&!X)return null;let V;if(q[0]!==K||q[1]!==X)V=(K||X)&&H(D,{color:K?"error":"warning",children:["[",K?"Failed to parse":"Contains warnings","]"," "]}),q[0]=K,q[1]=X,q[2]=V;else V=q[2];let I;if(q[3]!==A)I=S(A),q[3]=A,q[4]=I;else I=q[4];let J;if(q[5]!==I)J=G(D,{children:I}),q[5]=I,q[6]=J;else J=q[6];let Y;if(q[7]!==V||q[8]!==J)Y=H(U,{children:[V,J]}),q[7]=V,q[8]=J,q[9]=Y;else Y=q[9];let P;if(q[10]===Symbol.for("react.memo_cache_sentinel"))P=G(D,{dimColor:!0,children:"Location: "}),q[10]=P;else P=q[10];let Z;if(q[11]!==A)Z=y(A),q[11]=A,q[12]=Z;else Z=q[12];let F;if(q[13]!==Z)F=H(U,{children:[P,G(D,{dimColor:!0,children:Z})]}),q[13]=Z,q[14]=F;else F=q[14];let O;if(q[15]!==Q)O=Q.map(E),q[15]=Q,q[16]=O;else O=q[16];let b;if(q[17]!==R)b=R.map(m),q[17]=R,q[18]=b;else b=q[18];let k;if(q[19]!==O||q[20]!==b)k=H(U,{marginLeft:1,flexDirection:"column",children:[O,b]}),q[19]=O,q[20]=b,q[21]=k;else k=q[21];let d;if(q[22]!==k||q[23]!==Y||q[24]!==F)d=H(U,{flexDirection:"column",marginTop:1,children:[Y,F,k]}),q[22]=k,q[23]=Y,q[24]=F,q[25]=d;else d=q[25];return d}function m(z,q){let A=z.mcpErrorMetadata?.serverName;return G(U,{children:H(D,{children:[G(D,{dimColor:!0,children:"└ "}),G(D,{color:"warning",children:"[Warning]"}),H(D,{dimColor:!0,children:[" ",A&&`[${A}] `,z.path&&z.path!==""?`${z.path}: `:"",z.message]})]})},`warning-${q}`)}function E(z,q){let A=z.mcpErrorMetadata?.serverName;return G(U,{children:H(D,{children:[G(D,{dimColor:!0,children:"└ "}),G(D,{color:"error",children:"[Error]"}),H(D,{dimColor:!0,children:[" ",A&&`[${A}] `,z.path&&z.path!==""?`${z.path}: `:"",z.message]})]})},`error-${q}`)}function x(){let z=u.c(6),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q={scope:"user",config:L("user")},z[0]=q;else q=z[0];let A;if(z[1]===Symbol.for("react.memo_cache_sentinel"))A={scope:"project",config:L("project")},z[1]=A;else A=z[1];let Q;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Q={scope:"local",config:L("local")},z[2]=Q;else Q=z[2];let R;if(z[3]===Symbol.for("react.memo_cache_sentinel"))R=[q,A,Q,{scope:"enterprise",config:L("enterprise")}],z[3]=R;else R=z[3];let K=R,X=K.some(j),V=K.some(_);if(!X&&!V)return null;let I;if(z[4]===Symbol.for("react.memo_cache_sentinel"))I=G(D,{bold:!0,children:"MCP Config Diagnostics"}),z[4]=I;else I=z[4];let J;if(z[5]===Symbol.for("react.memo_cache_sentinel"))J=H(U,{flexDirection:"column",marginTop:1,marginBottom:1,children:[I,G(U,{marginTop:1,children:H(D,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",G(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),K.map(f)]}),z[5]=J;else J=z[5];return J}function f(z){let{scope:q,config:A}=z;return G(T,{scope:q,parsingErrors:N(A.errors,"fatal"),warnings:N(A.errors,"warning")},q)}function _(z){let{config:q}=z;return N(q.errors,"warning").length>0}function j(z){let{config:q}=z;return N(q.errors,"fatal").length>0}function N(z,q){return z.filter((A)=>A.mcpErrorMetadata?.severity===q)}var u;var p=M(()=>{h();w();B();W();u=C(l(),1)});
|
|
2
|
-
export{x as Fg,p as Gg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bfa as P,wfa as y}from"./cli-1.1.20-hrw31bb0.mjs";import{tta as U}from"./cli-1.1.20-0sgvc4nn.mjs";var j,D,G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),E=D(112,101,110,103,117,105,110),I=D(116,117,114,116,108,101),f=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),h=D(99,97,112,121,98,97,114,97),b=D(99,97,99,116,117,115),u=D(114,111,98,111,116),T=D(114,97,98,98,105,116),p=D(109,117,115,104,114,111,111,109),m=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
|
|
2
|
-
export{G as kX,M as lX,N as mX,Y as nX,C as oX,_ as pX,R as qX,E as rX,I as sX,f as tX,k as uX,A as vX,h as wX,b as xX,u as yX,T as zX,p as AX,m as BX,e as CX,W as DX,a as EX,s as FX,r as GX,g as HX};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{UV as f,VV as h,jW as u}from"./cli-1.1.20-kmjn4pys.mjs";import{aY as C,mY as d}from"./cli-1.1.20-456jkny0.mjs";import{B4 as w,D4 as F}from"./cli-1.1.20-7v6hhn2t.mjs";import{Z4 as O,d5 as i}from"./cli-1.1.20-rvn2axad.mjs";import{U8 as x,X8 as v,c9 as M,d9 as A,i9 as I}from"./cli-1.1.20-dhn7hn4q.mjs";import{Wga as K,cha as j}from"./cli-1.1.20-hrw31bb0.mjs";import{Xja as R,Yja as _}from"./cli-1.1.20-x4ezs1pz.mjs";import{Fka as X,Gka as P,Kka as T,ala as J,dla as W}from"./cli-1.1.20-gkc4ptt0.mjs";import{Ala as y,Hla as p}from"./cli-1.1.20-2c9529sa.mjs";import{uta as q}from"./cli-1.1.20-0sgvc4nn.mjs";W();j();F();_();W();p();j();v();I();T();import{randomUUID as S}from"crypto";var L=2000,k=5,c=30000,Y=3,E=new Set([4003]);function b(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class U{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,G){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=G}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${R().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let G={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:G,proxy:A(z),tls:x()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let H=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(H)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");K(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-1.1.20-8rckzejb.mjs"),Z=new $(z,{headers:G,agent:M(z),...x()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(H)=>{this.handleMessage(H.toString())}),Z.on("error",(H)=>{K(Error(`[SessionsWebSocket] Error: ${H.message}`)),this.callbacks.onError?.(H)}),Z.on("close",(H,V)=>{J(`[SessionsWebSocket] Closed: code=${H} reason=${V.toString()}`),this.handleClose(H)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=P(B);if(b(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){K(Error(`[SessionsWebSocket] Failed to parse message: ${y(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",E.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(L*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<k)this.reconnectAttempts++,this.scheduleReconnect(L,`attempt ${this.reconnectAttempts}/${k}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},c)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){K(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){K(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:S(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function D(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class N{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{K(z),this.callbacks.onError?.(z)}};this.websocket=new U(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(D(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let G={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(G)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await w(this.config.sessionId,B,z);if(!Q)K(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){K(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let G={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(G)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,G=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:G,viewerOnly:$}}W();j();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:G}=B,$=h(z);if(!$){K(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=f(z),H=!Q;return J(`[Reconnection] Computed initial team context for ${H?"leader":`teammate ${G}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:G,isLeader:H,teammates:{}}}function xz(B,z,Q){let G=h(z);if(!G){K(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=G.members.find((V)=>V.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,H=f(z);B((V)=>({...V,teamContext:{teamName:z,teamFilePath:H,leadAgentId:G.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=O();for(let[G,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(G)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Uz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
|
|
2
|
-
export{N as Ka,$z as La,Xz as Ma,xz as Na,Uz as Oa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{AO as P,BO as Q,CO as U,FO as X,jj as M,kj as W,zO as O}from"./cli-1.1.20-sx7811qs.mjs";import{tta as V}from"./cli-1.1.20-0sgvc4nn.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
|
|
2
|
-
export{F as Ag,$ as Bg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Dk as Q,Ek as I,eS as R,tK as Y,wm as W,zm as P}from"./cli-1.1.20-sx7811qs.mjs";import{fha as B,gha as f}from"./cli-1.1.20-xvytevdy.mjs";import{Oja as F,sja as H,tja as J}from"./cli-1.1.20-nkrcdd4b.mjs";import{yra as $,zna as x}from"./cli-1.1.20-j4a7q58c.mjs";import{tta as Z}from"./cli-1.1.20-0sgvc4nn.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:{...z(h),stop_details:null},session_id:x(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:x(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:x(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let v=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:{...Y({content:v}).message,stop_details:null},parent_tool_use_id:null,session_id:x(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let v=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:v}}var G=Z(()=>{$();F();I();f();R();P()});
|
|
2
|
-
export{S as Se,V as Te,X as Ue,r as Ve,w as We,T as Xe,G as Ye};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Qd as Jq,Ud as Tq}from"./cli-1.1.20-zgg887a7.mjs";import{Zd as zq,_d as bq}from"./cli-1.1.20-hw1raza2.mjs";import{BG as r,CG as Gq,GL as S,JL as Nq,MM as D,PM as Cq,UL as s,VL as _q,ZL as a,aM as l,eM as t,jM as e,ko as n,lM as Rq,lo as yq,oI as h,pI as fq,sM as qq,wM as Fq}from"./cli-1.1.20-sx7811qs.mjs";import{DZ as Bq,H1 as Oq,a1 as F,c1 as C,tZ as i,uZ as Kq}from"./cli-1.1.20-r4xfymtx.mjs";import{d4 as v,e4 as R,f4 as p}from"./cli-1.1.20-azb7xdf4.mjs";import{g4 as Lq}from"./cli-1.1.20-9p9rns5w.mjs";import{B_ as g,C_ as Zq,O$ as o,O_ as $,P$ as Hq,Q_ as Xq,Taa as vq,Wga as m,cha as wq,waa as x}from"./cli-1.1.20-hrw31bb0.mjs";import{ala as B,dla as Yq}from"./cli-1.1.20-gkc4ptt0.mjs";import{Cla as u,Hla as Wq,zla as P}from"./cli-1.1.20-2c9529sa.mjs";import{pta as d,tta as Vq}from"./cli-1.1.20-0sgvc4nn.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(u(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(u(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(h,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function hq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:uq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(h,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(hq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',uq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
|
|
2
|
-
export{Iq as Gd,Yz as Hd,Dq as Id};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{F4 as M,G4 as D}from"./cli-1.1.20-bgbsr3de.mjs";import{Bfa as F,Hga as S,Jfa as _,Kga as p,Ufa as l,Xfa as L,Yfa as c}from"./cli-1.1.20-hrw31bb0.mjs";import{Pla as Y,Vla as m}from"./cli-1.1.20-003ssrqs.mjs";import{tta as B}from"./cli-1.1.20-0sgvc4nn.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:T}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||E}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,j=J?.scope?.trim()||C,$=j===C?[j]:[j,C],z="Device code request failed.",y=b(R(J?.domain));for(let V of $){let W=await Z(y,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let x=await W.text().catch(()=>"");z=`Device code request failed: ${W.status} ${x}`;let k=/invalid_scope/i.test(x);if(V!==C&&k)continue;throw new q(z)}let X=await W.json(),N=X.device_code,K=X.user_code,w=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof w!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:w,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(z)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let j=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,z=Q?.fetchImpl??fetch,y=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await z(y,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(j*1000);continue}if(N==="slow_down"){j=typeof X.interval==="number"?X.interval:j+5,await P(j*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},j=Z.fetchImpl??fetch,$=h(R(Z.domain)),z=await j($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!z.ok){let K=await z.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${z.status} ${K}`)}let y=await z.json(),V=y.token,W=y.expires_at,X=y.refresh_in,N=y.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var E="Iv1.b507a08c87ecfe98",T="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{D();u={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function g(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),z=$+"=".repeat((4-$.length%4)%4),y=Buffer.from(z,"base64").toString("utf8"),V=JSON.parse(y);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function jJ(){if(!g())return;if(Y())return;if(a())return}async function yJ(){if(!g())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,j=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!j&&!$)return!1;if((j?d(j):"expired")==="valid")return!1;if(!$)return!1;let y=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:y});if(!n(V.token,$,y).success)return!1;let X=F().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)_(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let j=J.trim();if(!j)return{success:!1,warning:"Token is empty."};let $=L(),z=$.read()||{},y=z[U],V=Q?.trim(),W={accessToken:j};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(y?.oauthAccessToken?.trim())W.oauthAccessToken=y.oauthAccessToken.trim();let N=Z?.trim()||y?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...z,[U]:W};return $.update(X)}function zJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
|
|
2
|
-
export{R as I2,r as J2,o as K2,e as L2,I as M2,O as N2,U as O2,VJ as P2,a as Q2,WJ as R2,jJ as S2,yJ as T2,n as U2,zJ as V2,s as W2};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{tta as b}from"./cli-1.1.20-0sgvc4nn.mjs";var K$,L$,F$=(_)=>typeof _==="string"?{...L$,name:_}:{...L$,..._};var S_=b(()=>{K$=Symbol("Let zodToJsonSchema decide on which parser to use"),L$={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 __=b(()=>{(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_=b(()=>{__();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];if(Y!==X.path.length-1)H[Q]=H[Q]||{_errors:[]};else H[Q]=H[Q]||{_errors:[]},H[Q]._errors.push($(X));H=H[Q],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 y_=b(()=>{v_();__();Z=bq});function $_(){return zq}var zq;var j_=b(()=>{y_();zq=Z});function D(_,$){let q=$_(),J=A_({issueData:$,data:_.data,path:_.path,errorMaps:[_.common.contextualErrorMap,_.schemaErrorMap,q,q===Z?void 0:Z].filter((W)=>!!W)});_.common.issues.push(J)}class L{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 z;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 L.mergeObjectSync(_,q)}static mergeObjectSync(_,$){let q={};for(let J of $){let{key:W,value:X}=J;if(W.status==="aborted")return z;if(X.status==="aborted")return z;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 A_=(_)=>{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((v)=>!!v).slice().reverse();for(let v of Q)Y=v(H,{data:$,defaultError:Y}).message;return{...W,path:X,message:Y}},z,c=(_)=>({status:"dirty",value:_}),K=(_)=>({status:"valid",value:_}),x_=(_)=>_.status==="aborted",n_=(_)=>_.status==="dirty",i=(_)=>_.status==="valid",q_=(_)=>typeof Promise<"u"&&_ instanceof Promise;var Z_=b(()=>{j_();y_();z=Object.freeze({status:"aborted"})});var g$=()=>{};var w;var C$=b(()=>{(function(_){_.errToObj=($)=>typeof $==="string"?{message:$}:$||{},_.toString=($)=>typeof $==="string"?$:$?.message})(w||(w={}))});class C{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 j(_){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 A{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 L,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 k$(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 k$(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({...j(this._def),schema:this,typeName:M.ZodEffects,effect:{type:"transform",transform:_}})}default(_){let $=typeof _==="function"?_:()=>_;return new D_({...j(this._def),innerType:this,defaultValue:$,typeName:M.ZodDefault})}brand(){return new r_({typeName:M.ZodBranded,type:this,...j(this._def)})}catch(_){let $=typeof _==="function"?_:()=>_;return new w_({...j(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 kq(_){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"||!$)&&Rq.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"||!$)&&Lq.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 U){let $={};for(let q in _.shape){let J=_.shape[q];$[q]=m.create(d(J))}return new U({..._._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={..._,...$};for(let Y of X){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 o({values:_,typeName:M.ZodEnum,...j($)})}var k$=(_,$)=>{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,jq,Aq,Oq,Nq,Eq,Uq,Vq="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",u_,Rq,Lq,Kq,Fq,fq,gq,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])))",Cq,y,t,a,O_,W_,N_,X_,H_,E_,r,x,U_,P,U,Q_,h=(_)=>{if(_ instanceof G_)return h(_.schema);else if(_ instanceof l)return h(_.innerType());else if(_ instanceof M_)return[_.value];else if(_ instanceof o)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 r_)return h(_.unwrap());else if(_ instanceof b_)return h(_.unwrap());else if(_ instanceof w_)return h(_._def.innerType);else return[]},i_,Y_,n,V_,R_,s,J_,G_,M_,o,B_,e,l,m,u,D_,w_,L_,D3,r_,K_,b_,w3,M,b3,z3,S3,v3,j3,A3,O3,N3,E3,U3,V3,R3,L3,K3,F3,f3,g3,C3,k3,I3,P3,m3,l3,T3,h3,y3,x3,n3,Z3,u3,p3,i3,r3,o3;var l$=b(()=>{v_();j_();C$();Z_();__();Sq=/^c[^\s-]{8,}$/i,vq=/^[0-9a-z]+$/,jq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Aq=/^[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)?)??$/,Uq=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Rq=/^(?:(?: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])$/,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])\/(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}=))?$/,gq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Cq=new RegExp(`^${I$}$`);y=class y extends A{_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}),z}let q=new L,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(!Uq.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(Vq,"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(!Aq.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(!jq.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(!Cq.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(!kq(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(!gq.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 y({...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 y({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new y({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new y({...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 _}};y.create=(_)=>{return new y({checks:[],typeName:M.ZodString,coerce:_?.coerce??!1,...j(_)})};t=class t extends A{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}),z}let q=void 0,J=new L;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,...j(_)})};a=class a extends A{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 L;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}),z}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,...j(_)})};O_=class O_ extends A{_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}),z}return K(_.data)}};O_.create=(_)=>{return new O_({typeName:M.ZodBoolean,coerce:_?.coerce||!1,...j(_)})};W_=class W_ extends A{_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}),z}if(Number.isNaN(_.data.getTime())){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_date}),z}let q=new L,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,...j(_)})};N_=class N_ extends A{_parse(_){if(this._getType(_)!==B.symbol){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.symbol,received:q.parsedType}),z}return K(_.data)}};N_.create=(_)=>{return new N_({typeName:M.ZodSymbol,...j(_)})};X_=class X_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.undefined,received:q.parsedType}),z}return K(_.data)}};X_.create=(_)=>{return new X_({typeName:M.ZodUndefined,...j(_)})};H_=class H_ extends A{_parse(_){if(this._getType(_)!==B.null){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.null,received:q.parsedType}),z}return K(_.data)}};H_.create=(_)=>{return new H_({typeName:M.ZodNull,...j(_)})};E_=class E_ extends A{constructor(){super(...arguments);this._any=!0}_parse(_){return K(_.data)}};E_.create=(_)=>{return new E_({typeName:M.ZodAny,...j(_)})};r=class r extends A{constructor(){super(...arguments);this._unknown=!0}_parse(_){return K(_.data)}};r.create=(_)=>{return new r({typeName:M.ZodUnknown,...j(_)})};x=class x extends A{_parse(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.never,received:$.parsedType}),z}};x.create=(_)=>{return new x({typeName:M.ZodNever,...j(_)})};U_=class U_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.void,received:q.parsedType}),z}return K(_.data)}};U_.create=(_)=>{return new U_({typeName:M.ZodVoid,...j(_)})};P=class P extends A{_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}),z;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 C($,X,$.path,H))})).then((X)=>{return L.mergeArray(q,X)});let W=[...$.data].map((X,H)=>{return J.type._parseSync(new C($,X,$.path,H))});return L.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,...j($)})};U=class U extends A{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}),z}let{status:q,ctx:J}=this._processInputParams(_),{shape:W,keys:X}=this._getCached(),H=[];if(!(this._def.catchall instanceof x&&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 v=W[Q],R=J.data[Q];Y.push({key:{status:"valid",value:Q},value:v._parse(new C(J,R,J.path,Q)),alwaysSet:Q in J.data})}if(this._def.catchall instanceof x){let Q=this._def.unknownKeys;if(Q==="passthrough")for(let v of H)Y.push({key:{status:"valid",value:v},value:{status:"valid",value:J.data[v]}});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 v of H){let R=J.data[v];Y.push({key:{status:"valid",value:v},value:Q._parse(new C(J,R,J.path,v)),alwaysSet:v in J.data})}}if(J.common.async)return Promise.resolve().then(async()=>{let Q=[];for(let v of Y){let R=await v.key,R$=await v.value;Q.push({key:R,value:R$,alwaysSet:v.alwaysSet})}return Q}).then((Q)=>{return L.mergeObjectSync(q,Q)});else return L.mergeObjectSync(q,Y)}get shape(){return this._def.shape()}strict(_){return w.errToObj,new U({...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 U({...this._def,unknownKeys:"strip"})}passthrough(){return new U({...this._def,unknownKeys:"passthrough"})}extend(_){return new U({...this._def,shape:()=>({...this._def.shape(),..._})})}merge(_){return new U({unknownKeys:_._def.unknownKeys,catchall:_._def.catchall,shape:()=>({...this._def.shape(),..._._def.shape()}),typeName:M.ZodObject})}setKey(_,$){return this.augment({[_]:$})}catchall(_){return new U({...this._def,catchall:_})}pick(_){let $={};for(let q of O.objectKeys(_))if(_[q]&&this.shape[q])$[q]=this.shape[q];return new U({...this._def,shape:()=>$})}omit(_){let $={};for(let q of O.objectKeys(this.shape))if(!_[q])$[q]=this.shape[q];return new U({...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 U({...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 U({...this._def,shape:()=>$})}keyof(){return m$(O.objectKeys(this.shape))}};U.create=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strip",catchall:x.create(),typeName:M.ZodObject,...j($)})};U.strictCreate=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strict",catchall:x.create(),typeName:M.ZodObject,...j($)})};U.lazycreate=(_,$)=>{return new U({shape:_,unknownKeys:"strip",catchall:x.create(),typeName:M.ZodObject,...j($)})};Q_=class Q_ extends A{_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}),z}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},v=Y._parseSync({data:$.data,path:$.path,parent:Q});if(v.status==="valid")return v;else if(v.status==="dirty"&&!W)W={result:v,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}),z}}get options(){return this._def.options}};Q_.create=(_,$)=>{return new Q_({options:_,typeName:M.ZodUnion,...j($)})};i_=class i_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.object)return D($,{code:G.invalid_type,expected:B.object,received:$.parsedType}),z;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]}),z;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,...j(q)})}};Y_=class Y_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=(W,X)=>{if(x_(W)||x_(X))return z;let H=p_(W.value,X.value);if(!H.valid)return D(q,{code:G.invalid_intersection_types}),z;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,...j(q)})};n=class n extends A{_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}),z;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"}),z;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 C(q,X,q.path,H))}).filter((X)=>!!X);if(q.common.async)return Promise.all(W).then((X)=>{return L.mergeArray($,X)});else return L.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,...j($)})};V_=class V_ extends A{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}),z;let J=[],W=this._def.keyType,X=this._def.valueType;for(let H in q.data)J.push({key:W._parse(new C(q,H,q.path,H)),value:X._parse(new C(q,q.data[H],q.path,H)),alwaysSet:H in q.data});if(q.common.async)return L.mergeObjectAsync($,J);else return L.mergeObjectSync($,J)}get element(){return this._def.valueType}static create(_,$,q){if($ instanceof A)return new V_({keyType:_,valueType:$,typeName:M.ZodRecord,...j(q)});return new V_({keyType:y.create(),valueType:_,typeName:M.ZodRecord,...j($)})}};R_=class R_ extends A{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}),z;let J=this._def.keyType,W=this._def.valueType,X=[...q.data.entries()].map(([H,Y],Q)=>{return{key:J._parse(new C(q,H,q.path,[Q,"key"])),value:W._parse(new C(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,v=await Y.value;if(Q.status==="aborted"||v.status==="aborted")return z;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}})}else{let H=new Map;for(let Y of X){let{key:Q,value:v}=Y;if(Q.status==="aborted"||v.status==="aborted")return z;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}}}};R_.create=(_,$,q)=>{return new R_({valueType:$,keyType:_,typeName:M.ZodMap,...j(q)})};s=class s extends A{_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}),z;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 v of Y){if(v.status==="aborted")return z;if(v.status==="dirty")$.dirty();Q.add(v.value)}return{status:$.value,value:Q}}let H=[...q.data.values()].map((Y,Q)=>W._parse(new C(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,...j($)})};J_=class J_ extends A{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}),z;function q(H,Y){return A_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_arguments,argumentsError:Y}})}function J(H,Y){return A_({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([]),v=await H._def.args.parseAsync(Y,W).catch((h_)=>{throw Q.addIssue(q(Y,h_)),Q}),R=await Reflect.apply(X,this,v);return await H._def.returns._def.type.parseAsync(R,W).catch((h_)=>{throw Q.addIssue(J(R,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 v=Reflect.apply(X,this,Q.data),R=H._def.returns.safeParse(v,W);if(!R.success)throw new f([J(v,R.error)]);return R.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(..._){return new J_({...this._def,args:n.create(_).rest(r.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(r.create()),returns:$||r.create(),typeName:M.ZodFunction,...j(q)})}};G_=class G_ extends A{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,...j($)})};M_=class M_ extends A{_parse(_){if(_.data!==this._def.value){let $=this._getOrReturnCtx(_);return D($,{received:$.data,code:G.invalid_literal,expected:this._def.value}),z}return{status:"valid",value:_.data}}get value(){return this._def.value}};M_.create=(_,$)=>{return new M_({value:_,typeName:M.ZodLiteral,...j($)})};o=class o extends A{_parse(_){if(typeof _.data!=="string"){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{expected:O.joinValues(q),received:$.parsedType,code:G.invalid_type}),z}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}),z}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 o.create(_,{...this._def,...$})}exclude(_,$=this._def){return o.create(this.options.filter((q)=>!_.includes(q)),{...this._def,...$})}};o.create=m$;B_=class B_ extends A{_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}),z}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}),z}return K(_.data)}get enum(){return this._def.values}};B_.create=(_,$)=>{return new B_({values:_,typeName:M.ZodNativeEnum,...j($)})};e=class e extends A{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}),z;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,...j($)})};l=class l extends A{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 z;let Y=await this._def.schema._parseAsync({data:H,path:q.path,parent:q});if(Y.status==="aborted")return z;if(Y.status==="dirty")return c(Y.value);if($.value==="dirty")return c(Y.value);return Y});else{if($.value==="aborted")return z;let H=this._def.schema._parseSync({data:X,path:q.path,parent:q});if(H.status==="aborted")return z;if(H.status==="dirty")return c(H.value);if($.value==="dirty")return c(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 z;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 z;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 z;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 z;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:$,...j(q)})};l.createWithPreprocess=(_,$,q)=>{return new l({schema:$,effect:{type:"preprocess",transform:_},typeName:M.ZodEffects,...j(q)})};m=class m extends A{_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,...j($)})};u=class u extends A{_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,...j($)})};D_=class D_ extends A{_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,...j($)})};w_=class w_ extends A{_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,...j($)})};L_=class L_ extends A{_parse(_){if(this._getType(_)!==B.nan){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.nan,received:q.parsedType}),z}return{status:"valid",value:_.data}}};L_.create=(_)=>{return new L_({typeName:M.ZodNaN,...j(_)})};D3=Symbol("zod_brand");r_=class r_ extends A{_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 A{_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 z;if(W.status==="dirty")return $.dirty(),c(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 z;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 A{_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,...j($)})};w3={object:U.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=y.create,z3=t.create,S3=L_.create,v3=a.create,j3=O_.create,A3=W_.create,O3=N_.create,N3=X_.create,E3=H_.create,U3=E_.create,V3=r.create,R3=x.create,L3=U_.create,K3=P.create,F3=U.create,f3=U.strictCreate,g3=Q_.create,C3=i_.create,k3=Y_.create,I3=n.create,P3=V_.create,m3=R_.create,l3=s.create,T3=J_.create,h3=G_.create,y3=M_.create,x3=o.create,n3=B_.create,Z3=e.create,u3=l.create,p3=m.create,i3=u.create,r3=l.createWithPreprocess,o3=K_.create});var T$=b(()=>{j_();Z_();g$();__();l$();v_()});var F_=b(()=>{T$()});var f_=(_,$)=>{let q=0;for(;q<_.length&&q<$.length;q++)if(_[q]!==$[q])break;return[(_.length-q).toString(),...$.slice(q)].join("/")};var g_=()=>{};function E(_){if(_.target!=="openAi")return{};let $=[..._.basePath,_.definitionPath,_.openAiAnyTypeName];return _.flags.hasReferencedOpenAiAnyType=!0,{$ref:_.$refStrategy==="relative"?f_($,_.currentPath):$.join("/")}}var g=b(()=>{g_()});function o_(_,$,q,J){if(!J?.errorMessages)return;if(q)_.errorMessage={..._.errorMessage,[$]:q}}function N(_,$,q,J,W){_[$]=q,o_(_,$,J,W)}var p=()=>{};function h$(_,$){let q={type:"array"};if(_.type?._def&&_.type?._def?.typeName!==M.ZodAny)q.items=S(_.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 c_=b(()=>{F_();p();V()});function y$(_,$){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_=b(()=>{p()});function x$(){return{type:"boolean"}}var t_=()=>{};function C_(_,$){return S(_.type._def,$)}var k_=b(()=>{V()});var n$=(_,$)=>{return S(_.innerType._def,$)};var a_=b(()=>{V()});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_=b(()=>{p()});function Z$(_,$){return{...S(_.innerType._def,$),default:_.defaultValue()}}var _$=b(()=>{V()});function u$(_,$){return $.effectStrategy==="input"?S(_.schema._def,$):E($)}var $$=b(()=>{V();g()});function p$(_){return{type:"string",enum:Array.from(_.values)}}var q$=()=>{};function i$(_,$){let q=[S(_.left._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),S(_.right._def,{...$,currentPath:[...$.currentPath,"allOf","1"]})].filter((X)=>!!X),J=$.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,W=[];return q.forEach((X)=>{if(yq(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 yq=(_)=>{if("type"in _&&_.type==="string")return!1;return"allOf"in _};var J$=b(()=>{V()});function r$(_,$){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,k.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,k.cuid,J.message,$);break;case"cuid2":F(q,k.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,k.base64url,J.message,$);break;case"jwt":F(q,k.jwt,J.message,$);break;case"cidr":{if(J.version!=="v6")F(q,k.ipv4Cidr,J.message,$);if(J.version!=="v4")F(q,k.ipv6Cidr,J.message,$);break}case"emoji":F(q,k.emoji(),J.message,$);break;case"ulid":{F(q,k.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,k.base64,J.message,$);break}}break}case"nanoid":F(q,k.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(!xq.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:o$($,J),...q&&J.errorMessages&&{errorMessage:{pattern:q}}})}else N(_,"pattern",o$($,J),q,J)}function o$(_,$){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,k,xq;var P_=b(()=>{p();k={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-_]*$/};xq=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]:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"properties",W]})??E($)}),{}),additionalProperties:$.rejectedAdditionalProperties};let q={type:"object",additionalProperties:S(_.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}=C_(_.keyType._def,$);return{...q,propertyNames:W}}return q}var l_=b(()=>{F_();V();P_();k_();g()});function c$(_,$){if($.mapStrategy==="record")return m_(_,$);let q=S(_.keyType._def,{...$,currentPath:[...$.currentPath,"items","items","0"]})||E($),J=S(_.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$=b(()=>{V();l_();g()});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$=b(()=>{g()});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)=>S(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_=b(()=>{V();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=S(_.innerType._def,{...$,currentPath:[...$.currentPath]});if(J&&"$ref"in J)return{allOf:[J],nullable:!0};return J&&{...J,nullable:!0}}let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","0"]});return q&&{anyOf:[q,{type:"null"}]}}var B$=b(()=>{V();T_()});function $q(_,$){let q={type:"number"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"int":q.type="integer",o_(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$=b(()=>{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 v=uq(Q);if(v&&q){if(Q._def.typeName==="ZodOptional")Q=Q._def.innerType;if(!Q.isNullable())Q=Q.nullable();v=!1}let R=S(Q._def,{...$,currentPath:[...$.currentPath,"properties",Y],propertyPath:[...$.currentPath,"properties",Y]});if(R===void 0)continue;if(J.properties[Y]=R,!v)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 S(_.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$=b(()=>{V()});var Jq=(_,$)=>{if($.currentPath.toString()===$.propertyPath?.toString())return S(_.innerType._def,$);let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","1"]});return q?{anyOf:[{not:E($)},q]}:E($)};var b$=b(()=>{V();g()});var Wq=(_,$)=>{if($.pipeStrategy==="input")return S(_.in._def,$);else if($.pipeStrategy==="output")return S(_.out._def,$);let q=S(_.in._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),J=S(_.out._def,{...$,currentPath:[...$.currentPath,"allOf",q?"1":"0"]});return{allOf:[q,J].filter((W)=>W!==void 0)}};var z$=b(()=>{V()});function Xq(_,$){return S(_.type._def,$)}var S$=b(()=>{V()});function Hq(_,$){let J={type:"array",uniqueItems:!0,items:S(_.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$=b(()=>{p();V()});function Qq(_,$){if(_.rest)return{type:"array",minItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[]),additionalItems:S(_.rest._def,{...$,currentPath:[...$.currentPath,"additionalItems"]})};else return{type:"array",minItems:_.items.length,maxItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[])}}var j$=b(()=>{V()});function Yq(_){return{not:E(_)}}var A$=b(()=>{g()});function Gq(_){return E(_)}var O$=b(()=>{g()});var Mq=(_,$)=>{return S(_.innerType._def,$)};var N$=b(()=>{V()});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 y$(_,q);case M.ZodBoolean:return x$();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 r$(_,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 c$(_,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 C_(_,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$=b(()=>{F_();g();c_();d_();t_();k_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();l_();v$();P_();j$();A$();T_();O$();N$()});function S(_,$,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"?S(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 V=b(()=>{S_();E$();g_();g()});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 U$=b(()=>{S_()});var rq=(_,$)=>{let q=Dq($),J=typeof $==="object"&&$.definitions?Object.entries($.definitions).reduce((Q,[v,R])=>({...Q,[v]:S(R._def,{...q,currentPath:[...q.basePath,q.definitionPath,v]},!0)??E(q)}),{}):void 0,W=typeof $==="string"?$:$?.nameStrategy==="title"?void 0:$?.name,X=S(_._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 V$=b(()=>{V();U$();g()});var wq=()=>{};var oq=b(()=>{V$();S_();U$();p();g_();V();wq();g();c_();d_();t_();k_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();N$();l_();v$();P_();j$();A$();T_();O$();E$();V$()});
|
|
6
|
-
export{rq as i3,oq as j3};
|